/* =========================================================
   Maya Hospital — Design System
   Brand: Deep Teal + Heart Red, soft clinical neutrals
   ========================================================= */

:root {
  --brand-900: #04232b;
  --brand-800: #08343f;
  --brand-700: #0d4a58;
  --brand-600: #136070;
  --brand-100: #e2f1f3;
  --brand-50:  #f0f8f9;

  --red-600: #d42029;
  --red-500: #e5323a;
  --red-400: #f25a60;
  --red-100: #fde6e7;
  --red-50:  #fff4f4;

  --teal-500: #12a59a;
  --teal-100: #dcf5f2;

  --ink: #0a1d22;
  --ink-2: #33494e;
  --ink-3: #5f777c;
  --line: #e2eaec;
  --bg: #f6fafa;
  --surface: #ffffff;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --radius-xl: 44px;

  --shadow-sm: 0 1px 2px rgba(10, 29, 34, .05), 0 2px 8px rgba(10, 29, 34, .04);
  --shadow: 0 10px 30px -10px rgba(8, 52, 63, .18), 0 4px 12px -4px rgba(8, 52, 63, .08);
  --shadow-lg: 0 40px 80px -30px rgba(8, 52, 63, .35);
  --shadow-red: 0 14px 30px -10px rgba(212, 32, 41, .55);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;

  --container: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.025em; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); letter-spacing: -.035em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
em.serif, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.accent { color: var(--red-600); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-sm { padding: clamp(48px, 7vw, 80px) 0; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red-600);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head p { font-size: 1.1rem; color: var(--ink-3); }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.split-head .section-head { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--brand-800); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: .98rem; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn-red { --bg: var(--red-600); box-shadow: var(--shadow-red); }
.btn-red:hover { --bg: var(--red-500); }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); background: rgba(255,255,255,.6); backdrop-filter: blur(10px); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--brand-700); }
.btn-light { --bg: #fff; --fg: var(--brand-800); }
.btn-outline-light { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn-outline-light:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn-sm { padding: 11px 20px; font-size: .9rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand-700); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--brand-900); color: #c1dbdf; font-size: .84rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 0; }
.topbar a { color: #fff; font-weight: 600; }
.topbar .tb-left, .topbar .tb-right { display: flex; align-items: center; gap: 22px; }
.topbar svg { width: 15px; height: 15px; display: inline; vertical-align: -2px; margin-right: 6px; color: var(--red-400); }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 250, 250, .72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -16px rgba(8, 52, 63,.3); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: auto; filter: drop-shadow(0 6px 10px rgba(212,32,41,.25)); }
.brand-text { line-height: 1.05; }
.brand-text strong { display: block; font-size: 1.22rem; color: var(--brand-800); letter-spacing: -.02em; }
.brand-text span { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--red-600); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.75); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.nav-links a { display: block; padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: .93rem; color: var(--ink-2); transition: background .25s, color .25s; }
.nav-links a:hover { color: var(--brand-800); background: var(--brand-50); }
.nav-links a.active { background: var(--brand-800); color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .3s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.hero-bg .b1 { width: 520px; height: 520px; background: #c8e8ec; top: -160px; right: -80px; }
.hero-bg .b2 { width: 420px; height: 420px; background: #ffd3d5; bottom: -160px; left: -120px; }
.hero-bg .grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%); opacity: .55; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 7px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .86rem; font-weight: 600; color: var(--ink-2); margin-bottom: 26px;
}
.pill b { background: var(--red-100); color: var(--red-600); padding: 4px 10px; border-radius: 999px; font-size: .75rem; letter-spacing: .04em; }
.hero h1 .serif { color: var(--red-600); }
.hero-lead { font-size: 1.15rem; max-width: 560px; color: var(--ink-3); margin: 22px 0 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 28px; margin-top: 44px; padding-top: 28px; border-top: 1px dashed var(--line); flex-wrap: wrap; }
.hero-meta div { display: flex; align-items: center; gap: 12px; }
.hero-meta .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow-sm); color: var(--brand-700); }
.hero-meta .ic svg { width: 22px; height: 22px; }
.hero-meta strong { display: block; color: var(--ink); font-size: .98rem; }
.hero-meta span { font-size: .84rem; color: var(--ink-3); }

