/* ==========================================================================
   Karama Dental Family Practice — design system
   Light, calm, trustworthy. Tokens live in :root — use them everywhere.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #FBFAF7;
  --bg-soft: #F1EFE9;
  --bg-card: #FFFFFF;
  --ink: #22331F;
  --body: #4E5C4B;
  --green: #3E9E40;
  --green-deep: #2E7D32;
  --green-mid: #6BA543;
  --green-bright: #6FCF6F;
  --green-pale: #E3F1E1;
  --honey: #D9A441;
  --line: rgba(62, 158, 64, .18);
  --font-display: 'Nunito', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 20px;
  --nav-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-soft: 0 20px 50px -20px rgba(34, 51, 31, .18);
  --shadow-card: 0 12px 34px -18px rgba(34, 51, 31, .22);
}

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

* { margin: 0; }

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

body {
  font-family: var(--font-body);
  font-size: .97rem;
  line-height: 1.55;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-deep); }

h1, h2 {
  font-family: var(--font-display);
  color: var(--green-mid);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 800;
}
h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 700;
}

button { font: inherit; cursor: pointer; }
address { font-style: normal; }

::selection { background: var(--green-pale); color: var(--green-deep); }

/* ---------- Layout primitives ---------- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  width: 100%;
}

.section {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.25rem, 3vh, 1.9rem) 0;
  scroll-margin-top: var(--nav-h);
  position: relative;
}

.section--soft { background: var(--bg-soft); }
.section--green-pale { background: var(--green-pale); }

.section-head { max-width: 640px; margin-bottom: clamp(1rem, 2.5vh, 1.5rem); }
.section-head h2 {
  font-size: clamp(1.45rem, 2.7vw, 1.8rem);
  margin: .4rem 0 .55rem;
}
.section-head .lede {
  font-size: clamp(.93rem, 1.4vw, 1.02rem);
  color: var(--body);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--honey);
}

/* ---------- Preview banner ---------- */
.preview-banner {
  background: linear-gradient(90deg, #A5D8A4, #8FCB8E);
  color: #1E4620;
  text-align: center;
  padding: .55rem 1rem;
  font-size: .78rem;
  letter-spacing: .02em;
}
.preview-banner p { margin: 0; font-weight: 600; }
.preview-banner__dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green-deep);
  margin: 0 .55em;
  vertical-align: middle;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(30, 26, 20, .93);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(155, 209, 154, .22);
  transition: box-shadow .35s var(--ease), background .35s var(--ease);
}
.nav--scrolled {
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .5);
  background: rgba(30, 26, 20, .97);
}
.nav__inner {
  height: var(--nav-h);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand { display: flex; flex-direction: column; line-height: 1.05; }
.brand__wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.28rem;
  color: var(--green-bright);
  letter-spacing: -0.01em;
}
.brand__tag {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(245, 242, 234, .62);
}

.nav__links {
  display: flex;
  gap: 1.7rem;
  margin-left: auto;
}
.nav__links a {
  color: #F5F2EA;
  font-weight: 500;
  font-size: .95rem;
  position: relative;
  padding: .25rem 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--green-bright);
  transition: width .3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 1rem; }
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #F5F2EA;
  font-weight: 600;
  font-size: .92rem;
  white-space: nowrap;
}
.nav__phone svg { color: var(--green-bright); }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid rgba(245, 242, 234, .28);
  border-radius: 12px;
  padding: 0 11px;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: #F5F2EA;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__menu {
  background: #241F17;
  border-bottom: 1px solid rgba(155, 209, 154, .22);
  padding: .75rem clamp(1.25rem, 4vw, 2.5rem) 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  box-shadow: var(--shadow-soft);
}
.nav__menu[hidden] { display: none; }
.nav__menu a {
  padding: .8rem .25rem;
  color: #F5F2EA;
  font-weight: 600;
  border-bottom: 1px solid rgba(245, 242, 234, .1);
}
.nav__menu a.btn { text-align: center; border-bottom: 0; margin-top: .5rem; }
.nav__menu-phone { color: var(--green-bright); text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 28px -14px rgba(62, 158, 64, .55);
}
.btn--green:hover {
  background: var(--green-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 20px 34px -14px rgba(62, 158, 64, .6);
}
.btn--ghost {
  background: transparent;
  color: var(--green-deep);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--green);
  color: var(--green-deep);
  transform: translateY(-2px);
}
.btn--honey {
  background: var(--honey);
  color: var(--ink);
}
.btn--honey:hover { filter: brightness(1.05); transform: translateY(-2px); }
.btn--sm { padding: .62rem 1.35rem; font-size: .9rem; }

