/* ==========================================================================
   Grounded Wellness Chiropractic — styles.css
   Single stylesheet: design tokens, base, layout, components, responsive.
   Palette: Sage + warm sand (earth tones). WCAG AA contrast.
   ========================================================================== */

/* ------------------------------------------------------------------ Tokens */
:root {
  /* Brand colors */
  --forest: #3a4439;        /* headings / body text  (on cream: ~9.6:1) */
  --forest-soft: #55604f;   /* secondary text                          */
  --sage: #7c8b6f;          /* primary / decorative                    */
  --sage-dark: #5d6a52;     /* sage for text/links on light bg (AA)    */
  --sage-darker: #4a5541;   /* hover                                   */
  --terracotta: #c57b57;    /* accent / decorative                     */
  --terracotta-cta: #b35f3a;/* CTA bg — white text AA (~4.6:1)         */
  --terracotta-hover: #9c4f2e;
  --sand: #f4efe6;          /* section background                       */
  --sand-deep: #ece3d4;     /* alt band / borders                      */
  --cream: #fbf8f2;         /* page background                         */
  --white: #ffffff;
  --line: #e2d9c9;          /* hairline borders                        */

  /* Typography */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Scale / spacing */
  --maxw: 1200px;
  --maxw-prose: 720px;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(58, 68, 57, 0.06), 0 4px 16px rgba(58, 68, 57, 0.05);
  --shadow-md: 0 6px 24px rgba(58, 68, 57, 0.10);
  --gap: clamp(1rem, 3vw, 2rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  line-height: 1.7;
  color: var(--forest);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.15;
  color: var(--forest);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 1.6rem + 2.4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1rem; }
a { color: var(--sage-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--sage-darker); }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin: 0.3rem 0; }

strong { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

/* Focus — visible for keyboard users everywhere */
:focus-visible {
  outline: 3px solid var(--terracotta-cta);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  z-index: 1000;
  background: var(--forest);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0.5rem; color: var(--white); }

/* ----------------------------------------------------------- Layout helpers */
.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.prose { max-width: var(--maxw-prose); }
.prose-wide { max-width: 920px; }
.section { padding-block: var(--section-y); }
.section--sand { background: var(--sand); }
.section--forest { background: var(--forest); color: var(--cream); }
.section--forest h2, .section--forest h3 { color: var(--cream); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--terracotta-cta);
  margin: 0 0 0.75rem;
}
.section--forest .eyebrow { color: #e0a684; }
.lead { font-size: clamp(1.1rem, 1.02rem + 0.4vw, 1.3rem); color: var(--forest-soft); }
.section--forest .lead { color: #d9ddd3; }
.stack > * + * { margin-top: 1rem; }

/* ---------------------------------------------------------------- Buttons */
.btn {
  --btn-bg: var(--terracotta-cta);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.1s var(--ease), color 0.2s var(--ease);
}
.btn:hover { background: var(--terracotta-hover); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--outline {
  background: transparent;
  color: var(--sage-darker);
  border-color: var(--sage);
}
.btn--outline:hover { background: var(--sage); color: #fff; border-color: var(--sage); }
.btn--on-forest { background: var(--cream); color: var(--forest); }
.btn--on-forest:hover { background: #fff; color: var(--forest); }
.btn--ghost-light { background: transparent; color: var(--cream); border-color: rgba(251,248,242,0.6); }
.btn--ghost-light:hover { background: rgba(251,248,242,0.12); color: #fff; }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.btn-row.center { justify-content: center; }

/* ------------------------------------------------------------------ Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand img { height: 50px; width: auto; }
.brand-text {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--forest);
  line-height: 1.05;
  font-weight: 500;
}
.brand-text small { display: block; font-family: var(--font-body); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage-dark); font-weight: 600; }

/* Primary nav */
.primary-nav { display: flex; align-items: center; gap: 0.25rem; }
.primary-nav > ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a, .nav-toggle-sub {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--forest);
  text-decoration: none;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-sm);
  background: none;
  border: 0;
  font-family: var(--font-body);
  cursor: pointer;
}
.primary-nav a:hover, .nav-toggle-sub:hover { background: var(--sand); color: var(--forest); }
.primary-nav a[aria-current="page"] { color: var(--terracotta-cta); font-weight: 600; }

/* Dropdowns */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 0.3rem);
  left: 0;
  min-width: 230px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 0.4rem;
  list-style: none;
  margin: 0;
  display: none;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown,
.dropdown[data-open="true"] { display: block; }
/* Invisible bridge across the gap between the trigger and the menu, so moving
   the cursor down to an option doesn't drop hover and close the dropdown. */
.dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.5rem;
  height: 0.5rem;
}
.dropdown a { display: block; padding: 0.55rem 0.7rem; font-size: 0.92rem; }
.nav-toggle-sub .chev { transition: transform 0.2s var(--ease); }
.has-dropdown:hover .chev, .has-dropdown:focus-within .chev { transform: rotate(180deg); }

.header-cta { display: inline-flex; align-items: center; gap: 0.6rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--forest); border-radius: 2px; transition: transform 0.2s var(--ease), opacity 0.2s 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); }

