/* ==========================================================================
   Ivory Dental Studio — Base styles (mobile-first)
   Breakpoint overrides live in responsive.css
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --ivory: #f8f4ec;
  --ivory-deep: #f1eadd;
  --white: #ffffff;
  --navy: #1b2a3a;
  --navy-soft: #26384b;
  --ink: #243444;
  --muted: #5d6874;
  --sage: #7f9a83;
  --sage-deep: #56705b;
  --sage-soft: #e4ebe2;
  --champagne: #d8c3a0;
  --champagne-soft: #efe4d2;
  --line: rgba(27, 42, 58, 0.12);
  --line-light: rgba(248, 244, 236, 0.16);
  --error: #a23b2c;

  --font-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-sans: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 18px 50px -24px rgba(27, 42, 58, 0.28);
  --shadow-card: 0 10px 30px -18px rgba(27, 42, 58, 0.25);

  --container: 1200px;
  --gutter: 1.25rem;
  --section-space: 4.5rem;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--sage-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.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: 1rem; top: -100px;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--navy);
  color: var(--ivory);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-space); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-deep);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.eyebrow-light { color: var(--champagne); }

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--navy);
  text-wrap: balance;
}

.section-head { display: grid; gap: 1.25rem; margin-bottom: 2.75rem; }
.section-head-center { text-align: center; justify-items: center; }
.section-intro { color: var(--muted); max-width: 34rem; }

.lead { font-size: 1.08rem; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn svg { flex-shrink: 0; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--navy); color: var(--ivory); }
.btn-primary:hover { background: var(--navy-soft); box-shadow: 0 10px 24px -12px rgba(27, 42, 58, 0.6); }

.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(27, 42, 58, 0.25); }
.btn-ghost:hover { border-color: var(--navy); background: rgba(255, 255, 255, 0.6); }

.btn-sage { background: var(--sage-deep); color: var(--white); }
.btn-sage:hover { background: #4a6250; }

.btn-light { background: var(--ivory); color: var(--navy); }
.btn-light:hover { background: var(--white); }

.btn-sm { min-height: 44px; padding: 0.6rem 1.25rem; font-size: 0.875rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 244, 236, 0.92);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -24px rgba(27, 42, 58, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(27, 42, 58, 0.2);
  color: var(--sage-deep);
  background: var(--white);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand-sub {
  margin-top: 0.2rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.brand-light { color: var(--ivory); }
.brand-light .brand-mark { background: transparent; border-color: var(--line-light); color: var(--champagne); }
.brand-light .brand-sub { color: rgba(248, 244, 236, 0.65); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-cta { display: none; }

/* Mobile menu toggle */
.nav-toggle {
  position: relative;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}
.nav-toggle-bar {
  position: absolute;
  left: 50%;
  width: 18px; height: 1.5px;
  background: var(--navy);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle-bar:first-child { top: 19px; }
.nav-toggle-bar:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child { top: 22px; transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child { top: 22px; transform: translateX(-50%) rotate(-45deg); }

/* Mobile navigation panel */
.primary-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  padding: 1.5rem var(--gutter) 2rem;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 40px -30px rgba(27, 42, 58, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }

.nav-list { display: grid; }
.nav-link {
  display: block;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
}
.nav-link.is-active { color: var(--sage-deep); }

.nav-mobile-extra { display: grid; gap: 1rem; margin-top: 1.5rem; }
.nav-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { padding-top: 2rem; padding-bottom: 3rem; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }

.hero-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 10vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--navy);
  text-wrap: balance;
}
.hero-title em { font-style: italic; color: var(--sage-deep); }

.hero-lead {
  margin-top: 1.4rem;
  max-width: 34rem;
  font-size: 1.06rem;
  color: var(--muted);
}

.hero-actions { display: grid; gap: 0.75rem; margin-top: 2rem; }

.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hero-meta dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-meta dd { margin-top: 0.2rem; font-weight: 600; color: var(--navy); }
.hero-meta a { text-decoration: none; }
.hero-meta a:hover { color: var(--sage-deep); }

.hero-media { position: relative; }
.hero-figure {
  position: relative;
  overflow: hidden;
  border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
  aspect-ratio: 4 / 4.4;
  background: var(--champagne-soft);
  box-shadow: var(--shadow-soft);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 45% center; }

.hero-note {
  position: relative;
  margin: -3rem 1rem 0;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 0.25rem;
}
.hero-note-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
}
.hero-note-text { font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.3; color: var(--navy); }

