/* ==========================================================================
   sexologistnearme.in — main stylesheet
   Visual direction: modern, digital-first telehealth clinic.
   Palette: white / cool grey surfaces, midnight indigo, violet-blue accent,
   lavender tint, aqua highlight. Sans-serif only (Plus Jakarta Sans + Inter).
   Mobile-first. No external dependencies except Google Fonts.
   ========================================================================== */

:root {
  /* Core palette */
  --midnight: #0e1130;        /* darkest surface (footer, hero base) */
  --indigo-900: #1b1f4b;      /* primary brand colour */
  --indigo-800: #252a63;
  --indigo-700: #323889;
  --violet: #5b5bf7;          /* accent / CTA — 4.9:1 with white text */
  --violet-600: #4a48e8;      /* CTA hover */
  --violet-700: #3d3bd1;      /* accent text on light, links */
  --violet-soft: #6d5dfc;
  --violet-300: #a5a8ff;      /* accent text on dark */
  --lavender: #ecebff;
  --lavender-200: #dcdaff;
  --aqua: #22c3d6;
  --aqua-300: #7ee3f0;
  --aqua-100: #e3f8fb;

  --white: #ffffff;
  --surface: #f5f7fb;
  --surface-2: #eef1f8;
  --ink: #14173a;
  --ink-soft: #505877;        /* 6.9:1 on white, 6.5:1 on --surface */
  --line: #e3e7f1;
  --line-strong: #d3d9e8;
  --on-dark: #c9cdf0;         /* body text on dark sections */
  --on-dark-soft: #a9aed6;
  --danger: #c3261f;
  --whatsapp: #1f8a4c;

  --grad-accent: linear-gradient(135deg, #6d5dfc 0%, #5b5bf7 45%, #22c3d6 100%);
  --grad-violet: linear-gradient(135deg, #7b6dff 0%, #5b5bf7 60%, #4a48e8 100%);
  --grad-aqua: linear-gradient(135deg, #22c3d6 0%, #4f8cf7 55%, #5b5bf7 100%);
  --grad-text: linear-gradient(95deg, #b9b7ff 0%, #8f8cff 40%, #7ee3f0 100%);

  --font-display: "Plus Jakarta Sans", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(20, 23, 58, .05), 0 1px 3px rgba(20, 23, 58, .04);
  --shadow: 0 1px 2px rgba(20, 23, 58, .04), 0 10px 30px -8px rgba(27, 31, 75, .12);
  --shadow-lg: 0 30px 70px -20px rgba(14, 17, 48, .45);
  --shadow-violet: 0 10px 24px -8px rgba(91, 91, 247, .55);

  --container: 1200px;
  --gutter: 16px;
  --header-h: 68px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (min-width: 640px) { body { font-size: 1.0625rem; } }
img, svg { display: block; max-width: 100%; }
a { color: var(--violet-700); text-underline-offset: 3px; }
a:hover { color: var(--indigo-900); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(2.15rem, 7.4vw, 4rem); letter-spacing: -0.04em; line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 4.8vw, 2.75rem); }
h3 { font-size: clamp(1.1rem, 2.4vw, 1.25rem); font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; }
h4 { font-size: 1.05rem; font-weight: 700; }
.h3 { font-size: clamp(1.1rem, 2.4vw, 1.25rem); font-weight: 700; letter-spacing: -0.015em; }
button, input, select, textarea { font: inherit; color: inherit; }
strong, b { font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}
.section--dark :focus-visible, .hero :focus-visible, .page-hero :focus-visible,
.cta-band :focus-visible, .site-footer :focus-visible { outline-color: var(--aqua-300); }

.visually-hidden {
  position: absolute !important; 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: 200;
  background: var(--violet); color: #fff; padding: 10px 16px; border-radius: 999px;
  text-decoration: none; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 72px 0; position: relative; }
.section--tight { padding: 48px 0; }
.section--white { background: var(--white); }
.section--muted { background: var(--surface); }

/* Dark section: midnight with soft gradient mesh */
.section--dark {
  background:
    radial-gradient(600px 380px at 88% 0%, rgba(109, 93, 252, .35), transparent 70%),
    radial-gradient(520px 360px at 0% 100%, rgba(34, 195, 214, .18), transparent 70%),
    var(--indigo-900);
  color: var(--on-dark);
  overflow: hidden;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: var(--on-dark); }
.section--dark .muted { color: var(--on-dark-soft); }

/* Section heading: left-aligned; on wide screens the intro sits beside the title */
.section-head { max-width: 720px; margin: 0 0 40px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 0; }
.section--dark .section-head p { color: var(--on-dark); }
@media (min-width: 960px) {
  .section-head {
    max-width: none; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    column-gap: 64px; align-items: end; margin-bottom: 52px;
  }
  .section-head > .eyebrow { grid-column: 1; grid-row: 1; justify-self: start; }
  .section-head > h2 { grid-column: 1; grid-row: 2; margin-bottom: 0; max-width: 640px; }
  .section-head > p { grid-column: 2; grid-row: 1 / span 2; padding-bottom: 6px; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans);
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--violet-700); margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--grad-accent); flex: none;
  transform: rotate(45deg);
}
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--violet-300); }