/* ------------------------------------------------------------------- Hero */
.hero { position: relative; overflow: hidden; }
.hero--home {
  background: linear-gradient(160deg, var(--sand) 0%, var(--cream) 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-block: clamp(2.5rem, 6vw, 5rem);
}
.hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3.4;
  background: var(--sand-deep);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero h1 { margin-bottom: 0.6rem; }

/* Compact page hero (interior pages) */
.page-hero { background: var(--sand); padding-block: clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); }
.page-hero .lead { margin-bottom: 1.25rem; }
.page-hero--media { background: var(--sand); }
.page-hero--media .hero-grid { padding-block: clamp(2rem, 5vw, 3.5rem); }

/* --------------------------------------------------------------- Sections */
.section-head { max-width: var(--maxw-prose); margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; }

/* Cards grid */
.grid { display: grid; gap: var(--gap); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  display: flex;
  flex-direction: column;
}
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--forest-soft); }
.card .card-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--sand); display: grid; place-items: center;
  margin-bottom: 1rem; color: var(--sage-dark);
}
.card-media { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16/10; margin-bottom: 1rem; background: var(--sand-deep); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-link { text-decoration: none; color: inherit; }
.card-cta { margin-top: auto; padding-top: 0.75rem; font-weight: 600; color: var(--terracotta-cta); }

/* Feature / two-col media+text */
.media-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.media-text.reverse .media-text__media { order: 2; }
.media-text__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3.2; background: var(--sand-deep); }
.media-text__media img { width: 100%; height: 100%; object-fit: cover; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); counter-reset: step; }
.step { text-align: center; }
.step-num {
  width: 54px; height: 54px; margin: 0 auto 1rem;
  border-radius: 50%; background: var(--terracotta-cta); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-size: 1.4rem;
}
.step img { width: 96px; height: 96px; object-fit: contain; margin: 0 auto 1rem; }

/* Chips (conditions) */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0; list-style: none; }
.chips li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1rem;
  font-size: 0.92rem;
  margin: 0;
  color: var(--forest);
}
.section--sand .chips li { background: var(--cream); }

/* Definition / credential list */
.cred-list { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.cred-list li { position: relative; padding-left: 1.9rem; }
.cred-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--sage-dark); font-weight: 700;
  background: var(--sand); width: 1.4rem; height: 1.4rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.8rem;
}

/* FAQ accordion (native <details>) */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 0.75rem; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.3rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--forest);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
  color: var(--terracotta-cta);
  transition: transform 0.2s var(--ease);
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 1.3rem 1.2rem; color: var(--forest-soft); }
.faq .faq-body > :last-child { margin-bottom: 0; }

/* Testimonial */
.testimonial {
  max-width: 760px; margin-inline: auto; text-align: center;
}
.testimonial blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem);
  line-height: 1.4;
  margin: 0 0 1rem;
  color: var(--forest);
}
.section--forest .testimonial blockquote { color: var(--cream); }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--terracotta-cta); }
.section--forest .testimonial cite { color: #e0a684; }
.quote-mark { font-family: var(--font-head); font-size: 3rem; color: var(--terracotta); line-height: 0.5; }

/* CTA band */
.cta-band { background: var(--forest); color: var(--cream); border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.cta-band h2 { color: var(--cream); }
.cta-band p { color: #d9ddd3; max-width: 560px; margin-inline: auto; }

/* Info / contact blocks */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.info-card h3 { margin-bottom: 0.5rem; }
.info-card address { font-style: normal; color: var(--forest-soft); }
.info-list { list-style: none; padding: 0; }
.info-list li { display: flex; gap: 0.6rem; align-items: baseline; padding: 0.35rem 0; }
.info-list .label { font-weight: 600; min-width: 5.5rem; color: var(--forest); }

/* Forms */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field .req { color: var(--terracotta-cta); }
.field input, .field textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--forest);
  width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--sage); outline: 3px solid rgba(124,139,111,0.35); outline-offset: 0; }
