/* Peace Medical Clinic · site styles (v2, modern)
   Deep green for trust, warm amber for action, one colour per department as a wayfinding code.
   One type family (Plus Jakarta Sans), dark glowing heroes, glass details, bento cards. */

:root {
  --dark: #062925;
  --dark-2: #0A3833;
  --top: #041E1B;
  --g800: #0C564E;
  --g700: #0F6B5F;
  --g600: #0F8070;
  --g500: #14A08A;
  --g300: #7EDDC8;
  --g200: #C2E8DD;
  --g100: #E3F3EE;
  --g50: #F1F8F5;
  --sun: #F6A93B;
  --sun-2: #FFC56E;
  --sun-50: #FFF4E2;
  --coral: #D9442F;
  --coral-50: #FDECE8;
  --ink: #0E231F;
  --muted: #556764;
  --line: #E0E8E5;
  --paper: #F6F8F7;
  --white: #fff;
  --radius: 26px;
  --radius-sm: 16px;
  --shadow-sm: 0 1px 2px rgba(6, 41, 37, .06);
  --shadow: 0 1px 2px rgba(6, 41, 37, .05), 0 14px 34px -16px rgba(6, 41, 37, .20);
  --shadow-lg: 0 2px 6px rgba(6, 41, 37, .06), 0 34px 70px -28px rgba(6, 41, 37, .34);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: 20px;
  --c: var(--g700);
  --t: var(--g100);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--g700); text-underline-offset: .18em; }
