/* ==========================================================================
   COMPONENTS — reusable blocks shared across pages.
   Loaded on every page, after base.css.

   Contents:  marquee · header/nav · footer · card · feature · split · ticks
              stats · quote · faq · cta-band · page-hero · prose · form
              lightbox · float-wa
   ========================================================================== */

/* ==========================================================================
   MARQUEE (top strip)
   ========================================================================== */

.marquee {
  background: var(--ink); color: #fff;
  font-size: .84rem; font-weight: 600; letter-spacing: .04em;
  padding: 10px 0; overflow: hidden; white-space: nowrap;
}
.marquee__track { display: inline-flex; gap: 48px; padding-right: 48px; animation: marquee 28s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 10px; }
.marquee span::before { font-family: "Font Awesome 6 Free"; font-weight: 900; -webkit-font-smoothing: antialiased; content: "\f005"; font-size: .8em; color: var(--highlight); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */

.header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.header.is-stuck { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,.4); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 10px; }

.logo {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
  color: var(--ink); letter-spacing: -.02em; line-height: 1.05;
}
.logo:hover { color: var(--ink); }

/* Header: the whole supplied lockup, background removed. Sized by width so
   the wordmark stays readable — the header grows to fit it. */
.logo--head { display: block; }
.logo--head img {
  width: clamp(126px, 12.5vw, 168px);
  height: auto;
  transition: transform .25s ease;
}
.logo--head:hover img { transform: scale(1.04); }

/* Kept for the mark-only lockup, in case a client's artwork suits it better */
.logo__mark {
  width: 46px; height: 46px; flex: none;
  object-fit: contain; object-position: center bottom;
  transition: transform .25s ease;
}
.logo:hover .logo__mark { transform: rotate(-6deg) scale(1.06); }

.logo__text { display: flex; flex-direction: column; }
.logo__text small {
  font-family: var(--font-body); font-size: .62rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand); margin-top: 3px;
}

/* Footer uses the full supplied lockup. The artwork has black type in it,
   which vanishes against the dark footer — so it sits on a light plate
   rather than being recoloured. Drop the background if a client ever
   supplies a reversed (white) version of their logo. */
.logo--full {
  display: inline-block;
  background: var(--cream);
  padding: 16px 20px;
  border-radius: var(--radius);
}
.logo--full img { width: clamp(170px, 15vw, 215px); height: auto; }

/* Emoji fallback, used when no SITE.logo is configured */
.logo__dot {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  background: linear-gradient(140deg, var(--brand), var(--accent));
  display: grid; place-items: center; color: #fff; font-size: 1rem;
}

@media (max-width: 420px) {
  .logo { font-size: 1.12rem; gap: 9px; }
  .logo__mark { width: 38px; height: 38px; }
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink); font-weight: 600; font-size: .96rem;
  padding: 10px 15px; border-radius: var(--radius-pill);
  transition: background .18s ease, color .18s ease;
}
.nav a:hover, .nav a.is-active { background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--brand); }
.nav > .btn { margin-left: 8px; display: none; }   /* shown only in the mobile drawer */