.hero-visual { position: relative; }
.hero-card {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, var(--brand-700), var(--brand-900));
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 20px;
  background: rgba(255,255,255,.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.7); box-shadow: var(--shadow);
  animation: floaty 6s ease-in-out infinite;
}
.float-chip .ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff; flex: none; }
.float-chip .ic svg { width: 22px; height: 22px; }
.float-chip strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.2; }
.float-chip span { font-size: .8rem; color: var(--ink-3); }
.chip-1 { top: 9%; left: -8%; }
.chip-1 .ic { background: var(--red-600); }
.chip-2 { bottom: 12%; right: -6%; animation-delay: -3s; }
.chip-2 .ic { background: var(--teal-500); }
.chip-3 { bottom: -22px; left: 10%; animation-delay: -1.5s; }
.chip-3 .ic { background: var(--brand-700); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--brand-900); color: #fff; padding: 22px 0; overflow: hidden; position: relative; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; font-size: 1.15rem; font-weight: 600; white-space: nowrap; }
.marquee-track span::after { content: "✦"; color: var(--red-400); font-size: .9rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.card {
  position: relative; background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--line); padding: 32px; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .ic {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-700); margin-bottom: 24px;
  transition: background .35s, color .35s, transform .5s var(--ease);
}
.card .ic svg { width: 28px; height: 28px; }
.card:hover .ic { background: var(--red-600); color: #fff; transform: rotate(-6deg) scale(1.05); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-3); font-size: .97rem; margin: 0; }
.card .num { position: absolute; top: 28px; right: 30px; font-family: var(--serif); font-size: 1.6rem; color: var(--line); font-style: italic; }
.span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; } .span-12 { grid-column: span 12; }
.card-feature { background: linear-gradient(150deg, var(--brand-800), var(--brand-900)); color: #c4dde1; border: 0; display: flex; flex-direction: column; justify-content: space-between; min-height: 320px; }
.card-feature h3 { color: #fff; font-size: 1.7rem; }
.card-feature p { color: #b5d5da; }
.card-feature .ic { background: rgba(255,255,255,.1); color: #fff; }
.card-feature .num { color: rgba(255,255,255,.15); }
.card-feature .art { position: absolute; right: -40px; bottom: -40px; width: 260px; opacity: .9; pointer-events: none; }
.card-rose { background: linear-gradient(150deg, #fff, var(--red-50)); }
.card-rose .ic { background: var(--red-100); color: var(--red-600); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag { font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); }
.card-feature .tag { background: rgba(255,255,255,.1); color: #fff; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.media-frame { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 5.4; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-stack { position: relative; }
.media-stack .badge-card {
  position: absolute; right: -24px; bottom: 36px; width: 230px;
  background: #fff; border-radius: 24px; padding: 22px; box-shadow: var(--shadow);
}
.badge-card .big { font-family: var(--serif); font-style: italic; font-size: 3rem; line-height: 1; color: var(--red-600); }
.badge-card p { margin: 6px 0 0; font-size: .9rem; color: var(--ink-3); }
.check-list { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); font-weight: 500; }
.check-list li::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 8px; margin-top: 1px;
  background: var(--red-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d42029' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.check-list.two { grid-template-columns: 1fr 1fr; }

/* ---------- Doctors ---------- */
.doctors { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.doctor {
  display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px;
  transition: box-shadow .5s var(--ease), transform .5s var(--ease);
}
.doctor:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.doctor-photo { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--brand-50); }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor .role { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red-600); background: var(--red-50); padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.doctor h3 { font-size: 1.55rem; margin-bottom: 6px; }
.doctor .quals { font-size: .9rem; font-weight: 600; color: var(--brand-700); margin-bottom: 14px; }
.doctor p { color: var(--ink-3); font-size: .95rem; }
.doctor .tags { margin: 0 0 20px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-xl);
  background: radial-gradient(circle at 85% 20%, rgba(229,50,58,.55), transparent 45%), linear-gradient(135deg, var(--brand-800), var(--brand-900));
  color: #c4dde1; padding: clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band h2 .serif { color: var(--red-400); }
.cta-band p { font-size: 1.08rem; margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.phone-card {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 20px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  color: #fff; transition: background .3s, transform .35s var(--ease);
}
.phone-card:hover { background: rgba(255,255,255,.14); transform: translateX(4px); }
.phone-card .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--red-600); display: grid; place-items: center; flex: none; }
.phone-card .ic svg { width: 22px; height: 22px; }
.phone-card small { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #a6cbd1; }
.phone-card strong { font-size: 1.2rem; letter-spacing: .01em; }
.cta-band .ring { position: absolute; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; pointer-events: none; }
.cta-band .r1 { width: 520px; height: 520px; right: -160px; top: -200px; }
.cta-band .r2 { width: 340px; height: 340px; right: -70px; top: -110px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.page-hero .container { position: relative; }
.page-hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: .88rem; color: var(--ink-3); margin-bottom: 22px; font-weight: 500; }
.crumbs a:hover { color: var(--red-600); }
.crumbs svg { width: 14px; height: 14px; }
.page-hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); margin: 0; }
.page-hero h1 .serif { color: var(--red-600); }
.page-hero p.lead { font-size: 1.12rem; color: var(--ink-3); margin: 0; }

/* ---------- Services page ---------- */
.service-block { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.sticky-col { position: sticky; top: 110px; }
.treatments { display: grid; gap: 16px; }
.treatment {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px;
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease);
}
.treatment:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateX(6px); }
.treatment .ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); }
.treatment .ic svg { width: 26px; height: 26px; }
.treatment h3 { font-size: 1.15rem; margin-bottom: 6px; }
.treatment p { margin: 0; color: var(--ink-3); font-size: .95rem; }
.cond-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.cond {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  font-weight: 600; color: var(--ink); font-size: .95rem;
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.cond::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red-500); box-shadow: 0 0 0 5px var(--red-100); flex: none; }
.cond:hover { background: var(--brand-800); color: #fff; transform: translateY(-3px); }
.dark-section { background: var(--brand-900); color: #b5d5da; }
.dark-section h2, .dark-section h3 { color: #fff; }
.dark-section .section-head p { color: #95b9bf; }
.dark-section .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); }
.dark-section .card p { color: #95b9bf; }
.dark-section .card .ic { background: rgba(255,255,255,.08); color: #fff; }
.notice {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: 20px;
  background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--ink-2); font-size: .92rem;
}
.notice svg { width: 22px; height: 22px; color: var(--brand-700); flex: none; margin-top: 2px; }
.notice p { margin: 0; }
.dark-section .notice { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); color: #b5d5da; }
.dark-section .notice svg { color: var(--red-400); }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-weight: 600; font-size: .9rem; color: var(--ink-2); cursor: pointer; transition: .25s;
}
.filter:hover { border-color: var(--brand-700); }
.filter.active { background: var(--brand-800); color: #fff; border-color: var(--brand-800); }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 240px; gap: 18px; }
.g-item {
  position: relative; border-radius: 26px; overflow: hidden; cursor: zoom-in;
  background: var(--brand-50); grid-column: span 4;
  transition: opacity .4s, transform .4s var(--ease);
}
.g-item.wide { grid-column: span 8; }
.g-item.tall { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.g-item:hover img { transform: scale(1.06); }
.g-item figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 14px 18px; border-radius: 18px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  transform: translateY(8px); opacity: .95; transition: transform .45s var(--ease);
}
.g-item:hover figcaption { transform: translateY(0); }
.g-item figcaption strong { color: var(--ink); font-size: .98rem; display: block; line-height: 1.25; }
.g-item figcaption span { font-size: .78rem; color: var(--ink-3); }
.g-item figcaption .zoom { width: 36px; height: 36px; border-radius: 12px; background: var(--brand-800); color: #fff; display: grid; place-items: center; flex: none; }
.g-item figcaption .zoom svg { width: 16px; height: 16px; }
.g-item.hide { display: none; }
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px;
  background: rgba(4, 35, 43, .88); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: .35s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: 1000px; width: 100%; }
.lightbox img { width: 100%; max-height: 76vh; object-fit: contain; border-radius: 22px; background: #fff; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 16px; font-weight: 600; }
.lightbox button { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox button svg { width: 20px; height: 20px; }
.guide-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.guide { padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.guide .n { font-family: var(--serif); font-style: italic; font-size: 2.2rem; color: var(--red-600); line-height: 1; margin-bottom: 12px; }
.guide p { margin: 0; font-size: .92rem; color: var(--ink-3); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.info-stack { display: grid; gap: 16px; }
.info-card {
  display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: 24px;
  background: #fff; border: 1px solid var(--line); transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
a.info-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.info-card .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--red-50); color: var(--red-600); flex: none; }
.info-card .ic svg { width: 24px; height: 24px; }
.info-card small { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.info-card strong { color: var(--ink); font-size: 1.12rem; line-height: 1.4; display: block; }
.info-card.primary { background: linear-gradient(140deg, var(--brand-800), var(--brand-900)); border: 0; }
.info-card.primary .ic { background: var(--red-600); color: #fff; }
.info-card.primary small { color: #a6cbd1; }
.info-card.primary strong { color: #fff; font-size: 1.4rem; }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 18px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--bg);
  font-size: 1rem; outline: none; transition: border-color .25s, background .25s, box-shadow .25s; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7394' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; padding-right: 44px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-700); background: #fff; box-shadow: 0 0 0 4px var(--brand-50); }
.form-note { font-size: .82rem; color: var(--ink-3); margin: 18px 0 0; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.form-success { display: none; padding: 18px 20px; border-radius: 16px; background: var(--teal-100); color: #0b6b63; font-weight: 600; margin-top: 18px; }
.form-success.show { display: block; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); height: 420px; box-shadow: var(--shadow-sm); background: var(--brand-50); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--brand-900); color: #95b9bf; padding: 88px 0 0; margin-top: 0; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer .brand-text strong { color: #fff; }
.footer p { font-size: .94rem; margin-top: 18px; max-width: 320px; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: .95rem; }
.footer ul a:hover { color: #fff; }
.footer .contact-line { display: flex; gap: 10px; align-items: flex-start; }
.footer .contact-line svg { width: 16px; height: 16px; color: var(--red-400); flex: none; margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; }
.footer-word { font-size: clamp(4rem, 15vw, 13rem); font-weight: 800; letter-spacing: -.06em; line-height: .8; color: rgba(255,255,255,.035); text-align: center; user-select: none; margin-bottom: -.12em; white-space: nowrap; }
.disclaimer { font-size: .8rem; color: #73969c; max-width: 760px; }

/* ---------- Floating actions ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.fab a { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.fab a:hover { transform: translateY(-3px) scale(1.04); }
.fab a svg { width: 24px; height: 24px; }
.fab .call { background: var(--red-600); }
.fab .top { background: var(--brand-800); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.fab .top.show { opacity: 1; pointer-events: auto; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links, .nav-cta .btn-desktop { display: none; }
  .menu-toggle { display: inline-flex; }
  .menu-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 78px; left: 16px; right: 16px; padding: 12px; border-radius: 24px;
    background: #fff; box-shadow: var(--shadow-lg);
  }
  .menu-open .nav-links a { padding: 14px 18px; font-size: 1rem; }
  .hero-grid, .split, .service-block, .contact-grid, .page-hero-inner, .cta-band { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 24px auto 0; width: 100%; }
  .sticky-col { position: static; }
  .doctors { grid-template-columns: 1fr; }
  .span-4, .span-5, .span-7, .span-8 { grid-column: span 6; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .media-stack .badge-card { right: 16px; }
}
@media (max-width: 720px) {
  .topbar .tb-left .hide-sm, .topbar .tb-right { display: none; }
  .topbar .container { justify-content: center; }
  .nav { height: 70px; }
  .menu-open .nav-links { top: 70px; }
  .brand img { width: 40px; }
  .nav-cta .btn { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento > * { grid-column: auto !important; }
  .chip-1 { left: 8px; top: 12px; } .chip-2 { right: 8px; } .chip-3 { left: 8px; bottom: -18px; }
  .float-chip { padding: 10px 14px; }
  .float-chip .ic { width: 36px; height: 36px; }
  .doctor { grid-template-columns: 1fr; }
  .doctor-photo { aspect-ratio: 4 / 3.4; }
  .check-list.two { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .g-item, .g-item.wide { grid-column: auto; }
  .g-item.tall { grid-row: auto; }
  .guide-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 18px; }
  .card { padding: 26px; }
  .media-stack .badge-card { position: relative; right: auto; bottom: auto; width: auto; margin: -40px 16px 0; }
  .fab { right: 14px; bottom: 14px; }
}

/* =========================================================
   Polish layer
   ========================================================= */

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 120; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--red-600), #ff8a8f 60%, var(--brand-600)); pointer-events: none; }

/* Header shrinks on scroll */
.nav { transition: height .35s var(--ease); }
.header.scrolled .nav { height: 66px; }
.header.scrolled .brand img { width: 40px; }
.brand img { transition: width .35s var(--ease), transform .6s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }

/* Button shine */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn-red::after, .btn-light::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-red:hover::after, .btn-light:hover::after { transform: translateX(120%); }

/* Cursor spotlight on cards */
.card::before, .doctor::before, .treatment::before, .info-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(19, 96, 112, .08), transparent 45%);
  transition: opacity .4s;
}
.card-feature::before, .dark-section .card::before, .info-card.primary::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 138, 143, .18), transparent 45%); }
.card:hover::before, .doctor:hover::before, .treatment:hover::before, .info-card:hover::before { opacity: 1; }
.doctor, .treatment, .info-card { position: relative; overflow: hidden; }
.card > *, .doctor > *, .treatment > *, .info-card > * { position: relative; }
.card > .num { position: absolute; }

/* Gradient headline accent */
.hero h1 .serif {
  background: linear-gradient(90deg, var(--red-600), #ff6b71 50%, var(--red-600));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 6s ease-in-out infinite;
  padding-right: .08em;
}
@keyframes sheen { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }

/* Live status dot in pill */
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); box-shadow: 0 0 0 0 rgba(18,165,154,.5); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(18,165,154,.5); } 80%, 100% { box-shadow: 0 0 0 10px rgba(18,165,154,0); } }

/* Find care chips */
.find-care { position: relative; z-index: 2; margin-top: -56px; }
.find-care-inner {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 18px 18px 18px 28px; border-radius: 28px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid #fff; box-shadow: var(--shadow-lg);
}
.find-care-inner > strong { color: var(--ink); font-size: 1rem; margin-right: 6px; }
.find-care-inner > strong small { display: block; font-size: .76rem; font-weight: 600; color: var(--ink-3); letter-spacing: .02em; }
.care-chips { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; }
.care-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--ink);
  transition: background .3s, color .3s, border-color .3s, transform .35s var(--ease);
}
.care-chip .ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--red-600); box-shadow: var(--shadow-sm); }
.care-chip .ic svg { width: 16px; height: 16px; }
.care-chip:hover { background: var(--brand-800); color: #fff; border-color: var(--brand-800); transform: translateY(-2px); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 0 24px; transition: box-shadow .4s var(--ease), border-color .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); transition: transform .4s var(--ease), background .3s, color .3s; }
.faq summary .plus svg { width: 16px; height: 16px; }
.faq details[open] .plus { transform: rotate(45deg); background: var(--red-600); color: #fff; }
.faq details p { margin: 0 0 22px; color: var(--ink-3); }
.faq details a { color: var(--red-600); font-weight: 600; }

/* Gallery caption: compact on narrow tiles */
.g-item:not(.wide) figcaption { left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; }
.g-item:not(.wide) figcaption > span:first-child > span { display: none; }
.g-item figcaption strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-item figcaption > span:first-child { min-width: 0; }

/* Page hero decorative heart */
.page-hero::after {
  content: ""; position: absolute; right: max(16px, calc((100vw - var(--container)) / 2)); top: 40px;
  width: 140px; height: 126px; opacity: .08; pointer-events: none;
  background: url("../img/logo.png") center / contain no-repeat;
  animation: floaty 7s ease-in-out infinite;
}

@media (max-width: 1080px) {
  .faq-wrap { grid-template-columns: 1fr; }
  .find-care { margin-top: -30px; }
}
@media (max-width: 720px) {
  .find-care-inner { padding: 18px; gap: 14px; }
  .find-care-inner > strong, .find-care-inner > .btn { flex: 1 1 100%; }
  .care-chips { flex: 1 1 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .care-chip { padding: 8px 10px 8px 8px; font-size: .84rem; gap: 8px; line-height: 1.2; }
  .page-hero::after { display: none; }
}

/* ---------- Service image cards (home) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 22px; color: inherit;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-media { aspect-ratio: 4 / 3; overflow: hidden; margin: 8px 8px 0; border-radius: 16px; background: var(--brand-50); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.svc:hover .svc-media img { transform: scale(1.06); }
.svc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.svc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.svc-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); flex: none; transition: background .3s, color .3s; }
.svc-ic svg { width: 20px; height: 20px; }
.svc:hover .svc-ic { background: var(--red-600); color: #fff; }
.svc-cat { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.svc h3 { font-size: 1.06rem; letter-spacing: -.015em; margin-bottom: 6px; }
.svc p { color: var(--ink-3); font-size: .88rem; line-height: 1.55; margin: 0 0 16px; }
.svc-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .86rem; color: var(--red-600); }
.svc-more svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.svc:hover .svc-more svg { transform: translateX(4px); }

.svc-cta {
  display: flex; flex-direction: column; align-items: flex-start; padding: 26px 22px; border-radius: 22px;
  background: radial-gradient(circle at 100% 0%, rgba(229,50,58,.45), transparent 55%), linear-gradient(150deg, var(--brand-800), var(--brand-900));
  color: #c4dde1;
}
.svc-cta .svc-ic { background: rgba(255,255,255,.1); color: #fff; margin-bottom: 18px; }
.svc-cta h3 { color: #fff; font-size: 1.15rem; margin-bottom: 8px; }
.svc-cta p { font-size: .88rem; color: #a6cbd1; margin: 0 0 18px; }
.svc-cta-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 1.05rem; margin-bottom: 18px; }
.svc-cta-phone svg { width: 18px; height: 18px; color: var(--red-400); }
.svc-cta .btn { margin-top: auto; }

@media (max-width: 1080px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- Doctor profiles (About) ---------- */
.doc-section { background: linear-gradient(180deg, var(--bg) 0%, #fff 30%, #fff 70%, var(--bg) 100%); }
.doc-stack { display: grid; gap: 40px; }
.doc-profile {
  display: grid; grid-template-columns: minmax(280px, .82fr) 1.18fr; gap: clamp(28px, 4vw, 56px); align-items: start;
  padding: clamp(22px, 3vw, 36px); border-radius: 36px; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(8, 52, 63, .35);
}
.doc-profile.rev { grid-template-columns: 1.18fr minmax(280px, .82fr); }
.doc-profile.rev .doc-visual { order: 2; }
.doc-visual { position: sticky; top: 110px; }
.doc-frame {
  position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--brand-100), var(--brand-50));
  box-shadow: var(--shadow);
}
.doc-frame::before {
  content: ""; position: absolute; inset: auto -30% -30% auto; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,32,41,.18), transparent 70%); pointer-events: none;
}
.doc-frame img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 1s var(--ease); }
.doc-profile:hover .doc-frame img { transform: scale(1.04); }
.doc-quick { list-style: none; margin: 16px 0 0; padding: 6px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; border-radius: 22px; background: var(--brand-50); border: 1px solid var(--brand-100); }
.doc-quick li { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 16px; background: #fff; font-size: .84rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.doc-quick svg { width: 18px; height: 18px; color: var(--red-600); }
.doc-quick small { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
.doc-info .role { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red-600); background: var(--red-50); border: 1px solid var(--red-100); padding: 7px 14px; border-radius: 999px; margin-bottom: 14px; }
.doc-info h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); letter-spacing: -.035em; margin-bottom: 14px; }
.doc-quals { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.doc-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 10px; font-size: .82rem; font-weight: 700; color: var(--brand-700); background: var(--brand-50); border: 1px solid var(--brand-100); }
.doc-chip-school { background: #fff; border-style: dashed; }
.doc-chip svg { width: 15px; height: 15px; color: var(--red-600); }
.doc-info p { color: var(--ink-3); font-size: .98rem; }
.doc-info p.doc-lead { color: var(--ink-2); font-size: 1.06rem; }
.doc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 28px; }
.doc-box { padding: 20px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); }
.doc-box h4 { display: flex; align-items: center; gap: 8px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; }
.doc-box h4 svg { width: 16px; height: 16px; color: var(--red-600); }
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.doc-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; font-weight: 500; color: var(--ink-2); line-height: 1.45; }
.doc-list li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; background: var(--red-500); box-shadow: 0 0 0 4px var(--red-100); }
.doc-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 1080px) {
  .doc-profile, .doc-profile.rev { grid-template-columns: 1fr; }
  .doc-profile.rev .doc-visual { order: 0; }
  .doc-visual { position: static; max-width: 440px; }
}
@media (max-width: 720px) {
  .doc-profile { border-radius: 28px; }
  .doc-cols { grid-template-columns: 1fr; }
  .doc-quick { grid-template-columns: 1fr; }
  .doc-quick li { flex-direction: row; align-items: center; }
  .doc-actions .btn { flex: 1 1 100%; }
}

