/* =============================================================
   ALBA — Clínica Dental
   Archetype 04 — Glassmorphism Modern (celeste + blanco override)
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:       #f4f9fb;
  --bg-2:     linear-gradient(135deg, #bfe6f5 0%, #d9f0e8 50%, #eaf6ff 100%);
  --glass:    rgba(255, 255, 255, 0.55);
  --glass-2:  rgba(255, 255, 255, 0.3);
  --ink:      #14293a;
  --ink-soft: #45607a;
  --accent:   #2ea0c9;
  --accent-2: #5fbf9f;
  --line:     rgba(20, 41, 58, 0.12);

  --white: #ffffff;

  --font-display: "Sora", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;

  --container: 1180px;
  --nav-h: 78px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
fieldset { min-width: 0; border: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.02em; font-family: var(--font-display); }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--white); }

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

/* =============================================================
   3. Utilities
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1.2rem; background: var(--ink); color: var(--white);
  z-index: 9999; border-radius: 8px; font-weight: 600;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.section {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
}

.section-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 600; }
.section-sub { color: var(--ink-soft); font-size: 1.05rem; margin-top: .9rem; max-width: 56ch; }

.text-center { text-align: center; margin-inline: auto; }

/* =============================================================
   4. Typography
   ============================================================= */
h1 { font-weight: 600; }
h2 { font-weight: 600; }
h3 { font-weight: 600; }

/* =============================================================
   5. Components
   ============================================================= */

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s var(--ease-out);
  white-space: nowrap;
}

.btn-solid {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--white);
  box-shadow: 0 12px 30px -10px rgba(46, 160, 201, 0.55);
}
.btn-solid:hover { box-shadow: 0 18px 38px -10px rgba(46, 160, 201, 0.65); }

.btn-glass {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
@supports (backdrop-filter: blur(20px)) {
  .btn-glass {
    background: var(--glass-2);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
  }
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.55); }

.btn-ghost {
  color: var(--ink);
  padding-inline: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

/* --- Glass card base (with solid fallback, per gotcha B.12) --- */
.glass-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px -25px rgba(20, 41, 58, 0.35);
}
@supports (backdrop-filter: blur(20px)) {
  .glass-card {
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
  }
}

/* --- Nav --- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 500;
  height: var(--nav-h);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: calc(var(--nav-h) - 16px);
  margin: 8px auto 0;
  padding: 0 1.1rem;
  max-width: calc(var(--container) + 1rem);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 30px -18px rgba(20, 41, 58, 0.4);
}
@supports (backdrop-filter: blur(20px)) {
  .nav-inner {
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center;
  color: var(--white);
  flex-shrink: 0;
}
.brand-mark svg { width: 18px; height: 18px; }

.nav-links {
  display: none;
  align-items: center;
  gap: 1.9rem;
}
.nav-link {
  position: relative;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding-block: .3rem;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: right .4s var(--ease-out);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after,
.nav-link:focus-visible::after { right: 0; }

.nav-cta { display: none; }

.nav-toggle {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(20, 41, 58, 0.06);
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle.is-open .icon-open { display: none; }
.nav-toggle.is-open .icon-close { display: block; }

.nav-mobile {
  position: fixed;
  inset: calc(var(--nav-h) + 6px) 1rem auto 1rem;
  z-index: 490;
  padding: 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 20px 50px -20px rgba(20, 41, 58, 0.45);
  display: flex;
  flex-direction: column;
  gap: .2rem;
  transform: translateY(-14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform .35s var(--ease-out), opacity .3s var(--ease-out), visibility 0s linear .35s;
}
.nav-mobile.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform .35s var(--ease-out), opacity .3s var(--ease-out), visibility 0s;
}
.nav-mobile a {
  padding: .8rem .5rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.nav-mobile a:last-of-type { border-bottom: 0; }
.nav-mobile .btn { margin-top: .7rem; }

/* No-JS fallback: the hamburger toggle can't function without JS, so
   navigation must not depend on it — flow the nav in-document and show
   every link inline, on every viewport, so it's always reachable. */
.no-js .nav { position: static; margin-bottom: 1rem; }
.no-js .nav-inner { flex-wrap: wrap; height: auto; padding-block: .9rem; border-radius: 24px; }
.no-js .nav-links { display: flex; flex-wrap: wrap; gap: .7rem 1.3rem; width: 100%; order: 3; padding-top: .6rem; border-top: 1px solid var(--line); margin-top: .3rem; }
.no-js .nav-cta { display: inline-flex; order: 2; }
.no-js .nav-toggle,
.no-js .nav-mobile { display: none; }