.care-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.5rem;
  margin-top: 3rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
}
.care-strip li { display: inline-flex; align-items: center; gap: 1.5rem; }
.care-strip li + li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--champagne);
}

/* ---------- About: specialists, profiles & clinic ---------- */
.about { background: var(--white); }
.about .section-title em { font-style: italic; color: var(--sage-deep); }

.dentist-grid { display: grid; gap: 1.5rem; max-width: 54rem; margin-inline: auto; }

.dentist-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.dentist-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

.dentist-photo { position: relative; aspect-ratio: 5 / 4; background: var(--ivory-deep); }
.dentist-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.dentist-badge,
.dentist-exp {
  position: absolute;
  top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.3;
}
.dentist-badge { left: 1rem; background: var(--navy); color: var(--ivory); letter-spacing: 0.08em; text-transform: uppercase; }
.dentist-exp { right: 1rem; background: rgba(255, 255, 255, 0.94); color: var(--navy); box-shadow: var(--shadow-card); }

.dentist-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.5rem 1.6rem; }
.dentist-name {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
}
.dentist-quals {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-deep);
}
.dentist-role { margin-top: 0.85rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.dentist-highlights { display: grid; gap: 0.5rem; margin-top: 1rem; font-size: 0.92rem; color: var(--muted); }
.dentist-highlights li { display: flex; align-items: flex-start; gap: 0.6rem; }
.dentist-highlights svg { flex-shrink: 0; margin-top: 0.3rem; color: var(--sage-deep); }
.dentist-location { display: flex; align-items: center; gap: 0.4rem; margin-top: 1rem; font-size: 0.82rem; color: var(--muted); }
.dentist-location svg { color: var(--sage-deep); }
.dentist-actions { margin-top: auto; padding-top: 1.5rem; }

/* Profile panels */
.dentist-profile {
  position: relative;
  margin-top: 2.5rem;
  padding: 1rem;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.dentist-profile:focus { outline: none; }
.dentist-profile:not([hidden]) { animation: profile-in 0.45s var(--ease); }
@keyframes profile-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.profile-head {
  position: relative;
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.profile-photo {
  width: 132px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ivory-deep);
  border: 4px solid var(--champagne-soft);
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.profile-intro .eyebrow { margin-bottom: 0.5rem; }
.profile-name {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--navy);
}
.profile-fellowships { display: grid; gap: 0.3rem; margin-top: 0.75rem; font-size: 0.88rem; color: var(--muted); }
.profile-fellowships li { display: flex; align-items: center; gap: 0.5rem; }
.profile-fellowships svg { flex-shrink: 0; color: var(--sage-deep); }

.profile-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.profile-stats li {
  padding: 0.85rem 1rem;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.profile-stats strong { display: block; font-size: 1.05rem; color: var(--navy); }
.profile-stats span { font-size: 0.78rem; color: var(--muted); }

.profile-close {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}
.profile-close:hover { background: var(--ivory-deep); }

.profile-grid { display: grid; gap: 1rem; margin-top: 1rem; }
.profile-block {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.profile-block > p { color: var(--muted); }
.profile-block > p + p { margin-top: 0.9rem; }
.profile-block-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}
.profile-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--sage-soft);
  color: var(--sage-deep);
}

.timeline { position: relative; display: grid; gap: 1.4rem; padding-left: 1.6rem; border-left: 2px solid var(--sage-soft); }
.timeline li { position: relative; }
.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1.6rem - 8px);
  top: 0.3rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--sage-deep);
}
.timeline-year {
  display: inline-block;
  padding: 0.1rem 0.65rem;
  border-radius: 999px;
  background: var(--sage-soft);
  color: var(--sage-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.timeline h5 { margin: 0.4rem 0 0; font-size: 1rem; font-weight: 700; line-height: 1.4; color: var(--navy); }
.timeline p { font-size: 0.88rem; color: var(--muted); }

.milestones li { display: flex; align-items: baseline; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px dashed var(--line); }
.milestones li:first-child { padding-top: 0; }
.milestones li:last-child { border-bottom: 0; padding-bottom: 0; }
.milestone-year {
  flex-shrink: 0;
  min-width: 3.25rem;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1;
  color: #a8874f;
}
.milestones p { font-size: 0.92rem; color: var(--ink); }

.cert-grid { display: grid; gap: 0.85rem; }
.cert-card {
  --accent: var(--sage-deep);
  padding: 1.1rem 1.2rem;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-sm);
}
.cert-card:nth-child(4n + 2) { --accent: #a8874f; }
.cert-card:nth-child(4n + 3) { --accent: var(--navy); }
.cert-card:nth-child(4n + 4) { --accent: var(--sage); }
.cert-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.cert-head h5 { margin: 0; font-size: 0.98rem; font-weight: 700; line-height: 1.35; color: var(--navy); }
.cert-year {
  flex-shrink: 0;
  padding: 0.1rem 0.55rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
}
.cert-card p { margin-top: 0.35rem; font-size: 0.85rem; color: var(--muted); }

.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.tech-grid li {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.6rem;
  padding: 1.25rem 0.75rem;
  text-align: center;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy);
}
.tech-grid svg { color: var(--sage-deep); }

.profile-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }

