/* RoamWell 차이나 — Korean-specific styles
   Loaded after /styles.css on all /ko/ pages */

/* Korean web font — Pretendard */
html[lang="ko"] body,
html[lang="ko"] h1,
html[lang="ko"] h2,
html[lang="ko"] h3,
html[lang="ko"] h4,
html[lang="ko"] h5,
html[lang="ko"] h6,
html[lang="ko"] p,
html[lang="ko"] a,
html[lang="ko"] button,
html[lang="ko"] input,
html[lang="ko"] textarea,
html[lang="ko"] select,
html[lang="ko"] span,
html[lang="ko"] li,
html[lang="ko"] td,
html[lang="ko"] th,
html[lang="ko"] label,
html[lang="ko"] summary,
html[lang="ko"] details {
  font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Inter', system-ui, -apple-system, sans-serif;
  word-break: keep-all;
}

/* Keep brand text in Latin */
html[lang="ko"] .brand-text { font-family: 'Inter', system-ui, sans-serif; }

/* Hide WhatsApp FAB on Korean pages (replaced by Kakao FAB) */
html[lang="ko"] .whatsapp-fab { display: none !important; }

/* KakaoTalk floating action button (FAB) */
.kakao-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 980;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #FEE500;
  box-shadow: 0 6px 18px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
  border: 0;
  padding: 0;
}
.kakao-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.22), 0 3px 8px rgba(0,0,0,.14);
}
.kakao-fab svg { width: 28px; height: 28px; fill: #181600; }

/* Header KakaoTalk CTA */
.header-cta.header-cta-kakao { background: #FEE500; color: rgba(0,0,0,.85); }
.header-cta.header-cta-kakao:hover { background: #FFD600; }

/* KakaoTalk modal */
.kakao-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 18, 36, .72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.kakao-modal[aria-hidden="false"] { display: flex; }
.kakao-modal__panel {
  background: #FFF6D6;
  border-radius: 18px;
  max-width: 480px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
.kakao-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,.06);
  border: 0;
  font-size: 22px;
  line-height: 1;
  color: #333;
  cursor: pointer;
  z-index: 2;
}
.kakao-modal__close:hover { background: rgba(0,0,0,.12); }
.kakao-modal__image {
  width: 100%;
  display: block;
  border-radius: 18px 18px 0 0;
}
.kakao-modal__body {
  padding: 20px 22px 24px;
  text-align: center;
  color: #1a1a1a;
}
.kakao-modal__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.kakao-modal__meta {
  font-size: 0.88rem;
  color: #555;
  margin: 0 0 4px;
}
.kakao-modal__hint {
  font-size: 0.82rem;
  color: #777;
  margin: 0 0 16px;
}
.kakao-modal__save {
  display: inline-block;
  background: #FEE500;
  color: rgba(0,0,0,.85);
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.92rem;
}
.kakao-modal__save:hover { background: #FFD600; }

/* Support page — 122 scenarios layout */
.support-advantages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 32px 0 12px;
}
.support-advantage {
  background: #f7f5ef;
  border-radius: 14px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(16, 35, 74, .08);
}
.support-advantage__letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #10234a;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 10px;
}
.support-advantage h3 {
  font-size: 1rem;
  margin: 0 0 6px;
  color: #10234a;
}
.support-advantage p {
  font-size: 0.9rem;
  color: #4a5468;
  margin: 0;
  line-height: 1.5;
}

.support-categories { margin-top: 24px; }
.support-category {
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(16, 35, 74, .1);
  margin-bottom: 12px;
  overflow: hidden;
}
.support-category > summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-weight: 600;
  font-size: 1.02rem;
  color: #10234a;
}
.support-category > summary::-webkit-details-marker { display: none; }
.support-category > summary::after {
  content: "+";
  font-size: 1.4rem;
  color: #10234a;
  transition: transform .15s ease;
  line-height: 1;
}
.support-category[open] > summary::after { content: "−"; }
.support-category > summary:hover { background: #f7f5ef; }
.support-category__count {
  font-size: 0.82rem;
  color: #6b7384;
  font-weight: 500;
  margin-left: auto;
  margin-right: 8px;
}
.support-category ul {
  list-style: none;
  margin: 0;
  padding: 0 22px 18px;
}
.support-category li {
  padding: 8px 0 8px 22px;
  position: relative;
  font-size: 0.94rem;
  color: #2c3548;
  line-height: 1.55;
  border-top: 1px dashed rgba(16, 35, 74, .08);
}
.support-category li:first-child { border-top: 0; }
.support-category li::before {
  content: "·";
  position: absolute;
  left: 6px;
  top: 2px;
  color: #b4a85a;
  font-weight: 800;
  font-size: 1.4rem;
}
.support-boundary {
  background: #fff7e6;
  border: 1px solid #f0d68a;
  border-radius: 14px;
  padding: 22px 24px;
  margin-top: 28px;
}
.support-boundary h3 {
  color: #6b4a00;
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.support-boundary p {
  margin: 0;
  color: #4a3b14;
  font-size: 0.95rem;
  line-height: 1.6;
}