.header__cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 14px;
  border: 2px solid var(--line); background: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span { position: relative; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: .2s;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .header__cta > .btn { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 16px 24px 28px; box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 16px; font-size: 1.05rem; }
  .nav > .btn { display: inline-flex; margin: 10px 0 0; width: 100%; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer { background: var(--ink); color: rgba(255,255,255,.72); padding-block: clamp(50px, 6vw, 80px) 30px; }
.footer a { color: rgba(255,255,255,.72); }
.footer a:hover { color: #fff; }
.footer .logo { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__blurb { margin-top: 16px; max-width: 34ch; }
.footer h4 {
  color: #fff; font-family: var(--font-body); font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: .95rem; }
.footer__bottom {
  margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .87rem;
}

.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.1);
  display: grid; place-items: center; font-size: 1rem; transition: background .2s, transform .2s;
}
.socials a:hover { background: var(--brand); transform: translateY(-3px); }

@media (max-width: 1024px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 620px)  { .footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   SECTION FADES
   --------------------------------------------------------------------------
   Softens the join where two background colours meet, instead of a hard
   horizontal line. Drop one as the first child of the incoming section and
   name the colour coming from above:

       <section class="section section--white">
         <span class="fade fade--cream" aria-hidden="true"></span>
         …
       </section>

   It sits inside the section's own top padding, so it never overlaps content
   and needs no layout changes. Purely decorative.
   ========================================================================== */

.fade {
  position: absolute; top: 0; left: 0; right: 0;
  height: clamp(56px, 8vw, 120px);
  pointer-events: none; z-index: 0;
  background: linear-gradient(to bottom, var(--fade-from), transparent);
}

.fade--cream { --fade-from: var(--cream); }
.fade--white { --fade-from: #fff; }
.fade--ink   { --fade-from: var(--ink); }

/* ==========================================================================
   COLOUR BLOBS
   --------------------------------------------------------------------------
   The soft out-of-focus circles from behind the hero image, reusable anywhere.
   Put them directly inside a section marked .section--blobs:

       <section class="section section--blobs">
         <span class="blob blob--a" aria-hidden="true"></span>
         <span class="blob blob--b" aria-hidden="true"></span>
         <div class="container"> … </div>
       </section>

   Each one is a cluster, not a single circle: the element is the big blob and
   its two pseudo-elements are smaller companions, so one span gives three
   shapes and one blur pass.

   Positions are inset far enough from the section edges that nothing gets cut
   off — a blob sliced flat by the section boundary reads as a bug, not a
   design. The section still clips as a safety net so none of this can ever
   add sideways scroll.
   ========================================================================== */

.section--blobs { position: relative; overflow: hidden; }
.section--blobs > .container,
.section--blobs > .bleed-split { position: relative; z-index: 1; }

.blob {
  position: absolute; z-index: 0;
  width: var(--blob-size, 260px); height: var(--blob-size, 260px);
  border-radius: 50%;
  background: var(--blob-1);
  filter: blur(46px); opacity: .62; pointer-events: none;
}

/* The two little ones orbiting the big one */
.blob::before,
.blob::after { content: ""; position: absolute; border-radius: 50%; }
.blob::before { width: 36%; height: 36%; background: var(--blob-2); top: -18%; left: 4%; }
.blob::after  { width: 24%; height: 24%; background: var(--blob-3); bottom: -10%; right: 6%; }

/* ── Placements. Insets are big enough to clear the companions too ─────── */
.blob--a { --blob-size: 205px; top: 96px;     right: 84px; }
.blob--b { --blob-size: 190px; bottom: 96px;  left: 80px; }
.blob--c { --blob-size: 200px; bottom: 100px; right: 88px; }
.blob--d { --blob-size: 185px; top: 100px;    left: 80px; }
.blob--e { --blob-size: 195px; top: 92px;     left: 34%; }

/* ── Colour sets — big, then the two companions ────────────────────────── */
.blob--a { --blob-1: var(--accent-2); --blob-2: var(--highlight); --blob-3: var(--accent-3); }
.blob--b { --blob-1: var(--highlight); --blob-2: var(--accent);   --blob-3: var(--accent-2); }
.blob--c { --blob-1: var(--accent-3); --blob-2: var(--accent-2);  --blob-3: var(--highlight); }
.blob--d { --blob-1: var(--brand);    --blob-2: var(--accent);    --blob-3: var(--highlight); }
.blob--e { --blob-1: var(--accent);   --blob-2: var(--brand);     --blob-3: var(--accent-3); }

@media (max-width: 860px) {
  /* Smaller and pulled further in, so a narrow column doesn't get swamped
     and the companions still clear the edges. */
  .blob { --blob-size: 175px; filter: blur(38px); opacity: .55; }
  .blob--a { top: 70px;    right: 40px; }
  .blob--b { bottom: 70px; left: 36px; }
  .blob--c { bottom: 76px; right: 42px; }
  .blob--d { top: 76px;    left: 36px; }
  .blob--e { top: 76px;    left: 30%; }
}

/* ==========================================================================
   CARD (product / service / machine)
   ========================================================================== */

/* Products stay card-shaped — people expect to compare them side by side —
   but the box is barely there. The image does the work, not a border. */
.card {
  background: none; border-radius: 0;
  display: flex; flex-direction: column;
  transition: transform .25s ease;
}
.card:hover { transform: translateY(-6px); }

/* Square, because the supplied machine photos are square — cropping them to
   4:3 would slice the top off the machines. Change back to 4/3 if a client's
   photos are landscape. */
.card__media {
  position: relative; aspect-ratio: 1; overflow: hidden;
  background: var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: box-shadow .25s ease;
}
.card:hover .card__media { box-shadow: var(--shadow-lg); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.06); }

.card__tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--highlight); color: var(--ink);
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 14px; border-radius: var(--radius-pill);
}

.card__body { padding: 22px 2px 0; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: .3em; }
.card__body > p { font-size: .96rem; margin-bottom: 16px; }

.card__specs { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.card__specs li { display: flex; gap: 10px; color: var(--ink-soft); }
.card__specs li::before { content: "•"; color: var(--brand); font-weight: 700; }

.card__foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding-top: 16px; border-top: 1px solid var(--line);
}
/* Use .card__price when a client publishes fixed prices… */
.card__price { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink); }
.card__price small { display: block; font-family: var(--font-body); font-size: .74rem; font-weight: 500; color: var(--ink-soft); }

/* …and .card__quote when they quote per job instead. Same slot, quieter type,
   because "Quote on request" is a label rather than a headline number. */
.card__quote { font-weight: 700; font-size: .98rem; color: var(--ink); line-height: 1.25; }
.card__quote small { display: block; font-size: .74rem; font-weight: 500; color: var(--ink-soft); margin-top: 2px; }

/* ── Featured item ────────────────────────────────────────────────────────
   Spans two columns and lies on its side. Put this on your best seller so
   the grid isn't nine identical rectangles.
     <article class="card card--featured">                                 */
.card--featured { grid-column: span 2; flex-direction: row; gap: 34px; align-items: center; }
.card--featured .card__media { flex: 1 1 46%; aspect-ratio: 1; }
.card--featured .card__body { flex: 1 1 54%; padding-top: 0; }
.card--featured h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.card--featured .card__body > p { font-size: 1.04rem; }

@media (max-width: 860px) {
  .card--featured { grid-column: span 1; flex-direction: column; gap: 0; }
  .card--featured .card__body { padding-top: 22px; }
}

/* ==========================================================================
   FEATURE (icon + text)
   ========================================================================== */

/* No box. A hairline above and generous space does the separating instead. */
.feature { text-align: left; padding: 26px 0 0; border-top: 2px solid var(--ink); }
.feature__icon {
  width: 56px; height: 56px; margin: 0 0 18px; border-radius: 18px;
  display: grid; place-items: center; font-size: 1.6rem;
  background: linear-gradient(140deg, var(--brand), var(--accent));
  box-shadow: 0 12px 24px -12px var(--brand);
}
/* Boxed version, if you ever want it back: class="feature feature--card" */
.feature--card {
  text-align: center; padding: 34px 26px; border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: var(--surface);
}
.feature--card .feature__icon { margin-inline: auto; }
.feature:nth-child(2) .feature__icon { background: linear-gradient(140deg, var(--accent-2), var(--brand)); box-shadow: 0 12px 24px -12px var(--accent-2); }
.feature:nth-child(3) .feature__icon { background: linear-gradient(140deg, var(--accent-3), var(--accent)); box-shadow: 0 12px 24px -12px var(--accent-3); }
.feature:nth-child(4) .feature__icon { background: linear-gradient(140deg, var(--highlight), var(--accent)); box-shadow: 0 12px 24px -12px var(--highlight); }
.feature h3 { font-size: 1.25rem; }
.feature p { font-size: .95rem; margin: 0; }

/* ==========================================================================
   POINTS — a numbered editorial list. Use instead of a row of feature cards
   when you want the page to breathe.

     <ol class="points">
       <li class="point">
         <h3>Heading</h3>
         <p>Body copy.</p>
       </li>
     </ol>

   The numbers are generated by CSS — don't type them in.
   ========================================================================== */

.points { list-style: none; counter-reset: point; margin: 0; padding: 0; }

.point {
  counter-increment: point;
  display: grid; grid-template-columns: 90px 1fr 1.5fr; gap: clamp(20px, 3vw, 48px);
  align-items: start;
  padding: clamp(26px, 3vw, 40px) 0;
  border-top: 1px solid var(--line);
}
.point:last-child { border-bottom: 1px solid var(--line); }

.point::before {
  content: counter(point, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.6rem; line-height: 1; color: var(--brand);
}
.point h3 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.6rem); }
.point p  { margin: 0; font-size: 1rem; }

