/* ==========================================================
   퍼스트케어랩 홈페이지 공통 스타일 (쇼핑몰형 구성)
   색·글꼴·여백은 아래 :root 변수에서 한 번에 바꿀 수 있습니다.
   ========================================================== */

:root {
  --orange: #f26b1d;        /* 주요 포인트 색 (버튼, 강조) */
  --orange-dark: #d2560f;
  --orange-soft: #fff3ea;   /* 옅은 주황 바탕 */
  --navy: #182a3b;          /* 상단 띠, 꼬리말, 진한 글자 */
  --text: #1f2d3a;
  --text-2: #5c6b78;
  --line: #e3e8ee;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --green: #1e8e5a;         /* 비교표 체크 */
  --link: #0e5fb5;

  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
          "Noto Sans KR", "Malgun Gothic", "Noto Sans CJK KR", sans-serif;
  --radius: 8px;
  --wrap: 1180px;
  --shadow: 0 1px 2px rgba(24, 42, 59, .06), 0 6px 18px rgba(24, 42, 59, .06);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
@media (min-width: 720px) { body { font-size: 1.0625rem; } }

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { color: var(--orange-dark); }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 18px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

.section { padding: 44px 0; }
@media (min-width: 720px) { .section { padding: 64px 0; } }
.band { background: var(--bg-soft); }
.band-orange { background: var(--orange-soft); }

h1, h2, h3, h4 { margin: 0 0 .45em; line-height: 1.25; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
h2 { font-size: clamp(1.45rem, 3vw, 1.95rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.1em; color: var(--text-2); max-width: 40em; }
.muted { color: var(--text-2); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.2em; }
li { margin-bottom: .4em; }

/* 버튼 --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: .55em 1.3em; border-radius: var(--radius);
  font-weight: 700; text-decoration: none; cursor: pointer; font-size: 1rem;
  border: 2px solid var(--orange); background: var(--orange); color: #fff;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }
.btn.outline { background: #fff; color: var(--text); border-color: var(--line); }
.btn.outline:hover { border-color: var(--text); color: var(--text); background: #fff; }
.btn.dark { background: var(--navy); border-color: var(--navy); }
.btn.dark:hover { background: #0f1c29; border-color: #0f1c29; }
.btn.sm { min-height: 42px; padding: .4em 1em; font-size: .95rem; }
.btn.block { width: 100%; }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.2em; }

/* 상단 안내 띠 + 머리말 ----------------------------------- */
.topbar { background: var(--navy); color: #d9e2ea; font-size: .9rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; min-height: 36px; align-items: center; padding-top: 4px; padding-bottom: 4px; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; }
.topbar a:hover { color: #ffd4b8; }
@media (max-width: 719px) { .topbar .left { display: none; } .topbar .wrap { justify-content: center; } }

.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header .top { display: flex; align-items: center; gap: 12px 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand .mark { width: 40px; height: 40px; flex: none; }
.brand .name { font-weight: 900; font-size: 1.45rem; letter-spacing: -.03em; color: var(--orange); line-height: 1; }
.brand .sub { display: block; font-size: .72rem; font-weight: 600; color: var(--text-2); letter-spacing: .02em; margin-top: 4px; }
.site-header .call { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); }
.site-header .call .num { font-weight: 900; font-size: 1.25rem; letter-spacing: -.01em; }
.site-header .call .hint { display: block; font-size: .78rem; color: var(--text-2); font-weight: 500; }
.site-header .call svg { width: 22px; height: 22px; color: var(--orange); }

.site-nav { border-top: 1px solid var(--line); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.site-nav ul::-webkit-scrollbar { display: none; }
.site-nav li { margin: 0; flex: none; }
.site-nav a { display: block; padding: 12px 14px; text-decoration: none; color: var(--text); font-weight: 700; white-space: nowrap; border-bottom: 3px solid transparent; }
.site-nav a:hover { color: var(--orange-dark); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--orange); color: var(--orange-dark); }
.site-nav a.ext { color: var(--text-2); font-weight: 600; }
.site-header .call .num { white-space: nowrap; }
@media (max-width: 719px) {
  .site-header .top { min-height: 62px; gap: 10px; }
  .brand .name { font-size: 1.25rem; }
  .brand .mark { width: 34px; height: 34px; }
  .brand .sub { display: none; }
  .site-header .call { flex: none; }
  .site-header .call .hint { display: none; }
  .site-header .call .num { font-size: 1.05rem; }
  .site-header .call svg { width: 20px; height: 20px; }
  .site-nav { position: relative; }
  .site-nav::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 36px; background: linear-gradient(to right, rgba(255,255,255,0), #fff 80%); pointer-events: none; }
  .site-nav .wrap { padding: 0 6px; }
  .site-nav a { padding: 11px 12px; font-size: .95rem; }
}

/* 첫 화면 배너 -------------------------------------------- */
.hero { background: var(--orange-soft); border-bottom: 1px solid #f6dcc9; }
.hero .wrap { display: grid; gap: 24px; padding-top: 36px; padding-bottom: 36px; align-items: center; }
@media (min-width: 860px) { .hero .wrap { grid-template-columns: 1.1fr .9fr; gap: 48px; padding-top: 56px; padding-bottom: 56px; } }
.hero h1 { margin-bottom: .35em; }
.hero .lead { font-size: 1.15em; }
.hero .art { color: var(--orange); }
.hero .art svg { width: 100%; height: auto; }
.hero .tag { display: inline-block; background: #fff; border: 1px solid #f3cdb3; color: var(--orange-dark); font-weight: 700; font-size: .9rem; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }

/* 신뢰 요소 배지 ------------------------------------------ */
.badges { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .badges { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.badges li { margin: 0; display: flex; gap: 12px; align-items: flex-start; }
.badges svg { width: 36px; height: 36px; flex: none; color: var(--orange); }
.badges b { display: block; font-size: 1rem; }
.badges span { color: var(--text-2); font-size: .92rem; line-height: 1.45; display: block; }

/* 카테고리 타일 ------------------------------------------- */
.tiles { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 600px) { .tiles { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.tiles li { margin: 0; }
.tiles a {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  padding: 20px 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--text); font-weight: 700; transition: border-color .15s, box-shadow .15s;
}
.tiles a:hover { border-color: var(--orange); box-shadow: var(--shadow); color: var(--text); }
.tiles .ico { width: 64px; height: 64px; border-radius: 50%; background: var(--orange-soft); display: grid; place-items: center; color: var(--orange-dark); }
.tiles .ico svg { width: 34px; height: 34px; }
.tiles small { display: block; font-weight: 500; color: var(--text-2); font-size: .85rem; }

/* 이런 분께 (안내 카드) ----------------------------------- */
.journeys { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 600px) { .journeys { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .journeys { grid-template-columns: repeat(5, 1fr); } }
.journeys li { margin: 0; }
.journeys a { display: block; height: 100%; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.journeys a:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.journeys b { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.journeys span { color: var(--text-2); font-size: .93rem; }
.journeys em { display: block; font-style: normal; color: var(--orange-dark); font-weight: 700; margin-top: 10px; font-size: .93rem; }

/* 비교표 --------------------------------------------------- */
.compare { width: 100%; border-collapse: collapse; margin-top: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.compare th:first-child, .compare td:first-child { text-align: left; font-weight: 600; }
.compare thead th { background: var(--navy); color: #fff; font-weight: 700; }
.compare thead th.hi { background: var(--orange); }
.compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--green); font-weight: 900; font-size: 1.2em; }
.compare .no { color: #b7c0c9; font-weight: 700; }
.compare .text { font-size: .92rem; color: var(--text-2); }
@media (max-width: 599px) { .compare th, .compare td { padding: 12px 8px; font-size: .92rem; } }

/* 상품 카드 ------------------------------------------------ */
.group { margin-top: 28px; }
.group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.group-head h3 { margin: 0; font-size: 1.25rem; }
.group-head a { font-weight: 700; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1000px) { .cards.four { grid-template-columns: repeat(4, 1fr); } }
.cards li { margin: 0; }
.card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card .img { aspect-ratio: 3 / 2; background: var(--bg-soft); display: grid; place-items: center; color: var(--navy); }
.card .img svg { width: 30%; height: auto; }
.card .img img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .chip { align-self: flex-start; font-size: .75rem; font-weight: 800; color: var(--orange-dark); background: var(--orange-soft); padding: 3px 8px; border-radius: 4px; }
.card h4 { margin: 2px 0 0; font-size: 1.02rem; }
.card p { margin: 0; color: var(--text-2); font-size: .92rem; flex: 1; }
.card .price { font-weight: 800; font-size: 1rem; }
.card .btn { margin-top: 8px; }
@media (max-width: 599px) { .card .body { padding: 12px; } .card h4 { font-size: .98rem; } .card .btn.sm { min-height: 40px; font-size: .9rem; padding: .35em .6em; } }

/* 단계 ----------------------------------------------------- */
.steps { list-style: none; padding: 0; margin: 20px 0 0; counter-reset: step; display: grid; gap: 14px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1000px) { .steps.three { grid-template-columns: repeat(3, 1fr); } .steps.four { grid-template-columns: repeat(4, 1fr); } }
.steps.five { grid-template-columns: 1fr; max-width: 52em; }
.steps li { counter-increment: step; margin: 0; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; align-items: start; align-content: start; }
.steps li::before { content: counter(step); grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 900; display: grid; place-items: center; }
.steps li > b, .steps li > span { grid-column: 2; }
.steps b { display: block; margin-bottom: 4px; font-size: 1.02rem; }
.steps span { color: var(--text-2); font-size: .94rem; display: block; }
.steps em { font-style: normal; font-weight: 700; color: var(--text); }

/* 표 ------------------------------------------------------- */
.table-wrap { margin: 20px 0 8px; }
table.plain { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .97em; }
table.plain th, table.plain td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.plain thead th { background: var(--bg-soft); font-weight: 700; white-space: nowrap; }
table.plain tr:last-child td { border-bottom: 0; }
table.plain td.cycle { font-weight: 800; white-space: nowrap; color: var(--orange-dark); }
@media (max-width: 599px) {
  table.plain thead { display: none; }
  table.plain, table.plain tbody, table.plain tr, table.plain td { display: block; }
  table.plain tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  table.plain td { padding: 2px 0; border: 0; }
  table.plain td:first-child { font-weight: 700; font-size: 1.02em; }
  table.plain td.cycle::before { content: "권장 주기 "; font-weight: 500; color: var(--text-2); }
  table.plain td.when { color: var(--text-2); font-size: .94em; }
  table.plain td.when::before { content: "더 빨리 바꿀 때: "; }
}

/* 안내 상자 ----------------------------------------------- */
.note { border: 1px solid #f3cdb3; border-left: 5px solid var(--orange); background: #fff; padding: 14px 18px; margin: 22px 0; border-radius: 6px; max-width: 46em; }
.note b { display: block; margin-bottom: 2px; }

/* 블로그 카드 --------------------------------------------- */
.posts { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 720px) { .posts { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.posts li { margin: 0; }
.posts a { display: block; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.posts a:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.posts .cat { font-size: .78rem; font-weight: 800; color: var(--orange-dark); margin-bottom: 6px; display: block; }
.posts b { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.posts span { color: var(--text-2); font-size: .92rem; }

/* 도움 블록 ----------------------------------------------- */
.help { background: var(--navy); color: #fff; }
.help .wrap { display: grid; gap: 18px; padding-top: 40px; padding-bottom: 40px; align-items: center; }
@media (min-width: 860px) { .help .wrap { grid-template-columns: 1fr auto; gap: 32px; } }
.help h2 { color: #fff; margin-bottom: .3em; }
.help p { color: #c9d4de; margin: 0; max-width: 40em; }
.help .btn-row { margin: 0; }
.help .btn.outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.help .btn.outline:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

/* 2단 글 구역 --------------------------------------------- */
.cols { display: grid; gap: 24px; }
@media (min-width: 860px) { .cols { grid-template-columns: 1fr 1fr; gap: 40px; } }
.cols h3 { margin-top: 0; }

/* 오시는 길 ---------------------------------------------- */
.visit-grid { display: grid; gap: 24px; }
@media (min-width: 860px) { .visit-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
.contact-list { list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-list li { display: grid; grid-template-columns: 6em 1fr; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); margin: 0; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list b { color: var(--text-2); font-weight: 700; }
.contact-list a.tel { font-size: 1.3em; font-weight: 900; text-decoration: none; color: var(--text); }
.contact-list a.tel:hover { color: var(--orange-dark); }
.map-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* 자주 묻는 질문 ------------------------------------------ */
.faq { margin: 16px 0 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; padding: 15px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.4em; color: var(--text-2); line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--text-2); max-width: 44em; }

/* 페이지 머리 -------------------------------------------- */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 32px 0 28px; }
@media (min-width: 720px) { .page-head { padding: 48px 0 40px; } }
.crumbs { font-size: .88rem; color: var(--text-2); margin-bottom: 10px; }
.crumbs a { color: var(--text-2); }

/* 꼬리말 --------------------------------------------------- */
.site-footer { background: var(--navy); color: #c9d4de; padding: 44px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #ffd4b8; text-decoration: underline; }
.site-footer .grid { display: grid; gap: 28px; }
@media (min-width: 720px) { .site-footer .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .site-footer .grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; } }
.site-footer h4 { color: #fff; margin-bottom: 10px; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .brand .name { color: #fff; }
.site-footer .brand .sub { color: #a7b6c3; }
.site-footer .about { margin-top: 12px; color: #a7b6c3; font-size: .9rem; max-width: 30em; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.14); margin-top: 32px; padding-top: 18px; font-size: .85rem; color: #a7b6c3; }
.site-footer .legal span { display: inline-block; margin-right: 14px; }

/* ==========================================================
   v3 추가 스타일 — 케어 흐름, 공식 상자, 할 것/하지 말 것, 인용 등
   ========================================================== */

/* 첫 화면 케어 흐름 카드 */
.care-flow { background: #fff; border: 1px solid #f3cdb3; border-radius: 12px; padding: 18px 20px; box-shadow: var(--shadow); }
.care-flow h3 { font-size: 1rem; color: var(--text-2); font-weight: 700; margin: 0 0 10px; }
.care-flow ol { list-style: none; margin: 0; padding: 0; counter-reset: cf; }
.care-flow li { counter-increment: cf; margin: 0; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; padding: 7px 0; position: relative; }
.care-flow li::before { content: counter(cf, decimal-leading-zero); font-weight: 800; color: var(--orange); font-size: .9rem; }
.care-flow li + li::after { content: ""; position: absolute; left: 10px; top: -6px; width: 2px; height: 12px; background: #f3cdb3; }
.care-flow li b { font-weight: 700; }
.care-flow li span { color: var(--text-2); font-size: .9rem; margin-left: 6px; }
.care-flow li > div { min-width: 0; }
.care-flow li.loop b::after { content: " ↻"; color: var(--orange); }
@media (max-width: 859px) { .care-flow li span { display: block; margin-left: 0; } }

/* 인용(고정글) */
.quotes { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 860px) { .quotes { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; display: flex; flex-direction: column; }
.quote .said { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.35; margin: 0 0 12px; color: var(--navy); }
.quote .said::before { content: "“"; color: var(--orange); }
.quote .said::after { content: "”"; color: var(--orange); }
.quote p { color: var(--text-2); font-size: .97rem; margin: 0 0 10px; }
.quote p:last-of-type { flex: 1; }
.quote .key { font-weight: 700; color: var(--text); font-size: .97rem; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.quote a { font-weight: 700; margin-top: 10px; }

/* 순응기간 한 줄 공식 */
.formula { background: var(--navy); color: #fff; border-radius: 12px; padding: 24px 22px; margin-top: 20px; }
.formula h3 { color: #ffd4b8; font-size: 1rem; margin: 0 0 14px; font-weight: 700; }
.formula ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 720px) { .formula ol { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.formula li { margin: 0; background: rgba(255,255,255,.08); border-radius: 8px; padding: 14px 14px; position: relative; }
.formula li b { display: block; font-size: 1.35rem; font-weight: 900; letter-spacing: -.02em; line-height: 1.2; }
.formula li span { display: block; color: #c9d4de; font-size: .9rem; margin-top: 4px; }
@media (min-width: 720px) {
  .formula li { margin-right: 28px; }
  .formula li:last-child { margin-right: 0; }
  .formula li:not(:last-child)::after { content: "→"; position: absolute; right: -24px; top: 50%; transform: translateY(-50%); color: var(--orange); font-size: 1.4rem; font-weight: 700; }
}
.formula .foot { margin: 14px 0 0; color: #c9d4de; font-size: .92rem; }
.formula .foot b { color: #fff; }

/* 큰 숫자 한 줄 */
.stat-row { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .stat-row { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.stat-row li { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.stat-row b { display: block; font-size: 1.6rem; font-weight: 900; letter-spacing: -.03em; color: var(--orange-dark); line-height: 1.1; }
.stat-row span { display: block; color: var(--text-2); font-size: .92rem; margin-top: 6px; }

/* 이유/포인트 카드 (순서 없음) */
.points { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 720px) { .points { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1000px) { .points.three { grid-template-columns: repeat(3, 1fr); } .points.four { grid-template-columns: repeat(4, 1fr); } }
.points li { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; border-top: 4px solid var(--orange); }
.points b { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.points p { margin: 0; color: var(--text-2); font-size: .95rem; }
.points p + p { margin-top: 6px; }
.points .so { margin-top: 10px; color: var(--text); font-weight: 700; font-size: .95rem; }
.points .so::before { content: "→ "; color: var(--orange); }

/* 할 것 / 하지 말 것 */
.dodont { display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 720px) { .dodont { grid-template-columns: 1fr 1fr; gap: 18px; } }
.dodont > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.dodont > div:only-child { grid-column: 1 / -1; }
.cols .dodont { grid-template-columns: 1fr; }
.dodont h4 { margin: 0 0 10px; font-size: 1rem; }
.dodont ul { list-style: none; margin: 0; padding: 0; }
.dodont li { margin: 0 0 8px; padding-left: 26px; position: relative; color: var(--text-2); font-size: .95rem; }
.dodont .do li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.dodont .dont li::before { content: "✕"; position: absolute; left: 0; color: #c0392b; font-weight: 900; }
.dodont .signal li::before { content: "!"; position: absolute; left: 4px; color: var(--orange-dark); font-weight: 900; }

/* 한 줄 강조 문장 */
.motto { font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.35; color: var(--navy); margin: 20px 0 0; max-width: 30em; }
.motto em { font-style: normal; color: var(--orange-dark); }

/* 절차 분기(성공/실패) */
.branch { display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 720px) { .branch { grid-template-columns: 1fr 1fr; gap: 18px; } }
.branch > div { border-radius: var(--radius); padding: 18px 20px; border: 1px solid var(--line); background: #fff; }
.branch .ok { border-top: 4px solid var(--green); }
.branch .ng { border-top: 4px solid #c0392b; }
.branch h4 { margin: 0 0 8px; }
.branch ul { margin: 0; padding-left: 1.2em; color: var(--text-2); font-size: .95rem; }

/* FAQ 묶음 제목 */
.faq-group { margin-top: 26px; }
.faq-group h3 { margin-bottom: 8px; }
.faq-group .lead { font-size: 1em; margin-bottom: 4px; }

/* 카카오 버튼 */
.btn.kakao { background: #fee500; border-color: #fee500; color: #191919; }
.btn.kakao:hover { background: #f5dc00; border-color: #f5dc00; color: #191919; }
.help .btn.kakao { color: #191919; }

/* 페이지 머리의 작은 메뉴 */
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.subnav a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: .9rem; font-weight: 600; }
.subnav a:hover { border-color: var(--orange); color: var(--orange-dark); }

/* 소제목 아래 글 묶음 */
.prose { max-width: 44em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { color: var(--text-2); }

/* 진료·운영시간 (병원 안내 이미지와 같은 형식) */
.hours { background: #0e6e8d; color: #fff; border-radius: 12px; padding: 22px 24px 24px; height: 100%; }
.hours h3 { color: #fff; margin: 0 0 14px; font-size: 1rem; font-weight: 700; opacity: .9; }
.hours dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; align-items: baseline; }
.hours dt { font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; white-space: nowrap; }
.hours dt small { font-size: .82rem; font-weight: 700; }
.hours dd { margin: 0; font-size: 1.12rem; font-variant-numeric: tabular-nums; }
.hours dd small { font-size: .85rem; opacity: .9; }
@media (max-width: 479px) { .hours dt, .hours dd { font-size: 1rem; } .hours dl { gap: 8px 14px; } }

/* 오시는 길 안내 블록 */
.loc { display: grid; gap: 20px; margin-top: 20px; }
.loc-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.loc-block h3 { margin: 0 0 2px; font-size: 1.25rem; }
.loc-block .eng { color: var(--text-2); font-size: .85rem; margin: 0 0 12px; }
.loc-block p { margin: 0 0 6px; }
.loc-block h4 { margin: 14px 0 6px; font-size: 1rem; }
.loc-block .photos { display: grid; gap: 12px; margin-top: 14px; }
@media (min-width: 720px) { .loc-block .photos.two { grid-template-columns: 1fr 1fr; } }
.loc-block .photos img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); background: var(--bg-soft); }
.loc-block .map-links { margin-top: 14px; }