/* --- Placeholder photo block --- */
.ph {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #cdeaf3 0%, #dff3ec 55%, #eef8ff 100%);
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.ph::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,0.65), transparent 55%),
    radial-gradient(circle at 80% 85%, rgba(95, 191, 159, 0.35), transparent 50%);
}
.ph-mark {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--ink-soft);
}
.ph-mark svg { width: 34px; height: 34px; opacity: .55; }
.ph-mark span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .55;
}

.ph-portrait { aspect-ratio: 4 / 5; }
.ph-portrait .ph-mark span::before { content: attr(data-initials); }

.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

/* =============================================================
   6. Sections
   ============================================================= */

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 2.2rem);
  padding-bottom: 3rem;
  overflow: clip;
}

.hero-mesh {
  position: absolute; inset: -10% -10%;
  z-index: -1;
  background:
    radial-gradient(at 18% 22%, #bfe6f5 0%, transparent 55%),
    radial-gradient(at 82% 18%, #eaf6ff 0%, transparent 50%),
    radial-gradient(at 50% 92%, #d9f0e8 0%, transparent 55%);
  filter: blur(70px) saturate(150%);
  animation: meshDrift 30s ease-in-out infinite;
}
@keyframes meshDrift {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.22) rotate(8deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mesh { animation-duration: 60s; }
}

.hero-grid {
  display: grid;
  gap: 2.6rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem .95rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255,255,255,0.6);
  margin-bottom: 1.4rem;
}
.hero-kicker::before { content: "●"; color: var(--accent-2); font-size: .6rem; }

.hero-title {
  font-size: clamp(2.5rem, 6.4vw, 4.4rem);
  max-width: 15ch;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 1.4rem;
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.1rem;
}

.hero-stats {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  margin-top: 2.6rem;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
}
.hero-stat span {
  font-size: .82rem;
  color: var(--ink-soft);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
}

.hero-blob-wrap {
  position: relative;
  width: min(100%, 420px);
  animation: heroBob 6s ease-in-out infinite;
  filter: drop-shadow(0 40px 60px rgba(46, 160, 201, 0.28));
}
@keyframes heroBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-blob-wrap { animation-duration: 9s; }
}

.hero-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem .95rem;
  border-radius: var(--radius-sm);
  font-size: .82rem;
  font-weight: 600;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 16px 34px -18px rgba(20, 41, 58, 0.4);
}
@supports (backdrop-filter: blur(20px)) {
  .hero-badge {
    background: var(--glass);
    backdrop-filter: blur(16px) saturate(170%);
    -webkit-backdrop-filter: blur(16px) saturate(170%);
  }
}
.hero-badge-1 { top: 6%; left: -4%; }
.hero-badge-2 { bottom: 10%; right: -6%; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); flex-shrink: 0; }

/* --- Trust markers --- */
.trust-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.trust-card {
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.trust-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(46,160,201,0.16), rgba(95,191,159,0.2));
  color: var(--accent);
}
.trust-icon svg { width: 22px; height: 22px; }
.trust-card h3 { font-size: 1.02rem; }
.trust-card p { color: var(--ink-soft); font-size: .92rem; }

/* --- Services --- */
.services-grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: 1fr;
}
.service-card {
  padding: 1.8rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 55px -25px rgba(20, 41, 58, 0.4);
}
.service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.service-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--white);
  flex-shrink: 0;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.18rem; }
.service-card p { color: var(--ink-soft); font-size: .95rem; }
.service-meta {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding-top: .9rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.service-meta .price { color: var(--accent); }

/* --- Team --- */
.team-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: 1fr;
}
.team-card {
  padding: 1.7rem;
  display: grid;
  gap: 1.4rem;
}
.team-card .ph-portrait { width: 100%; max-width: 220px; margin-inline: auto; }
.team-body h3 { font-size: 1.28rem; }
.team-role {
  color: var(--accent);
  font-weight: 600;
  font-size: .92rem;
  margin-top: .2rem;
}
.team-bio { color: var(--ink-soft); font-size: .95rem; margin-top: .9rem; }
.team-foot {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: .4rem;
  font-size: .82rem;
  color: var(--ink-soft);
}
.team-foot strong { color: var(--ink); }