.grid { display: grid; gap: 16px; }
.grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }

@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .grid { gap: 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  :root { --gutter: 40px; }
  .section { padding: 112px 0; }
  .section--tight { padding: 56px 0; }
  .grid { gap: 24px; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-sans); font-weight: 600; font-size: .98rem; line-height: 1.2;
  letter-spacing: -0.005em; text-decoration: none; text-align: center;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--violet); color: #fff; box-shadow: var(--shadow-violet); }
.btn-primary:hover { background: var(--violet-600); color: #fff; transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(91, 91, 247, .7); }
.btn-secondary { background: #fff; color: var(--indigo-900); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--violet); color: var(--violet-700); background: var(--lavender); }
.btn-light { background: #fff; color: var(--indigo-900); }
.btn-light:hover { background: var(--lavender); color: var(--indigo-900); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); }
.btn-ghost-light:hover { border-color: rgba(255, 255, 255, .7); color: #fff; background: rgba(255, 255, 255, .12); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #17703d; color: #fff; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 420px) {
  .btn-row > .btn { flex: 1 1 100%; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s, background .25s;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(255, 255, 255, .78);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
  }
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -12px rgba(20, 23, 58, .18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font-family: var(--font-display); font-size: 1.08rem; font-weight: 800; letter-spacing: -0.03em; }
.brand-name span { color: var(--violet-700); }
.brand-tag { font-size: .66rem; color: var(--ink-soft); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-top: 3px; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 46px; height: 46px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: #fff; cursor: pointer; color: var(--indigo-900);
}
.nav-toggle:hover { border-color: var(--violet); color: var(--violet-700); }
.nav-toggle-bars { position: relative; width: 18px; height: 12px; }
.nav-toggle-bars span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .25s, opacity .2s, top .25s;
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5px; }
.nav-toggle-bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

.site-nav {
  position: fixed; left: 0; right: 0; top: var(--header-h);
  height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); /* explicit: header backdrop-filter makes it the containing block */
  background: #fff; padding: 20px var(--gutter) 40px;
  overflow-y: auto;
  opacity: 0; transform: translateY(-12px); visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  border-top: 1px solid var(--line);
}
.site-nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .25s ease, transform .25s ease, visibility 0s; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.nav-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none; border-radius: var(--radius-sm);
}
.nav-list a:hover { background: var(--surface); }
.nav-list a[aria-current="page"] { color: var(--violet-700); background: var(--lavender); }
.nav-cta { margin-top: 24px; display: grid; gap: 12px; }
body.nav-open { overflow: hidden; }

