/* 가나원 치과의원 — 샘플 사이트 스타일
   방향: 맑은 흰 바탕 + 차분한 민트/틸 포인트, 넉넉한 여백, 얇은 큰 제목 */
:root {
  --ink: #10302b;
  --text: #2e403c;
  --muted: #56665f;
  --teal: #0b7468;
  --teal-dark: #075a51;
  --mint: #e9f6f2;
  --mint-2: #d3eee6;
  --line: #dce8e4;
  --bg: #ffffff;
  --soft: #f6faf9;
  --radius: 18px;
  --wrap: 1180px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.7; font-size: clamp(15px, 1.05vw, 17px); word-break: keep-all; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid #0a5bd3; outline-offset: 3px; border-radius: 4px; }

/* 건너뛰기 링크 */
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

/* 상단 샘플 안내 띠 */
.sample-bar { background: var(--ink); color: #e6f2ef; font-size: 13px; text-align: center; padding: 7px 16px; line-height: 1.5; }
.sample-bar a { color: #9fe3d4; }

/* 헤더 */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.brand span { font-weight: 600; font-size: 18px; letter-spacing: -.02em; padding-left: 10px; border-left: 1px solid var(--line); }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a { display: block; padding: 10px 12px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); background: var(--mint); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-size: 16px; font-family: inherit; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.header .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }

/* 공통 섹션 */
section { padding: clamp(64px, 9vw, 120px) 0; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: .14em; font-weight: 700; color: var(--teal); margin-bottom: 14px; text-transform: uppercase; }
.sec-title { font-size: clamp(26px, 3.4vw, 42px); font-weight: 300; letter-spacing: -.03em; }
.sec-title strong { font-weight: 700; }
.sec-lead { color: var(--muted); max-width: 640px; }
.sec-head { margin-bottom: clamp(32px, 5vw, 56px); }
.soft { background: var(--soft); }

/* 히어로 */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 8vw, 104px); background: linear-gradient(180deg, var(--mint) 0%, #fff 78%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(32px, 5vw, 60px); font-weight: 300; letter-spacing: -.04em; line-height: 1.22; }
.hero h1 strong { font-weight: 700; color: var(--teal); }
.hero p.lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); max-width: 520px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); padding-top: 22px; margin: 0; }
.hero-facts div { padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line); }
.hero-facts div:last-child { border: 0; margin: 0; padding: 0; }
.hero-facts dt { font-size: 13px; color: var(--muted); }
.hero-facts dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
.hero-visual { position: relative; }
.hero-visual img { border-radius: 200px 200px var(--radius) var(--radius); aspect-ratio: 4/4.6; object-fit: cover; width: 100%; }
.today-card { position: absolute; left: -24px; bottom: 32px; background: #fff; border-radius: 16px; padding: 18px 20px; box-shadow: 0 18px 40px rgba(16,48,43,.12); min-width: 220px; max-width: 80%; }
.today-card b { display: block; color: var(--ink); font-size: 15px; }
.today-card .time { font-size: 24px; font-weight: 700; color: var(--teal); letter-spacing: -.02em; }
.today-card small { color: var(--muted); font-size: 13px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #1aa37a; margin-right: 6px; vertical-align: middle; }

/* 병원 소개 */
.about .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.about-img img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.principles { list-style: none; margin: 32px 0 0; padding: 0; counter-reset: p; }
.principles li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); }
.principles li::before { counter-increment: p; content: "0" counter(p); font-size: 22px; font-weight: 300; color: var(--teal); }
.principles h3 { font-size: 19px; margin-bottom: 4px; }
.principles p { margin: 0; color: var(--muted); }

/* 의료진 */
.doctors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.doctor { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.doctor .portrait { background: var(--mint); aspect-ratio: 1/1; display: flex; align-items: flex-end; justify-content: center; }
.doctor .portrait svg { width: 64%; height: auto; }
.doctor .body { padding: 22px 24px 26px; }
.doctor .role { color: var(--teal); font-size: 14px; font-weight: 600; }
.doctor h3 { font-size: 22px; margin: 2px 0 10px; }
.doctor ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.note { font-size: 13px; color: var(--muted); margin-top: 20px; }

/* 진료 과목 */
.treat-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(24px, 5vw, 64px); list-style: none; margin: 0; padding: 0; }
.treat-list li { display: grid; grid-template-columns: 52px 1fr auto; gap: 18px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--line); }
.treat-list .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--mint); display: flex; align-items: center; justify-content: center; color: var(--teal); }
.treat-list .ico svg { width: 26px; height: 26px; }
.treat-list h3 { font-size: 19px; margin-bottom: 4px; }
.treat-list p { margin: 0; font-size: 15px; color: var(--muted); }
.treat-list a.more { font-size: 14px; white-space: nowrap; align-self: center; min-height: 44px; display: inline-flex; align-items: center; }

