/* ============================================================
   AVANT GARDE DENTAL
   587 Kings Hwy, Brooklyn NY

   1. Tokens          — colors + fonts, change these first
   2. Base
   3. Utilities & buttons
   4. Header / dropdown nav
   5. Hero
   6. The implant journey (signature element)
   7. Content blocks
   8. Forms
   9. Footer
  10. Responsive
   ============================================================ */

/* ------------------------- 1. TOKENS ------------------------- */
:root {
  /* Sampled directly from the logo artwork */
  --azure:  #0089FD;   /* AVANT GARDE wordmark */
  --sky:    #0796F2;   /* top of the tooth gradient */
  --teal:   #1AABC3;   /* gradient midpoint */
  --leaf:   #6DCE4B;   /* DENTAL wordmark */
  --grass:  #5BB93E;   /* darker green, for hover states */

  --navy:   #0A2540;   /* headings, footer */
  --slate:  #46596B;   /* body copy */
  --mist:   #F4F8FB;   /* page base */
  --paper:  #FFFFFF;
  --line:   #DCE6EE;   /* hairlines */

  --brand-gradient: linear-gradient(100deg, var(--sky), var(--teal) 48%, var(--leaf));

  --display: "Jost", "Century Gothic", sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 6px;
  --header-h: 84px;

  --t-fast: 160ms ease;
  --t-slow: 500ms cubic-bezier(.22,.61,.36,1);
}

/* -------------------------- 2. BASE -------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--mist);
  color: var(--slate);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--azure); }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--navy);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--leaf); color: var(--navy); }

:focus-visible { outline: 3px solid var(--azure); outline-offset: 3px; }

/* --------------- 3. UTILITIES & BUTTONS --------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-narrow { max-width: 820px; }

.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: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--navy); color: var(--paper);
  padding: .7rem 1.1rem; border-radius: var(--radius);
  text-decoration: none;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 1rem; }

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-paper { background: var(--paper); }
.section-navy { background: var(--navy); color: rgba(255,255,255,.82); }
.section-navy h2, .section-navy h3 { color: var(--paper); }

/* Eyebrow label — tracked caps, echoing the logo's letterspacing */
.eyebrow {
  font-family: var(--display);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--azure);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--brand-gradient);
  flex: none;
  border-radius: 2px;
}
.eyebrow-light { color: var(--leaf); }
.eyebrow-center { justify-content: center; }

.h-xl { font-size: clamp(2.4rem, 6vw, 4.25rem); }
.h-lg { font-size: clamp(2rem, 4.6vw, 3.1rem); }
.h-md { font-size: clamp(1.5rem, 3vw, 2rem); }

.lead {
  font-size: clamp(1.0625rem, 1.7vw, 1.25rem);
  max-width: 58ch;
  margin-top: 1.4rem;
}
.measure { max-width: 68ch; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast),
              border-color var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
}
.btn-lg { padding: 1rem 2.1rem; font-size: .9375rem; }

.btn-primary {
  background: var(--brand-gradient);
  color: var(--paper);
  box-shadow: 0 6px 18px rgba(7,150,242,.24);
}
.btn-primary:hover { box-shadow: 0 8px 26px rgba(7,150,242,.34); color: var(--paper); }

.btn-outline { border-color: var(--line); color: var(--navy); background: var(--paper); }
.btn-outline:hover { border-color: var(--azure); color: var(--azure); }

.btn-light { background: var(--paper); color: var(--navy); }
.btn-light:hover { background: var(--mist); }

.btn-onnavy { border-color: rgba(255,255,255,.35); color: var(--paper); }
.btn-onnavy:hover { border-color: var(--leaf); color: var(--leaf); }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.btn-row-center { justify-content: center; }

/* --------------- 4. HEADER / DROPDOWN NAV --------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--header-h);
}

.logo-link { display: flex; align-items: center; flex: none; }
.logo-link img { height: 46px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-left: auto;
}
.nav > li { list-style: none; position: relative; }
.nav ul { list-style: none; margin: 0; padding: 0; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  white-space: nowrap;   
  font-family: var(--display);
  font-size: .9375rem;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--navy);
  text-decoration: none;
  padding: .6rem .85rem;
  border-radius: var(--radius);
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-link:hover { color: var(--azure); }

/* Active page marker — a slice of the brand gradient */
.nav-link.is-current { color: var(--azure); }
.nav-link.is-current::after {
  content: "";
  position: absolute;
  left: .85rem; right: .85rem;
  bottom: .15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-gradient);
}