@media (max-width: 860px) {
  .point { grid-template-columns: 54px 1fr; gap: 16px; }
  .point h3 { grid-column: 2; }
  .point p  { grid-column: 2; margin-top: 8px; }
}

/* ==========================================================================
   SPLIT (image beside text) · TICKS · STATS
   ========================================================================== */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--flip .split__media { order: 2; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }

/* Asymmetric variants — a 50/50 split every time is what makes a page feel
   templated. Named for what happens to the IMAGE column.
     .split--media-lg   big landscape image, tighter text
     .split--media-sm   narrow upright image, roomy text                     */
.split--media-lg { grid-template-columns: 1.3fr .7fr; }
.split--media-lg .split__media img { aspect-ratio: 4 / 3; }

.split--media-sm { grid-template-columns: .7fr 1.3fr; }
.split--media-sm .split__media img { aspect-ratio: 3 / 4; }

@media (max-width: 860px) {
  .split--media-lg, .split--media-sm { grid-template-columns: 1fr; }
  .split--media-lg .split__media img,
  .split--media-sm .split__media img { aspect-ratio: 5 / 4; }
}

/* ==========================================================================
   BLEED SPLIT — image runs off the edge of the screen, text sits in a column
   beside it. No container needed; this element IS full width.

     <section class="bleed-split">
       <div class="bleed-split__media"><img src="…" alt="…"></div>
       <div class="bleed-split__body"><div>…your text…</div></div>
     </section>

   Add .bleed-split--right to put the image on the right instead.
   ========================================================================== */

