:root {
  --bg: #040b16;
  --surface: #070f1c;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.028);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.6);
  --muted-2: rgba(255, 255, 255, 0.36);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --brand: #1e6fba;
  --brand-2: #5ab5e8;
  --gold: #c8a96e;
  --gold-dim: rgba(200, 169, 110, 0.1);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 40px 100px rgba(0, 0, 0, 0.65);
  --radius: 13px;
  --radius-lg: 20px;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: Inter, system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 12px;
  background: #fff;
  color: #000;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 1000;
}

.skip:focus {
  left: 12px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  background: rgba(4, 11, 22, 0.82);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand__logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand__name {
  font-weight: 700;
}

.brand__tag {
  font-size: 13px;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

/* ── Mobile nav (handled via inline styles + JS in HTML) ─── */
@media (max-width: 920px) {
  .header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000 !important;
    background: #040b16 !important;
  }
  main {
    padding-top: 76px;
  }
  .brand__logo {
    height: 36px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(30, 111, 186, 0.4);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 34px rgba(30, 111, 186, 0.55);
  text-decoration: none;
}

.btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
  box-shadow: none;
}

.btn--ghost:hover {
  background: var(--panel);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: none;
}

.btn--sm {
  padding: 9px 18px;
  font-size: 10px;
}

.hero {
  padding: 84px 0 64px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 52px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
  flex-shrink: 0;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.8vw, 82px);
  font-weight: 400;
  line-height: 1.06;
  margin: 0 0 26px;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
  display: block;
  font-size: 0.82em;
}

.lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
  margin: 0 0 36px;
  max-width: 500px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.hero__divider {
  width: 36px;
  height: 1px;
  background: var(--border-strong);
  margin-bottom: 18px;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero__info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.info-card {
  border: 1px solid var(--border);
  background: var(--panel-2);
  border-radius: var(--radius);
  padding: 14px;
}

.info-card__label {
  font-size: 12px;
  color: var(--muted-2);
  font-weight: 700;
  margin-bottom: 4px;
}

.info-card__value {
  font-weight: 700;
  color: var(--text);
}

.panel {
  border: 1px solid var(--border);
  border-top: 2px solid var(--brand);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.panel__title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 16px;
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.checklist li:last-child {
  border-bottom: none;
}

.checklist li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-2);
  flex-shrink: 0;
}

.panel__note {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(200, 169, 110, 0.25);
  background: var(--gold-dim);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
}

.section {
  padding: 76px 0;
}

.section--muted {
  background: rgba(255, 255, 255, 0.016);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__head {
  margin-bottom: 48px;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 14px;
}

.section__eyebrow::before {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: var(--brand-2);
  flex-shrink: 0;
}

.section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 14px;
}

.section__head p {
  margin: 0;
  font-size: 16px;
  line-height: 1.72;
  color: var(--muted);
  max-width: 480px;
}

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

.card {
  border: 1px solid var(--border);
  border-top: 2px solid transparent;
  background: var(--panel-2);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-top-color 0.3s ease;
}

.card:hover {
  border-top-color: var(--brand);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
  transform: translateY(-3px);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: linear-gradient(180deg, rgba(200, 169, 110, 0.16), rgba(200, 169, 110, 0.06));
  border: 1px solid rgba(200, 169, 110, 0.25);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
}

.card__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.88);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card:hover .card__icon {
  background: linear-gradient(180deg, rgba(90, 181, 232, 0.16), rgba(200, 169, 110, 0.08));
  border-color: rgba(90, 181, 232, 0.35);
}

.card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.location__details {
  display: grid;
  gap: 12px;
  margin: 16px 0 14px;
}

.detail {
  border: 1px solid var(--border);
  background: var(--panel-2);
  border-radius: var(--radius);
  padding: 14px;
}

.detail__label {
  font-size: 12px;
  color: var(--muted-2);
  font-weight: 800;
  margin-bottom: 6px;
}

.detail__value {
  color: var(--text);
  font-weight: 700;
}

.map {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
  filter: invert(92%) hue-rotate(180deg) saturate(0.7) brightness(0.85);
}

.map__inner {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
}

.map__badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  font-weight: 800;
  margin-bottom: 10px;
}

.map__text {
  color: var(--muted);
  max-width: 32ch;
}

.form-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: start;
}

.form {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 22px;
  padding: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.field span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(11, 18, 32, 0.55);
  color: var(--text);
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(33, 120, 180, 0.8);
  box-shadow: 0 0 0 3px rgba(33, 120, 180, 0.18);
}

.form__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.form__fineprint {
  color: var(--muted-2);
  font-weight: 600;
  font-size: 13px;
}

.aside {
  display: grid;
  gap: 12px;
}

.aside__card {
  border: 1px solid var(--border);
  background: var(--panel-2);
  border-radius: 22px;
  padding: 18px;
}

.aside__title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 14px;
}

.aside__text {
  margin: 0;
  color: var(--muted);
}