.caret {
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  rotate: 45deg;
  translate: 0 -2px;
  transition: rotate var(--t-fast);
}
.has-dropdown[data-open="true"] .caret { rotate: -135deg; translate: 0 2px; }

.dropdown {
  position: absolute;
  top: calc(100% + .4rem);
  left: 0;
  min-width: 232px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(10,37,64,.12);
  padding: .45rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
}
.has-dropdown[data-open="true"] .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.dropdown a {
  display: block;
  padding: .6rem .85rem;
  font-size: .9375rem;
  color: var(--navy);
  text-decoration: none;
  border-radius: 4px;
}
.dropdown a:hover { background: var(--mist); color: var(--azure); }
.dropdown a.is-current { color: var(--azure); font-weight: 600; }

.header-cta { flex: none; }

/* Only used inside the mobile menu — hidden at desktop widths */
.nav-mobile-cta { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
}
.nav-toggle .bar {
  display: block;
  width: 20px; height: 2px;
  background: var(--navy);
  margin: 4px auto;
  border-radius: 2px;
}

/* --------------------------- 5. HERO --------------------------- */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .38;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(4.5rem, 12vw, 9rem);
}
.hero h1 { color: var(--paper); max-width: 20ch; }
.hero .lead { color: rgba(255,255,255,.85); }

/* A thin gradient rule pinned to the bottom of the hero —
   the logo's single continuous stroke, flattened out */
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: var(--brand-gradient);
  z-index: 3;
}

.page-head {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
}
.page-head .lead { margin-top: 1.1rem; }

/* Credential strip */
.credentials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.credential {
  background: var(--paper);
  padding: 1.75rem 1.5rem;
  text-align: center;
}
.credential strong {
  display: block;
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.1;
}
.credential span {
  display: block;
  margin-top: .45rem;
  font-size: .8125rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ------------- 6. THE IMPLANT JOURNEY (signature) ------------- */
.journey { position: relative; }
.journey-track { margin-top: 3.5rem; position: relative; }

.journey-line {
  position: absolute;
  /* Starts at the centre of node 01 and ends at the centre of node 04,
     rather than running edge to edge. 28px = half a node. */
  top: 26px;
  left: 28px;
  right: calc(25% - 1.5rem - 28px);
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--line);
}
.journey-line span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--brand-gradient);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.6s cubic-bezier(.22,.61,.36,1);
}
.journey.is-visible .journey-line span { transform: scaleX(1); }

.journey-steps {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.journey-step { text-align: left; }
.journey-node {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--slate);
  margin-bottom: 1.25rem;
  transition: border-color var(--t-slow), color var(--t-slow);
}
.journey.is-visible .journey-step:nth-child(1) .journey-node { border-color: var(--sky); color: var(--sky); transition-delay: .2s; }
.journey.is-visible .journey-step:nth-child(2) .journey-node { border-color: var(--teal); color: var(--teal); transition-delay: .55s; }
.journey.is-visible .journey-step:nth-child(3) .journey-node { border-color: #43BC86; color: #43BC86; transition-delay: .9s; }
.journey.is-visible .journey-step:nth-child(4) .journey-node { border-color: var(--leaf); color: var(--grass); transition-delay: 1.25s; }

.journey-step h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.journey-step p { font-size: .9375rem; margin: 0; }

/* --------------------- 7. CONTENT BLOCKS --------------------- */
/* Two-column split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}

.split-media { align-self: start; }
.split-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}
.split-media.portrait img { aspect-ratio: 4 / 5; }

/* Service cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(10,37,64,.09); }
.card:hover::before { transform: scaleX(1); }
.card h3 { font-size: 1.3rem; margin-bottom: .65rem; }
.card p { font-size: .9375rem; flex: 1; margin: 0; }
.card-go {
  font-family: var(--display);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--azure);
  margin-top: 1.4rem;
}
.card-go::after { content: " \2192"; }

/* Service detail groups */
.service-group {
  padding-block: 2.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(1.5rem, 5vw, 4rem);
}
.service-group:first-of-type { border-top: 0; }
.service-group h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.service-list { list-style: none; margin: 0; padding: 0; }
.service-list li {
  padding: .85rem 0 .85rem 1.9rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.service-list li:last-child { border-bottom: 0; }
.service-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.5rem;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--brand-gradient);
}
.service-list strong {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  color: var(--navy);
  font-size: 1.05rem;
}
.service-list span { font-size: .9375rem; }

