/* ==========================================================================
   Comet Cleaning Co. — "Cosmic pastel" theme
   Cream background, hard-edge neubrutalist cards & buttons, Fredoka + DM Sans.
   ========================================================================== */

:root {
  /* palette */
  --ink: #38284c;
  --paper: #fffaf0;
  --purple: #b5a0ed;
  --purple-deep: #9675d4;
  --accent: #8655b9;
  --accent-2: #7650a4;
  --yellow: #ffdc7c;
  --yellow-hover: #ffe6a1;
  --peach: #ffc5aa;
  --teal: #c6e9dc;
  --muted: #6b6075;
  --muted-2: #75677d;
  --pill-bg: #eee4fc;
  --card-purple: #eadffc;
  --card-mint: #d5eee4;
  --card-peach: #ffddc8;
  --card-yellow: #fff3cf;
  --about-bg: #fff0c7;
  --about-border: #b59556;
  --testimonial-bg: #e8def7;
  --tag-border: #a293a8;
  --focus: #8161c8;

  /* legacy aliases kept so component rules below read sensibly */
  --star: var(--ink);
  --star-dim: var(--muted);
  --gold: var(--yellow);
  --gold-dark: #e0b94a;
  --comet-300: var(--purple-deep);
  --comet-500: var(--accent);
  --comet-600: var(--accent-2);
  --nebula-300: var(--purple);
  --nebula-500: var(--accent);
  --nebula-600: var(--accent-2);
  --dawn-100: var(--paper);
  --dawn-200: #fff5e2;
  --ink-soft: var(--muted);

  --font-head: "Fredoka", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 28px;
  --radius-sm: 16px;
  --hard: 2px solid var(--ink);
  --shadow-sm: 3px 4px 0 var(--ink);
  --shadow-md: 4px 5px 0 var(--ink);
  --shadow-lg: 6px 7px 0 var(--ink);
  --header-h: 96px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  padding-bottom: 78px; /* room for mobile call bar */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

img { max-width: 100%; display: block; }
a { color: var(--accent-2); text-decoration: none; transition: transform .2s, background .2s, color .2s; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.08; margin: 0 0 .6em; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* starfield canvas retired for the cosmic-pastel theme; kept hidden in case it's ever re-enabled */
#starfield { display: none; }
.page { position: relative; z-index: 1; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  background: var(--paper);
  border-bottom: 2px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--ink); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 52px; width: auto; }
@media (min-width: 600px) { .brand img { height: 62px; } }

.nav { display: none; align-items: center; gap: 1.25rem; }
@media (min-width: 1240px) { .nav { gap: 1.7rem; } .nav a { font-size: .95rem; } }
.nav a { color: var(--ink); font-weight: 500; font-size: .92rem; position: relative; padding: .3rem 0; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--purple-deep); }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.header-phone { display: none; color: var(--ink); font-weight: 600; white-space: nowrap; }
@media (min-width: 1024px) { .nav { display: flex; } }
@media (min-width: 1240px) { .header-phone { display: inline-flex; align-items: center; gap: .4rem; } }
.header-actions .btn { display: none; }
@media (min-width: 600px) { .header-actions .btn { display: inline-flex; } }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: var(--paper); border: 2px solid var(--ink); border-radius: 12px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.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); }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 45;
  background: var(--paper);
  padding: 2rem 1.25rem; display: none; flex-direction: column; gap: .5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--font-head); font-weight: 500; font-size: 1.4rem; color: var(--ink); padding: .8rem .5rem; border-bottom: 2px dashed rgba(56,40,76,.2); }