.steps {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.steps li {
  margin: 10px 0;
}

.hidden {
  display: none;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 38px 0;
  background: rgba(4, 11, 22, 0.85);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
}

.footer__inner > * {
  flex: 1 1 240px;
}

.footer__inner > .newsletter {
  flex: 2 1 320px;
  max-width: 540px;
}

.footer__inner > .footer__muted {
  flex: 1 1 100%;
  text-align: center;
  margin-top: 12px;
}

.footer__inner a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__inner a:hover {
  color: var(--brand-2);
}

.footer__logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  opacity: 0.8;
  display: block;
  margin-bottom: 6px;
}

.footer__muted {
  color: var(--muted-2);
  font-weight: 600;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--gold-dim);
  border: 1px solid rgba(200, 169, 110, 0.28);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.stars-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}

.stars {
  color: var(--gold);
  letter-spacing: 1px;
}

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

.card__icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.about {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: 52px;
  align-items: start;
}

.about__image {
  position: sticky;
  top: 90px;
}

.dr-photo {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  object-fit: cover;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
  display: block;
}

.pull-quote {
  position: relative;
  margin-top: 36px;
  padding: 28px 28px 28px 48px;
  border-left: 2px solid var(--gold);
  background: var(--gold-dim);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  transition: border-left-color 0.3s ease;
}

.pull-quote:hover {
  border-left-color: rgba(200, 169, 110, 0.7);
}

.pull-quote::before {
  content: '\201C';
  position: absolute;
  left: 12px;
  top: 14px;
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.45;
}

.pull-quote__text {
  font-family: var(--font-display);
  font-size: 19px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text) !important;
  margin: 0 0 14px !important;
}

.pull-quote__author {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold) !important;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 18px;
}

.hours-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.hours-table td:first-child {
  font-weight: 700;
  color: var(--text);
  width: 130px;
}

.hours-table tr:last-child td {
  border-bottom: none;
}

.hours-table tr.closed td {
  color: var(--muted-2);
}

.hours-table tr.today td {
  color: var(--brand-2);
}

.hours-table tr.today td:first-child::after {
  content: ' ← today';
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-left: 8px;
}

.contact-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
}

.plain-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.plain-list li:last-child {
  border-bottom: none;
}

@media (max-width: 920px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__info {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about__image {
    position: static;
    max-width: 240px;
  }

  .location {
    grid-template-columns: 1fr;
  }

  .form-wrap {
    grid-template-columns: 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .brand {
    min-width: unset;
  }
}

@media (max-width: 560px) {
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════
   DYNAMIC EFFECTS
═══════════════════════════════════════════════════ */

/* Default mouse position vars */
:root {
  --mx: 0.5;
  --my: 0.5;
}

/* ── Viewport-fixed gradient + mouse aurora ─────── */
/* All gradients live here (position:fixed) so they  */
/* remain visible at every scroll depth.             */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(
      ellipse 900px 600px at calc(var(--mx) * 100%) calc(var(--my) * 100%),
      rgba(33, 120, 180, 0.2),
      transparent 65%
    ),
    radial-gradient(ellipse 1200px 700px at 20% 25%, rgba(33, 120, 180, 0.32), transparent 55%),
    radial-gradient(ellipse 1200px 700px at 80% 75%, rgba(77, 168, 224, 0.18), transparent 55%);
}

main,
.footer {
  position: relative;
  z-index: 1;
}

@media (max-width: 920px) {
  main {
    z-index: 0;
  }
}

/* ── Cursor glow ────────────────────────────────── */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 520px;
  height: 520px;
  margin-left: -260px;
  margin-top: -260px;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 120, 180, 0.11) 0%, transparent 70%);
  will-change: transform;
}

/* ── Scroll reveal ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

/* ── Card hover glow + 3D tilt ready ────────────── */
.card {
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s ease;
}

.card:hover {
  border-color: rgba(33, 120, 180, 0.55);
  box-shadow: 0 12px 44px rgba(33, 120, 180, 0.28);
}

/* ── RGB animated border on hero panel ─────────── */
@keyframes rgb-border {
  0%   { border-top-color: rgba(30, 111, 186, 0.95);  }
  33%  { border-top-color: rgba(200, 169, 110, 0.85); }
  66%  { border-top-color: rgba(90, 181, 232, 0.9);   }
  100% { border-top-color: rgba(30, 111, 186, 0.95);  }
}

.panel {
  position: relative;
  animation: rgb-border 5s ease infinite;
  transition: transform 0.4s ease;
}

.panel:hover {
  transform: translateY(-4px);
}

/* ── Review card hover ──────────────────────────── */
.review-card {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.review-card:hover {
  border-color: rgba(33, 120, 180, 0.6);
  box-shadow: 0 8px 36px rgba(33, 120, 180, 0.22);
  transform: translateY(-3px);
}

/* ── Button hover lift ──────────────────────────── */
.btn {
  transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  filter: brightness(1.14);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(33, 120, 180, 0.5);
  text-decoration: none;
}

.btn--ghost:hover {
  filter: brightness(1);
  box-shadow: 0 6px 22px rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.28);
}