a:hover { color: var(--g800); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font); color: inherit; margin: 0 0 .45em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.35rem); font-weight: 800; line-height: 1.04; letter-spacing: -.04em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); font-weight: 800; line-height: 1.1; letter-spacing: -.035em; }
h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; margin-bottom: .35em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--g200); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.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; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--dark); color: #fff; padding: .6rem 1rem; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }
.i { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(1200px, 100% - var(--gutter) * 2); margin-inline: auto; }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.preview-banner { background: var(--sun-50); color: #6B4306; font-size: .84rem; text-align: center; padding: .45rem var(--gutter); }
.todo { background: var(--sun-50); color: #6B4306; border-bottom: 2px dashed var(--sun); padding: 0 .2em; border-radius: 3px; }

/* Gradient words on dark backgrounds */
.grad {
  background: linear-gradient(100deg, #8DEBD5 0%, #FFD48C 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .78rem 1.3rem; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 .98rem/1.2 var(--font); letter-spacing: -.005em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn .i { width: 1.15em; height: 1.15em; }
.btn-lg { padding: .95rem 1.6rem; font-size: 1.03rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--g700); color: #fff; box-shadow: 0 12px 24px -14px rgba(15, 107, 95, .8), inset 0 1px 0 rgba(255, 255, 255, .15); }
.btn-primary:hover { background: var(--g800); color: #fff; transform: translateY(-1px); }
.btn-sun { background: linear-gradient(180deg, var(--sun-2), var(--sun)); color: #2A1A02; box-shadow: 0 12px 26px -14px rgba(246, 169, 59, .9), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-sun:hover { color: #2A1A02; transform: translateY(-1px); box-shadow: 0 16px 30px -14px rgba(246, 169, 59, 1), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-ghost { border-color: var(--g200); color: var(--g800); background: #fff; }
.btn-ghost:hover { border-color: var(--g600); color: var(--g800); }
.btn-glass, .btn-outline-light {
  color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn-glass:hover, .btn-outline-light:hover { color: #fff; background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .4); }

/* ---------- Eyebrows ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.1rem;
  font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  color: var(--g700); background: var(--g100); padding: .42rem .85rem; border-radius: 999px;
}
.eyebrow .i { width: 1.05rem; height: 1.05rem; }
.eyebrow-light, .hero .eyebrow, .page-hero .eyebrow {
  color: #CDEFE6; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.lead { font-size: clamp(1.06rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 36rem; line-height: 1.6; }

.pulse { width: 9px; height: 9px; border-radius: 50%; background: #4ADE80; flex: none; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: pulse 2.2s infinite; }
.pulse-lg { width: 13px; height: 13px; background: var(--coral); box-shadow: 0 0 0 0 rgba(217, 68, 47, .5); animation-name: pulse-coral; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
@keyframes pulse-coral { 70% { box-shadow: 0 0 0 11px rgba(217, 68, 47, 0); } 100% { box-shadow: 0 0 0 0 rgba(217, 68, 47, 0); } }

/* ---------- Top bar and header (dark at the top, white once scrolled) ---------- */
.topbar { background: var(--top); color: rgba(255, 255, 255, .68); font-size: .84rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 38px; }
.topbar-item { display: inline-flex; align-items: center; gap: .5rem; margin: 0; white-space: nowrap; }
.topbar-item .i { width: 1rem; height: 1rem; opacity: .8; }
.topbar-phone { color: #fff; font-weight: 700; text-decoration: none; }
.topbar-phone:hover { color: var(--sun-2); }

.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--dark);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  transition: background-color .3s, box-shadow .3s, border-color .3s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(6, 41, 37, .45);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-mark { width: 44px; height: 44px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .25)); }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 1.42rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.brand-sub { font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-top: .32rem; }
.site-header.scrolled .brand, .site-header.scrolled .brand:hover { color: var(--ink); }
.site-header.scrolled .brand-sub { color: var(--muted); }
.brand-light, .brand-light:hover { color: #fff; }
.brand-light .brand-sub { color: rgba(255, 255, 255, .6); }

.menu-panel { display: flex; align-items: center; gap: 1.1rem; }
.menu { display: flex; align-items: center; gap: .1rem; list-style: none; }
.menu > li > a { display: block; padding: .55rem .9rem; border-radius: 999px; font-weight: 600; font-size: .97rem; text-decoration: none; transition: background-color .2s, color .2s; }
.has-sub { position: relative; display: flex; align-items: center; }
.has-sub > a { padding-right: .3rem !important; }
.sub-toggle { display: grid; place-items: center; width: 30px; height: 30px; margin-left: -2px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.sub-toggle .i { width: 1rem; height: 1rem; transition: transform .2s; }
.has-sub.open .sub-toggle .i { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + 14px); left: -8px; min-width: 300px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg);
  padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.open .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: flex; align-items: center; gap: .75rem; padding: .55rem .65rem; border-radius: 13px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.submenu a:hover { background: var(--t); color: var(--ink); }
.sub-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--t); color: var(--c); flex: none; }
.sub-icon .i { width: 1.25rem; height: 1.25rem; }
.menu-toggle {
  display: none; place-items: center; width: 46px; height: 46px; border-radius: 14px; cursor: pointer;
  color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
}
.site-header.scrolled .menu-toggle { color: var(--ink); background: #fff; border-color: var(--line); }
.menu-panel .btn { padding: .7rem 1.15rem; font-size: .95rem; }
.site-header.scrolled .nav-login { color: var(--g800); background: #fff; border-color: var(--g200); -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.scrolled .nav-login:hover { border-color: var(--g600); }
.menu-toggle .i { width: 1.4rem; height: 1.4rem; }

@media (min-width: 981px) {
  .menu > li > a { color: rgba(255, 255, 255, .8); }
  .menu > li > a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
  .menu > li > a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .12); }
  .sub-toggle { color: rgba(255, 255, 255, .7); }
  .sub-toggle:hover { background: rgba(255, 255, 255, .08); color: #fff; }
  .site-header.scrolled .menu > li > a { color: var(--ink); }
  .site-header.scrolled .menu > li > a:hover { background: var(--g50); color: var(--g800); }
  .site-header.scrolled .menu > li > a[aria-current="page"] { background: var(--g100); color: var(--g800); }
  .site-header.scrolled .sub-toggle { color: var(--muted); }
  .site-header.scrolled .sub-toggle:hover { background: var(--g50); color: var(--g800); }
}

/* ---------- Dark hero backgrounds (home, inner pages, department pages) ---------- */
.hero, .page-hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background:
    radial-gradient(760px 480px at 88% 0%, rgba(20, 160, 138, .38), transparent 62%),
    radial-gradient(620px 420px at 0% 100%, rgba(246, 169, 59, .14), transparent 66%),
    linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
}
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 75% 20%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 80% at 75% 20%, #000 10%, transparent 70%);
}
.hero .lead, .page-hero .lead { color: rgba(255, 255, 255, .76); }

/* ---------- Home hero ---------- */
.hero { padding: 76px 0 140px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero h1 { max-width: 13ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 0; }
.hero-stats { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; max-width: 36rem; margin-top: 2.6rem; padding-top: 1.7rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-stats li { display: flex; flex-direction: column; min-width: 0; }
.hero-stats strong { font-size: 2rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #fff; }
.hero-stats span { font-size: .86rem; color: rgba(255, 255, 255, .62); margin-top: .4rem; line-height: 1.4; }
.hero-art { position: relative; isolation: isolate; }
.hero-art::before {
  content: ""; position: absolute; inset: -12% -8%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20, 160, 138, .5), rgba(20, 160, 138, 0));
}
.hero-art img { width: 100%; height: auto; border-radius: 30px; border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .7); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: .75rem; color: var(--ink);
  background: rgba(255, 255, 255, .93); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .7); border-radius: 18px; padding: .75rem 1.05rem .75rem .85rem;
  box-shadow: 0 22px 44px -22px rgba(0, 0, 0, .55); font-size: .9rem; line-height: 1.3;
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .94rem; font-weight: 800; letter-spacing: -.01em; }
.float-card small { color: var(--muted); font-size: .8rem; }
.fc-emergency { left: -28px; bottom: 54px; }
.fc-emergency .pulse { margin: 0 .2rem; }
.fc-imaging { right: -22px; top: 26px; animation-delay: -2s; }
.fc-dental { right: -14px; bottom: -22px; animation-delay: -4s; }
.fc-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #E8EAF6; color: #4B5694; }
.fc-icon-dental { background: var(--g100); color: var(--g700); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Info strip ---------- */
.info-strip { position: relative; z-index: 2; margin-top: -68px; }
.info-grid {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.info-grid li { display: flex; align-items: center; gap: .9rem; padding: 1.35rem 1.4rem; min-width: 0; }
.info-grid li + li { border-left: 1px solid var(--line); }
.info-grid small { display: block; font-size: .76rem; color: var(--muted); font-weight: 700; letter-spacing: .02em; }
.info-grid a, .info-grid strong { font-weight: 800; color: var(--ink); text-decoration: none; font-size: 1rem; letter-spacing: -.01em; }
.info-grid a:hover { color: var(--g700); }
.info-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: var(--g100); color: var(--g700); flex: none; }
.info-em .info-icon { background: var(--coral-50); color: var(--coral); }

/* ---------- Services ribbon ---------- */
.ribbon {
  overflow: hidden; padding: 30px 0 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.ribbon-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon ul { display: flex; gap: 10px; padding-right: 10px; list-style: none; }
.ribbon li {
  display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap;
  padding: .55rem 1.05rem; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-weight: 700; font-size: .9rem; color: var(--ink); box-shadow: var(--shadow-sm);
}
.ribbon li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: linear-gradient(180deg, var(--g50), #EDF5F1); border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 46px; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-head-light p:last-child { color: rgba(255, 255, 255, .7); }

/* ---------- Department cards (bento) ---------- */
.dept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dept-card {
  position: relative; display: flex; flex-direction: column; gap: .65rem; overflow: hidden;
  padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, border-color .3s;
}
.dept-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(420px 220px at 100% 0%, var(--t), transparent 70%); opacity: .9;
}
.dept-card > * { position: relative; z-index: 1; }
a.dept-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--c); color: var(--ink); }
.dept-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: .4rem; }
.dept-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--t); color: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.dept-icon .i { width: 1.8rem; height: 1.8rem; stroke-width: 1.7; }
.dept-go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--c); transition: transform .25s, background-color .25s, color .25s; }
.dept-go .i { width: 1.1rem; height: 1.1rem; transform: rotate(-45deg); transition: transform .25s; }
a.dept-card:hover .dept-go { background: var(--c); color: #fff; border-color: var(--c); }
a.dept-card:hover .dept-go .i { transform: rotate(0); }
.dept-card h3 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.025em; margin: 0; }
.dept-card p { color: var(--muted); margin: 0; flex: 1; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: .35rem 0 .1rem; }
.chips li { font-size: .78rem; font-weight: 700; padding: .32rem .7rem; border-radius: 999px; background: var(--t); color: var(--c); }
.dept-meta { display: inline-flex; align-items: center; gap: .4rem; font-size: .83rem; color: var(--muted); font-weight: 600; margin-top: .35rem; }
.dept-meta .i { width: 1rem; height: 1rem; color: var(--c); }
.dept-card.featured { grid-column: span 2; padding: 34px; }
.dept-card.featured::before { background: radial-gradient(640px 320px at 100% 0%, var(--t), transparent 72%); }
.dept-card.featured h3 { font-size: 1.75rem; }
.dept-card.featured p { max-width: 36rem; flex: 0; }
.dept-card.featured .chips { margin-top: .6rem; }
.dept-card.featured .chips li { font-size: .84rem; padding: .4rem .8rem; background: #fff; box-shadow: inset 0 0 0 1px var(--t); }
.dept-help {
  grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 1.4rem; padding: 26px 30px;
  background: linear-gradient(120deg, var(--dark), var(--dark-2)); color: #fff; border-color: transparent;
}
.dept-help::before { background: radial-gradient(500px 200px at 100% 50%, rgba(246, 169, 59, .22), transparent 70%); }
.dept-help .dept-icon { background: rgba(255, 255, 255, .08); color: var(--sun-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); flex: none; }
.dept-help-text { flex: 1; }
.dept-help h3 { font-size: 1.25rem; margin-bottom: .2rem; }
.dept-help p { color: rgba(255, 255, 255, .72); }
.dept-help .btn { flex: none; }

/* ---------- Steps ---------- */
.steps-section {
  position: relative; overflow: hidden; isolation: isolate; padding: 100px 0; color: #fff;
  background:
    radial-gradient(700px 420px at 0% 0%, rgba(20, 160, 138, .35), transparent 70%),
    radial-gradient(600px 420px at 100% 100%, rgba(246, 169, 59, .12), transparent 70%),
    var(--dark);
}
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 50px; height: 2px; z-index: 0;
  background: linear-gradient(90deg, rgba(246, 169, 59, 0), rgba(246, 169, 59, .55), rgba(126, 221, 200, .55), rgba(126, 221, 200, 0));
}
.steps li {
  position: relative; z-index: 1; padding: 26px 24px 24px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.step-n {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; margin-bottom: 1.1rem;
  background: linear-gradient(180deg, var(--sun-2), var(--sun)); color: #2A1A02; font-weight: 800; font-size: 1.2rem;
  box-shadow: 0 10px 24px -10px rgba(246, 169, 59, .8);
}
.steps h3 { font-size: 1.12rem; }
.steps p { color: rgba(255, 255, 255, .68); margin: 0; font-size: .96rem; }

/* ---------- Why / promise ---------- */
.why-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: stretch; }
.promise {
  display: flex; flex-direction: column; min-height: 440px; padding: 38px; border-radius: 30px; color: #fff;
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(420px 300px at 100% 0%, rgba(126, 221, 200, .28), transparent 70%),
    linear-gradient(160deg, var(--g600), var(--dark) 72%);
  box-shadow: var(--shadow-lg);
}
.promise::before { content: ""; position: absolute; right: -90px; bottom: -110px; z-index: -1; width: 320px; height: 320px; border-radius: 50%; border: 44px solid rgba(255, 255, 255, .05); }
.promise-mark { position: relative; flex: none; width: 60px; height: 60px; margin-bottom: auto; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .3)); }
.promise-mark + .eyebrow { margin-top: 2rem; align-self: flex-start; }
.promise-text { font-size: clamp(1.35rem, 2.3vw, 1.75rem); font-weight: 700; line-height: 1.35; letter-spacing: -.02em; margin-bottom: 1.6rem; }
.promise-by {
  display: flex; align-items: center; gap: .85rem; padding: .7rem .9rem .7rem .7rem; border-radius: 18px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; text-decoration: none;
  transition: background-color .2s;
}
.promise-by:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.promise-by img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; object-position: center 20%; flex: none; }
.promise-by span { display: flex; flex-direction: column; flex: 1; line-height: 1.3; }
.promise-by small { color: rgba(255, 255, 255, .62); font-size: .78rem; font-weight: 600; }
.promise-by strong { font-weight: 800; }
.promise-by .i { color: var(--sun-2); }
.link-light { display: inline-flex; align-items: center; gap: .45rem; color: var(--sun-2); font-weight: 700; text-decoration: none; }
.why { padding-top: 6px; }
.feature-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 2rem; }
.feature-list li { display: flex; flex-direction: column; gap: .9rem; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); }
.feature-list h3 { margin-bottom: .25rem; }
.feature-list p { margin: 0; color: var(--muted); font-size: .96rem; }
.f-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--g100); color: var(--g700); flex: none; }
.f-icon .i { width: 1.45rem; height: 1.45rem; }