/* White pill CTA on the dark nav — matches their brand's white buttons */
.nav .btn--green { background: #fff; color: var(--green-deep); box-shadow: none; }
.nav .btn--green:hover { background: var(--green-pale); color: var(--green-deep); }

/* ---------- Hero ---------- */
.hero {
  min-height: calc(100vh - 110px);
  min-height: calc(100svh - 110px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 1.25rem 0 2.5rem;
  scroll-margin-top: var(--nav-h);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52rem 32rem at 88% -8%, var(--green-pale) 0%, transparent 62%),
    radial-gradient(38rem 26rem at -6% 92%, rgba(217, 164, 65, .14) 0%, transparent 60%),
    var(--bg);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: center;
}

.hero__title {
  font-size: clamp(2rem, 4.4vw, 3.05rem);
  margin: .7rem 0 .8rem;
  letter-spacing: -0.015em;
}
.hero__sub {
  font-size: clamp(.98rem, 1.5vw, 1.08rem);
  max-width: 34rem;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.2rem;
}

.trust-chips {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.25rem;
}
.trust-chips li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem .9rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-card);
}
.trust-chips li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--honey);
  flex: none;
}

.hero__media { position: relative; }
.hero__frame {
  margin: 0;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  position: relative;
}
.hero__frame img {
  width: 100%;
  aspect-ratio: 4 / 4;
  object-fit: cover;
}
.hero__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(251, 250, 247, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .6rem .95rem;
  display: flex;
  flex-direction: column;
  gap: .1rem;
  box-shadow: var(--shadow-card);
}
.hero__badge strong {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: .95rem;
}
.hero__badge span { font-size: .78rem; color: var(--body); }

.hero__scroll {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  background: rgba(255, 255, 255, .6);
  transition: transform .3s var(--ease);
}
.hero__scroll:hover { transform: translateX(-50%) translateY(4px); color: var(--green-deep); }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}
.card__icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--green-pale);
  color: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.card h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.card p { font-size: .97rem; }

/* ---------- Forms ---------- */
.field { margin-bottom: .8rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: .85rem;
  color: var(--ink);
  margin-bottom: .3rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--bg-card);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: .65rem .9rem;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(62, 158, 64, .14);
}
.field--grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: .8rem; }
.field--grid .field { margin-bottom: 0; }

.form-note { font-size: .85rem; color: var(--body); margin-top: 1rem; }

.book-done {
  text-align: center;
  padding: 3rem 2rem;
}
.book-done__check {
  width: 72px; height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.book-done h3 { font-size: 1.6rem; margin-bottom: .6rem; }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal="2"] { transition-delay: .12s; }