@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; transform: none; visibility: visible; opacity: 1; background: none; padding: 0;
    overflow: visible; border: 0; display: flex; align-items: center; gap: 24px;
  }
  .nav-list { flex-direction: row; gap: 2px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
  .nav-list a {
    font-family: var(--font-sans); font-size: .92rem; font-weight: 500; letter-spacing: 0;
    padding: 7px 14px; border-radius: 999px; color: var(--ink-soft);
  }
  .nav-list a:hover { color: var(--ink); background: #fff; }
  .nav-list a[aria-current="page"] { color: var(--violet-700); background: #fff; box-shadow: var(--shadow-sm); font-weight: 600; }
  .nav-cta { margin: 0; display: flex; }
  .nav-cta .btn { min-height: 44px; padding: 10px 20px; font-size: .92rem; }
  .nav-cta .nav-phone { display: none; }
}

/* ---------- Shared dark-hero backdrop (mesh blobs) ---------- */
.hero, .page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--midnight); color: var(--on-dark);
}
.hero::before, .page-hero::before {
  /* faint grid texture */
  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: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 80%);
}
.hero h1, .hero h2, .page-hero h1 { color: #fff; }

.hero-bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75; }
.hero-bg .blob-1 { width: 520px; height: 520px; background: #5b5bf7; top: -220px; right: -160px; opacity: .55; }
.hero-bg .blob-2 { width: 420px; height: 420px; background: #22c3d6; bottom: -260px; left: -140px; opacity: .35; }
.hero-bg .blob-3 { width: 360px; height: 360px; background: #8b5cf6; top: 30%; left: 38%; opacity: .28; }

/* ---------- Home hero ---------- */
.hero { padding: 48px 0 104px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero .eyebrow {
  padding: 6px 12px 6px 10px; border-radius: 999px; letter-spacing: .08em;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  font-size: .7rem;
}
.hero-lead { font-size: 1.1rem; color: var(--on-dark); max-width: 560px; margin-bottom: 28px; }
.hero h1 em {
  font-style: normal; color: var(--violet-300);
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; font-size: .9rem; color: var(--on-dark-soft); max-width: 520px; }
.hero-note svg { width: 18px; height: 18px; color: var(--aqua-300); flex: none; margin-top: 2px; }
.hero-stats {
  list-style: none; padding: 22px 0 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, .12); max-width: 520px;
}
.hero-stats strong {
  display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 5vw, 2.2rem);
  letter-spacing: -0.04em; line-height: 1; color: #fff; margin-bottom: 6px;
}
.hero-stats span { font-size: .8rem; color: var(--on-dark-soft); line-height: 1.35; display: block; }

.hero-art { position: relative; max-width: 420px; margin: 0 auto; width: 100%; padding: 28px 0 36px; }

/* App / phone consultation mock-up */
.app-mock {
  position: relative; margin: 0 auto; width: 100%; max-width: 330px;
  background: linear-gradient(180deg, #ffffff, #f7f8fd);
  border-radius: 34px; padding: 14px 14px 18px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .5), 0 0 0 8px rgba(255, 255, 255, .06);
  color: var(--ink);
}
.app-mock__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 6px 12px; }
.app-mock__lock {
  display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 600; color: var(--violet-700);
  background: var(--lavender); padding: 5px 10px 5px 8px; border-radius: 999px; white-space: nowrap;
}
.app-mock__lock svg { width: 13px; height: 13px; flex: none; }
.app-mock__dots { display: inline-flex; gap: 4px; }
.app-mock__dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); display: block; }
.app-mock__video {
  position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3.6;
  background: linear-gradient(150deg, #262b6e 0%, #1b1f4b 55%, #16395c 100%);
}
.app-mock__video > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.app-mock__live {
  position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px;
  font-size: .68rem; font-weight: 600; color: #fff; padding: 4px 10px; border-radius: 999px;
  background: rgba(14, 17, 48, .55); border: 1px solid rgba(255, 255, 255, .16);
}
.app-mock__live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3ee6a0; box-shadow: 0 0 0 3px rgba(62, 230, 160, .25); }
.app-mock__self {
  position: absolute; right: 12px; bottom: 12px; width: 26%; aspect-ratio: 3 / 4; border-radius: 12px;
  background: linear-gradient(160deg, #7b6dff, #22c3d6); border: 2px solid rgba(255, 255, 255, .75);
  overflow: hidden;
}
.app-mock__self::before { content: ""; position: absolute; left: 50%; top: 26%; width: 34%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .8); transform: translateX(-50%); }
.app-mock__self::after { content: ""; position: absolute; left: 50%; bottom: -18%; width: 78%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .8); transform: translateX(-50%); }
.app-mock__info { display: flex; align-items: center; gap: 12px; padding: 16px 6px 14px; }
.app-mock__avatar {
  width: 42px; height: 42px; border-radius: 14px; flex: none; display: grid; place-items: center;
  background: var(--grad-accent); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .9rem;
}
.app-mock__info strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: -0.02em; line-height: 1.25; }
.app-mock__info small { display: block; font-size: .76rem; color: var(--ink-soft); line-height: 1.35; }
.app-mock__time { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; color: var(--indigo-900); margin-top: 3px; }
.app-mock__time svg { width: 13px; height: 13px; color: var(--violet); }
.app-mock__controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 6px; }
.app-mock__controls .ctl { display: flex; gap: 8px; }
.app-mock__controls .ctl span {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); color: var(--indigo-900);
}
.app-mock__controls .ctl span svg { width: 17px; height: 17px; }
.app-mock__join {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px;
  background: var(--violet); color: #fff; font-size: .8rem; font-weight: 600; white-space: nowrap;
  box-shadow: var(--shadow-violet);
}
.app-mock__join svg { width: 14px; height: 14px; }