/* ---------- Hours and map ---------- */
.hours-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: stretch; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.hours { width: 100%; border-collapse: collapse; margin: .5rem 0 1.2rem; font-size: .97rem; }
.hours th, .hours td { text-align: left; padding: .85rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours thead th { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 0; font-weight: 800; }
.hours tbody th { font-weight: 700; padding-right: 1rem; white-space: nowrap; }
.hours tbody th a { color: var(--ink); text-decoration: none; }
.hours tbody th a:hover { color: var(--g700); text-decoration: underline; }
.hours td { color: var(--muted); }
.hours-em th, .hours-em td { color: var(--coral); font-weight: 800; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c); margin-right: .65rem; vertical-align: 1px; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }
/* Find us: heading, the clinic's name strip and the live map, which fills the rest of the panel. */
.find-card { display: flex; flex-direction: column; }
.find-card > .eyebrow { align-self: flex-start; }
.map-wrap { flex: 1; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); margin-top: .5rem; }
.map-place { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; background: var(--g900, #062925); color: #fff; }
.map-place-mark { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); }
.map-place-mark svg { width: 26px; height: 26px; }
.map-place-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.map-place-text strong { font-weight: 800; font-size: 1rem; }
.map-place-text small { font-size: .85rem; color: rgba(255, 255, 255, .78); }
.map-live { position: relative; flex: 1; min-height: 360px; background: #E8EFEC; }
.map-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-intro p:not(.eyebrow) { color: var(--muted); }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--g200); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 1.15rem 3.4rem 1.15rem 1.35rem; font-weight: 700; position: relative; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.2rem; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
  background: var(--g100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F6B5F' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E") center/15px no-repeat;
  transition: transform .25s, background-color .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--g200); }