.bleed-split { display: grid; grid-template-columns: 47vw 1fr; align-items: center; }
.bleed-split__media { height: 100%; min-height: clamp(340px, 46vw, 660px); background: var(--line); }
.bleed-split__media img { width: 100%; height: 100%; object-fit: cover; }

.bleed-split__body { padding: clamp(40px, 6vw, 90px) clamp(24px, 5vw, 80px); }
.bleed-split__body > div { max-width: 46ch; }

.bleed-split--right .bleed-split__media { order: 2; }
.bleed-split--right .bleed-split__body { display: flex; justify-content: flex-end; }

@media (max-width: 900px) {
  .bleed-split { grid-template-columns: 1fr; }
  .bleed-split__media { min-height: 0; aspect-ratio: 16 / 10; }
  .bleed-split--right .bleed-split__media { order: 0; }
  .bleed-split--right .bleed-split__body { display: block; }
  .bleed-split__body > div { max-width: none; }
}

.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.ticks li::before {
  font-family: "Font Awesome 6 Free"; font-weight: 900; -webkit-font-smoothing: antialiased; content: "\f00c";
  flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 9px;
  background: color-mix(in srgb, var(--accent-3) 22%, transparent); color: var(--accent-3);
  font-weight: 800; font-size: .8rem; display: grid; place-items: center;
}

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.stat__num { font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; color: var(--brand); line-height: 1; }
.stat__label { font-size: .86rem; color: var(--ink-soft); margin-top: 6px; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
}
@media (max-width: 620px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   QUOTE (testimonial)
   ========================================================================== */

/* Borderless. A rule on top and the type does the work. */
.quote {
  background: none; border: none; border-top: 1px solid var(--line);
  border-radius: 0; box-shadow: none; padding: 26px 0 0;
  display: flex; flex-direction: column; margin: 0;
}
.quote__stars { color: var(--highlight); font-size: 1.05rem; letter-spacing: 3px; margin-bottom: 14px; }
.quote blockquote { margin: 0; }
.quote p { font-size: 1.02rem; color: var(--ink); margin-bottom: 22px; }

/* ── Lead quote ───────────────────────────────────────────────────────────
   One big pull quote above the smaller ones. Set it in the display face and
   let it run wide — this is the single easiest way to break up a grid.
     <figure class="quote quote--lead">                                     */
.quote--lead { border-top: none; padding: 0; text-align: center; align-items: center; }
.quote--lead p {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem); line-height: 1.22;
  letter-spacing: -.015em; margin-bottom: 28px;
}
.quote--lead .quote__stars { font-size: 1.3rem; }
.quote--lead .quote__who { justify-content: center; }
.quote__who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote__avatar {
  width: 46px; height: 46px; flex: none; border-radius: 50%;
  background: linear-gradient(140deg, var(--brand), var(--accent-2));
  color: #fff; display: grid; place-items: center; font-weight: 800;
}
.quote__name { display: block; font-weight: 700; font-size: .95rem; color: var(--ink); }
.quote__meta { display: block; font-size: .82rem; color: var(--ink-soft); }

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