.hero-card {
  position: absolute; z-index: 2; background: #fff; color: var(--ink); border-radius: 16px;
  box-shadow: 0 18px 40px -14px rgba(14, 17, 48, .5); border: 1px solid rgba(255, 255, 255, .6);
  padding: 10px 14px 10px 10px; display: flex; align-items: center; gap: 10px;
  font-size: .82rem; font-weight: 600; line-height: 1.25;
}
.hero-card .chip { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; background: var(--grad-violet); }
.hero-card .chip--aqua { background: var(--grad-aqua); }
.hero-card .chip svg { width: 18px; height: 18px; }
.hero-card small { display: block; color: var(--ink-soft); font-weight: 400; font-size: .72rem; }
.hero-card--a { left: 0; bottom: 0; }
.hero-card--b { right: 0; top: 0; }

@media (min-width: 900px) {
  .hero { padding: 88px 0 140px; }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; }
  .hero-art { max-width: 440px; }
  .hero-card--a { left: -44px; bottom: 170px; }
  .hero-card--b { right: -28px; top: 64px; }
}

/* Page hero (inner pages) */
.page-hero { padding: 56px 0 64px; }
.page-hero::after {
  content: ""; position: absolute; z-index: -2; width: 560px; height: 560px; border-radius: 50%;
  right: -200px; top: -260px; filter: blur(60px); pointer-events: none;
  background: radial-gradient(circle at 40% 40%, rgba(91, 91, 247, .75), rgba(109, 93, 252, .25) 45%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .container::after {
  content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; border-radius: 50%;
  left: -160px; bottom: -320px; filter: blur(60px); pointer-events: none;
  background: radial-gradient(circle, rgba(34, 195, 214, .45), transparent 70%);
}
.page-hero h1 { font-size: clamp(2rem, 6.2vw, 3.5rem); max-width: 860px; }
.page-hero p { max-width: 640px; font-size: 1.08rem; color: var(--on-dark); margin-bottom: 0; }
.breadcrumb { font-size: .85rem; color: var(--on-dark-soft); margin-bottom: 18px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumb a { color: var(--on-dark); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; }
@media (min-width: 900px) { .page-hero { padding: 96px 0 96px; } }

/* ---------- Trust strip (floating card over hero edge) ---------- */
.trust-strip { background: var(--surface); padding: 0 0 8px; position: relative; z-index: 2; }
.trust-list {
  list-style: none; margin: -56px 0 0; padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.trust-list li { display: flex; align-items: center; gap: 12px; font-size: .92rem; font-weight: 600; line-height: 1.3; color: var(--ink); }
.trust-list svg {
  width: 40px; height: 40px; flex: none; padding: 9px; border-radius: 12px;
  color: var(--violet-700); background: var(--lavender);
}
@media (min-width: 560px) { .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 24px; gap: 20px; } }
@media (min-width: 960px) {
  .trust-list { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: -64px; padding: 26px 30px; }
  .trust-list li + li { border-left: 1px solid var(--line); padding-left: 20px; }
}

/* ---------- Cards ---------- */
.card {
  background: #fff; border-radius: var(--radius); padding: 24px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column; min-width: 0;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-soft); font-size: .97rem; }
.card p:last-child { margin-bottom: 0; }
a.card { text-decoration: none; color: inherit; }
a.card:hover, .card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--lavender-200); }
.card-icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--grad-violet); color: #fff;
  display: grid; place-items: center; margin-bottom: 20px; flex: none;
  box-shadow: 0 8px 18px -8px rgba(91, 91, 247, .7);
}
.card-icon svg { width: 24px; height: 24px; }
.grid > .card:nth-child(3n+2) .card-icon { background: var(--grad-aqua); box-shadow: 0 8px 18px -8px rgba(34, 150, 214, .7); }
.grid > .card:nth-child(3n) .card-icon { background: linear-gradient(135deg, #323889 0%, #5b5bf7 100%); }
.card-link { margin-top: auto; padding-top: 14px; font-weight: 600; font-size: .94rem; color: var(--violet-700); display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.card-link svg { width: 16px; height: 16px; transition: transform .2s; }
a.card:hover .card-link svg, a.card-link:hover svg { transform: translateX(3px); }
a.card-link:hover { color: var(--indigo-900); }

/* Glass cards on dark sections */
.section--dark .card, .section--dark .panel {
  background: rgba(35, 40, 96, .92);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .6);
  color: var(--on-dark);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .section--dark .card, .section--dark .panel {
    background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04));
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
  }
}
.section--dark .card p, .section--dark .panel p, .section--dark .panel li { color: var(--on-dark); }
.section--dark .card-icon { box-shadow: none; }