/* --- Booking (turnos online) --- */
.booking {
  padding: 1.1rem;
}
@media (min-width: 540px) {
  .booking { padding: 1.6rem; }
}
@media (min-width: 720px) {
  .booking { padding: 2rem; }
}
.booking-steps-nav {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.booking-step-pill {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .95rem .55rem .6rem;
  border-radius: 999px;
  background: rgba(20, 41, 58, 0.05);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background .3s var(--ease-out), color .3s var(--ease-out);
}
.booking-step-pill .num {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(20,41,58,0.12);
  color: var(--ink);
  font-size: .74rem;
}
.booking-step-pill.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--white);
}
.booking-step-pill.is-active .num { background: rgba(255,255,255,0.3); color: var(--white); }
.booking-step-pill.is-done .num { background: var(--accent-2); color: var(--white); }

.booking-panels { position: relative; }
.booking-step { display: none; }
.booking-step.is-active { display: block; }

.js .booking-step {
  animation: stepIn .5s var(--ease-out);
}
@keyframes stepIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.option-grid {
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.option-card {
  position: relative;
  padding: 1.1rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.7);
  text-align: left;
  font-weight: 600;
  font-size: .92rem;
  transition: transform .3s var(--ease-out), background .3s var(--ease-out), border-color .3s var(--ease-out);
}
.option-card:hover { transform: translateY(-3px); }
.option-card.is-selected {
  background: linear-gradient(135deg, rgba(46,160,201,0.18), rgba(95,191,159,0.18));
  border-color: var(--accent);
  color: var(--ink);
}
.option-card input {
  position: absolute; opacity: 0; pointer-events: none;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .3rem;
}
@media (min-width: 480px) {
  .calendar-grid { gap: .5rem; }
}
.calendar-dow {
  text-align: center;
  font-size: .62rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
}
@media (min-width: 480px) {
  .calendar-dow { font-size: .72rem; }
}
.calendar-day {
  aspect-ratio: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.65);
  font-weight: 600;
  font-size: .72rem;
  padding: 0;
  transition: transform .25s var(--ease-out), background .25s var(--ease-out);
}
@media (min-width: 480px) {
  .calendar-day { border-radius: 12px; font-size: .85rem; }
}
.calendar-day:not(:disabled):hover { transform: translateY(-2px); }
.calendar-day.is-selected {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--white);
}
.calendar-day:disabled {
  opacity: .35;
  cursor: not-allowed;
}
.calendar-day span { font-size: .55rem; font-weight: 500; opacity: .8; }
@media (min-width: 480px) {
  .calendar-day span { font-size: .62rem; }
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}

.booking-form-grid {
  display: grid;
  gap: 1rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.field label { font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field select {
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(20,41,58,0.15);
}
.field input:focus-visible, .field select:focus-visible { outline-offset: 0; }

.booking-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

.booking-summary {
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(20,41,58,0.04);
  font-size: .88rem;
  color: var(--ink-soft);
  display: none;
}
.booking-summary.is-visible { display: block; }
.booking-summary strong { color: var(--ink); }

.booking-confirm {
  text-align: center;
  padding: 1rem 0;
}
.booking-confirm-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--white);
}
.booking-confirm-icon svg { width: 30px; height: 30px; }
.booking-confirm h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.booking-confirm p { color: var(--ink-soft); max-width: 42ch; margin-inline: auto; }
.booking-confirm-detail {
  margin-top: 1.4rem;
  padding: 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.6);
  text-align: left;
  font-size: .92rem;
  display: grid;
  gap: .5rem;
}
.booking-confirm-detail div { display: flex; justify-content: space-between; gap: 1rem; }
.booking-confirm-detail span:first-child { color: var(--ink-soft); }
.booking-confirm-detail span:last-child { font-weight: 600; text-align: right; }
.booking-note {
  margin-top: 1.5rem;
  font-size: .78rem;
  color: var(--ink-soft);
  opacity: .8;
}

/* --- Testimonials --- */
.testi-grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: 1fr;
}
.testi-card {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.testi-quote-mark {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--accent-2);
  line-height: 1;
}
.testi-card p.quote { color: var(--ink); font-size: 1.02rem; }
.testi-who { display: flex; flex-direction: column; gap: .1rem; margin-top: auto; }
.testi-who strong { font-size: .95rem; }
.testi-who span { font-size: .8rem; color: var(--ink-soft); }

