/* ==========================================================================
   Amy Lorna Clinic – brows landing page
   Source of truth: claude/landing-page-design-handoff.md
   Mobile-first: base rules = mobile (≤ 768px); desktop overrides at ≥ 769px.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Colours */
  --bg: #FAF7F4;            /* page background, off-white sections */
  --surface: #FFFFFF;       /* white sections, cards, form card */
  --ink: #221C1A;           /* headings, main text */
  --body: #4A403C;          /* paragraphs */
  --muted: #6B605B;         /* small labels, captions, eyebrows */
  --border: #E8E1DC;        /* card borders */
  --divider: #EFE9E4;       /* section dividers */
  --input-border: #D6CCC5;  /* form inputs */
  --accent: #5E3B32;        /* cocoa: links, bullets, step numbers, arrows */
  --cta: #B04A33;           /* terracotta: booking buttons ONLY */
  --dark: #2B211E;          /* final CTA band */
  --dark-text: #FAF7F4;
  --dark-sub: #D9CFC9;
  --tint: #F1E8E3;          /* thank-you tick circle */

  /* Review platform star colours */
  --star-google: #FBBC04;
  --star-trustpilot: #00B67A;
  --star-solo: #141414;
  --star-facebook: #0866FF;

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

  /* Shapes */
  --radius-card: 16px;
  --radius-image: 12px;
  --radius-input: 8px;
  --radius-pill: 999px;

  /* Layout (mobile values; desktop overrides below) */
  --content-max: 1120px;
  --gutter: 20px;
  --section-pad-y: 72px;
  --section-head-gap: 32px;
}

@media (min-width: 769px) {
  :root {
    --gutter: 24px;
    --section-pad-y: 120px;
    --section-head-gap: 56px;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 769px) {
  body { font-size: 17px; }
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0; }

[hidden] { display: none !important; }

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

a { color: var(--accent); }

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

/* ---------- 3. Section container ---------- */
/* Usage: <section class="section"><div class="container">…</div></section>
   .section = full-width band (vertical padding); .container = 1120px content + side padding */
.section {
  padding-block: var(--section-pad-y);
}

.container {
  width: 100%;
  max-width: calc(var(--content-max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- 4. Section header ---------- */
/* Usage:
   <header class="section-header">
     <p class="eyebrow">Results</p>
     <h2 class="section-title">Our results</h2>
     <p class="section-intro">Optional intro line.</p>
   </header> */
.section-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: var(--section-head-gap);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.2;
}

.section-intro {
  color: var(--body);
  max-width: 62ch;
}

@media (min-width: 769px) {
  .section-title {
    font-size: 44px;
    line-height: 1.15;
  }
}

/* White section band (Results, Treatments, FAQ): surface background, 1px divider top/bottom */
.section--surface {
  background: var(--surface);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

/* Off-white section band (Reviews, How it works, Meet Amy) */
.section--bg {
  background: var(--bg);
}

/* Review platform star colours, shared by review cards and the ratings row */
.star-color--google { color: var(--star-google); }
.star-color--trustpilot { color: var(--star-trustpilot); }
.star-color--solo { color: var(--star-solo); }
.star-color--facebook { color: var(--star-facebook); }

/* ---------- 5. Primary button (booking buttons only) ---------- */
/* Usage: <a class="btn-primary" href="#consult">Book your free consultation</a> */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--cta);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.btn-primary:hover {
  filter: brightness(0.93);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary--full {
  width: 100%;
}

/* Header button variant: 44px tall, 14px text mobile / 15px desktop */
.btn-primary--header {
  min-height: 44px;
  padding: 0 20px;
  font-size: 14px;
  white-space: nowrap;
}

@media (min-width: 769px) {
  .btn-primary--header { font-size: 15px; }
}

/* ==========================================================================
   Step 1 – Header
   ========================================================================== */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
}

.site-header__brand {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.2;
  color: var(--ink);
}

@media (min-width: 769px) {
  .site-header__inner { padding-block: 20px; }
  .site-header__brand { font-size: 24px; }
}

/* ==========================================================================
   Step 1 – Hero
   ========================================================================== */
.hero {
  background: var(--bg);
  padding-block: 40px 64px;           /* mobile: 40px top, 64px bottom (20px sides via .container) */
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;                          /* stacked gap between text and form on mobile */
  align-items: start;
}

@media (min-width: 769px) {
  .hero {
    padding-block: 96px 120px;        /* desktop: 96px top, 120px bottom (24px sides via .container) */
  }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) 440px;
    column-gap: 64px;
  }
}

/* Text column */
.hero__text {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

@media (min-width: 769px) {
  .hero__text { gap: 28px; }
}

.hero__title {
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

@media (min-width: 769px) {
  .hero__title {
    font-size: 60px;
    line-height: 1.08;
  }
}

.hero__sub {
  font-size: 17px;
  color: var(--body);
}

@media (min-width: 769px) {
  .hero__sub { font-size: 19px; }
}

.hero__bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--body);
}

.hero__bullets li {
  display: flex;
  gap: 10px;
}

.hero__bullets li::before {
  content: "•";
  flex: none;
  color: var(--accent);
  font-weight: 600;
}

/* Rating block */
.hero__rating {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 15px;
}

.hero__rating-top {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__rating-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--ink);
}