.field textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: 0.88rem; color: var(--forest-soft); }
.form-callout {
  font-size: 0.9rem;
  color: var(--forest-soft);
  background: var(--sand);
  border-left: 3px solid var(--terracotta);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  margin-top: 1rem;
}
.form-status {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
}
.form-status[data-state="ok"] { color: var(--sage-darker); background: rgba(124,139,111,0.16); }
.form-status[data-state="error"] { color: var(--terracotta-hover); background: rgba(197,123,87,0.14); }

/* Price table / list */
.price-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(3, 1fr); }
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.price-card .price { font-family: var(--font-head); font-size: 2rem; color: var(--forest); margin: 0.2rem 0 0.6rem; }
.price-card .price small { font-family: var(--font-body); font-size: 0.85rem; color: var(--forest-soft); font-weight: 500; }
.price-card.featured { border-color: var(--sage); box-shadow: 0 0 0 2px var(--sage) inset, var(--shadow-sm); }
.addon-list { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.addon-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px dashed var(--line); }
.addon-list li:last-child { border-bottom: 0; }
.addon-list .a-price { font-weight: 600; color: var(--terracotta-cta); white-space: nowrap; }

/* Blog */
.post-card { padding: 0; overflow: hidden; }
.post-card .card-media { margin: 0; border-radius: 0; aspect-ratio: 16/9; }
.post-card .post-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: 0.82rem; color: var(--sage-dark); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.5rem; }
.post-card h3 { font-size: 1.2rem; }
.article { max-width: var(--maxw-prose); margin-inline: auto; }
.article img { border-radius: var(--radius); margin: 1.5rem 0; }
.article h2 { margin-top: 2rem; }
.article-hero { aspect-ratio: 16/7; border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; background: var(--sand-deep); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; }

/* Resource partner cards */
.partner-card { text-align: left; }
.partner-card .logo-wrap { height: 70px; display: flex; align-items: center; margin-bottom: 0.9rem; }
.partner-card .logo-wrap img { max-height: 70px; width: auto; object-fit: contain; }

/* Breadcrumb */
.breadcrumb { font-size: 0.85rem; color: var(--forest-soft); margin-bottom: 1rem; }
.breadcrumb a { color: var(--sage-dark); }

/* ------------------------------------------------------------------ Footer */
.site-footer { background: var(--forest); color: #d4d9cd; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; margin-top: var(--section-y); }
.site-footer a { color: #d4d9cd; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer-brand img { height: 54px; margin-bottom: 1rem; }
.footer-col h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; color: #fff; font-family: var(--font-body); font-weight: 600; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 0.45rem 0; }
.footer-col address { font-style: normal; line-height: 1.6; margin-bottom: 1rem; }
.footer-col address a { text-decoration: none; }
.social-row { display: flex; gap: 0.6rem; margin-top: 0.5rem; }
.social-row a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.25); border-radius: 50%; display: grid; place-items: center; }
.social-row a:hover { background: rgba(255,255,255,0.12); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; justify-content: space-between; align-items: center; font-size: 0.85rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; padding: 0; margin: 0; }
.footer-bandera { color: #e0a684; font-weight: 600; }

/* Utility spacing */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.hide { display: none !important; }

/* ------------------------------------------------------------- Responsive */
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  /* Mobile nav */
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0.25rem;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  }
  .primary-nav[data-open="true"] { transform: translateY(0); opacity: 1; visibility: visible; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .primary-nav a, .nav-toggle-sub { padding: 0.8rem 0.6rem; width: 100%; justify-content: space-between; font-size: 1.05rem; }
  .dropdown {
    position: static; display: block; box-shadow: none; border: 0;
    border-left: 2px solid var(--line); border-radius: 0;
    margin: 0 0 0.5rem 0.6rem; padding: 0 0 0 0.5rem; min-width: 0;
  }
  .dropdown::before { content: none; }  /* no hover bridge needed on mobile */
  /* On mobile, show submenus inline (collapsed via JS) */
  .has-dropdown .dropdown { display: none; }
  .has-dropdown .dropdown[data-open="true"] { display: block; }
  .header-cta .btn { padding: 0.7rem 1.1rem; }
  .header-cta { margin-left: auto; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; aspect-ratio: 16/10; }
  .media-text { grid-template-columns: 1fr; }
  .media-text.reverse .media-text__media { order: 0; }
  .steps { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .price-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .brand-text { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  h1 { font-size: 2rem; }
}