.faq details p { padding: 0 1.35rem 1.25rem; margin: 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-section { padding: 0 0 100px; }
.section-alt + .cta-section { padding-top: 100px; }
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; overflow: hidden; isolation: isolate;
  padding: 48px 52px; border-radius: 32px; color: #fff;
  background:
    radial-gradient(520px 280px at 100% 0%, rgba(246, 169, 59, .28), transparent 70%),
    radial-gradient(520px 280px at 0% 100%, rgba(20, 160, 138, .35), transparent 70%),
    var(--dark);
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 70%);
}
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { color: rgba(255, 255, 255, .72); margin: 0; max-width: 34rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; flex: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--top); color: rgba(255, 255, 255, .68); padding: 76px 0 0; font-size: .95rem; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(126, 221, 200, .45), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand p { margin-top: 1.1rem; max-width: 22rem; }
.footer-h { font-size: .74rem; font-weight: 800; line-height: 1; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: .6rem 0 1.2rem; }
.footer-links { list-style: none; display: grid; gap: .65rem; }
.footer-links a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.footer-links a:hover { color: var(--sun-2); }
.footer-info li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-info .i { color: var(--sun-2); margin-top: .2rem; width: 1.05rem; height: 1.05rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; color: rgba(255, 255, 255, .5); }
.footer-bottom p { margin: 0; }