/* ── Aside card hover ───────────────────────────── */
.aside__card {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.aside__card:hover {
  transform: translateY(-3px);
  border-color: rgba(33, 120, 180, 0.38);
  box-shadow: 0 8px 28px rgba(33, 120, 180, 0.15);
}

/* ── Dr. photo hover scale ──────────────────────── */
.dr-photo {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.dr-photo:hover {
  transform: scale(1.025);
  box-shadow: 0 28px 70px rgba(33, 120, 180, 0.38);
}

/* ── Nav link glow ──────────────────────────────── */
.nav a:not(.btn) {
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav a:not(.btn):hover {
  color: #4da8e0;
  text-shadow: 0 0 18px rgba(77, 168, 224, 0.55);
  text-decoration: none;
}

/* ── Hours table row hover ──────────────────────── */
.hours-table tr {
  transition: background 0.2s ease;
}

.hours-table tr:not(.closed):hover td {
  background: rgba(33, 120, 180, 0.1);
}

/* ── Hero h1 RGB shimmer ────────────────────────── */
@keyframes shimmer {
  0%,  100% { background-position: 0%   50%; }
  50%        { background-position: 100% 50%; }
}

.hero h1 {
  background: linear-gradient(
    120deg,
    #ffffff    10%,
    #c8a96e    32%,
    #5ab5e8    56%,
    #c8a96e    78%,
    #ffffff    92%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 7s ease infinite;
}

/* ── Badge pulse ────────────────────────────────── */
@keyframes badge-pulse {
  0%,  100% { box-shadow: 0 0 0 0   rgba(200, 169, 110, 0);    }
  50%        { box-shadow: 0 0 0 8px rgba(200, 169, 110, 0.22); }
}

.badge {
  animation: badge-pulse 3s ease infinite;
}

/* ── Stars sparkle ──────────────────────────────── */
@keyframes sparkle {
  0%,  100% { opacity: 1; filter: brightness(1);   }
  50%        { opacity: 0.8; filter: brightness(1.4); }
}

.stars {
  animation: sparkle 2.2s ease infinite;
}

/* ── Form heading inside card ───────────────────── */
.form-heading {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}

.form-heading h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

.form-heading p {
  margin: 0;
  color: var(--muted);
}

/* ── Logo text fallback ─────────────────────────── */
.logo-fallback {
  font-size: 13px;
  font-weight: 900;
  color: var(--text);
  white-space: nowrap;
  letter-spacing: 0.3px;
}

/* ── Dr. Watson photo fallback ──────────────────── */
.dr-photo--fallback {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(33, 120, 180, 0.28), rgba(77, 168, 224, 0.15));
  border: 2px solid rgba(33, 120, 180, 0.42);
  border-radius: 22px;
  aspect-ratio: 1 / 1;
  width: 100%;
  box-shadow: var(--shadow);
}

.dr-photo--fallback span {
  font-size: 68px;
  font-weight: 900;
  color: var(--brand-2);
  line-height: 1;
}

.dr-photo--fallback small {
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

/* ── Noise texture overlay ───────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── Stats bar ──────────────────────────── */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.018);
  padding: 0;
}

.stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  text-align: center;
  padding: 28px 20px;
  border-right: 1px solid var(--border);
}

.stat:last-child {
  border-right: none;
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 300;
  line-height: 1;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.stat__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ── About content spacing ───────────────── */
.about__content p {
  font-size: 15px;
  line-height: 1.82;
  color: var(--muted);
  margin-bottom: 16px;
}

/* ── Form heading refinement ─────────────── */
.form-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
}

/* ── Newsletter subscription ───────────── */
.newsletter {
  max-width: 520px;
}

.newsletter__form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter__form label {
  flex: 1 1 240px;
  display: grid;
  gap: 6px;
}

.newsletter__form label span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.newsletter__form input {
  width: 100%;
}

.newsletter__form button {
  align-self: flex-end;
}

.newsletter__note {
  font-size: 12px;
  color: var(--muted-2);
  margin-top: 10px;
}

/* ── Cookie consent banner ─────────────── */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: rgba(7, 15, 28, 0.97);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  padding: 18px 0;
  transform: translateY(0);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner[hidden] {
  display: block;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1 1 360px;
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.cookie-banner__text strong {
  color: var(--text);
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-banner__actions .btn {
  padding: 10px 18px;
  font-size: 11px;
}

/* ── Media query additions ───────────────── */
@media (max-width: 920px) {
  .stats-bar__inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(2) {
    border-right: none;
  }
  .stat:nth-child(3),
  .stat:nth-child(4) {
    border-top: 1px solid var(--border);
  }
  .hero {
    padding: 56px 0 44px;
  }
  .section {
    padding: 52px 0;
  }
  .about {
    grid-template-columns: 1fr;
  }
  .about__image {
    position: static;
    max-width: 260px;
  }
}

@media (max-width: 560px) {
  .stats-bar__inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero__actions {
    flex-direction: column;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}