/* Clinic introduction */
.clinic-intro {
  display: grid;
  gap: 2.5rem;
  margin-top: var(--section-space);
  padding-top: var(--section-space);
  border-top: 1px solid var(--line);
}
.clinic-intro-copy > p:not(.eyebrow) { margin-top: 1.1rem; max-width: 34rem; color: var(--muted); }
.clinic-intro-copy .btn { margin-top: 1.75rem; }

.clinic-collage {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.75rem;
  height: 340px;
}
.clinic-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.clinic-collage img:first-child { grid-row: 1 / 3; }

.clinic-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem; margin-top: 2.5rem; }
.clinic-stats li {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: 1.5rem 1rem;
  text-align: center;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.clinic-stats svg { color: var(--sage-deep); }
.clinic-stats strong {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--navy);
}
.clinic-stats .stat-star { margin-left: 0.15rem; font-size: 1.4rem; color: #c9a227; }
.clinic-stats span { font-size: 0.84rem; color: var(--muted); }

/* ---------- Treatments ---------- */
.treatments { background: var(--ivory); }
.treatment-grid { display: grid; gap: 1.25rem; }

.treatment-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.treatment-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: transparent; }

.treatment-media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--champagne-soft); }
.treatment-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.treatment-card:hover .treatment-media img { transform: scale(1.04); }

.treatment-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.5rem 1.6rem; }
.treatment-num {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--sage-deep);
}
.treatment-title {
  margin-top: 0.15rem;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
}
.treatment-body > p { margin-top: 0.6rem; font-size: 0.95rem; color: var(--muted); }

.treatment-list { display: grid; gap: 0.35rem; margin-top: 1rem; font-size: 0.9rem; color: var(--ink); }
.treatment-list li { position: relative; padding-left: 1.1rem; }
.treatment-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--champagne);
}

.treatment-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1.3rem;
  min-height: 44px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}
.treatment-link svg { transition: transform 0.25s var(--ease); }
.treatment-link:hover { color: var(--sage-deep); }
.treatment-link:hover svg { transform: translateX(4px); }

/* ---------- Why choose us ---------- */
.why { background: var(--navy); color: rgba(248, 244, 236, 0.78); }
.why .section-title { color: var(--ivory); }
.why-grid { display: grid; gap: 3rem; }
.why-intro p:not(.eyebrow) { margin-top: 1.25rem; max-width: 30rem; }
.why-intro .btn { margin-top: 2rem; }

.why-list { counter-reset: why; display: grid; }
.why-list li {
  counter-increment: why;
  position: relative;
  padding: 1.5rem 0 1.5rem 3.25rem;
  border-top: 1px solid var(--line-light);
}
.why-list li:last-child { border-bottom: 1px solid var(--line-light); }
.why-list li::before {
  content: counter(why, decimal-leading-zero);
  position: absolute;
  left: 0; top: 1.45rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--champagne);
}
.why-list h3 { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 500; color: var(--ivory); line-height: 1.2; }
.why-list p { margin-top: 0.4rem; font-size: 0.95rem; }

/* ---------- Approach ---------- */
.approach { background: var(--ivory-deep); }
.steps { display: grid; gap: 1rem; counter-reset: none; }
.step {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: var(--ivory);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.step-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 3.4rem;
  font-weight: 500;
  line-height: 1;
  color: var(--champagne);
}
.step h3 {
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--navy);
}
.step p { margin-top: 0.5rem; font-size: 0.95rem; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 150px;
  gap: 0.75rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--champagne-soft);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute;
  left: 0.6rem; bottom: 0.6rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(248, 244, 236, 0.92);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--navy);
}
.g-a { grid-column: span 2; grid-row: span 2; }
.g-b, .g-c { grid-row: span 2; }
.g-b img { object-position: center 80%; }
.g-f { grid-column: span 2; grid-row: span 2; }