/* Hairline dividers, no boxes. Bigger question type, full width of whatever
   container you put it in — try .container--narrow or .container--mid. */
.faq { display: grid; gap: 0; }
.faq__item { background: none; border: none; border-top: 1px solid var(--line); border-radius: 0; }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--font-display); font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  font-weight: 700; color: var(--ink); letter-spacing: -.01em;
  padding: 26px 4px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: color .2s ease;
}
.faq__q:hover { color: var(--brand); }
.faq__q::after {
  font-family: "Font Awesome 6 Free"; font-weight: 900; -webkit-font-smoothing: antialiased; content: "\2b"; font-size: 1.15rem;
  color: var(--brand); transition: transform .25s ease; flex: none; line-height: 1;
}
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 60px 28px 4px; margin: 0; font-size: 1.02rem; max-width: 68ch; }

/* ==========================================================================
   CTA BAND
   ========================================================================== */

.cta-band {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background: linear-gradient(120deg, var(--brand), var(--accent-2));
  border-radius: var(--radius-lg);
  padding: clamp(44px, 6vw, 76px) clamp(28px, 5vw, 64px);
}
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.13); }
.cta-band::before { width: 320px; height: 320px; top: -140px; left: -80px; }
.cta-band::after  { width: 260px; height: 260px; bottom: -130px; right: -60px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 1.08rem; max-width: 56ch; margin-inline: auto; }
.cta-band .btn-row { margin-top: 26px; }

/* ==========================================================================
   PAGE HERO (every page except the homepage)
   ========================================================================== */