/* ---------- Steps (numbered with connecting line) ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps.grid { gap: 28px; }
.step { position: relative; padding-left: 68px; min-height: 48px; }
.step h3 { margin-top: 10px; }
.step-num {
  position: absolute; left: 0; top: 0;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--grad-accent); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em;
  display: grid; place-items: center; z-index: 1;
  box-shadow: 0 0 0 6px rgba(91, 91, 247, .14);
}
.step p { color: var(--ink-soft); margin-bottom: 0; }
.section--dark .step p { color: var(--on-dark); }
.steps .step:not(:last-child)::after {
  content: ""; position: absolute; left: 23px; top: 58px; bottom: -22px; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, rgba(91, 91, 247, .7), rgba(34, 195, 214, .25));
}
@media (min-width: 900px) {
  .steps.grid-3 { gap: 40px; }
  .steps.grid-3 .step { padding-left: 0; padding-top: 72px; }
  .steps.grid-3 .step h3 { margin-top: 0; }
  .steps.grid-3 .step:not(:last-child)::after {
    left: 64px; right: -30px; top: 23px; bottom: auto; width: auto; height: 2px;
    background: linear-gradient(90deg, rgba(91, 91, 247, .8), rgba(34, 195, 214, .35));
  }
}

/* ---------- Doctor ---------- */
.doctor { display: grid; gap: 40px; align-items: center; }
.doctor > * { min-width: 0; }
.doctor-portrait {
  position: relative; aspect-ratio: 4 / 5; max-width: 400px; width: 100%; margin: 0 auto;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--lavender); border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.doctor-portrait svg { width: 100%; height: 100%; }
.doctor-portrait figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; font-size: .88rem; color: var(--ink-soft);
  box-shadow: var(--shadow);
}
.doctor-portrait figcaption strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); font-weight: 800; letter-spacing: -0.02em; }
.credentials { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 10px; }
.credentials li {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .96rem;
}
.credentials svg { width: 22px; height: 22px; flex: none; color: var(--violet); margin-top: 1px; }
@media (min-width: 900px) { .doctor { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; } }

/* ---------- Check list ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 6px;
  background: var(--lavender) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a48e8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.section--dark .checklist li::before { background-color: rgba(165, 168, 255, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237ee3f0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* ---------- FAQ (bordered rows with +/−) ---------- */