/* ---------- Patient stories ---------- */
.testimonials { background: var(--ivory-deep); }
.testimonials .section-title em { font-style: italic; color: var(--sage-deep); }

.stars { color: #d9a21b; letter-spacing: 0.08em; }
.star-off { color: rgba(27, 42, 58, 0.18); }
.rating-summary { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.35rem 0.6rem; }
.rating-summary .stars { font-size: 1.15rem; }
.rating-summary strong { font-size: 1.1rem; color: var(--navy); }
.rating-source { font-size: 0.9rem; color: var(--muted); }

.review-track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 1rem;
  padding: 0.5rem 0.25rem 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.25rem;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.review-track::-webkit-scrollbar { display: none; }

.review-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.6rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  scroll-snap-align: start;
}
.review-quote {
  height: 2.2rem;
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--champagne);
}
.review-text { flex: 1; margin-top: 0.5rem; color: var(--ink); }
.review-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.review-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sage-deep);
  color: var(--white);
  font-weight: 700;
}
.review-card:nth-child(3n + 2) .review-avatar { background: var(--navy); }
.review-card:nth-child(3n + 3) .review-avatar { background: #a8874f; }
.review-author { font-weight: 700; line-height: 1.3; color: var(--navy); }
.review-sub { font-size: 0.76rem; color: var(--muted); }
.review-rating { display: flex; align-items: center; gap: 0.5rem; font-size: 0.76rem; color: var(--muted); }
.review-rating .stars { font-size: 0.85rem; }
.review-google { flex-shrink: 0; align-self: flex-start; margin-left: auto; }

.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 0.75rem; }
.carousel-btn {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), opacity 0.2s var(--ease);
}
.carousel-btn:hover:not(:disabled) { background: var(--navy); color: var(--ivory); }
.carousel-btn:disabled { opacity: 0.4; cursor: default; }
.carousel-prev svg { transform: rotate(180deg); }
.carousel-dots { display: flex; flex-wrap: wrap; justify-content: center; }
.carousel-dot {
  display: grid;
  place-items: center;
  width: 26px; height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.carousel-dot::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(27, 42, 58, 0.22);
  transition: width 0.3s var(--ease), background-color 0.3s var(--ease);
}
.carousel-dot[aria-current="true"] { width: 38px; }
.carousel-dot[aria-current="true"]::before { width: 24px; background: var(--sage-deep); }

.media-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 3.5rem 0 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-deep);
}
.media-divider::before,
.media-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Horizontal swipe row on small screens, grid on larger ones */
.media-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 64%;
  gap: 0.85rem;
  padding-bottom: 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.media-grid::-webkit-scrollbar { display: none; }
.media-grid > li { scroll-snap-align: start; }
.media-grid-photos { margin-top: 1rem; }