/* ---------- Doctors teaser (Home) ---------- */
.hdoc-section { background: #fff; overflow: hidden; }
.hdoc-section::before {
  content: ""; position: absolute; width: 520px; height: 520px; left: -200px; top: 10%; border-radius: 50%;
  background: radial-gradient(circle, var(--brand-50), transparent 70%); pointer-events: none;
}
.hdoc-grid { display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 24px; align-items: stretch; position: relative; }
.hdoc-intro { display: flex; flex-direction: column; justify-content: center; padding-right: clamp(0px, 2vw, 24px); }
.hdoc-intro h2 { margin-bottom: 16px; }
.hdoc-intro > p { color: var(--ink-3); font-size: 1.02rem; }
.hdoc-points { list-style: none; padding: 0; margin: 10px 0 30px; display: grid; gap: 12px; }
.hdoc-points li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.hdoc-points li > span { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--red-50); color: var(--red-600); flex: none; }
.hdoc-points svg { width: 18px; height: 18px; }
.hdoc-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.hdoc-phone { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.hdoc-phone > svg { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); }
.hdoc-phone small { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

.hdoc {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 24px 48px -34px rgba(8, 52, 63, .35);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.hdoc:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.hdoc-photo { position: relative; aspect-ratio: 1 / 1; margin: 10px 10px 0; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, var(--brand-100), var(--brand-50)); }
.hdoc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; transition: transform 1s var(--ease); }
.hdoc:hover .hdoc-photo img { transform: scale(1.05); }
.hdoc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.hdoc-dept { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red-600); margin-bottom: 6px; }
.hdoc h3 { font-size: 1.4rem; letter-spacing: -.03em; margin-bottom: 12px; }
.hdoc .doc-quals { margin-bottom: 14px; gap: 6px; }
.hdoc .doc-chip { font-size: .74rem; padding: 5px 10px; border-radius: 8px; }
.hdoc p { color: var(--ink-3); font-size: .9rem; line-height: 1.55; margin: 0 0 14px; }
.hdoc .tags { margin: 0 0 20px; gap: 6px; }
.hdoc .tag { font-size: .74rem; padding: 5px 10px; }
.hdoc-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--line); }
.hdoc-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--brand-700); }
.hdoc-link svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.hdoc-link:hover svg { transform: translateX(4px); }

