/* Smooth Surface v2 — page CSS, moved out of index-v2.html so the site can run under
   Content-Security-Policy style-src 'self' (no inline styles). Shared by index, privacy and 404. */

  @font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../assets/fonts/poppins-latin-400.woff2") format("woff2");
  }
  @font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../assets/fonts/poppins-latin-600.woff2") format("woff2");
  }
  @font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../assets/fonts/poppins-latin-800.woff2") format("woff2");
  }

  :root {
    --bg-light: #F7F7FA;
    --bg-light-2: #FFFFFF;
    --bg-dark: #120A24;
    --text-dark: #1A1030;
    --text-muted: #5A5470;
    --text-on-dark: #FFFFFF;
    --gold: #FBBC04;
    --card-radius: 20px;
    --card-shadow: 0 10px 30px rgba(24, 16, 48, 0.08);
    --card-border-light: rgba(26, 16, 48, 0.08);
    --grad: linear-gradient(135deg, #E000AE 0%, #37036C 100%);
  }

  /* ---------- 1. Light base, dark text, gradient reserved for details ---------- */
  body { background: var(--bg-light); color: var(--text-dark); }
  p { color: var(--text-muted); }
  ::selection { background: var(--brand-magenta, #E000AE); color: #fff; }

  /* ---------- 2. Section rhythm: light sections ---------- */
  .services, .gallery, .areas, .faq, .about, .reviews {
    background: var(--bg-light);
  }

  /* ---------- 2. Section rhythm: dark anchors ---------- */
  .why {
    background: var(--bg-dark);
    color: var(--text-on-dark);
  }
  .why p { color: rgba(255, 255, 255, 0.72); }
  .why__item { border-top-color: rgba(255, 255, 255, 0.16); }
  /* Why ∪ How It Works merged: step discs (the former .process__num) instead of the "01–04" text numbers */
  .why__num {
    display: flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--grad); color: var(--white);
    font-weight: 800; font-size: 1.1rem; letter-spacing: 0;
    margin-bottom: 14px;
  }

  .cta { background: var(--bg-dark); }
  /* form → footer seam (contact strip removed): one gap, 44px on phones / 56px on desktop, footer carries none */
  .cta { padding-bottom: 44px; }
  .footer { padding-top: 0; }
  @media (min-width: 720px) { .cta { padding-bottom: 56px; } }

  /* ---------- For Professionals: dark anchor between FAQ and About, desktop-first audience ---------- */
  .pro { padding: 80px 0; background: var(--bg-dark); color: var(--text-on-dark); }
  .pro__inner { display: grid; gap: 32px; }
  .pro .section-title { text-align: left; margin-bottom: 20px; }
  .pro .checklist li { color: rgba(255, 255, 255, 0.88); }
  .pro__contact { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
  .pro .btn--outline { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
  .pro .btn--outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }
  .pro__alt { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255, 255, 255, 0.85); font-weight: 600; font-size: 0.92rem; text-decoration: underline; text-underline-offset: 3px; }
  .pro__alt:hover { color: #fff; }
  .pro__lead { color: rgba(255, 255, 255, 0.88); font-size: 1.02rem; margin: -6px 0 22px; max-width: 46ch; }
  .pro__quotes { display: grid; gap: 14px; margin-top: 28px; }
  .pro__quote { margin: 0; padding: 18px 20px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 14px; background: rgba(255, 255, 255, 0.05); }
  .pro__quote-stars { color: var(--gold); letter-spacing: 2px; font-size: 0.95rem; margin-bottom: 8px; }
  .pro__quote p { color: rgba(255, 255, 255, 0.92); font-size: 0.95rem; font-style: normal; margin: 0 0 10px; }
  .pro__quote-author { font-style: normal; font-weight: 700; font-size: 0.85rem; color: #fff; }
  @media (min-width: 900px) {
    .pro__inner { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 60px; }
    .pro__contact { align-items: center; justify-self: center; }
  }
  #estimateForm, #services, #reviews, #gallery, #faq, #contact, #for-professionals, .svc-card[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

  /* ---------- Task 5: mobile nav menu bug, two causes —
     1) links inherited near-black body text color over the dark dropdown panel (invisible on
        invisible). Fix: explicit light text.
     2) .nav has backdrop-filter, which makes it the containing block for its position:fixed
        descendants (per spec, filter/backdrop-filter/transform/etc. do this). #navLinks' own
        `top: var(--nav-h); bottom: 0;` was then resolving against .nav's own 68px-tall box
        instead of the viewport, collapsing its content height to ~0 (only the 40px of vertical
        padding rendered) — an empty-looking dark strip with the links compressed to nothing.
        Fix: size it in vh (unaffected by the containing-block change) instead of top+bottom.
     Also trims the open/close transition under 300ms and respects prefers-reduced-motion. ---------- */
  .nav__links a { color: var(--text-on-dark); }
  .nav__links { transition: transform 0.25s var(--ease); }
  /* Mobile drawer only. At >=900px .nav__links is position:static inside the 68px nav, so a
     viewport-tall height there made .nav__inner an invisible ~450px-deep hit target over the
     page (blocked clicks/drags in that band and started text selections). */
  @media (max-width: 899px) {
    .nav__links {
      bottom: auto;
      height: calc(100vh - var(--nav-h));
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .nav__links { transition: none; }
  }
  .cta .eyebrow {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }

  .footer { background: var(--bg-dark); }
  .footer__legal { margin-left: 12px; font-size: 0.8rem; color: var(--text-dim); text-decoration: underline; text-underline-offset: 3px; }
  .footer__legal:hover { color: var(--white); }
  @media (max-width: 1023px) {
    /* phones/tablets: legal link on its own centred line, and room under the last line so the floating
       WhatsApp button (56px, 20px off the bottom) never covers the footer text */
    .footer { padding-bottom: 92px; }
    .footer__bottom p { text-align: center; }
    .footer__legal { display: block; margin: 10px 0 0; }
  }
  .mobile-callbar__call { background: var(--bg-dark); color: var(--text-on-dark); }

  /* Headings/body inside dark anchors keep light text via existing var(--white)/var(--text-dim) rules */

  /* ---------- 3. No glow on light-section text ---------- */
  .section-title, .why__item h3, .svc-card h3,
  .review-card p, .accordion__item summary, .about__copy h2 {
    text-shadow: none;
  }

  /* ---------- 1. Outline button legible on light sections ---------- */
  .btn--outline { color: var(--text-dark); border-color: rgba(26, 16, 48, 0.25); }
  .btn--outline:hover { border-color: var(--text-dark); background: rgba(26, 16, 48, 0.04); }
  .wizard__nav .btn--outline, .cta .btn--outline, .hero .btn--outline {
    color: var(--text-on-dark);
    border-color: rgba(255, 255, 255, 0.6);
  }
  .wizard__nav .btn--outline:hover, .hero .btn--outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

  /* ---------- 6. Unified cards: services / reviews / gallery ---------- */
  .gallery__card, .review-card, .accordion__item {
    background: var(--bg-light-2);
    border: 1px solid var(--card-border-light);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
  }
  .gallery__card figcaption { color: var(--text-dark); }
  .gallery__card { box-shadow: var(--card-shadow); }
  .accordion__item summary { color: var(--text-dark); }
  .accordion__item p { color: var(--text-muted); }
  /* FAQ toggle: deliberately NOT a gradient disc (keeps the accordion light) — Lucide "plus" line glyph in brand magenta, rotates to × when open */
  .accordion__item summary::after {
    content: ""; width: 18px; height: 18px;
    background: var(--brand-magenta, #E000AE);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5v14'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5v14'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  /* ---------- Services — "What I Do", 6 cards (2×3 from 720px), uniform border at rest, gradient ring only on hover ---------- */
  .svc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
  }
  .svc-card {
    position: relative;
    background: var(--bg-light-2);
    border: 1px solid var(--card-border-light);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 26px;
    cursor: pointer;
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
  }
  .svc-card:active { transform: scale(0.98); transition: transform 0.15s ease-out; }
  /* stretched-link: the real <a> lives in the h3, this makes the whole card the click target */
  .svc-card__link { color: inherit; text-decoration: none; }
  .svc-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
  .svc-card__link:focus-visible { outline: none; }
  .svc-card__link:focus-visible::after { outline: 2px solid var(--blue); outline-offset: 2px; }
  /* thin gradient ring, hidden at rest — crossfades in on hover, same 1px weight as the resting border */
  .svc-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--grad);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.25s ease-out;
    pointer-events: none;
  }
  @media (hover: hover) {
    .svc-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 16px 38px rgba(24, 16, 48, 0.12);
    }
    .svc-card:hover::after { opacity: 1; }
  }
  /* Icon system: same gradient disc as the "How It Works" step numbers; Eduard's own white line icons
     (assets/icons/*.webp, 112px = 2x, icon ink pre-centred at ~52–62% of the disc). No animation by design. */
  .svc-card__icon {
    display: flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--grad);
    margin-bottom: 16px;
  }
  .svc-card__icon img { display: block; width: 56px; height: 56px; object-fit: contain; }
  .svc-card h3 { font-size: 1.2rem; margin: 0 0 0.5em; color: var(--text-dark); }
  .svc-card p { margin: 0 0 16px; font-size: 0.92rem; color: var(--text-muted); }
  .card-hook { color: #37036C; font-weight: 600; font-size: inherit; }
  /* single WhatsApp CTA under the 2×3 grid — same href/icon/style as the hero button, long label allowed to wrap */
  .svc-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 36px; text-align: center; }
  .svc-cta__note { margin: 0; max-width: 560px; font-size: 1rem; color: var(--text-muted); }
  .svc-card__chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
  .svc-card__chips .chip { padding: 6px 12px; font-size: 0.76rem; }
  @media (min-width: 720px) {
    .svc-grid { grid-template-columns: repeat(2, 1fr); }
  }

  .chip { background: var(--bg-light-2); border-color: var(--card-border-light); color: var(--text-muted); }
  .chip--hot { background: var(--grad); color: #fff; border-color: transparent; }

  /* ---------- Areas chips: one brand tint for all 24 ----------
     Scoped to .areas__chips so the service-card chips keep their own look. */
  .areas__chips .chip {
    background: rgba(55, 3, 108, 0.10);      /* --purple at 10% over the light section bg */
    border-color: rgba(55, 3, 108, 0.18);
    color: var(--text-dark);
  }

  /* ---------- 5. About / founder photo ---------- */
  .about__media {
    /* Without an explicit width, this grid item shrank to fit its lazy-loaded img's
       pre-load intrinsic size (0x0), collapsing the whole block to ~50x50px (just its own
       padding+border) until the photo finished loading — a real CLS jump that also threw off
       the #estimateForm scroll-margin math for the nav "Contact" anchor, since the page grew
       ~400px above it mid-navigation. width:100% makes it fill its grid column immediately,
       so aspect-ratio on the img can reserve the right height with zero dependency on load timing. */
    width: 100%;
    background: linear-gradient(var(--bg-light-2), var(--bg-light-2)) padding-box,
                var(--grad) border-box;
    border: 3px solid transparent;
    border-radius: calc(var(--card-radius) + 6px);
    padding: 22px;
    box-shadow: var(--card-shadow);
  }
  .about__media img {
    width: 100%;
    height: auto;
    border-radius: calc(var(--card-radius) - 2px);
    box-shadow: none;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    background: var(--bg-light-2);
  }
  .about__ig { background: var(--grad); border-color: transparent; color: #fff; }
  .about__copy h2 { color: var(--text-dark); }
  /* About checklist → same gradient disc + Lucide "check" (white line icon) as the service badges */
  .checklist { gap: 12px; }
  .checklist li { color: var(--text-dark); padding-left: 34px; }
  .checklist li::before {
    top: 0; width: 24px; height: 24px; border-radius: 50%;
    background: var(--grad);
  }
  .checklist li::after {
    content: ""; left: 5px; top: 5px; width: 14px; height: 14px;
    background: #fff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  /* ---------- 4. Reviews rebuild — no carousels (project rule): vertical column + Show more on mobile ---------- */
  .reviews__eyebrow-link {
    display: block;
    width: fit-content;
    margin: 0 auto 0.75em;
    cursor: pointer;
    transition: filter 0.25s ease-out;
  }
  .reviews__eyebrow-link:hover { filter: brightness(1.2) saturate(1.3); }
  .reviews__eyebrow-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
  .reviews__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
  }
  .review-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 28px;
    margin: 0;
  }
  .review-card__stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; margin-bottom: 14px; }
  .review-card p {
    color: var(--text-dark);
    font-style: normal;
    text-align: left;
    font-size: 0.95rem;
    flex: 1;
    margin-bottom: 18px;
  }
  .review-card__footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--card-border-light);
  }
  .review-card__footer svg { flex-shrink: 0; }
  .review-card__author { font-style: normal; font-weight: 800; font-size: 0.85rem; color: var(--text-dark); }

  @media (max-width: 767px) {
    .reviews__grid .review-card:nth-child(n+4) { display: none; }
    .reviews__grid.is-expanded .review-card:nth-child(n+4) { display: flex; }
  }
  .reviews__toggle {
    display: block;
    width: fit-content;
    margin: 8px auto 0;
  }
  .reviews__cta-link {
    display: block;
    width: fit-content;
    margin: 32px auto 0;
  }
  @media (max-width: 767px) {
    .reviews__cta-link { display: none; }
  }
  @media (min-width: 768px) {
    .reviews__toggle { display: none; }
    /* Even tile: rows share a height, stars on a common top line, Google
       footers on a common bottom line. The quote is NOT centred — it starts
       a fixed 14px (.review-card__stars margin-bottom, same value mobile
       uses) below the stars on every card, and the slack from a short quote
       falls to the bottom via the footer's margin-top:auto. */
    .reviews__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; }
    .reviews__grid .review-card { height: 100%; }
    /* Odd last review card (2-col): its own row, one column wide, centred. */
    .reviews__grid .review-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 10px); justify-self: center; }
  }
  @media (min-width: 1024px) {
    .reviews__grid { grid-template-columns: repeat(3, 1fr); }
    .reviews__grid .review-card:last-child:nth-child(odd) { grid-column: auto; width: auto; justify-self: stretch; }
    /* Lone card in the last row of 3 → middle column. */
    .reviews__grid .review-card:last-child:nth-child(3n+1) { grid-column: 2; }
  }

  /* ---------- Nav: "Text or call" phone line ---------- */
  .nav__phone { font-size: 0.82rem; white-space: nowrap; }

  /* ---------- Bottom mobile-callbar removed in v2: reclaim reserved space, drop WhatsApp button lower ---------- */
  @media (max-width: 1023px) {
    body { padding-bottom: 0; }
    .floating-whatsapp { bottom: 20px; }
  }
  /* The floating WhatsApp circle sits fixed bottom-right; keep the wizard's right-aligned
     Continue/Send button from rendering underneath it on narrow screens. */
  @media (max-width: 640px) {
    .wizard__nav { padding-right: 64px; }
  }

  /* ---------- Task 7: before/after compare sliders ----------
     Every slider photo is a portrait 3:4 file (1200x1600 WebP cut from the phone originals),
     so the frame is 3:4 too and both <img>s sit in it with object-fit: cover — no axis is
     ever stretched. On phones the frame fills the content column; on wider screens the
     grid is 2 columns of at most 480px, centered, so a slider never spans the section. */
  .gallery__card--compare { padding: 0; }
  .gallery__grid .gallery__card {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }
  @media (min-width: 640px) {
    .gallery__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      max-width: calc(480px * 2 + 16px);
      margin-left: auto;
      margin-right: auto;
    }
    /* Odd last card (e.g. 7th pair): span the row and centre it, same 480px width. */
    .gallery__grid .gallery__card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  }
  .compare {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    cursor: ew-resize;
    touch-action: pan-y;
    background: var(--bg-light);
    user-select: none;
    -webkit-user-select: none;
  }
  .compare .compare__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: none;
    pointer-events: none;
    -webkit-user-drag: none;
  }
  .compare .compare__img--after { clip-path: inset(0 0 0 50%); }
  .gallery__card--compare:hover .compare__img { transform: none; }
  .compare__tag {
    position: absolute;
    top: 12px;
    z-index: 2;
    background: rgba(18, 10, 36, 0.65);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
    pointer-events: none;
  }
  .compare__tag--before { left: 12px; }
  .compare__tag--after { right: 12px; }
  .compare__handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 0;
    z-index: 3;
    transform: translateX(-50%);
    pointer-events: none;
  }
  .compare__handle::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0; left: -1px;
    width: 2px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
  }
  .compare__handle-grip {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 14px rgba(24, 16, 48, 0.35);
    pointer-events: auto;
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  /* chevrons: inline SVG (1 unit = 1px, 2px round stroke), 45% of the 40px disc, geometrically centred by the flex box */
  .compare__handle-icon { display: block; width: 45%; height: auto; pointer-events: none; }
  /* Slider grip stays solid white (guaranteed contrast on light AND dark photos) — the only nod to the icon system is a thin 2px gradient ring outside it */
  .compare__handle-grip::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    padding: 2px;
    background: var(--grad);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
  }
  .compare__handle-grip:focus-visible { outline: 2px solid var(--brand-blue, #39A4FF); outline-offset: 4px; }
  .gallery__card--compare figcaption { padding: 12px 16px; }

  /* ---------- Task 6: compact reviews beside the contact form ---------- */
  .cta__grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 36px;
  }
  .cta__grid .wizard { margin-top: 0; }
  .cta__reviews { display: flex; flex-direction: column; gap: 16px; }
  .cta__review-mini {
    margin: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--card-radius);
    padding: 20px;
  }
  .cta__review-mini p {
    color: rgba(255, 255, 255, 0.85);
    font-style: normal;
    font-size: 0.9rem;
    margin: 10px 0 0;
  }
  .cta__review-mini cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-weight: 800;
    font-size: 0.82rem;
    color: #fff;
  }
  @media (min-width: 1024px) {
    .cta__grid { flex-direction: row; align-items: flex-start; }
    .cta__reviews { flex: 0 0 280px; }
    .cta__grid .wizard { flex: 1; }
  }

  /* ---------- Task 5: simplified wizard (2 steps) ---------- */
  #wizardBack[hidden], #wizardSubmit[hidden], #wizardNext[hidden] { display: none !important; }
  textarea.wizard__input { resize: vertical; min-height: 84px; font-family: inherit; }
  .wizard__photos-note {
    margin: 16px 0 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
  }
  .wizard__photos-note a { color: #fff; text-decoration: underline; }
  .wizard__legal { margin: 10px 0 0; font-size: 0.78rem; color: rgba(255, 255, 255, 0.7); }
  .wizard__legal a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

  /* ---------- Task 4: repeated CTA blocks ---------- */
  .cta-repeat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid var(--card-border-light);
  }
  .cta-repeat__phone { margin: 0; font-weight: 800; font-size: 0.95rem; color: var(--text-dark); }
  .cta-repeat__note { margin: -6px 0 0; font-size: 0.8rem; color: var(--text-muted); }

  /* ---------- "Text or call" phone line: number → sms:, the word "call" → tel:, both ≥44px tap height ---------- */
  .phone-line__call, .phone-line__sms { display: inline-flex; align-items: center; min-height: 44px; }
  .phone-line__call { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
  .phone-line__sms { font-weight: 800; }
  .phone-line__note { display: block; font-size: 0.78rem; font-weight: 400; color: var(--text-muted); }
  .footer .phone-line__note { color: var(--text-dim); }
  .footer .phone-line { color: var(--text-dim); font-size: 0.88rem; }

  /* ---------- Hero CTAs: single primary button + microcopy + secondary text link ---------- */
  .hero__ctas {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 26px 0 34px;
  }
  .hero__ctas .btn { align-self: flex-start; }
  .hero__microcopy {
    margin: 2px 0 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
  }
  @media (max-width: 480px) {
    .hero__ctas { margin: 18px 0 22px; }
  }
  /* Tighter vertical rhythm so title + trust bar + primary CTA still clear the fold on short phones (iPhone SE) */
  @media (max-height: 700px) and (max-width: 480px) {
    .hero__content { padding-top: 18px; }
    .hero__subhead { margin-bottom: 0.5em; }
    .hero__trust { margin-top: 12px; }
    .hero__owner { margin-top: 10px; }
    .hero__ctas { margin: 12px 0 16px; }
    /* shrink the floating WhatsApp button so it doesn't sit over the primary CTA on very short screens */
    .floating-whatsapp { width: 46px; height: 46px; bottom: 16px; right: 14px; }
    .floating-whatsapp svg { width: 22px; height: 22px; }
  }

  /* ---------- Hero: audience eyebrow on one line at phone widths ---------- */
  @media (max-width: 480px) {
    .hero .eyebrow { white-space: nowrap; font-size: 0.68rem; letter-spacing: 0.08em; }
  }
  @media (max-width: 374px) {
    .hero .eyebrow { white-space: normal; } /* 360px phones: wrap instead of overflowing */
  }
  /* ---------- Hero: trust bar ---------- */
  .hero__trust {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin: 18px 0 0;
    padding: 9px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .hero__trust-item {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
  }
  .hero__trust-sep { color: rgba(255, 255, 255, 0.35); font-size: 0.85rem; }
  .hero__trust-stars { color: var(--gold); letter-spacing: 1px; font-size: 0.85rem; line-height: 1; }
  .hero__trust-link { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.4); transition: border-color 0.2s ease, color 0.2s ease; }
  .hero__trust-link:hover { color: #fff; border-color: #fff; }
  /* 4th trust item ("$1M General Liability") is desktop-only; the mobile bar stays 3 items */
  .hero__trust--desktop { display: none; }
  @media (min-width: 900px) { .hero__trust--desktop { display: inline; } }

  @media (max-width: 480px) {
    .hero__trust { gap: 6px 5px; padding: 8px 12px; }
    .hero__trust-item, .hero__trust-sep, .hero__trust-stars { font-size: 0.78rem; }
    .hero__trust-stars { letter-spacing: 0; }
  }
  /* Narrow phones: the rating link takes its own centred second row, no dangling separator */
  @media (max-width: 374px) {
    .hero__trust { justify-content: center; border-radius: 18px; }
    .hero__trust-sep--before-link { display: none; }
  }

  /* ---------- Hero: owner line ---------- */
  .hero__owner {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0 0;
    max-width: 480px;
  }
  .hero__owner-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.5);
  }
  .hero__owner span {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.3;
  }

  /* ---------- 2A. Hero: static photo background, tunable focal point ---------- */
  .hero__media {
    --hero-pos-desktop: 60% 50%;
    --hero-pos-mobile: 30% 35%;
  }
  .hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--hero-pos-desktop);
    display: block;
  }
  .hero__scrim {
    background: linear-gradient(180deg, rgba(8, 8, 10, 0.76) 0%, rgba(8, 8, 10, 0.6) 30%, rgba(8, 8, 10, 0.87) 100%);
  }
  @media (max-width: 768px) {
    .hero__bg { object-position: var(--hero-pos-mobile); }
    .hero__scrim { background: rgba(10, 4, 24, 0.6); }
  }
  /* ---------- Hero: narrower desktop headline so it can't reach the worker's face ---------- */
  @media (min-width: 1024px) {
    .hero h1 { max-width: clamp(500px, 58vw, 860px); font-size: clamp(1.9rem, 5vw, 2.85rem); }
  }
  /* ---------- Task 5: mobile hero fold — shrink only the H1 floor so eyebrow, H1, subhead,
     trust bar, owner line, WhatsApp CTA and microcopy all clear 390x844 without a scroll.
     Text and desktop typography untouched. ---------- */
  @media (max-width: 767px) {
    .hero h1 { font-size: clamp(1.25rem, 5.5vw, 1.9rem); }
  }

  /* ---------- Mobile QA fix: swap neon pink glow on primary buttons for a subtle shadow ---------- */
  .btn--primary {
    box-shadow: 0 4px 14px rgba(24, 16, 48, 0.28);
  }
  .btn--primary:hover {
    box-shadow: 0 6px 18px rgba(24, 16, 48, 0.32);
    transform: translateY(-2px);
  }

  /* ---------- Mobile QA fix: floating WhatsApp button must never sit over a hero CTA — hide it while hero is in view (hero already has its own WhatsApp CTA) ---------- */
  .floating-whatsapp {
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .floating-whatsapp.is-hidden-in-hero {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.85);
  }

  /* ---------- Self-hosted Poppins only ships 400/600/800 — remap shared css/styles.css
     selectors that requested 500/700 so v2 keeps its intended boldness without
     touching css/styles.css (which index.html v1 still relies on unmodified). ---------- */
  .eyebrow,
  .btn,
  .nav__phone,
  .wizard__step legend {
    font-weight: 800;
  }
  .checklist li {
    font-weight: 400;
  }

  /* ---------- Privacy page ---------- */
  .legal { padding: calc(var(--nav-h) + 48px) 0 72px; background: var(--bg-light); }
  .legal__inner { max-width: 720px; margin: 0 auto; }
  .legal h1 { font-size: clamp(2rem, 5vw, 2.6rem); color: var(--text-dark); margin-bottom: 0.3em; }
  .legal__updated { margin: 0 0 32px; font-size: 0.9rem; color: var(--text-muted); }
  .legal h2 { font-size: 1.2rem; color: var(--text-dark); margin: 32px 0 10px; }
  .legal p, .legal li { font-size: 1rem; line-height: 1.65; color: var(--text-muted); }
  .legal p { margin: 0 0 12px; }
  .legal ul { margin: 0 0 12px; padding-left: 22px; }
  .legal a { color: #37036C; text-decoration: underline; text-underline-offset: 3px; }

  /* ---------- 404 page ---------- */
  .notfound { padding: calc(var(--nav-h) + 72px) 0 96px; background: var(--bg-light); text-align: center; }
  .notfound h1 { font-size: clamp(2rem, 5vw, 2.6rem); color: var(--text-dark); margin-bottom: 0.4em; }
  .notfound p { max-width: 460px; margin: 0 auto 28px; color: var(--text-muted); font-size: 1.05rem; }

  /* honeypot field (was an inline style attribute) */
  .wizard__hp { position: absolute; left: -9999px; }