.media-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 14;
  padding: 0;
  overflow: hidden;
  background: var(--navy);
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  color: var(--white);
  text-align: left;
  cursor: pointer;
}
.media-card-photo { aspect-ratio: 4 / 4.4; }
.media-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.media-card:hover img { transform: scale(1.05); }
.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 42, 58, 0) 35%, rgba(27, 42, 58, 0.88) 100%);
}
.media-tag,
.media-play,
.media-zoom,
.media-label { position: absolute; z-index: 1; }
.media-tag {
  top: 0.75rem; left: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.media-play {
  top: 45%; left: 50%;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  padding-left: 3px;
  border-radius: 50%;
  background: rgba(248, 244, 236, 0.95);
  color: var(--navy);
  box-shadow: 0 0 0 8px rgba(248, 244, 236, 0.25);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.media-card:hover .media-play { transform: translate(-50%, -50%) scale(1.08); background: var(--white); }
.media-zoom {
  top: 0.75rem; right: 0.75rem;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(248, 244, 236, 0.92);
  color: var(--navy);
}
.media-label {
  left: 0.75rem; right: 0.75rem; bottom: 0.75rem;
  padding: 0.7rem 0.85rem;
  background: rgba(248, 244, 236, 0.14);
  border: 1px solid rgba(248, 244, 236, 0.22);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.media-label strong { display: block; font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; line-height: 1.15; }
.media-label span { font-size: 0.76rem; opacity: 0.85; }

.reviews-more { display: flex; justify-content: center; margin-top: 2.5rem; }

/* ---------- Media lightbox ---------- */
.lightbox {
  width: min(92vw, 880px);
  max-height: 92vh;
  padding: 0;
  overflow: hidden;
  background: var(--navy);
  border: 0;
  border-radius: var(--radius-lg);
  color: var(--ivory);
}
.lightbox.is-video { width: min(92vw, 460px); }
.lightbox::backdrop { background: rgba(14, 22, 31, 0.82); }
.lightbox-media img,
.lightbox-media video { display: block; width: 100%; max-height: 74vh; object-fit: contain; background: #0e161f; }
.lightbox.is-video .lightbox-media img { aspect-ratio: 9 / 14; object-fit: cover; }
.lightbox-caption { padding: 1rem 1.25rem 1.25rem; font-weight: 600; }
.lightbox-note { margin-top: -0.85rem; padding: 0 1.25rem 1.25rem; font-size: 0.86rem; color: rgba(248, 244, 236, 0.7); }
.lightbox-close {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  background: rgba(248, 244, 236, 0.92);
  border: 0;
  border-radius: 50%;
  color: var(--navy);
  cursor: pointer;
}

/* ---------- FAQ ---------- */
.faq { background: var(--ivory); }
.faq-grid { display: grid; gap: 2.5rem; }
.faq-intro > p:not(.eyebrow) { margin-top: 1.1rem; color: var(--muted); }
.faq-intro > p.faq-help { font-weight: 600; color: var(--navy); }
.faq-cta { margin-top: 1rem; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 1.1rem 3rem 1.1rem 0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before,
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 0.6rem; top: 50%;
  width: 14px; height: 1.5px;
  background: var(--sage-deep);
  transition: transform 0.3s var(--ease);
}
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0deg); }
.faq-item summary:hover { color: var(--sage-deep); }
.faq-answer { padding: 0 2.5rem 1.4rem 0; color: var(--muted); }
.faq-answer a { color: var(--navy); font-weight: 600; }

/* ---------- Appointment ---------- */
.appointment { background: var(--white); }
.appointment-wrap { display: grid; gap: 2rem; }

.appointment-info {
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--sage-soft);
}
.appointment-info > p:not(.eyebrow) { margin-top: 1rem; color: var(--ink); }
.appointment-steps { display: grid; gap: 0.9rem; margin-top: 1.75rem; counter-reset: ap; }
.appointment-steps li {
  counter-increment: ap;
  position: relative;
  padding-left: 2.6rem;
  font-size: 0.95rem;
  color: var(--ink);
}
.appointment-steps li::before {
  content: counter(ap);
  position: absolute;
  left: 0; top: 0;
  display: grid;
  place-items: center;
  width: 1.8rem; height: 1.8rem;
  border-radius: 50%;
  background: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sage-deep);
}
.appointment-steps strong { color: var(--navy); }
.appointment-info .appointment-note {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(86, 112, 91, 0.25);
  font-size: 0.9rem;
}
.appointment-note a { font-weight: 700; color: var(--navy); }

.appointment-form {
  padding: 1.75rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ivory);
}
.form-hint { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.25rem; }
.form-grid { display: grid; gap: 1.1rem; }

.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.req { color: var(--sage-deep); }
.optional { font-weight: 500; color: var(--muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(27, 42, 58, 0.18);
  border-radius: 12px;
  background: var(--white);
  font-size: 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%231b2a3a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.field input::placeholder,
.field textarea::placeholder { color: #9aa2ab; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sage-deep);
  box-shadow: 0 0 0 3px rgba(86, 112, 91, 0.18);
}
.field.has-error input,
.field.has-error select { border-color: var(--error); }
.field-error { min-height: 0; font-size: 0.8rem; font-weight: 600; color: var(--error); }
.field-error:empty { display: none; }

.btn-whatsapp { margin-top: 1.5rem; }
.form-status { margin-top: 1rem; font-size: 0.92rem; color: var(--navy); }
.form-status:empty { display: none; }
.form-status.is-success {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: var(--sage-soft);
}
.form-status.is-error {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: #f6e3df;
  color: var(--error);
}
.form-privacy { margin-top: 1rem; font-size: 0.8rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { background: var(--ivory); }
.contact-grid { display: grid; gap: 2.5rem; }
.contact-info > p:not(.eyebrow) { margin-top: 1rem; color: var(--muted); }

.contact-list { display: grid; gap: 1.4rem; margin-top: 2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list svg {
  flex-shrink: 0;
  box-sizing: content-box;
  padding: 0.6rem;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--sage-deep);
}
.contact-list h3 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-list p,
.contact-list address { margin-top: 0.2rem; color: var(--navy); font-weight: 500; }
.contact-list a { text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--sage-deep); }

.contact-actions { display: grid; gap: 0.75rem; margin-top: 2rem; }

.contact-map {
  overflow: hidden;
  min-height: 340px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--ivory-deep);
}
.contact-map iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; filter: saturate(0.75); }

