/* ==========================================================================
   DOLCISSIMO — Fine Italian Desserts & Specialty Foods
   Shared stylesheet for all pages.

   Design system
   -------------
   Palette (extracted from the Dolcissimo logo):
     --panna    warm light page background ("panna" = cream)
     --crema    deeper cream for alternating sections and image frames
     --nero     the logo's warm black ink (slight plum cast — not #000)
     --rosso    the logo's red. Reserved for conversion actions only.
     --verde    the logo's green. Signature mark + savings/freshness accents.
     --tortora  warm taupe for captions and secondary text
     --linea    hairline rule color

   Type:
     Display — "Bodoni Moda" (Parma, 1798 — the Italian editorial voice)
     Body/UI — "Hanken Grotesk"

   Signature device — the "doppia esse": the two brush strokes (green + red)
   taken from the double-s of the logo. Used in section eyebrows, bullets
   and link underlines. Rendered as an inline SVG symbol (#doppia) that each
   page defines once in the markup.
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable) --------------------------------- */
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-var.woff2?v=2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-italic-var.woff2?v=2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-var.woff2?v=2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-italic-var.woff2?v=2") format("woff2");
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens --------------------------------------------------------- */
:root {
  --panna:   #FBF8F3;
  --crema:   #F3EDE2;
  --nero:    #211523;
  --rosso:   #B5121F;
  --rosso-dark: #93101A;
  --verde:   #009B52;        /* brand green — the doppia mark & non-text accents */
  --verde-ink: #00753C;      /* darker green that passes AA as text / white-on-green */
  --tortora: #6C6257;        /* warm taupe secondary text — AA on panna, crema & white */
  --linea:   #E5DDD0;
  --bianco:  #FFFFFF;

  --font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --font-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --container: 74rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-pad: clamp(4rem, 9vw, 7.5rem);
  --radius: 6px;

  --shadow-soft: 0 18px 50px -24px rgba(33, 21, 35, 0.28);
}

/* ---------- Reset / base --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--panna);
  color: var(--nero);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0 0 0.6em; font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: 0.005em; }
p { margin: 0 0 1em; }
a { color: inherit; }
ul { padding: 0; margin: 0; list-style: none; }

::selection { background: var(--verde); color: var(--bianco); }

/* Visible keyboard focus everywhere */
:focus-visible {
  outline: 3px solid var(--verde);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--nero); color: var(--bianco);
  padding: 0.75rem 1.25rem; z-index: 200; font-weight: 600;
}
.skip-link:focus { left: 0; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); }
.section--crema { background: var(--crema); }
.section--nero { background: var(--nero); color: var(--panna); }