.faq { max-width: 880px; margin: 0; border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item h3 { margin: 0; font-family: var(--font-display); font-size: clamp(1rem, 2.2vw, 1.12rem); font-weight: 700; letter-spacing: -0.015em; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  text-align: left; background: none; border: 0; cursor: pointer; padding: 22px 4px; color: var(--ink);
  font-weight: 700; line-height: 1.4; letter-spacing: inherit; border-radius: 8px;
  transition: color .2s;
}
.faq-q:hover { color: var(--violet-700); }
.faq-icon {
  width: 32px; height: 32px; flex: none; border-radius: 50%; position: relative;
  border: 1.5px solid var(--line-strong); background: #fff; transition: background .25s, border-color .25s;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--indigo-900);
  transform: translate(-50%, -50%); border-radius: 2px; transition: transform .25s, background .25s;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q:hover .faq-icon { border-color: var(--violet); }
.faq-q[aria-expanded="true"] .faq-icon { background: var(--violet); border-color: var(--violet); }
.faq-q[aria-expanded="true"] .faq-icon::before, .faq-q[aria-expanded="true"] .faq-icon::after { background: #fff; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 56px 22px 4px; color: var(--ink-soft); }
.faq-a[hidden] { display: none; }
.faq-a p:last-child { margin-bottom: 0; }
@media (max-width: 560px) { .faq-a { padding-right: 4px; } }

/* ---------- Testimonials ---------- */
.testimonial {
  background: #fff; border-radius: var(--radius); padding: 26px; margin: 0; position: relative;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; min-width: 0;
}
.testimonial blockquote { margin: 0 0 22px; font-size: 1.02rem; line-height: 1.65; color: var(--ink); flex: 1; }
.testimonial .quote-mark { width: 30px; height: 30px; color: var(--violet); margin-bottom: 14px; opacity: .9; }
.testimonial figcaption {
  font-size: .9rem; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 10px;
  padding-top: 16px; border-top: 1px solid var(--line);
}
.avatar {
  width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad-accent); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .9rem;
}
.sample-note { font-size: .85rem; color: var(--ink-soft); margin-top: 24px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg);
  background: var(--midnight); color: var(--on-dark); padding: 40px 22px;
  display: grid; gap: 0;
}
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: -1; filter: blur(50px); }
.cta-band::before { width: 420px; height: 420px; right: -120px; top: -200px; background: rgba(91, 91, 247, .7); }
.cta-band::after { width: 320px; height: 320px; left: -120px; bottom: -200px; background: rgba(34, 195, 214, .45); }
.cta-band h2 { color: #fff; max-width: 620px; }
.cta-band p { max-width: 560px; margin: 0 0 26px; color: var(--on-dark); }
.cta-band > * { position: relative; }
@media (min-width: 900px) {
  .cta-band { padding: 64px 64px; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; align-items: center; }
  .cta-band h2, .cta-band p { grid-column: 1; }
  .cta-band p { margin-bottom: 0; }
  .cta-band .btn-row { grid-column: 2; grid-row: 1 / span 2; flex-direction: column; align-items: stretch; }
}

/* ---------- Treatments detail ---------- */
.treat-nav {
  display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 14px; margin: 0 0 12px;
  scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
.treat-nav a {
  white-space: nowrap; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line-strong);
  text-decoration: none; font-size: .88rem; color: var(--ink-soft); font-weight: 500;
  transition: background .2s, color .2s, border-color .2s;
}
.treat-nav a:hover { border-color: var(--violet); color: var(--violet-700); background: var(--lavender); }
.treatment {
  background: #fff; border-radius: var(--radius-lg); padding: 24px 18px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); margin-bottom: 20px; position: relative; overflow: hidden;
}
.treatment::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--grad-accent); opacity: .85;
}
.treatment-head { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.treatment-head .card-icon { margin: 0; }
.treatment-head h2 { font-size: clamp(1.35rem, 3.6vw, 1.9rem); margin: 0; min-width: 0; }
.treatment-body { display: grid; gap: 14px; margin-top: 20px; }
.treatment-body h3 { font-family: var(--font-sans); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-700); font-weight: 700; margin-bottom: 14px; }
.treatment-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.treatment-panel + .treatment-panel { background: var(--lavender); border-color: var(--lavender-200); }
.treatment-panel + .treatment-panel .checklist li::before { background-color: #fff; }
.treatment-panel .checklist { margin: 0; }
.treatment > p { color: var(--ink-soft); max-width: 840px; }
@media (min-width: 760px) {
  .treatment { padding: 40px; }
  .treatment-body { grid-template-columns: 1fr 1fr; }
}

/* ---------- Info blocks / misc ---------- */
.split { display: grid; gap: 36px; align-items: start; }
.split > * { min-width: 0; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 72px; } }
.panel { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); min-width: 0; }
.panel h3 { margin-bottom: 14px; }
.panel--tint { background: var(--lavender); box-shadow: none; border-color: var(--lavender-200); }
.section--dark .panel--tint {
  background: linear-gradient(160deg, rgba(91, 91, 247, .28), rgba(34, 195, 214, .12));
  border-color: rgba(165, 168, 255, .3);
}
.notice {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--lavender); border: 1px solid var(--lavender-200); border-radius: var(--radius); padding: 18px 20px;
  color: var(--indigo-900); font-size: .95rem;
}
.notice svg { width: 22px; height: 22px; flex: none; margin-top: 1px; color: var(--violet-700); }
.notice p:last-child { margin: 0; }
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.3rem, 3.2vw, 1.65rem); margin-top: 1.9em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose p, .prose li { color: var(--ink-soft); }
.prose li strong { color: var(--ink); }
.stat-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.stat { background: #fff; border-radius: var(--radius-sm); padding: 18px; border: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); line-height: 1.1; }
.stat span { font-size: .88rem; color: var(--ink-soft); }

.mode-card { text-align: left; }
.mode-card .tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: var(--lavender); color: var(--violet-700); margin-bottom: 12px; align-self: flex-start;
}

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; gap: 24px; }
.contact-grid > * { min-width: 0; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 32px; align-items: start; } }
.contact-grid > .panel { padding: 24px 18px; }
@media (min-width: 640px) { .contact-grid > .panel { padding: 36px; } }
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px;
  background: var(--surface); transition: border-color .2s, box-shadow .2s, background .2s; font-size: 1rem;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b9c1d8; }
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1f4b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
  padding-right: 42px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--violet); background-color: #fff; box-shadow: 0 0 0 4px rgba(91, 91, 247, .18);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); background-color: #fff; }