.mobile-menu a[aria-current="page"] { color: var(--accent); }
.mobile-menu .btn { margin-top: 1rem; justify-content: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 55px; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 700; font-family: var(--font-body);
  border: 2px solid var(--ink); background: var(--yellow); color: var(--ink);
  box-shadow: var(--shadow-sm); max-width: 100%; text-align: center;
  transition: transform .2s, box-shadow .2s, background .2s;
  /* Most labels are short and stay on one line naturally; this only kicks in
     for the few longer ones (e.g. "See all services, including..."), which
     would otherwise force real horizontal overflow on narrow phones instead
     of just wrapping to a second line. */
  white-space: normal;
}
.btn:hover { transform: translateY(-3px) rotate(-1deg); background: var(--yellow-hover); color: var(--ink); }
.btn:active { transform: translateY(0) rotate(0); }
.btn-gold { background: var(--yellow); }
.btn-gold:hover { background: var(--yellow-hover); }
.btn-comet { background: var(--teal); }
.btn-comet:hover { background: #d8f0e6; }
.btn-nebula { background: var(--purple); color: var(--ink); }
.btn-nebula:hover { background: #c6b6f2; }
.btn-ghost { background: var(--paper); color: var(--ink); }
.btn-ghost:hover { background: #fff3de; }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.05rem; min-height: 60px; }
.btn-sm { padding: .55rem 1.1rem; font-size: .85rem; min-height: 47px; }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(3rem, 8vw, 5.5rem) 0; }
.section--dawn { background: var(--paper); }
.section--nebula { background: var(--pill-bg); border-block: 2px solid var(--ink); }
.section--glass { background: var(--testimonial-bg); border-block: 2px solid var(--ink); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 700;
  color: var(--ink); background: var(--pill-bg); border-radius: 30px; padding: .45rem .9rem;
  margin-bottom: 1rem;
}
.eyebrow::before { content: "✦"; color: var(--purple-deep); font-size: 1em; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }
.center .lead { margin-inline: auto; }

.grad-text { color: var(--accent); }
em, .grad-text em { font-style: normal; color: var(--accent-2); }

/* comet trail heading underline */
.trail { position: relative; display: inline-block; }
.trail::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.1em; height: .22em;
  background: var(--yellow); border-radius: 999px; opacity: .8; z-index: -1;
}

.orbit-divider { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; align-items: center; padding: clamp(2.5rem, 6vw, 4rem) 0 3.5rem; overflow: visible; }
.hero .container { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .hero .container { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.hero h1 { margin-bottom: 1rem; text-wrap: balance; }
.hero .lead { font-size: clamp(1.05rem, 1.8vw, 1.2rem); margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-bottom: 1.5rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.1rem 1.75rem; color: var(--muted); font-size: .92rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-trust svg { width: 18px; height: 18px; color: var(--purple-deep); flex: none; }

.porthole { position: relative; max-width: 560px; margin-inline: auto; width: 100%; transform: rotate(1.5deg); }
.porthole .ring, .porthole .ring--2 { display: none; }
/* .badge positions itself via % offsets meant to read as "relative to the
   photo". Its nearest positioned ancestor has to actually BE just the photo
   for that to work — .photo itself can't take the job because its own
   overflow:hidden (needed to clip the image to the rounded frame) would
   also clip the badge wherever it hangs outside that box. This wrapper is
   the fix: it sizes to exactly the photo (nothing else in flow), stays
   position:relative so .badge measures against it, and adds no clipping of
   its own. Before this existed, .badge measured against .porthole instead —
   which also includes .orbit-label below — so the badge's offset scaled
   with the caption's height too and the two could overlap. */
.photo-frame { position: relative; }
.porthole .photo {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 2px solid var(--ink); box-shadow: var(--shadow-lg); background: var(--paper); aspect-ratio: 3/2;
}
.porthole .photo img { width: 100%; height: 100%; object-fit: contain; }
.porthole .badge {
  position: absolute; right: -4%; bottom: -8%;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 18px;
  padding: .7rem 1.1rem; display: flex; align-items: center; gap: .7rem;
  box-shadow: var(--shadow-md); transform: rotate(-4deg);
}
.porthole .badge strong { display: block; font-family: var(--font-head); font-weight: 500; font-size: 1.1rem; line-height: 1; color: var(--ink); }
.porthole .badge small { color: var(--muted); font-size: .78rem; }
.stars-gold { color: var(--yellow); letter-spacing: 1px; -webkit-text-stroke: .5px var(--ink); paint-order: stroke fill; }
/* .badge floats mostly below .photo's own edge (position: absolute, a fixed
   -1.25rem offset so its overhang doesn't grow on tall/narrow crops) — this
   margin has to clear that overhang, not just add generic breathing room,
   or the badge sits on top of this caption (it did: the badge's rendered
   height plus its bottom offset was taller than orbit-label's old 1rem
   margin-top, so they visibly overlapped). */
.orbit-label { text-align: center; font-family: var(--font-head); font-size: 1.05rem; color: var(--accent-2); margin-top: 3.25rem; transform: rotate(-2deg); }

@keyframes float { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-6px) rotate(-4deg); } }
.porthole .badge { animation: float 6s ease-in-out infinite; }

.sparkle { position: absolute; width: 22px; height: 22px; color: var(--purple-deep); opacity: .8; animation: twinkle 3.5s ease-in-out infinite; pointer-events: none; }
.sparkle svg { width: 100%; height: 100%; }
@keyframes twinkle { 0%,100% { transform: scale(.8) rotate(0deg); opacity: .5; } 50% { transform: scale(1.05) rotate(8deg); opacity: 1; } }

.comet-streak { display: none; }

/* ---------- trust bar / service strip ---------- */
.trust-bar { border-block: 2px solid var(--ink); background: var(--purple); }
.trust-bar .container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; padding: 1.4rem 1.25rem; }
@media (min-width: 800px) { .trust-bar .container { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust-item { display: flex; align-items: center; gap: .8rem; }
.trust-item svg { width: 30px; height: 30px; color: var(--ink); flex: none; }
.trust-item strong { display: block; font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; line-height: 1.1; color: var(--ink); }
.trust-item span { color: var(--ink); opacity: .75; font-size: .85rem; }

/* ---------- cards / grids ---------- */
/* minmax(0, 1fr) everywhere, not plain 1fr: a bare `1fr` track still won't
   shrink a grid item below its content's natural minimum (grid items default
   to min-width:auto) — a single unbreakable word (e.g. a big stat number) or
   a long heading can force the whole track, and the page, wider than the
   viewport. minmax(0, 1fr) caps every track at its fair share instead. */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: minmax(0, 1fr); }
.grid-3 { grid-template-columns: minmax(0, 1fr); }
.grid-4 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 480px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 640px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card {
  position: relative; border-radius: var(--radius); padding: 1.75rem;
  background: var(--card-purple);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-md);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); }