@media (max-width: 1080px) {
  .hdoc-grid { grid-template-columns: 1fr 1fr; }
  .hdoc-intro { grid-column: 1 / -1; padding-right: 0; margin-bottom: 8px; }
}
@media (max-width: 640px) {
  .hdoc-grid { grid-template-columns: 1fr; }
}

/* ---------- Specialty cards (About, dark section) ---------- */
.spec-card { display: flex; flex-direction: column; }
.spec-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.dark-section .spec-card p { font-size: .93rem; line-height: 1.6; margin-bottom: 18px; }
.spec-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; }
.spec-list li { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 500; color: #dcedf0; }
.spec-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red-400); box-shadow: 0 0 0 4px rgba(242, 90, 96, .18); flex: none; }
.spec-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.spec-doc { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 600; color: #fff; }
.spec-doc svg { width: 16px; height: 16px; color: var(--red-400); }
.spec-link { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 700; color: #ff8a8f; }
.spec-link svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.spec-link:hover svg { transform: translateX(4px); }
.dark-section .spec-cta { background: linear-gradient(140deg, #d42029, #a3121a); border: 0; }
.dark-section .spec-cta .ic { background: rgba(255,255,255,.15); }
.dark-section .spec-cta p { color: #ffd9db; }
.spec-phone { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.1); color: #fff; font-weight: 700; margin-bottom: 10px; transition: background .3s; }
.spec-phone:hover { background: rgba(255,255,255,.18); }
.spec-phone svg { width: 18px; height: 18px; flex: none; }
.spec-phone small { display: block; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: #ffd9db; font-weight: 600; }
.spec-cta .btn { margin-top: auto; align-self: flex-start; }
.spec-cta .btn-light { --fg: #a3121a; }

/* ---------- Premium page header (inner pages) ---------- */
.phero { padding: 28px 0 clamp(48px, 6vw, 72px); }
.phero-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: 40px;
  background: linear-gradient(135deg, var(--brand-800) 0%, var(--brand-900) 60%, #021a20 100%);
  color: #b5d5da; box-shadow: 0 40px 80px -40px rgba(4, 35, 43, .7);
}
.phero-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 20% 40%, #000, transparent 70%);
}
.phero-glow { position: absolute; z-index: -1; width: 520px; height: 520px; right: -120px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(229, 50, 58, .45), transparent 65%); pointer-events: none; }
.phero-ring { position: absolute; z-index: -1; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; pointer-events: none; }
.phero-ring.r1 { width: 640px; height: 640px; left: -260px; bottom: -380px; }
.phero-ring.r2 { width: 420px; height: 420px; left: -150px; bottom: -270px; }
.phero-crumbs { display: flex; width: max-content; max-width: 100%; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; margin-bottom: 26px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); font-size: .82rem; font-weight: 600; color: #a6cbd1; }
.phero-crumbs a { display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.phero-crumbs a:hover { color: #ff8a8f; }
.phero-crumbs svg { width: 14px; height: 14px; }
.phero .eyebrow { color: #ff8a8f; }
.phero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 18px; }
.phero h1 .serif { color: #ff8a8f; }
.phero-lead { font-size: 1.1rem; color: #b5d5da; max-width: 560px; margin-bottom: 30px; }
.phero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.phero-actions .btn svg { width: 17px; height: 17px; }
.phero-facts { list-style: none; padding: 26px 0 0; margin: 34px 0 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 14px 40px; }
.phero-facts strong { display: block; font-size: 1.7rem; font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1.1; }
.phero-facts span { font-size: .82rem; color: #95b9bf; }

/* image collage */
.phero-media { display: grid; gap: 14px; height: 420px; }
.phero-media figure { margin: 0; border-radius: 26px; overflow: hidden; background: rgba(255,255,255,.06); border: 6px solid rgba(255,255,255,.06); }
.phero-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.phero-media figure:hover img { transform: scale(1.05); }
.phero-media.m2 { grid-template-columns: 1fr 1fr; }
.phero-media.m2 figure:nth-child(1) { margin-bottom: 40px; }
.phero-media.m2 figure:nth-child(2) { margin-top: 40px; }
.phero-media.m2 img { object-position: center 15%; }
.phero-media.m3 { grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; }
.phero-media.m3 figure:first-child { grid-row: span 2; }

/* contact card */
.phero-contact { display: grid; gap: 10px; padding: 14px; border-radius: 28px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(10px); }
.pc-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.05); color: #fff; font-weight: 700; font-size: 1.05rem; line-height: 1.35; transition: background .3s, transform .35s var(--ease); }
a.pc-row:hover { background: rgba(255,255,255,.12); transform: translateX(4px); }
.pc-row small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #95b9bf; margin-bottom: 2px; }
.pc-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #ff8a8f; flex: none; }
.pc-ic svg { width: 20px; height: 20px; }
.pc-main { background: var(--red-600); }
.pc-main .pc-ic { background: rgba(255,255,255,.18); color: #fff; }
.pc-main small { color: #ffd9db; }
a.pc-main:hover { background: var(--red-500); }
.pc-addr { font-size: .92rem; font-weight: 600; }

@media (max-width: 1080px) {
  .phero-card { grid-template-columns: 1fr; }
  .phero-media { height: 340px; }
}
@media (max-width: 720px) {
  .phero { padding-top: 16px; }
  .phero-card { border-radius: 28px; padding: 28px 20px; }
  .phero-actions .btn { flex: 1 1 100%; }
  .phero-facts { gap: 14px 28px; }
  .phero-facts strong { font-size: 1.35rem; }
  .phero-media { height: 260px; gap: 10px; }
  .phero-media figure { border-width: 4px; border-radius: 20px; }
  .pc-row { font-size: .98rem; }
}

/* Page header: text-only layout + decorative emblem */
.phero-card { grid-template-columns: 1fr; min-height: clamp(300px, 34vw, 380px); align-content: center; }
.phero-text { position: relative; z-index: 1; max-width: 760px; }
.phero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); letter-spacing: -.045em; }
.phero-lead { font-size: 1.15rem; max-width: 620px; margin-bottom: 0; }
.phero-crumbs .sep, .phero-crumbs > span { color: #a6cbd1; }
.phero-card::after {
  content: ""; position: absolute; z-index: -1; right: clamp(-40px, 2vw, 60px); top: 50%;
  width: clamp(220px, 28vw, 360px); aspect-ratio: 1323 / 1189; transform: translateY(-50%) rotate(-8deg);
  background: url("../img/logo.png") center / contain no-repeat;
  filter: brightness(0) invert(1); opacity: .06; pointer-events: none;
  animation: emblem 9s ease-in-out infinite;
}
@keyframes emblem { 0%, 100% { transform: translateY(-50%) rotate(-8deg); } 50% { transform: translateY(-54%) rotate(-4deg); } }
.phero-text::after {
  content: ""; display: block; width: 72px; height: 3px; margin-top: 30px; border-radius: 3px;
  background: linear-gradient(90deg, var(--red-500), transparent);
}
@media (max-width: 720px) {
  .phero-card { min-height: 0; }
  .phero-card::after { width: 180px; right: -50px; top: auto; bottom: -40px; transform: rotate(-8deg); animation: none; }
  .phero-lead { font-size: 1.02rem; }
}

/* Page header: slightly shorter */
.phero { padding: 20px 0 clamp(36px, 5vw, 56px); }
.phero-card { min-height: clamp(240px, 26vw, 300px); padding: clamp(28px, 4vw, 48px) clamp(28px, 5vw, 64px); }
.phero-crumbs { margin-bottom: 18px; }
.phero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 14px; }
.phero-text::after { margin-top: 22px; }
.phero-card::after { width: clamp(200px, 24vw, 300px); }
@media (max-width: 720px) {
  .phero { padding: 14px 0 32px; }
  .phero-card { min-height: 0; padding: 24px 20px; }
}

/* Page header: more compact */
.phero { padding: 16px 0 clamp(28px, 4vw, 44px); }
.phero-card { min-height: 0; padding: clamp(24px, 3vw, 36px) clamp(28px, 5vw, 60px); }
.phero-crumbs { margin-bottom: 14px; }
.phero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: 10px; }
.phero-lead { font-size: 1.05rem; }
.phero-text::after { margin-top: 18px; }
.phero-card::after { width: clamp(170px, 20vw, 240px); }
@media (max-width: 720px) {
  .phero { padding: 12px 0 28px; }
  .phero-card { padding: 22px 20px; }
  .phero-lead { font-size: .98rem; }
}
.phero-lead { max-width: 720px; }

/* ---------- Gallery (premium grid + viewer) ---------- */
.gal-toolbar {
  position: sticky; top: 84px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-bottom: 32px; padding: 10px 10px 10px 10px; border-radius: 22px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.gal-toolbar .filters { margin: 0; gap: 6px; }
.gal-toolbar .filter { border: 0; background: transparent; padding: 10px 16px; display: inline-flex; align-items: center; gap: 8px; }
.gal-toolbar .filter:hover { background: var(--brand-50); }
.gal-toolbar .filter.active { background: var(--brand-800); color: #fff; }
.filter .count { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; display: inline-grid; place-items: center; font-size: .72rem; background: var(--brand-50); color: var(--brand-700); }
.filter.active .count { background: rgba(255,255,255,.18); color: #fff; }
.gal-count { margin: 0 10px 0 auto; font-size: .88rem; color: var(--ink-3); white-space: nowrap; }
.gal-count strong { color: var(--ink); }

.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 22px; }
.g-card { margin: 0; display: flex; flex-direction: column; }
.g-card.hide { display: none; }
.g-media {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: var(--brand-50);
  box-shadow: 0 18px 40px -28px rgba(8, 52, 63, .45);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.g-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; }
.g-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(4,35,43,.35)); opacity: 0; transition: opacity .4s; }
.g-expand {
  position: absolute; right: 14px; bottom: 14px; z-index: 1; width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--brand-800);
  opacity: 0; transform: translateY(8px) scale(.9); transition: opacity .35s, transform .45s var(--ease);
}
.g-expand svg { width: 18px; height: 18px; }
.g-card:hover .g-media, .g-media:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.g-card:hover .g-media img { transform: scale(1.05); }
.g-card:hover .g-media::after, .g-media:focus-visible::after { opacity: 1; }
.g-card:hover .g-expand, .g-media:focus-visible .g-expand { opacity: 1; transform: none; }
.g-media:focus-visible { outline: 3px solid var(--red-500); outline-offset: 4px; }
.g-card figcaption { padding: 16px 6px 0; display: grid; gap: 3px; }
.g-cat { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red-600); }
.g-card figcaption strong { font-size: 1.08rem; color: var(--ink); letter-spacing: -.015em; }
.g-sub { font-size: .86rem; color: var(--ink-3); }

/* Viewer */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: 80px 1fr 80px; align-items: center;
  padding: 72px 16px 24px; background: rgba(2, 18, 22, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-top { position: absolute; top: 16px; left: 24px; right: 16px; display: flex; align-items: center; justify-content: space-between; }
.lb-counter { color: #a6cbd1; font-weight: 700; font-size: .9rem; letter-spacing: .06em; }
.lightbox button { position: static; border: 0; cursor: pointer; display: grid; place-items: center; border-radius: 50%; transition: background .25s, transform .3s var(--ease); }
.lb-close { width: 48px; height: 48px; background: rgba(255,255,255,.1); color: #fff; }
.lb-close:hover { background: var(--red-600); }
.lb-nav { width: 56px; height: 56px; justify-self: center; background: rgba(255,255,255,.1); color: #fff; }
.lb-nav:hover { background: #fff; color: var(--brand-800); transform: scale(1.06); }
.lightbox svg { width: 22px; height: 22px; }
.lb-stage { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; min-width: 0; }
.lb-stage img {
  width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 190px); object-fit: contain;
  border-radius: 18px; background: transparent; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
  animation: lbIn .45s var(--ease);
}
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.lb-stage figcaption { text-align: center; display: grid; gap: 4px; margin: 0; }
.lb-cat { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ff8a8f; }
.lb-title { color: #fff; font-size: 1.15rem; }

@media (max-width: 1080px) {
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-toolbar { top: 76px; }
}
@media (max-width: 720px) {
  .gal-toolbar { position: static; padding: 8px; }
  .gal-toolbar .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; }
  .gal-toolbar .filters::-webkit-scrollbar { display: none; }
  .gal-toolbar .filter { white-space: nowrap; flex: none; }
  .gal-count { margin: 0 auto 4px; }
  .lightbox { grid-template-columns: 1fr; padding: 70px 12px 96px; }
  .lb-nav { position: absolute !important; bottom: 24px; }
  .lb-prev { left: calc(50% - 72px); }
  .lb-next { right: calc(50% - 72px); }
  .lb-stage img { max-height: calc(100vh - 260px); }
}
@media (max-width: 560px) {
  .gal-grid { grid-template-columns: 1fr; }
}
.gal-toolbar { flex-wrap: nowrap; }
.gal-toolbar .filters { flex: 1; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.gal-toolbar .filters::-webkit-scrollbar { display: none; }
.gal-toolbar .filter { flex: none; white-space: nowrap; padding: 10px 14px; font-size: .88rem; }
@media (max-width: 720px) { .gal-toolbar { flex-wrap: wrap; } }
.lightbox .lb-close { background: rgba(255,255,255,.1); color: #fff; }
.lightbox .lb-close:hover { background: var(--red-600); }
.lightbox .lb-nav { background: rgba(255,255,255,.1); color: #fff; }
.lightbox .lb-nav:hover { background: #fff; color: var(--brand-800); }
.lightbox .lb-nav, .lightbox .lb-close { top: auto; right: auto; }
@media (max-width: 720px) {
  .gal-toolbar .filters { flex: 1 1 100%; }
  .gal-count { margin: 2px 8px 2px; }
  .lightbox .lb-nav { position: absolute; top: auto; bottom: 28px; }
  .lightbox .lb-prev { left: calc(50% - 68px); right: auto; }
  .lightbox .lb-next { right: calc(50% - 68px); left: auto; }
}

/* =========================================================
   Home hero — premium animated
   ========================================================= */
.hero-x { padding: clamp(36px, 5vw, 64px) 0 clamp(80px, 9vw, 120px); isolation: isolate; }
.hero-x .hero-grid { grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 4vw, 64px); }

/* background */
.hero-x .hero-bg .blob { animation: drift 18s ease-in-out infinite alternate; }
.hero-x .hero-bg .b1 { background: #bfe3e8; opacity: .7; }
.hero-x .hero-bg .b2 { background: #ffd3d5; animation-duration: 22s; }
.hero-x .hero-bg .b3 { width: 360px; height: 360px; background: #d6eef1; left: 38%; top: 30%; opacity: .5; animation-duration: 26s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, -30px) scale(1.08); } 100% { transform: translate(-30px, 20px) scale(.96); } }
.hero-x .plus { position: absolute; width: 18px; height: 18px; opacity: .35; animation: plusFloat 9s ease-in-out infinite; }
.hero-x .plus::before, .hero-x .plus::after { content: ""; position: absolute; inset: 7px 0; border-radius: 2px; background: var(--red-500); }
.hero-x .plus::after { inset: 0 7px; }
.hero-x .p1 { left: 6%; top: 18%; }
.hero-x .p2 { left: 46%; top: 12%; animation-delay: -3s; transform: scale(.7); }
.hero-x .p3 { left: 40%; bottom: 14%; animation-delay: -5s; }
.hero-x .p4 { right: 4%; top: 8%; animation-delay: -7s; opacity: .25; }
.hero-x .p2::before, .hero-x .p2::after, .hero-x .p4::before, .hero-x .p4::after { background: var(--brand-600); }
@keyframes plusFloat { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-18px) rotate(45deg); } }

/* entrance animations */
.h-in { opacity: 0; animation: hIn .9s var(--ease) var(--d, 0s) forwards; }
@keyframes hIn { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.h-pop { opacity: 0; animation: hPop 1.1s var(--ease) var(--d, 0s) forwards; }
@keyframes hPop { from { opacity: 0; transform: translateY(40px) scale(.94); } to { opacity: 1; transform: none; } }

/* headline: line-by-line rise */
.hero-title { margin: 0; }
.hero-title .ln { display: block; position: relative; overflow: hidden; padding: 0 .12em .1em 0; margin-bottom: -.1em; }
.hero-title .ln > span, .hero-title .ln > em > span { display: inline-block; transform: translateY(110%); animation: lineUp 1s var(--ease) var(--d, 0s) forwards; }
@keyframes lineUp { to { transform: none; } }
.hero h1.hero-title .serif { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: inherit; animation: none; padding: 0; }
.hero-title em > span {
  background: linear-gradient(90deg, var(--red-600), #ff6b71 50%, var(--red-600)); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: lineUp 1s var(--ease) var(--d, 0s) forwards, sheen 6s ease-in-out 1.4s infinite;
  padding-right: .06em;
}
.hero-title .swash { position: absolute; left: 0; bottom: .02em; width: min(100%, 8.6em); height: .32em; overflow: visible; pointer-events: none; }
.hero-title .swash path { fill: none; stroke: var(--red-500); stroke-width: 4; stroke-linecap: round; opacity: .55; stroke-dasharray: 460; stroke-dashoffset: 460; animation: draw 1.4s var(--ease) 1.1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* primary button glow ring */
.btn-glow { overflow: visible; }
.btn-glow::before { content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid var(--red-500); opacity: 0; animation: ringPulse 2.6s ease-out 2s infinite; pointer-events: none; }
@keyframes ringPulse { 0% { opacity: .6; transform: scale(1); } 100% { opacity: 0; transform: scale(1.18, 1.45); } }

/* visual composition */
.hv { --px: 0; --py: 0; position: relative; width: 100%; max-width: 580px; height: clamp(480px, 46vw, 600px); margin-left: auto; }
.hv-orb { position: absolute; z-index: -1; width: 80%; aspect-ratio: 1; right: 4%; top: 6%; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(212,32,41,.22), transparent 55%), radial-gradient(circle at 70% 70%, rgba(19,96,112,.28), transparent 60%);
  filter: blur(20px); translate: calc(var(--px) * -18px) calc(var(--py) * -18px); transition: translate .6s var(--ease); }
.hv-ring { position: absolute; z-index: -1; width: 92%; aspect-ratio: 1; right: -2%; top: 2%; border-radius: 50%;
  border: 2px dashed rgba(19, 96, 112, .22); animation: spin 60s linear infinite; }
.hv-ring::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--red-500); top: 12%; left: 12%; box-shadow: 0 0 0 6px rgba(229,50,58,.15); }
@keyframes spin { to { transform: rotate(360deg); } }
.hv-main { position: absolute; right: 0; top: 0; width: 76%; height: 90%; border-radius: 300px 300px 36px 36px; overflow: hidden;
  border: 8px solid #fff; box-shadow: 0 50px 100px -40px rgba(4,35,43,.55); background: var(--brand-50);
  translate: calc(var(--px) * 10px) calc(var(--py) * 10px); transition: translate .6s var(--ease); }
.hv-main img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.12) translateY(2%); } to { transform: scale(1); } }
.hv-sub { position: absolute; left: 0; bottom: 2%; width: 42%; aspect-ratio: 4 / 3.1; border-radius: 26px; overflow: hidden;
  border: 6px solid #fff; box-shadow: var(--shadow-lg); background: var(--brand-50);
  translate: calc(var(--px) * 26px) calc(var(--py) * 26px); transition: translate .6s var(--ease); }
.hv-sub img { width: 100%; height: 100%; object-fit: cover; }
.hv-pulse { position: absolute; left: 4%; top: 40%; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 18px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow);
  translate: calc(var(--px) * 34px) calc(var(--py) * 34px); transition: translate .6s var(--ease); }
.hv-heart { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--red-600); color: #fff; animation: beat 1.4s ease-in-out infinite; }
.hv-heart svg { width: 20px; height: 20px; fill: currentColor; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.14); } 30% { transform: scale(.96); } 45% { transform: scale(1.08); } }
.hv-ecg { width: 96px; height: 32px; }
.hv-ecg path { fill: none; stroke: var(--red-500); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 160; stroke-dashoffset: 160; animation: ecg 2.4s linear infinite; }
@keyframes ecg { 0% { stroke-dashoffset: 160; } 60% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -160; } }

.hv .float-chip { z-index: 2; translate: calc(var(--px) * 40px) calc(var(--py) * 40px); transition: translate .6s var(--ease); }
.hv .chip-1 { top: 7%; left: 2%; right: auto; bottom: auto; }
.hv .chip-2 { top: 52%; right: -4%; left: auto; bottom: auto; }
.hv .chip-3 { bottom: -2%; right: 8%; left: auto; top: auto; }
.h-chip { opacity: 0; animation: chipIn .8s var(--ease) var(--d, 0s) forwards, floaty 6s ease-in-out calc(var(--d, 0s) + .8s) infinite; }
@keyframes chipIn { from { opacity: 0; transform: translateY(20px) scale(.9); } to { opacity: 1; transform: none; } }

@media (max-width: 1080px) {
  .hero-x .hero-grid { grid-template-columns: 1fr; }
  .hv { margin: 24px auto 0; height: 520px; }
}
@media (max-width: 720px) {
  .hero-x { padding-top: 24px; }
  .hv { height: 430px; margin-top: 16px; }
  .hv-main { width: 82%; height: 88%; border-width: 6px; border-radius: 200px 200px 28px 28px; }
  .hv-sub { width: 44%; border-width: 4px; border-radius: 18px; }
  .hv-pulse { display: none; }
  .hv .chip-1 { top: 4%; left: 0; }
  .hv .chip-2 { top: 50%; right: -2%; }
  .hv .chip-3 { display: none; }
  .hero-x .plus { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .h-in, .h-pop, .h-chip, .hero-title .ln > span, .hero-title em > span { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero-title .swash path { stroke-dashoffset: 0; }
}
.hero-title .swash { width: 7.3em; }

/* Home hero visual — clean professional composition */
.hv { height: clamp(500px, 44vw, 580px); }
.hv-main { right: 0; top: 0; width: 82%; height: 92%; border: 0; border-radius: 32px; box-shadow: 0 40px 80px -36px rgba(4, 35, 43, .5); }
.hv-main::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); pointer-events: none; }
.hv-main img { animation-duration: 28s; }
.hv-accent { position: absolute; z-index: -1; left: 4%; bottom: 0; width: 58%; height: 56%; border-radius: 32px;
  background: linear-gradient(150deg, var(--brand-700), var(--brand-900));
  translate: calc(var(--px) * -10px) calc(var(--py) * -10px); transition: translate .6s var(--ease); }
.hv-accent::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: .35;
  background-image: radial-gradient(rgba(255,255,255,.35) 1px, transparent 1.5px); background-size: 16px 16px; }
.hv-dots { position: absolute; z-index: -1; right: -18px; top: -18px; width: 132px; height: 132px; opacity: .55;
  background-image: radial-gradient(var(--red-400) 1.6px, transparent 2px); background-size: 16px 16px; }

.hv-appt, .hv-docs {
  position: absolute; z-index: 2; background: #fff; border: 1px solid rgba(8, 52, 63, .06);
  box-shadow: 0 24px 50px -24px rgba(4, 35, 43, .4);
  translate: calc(var(--px) * 22px) calc(var(--py) * 22px); transition: translate .6s var(--ease), box-shadow .3s;
}
.hv-appt { left: 0; top: 10%; display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; border-radius: 20px; color: var(--ink); }
.hv-appt:hover { box-shadow: 0 30px 60px -24px rgba(212, 32, 41, .45); }
.hv-appt-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--red-600); color: #fff; flex: none; }
.hv-appt-ic svg { width: 22px; height: 22px; }
.hv-appt small, .hv-doc small { display: block; font-size: .72rem; font-weight: 600; color: var(--ink-3); }
.hv-appt small { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 2px; }
.hv-appt strong { font-size: 1.06rem; letter-spacing: .01em; }
.hv-docs { left: 0; bottom: 9%; width: min(290px, 62%); padding: 8px; border-radius: 22px; }
.hv-doc { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; }
.hv-doc + .hv-doc { border-top: 1px dashed var(--line); border-radius: 0 0 16px 16px; }
.hv-doc strong { display: block; font-size: .95rem; color: var(--ink); line-height: 1.25; }
.hv-doc-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.hv-doc-ic svg { width: 20px; height: 20px; }
.hv-doc-ic.red { background: var(--red-50); color: var(--red-600); }
.hv-doc-ic.teal { background: var(--brand-50); color: var(--brand-700); }
.hv .h-chip { animation: chipIn .8s var(--ease) var(--d, 0s) forwards, softFloat 8s ease-in-out calc(var(--d, 0s) + .8s) infinite; }
@keyframes softFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

@media (max-width: 1080px) { .hv { height: 540px; } }
@media (max-width: 720px) {
  .hv { height: 440px; }
  .hv-main { width: 86%; height: 90%; border-radius: 26px; }
  .hv-accent { width: 64%; height: 50%; border-radius: 26px; }
  .hv-dots { display: none; }
  .hv-appt { top: 6%; padding: 10px 14px 10px 10px; gap: 10px; border-radius: 16px; }
  .hv-appt-ic { width: 38px; height: 38px; border-radius: 12px; }
  .hv-appt strong { font-size: .95rem; }
  .hv-docs { width: 236px; bottom: 4%; padding: 6px; border-radius: 18px; }
  .hv-doc { padding: 8px 10px; gap: 10px; }
  .hv-doc-ic { width: 34px; height: 34px; }
  .hv-doc strong { font-size: .86rem; }
}

/* =========================================================
   Responsive polish (tablet + mobile)
   ========================================================= */
a[href^="tel:"] strong, p a[href^="tel:"], .footer a[href^="tel:"], .hero-meta a[href^="tel:"], .phone-card strong, .spec-phone, .hdoc-phone, .svc-cta-phone, .gal-count { white-space: nowrap; }
.contact-grid > *, .split > *, .service-block > *, .hdoc-grid > *, .faq-wrap > *, .doc-profile > * { min-width: 0; }

@media (max-width: 1080px) {
  .section { padding: clamp(56px, 8vw, 96px) 0; }
  .split-head { margin-bottom: 36px; }
  .cta-band { gap: 28px; }
  .doc-visual { margin-inline: auto; }
  .footer-grid { gap: 32px; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .section { padding: 56px 0; }
  .section-sm { padding: 40px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head p { font-size: 1rem; }
  h2 { font-size: clamp(1.75rem, 7.4vw, 2.2rem); }
  .btn { padding: 13px 22px; font-size: .94rem; }

  /* hero + home */
  .hero-x { padding-bottom: 64px; }
  .hero-lead { font-size: 1.02rem; margin: 18px 0 26px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-meta { margin-top: 30px; padding-top: 22px; }
  .find-care { padding-bottom: 40px !important; }
  .svc-media { aspect-ratio: 16 / 10; }
  .svc-body { padding: 16px 18px 18px; }
  .hdoc-photo { aspect-ratio: 4 / 3.4; }
  .faq summary { font-size: .98rem; padding: 18px 0; }
  .faq details { padding: 0 18px; border-radius: 18px; }

  /* cards & lists */
  .card { padding: 22px; border-radius: 24px; }
  .card .ic { width: 50px; height: 50px; margin-bottom: 18px; }
  .card .num { top: 22px; right: 22px; }
  .bento { gap: 14px; }
  .treatment { grid-template-columns: 44px 1fr; gap: 14px; padding: 18px; border-radius: 20px; }
  .treatment .ic { width: 44px; height: 44px; border-radius: 14px; }
  .treatment .ic svg { width: 22px; height: 22px; }
  .treatment:hover { transform: none; }
  .cond-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cond { padding: 12px 12px; font-size: .86rem; gap: 10px; border-radius: 14px; line-height: 1.3; }
  #ivf .bento { grid-template-columns: 1fr 1fr; }
  #ivf .bento > .card { grid-column: auto !important; padding: 18px; }
  #ivf .bento > .card .num { display: none; }
  #ivf .bento > .card .ic { width: 42px; height: 42px; margin-bottom: 14px; }
  #ivf .bento > .card h3 { font-size: .95rem !important; margin: 0; }
  .media-frame { border-radius: 28px; }
  .spec-card h3 { font-size: 1.12rem; }

  /* doctors (about) */
  .doc-frame { aspect-ratio: 1 / 1; }
  .doc-info h3 { font-size: 1.8rem; }

  /* CTA band */
  .cta-band { padding: 30px 20px; border-radius: 28px; }
  .cta-band p { font-size: .98rem; }
  .phone-card { padding: 14px 16px; gap: 12px; border-radius: 16px; }
  .phone-card .ic { width: 40px; height: 40px; border-radius: 12px; }
  .phone-card strong { font-size: 1.08rem; }

  /* contact */
  .info-card { padding: 18px; gap: 14px; border-radius: 20px; }
  .info-card .ic { width: 44px; height: 44px; }
  .info-card strong { font-size: 1.02rem; }
  .info-card.primary strong { font-size: 1.2rem; }
  .form-card { padding: 24px 18px; border-radius: 24px; }
  .form-actions .btn { flex: 1 1 100%; }
  .map-wrap { height: 300px; border-radius: 24px; }

  /* gallery guide */
  .guide { padding: 18px; }

  /* footer */
  .footer { padding-top: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 36px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer ul { gap: 10px; font-size: .92rem; }
  .footer-bottom { flex-direction: column; gap: 6px; padding-bottom: 88px; }

  /* floating buttons */
  .fab a { width: 50px; height: 50px; border-radius: 16px; }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 28px); }
  .hv .chip-2 { display: none; }
  .nav { gap: 12px; }
  .brand-text strong { font-size: 1.08rem; }
}

@media (max-width: 340px) { .cond-grid, #ivf .bento { grid-template-columns: 1fr; } }

/* Tablet fixes: top bar + find-care */
.topbar a { white-space: nowrap; }
@media (max-width: 1080px) {
  .find-care-inner { padding: 20px; gap: 14px; }
  .find-care-inner > strong { flex: 1 1 100%; }
  .care-chips { flex: 1 1 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .care-chip { justify-content: flex-start; }
}
@media (max-width: 900px) {
  .topbar .tb-left .hide-sm { display: none; }
  .care-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .find-care-inner > .btn { flex: 1 1 100%; }
}

/* Hero visual: doctors card sits below the photo (no overlay) */
.hv { height: auto; display: flex; flex-direction: column; gap: 18px; }
.hv-main { position: relative; right: auto; top: auto; width: 100%; height: auto; aspect-ratio: 5 / 4.3; }
.hv-accent { top: 16%; bottom: auto; left: -18px; width: 52%; height: 56%; }
.hv-docs { position: relative; left: auto; bottom: auto; width: 100%; display: grid; grid-template-columns: 1fr 1fr; padding: 8px; translate: none; }
.hv .hv-docs.h-chip { animation: chipIn .8s var(--ease) var(--d, 0s) forwards; }
.hv-doc + .hv-doc { border-top: 0; border-left: 1px dashed var(--line); border-radius: 0 16px 16px 0; }
@media (max-width: 1080px) { .hv { height: auto; } }
@media (max-width: 720px) {
  .hv { height: auto; gap: 14px; }
  .hv-main { width: 100%; height: auto; aspect-ratio: 5 / 4.4; }
  .hv-accent { left: -10px; width: 56%; }
  .hv-docs { width: 100%; padding: 6px; }
}
@media (max-width: 440px) {
  .hv-docs { grid-template-columns: 1fr; }
  .hv-doc + .hv-doc { border-left: 0; border-top: 1px dashed var(--line); border-radius: 0 0 16px 16px; }
}

/* =========================================================
   Splash screen
   ========================================================= */
.splash {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 42%, rgba(229, 50, 58, .28), transparent 42%),
              radial-gradient(circle at 15% 90%, rgba(19, 96, 112, .55), transparent 45%),
              linear-gradient(160deg, var(--brand-800), var(--brand-900) 55%, #021a20);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s cubic-bezier(.77, 0, .18, 1), visibility 0s 1s;
  animation: splashFailsafe 0s 6s forwards;
}
.splash::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(circle at 50% 45%, #000, transparent 65%);
}
.splash.hide { clip-path: inset(0 0 100% 0); visibility: hidden; }
.splash.hide .splash-inner { opacity: 0; transform: translateY(-30px) scale(.97); }
.no-splash .splash { display: none; }
.is-loading body { overflow: hidden; }
@keyframes splashFailsafe { to { visibility: hidden; pointer-events: none; } }

.splash-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px; transition: opacity .6s, transform .8s var(--ease); }
.splash-logo { position: relative; width: 132px; height: 132px; display: grid; place-items: center; margin-bottom: 28px; }
.splash-disc {
  position: relative; z-index: 1; width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; box-shadow: 0 0 0 10px rgba(255,255,255,.06), 0 30px 60px -20px rgba(0,0,0,.6);
  opacity: 0; transform: scale(.4) rotate(-20deg); animation: discIn 1s cubic-bezier(.2, 1.4, .3, 1) .15s forwards;
}
.splash-disc img { width: 84px; height: auto; animation: logoBeat 1.6s ease-in-out 1.1s infinite; }
@keyframes discIn { to { opacity: 1; transform: none; } }
@keyframes logoBeat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.1); } 28% { transform: scale(.97); } 42% { transform: scale(1.06); } }
.splash-ripple { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 138, 143, .55); opacity: 0; animation: ripple 2.4s ease-out 1s infinite; }
.splash-ripple.r2 { animation-delay: 1.8s; }
.splash-ripple.r3 { animation-delay: 2.6s; }
@keyframes ripple { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(2.4); } }

.splash-name { display: flex; overflow: hidden; padding: .05em .02em .12em; font-size: clamp(2.3rem, 7vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; color: #fff; line-height: 1.05; }
.sl { display: inline-block; transform: translateY(110%); opacity: 0; animation: letterUp .8s var(--ease) calc(.55s + var(--i) * .05s) forwards; }
@keyframes letterUp { to { transform: none; opacity: 1; } }
.splash-sub { margin-top: 6px; font-size: .8rem; font-weight: 700; letter-spacing: .45em; text-transform: uppercase; color: #ff8a8f; padding-left: .45em; opacity: 0; animation: fadeUp .8s var(--ease) 1.25s forwards; }
.splash-tag { margin: 22px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 3vw, 1.3rem); color: #b5d5da; opacity: 0; animation: fadeUp .9s var(--ease) 1.5s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.splash-bar { width: 160px; height: 3px; margin-top: 30px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; opacity: 0; animation: fadeUp .6s ease 1.3s forwards; }
.splash-bar span { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--red-500), #ff8a8f); transform-origin: left; transform: scaleX(0); animation: barFill 1.1s cubic-bezier(.65, 0, .35, 1) 1.3s forwards; }
@keyframes barFill { to { transform: scaleX(1); } }

/* hold hero entrance animations until the splash lifts */
.is-loading .h-in, .is-loading .h-pop, .is-loading .h-chip, .is-loading .hero-title .ln > span,
.is-loading .hero-title em > span, .is-loading .hero-title .swash path { animation-play-state: paused; }

/* footer credit */
.footer-bottom .credit { color: #95b9bf; }
.footer-bottom .credit strong { color: #fff; font-weight: 700; }

@media (max-width: 720px) {
  .splash-logo, .splash-disc { width: 112px; height: 112px; }
  .splash-disc img { width: 72px; }
  .splash-sub { letter-spacing: .35em; }
}
@media (prefers-reduced-motion: reduce) {
  .splash-disc, .sl, .splash-sub, .splash-tag, .splash-bar { opacity: 1 !important; transform: none !important; }
  .splash-bar span { transform: none !important; }
  .splash-ripple { display: none; }
}

/* ---------- Appointment form states ---------- */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { display: none; padding: 16px 18px; border-radius: 16px; background: var(--red-50); border: 1px solid var(--red-100); color: var(--red-600); font-weight: 600; margin-top: 18px; }
.form-error.show { display: block; }
.btn.is-busy { opacity: .7; pointer-events: none; }