/* ---------- Inner page hero ---------- */
.page-hero { padding: 64px 0 76px; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { margin-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .88rem; color: rgba(255, 255, 255, .55); margin-bottom: 1.6rem; }
.crumbs a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; font-weight: 700; }

/* ---------- Department pages ---------- */
.dept-hero {
  background: var(--dark);
  background:
    radial-gradient(720px 460px at 85% 20%, color-mix(in srgb, var(--c) 55%, transparent), transparent 65%),
    radial-gradient(560px 380px at 0% 100%, rgba(246, 169, 59, .12), transparent 66%),
    linear-gradient(180deg, var(--dark), var(--dark-2));
}
.dept-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.dept-hero .hero-actions { margin-bottom: 0; }
.eyebrow-dept::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }
.dept-art { position: relative; aspect-ratio: 1; max-width: 330px; width: 100%; justify-self: center; display: grid; place-items: center; }
.ring { position: absolute; border-radius: 50%; }
.ring-1 { inset: -6%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 70%, transparent), transparent); opacity: .9; }
.ring-2 { inset: 8%; border: 1.5px dashed rgba(255, 255, 255, .28); animation: spin 60s linear infinite; }
.ring-3 {
  inset: 24%; border-radius: 34%; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55);
  transform: rotate(-6deg);
}
.big-icon { position: relative; color: #fff; }
.big-icon .i { width: 88px; height: 88px; stroke-width: 1.4; }
@keyframes spin { to { transform: rotate(360deg); } }

.dept-body { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
.dept-main > h2 { margin-bottom: 1.1rem; }
.check-list { list-style: none; display: grid; gap: .8rem; }
.check-list.cols-2 { grid-template-columns: 1fr 1fr; gap: .8rem 1.4rem; margin-bottom: 3rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; }
.dept-main .check-list.cols-2 li { padding: .85rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; font-weight: 600; font-size: .97rem; }
.check-list .i { width: 1.45rem; height: 1.45rem; padding: .25rem; margin-top: .05rem; border-radius: 50%; background: var(--t); color: var(--c); stroke-width: 2.6; }
.sub-service {
  margin: -1rem 0 3rem; padding: 32px 34px; border-radius: var(--radius); position: relative; overflow: hidden; isolation: isolate;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); scroll-margin-top: 110px;
}
.sub-service::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px 240px at 100% 0%, var(--t), transparent 70%); }
.sub-service-head { display: flex; gap: 1.1rem; align-items: flex-start; margin-bottom: 1.4rem; }
.sub-service-head h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin-bottom: .25em; }
.sub-service-head p { margin: 0; color: var(--muted); }
.sub-service-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--t); color: var(--c); flex: none; }
.sub-service-icon .i { width: 1.8rem; height: 1.8rem; stroke-width: 1.7; }
.dept-main .sub-service .check-list.cols-2 { margin-bottom: 1.6rem; }
.dept-main .sub-service .check-list.cols-2 li { background: var(--paper); }
.prep-card { background: var(--t); border-radius: var(--radius); padding: 32px 36px; margin-bottom: 28px; }
.prep-card h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.prep-list { list-style: none; counter-reset: prep; display: grid; gap: .9rem; }
.prep-list li { counter-increment: prep; display: flex; gap: .9rem; align-items: flex-start; }
.prep-list li::before {
  content: counter(prep); display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 10px;
  background: #fff; color: var(--c); font: 800 .9rem/1 var(--font); box-shadow: 0 0 0 1.5px var(--c) inset;
}
.note-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.note-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px 26px; position: relative; overflow: hidden; }
.note-card::before { content: ""; position: absolute; left: 0; top: 20px; bottom: 20px; width: 4px; border-radius: 0 4px 4px 0; background: var(--c); }
.note-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.dept-aside { position: sticky; top: 100px; display: grid; gap: 18px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.aside-h { display: flex; align-items: center; gap: .55rem; font-size: 1.05rem; font-weight: 800; margin-bottom: 1rem; letter-spacing: -.01em; }
.aside-h .i { color: var(--c); }
.aside-hours { list-style: none; display: grid; gap: .45rem; margin-bottom: .9rem; font-weight: 700; }
.aside-actions { display: grid; gap: .6rem; margin-top: 1.2rem; }
.other-depts { list-style: none; display: grid; gap: .25rem; }
.other-depts a { display: flex; align-items: center; gap: .75rem; padding: .5rem; border-radius: 13px; color: var(--ink); text-decoration: none; font-weight: 700; }
.other-depts a:hover { background: var(--t); color: var(--ink); }
.other-depts .arrow { margin-left: auto; width: 1rem; height: 1rem; color: var(--muted); }

/* ---------- Departments guide ---------- */
.guide-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.guide { list-style: none; display: grid; gap: 12px; }
.guide a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--ink);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.guide a:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: var(--c); color: var(--ink); }
.g-q { font-weight: 600; }
.g-a { display: inline-flex; align-items: center; gap: .4rem; flex: none; font-weight: 800; color: var(--c); background: var(--t); padding: .42rem .9rem; border-radius: 999px; font-size: .88rem; }