.page-hero {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  padding-block: clamp(56px, 8vw, 104px);
  background: linear-gradient(120deg, var(--brand), var(--accent-2));
}
.page-hero::before, .page-hero::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.12); }
.page-hero::before { width: 360px; height: 360px; top: -170px; left: -90px; }
.page-hero::after  { width: 280px; height: 280px; bottom: -160px; right: -70px; }
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.9); max-width: 60ch; margin-inline: auto; }
.page-hero .eyebrow { color: #fff; background: rgba(255,255,255,.16); }

.breadcrumb { font-size: .88rem; color: rgba(255,255,255,.75); margin-top: 18px; }
.breadcrumb a { color: #fff; }

/* ==========================================================================
   PROSE (long-form text — page.html)
   ========================================================================== */

.prose { max-width: 760px; margin-inline: auto; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { font-size: 1.04rem; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; color: var(--ink-soft); }
.prose li { margin-bottom: .5em; }
.prose blockquote {
  margin: 1.6em 0; padding: 20px 26px; border-left: 5px solid var(--brand);
  background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0;
}
.prose blockquote p:last-child { margin: 0; }
.prose img { border-radius: var(--radius); box-shadow: var(--shadow); margin-block: 1.6em; }
.prose hr { border: none; border-top: 2px dashed var(--line); margin: 2.4em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .96rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 700; color: var(--ink); }

/* ==========================================================================
   FORM
   ========================================================================== */

/* A form still wants to read as one surface, but a heavy card would shout
   next to the hairline-ruled blocks beside it. Border only, no shadow. */
.form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 40px); box-shadow: none;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; background: var(--cream);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: var(--ring);
}
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field__error { display: none; color: var(--brand-dark); font-size: .84rem; margin-top: 6px; font-weight: 600; }

/* ── Tick-as-many-as-you-like choices ──────────────────────────────────────
   A <fieldset> so screen readers announce "What are you after?" once, then
   each option — the accessible equivalent of a <label> on a single input.
   Browsers give fieldsets a default border and odd padding, hence the reset. */
.field--choices { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.field--choices legend {
  display: block; font-weight: 700; font-size: .9rem; margin-bottom: 4px; padding: 0;
}
.field__hint { font-size: .84rem; color: var(--ink-soft); margin: 0 0 10px; }

.choices { display: flex; flex-wrap: wrap; gap: 10px; }

/* The real checkbox is hidden but still focusable and still what the form
   submits — so keyboard and screen-reader users get the normal control, and
   everyone sees a chip. */
.choice { position: relative; cursor: pointer; }
.choice input {
  position: absolute; opacity: 0; width: 0; height: 0; margin: 0;
}
.choice span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 16px; border: 2px solid var(--line); border-radius: 999px;
  background: var(--cream); font-weight: 600; font-size: .92rem; line-height: 1;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}
.choice span i { font-size: .95em; opacity: .75; }
.choice:hover span { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.choice input:checked + span {
  background: var(--brand); border-color: var(--brand); color: #fff;
}
.choice input:checked + span i { opacity: 1; }
/* Focus has to be drawn on the chip, since the input itself is invisible. */
.choice input:focus-visible + span { outline: none; box-shadow: var(--ring); border-color: var(--brand); }

@media (prefers-reduced-motion: reduce) {
  .choice:hover span { transform: none; }
}
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--brand); }
.field.has-error .field__error { display: block; }

/* ── The "I'm not a robot" box ────────────────────────────────────────────
   Google draws it inside an iframe at a fixed 304×78, so there is nothing to
   restyle — all we can do is make room for it and get it out of the way on a
   narrow phone, where 304px plus the form's padding overflows. It stays
   hidden until contact.js finds a key in the config.

   The hidden textarea Google puts in here is the answer that posts with the
   form. It carries display:none inline, but the .field textarea rules above
   would otherwise be sitting there waiting to give it a 130px height if that
   ever changed. */
.field--captcha { margin-bottom: 18px; }
.field--captcha textarea { display: none; }

@media (max-width: 400px) {
  /* Scaling is visual only — the box would still reserve its full 78px and
     leave a gap — so the height comes down to match. */
  .field--captcha > div { transform: scale(.85); transform-origin: 0 0; height: 66px; }
}
.form__note { font-size: .84rem; color: var(--ink-soft); margin: 14px 0 0; text-align: center; }
.form__success {
  display: none; margin-bottom: 18px; padding: 16px 18px; border-radius: 14px; font-weight: 600;
  background: color-mix(in srgb, var(--accent-3) 16%, transparent); color: #16795F;
}
.form__success.is-visible { display: block; }
.form__error {
  margin-bottom: 18px; padding: 16px 18px; border-radius: 14px; font-weight: 600;
  background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand-dark);
}

@media (max-width: 620px) { .field--row { grid-template-columns: 1fr; } }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */

.lightbox { position: fixed; inset: 0; z-index: 500; display: none; place-items: center; background: rgba(43,27,46,.9); padding: 24px; }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(1000px, 92vw); max-height: 86vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox__close {
  position: absolute; top: 22px; right: 24px; width: 48px; height: 48px;
  border-radius: 50%; border: none; background: #fff; color: var(--ink);
  font-size: 1.5rem; cursor: pointer;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */

.float-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  font-size: 1.7rem; box-shadow: 0 14px 30px -10px rgba(37,211,102,.7);
  transition: transform .2s;
}
.float-wa:hover { transform: scale(1.08); color: #fff; }