/* ---------- The doppia esse mark & eyebrows -------------------------------- */
.dss { width: 22px; height: 15px; flex: none; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.1rem;
  font-size: 0.8125rem;
}
.eyebrow .it {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.eyebrow .en {
  color: var(--tortora);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.eyebrow .en::before { content: "—"; margin-right: 0.65rem; color: var(--linea); }
.section--nero .eyebrow .en { color: rgba(251, 248, 243, 0.65); }

/* On phones: keep the Italian word whole and let the English label wrap
   below it as a unit, instead of both phrases breaking mid-word. */
@media (max-width: 40rem) {
  .eyebrow { flex-wrap: wrap; row-gap: 0.35rem; }
  .eyebrow .it { white-space: nowrap; }
  .eyebrow .en { letter-spacing: 0.14em; }
}

/* Doppia-esse link underline (nav + inline links) */
.link-doppia {
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding-bottom: 3px;
  background-image: linear-gradient(90deg, var(--verde) 0 50%, var(--rosso) 50% 100%);
  background-repeat: no-repeat;
  background-size: 0% 2px;
  background-position: left bottom;
  transition: background-size 0.28s ease;
}
.link-doppia:hover, .link-doppia:focus-visible { background-size: 100% 2px; }

/* ---------- Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.7rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:active { transform: translateY(1px); }

.btn--rosso { background: var(--rosso); color: #fff; }
.btn--rosso:hover, .btn--rosso:focus-visible { background: var(--rosso-dark); }

.btn--outline { border-color: var(--nero); color: var(--nero); background: transparent; }
.btn--outline:hover, .btn--outline:focus-visible { background: var(--nero); color: var(--panna); }

.section--nero .btn--outline,
.btn--outline-light { border-color: rgba(251,248,243,0.7); color: var(--panna); background: transparent; }
.section--nero .btn--outline:hover, .btn--outline-light:hover,
.section--nero .btn--outline:focus-visible, .btn--outline-light:focus-visible { background: var(--panna); color: var(--nero); border-color: var(--panna); }

.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.8125rem; }

/* ---------- Header ---------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linea);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(33,21,35,0.25); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.5rem;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand img { height: 2.9rem; width: auto; }

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
/* "Become a Customer" appears in the hamburger menu only — on desktop it
   already lives in the header CTA area. */
.site-nav .nav-become { display: none; }
.site-nav a {
  font-size: 0.9375rem;
  color: var(--nero);
}
.site-nav a[aria-current="page"] {
  background-size: 100% 2px;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}
.nav-toggle .bar {
  display: block;
  width: 24px; height: 2px;
  background: var(--nero);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Mobile nav — hamburger takes over before the desktop header runs out of room
   (covers iPad landscape at 1024px and half-screen desktop windows). */
@media (max-width: 64rem) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: 4.5rem 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--panna);
    border-bottom: 1px solid var(--linea);
    padding: 0.5rem var(--gutter) 1.5rem;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    width: 100%;
    padding: 0.85rem 0;
    font-size: 1.125rem;
    border-bottom: 1px solid var(--linea);
  }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav .nav-become { display: block; font-weight: 700; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-cta .become-link { display: none; }
}

/* ---------- Hero ------------------------------------------------------------ */
.hero { padding-block: clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.35rem);
  font-weight: 640;
  margin-bottom: 0.5em;
}
.hero h1 em { font-style: italic; font-weight: 560; }
.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.1875rem);
  max-width: 34em;
  color: rgba(33, 21, 35, 0.82);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.9rem; }
.hero-note { margin-top: 1.1rem; font-size: 0.9375rem; color: var(--tortora); }
.hero-note a { color: var(--nero); }

.hero-figure { position: relative; margin: 0; }
.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.hero-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.8rem;
  font-size: 0.875rem;
  color: var(--tortora);
}
.hero-figure figcaption .it { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--nero); }

@media (max-width: 56rem) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .hero-figure img { aspect-ratio: 16 / 10; }
}

/* ---------- Trust bar ------------------------------------------------------- */
.trust-bar { border-block: 1px solid var(--linea); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  padding: 1.6rem 1.25rem;
  text-align: center;
}
.trust-item + .trust-item { border-left: 1px solid var(--linea); }
.trust-item .big {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 640;
  line-height: 1.1;
  display: block;
}
.trust-item .small {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--tortora);
  display: block;
  margin-top: 0.35rem;
}
@media (max-width: 56rem) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--linea); }
}

/* ---------- Section headings ------------------------------------------------ */
.section-head { max-width: 44em; margin-bottom: clamp(2.2rem, 4.5vw, 3.5rem); }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.section-head p { color: rgba(33,21,35,0.75); max-width: 38em; }
.section--nero .section-head p { color: rgba(251,248,243,0.75); }
.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  max-width: none;
}
@media (max-width: 44rem) {
  .section-head--row { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* ---------- Category tiles --------------------------------------------------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.4vw, 2rem);
}
.cat-tile { text-decoration: none; display: block; }
.cat-tile .frame {
  display: block;
  background: var(--bianco);
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.cat-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.cat-tile:hover img, .cat-tile:focus-visible img { transform: scale(1.045); }
.cat-tile .label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0.25rem 0;
}
.cat-tile .name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 560;
  font-size: 1.35rem;
}
.cat-tile .arrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tortora);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.cat-tile:hover .arrow { color: var(--rosso); }
.cat-tile .sub { font-size: 0.9375rem; color: var(--tortora); padding: 0.15rem 0.25rem 0; margin: 0; }
@media (max-width: 56rem) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 36rem) { .cat-grid { grid-template-columns: 1fr; } }

/* ---------- Listino rows (ruled list — how ordering works, FAQs) ------------- */
.listino { border-top: 1px solid var(--linea); }
.listino-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1.5rem;
  padding: 1.9rem 0;
  border-bottom: 1px solid var(--linea);
}
.listino-row .num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 560;
  font-size: 1.45rem;
  line-height: 1.2;
}
.listino-row h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.1875rem; margin-bottom: 0.35em; }
.listino-row p { margin: 0; color: rgba(33,21,35,0.78); max-width: 42em; }
.listino-row p strong { color: var(--verde-ink); }
@media (max-width: 36rem) {
  .listino-row { grid-template-columns: 1fr; gap: 0.4rem; }
}