.card h3 { margin-top: 1rem; }
.card p { color: var(--muted); font-size: .97rem; }
.card .more { font-weight: 700; display: inline-flex; align-items: center; gap: .3rem; border-top: 1px solid rgba(56,40,76,.25); padding-top: 1rem; margin-top: .5rem; }
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.card .more:hover svg { transform: translateX(4px); }

/* cycle pastel card colors + gentle alternating tilt, like the reference service cards */
.grid-3 .card:nth-child(6n+1), .grid-4 .card:nth-child(4n+1) { background: var(--card-purple); transform: rotate(-1.4deg); }
.grid-3 .card:nth-child(6n+2), .grid-4 .card:nth-child(4n+2) { background: var(--card-mint); transform: rotate(1.1deg); }
.grid-3 .card:nth-child(6n+3), .grid-4 .card:nth-child(4n+3) { background: var(--card-peach); transform: rotate(-1deg); }
.grid-3 .card:nth-child(6n+4) { background: var(--card-yellow); transform: rotate(1.3deg); }
.grid-3 .card:nth-child(6n+5) { background: var(--card-mint); transform: rotate(-1.2deg); }
.grid-3 .card:nth-child(6n+6), .grid-4 .card:nth-child(4n) { background: var(--card-purple); transform: rotate(1deg); }
.grid-3 .card:hover, .grid-4 .card:hover { transform: translateY(-4px) rotate(0deg); }
.grid-2 .card:nth-child(odd) { background: var(--card-purple); }
.grid-2 .card:nth-child(even) { background: var(--card-mint); }

.icon-orb {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center;
  background: var(--paper); border: 1.5px solid var(--ink); transform: rotate(-8deg);
  color: var(--ink);
}
.icon-orb svg { width: 26px; height: 26px; }
.pill { display: inline-block; padding: .3rem .8rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--paper); color: var(--ink); border: 1px solid var(--tag-border); }

.section-head { margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head h2 { text-wrap: balance; }

/* ---------- steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 4.4rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: -.2rem; font-family: var(--font-head); font-size: 2.6rem; font-weight: 500; line-height: 1;
  color: var(--purple-deep);
}
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--muted); }

/* ---------- checklist ---------- */
.checklist li { position: relative; padding-left: 1.6rem; margin-bottom: .55rem; }
.checklist li::before { content: "✧"; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--purple-deep); }