.field-error { color: var(--danger); font-size: .85rem; font-weight: 500; }
.field-error:empty { display: none; }
.field-hint { font-size: .84rem; color: var(--ink-soft); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radio-group { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin-top: 4px; }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio-card span {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 10px;
  border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); cursor: pointer; font-weight: 600; text-align: center;
  transition: border-color .2s, background .2s, color .2s;
}
.radio-card span:hover { border-color: #b9c1d8; }
.radio-card input:checked + span { border-color: var(--violet); background: var(--lavender); color: var(--violet-700); box-shadow: inset 0 0 0 1px var(--violet); }
.radio-card input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); font-weight: 400 !important; }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--violet); }
.form-status { border-radius: 12px; padding: 16px 18px; font-weight: 500; }
.form-status[hidden] { display: none; }
.form-status--success { background: var(--aqua-100); color: var(--ink); border: 1px solid #a7e6ef; }
.form-status--error { background: #fdeceb; color: #7a1c14; border: 1px solid #f3bcb6; }
.form-status .btn { margin-top: 12px; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list li > div { min-width: 0; }
.contact-list .card-icon { width: 42px; height: 42px; margin: 0; border-radius: 12px; background: var(--lavender); color: var(--violet-700); box-shadow: none; }
.contact-list .card-icon svg { width: 20px; height: 20px; }
.contact-list strong { display: block; color: var(--ink); font-size: .92rem; }
.contact-list a, .contact-list span { color: var(--ink-soft); word-break: break-word; }
.contact-list a:hover { color: var(--violet-700); }
.hours { width: 100%; border-collapse: collapse; font-size: .94rem; }
.hours th, .hours td { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; }
.hours td { text-align: right; color: var(--ink-soft); }
.map-placeholder {
  position: relative; min-height: 280px; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, var(--surface), var(--lavender));
  border: 1px solid var(--line); display: grid; place-items: center; text-align: center; padding: 24px;
}
.map-placeholder svg.map-lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.map-placeholder > div {
  position: relative; z-index: 1; background: rgba(255, 255, 255, .92); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow);
}
.map-placeholder .pin {
  width: 48px; height: 48px; margin: 0 auto 10px; color: #fff; background: var(--grad-violet); border-radius: 14px; padding: 12px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--midnight); color: var(--on-dark-soft); padding: 64px 0 110px; font-size: .94rem; position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(165, 168, 255, .6), rgba(126, 227, 240, .5), transparent);
}
.site-footer p { color: var(--on-dark-soft); }
.site-footer a { color: #e4e6fb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 36px; }
.footer-grid > * { min-width: 0; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } .site-footer { padding-bottom: 40px; } }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand:hover { text-decoration: none; }
.site-footer .brand-name span { color: var(--violet-300); }
.site-footer .brand-tag { color: var(--on-dark-soft); }
.site-footer h2 { font-family: var(--font-sans); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-weight: 700; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links li { word-break: break-word; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 24px; display: grid; gap: 14px; }
.disclaimer { font-size: .84rem; color: var(--on-dark-soft); max-width: 920px; margin: 0; }
.disclaimer strong { color: #e4e6fb; }
.copyright { font-size: .84rem; color: var(--on-dark-soft); margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; }

/* ---------- Floating actions ---------- */
.float-whatsapp {
  position: fixed; right: 16px; bottom: 84px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%; background: var(--whatsapp); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 24px rgba(31, 138, 76, .35), 0 0 0 4px rgba(255, 255, 255, .9);
  transition: transform .2s;
}
.float-whatsapp:hover { transform: scale(1.06); color: #fff; }
.float-whatsapp svg { width: 28px; height: 28px; }
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -8px rgba(20, 23, 58, .15);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .mobile-bar { background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
}
.mobile-bar .btn { min-height: 48px; padding: 10px 12px; font-size: .94rem; }
@media (min-width: 1000px) {
  .mobile-bar { display: none; }
  .float-whatsapp { bottom: 24px; right: 24px; }
}

/* ---------- 404 ---------- */
.error-page { position: relative; overflow: hidden; min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 72px 0; background: var(--surface); }
.error-page::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; left: 50%; top: 45%;
  transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(91, 91, 247, .16), transparent 65%); pointer-events: none;
}
.error-page .container { position: relative; }
.error-page .code {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.06em;
  font-size: clamp(5.5rem, 26vw, 10rem); line-height: 1; margin-bottom: 12px; color: var(--violet);
  background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.error-page p { max-width: 520px; margin-left: auto; margin-right: auto; color: var(--ink-soft); }
.error-page .btn-row { justify-content: center; margin-top: 24px; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s !important; }
.reveal-delay-2 { transition-delay: .16s !important; }
.reveal-delay-3 { transition-delay: .24s !important; }

@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-card--b { animation: float-y 6s ease-in-out infinite; }
.hero-card--a { animation: float-y 7s ease-in-out 1s infinite; }

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

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }

@media print {
  .site-header, .float-whatsapp, .mobile-bar, .site-footer .footer-grid, .hero-bg { display: none !important; }
  body { background: #fff; }
  .hero, .page-hero, .section--dark { background: #fff !important; color: #000; }
  .hero h1, .page-hero h1, .section--dark h2, .section--dark h3 { color: #000; }
}

/* ---------- Small-screen refinements ---------- */
.radio-card svg { width: 20px; height: 20px; flex: none; }
.hours th { font-weight: 500; padding-right: 12px; }
@media (max-width: 400px) {
  .brand-tag { display: none; }
  .brand-name { font-size: 1rem; }
  .brand-mark { width: 32px; height: 32px; }
}