/* ---------- App mockup card --------------------------------------------------- */
.order-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 56rem) { .order-grid { grid-template-columns: 1fr; } }

.app-mock {
  background: var(--bianco);
  border: 1px solid var(--linea);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  max-width: 24rem;
  margin-inline: auto;
}
.app-mock .app-logo { width: 10rem; margin: 0.5rem auto 2.2rem; }
.app-mock .mock-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.8rem;
  border: 1.5px solid var(--linea);
  color: var(--nero);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.app-mock .mock-btn--verde { background: var(--verde-ink); border-color: var(--verde-ink); color: #fff; }
.app-mock .mock-btn--verde:hover, .app-mock .mock-btn--verde:focus-visible { background: #005f31; border-color: #005f31; }
.app-mock .mock-btn:not(.mock-btn--verde):hover, .app-mock .mock-btn:not(.mock-btn--verde):focus-visible { border-color: var(--nero); }
.app-mock .mock-note { text-align: center; font-size: 0.8125rem; color: var(--tortora); margin: 1.4rem 0 0; }

/* ---------- Who we serve ------------------------------------------------------ */
.serve-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.5rem 0 2.5rem; }
.serve-chips li {
  border: 1px solid var(--linea);
  background: var(--bianco);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 2.4vw, 2rem);
}
@media (max-width: 44rem) { .quote-grid { grid-template-columns: 1fr; } }
.quote {
  background: var(--bianco);
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 0;
}
.quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.4;
  font-weight: 500;
}
.quote footer { font-size: 0.9375rem; color: var(--tortora); }

/* "Also on the truck" chips under the category grid */
.cat-more { margin: 2.2rem 0 0; }
.cat-more .chips-label {
  border: 0;
  background: none;
  padding-left: 0;
  color: var(--tortora);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8125rem;
}
.cat-more li:has(.link-doppia) { border: 0; background: none; }

/* ---------- Full-bleed photo band --------------------------------------------- */
.photo-band {
  height: clamp(14rem, 30vw, 24rem);
  overflow: hidden;
}
.photo-band img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Operation (dark) --------------------------------------------------- */
.op-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: 1rem;
}
@media (max-width: 56rem) { .op-grid { grid-template-columns: 1fr; } }
.op-item { border-top: 1px solid rgba(251,248,243,0.25); padding-top: 1.5rem; }
.op-item .big {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 560;
  display: block;
  margin-bottom: 0.5rem;
}
.op-item h3 { font-family: var(--font-body); font-size: 1.125rem; font-weight: 700; margin-bottom: 0.4em; }
.op-item p { color: rgba(251,248,243,0.72); font-size: 1rem; margin: 0; }

/* ---------- Story teaser -------------------------------------------------------- */
.story-teaser { text-align: center; }
.story-teaser .eyebrow { justify-content: center; }
.story-teaser h2 { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 20em; margin-inline: auto; }
.story-teaser p { max-width: 40em; margin-inline: auto; color: rgba(33,21,35,0.78); }
.story-teaser .btn { margin-top: 1.4rem; }

/* ---------- Final CTA band ------------------------------------------------------- */
.cta-final { text-align: center; }
.cta-final .eyebrow { justify-content: center; }
.cta-final h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 17em; margin-inline: auto; }
.cta-final p { color: rgba(251,248,243,0.75); max-width: 36em; margin-inline: auto; }
.cta-final .hero-ctas { justify-content: center; }
.cta-final .tel {
  display: inline-block;
  margin-top: 1.6rem;
  color: var(--panna);
  font-size: 1.0625rem;
}