/* --- FAQ --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.faq-item {
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}
.faq-q .plus {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(46,160,201,0.14);
  display: grid; place-items: center;
  position: relative;
  transition: transform .35s var(--ease-out), background .35s var(--ease-out);
}
.faq-q .plus::before, .faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
}
.faq-q .plus::before { width: 11px; height: 2px; }
.faq-q .plus::after { width: 2px; height: 11px; }
.faq-item[data-open="true"] .faq-q .plus { transform: rotate(135deg); background: var(--accent); }
.faq-item[data-open="true"] .faq-q .plus::before,
.faq-item[data-open="true"] .faq-q .plus::after { background: var(--white); }

.faq-a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease-out);
}
.faq-item[data-open="true"] .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a {
  padding: 0 1.5rem 1.4rem;
  color: var(--ink-soft);
  font-size: .95rem;
  max-width: 62ch;
}

/* No-JS fallback: show all FAQ answers */
.no-js .faq-a-wrap { grid-template-rows: 1fr; }
.no-js .faq-q .plus { display: none; }

/* No-JS fallback: booking widget stacks every step so all fields are
   visible and usable; step-to-step nav buttons are pointless without
   JS so they hide, and the confirm panel (a JS-only result state)
   stays hidden — the real <button type="submit"> below stays visible. */
.no-js .booking-step { display: block !important; }
.no-js .booking-step:not(:last-of-type) { border-bottom: 1px solid var(--line); padding-bottom: 1.8rem; margin-bottom: 1.8rem; }
.no-js .step-nav-btn { display: none; }
.no-js .booking-step-confirm { display: none !important; }
.no-js .booking-steps-nav { display: none; }

/* --- Contact / CTA --- */
.contact-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: 1fr;
}
.contact-card { padding: 1.9rem; }
.contact-list { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.3rem; }
.contact-row { display: flex; gap: .9rem; align-items: flex-start; }
.contact-row-icon {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(46,160,201,0.14);
  color: var(--accent);
  flex-shrink: 0;
}
.contact-row-icon svg { width: 18px; height: 18px; }
.contact-row strong { display: block; font-size: .92rem; }
.contact-row span, .contact-row a { color: var(--ink-soft); font-size: .9rem; }
.contact-row a:hover { color: var(--accent); }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 1.3rem; }
.hours-table td { padding: .55rem 0; font-size: .92rem; border-top: 1px solid var(--line); }
.hours-table td:first-child { color: var(--ink-soft); }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.hours-table tr:first-child td { border-top: 0; }

.map-ph { aspect-ratio: 16 / 11; }

.cta-band {
  padding: 2.6rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.cta-band h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); max-width: 20ch; }

/* --- Footer --- */
.footer {
  padding-block: 3rem 2.2rem;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.footer-brand { max-width: 320px; }
.footer-brand p { color: var(--ink-soft); font-size: .9rem; margin-top: .8rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-nav a { font-size: .9rem; color: var(--ink-soft); }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .8rem;
  font-size: .8rem;
  color: var(--ink-soft);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

/* =============================================================
   7. Effects
   ============================================================= */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.no-js .reveal { opacity: 1; transform: none; }

.magnetic { will-change: transform; }

/* =============================================================
   8. Responsive (mobile-first)
   ============================================================= */

@media (min-width: 540px) {
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .option-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .slot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 720px) {
  .hero-actions { align-items: center; }
  .booking-form-grid { grid-template-columns: 1fr 1fr; }
  .booking-form-grid .field-full { grid-column: 1 / -1; }
  .footer-top { flex-direction: row; }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }

  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-card { grid-template-columns: 200px 1fr; align-items: start; }
  .team-card .ph-portrait { margin-inline: 0; }
  .testi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1.1fr .9fr; }
  .option-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (min-width: 1280px) {
  .hero-title { font-size: clamp(3rem, 5vw, 4.8rem); }
}

/* =============================================================
   9. Reduced motion (only INTRUSIVE effects — see gotcha A.2)
   Do NOT disable: tilts, hovers, fades/reveals, mesh drift, magnetic,
   nav underline, FAQ accordion, hero bob. None of this site's effects
   are autoplay video / particles / big shakes / fast (<4s) loops, so
   nothing needs to be force-disabled here — the slow durations set
   above (mesh 60s, bob 9s) already keep it calm for reduced-motion users.
   ============================================================= */