[data-reveal="3"] { transition-delay: .24s; }
[data-reveal="4"] { transition-delay: .36s; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Footer ---------- */
.footer {
  background: var(--green-deep);
  color: rgba(251, 250, 247, .88);
  padding: 4rem 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer .brand__wordmark--footer { color: #fff; font-size: 1.5rem; }
.footer .brand__tag { color: rgba(251, 250, 247, .65); }
.footer__note { margin-top: 1.1rem; font-size: .94rem; max-width: 24rem; }
.footer__lang {
  margin-top: .8rem;
  font-size: .88rem;
  color: var(--honey);
  font-weight: 600;
}
.footer h3 {
  color: #fff;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer__nav ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer__nav a { color: rgba(251, 250, 247, .82); font-size: .95rem; }
.footer__nav a:hover { color: #fff; }
.footer__contact address { font-size: .95rem; line-height: 1.7; }
.footer__phone {
  display: inline-block;
  margin: .8rem 0 1.6rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
}
.footer__phone:hover { color: var(--honey); }
.footer__hours dl { display: grid; gap: .4rem; }
.footer__hours dl > div { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; }
.footer__hours dt { color: rgba(251, 250, 247, .65); }
.footer__hours dd { margin: 0; }
.footer__base {
  border-top: 1px solid rgba(251, 250, 247, .16);
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .84rem;
  color: rgba(251, 250, 247, .62);
}
.footer__base p { margin: 0; }
.footer__top a { color: rgba(251, 250, 247, .82); font-weight: 600; }
.footer__top a:hover { color: #fff; }

/* ---------- Breakpoints ---------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 420px; }
  .hero { padding-top: 1rem; }
  .hero__scroll { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.25rem; }
}

@media (max-width: 640px) {
  .nav__phone span { display: none; }
  .nav__actions .btn--sm { display: none; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .field--grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__base { flex-direction: column; text-align: center; }
}

@media (max-width: 390px) {
  /* (compact mobile overrides live at end of file, after the reconciled responsive block) */
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ==========================================================================
   Section-worker reconciliation (assembly, 2026-10-14)
   Classes from the partials mapped into the design system — token-based,
   soft shadows, rounded. Structural wrappers (hero__copy, footer__brand)
   get only grid overflow guards.
   ========================================================================== */
.hero__copy { min-width: 0; }
.footer__brand { min-width: 0; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .9rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.05rem 1rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}
.service-icon {
  width: 40px; height: 40px;
  border-radius: 13px;
  background: var(--green-pale);
  color: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .7rem;
}
.service-icon svg { width: 20px; height: 20px; }
.service-card h3 { font-size: 1rem; margin-bottom: .3rem; }
.service-card p { font-size: .85rem; }
.services-also {
  margin-top: 1rem;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
  font-size: .88rem;
}

/* ---------- Why ---------- */
.why-layout {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: center;
}
.why-media { margin: 0; min-width: 0; position: relative; }
.why-media img {
  width: 100%;
  max-height: 46vh;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.why-media img.why-media--second {
  position: absolute; right: -1rem; bottom: -1rem; width: 34%;
  aspect-ratio: 1 / 1; object-fit: cover; max-height: none;
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.why-points { display: grid; gap: 1rem; }
.why-point h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.why-point p { font-size: .9rem; }

/* ---------- Health funds ---------- */
.fund-chips {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 1.1rem;
}
.fund-chip {
  display: inline-block;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: .85rem;
  border-radius: 999px;
  padding: .45rem .95rem;
  box-shadow: var(--shadow-card);
}
.fund-note {
  display: flex;
  align-items: center;
  gap: .8rem;
  flex-wrap: wrap;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: .9rem 1.15rem;
}
.fund-note p { margin: 0; font-size: .95rem; }
.fund-badge {
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: .84rem;
  letter-spacing: .03em;
  border-radius: 999px;
  padding: .5rem 1.05rem;
  white-space: nowrap;
}

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.review-card {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.15rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}
.review-stars {
  color: var(--honey);
  font-size: .95rem;
  letter-spacing: .18em;
}
.review-card p { font-size: .88rem; color: var(--ink); flex: 1; }
.review-card footer { display: flex; flex-direction: column; gap: .25rem; }
.review-card cite {
  font-style: normal;
  font-weight: 600;
  font-size: .82rem;
  color: var(--green-deep);
}
.review-tag { font-size: .78rem; color: var(--body); }

/* ---------- Visit / booking ---------- */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}
.visit-info h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.visit-info h3:not(:first-child) { margin-top: 1.15rem; }
.visit-phone { margin-top: .6rem; }
.visit-phone a {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--ink);
}
.visit-phone a:hover { color: var(--green); }
.hours-list { display: grid; gap: .3rem; }
.hours-list > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .88rem;
  border-bottom: 1px dashed var(--line);
  padding-bottom: .3rem;
}
.hours-list dt { font-weight: 600; color: var(--ink); }
.hours-list dd { margin: 0; }
.emergency-note {
  margin-top: 1rem;
  background: var(--green-pale);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .7rem .9rem;
  font-size: .85rem;
}
.booking-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(1rem, 2.5vw, 1.5rem);
}
.booking-card h3 { font-size: 1.15rem; margin-bottom: .85rem; }
.booking-card .btn { width: 100%; margin-top: .25rem; }
.optional { font-weight: 400; color: var(--body); font-size: .82rem; }
.prototype-note {
  margin-top: .7rem;
  text-align: center;
  font-size: .85rem;
  font-style: italic;
  color: var(--body);
}

/* ---------- Reveal stagger delays (data-reveal-delay="0".."7") ---------- */
[data-reveal-delay="0"] { transition-delay: 0s; }
[data-reveal-delay="1"] { transition-delay: .07s; }
[data-reveal-delay="2"] { transition-delay: .14s; }
[data-reveal-delay="3"] { transition-delay: .21s; }
[data-reveal-delay="4"] { transition-delay: .28s; }
[data-reveal-delay="5"] { transition-delay: .35s; }
[data-reveal-delay="6"] { transition-delay: .42s; }
[data-reveal-delay="7"] { transition-delay: .49s; }

/* ---------- Reconciled responsive ---------- */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-layout { grid-template-columns: 1fr; }
  .why-media { max-width: 560px; }
  .visit-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-media img { max-height: 30vh; }
  .why-media img.why-media--second { right: -.6rem; bottom: -.6rem; width: 32%; }
}

/* ---------- Compact mobile (390px and below) ----------
   Placed last so these beat both the base system and the reconciled
   responsive block. Genuinely smaller elements — no carousels, no JS. */
@media (max-width: 390px) {
  body { font-size: .93rem; }
  .section { padding: 1.1rem 0; }
  .section-head { margin-bottom: .75rem; }
  .section-head h2 { font-size: 1.3rem; }
  .section-head .lede { font-size: .85rem; }
  .hero { padding: .75rem 0 1.75rem; }
  .hero__title { font-size: clamp(1.9rem, 9.5vw, 2.2rem); }
  .hero__media { max-width: 100%; }
  .hero__frame img { aspect-ratio: 4 / 3; max-height: 240px; }
  .btn { padding: .78rem 1.3rem; font-size: .9rem; }
  .trust-chips { margin-top: 1rem; }
  .trust-chips li { font-size: .75rem; padding: .42rem .8rem; }
  .services-grid { gap: .5rem; }
  .service-card { display: grid; grid-template-columns: 28px 1fr; column-gap: .55rem; align-items: center; padding: .6rem .6rem; }
  .service-card .service-icon { grid-row: 1; margin-bottom: 0; width: 28px; height: 28px; border-radius: 9px; }
  .service-card .service-icon svg { width: 15px; height: 15px; }
  .service-card h3 { grid-row: 1; font-size: .85rem; margin: 0; }
  .service-card p { grid-column: 1 / -1; margin-top: .35rem; font-size: .72rem; line-height: 1.45; }
  .services-also { font-size: .75rem; margin-top: .7rem; padding-top: .6rem; }
  .why-media img { max-height: 22vh; }
  .why-points { gap: .75rem; }
  .why-point h3 { font-size: 1rem; }
  .why-point p { font-size: .83rem; }
  .review-card { padding: 1rem .9rem; }
  .review-card p { font-size: .84rem; }
  .visit-grid { gap: 1rem; }
  .visit-cols { display: grid; grid-template-columns: 1.05fr .95fr; gap: .9rem; }
  .visit-col { min-width: 0; }
  .visit-info h3 { font-size: .95rem; }
  .visit-info h3:not(:first-child) { margin-top: .9rem; }
  .visit-info address { font-size: .82rem; }
  .visit-phone a { font-size: 1.05rem; }
  .hours-list > div { font-size: .78rem; padding-bottom: .22rem; }
  .booking-card { padding: .9rem .85rem; }
  .booking-card h3 { font-size: 1.08rem; }
  .booking-card .btn { padding: .7rem 1.2rem; }
  .field { margin-bottom: .65rem; }
  .field label { font-size: .8rem; margin-bottom: .25rem; }
  .field input, .field select, .field textarea { padding: .55rem .75rem; font-size: .88rem; }
  .field textarea { min-height: 56px; }
  .field--grid { gap: .6rem; margin-bottom: .55rem; }
  .prototype-note { font-size: .78rem; margin-top: .5rem; }
  .emergency-note { font-size: .75rem; padding: .55rem .7rem; margin-top: .8rem; }
}