/* 진료 시간표 */
.hours .wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.hours-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.hours-table caption { text-align: left; font-size: 14px; color: var(--muted); padding-bottom: 10px; }
.hours-table th, .hours-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; }
.hours-table th { font-weight: 600; color: var(--ink); width: 34%; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table tr.is-today { background: var(--mint); }
.hours-table tr.is-today th::after { content: "오늘"; margin-left: 8px; font-size: 12px; background: var(--teal); color: #fff; padding: 2px 8px; border-radius: 99px; vertical-align: 2px; }
.hours-table .off { color: #a33a2e; font-weight: 600; }
.hours-side .tel { font-size: clamp(28px, 3vw, 36px); font-weight: 700; color: var(--ink); letter-spacing: -.02em; text-decoration: none; display: inline-block; margin: 6px 0 14px; }
.hours-side ul { padding-left: 18px; color: var(--muted); }

/* 장비·시설 */
.facility-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.facility-grid figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--mint); }
.facility-grid figure:first-child { grid-row: span 2; }
.facility-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.facility-grid figure:first-child img { aspect-ratio: auto; min-height: 100%; }
.facility-grid figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; background: rgba(255,255,255,.95); padding: 10px 14px; border-radius: 12px; font-size: 14px; color: var(--ink); }
.facility-grid figcaption b { display: block; font-size: 15px; }
.equip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.equip div { padding: 22px 20px 0 0; }
.equip h3 { font-size: 17px; margin-bottom: 4px; }
.equip p { font-size: 14px; color: var(--muted); margin: 0; }