.hero__stars {
  color: var(--star-google);
  letter-spacing: 2px;
}

.hero__rating-line b {
  font-weight: 600;
}

/* Logo row – mobile: spread across full width, 20/20/16/16px tall */
.hero__logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.hero__logo {
  width: auto;
  max-width: none;
}

.hero__logo--google { height: 20px; }
.hero__logo--trustpilot { height: 22px; }

.hero__logo--solo,
.hero__logo--facebook { height: 16px; }

/* Desktop: 22/24/18/18px tall, 32px apart, left-aligned */
@media (min-width: 769px) {
  .hero__logos {
    justify-content: flex-start;
    gap: 32px;
    width: auto;
  }
  .hero__logo--google { height: 22px; }
  .hero__logo--trustpilot { height: 24px; }
  .hero__logo--solo,
  .hero__logo--facebook { height: 18px; }
}

/* ==========================================================================
   Step 2 – Consultation form card (#consult)
   ========================================================================== */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  scroll-margin-top: 16px;
  min-width: 0;
}

@media (min-width: 769px) {
  .form-card { padding: 40px; }
}

.form-card__title {
  font-size: 26px;
  line-height: 1.2;
}

@media (min-width: 769px) {
  .form-card__title { font-size: 30px; }
}

.form-card__sub {
  margin-top: 8px;
  margin-bottom: 28px;
  font-size: 15px;
  color: var(--muted);
}

.consult-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.field__input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  font-family: var(--font-body);
  font-size: 16px;               /* 16px stops iOS zooming into the field */
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-input);
  appearance: none;
}

.field__input::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.field__input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}

/* Validation (error colour not in the design tokens; deep red chosen for contrast) */
.field__error {
  font-size: 13px;
  color: #A3262E;
}

.field--invalid .field__input {
  border-color: #A3262E;
}

.consult-form__submit {
  margin-top: 4px;
}

.consult-form__submit:disabled {
  cursor: wait;
  filter: none;
  opacity: 0.75;
}

.form-card__send-error {
  font-size: 14px;
  text-align: center;
  color: #A3262E;
}

/* ==========================================================================
   Cookie consent banner + footer "Cookie settings"
   ========================================================================== */
/* Keep page content clear of fixed bars at the bottom.
   --consent-h is set by js/consent.js; --sticky-h will be set by the mobile sticky bar (step 7). */
body {
  padding-bottom: calc(var(--consent-h, 0px) + var(--sticky-h, 0px));
}

.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--sticky-h, 0px);       /* sits above the mobile sticky booking bar */
  z-index: 50;
  background: var(--surface);
  border-top: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--body);
}

.consent-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
}

.consent-banner__text {
  line-height: 1.5;
}

.consent-banner__actions {
  display: flex;
  gap: 12px;
}

.consent-banner__actions .btn-outline {
  flex: 1 1 0;
}

@media (min-width: 769px) {
  .consent-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 16px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
  .consent-banner__actions .btn-outline {
    flex: 0 0 auto;
    min-width: 120px;
  }
}

/* Outlined cocoa button (consent choices) – deliberately not terracotta */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 20px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--dark-text);
}

/* Footer (step 7 adds the rest) */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--divider);
}

.site-footer__inner {
  padding-block: 24px;
}

.link-button {
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.link-button:hover {
  color: var(--accent);
}

/* Hides the spam-trap field from people but not from bots */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.form-card__note {
  margin-top: 16px;
  font-size: 14px;
  text-align: center;
  color: var(--muted);
}

@media (min-width: 769px) {
  .form-card__note { font-size: 13px; }
}

/* Thank-you state (replaces the form inside the same card) */
.form-card__thanks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-card__thanks:focus {
  outline: none;
}

.thanks__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--accent);
  display: grid;
  place-items: center;
}

.thanks__icon svg {
  width: 22px;
  height: 22px;
}

.thanks__text {
  color: var(--body);
}

.thanks__details {
  font-size: 14px;
  color: var(--muted);
}

.thanks__details b {
  font-weight: 600;
  color: var(--ink);
}

/* ==========================================================================
   Step 3 – Results
   ========================================================================== */
.results__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.results__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.results__images {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: var(--radius-image);
  overflow: hidden;
}

.results__photo {
  position: relative;
}

.results__photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.results__pill {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}