/* ---------- Footer ---------- */
.site-footer {
  padding-top: 4rem;
  background: var(--navy);
  color: rgba(248, 244, 236, 0.72);
  font-size: 0.94rem;
}
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand p { margin-top: 1.25rem; max-width: 22rem; }
.footer-title {
  margin-bottom: 1rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne);
}
.footer-title-spaced { margin-top: 2rem; }
.footer-col ul { display: grid; gap: 0.5rem; }
.footer-col ul.footer-contact { gap: 0.75rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.7rem; }
.footer-contact svg { flex-shrink: 0; margin-top: 0.2rem; color: var(--champagne); }
.footer-col a { text-decoration: none; overflow-wrap: anywhere; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--ivory); }
.footer-hours li { display: flex; justify-content: space-between; gap: 1rem; }
.footer-hours li span:last-child { color: var(--ivory); }

.footer-privacy {
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--line-light);
}
.footer-privacy p { max-width: 60rem; font-size: 0.86rem; }

.footer-bottom {
  display: grid;
  gap: 1.25rem;
  padding-top: 1.5rem;
  padding-bottom: 6rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.82rem;
}
.footer-bottom a { color: var(--ivory); }
.footer-legal { display: grid; gap: 0.25rem; }

.footer-social { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.footer-social-label { font-weight: 600; color: var(--champagne); }
.social-list { display: flex; gap: 0.5rem; }
.social-list a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: var(--ivory);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.social-list a:hover,
.social-list a:focus-visible { background: var(--ivory); color: var(--navy); border-color: var(--ivory); }

/* ---------- Floating call & WhatsApp buttons ---------- */
.float-btn {
  --float-bottom: 1rem;
  position: fixed;
  right: 1rem; bottom: var(--float-bottom);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: 58px; height: 58px;
  padding: 0 15px;
  border-radius: 999px;
  color: var(--white);
  text-decoration: none;
  overflow: hidden;
  transition: width 0.35s var(--ease), background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.float-btn svg { flex-shrink: 0; }
.float-btn:hover,
.float-btn:focus-visible { transform: translateY(-2px); }
.float-btn-label {
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.whatsapp-float { background: #1f8f5f; box-shadow: 0 14px 30px -12px rgba(18, 80, 52, 0.65); }
.whatsapp-float:hover,
.whatsapp-float:focus-visible { background: #18784f; }

/* Sits one button-height (58px) plus a gap above the WhatsApp button */
.call-float {
  bottom: calc(var(--float-bottom) + 58px + 0.75rem);
  padding: 0 16px;
  background: var(--navy);
  box-shadow: 0 0 0 2px rgba(248, 244, 236, 0.85), 0 14px 30px -12px rgba(27, 42, 58, 0.65);
}
.call-float:hover,
.call-float:focus-visible { background: var(--navy-soft); }

/* ---------- Legal links ---------- */
.legal-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }

/* ---------- Legal & error pages ---------- */
.page-hero {
  padding-top: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.page-meta { margin-top: 1rem; font-size: 0.9rem; color: var(--muted); }

.legal-content { max-width: 48rem; padding-block: 3rem 4.5rem; }
.legal-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--navy);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p + p,
.legal-content p + ul,
.legal-content ul + p { margin-top: 1rem; }
.legal-content ul { display: grid; gap: 0.4rem; padding-left: 1.25rem; list-style: disc; }
.legal-content a { color: var(--sage-deep); overflow-wrap: anywhere; }
.legal-callout {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--sage-deep);
  border-radius: var(--radius-sm);
  background: var(--sage-soft);
  color: var(--navy);
}

.error-page {
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header-h) - 8rem);
  padding-block: 4rem;
  text-align: center;
}
.error-code {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 500;
  line-height: 1;
  color: var(--champagne);
}
.error-page .section-intro { margin: 1rem auto 0; }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2rem; }

.site-footer-compact { padding-top: 0; }
.site-footer-compact .footer-bottom {
  padding-top: 2rem;
  /* Keeps links clear of the floating call/WhatsApp buttons */
  padding-right: calc(var(--gutter) + 72px);
  border-top: 0;
}

/* ---------- Reveal animation ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

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