/* ---------- About ---------- */
.story-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 64px; align-items: center; }
.story p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.stats { list-style: none; display: grid; gap: 14px; }
.stats li { display: flex; align-items: center; gap: 1.2rem; padding: 22px 26px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.stats strong { font-size: 2.3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--g700); min-width: 3.2ch; }
.stats span { color: var(--muted); font-weight: 600; }
.director {
  display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: 56px; align-items: center;
  padding: 40px; background: #fff; border: 1px solid var(--line); border-radius: 32px; box-shadow: var(--shadow-lg);
}
.director-photo { position: relative; margin: 0; isolation: isolate; }
.director-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; border-radius: 26px; background: linear-gradient(140deg, var(--g200), var(--sun-50)); }
.director-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 26px; }
.director-text h2 { margin-bottom: .15em; }
.director-role { font-weight: 800; color: var(--g700); margin-bottom: 1.2rem; }
.director-text p:not(.eyebrow):not(.director-role) { color: var(--muted); font-size: 1.05rem; }
.director-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.mv-card { padding: 34px 36px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.mv-card h3 { font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--g700); }
.mv-card p { font-size: clamp(1.25rem, 2.1vw, 1.55rem); font-weight: 700; line-height: 1.35; letter-spacing: -.02em; margin: 0; }
.mv-mission { background: linear-gradient(150deg, var(--g700), var(--dark)); border-color: transparent; color: #fff; }
.mv-mission h3 { color: var(--sun-2); }
.values { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.values li { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.values .f-icon { margin-bottom: 1rem; }
.values p { margin: 0; color: var(--muted); font-size: .96rem; }
.team-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.team-grid li { padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; }
.team-grid li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c); }
.t-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--t); color: var(--c); margin-bottom: 1rem; }
.t-icon .i { width: 1.6rem; height: 1.6rem; }
.team-grid p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.c-phones { list-style: none; display: grid; gap: .35rem; margin-top: .2rem; }
.c-phones a { font-weight: 800; color: var(--ink); text-decoration: none; font-size: 1.05rem; letter-spacing: -.01em; }
.c-phones a:hover { color: var(--g700); text-decoration: underline; }
.c-phones small { display: block; color: var(--muted); font-size: .78rem; font-weight: 600; margin-top: -.1rem; }
.c-email { overflow-wrap: break-word; font-size: .95rem; }
.c-card {
  display: flex; flex-direction: column; gap: .3rem; padding: 26px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
a.c-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--g200); color: var(--ink); }
.c-card .f-icon { margin-bottom: .8rem; }
.c-card h2 { font-size: 1.15rem; font-weight: 800; letter-spacing: -.015em; margin: 0; }
.c-card p { margin: 0; color: var(--muted); flex: 1; }
.c-more { display: inline-flex; align-items: center; gap: .35rem; margin-top: .7rem; font-weight: 800; color: var(--g700); font-size: .92rem; }
.c-em { background: var(--coral-50); border-color: #F4CEC5; }
.c-em .f-icon { background: #fff; color: var(--coral); }
.c-em h2 { color: var(--coral); }
.c-em p { color: #7A2C1F; }
.book-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.book-intro > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.book-intro .check-list { margin: 1.6rem 0; }
.note-em { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.15rem; border-radius: 16px; background: var(--coral-50); color: #7A2C1F; border: 1px solid #F4CEC5; }
.note-em .i { color: var(--coral); margin-top: .15rem; }
.note-em p { margin: 0; font-size: .95rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 22px; }
.span-2 { grid-column: span 2; }
.field label { display: block; font-weight: 700; font-size: .93rem; margin-bottom: .4rem; }
.opt { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: .82rem 1rem;
  border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.6rem;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23556764' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .9rem center/18px no-repeat;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--g600); background-color: #fff; box-shadow: 0 0 0 4px rgba(15, 128, 112, .14); }
.hint { font-size: .84rem; color: var(--muted); margin: .4rem 0 0; }
.book-result { margin-top: 20px; padding: 18px 20px; border-radius: 16px; background: var(--g50); border: 1px solid var(--g200); }
.book-result-h { display: flex; align-items: center; gap: .5rem; font-weight: 800; color: var(--g800); margin-bottom: .6rem; }
.book-result pre { white-space: pre-wrap; font: .92rem/1.55 var(--font); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; margin: 0 0 .7rem; }
.book-result .small { margin: 0; color: var(--muted); }

/* ---------- Photos ---------- */
.hero-art img { aspect-ratio: 820 / 651; object-fit: cover; }
.dept-hero-grid:has(.dept-photo) { grid-template-columns: 1.1fr .9fr; }
.dept-photo { position: relative; margin: 0; justify-self: end; width: 100%; }
.dept-photo.portrait { max-width: 380px; }
.dept-photo::before {
  content: ""; position: absolute; inset: -10% -6%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 60%, transparent), transparent);
}
.dept-photo img { width: 100%; height: auto; border-radius: 28px; border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .7); }
.dept-photo figcaption {
  position: absolute; left: -18px; bottom: 22px; display: inline-flex; align-items: center; gap: .6rem;
  padding: .5rem 1rem .5rem .5rem; border-radius: 16px; color: var(--ink); font-weight: 800; font-size: .92rem;
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 22px 44px -22px rgba(0, 0, 0, .55);
}
.dept-photo figcaption .sub-icon { width: 34px; height: 34px; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; grid-auto-flow: dense; }
.g-tile { position: relative; margin: 0; overflow: hidden; border-radius: 22px; background: var(--g100); box-shadow: var(--shadow-sm); }
.g-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.g-tile:hover img { transform: scale(1.04); }
.g-tile figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: .38rem .8rem; border-radius: 999px;
  background: rgba(6, 41, 37, .72); color: #fff; font-size: .82rem; font-weight: 700;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.g-big { grid-column: span 2; grid-row: span 2; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

.sub-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 1.4rem; }
.sub-photos figure { position: relative; margin: 0; overflow: hidden; border-radius: 18px; }
.sub-photos img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.sub-photos figcaption { position: absolute; left: 10px; bottom: 10px; padding: .3rem .7rem; border-radius: 999px; background: rgba(6, 41, 37, .72); color: #fff; font-size: .78rem; font-weight: 700; }

.story-side { display: grid; gap: 14px; }
.story-photo { margin: 0; }
.story-photo img { width: 100%; height: auto; border-radius: 24px; box-shadow: var(--shadow-lg); }

/* ---------- Reveal on scroll (only when JavaScript runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Mobile action bar and toast ---------- */
.action-bar { display: none; }
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translate(-50%, 20px); opacity: 0;
  max-width: min(440px, calc(100% - 32px)); padding: .85rem 1.15rem; border-radius: 14px;
  background: var(--dark); color: #fff; font-size: .92rem; box-shadow: var(--shadow-lg); transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (min-width: 981px) and (max-width: 1180px) {
  .menu-panel { gap: .6rem; }
  .menu > li > a { padding: .55rem .7rem; }
  .nav-login { padding: .7rem .8rem; }
  .nav-login-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (max-width: 1100px) {
  .fc-emergency { left: 12px; }
  .fc-imaging, .fc-dental { right: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .menu-toggle { display: grid; }
  .menu-panel {
    position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 12px var(--gutter) 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 120px); overflow-y: auto;
  }
  .menu-panel.open { display: flex; }
  .menu { flex-direction: column; align-items: stretch; gap: 2px; }
  .menu > li > a { padding: .8rem .9rem; border-radius: 12px; font-size: 1.05rem; color: var(--ink); }
  .menu > li > a[aria-current="page"] { background: var(--g100); color: var(--g800); }
  .sub-toggle { width: 44px; height: 44px; color: var(--muted); }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .submenu { position: static; flex-basis: 100%; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .4rem .4rem; display: none; }
  .submenu::before { display: none; }
  .has-sub:hover .submenu, .has-sub:focus-within .submenu { display: none; }
  .has-sub.open .submenu { display: block; }
  .nav-cta, .nav-login { width: 100%; }
  .site-header .nav-login { color: var(--g800); background: var(--g50); border-color: var(--g200); -webkit-backdrop-filter: none; backdrop-filter: none; }

  .hero { padding: 56px 0 120px; }
  .hero-grid, .why-grid, .hours-grid, .faq-grid, .guide-grid, .story-grid, .book-grid, .dept-body, .director { grid-template-columns: 1fr; gap: 44px; }
  .hero h1 { max-width: 15ch; }
  .hero-art { max-width: 620px; }
  .director-photo { max-width: 300px; }
  .dept-grid { grid-template-columns: 1fr 1fr; }
  .dept-card.featured { grid-column: 1 / -1; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .info-grid li:nth-child(3) { border-left: 0; }
  .info-grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .promise { min-height: 360px; }
  .dept-hero-grid, .dept-hero-grid:has(.dept-photo) { grid-template-columns: 1fr; }
  .dept-art { display: none; }
  .dept-photo { justify-self: start; max-width: 560px; }
  .dept-photo figcaption { left: 12px; }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; }
  .dept-aside { position: static; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 680px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; padding-bottom: 92px; }
  .topbar-where, .hide-xs { display: none; }
  .topbar-inner { font-size: .8rem; gap: .75rem; }
  .preview-banner { font-size: .78rem; }
  .nav { height: 68px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1.3rem; }
  .section { padding: 68px 0; }
  .section-tight { padding: 40px 0; }
  .steps-section { padding: 68px 0; }
  .cta-section { padding-bottom: 68px; }
  .section-alt + .cta-section { padding-top: 68px; }
  .section-head { margin-bottom: 32px; }
  .hero { padding: 40px 0 108px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats { gap: 1rem; margin-top: 2rem; }
  .hero-stats strong { font-size: 1.6rem; }
  .hero-stats span { font-size: .78rem; }
  .hero-art img { border-radius: 24px; }
  .float-card { padding: .55rem .75rem; font-size: .8rem; border-radius: 14px; }
  .float-card strong { font-size: .84rem; }
  .fc-emergency { left: 10px; bottom: 12px; }
  .fc-imaging { right: 10px; top: 12px; }
  .fc-dental { display: none; }
  .fc-icon { width: 32px; height: 32px; }
  .info-strip { margin-top: -56px; }
  .info-grid { grid-template-columns: 1fr; }
  .info-grid li { padding: 1rem 1.1rem; }
  .info-grid li + li { border-left: 0; border-top: 1px solid var(--line); }
  .ribbon { padding-top: 24px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .g-tile { border-radius: 16px; }
  .g-big, .g-wide { grid-column: span 2; grid-row: span 1; }
  .g-big { grid-row: span 2; }
  .dept-photo.portrait { max-width: 300px; }
  .sub-photos { grid-template-columns: 1fr; }
  .dept-grid, .steps, .feature-list, .note-grid, .check-list.cols-2, .mv-grid, .values, .team-grid, .contact-cards { grid-template-columns: 1fr; }
  .dept-card, .dept-card.featured { padding: 24px; }
  .dept-card.featured h3 { font-size: 1.5rem; }
  .dept-help { flex-direction: column; align-items: flex-start; }
  .dept-help .btn { width: 100%; }
  .panel { padding: 24px 20px; }
  .hours thead { display: none; }
  .hours tr { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .hours tbody th, .hours td { display: block; border: 0; padding: 0; white-space: normal; }
  .hours td { padding-left: 1.4rem; margin-top: .15rem; }
  .promise { padding: 28px 24px; min-height: 0; }
  .promise-mark { width: 52px; height: 52px; margin-bottom: 0; }
  .prep-card { padding: 26px 22px; }
  .sub-service { padding: 24px 20px; }
  .sub-service-head { flex-direction: column; gap: .9rem; }
  .sub-service .btn { width: 100%; }
  .cta-band { padding: 34px 24px; border-radius: 24px; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .director { padding: 26px 22px 30px; gap: 40px; border-radius: 26px; }
  .director-photo { max-width: 260px; }
  .director-photo::before { inset: 12px -12px -12px 12px; }
  .director-actions .btn { flex: 1 1 100%; }
  .guide a { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding-top: 56px; }

  .action-bar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px;
    background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
    border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 18px 40px -16px rgba(6, 41, 37, .45);
  }
  .action-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem;
    height: 58px; border-radius: 16px; color: var(--g800); text-decoration: none; font-weight: 800; font-size: .78rem;
  }
  .action-bar .i { width: 1.35rem; height: 1.35rem; }
  .action-bar .ab-book { background: linear-gradient(180deg, var(--sun-2), var(--sun)); color: #2A1A02; }
  .toast { bottom: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ribbon { overflow-x: auto; }
}

@media print {
  .topbar, .site-header, .action-bar, .cta-section, .preview-banner, .ribbon { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero, .page-hero { color: var(--ink); background: none; }
  body { padding: 0; }
}