/* Doctor cards */
.doctors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.doctor {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.doctor img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; }
.doctor-body { padding: 1.75rem; }
.doctor-body h3 { font-size: 1.35rem; }
.doctor-role {
  font-family: var(--display);
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--leaf);
  margin: .4rem 0 1rem;
}
.doctor-body p { font-size: .9375rem; }

/* Photo grid — office tour */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}
.gallery figcaption {
  margin-top: .7rem;
  font-size: .875rem;
  color: var(--slate);
}
.gallery .tall img { aspect-ratio: 3 / 4; }

/* Reviews */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.review {
  margin: 0;
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.75rem 1.75rem 1.75rem 2rem;
}
.review::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--brand-gradient);
}
.review p {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--navy);
}
.review cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: .8125rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--slate);
}

/* Info rows — hours, contact details */
.info-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--line);
}
.info-list li:last-child { border-bottom: 0; }
.info-list dt, .info-list .label {
  font-family: var(--display);
  color: var(--navy);
  letter-spacing: .04em;
}
.info-list .closed { color: #93A3B1; }

.contact-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.contact-block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.contact-block h3 {
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--azure);
  margin-bottom: .75rem;
}
.contact-block a { text-decoration: none; }
.contact-block a:hover { text-decoration: underline; }
.big-link {
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--navy) !important;
  line-height: 1.3;
}

/* Map */
.map-frame {
  margin-top: 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 440px; border: 0; }

/* --------------------------- 8. FORMS --------------------------- */
.form {
  margin-top: 2.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.field { display: flex; flex-direction: column; gap: .4rem; }
.field-full { grid-column: 1 / -1; }

.field label {
  font-family: var(--display);
  font-size: .8125rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
}
.field .req { color: var(--azure); }

.field input,
.field select,
.field textarea {
  font-family: var(--body);
  font-size: 1rem;
  color: var(--navy);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .8rem .9rem;
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--azure);
  background: var(--paper);
}
.form-note { font-size: .875rem; margin-top: 1.25rem; }

/* --------------------------- 9. FOOTER --------------------------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.72);
  font-size: .9375rem;
}
.site-footer::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--brand-gradient);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.footer-wordmark {
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
  display: block;
  margin-bottom: 1.1rem;
}
.footer-wordmark span { color: var(--leaf); }

.site-footer h3 {
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 1rem;
}
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: var(--leaf); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: .2rem 0; }
.site-footer address { font-style: normal; }

.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.footer-hours .closed { color: rgba(255,255,255,.4); }

.footer-legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.13);
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
}
.footer-legal p { margin: 0; }

/* CTA band */
.cta-band { background: var(--navy); text-align: center; }
.cta-band .eyebrow { justify-content: center; }
.cta-band h2 { color: var(--paper); }
.cta-band p { color: rgba(255,255,255,.8); margin-inline: auto; }

/* ------------------------ 10. RESPONSIVE ------------------------ */
@media (max-width: 1080px) {
  .nav-link { padding-inline: .6rem; font-size: .875rem; }
  .credentials { grid-template-columns: repeat(2, 1fr); }
  .journey-steps { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .journey-line { display: none; }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .service-group { grid-template-columns: 1fr; gap: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 34px rgba(10,37,64,.12);
    padding: .75rem var(--gutter) 1.5rem;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    display: none;
    margin-left: 0;
  }
  .nav.is-open { display: flex; }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: .95rem .25rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1.05rem;
  }
  .nav-link.is-current::after { left: .25rem; right: auto; width: 28px; bottom: .35rem; }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    box-shadow: none;
    min-width: 0;
    padding: .25rem 0 .5rem 1.25rem;
    display: none;
    background: none;
  }
  .has-dropdown[data-open="true"] .dropdown { display: block; }
  .dropdown a { padding: .6rem .25rem; }

  .nav-mobile-cta { display: block; margin-top: 1.25rem; }
  .nav-mobile-cta .btn { width: 100%; }
}

@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .logo-link img { height: 38px; }
  .credentials { grid-template-columns: 1fr; }
  .journey-steps { grid-template-columns: 1fr; gap: 2rem; }
  .field-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .reviews, .doctors, .gallery { grid-template-columns: 1fr; }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .journey-line span { transform: scaleX(1); transition: none; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
/* Gallery captions: available to screen readers and the lightbox,
   not shown under the thumbnails. */
.gallery figure figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