/* 앱 소개 */
.app-promo { background: var(--ink); color: #dcebe7; border-radius: 28px; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; overflow: hidden; }
.app-promo h2 { color: #fff; font-weight: 300; font-size: clamp(24px, 3vw, 36px); }
.app-promo h2 strong { font-weight: 700; color: #8fe0cd; }
.app-promo .btn-primary { background: #8fe0cd; color: var(--ink); }
.app-promo ul { list-style: none; padding: 0; margin: 0 0 24px; }
.app-promo li { padding: 6px 0 6px 26px; position: relative; }
.app-promo li::before { content: ""; position: absolute; left: 0; top: 14px; width: 12px; height: 6px; border-left: 2px solid #8fe0cd; border-bottom: 2px solid #8fe0cd; transform: rotate(-45deg); }
.mini-phones { display: flex; gap: 14px; justify-content: center; }
.mini-phone { width: 46%; max-width: 170px; aspect-ratio: 9/18; background: #fff; border-radius: 26px; border: 6px solid #0a1f1c; padding: 14px 10px; color: var(--ink); font-size: 11px; }
.mini-phone:nth-child(2) { transform: translateY(24px); }
.mini-phone .bar { height: 8px; border-radius: 4px; background: var(--mint-2); margin: 8px 0; }
.mini-phone .bar.t { background: var(--teal); width: 60%; }
.mini-phone b { font-size: 12px; }

/* 예약 폼 */
.reserve .wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 80px); }
.form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 40px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.field .req { color: #b42318; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #c3d4cf; border-radius: 12px; font: inherit; color: var(--ink); background: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: 3px solid rgba(11,116,104,.25); outline-offset: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 1px solid #c3d4cf; border-radius: 999px; font-weight: 500; cursor: pointer; margin: 0; }
.chips input { width: auto; min-height: 0; accent-color: var(--teal); }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 6px 0 20px; }
.agree input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--teal); flex-shrink: 0; }
.form .btn { width: 100%; }
.form-msg { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--mint); color: var(--ink); font-weight: 500; }
.form-msg[hidden] { display: none; }
.reserve-info ol { padding-left: 20px; color: var(--muted); }
.reserve-info li { margin-bottom: 8px; }

/* 오시는 길 */
.location .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #f3f7f6; }
.map-box svg { width: 100%; height: auto; display: block; }
.loc-list { margin: 0; }
.loc-list div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.loc-list dt { font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.loc-list dd { margin: 0; color: var(--muted); }

/* 의료광고 안내 */
.med-notice { font-size: 13px; color: var(--muted); background: var(--soft); border-left: 3px solid var(--teal); padding: 12px 16px; border-radius: 0 10px 10px 0; margin-top: 28px; }

/* 바닥글 */
.footer { background: #0c2420; color: #b9ccc7; padding: 48px 0 110px; font-size: 14px; }
.footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; }
.footer strong { color: #fff; font-size: 17px; }
.footer a { color: #9fe3d4; }
.footer address { font-style: normal; margin-top: 10px; line-height: 1.9; }
.footer .sample { color: #fff; margin-top: 14px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-start; }

/* 모바일 하단 빠른 버튼 */
.quickbar { display: none; }

/* 하위 페이지 */
.page-hero { background: linear-gradient(180deg, var(--mint), #fff); padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumb a { color: var(--muted); }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 54px); font-weight: 300; letter-spacing: -.04em; }
.page-hero h1 strong { font-weight: 700; color: var(--teal); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.implant-diagram { background: var(--mint); border-radius: 24px; padding: 24px; }
.implant-diagram svg { width: 100%; height: auto; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.checklist li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 16px 48px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 18px; top: 22px; width: 14px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; }
.steps li { padding: 28px 24px 28px 0; border-top: 2px solid var(--line); position: relative; }
.steps li::before { counter-increment: s; content: "STEP " counter(s); display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--teal); margin-bottom: 8px; }
.steps li::after { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15px; margin: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; color: var(--ink); list-style: none; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 24px; font-weight: 300; color: var(--teal); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }
.caution { background: #fff8f1; border: 1px solid #f3dcc5; border-radius: 18px; padding: 24px 28px; }
.caution h3 { color: #7a3b0a; }
.caution ul { margin: 0; padding-left: 20px; color: #5a3a1f; }
.cta-band { background: var(--teal); color: #fff; border-radius: 24px; padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; font-weight: 300; margin: 0; font-size: clamp(22px, 3vw, 32px); }
.cta-band .btn { background: #fff; color: var(--teal-dark); }

/* 앱 화면 시안 */
.app-hero { padding: clamp(48px, 7vw, 88px) 0 24px; background: linear-gradient(180deg, var(--mint), #fff); }
.app-hero h1 { font-size: clamp(28px, 4vw, 46px); font-weight: 300; letter-spacing: -.03em; }
.app-hero h1 strong { font-weight: 700; color: var(--teal); }
.phones { display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 24px clamp(16px, 4vw, 40px) 64px; }
.phone-item:first-child { margin-left: auto; }
.phone-item:last-child { margin-right: auto; }
.phone-item { flex: 0 0 auto; width: 272px; scroll-snap-align: center; }
.phone { width: 272px; height: 560px; border-radius: 44px; background: #0d1715; padding: 10px; box-shadow: 0 30px 60px rgba(16,48,43,.18); position: relative; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 20px; background: #0d1715; z-index: 3; }
.screen { width: 100%; height: 100%; border-radius: 35px; background: #fff; overflow: hidden; position: relative; display: flex; flex-direction: column; font-size: 12px; color: var(--ink); }
.status { display: flex; justify-content: space-between; padding: 14px 22px 6px; font-size: 11px; font-weight: 700; }
.status .sig { display: flex; gap: 4px; align-items: center; }
.status .sig i { display: block; width: 3px; background: var(--ink); border-radius: 1px; }
.scr-body { flex: 1; padding: 14px 16px; overflow: hidden; }
.scr-title { font-size: 17px; font-weight: 700; margin: 8px 0 12px; }
.tabbar { display: flex; justify-content: space-around; border-top: 1px solid var(--line); padding: 8px 0 16px; background: #fff; }
.tabbar span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10px; color: #6c7c78; }
.tabbar span.on { color: var(--teal); font-weight: 700; }
.tabbar svg { width: 18px; height: 18px; }
.app-card { background: var(--soft); border-radius: 14px; padding: 12px; margin-bottom: 10px; }
.app-card.teal { background: var(--teal); color: #fff; }
.app-card.teal small { color: #d6f1ea; }
.app-btn { display: block; text-align: center; background: var(--teal); color: #fff; border-radius: 12px; padding: 10px; font-weight: 700; margin-top: 8px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: 11px; margin-bottom: 12px; }
.cal b { color: var(--muted); font-weight: 600; font-size: 10px; }
.cal span { padding: 6px 0; border-radius: 8px; }
.cal span.sel { background: var(--teal); color: #fff; font-weight: 700; }
.cal span.off { color: #b8c4c1; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.slots span { border: 1px solid var(--line); border-radius: 8px; padding: 7px 0; text-align: center; font-size: 11px; }
.slots span.sel { border-color: var(--teal); color: var(--teal); font-weight: 700; background: var(--mint); }
.slots span.no { color: #b8c4c1; text-decoration: line-through; }
.queue-num { font-size: 64px; font-weight: 200; color: var(--teal); line-height: 1; text-align: center; margin: 10px 0 2px; }
.queue-bar { height: 8px; background: var(--mint-2); border-radius: 4px; overflow: hidden; margin: 12px 0; }
.queue-bar i { display: block; height: 100%; width: 62%; background: var(--teal); }
.push { background: rgba(255,255,255,.96); border-radius: 16px; padding: 10px 12px; box-shadow: 0 8px 20px rgba(0,0,0,.12); display: flex; gap: 10px; margin-bottom: 10px; }
.push .pi { width: 28px; height: 28px; border-radius: 8px; background: var(--teal); flex-shrink: 0; }
.lock { background: linear-gradient(160deg, #1d5a52, #0c2420); color: #fff; }
.lock .clock { text-align: center; font-size: 48px; font-weight: 200; margin: 20px 0 2px; }
.lock .date { text-align: center; font-size: 12px; opacity: .85; margin-bottom: 22px; }
.lock .push { color: var(--ink); }
.phone-desc { margin-top: 18px; }
.phone-desc h2 { font-size: 18px; margin-bottom: 4px; }
.phone-desc p { color: var(--muted); font-size: 15px; margin: 0; }
.swipe-hint { display: none; text-align: center; color: var(--muted); font-size: 14px; }

/* 스크롤 등장 (내용은 항상 보이고, 보일 때 살짝 움직임만) */
@keyframes rise { from { transform: translateY(18px); } to { opacity: 1; transform: none; } }
.reveal.in { animation: rise .7s ease both; }
.hero-text { animation: rise .8s ease both; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* 반응형 */
@media (max-width: 1080px) {
  .nav, .header .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.06); }
  .nav.open ul { flex-direction: column; padding: 8px clamp(16px, 4vw, 40px) 18px; }
  .nav.open a { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .facility-grid { grid-template-columns: 1fr 1fr; }
  .facility-grid figure:first-child { grid-column: span 2; grid-row: auto; }
  .facility-grid figure:first-child img { aspect-ratio: 16/9; }
  .equip { grid-template-columns: repeat(2, 1fr); }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .swipe-hint { display: block; }
}
@media (max-width: 860px) {
  .hero .wrap, .about .wrap, .hours .wrap, .reserve .wrap, .location .wrap, .split, .app-promo { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual img { aspect-ratio: 4/3; border-radius: 120px 120px var(--radius) var(--radius); }
  .today-card { left: 12px; bottom: -20px; }
  .treat-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .quickbar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0,0,0,.06); padding-bottom: env(safe-area-inset-bottom); }
  .quickbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; text-decoration: none; color: var(--ink); font-size: 13px; font-weight: 600; }
  .quickbar a.main { background: var(--teal); color: #fff; }
  .quickbar svg { width: 20px; height: 20px; }
  .footer .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .doctors-grid, .form-row, .equip, .steps { grid-template-columns: 1fr; }
  .facility-grid { grid-template-columns: 1fr; }
  .facility-grid figure:first-child { grid-column: auto; }
  .hero-facts div { border: 0; margin: 0 0 10px; padding: 0; width: 50%; }
  .treat-list li { grid-template-columns: 44px 1fr; }
  .treat-list .ico { width: 44px; height: 44px; }
  .treat-list a.more { grid-column: 2; justify-self: start; }
  .brand span { font-size: 16px; }
  .brand img { height: 26px; }
  .hours-table th, .hours-table td { padding: 14px 12px; }
  .mini-phone:nth-child(2) { transform: none; }
}