/* ---------- split ---------- */
/* minmax(0, 1fr), not plain 1fr: a lone `1fr` track still won't shrink a grid
   item below its content's max-content width (grid items default to
   min-width:auto), so a long heading/paragraph silently grows this single
   mobile column — and the whole page — past the viewport. minmax(0, 1fr)
   caps the track at the container width and lets its content wrap instead. */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; } .split.reverse > :first-child { order: 2; } }
.split-visual { position: relative; }
.glass-panel {
  border-radius: var(--radius); padding: 2rem;
  background: var(--card-purple);
  border: 2px solid var(--ink); box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.glass-panel h3 { color: var(--ink); }
.glass-panel p { color: var(--muted); }
.mini-schedule { display: grid; gap: .6rem; }
.mini-schedule li { display: flex; flex-wrap: wrap; row-gap: .3rem; align-items: center; gap: .5rem .8rem; padding: .7rem .9rem; border-radius: 14px; background: var(--paper); border: 1.5px solid var(--ink); font-size: .9rem; }
.mini-schedule .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; border: 1px solid var(--ink); }
.mini-schedule time { font-family: var(--font-head); font-weight: 500; min-width: 70px; color: var(--accent-2); }
.mini-schedule .tag { margin-left: auto; font-size: .7rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; background: var(--yellow); color: var(--ink); border: 1px solid var(--ink); }

/* ---------- reviews ---------- */
.reviews-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(100%, 360px); gap: 1.5rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: .75rem .25rem 1.5rem; scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; display: flex; flex-direction: column; }
.review .quote-mark { font-family: var(--font-head); font-weight: 500; font-size: 3rem; line-height: .6; color: var(--purple-deep); margin-bottom: .5rem; }
.review p { flex: 1; color: var(--ink); }
.review footer { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; border-top: 1px solid rgba(56,40,76,.25); padding-top: 1rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 500; color: var(--ink); background: var(--yellow); border: 1.5px solid var(--ink); flex: none; }
.review footer strong { display: block; font-size: .95rem; }
.review footer span { font-size: .8rem; color: var(--muted); }
.carousel-controls { display: flex; gap: .6rem; justify-content: center; }
.carousel-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.carousel-btn:hover { background: var(--card-purple); }
.carousel-btn svg { width: 20px; height: 20px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 35px; padding: clamp(2.25rem, 6vw, 3.5rem); text-align: center;
  background: var(--about-bg); border: 2px dashed var(--about-border);
}
.cta-band h2 { margin-bottom: .75rem; }
.cta-band p { color: var(--muted); max-width: 56ch; margin: 0 auto 1.75rem; }
.cta-band .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(2.5rem, 8vw, 4rem) 0 clamp(1.5rem, 5vw, 2.5rem); position: relative; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.breadcrumb { display: flex; gap: .5rem; font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- service detail blocks ---------- */
.service-block { display: grid; gap: 2rem; padding: 2rem 0; border-top: 2px dashed rgba(56,40,76,.25); }
@media (min-width: 860px) { .service-block { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 3rem; padding: 2.75rem 0; } }
.service-block:first-of-type { border-top: 0; }
.service-block h3 { font-size: 1.6rem; display: flex; align-items: center; gap: .8rem; }
.service-block .meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0 1rem; }
.service-block .btn { margin-top: 1.25rem; }
.included { columns: 1; gap: 2rem; }
@media (min-width: 600px) { .included { columns: 2; } }
.included li { break-inside: avoid; }