.results__caption {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

/* ==========================================================================
   Step 4 – Reviews carousel and ratings row
   ========================================================================== */
.reviews__carousel {
  position: relative;
}

.reviews__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.reviews__track::-webkit-scrollbar {
  display: none;
}

.reviews__track:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.review-card {
  flex: 0 0 86%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
}

@media (min-width: 769px) {
  .review-card {
    flex-basis: calc((100% - 2 * 24px) / 3);
    padding: 36px;
  }
}

.review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-card__stars {
  font-size: 15px;
  letter-spacing: 2px;
}

.review-card__logo {
  width: auto;
  max-width: none;
}

.review-card__logo--google { height: 16px; }
.review-card__logo--trustpilot { height: 18px; }
.review-card__logo--solo { height: 14px; }
.review-card__logo--facebook { height: 14px; }

.review-card__quote {
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
}

@media (min-width: 769px) {
  .review-card__quote {
    font-size: 19px;
  }
}

.review-card__name {
  margin-top: auto;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.reviews__controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.reviews__nav {
  width: 48px;
  height: 48px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--input-border);
  border-radius: 50%;
  color: var(--accent);
  cursor: pointer;
}

.reviews__nav svg {
  width: 20px;
  height: 20px;
}

.reviews__nav:hover {
  background: var(--bg);
}

.reviews__nav:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Ratings row */
.ratings-row {
  margin-top: var(--section-head-gap);
  padding-top: 40px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 24px;
}

@media (min-width: 769px) {
  .ratings-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ratings-row__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.ratings-row__logo {
  width: auto;
  max-width: none;
}

.ratings-row__logo--google { height: 24px; }
.ratings-row__logo--trustpilot { height: 25px; }
.ratings-row__logo--solo { height: 20px; }
.ratings-row__logo--facebook { height: 18px; }

.ratings-row__stars {
  font-size: 22px;
  letter-spacing: 2px;
}

.ratings-row__text {
  font-size: 14px;
  color: var(--muted);
}

.ratings-row__text b {
  font-weight: 600;
}

/* ==========================================================================
   Step 5a – Treatments & prices
   ========================================================================== */
.treatments__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.treatment-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
}

@media (min-width: 769px) {
  .treatment-card {
    padding: 36px;
  }
}

.treatment-card__name {
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1.2;
}

.treatment-card__desc {
  color: var(--body);
}

.treatment-card__price {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--divider);
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.2;
  color: var(--ink);
}

/* ==========================================================================
   Step 5b – How it works
   ========================================================================== */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

@media (min-width: 769px) {
  .steps__grid {
    gap: 48px;
  }
}

.step {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step__number {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--accent);
}

.step__title {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}

.step__body {
  color: var(--body);
}

/* ==========================================================================
   Step 6a – FAQ
   ========================================================================== */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 769px) {
  .faq__grid {
    grid-template-columns: minmax(0, 360px) 1fr;
    column-gap: 64px;
    align-items: start;
  }
}

.faq__list {
  display: flex;
  flex-direction: column;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

@media (min-width: 769px) {
  .faq__question {
    font-size: 18px;
  }
}

.faq__question::marker,
.faq__question::-webkit-details-marker {
  display: none;
  content: "";
}

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

.faq__icon {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.faq__icon::before {
  width: 14px;
  height: 2px;
}

.faq__icon::after {
  width: 2px;
  height: 14px;
}

.faq__item[open] .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  padding-bottom: 20px;
  color: var(--body);
}

/* ==========================================================================
   Step 6b – Meet Amy
   ========================================================================== */
.amy__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}

@media (min-width: 769px) {
  .amy__grid {
    grid-template-columns: minmax(0, 460px) 1fr;
    column-gap: 64px;
    align-items: center;
  }
}

.amy__photo img {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
  border-radius: var(--radius-image);
}

.amy__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.amy__text .section-title {
  margin-bottom: 8px;
}

.amy__paragraph {
  color: var(--body);
}

.amy__details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.amy__details-label {
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.amy__details-text {
  color: var(--body);
}

/* ==========================================================================
   Step 7 – Final CTA, footer, mobile sticky bar
   ========================================================================== */
.cta-band {
  background: var(--dark);
  color: var(--dark-text);
}

.cta-band__inner {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.cta-band__title {
  color: var(--dark-text);
  font-size: 34px;
  line-height: 1.15;
}

@media (min-width: 769px) {
  .cta-band__title {
    font-size: 48px;
  }
}

.cta-band__sub {
  color: var(--dark-sub);
  font-size: 17px;
}

@media (min-width: 769px) {
  .cta-band__sub {
    font-size: 19px;
  }
}

/* Footer */
.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__legal {
  font-size: 12px;
  color: var(--muted);
}

@media (min-width: 769px) {
  .site-footer__legal {
    font-size: 13px;
  }
}

/* Mobile sticky booking bar: visible ≤768px, hidden on desktop and while #consult is in view */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: var(--bg);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(34, 28, 26, 0.06);
  padding: 12px 20px calc(16px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 769px) {
  .sticky-cta {
    display: none;
  }
}