/* ---------- Footer ----------------------------------------------------------------- */
.site-footer {
  background: var(--nero);
  color: rgba(251,248,243,0.78);
  border-top: 4px solid;
  border-image: linear-gradient(90deg, var(--verde) 0 50%, var(--rosso) 50% 100%) 1;
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
}
@media (max-width: 56rem) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 36rem) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer .f-logo { width: 11rem; filter: grayscale(1) invert(1) brightness(1.8); margin-bottom: 1.1rem; }
.social-links { display: flex; gap: 0.4rem; margin-top: 1.1rem; }
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem; height: 2.75rem;   /* 44px tap target */
  color: rgba(251,248,243,0.85);
  border: 1px solid rgba(251,248,243,0.25);
  border-radius: 50%;
}
.social-links a:hover, .social-links a:focus-visible { color: #fff; border-color: rgba(251,248,243,0.7); text-decoration: none; }
.social-links svg { width: 1.25rem; height: 1.25rem; }
.site-footer h3 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--panna);
  margin-bottom: 1rem;
}
.site-footer a { color: rgba(251,248,243,0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer address { font-style: normal; }

/* Roomier footer link tap targets on phones (>=44px comfortable) */
@media (max-width: 47.9rem) {
  .site-footer .footer-grid a { display: inline-block; padding: 0.35rem 0; }
  .site-footer li { margin-bottom: 0.35rem; }
}

.footer-bottom {
  border-top: 1px solid rgba(251,248,243,0.15);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(251,248,243,0.55);
}

/* ---------- Mobile sticky action bar ------------------------------------------------ */
.sticky-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 90;
  display: none;
  gap: 1px;
  background: var(--linea);
  border-top: 1px solid var(--linea);
  padding-bottom: env(safe-area-inset-bottom);
}
.sticky-bar a {
  flex: 1;
  text-align: center;
  padding: 0.95rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
}
.sticky-bar .order { background: var(--rosso); color: #fff; }
.sticky-bar .become { background: var(--panna); color: var(--nero); }
@media (max-width: 47.9rem) {
  body.has-sticky-bar { padding-bottom: 3.6rem; }
  body.has-sticky-bar .sticky-bar { display: flex; }
}

/* ---------- Forms (Become a Customer / Contact) -------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.25rem;
}
@media (max-width: 44rem) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.875rem; font-weight: 700; }
.field label .opt { color: var(--tortora); font-weight: 500; }
.field input, .field select, .field textarea {
  font: inherit;
  color: var(--nero);
  background: var(--bianco);
  border: 1.5px solid var(--linea);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(0, 155, 82, 0.18);
}
.form-note { font-size: 0.9375rem; color: var(--tortora); margin: 0.9rem 0 0; }

/* ---------- Become a Customer section ------------------------------------------------- */
.become-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 56rem) { .become-grid { grid-template-columns: 1fr; } }

.become-intro h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.become-intro > p { color: rgba(33,21,35,0.8); max-width: 34em; }
.become-intro .btn { margin-top: 0.5rem; }

.become-perk {
  display: flex;
  gap: 0.85rem;
  margin-top: 2rem;
  padding: 1.2rem 1.35rem;
  background: var(--bianco);
  border: 1px solid var(--linea);
  border-radius: var(--radius);
}
.become-perk .dss { width: 22px; height: 15px; margin-top: 0.35rem; }
.become-perk p { margin: 0; font-size: 0.9375rem; color: rgba(33,21,35,0.82); }

.become-form {
  background: var(--bianco);
  border: 1px solid var(--linea);
  border-radius: 12px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-soft);
}
.become-form-lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  margin: 0 0 1.25rem;
}
.become-form .btn { margin-top: 1.4rem; width: 100%; }

/* ---------- Reveal-on-scroll (JS adds .is-visible; motion-safe only) ------------------
   Scoped to html.js so content is never hidden if JavaScript fails to load.
   Two safeguards keep content from ever being stuck invisible:
   (1) the hero is NEVER gated — it paints immediately so LCP isn't delayed;
   (2) html.reveal-failsafe force-shows everything (set by an inline timer if
       main.js never runs — see the head script). */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.65, 0.25, 1);
  }
  html.js .reveal.is-visible { opacity: 1; transform: none; }
  html.js .reveal-d1 { transition-delay: 0.08s; }
  html.js .reveal-d2 { transition-delay: 0.16s; }
  html.js .reveal-d3 { transition-delay: 0.24s; }

  /* Above-the-fold: hero content must be painted on first frame. */
  html.js .hero .reveal { opacity: 1; transform: none; }

  /* Failsafe: if the observer never initialized, show everything. */
  html.js.reveal-failsafe .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Utilities ------------------------------------------------------------------ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