/* ---------- forms ---------- */
.form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 600px) { .form-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .35rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border-radius: 14px; font: inherit; color: var(--ink);
  background: var(--paper); border: 2px solid var(--ink); outline: none; transition: box-shadow .2s, transform .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #a99fb0; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: var(--shadow-sm); transform: translate(-1px,-1px); }
.field textarea { min-height: 120px; resize: vertical; }
.field .error { display: none; color: #b3436b; font-size: .82rem; margin-top: .3rem; font-weight: 600; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b3436b; }
.field.invalid .error { display: block; }
.form-note { font-size: .82rem; color: var(--muted); }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* choice tiles */
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 640px) { .choices { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice label {
  display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center;
  padding: 1rem .75rem; border-radius: 18px; border: 2px solid var(--ink); background: var(--paper);
  cursor: pointer; font-weight: 700; font-size: .88rem; transition: background .2s, transform .2s, box-shadow .2s; height: 100%;
}
.choice label svg { width: 26px; height: 26px; color: var(--accent-2); }
.choice label:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.choice input:checked + label { background: var(--card-purple); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.choice input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }

/* multi-step */
.steps-progress { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.75rem; }
.steps-progress .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 500; font-size: .85rem; background: var(--paper); border: 2px solid var(--ink); color: var(--ink); }
.steps-progress .dot.active { background: var(--yellow); }
.steps-progress .dot.done { background: var(--teal); }
.steps-progress .line { flex: 1; height: 2px; background: rgba(56,40,76,.25); }
.steps-progress .line.done { background: var(--purple-deep); }
.form-step { display: none; }
.form-step.active { display: grid; gap: 1rem; }
.form-step legend { font-family: var(--font-head); font-weight: 500; font-size: 1.35rem; margin-bottom: .75rem; padding: 0; color: var(--ink); }
.form-step fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: .5rem; }
.form-status { display: none; padding: .9rem 1rem; border-radius: 14px; font-size: .9rem; font-weight: 600; }
.form-status.error { display: block; background: #fbe1ea; border: 2px solid #b3436b; color: #7a2d47; }
.form-status.sending { display: block; background: var(--card-mint); border: 2px solid var(--ink); color: var(--ink); }

/* ---------- modal (plain overlay, not <dialog>, for reliable centering across browsers/emulation) ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 2rem 1rem;
}
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(56,40,76,.45); }
.modal-panel { position: relative; width: min(92vw, 680px); max-height: calc(100vh - 4rem); overflow: auto; box-shadow: var(--shadow-lg); }
.modal-close { position: absolute; top: .9rem; right: .9rem; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); display: grid; place-items: center; }
.modal-close svg { width: 18px; height: 18px; }
.modal h2 { font-size: 1.6rem; padding-right: 3rem; }
body.modal-open { overflow: hidden; }

/* ---------- contact ---------- */
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 2px dashed rgba(56,40,76,.2); }
.contact-list svg { width: 22px; height: 22px; color: var(--purple-deep); flex: none; margin-top: .2rem; }
.contact-list strong { display: block; font-family: var(--font-head); font-weight: 500; }
.contact-list a { color: var(--ink); }
.contact-list a:hover { color: var(--accent); }

/* ---------- footer ---------- */
.site-footer { position: relative; padding: 3.5rem 0 2rem; border-top: 2px solid var(--ink); background: var(--paper); color: var(--muted); font-size: .93rem; }
.footer-grid { display: grid; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); } }
.site-footer h4 { font-family: var(--font-head); font-weight: 500; color: var(--ink); font-size: 1.1rem; margin-bottom: 1rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }
.site-footer ul li { margin-bottom: .55rem; }
.footer-brand img { height: 60px; width: auto; margin-bottom: 1rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 2px dashed rgba(56,40,76,.2); font-size: .82rem; }
.social { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font-weight: 600; }
.social:hover { background: var(--card-purple); color: var(--ink); }
.social svg { width: 18px; height: 18px; }

/* ---------- mobile call bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .6rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
  background: var(--paper); border-top: 2px solid var(--ink);
}
.mobile-bar .btn { width: 100%; padding: .8rem 1rem; min-height: 48px; }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .porthole .badge, .sparkle { animation: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- misc ---------- */
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-weight: 500; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: var(--accent-2); }
.stat span { color: var(--muted); font-size: .9rem; }
.faq details { border: 2px solid var(--ink); border-radius: 18px; padding: 1rem 1.25rem; margin-bottom: .75rem; background: var(--paper); }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 500; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--purple-deep); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .75rem 0 0; color: var(--muted); }
.map-svg { width: 100%; height: auto; }
.thanks-orb { width: 110px; height: 110px; margin: 0 auto 1.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); border: 2px solid var(--ink); box-shadow: var(--shadow-md); }
.thanks-orb svg { width: 52px; height: 52px; color: var(--ink); }

/* service strip marquee (used on the home hero) */
.service-strip { background: var(--purple); border-block: 2px solid var(--ink); }
.strip-inner { display: flex; justify-content: center; align-items: center; gap: 1.25rem; flex-wrap: wrap; padding-block: 1.1rem; font-family: var(--font-head); font-weight: 500; font-size: 1.15rem; color: var(--ink); }
.strip-inner .spark { font-size: 1.2rem; color: var(--accent-2); }
