/* ============================================================
   Laboratorio Creativo — Landing page
   Design system: brand vault (Graphite + Banana Cream + Ivory)
   Font: Montserrat
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --color-primary:     #2F2C29; /* Graphite — testi, header, bottoni scuri */
  --color-accent:      #FBEE6A; /* Banana Cream — CTA, highlight, firma brand */
  --color-accent-soft: #F1E77B; /* Pale Amber — badge, dettagli */
  --color-accent-deep: #E7D634; /* variante per hover/underline su fondo chiaro */
  --color-bg:          #FFFFFF; /* White */
  --color-bg-alt:      #FAF8EC; /* Warm Ivory — sezioni alternate */
  --color-text:        #2F2C29;
  --color-text-muted:  #77726C; /* muted leggibile (deriv. Rosy Granite scurito per AA) */
  --color-border:      #E7E3D8;
  --color-footer:      #1F1D1B;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(47, 44, 41, .06);
  --shadow:    0 12px 32px -12px rgba(47, 44, 41, .18);
  --shadow-lg: 0 30px 60px -24px rgba(47, 44, 41, .30);

  --maxw: 1200px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--color-bg-alt); }
.section__head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section__head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-text); background: var(--color-accent-soft);
  padding: .4rem .8rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.section h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.section__head p { margin-top: 1rem; color: var(--color-text-muted); font-size: 1.06rem; }

.accent {
  color: var(--color-text);
  /* highlighter underline that follows line wraps (no forced width) */
  background-image: linear-gradient(transparent 58%, var(--color-accent) 58%, var(--color-accent) 94%, transparent 94%);
  padding-inline: .04em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 700; font-size: .98rem; letter-spacing: -.01em;
  padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  will-change: transform;
}
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--color-accent); color: var(--color-primary); box-shadow: 0 10px 24px -10px rgba(231, 214, 52, .9); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(231, 214, 52, .95); }
.btn--dark { background: var(--color-primary); color: #fff; }
.btn--dark:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn--outline:hover { background: var(--color-primary); color: #fff; }
.btn--ghost-light { background: rgba(255,255,255,.1); color:#fff; border-color: rgba(255,255,255,.35); }
.btn--ghost-light:hover { background:#fff; color: var(--color-primary); }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, background .3s;
}
.nav.is-scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--color-border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 74px; }
.nav__logo { display: flex; align-items: center; gap: .55rem; }
.nav__logo img { height: 44px; width: auto; }
.nav__wordmark { display: flex; flex-direction: column; line-height: 1; }
.nav__wordmark .l1 { font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; color: var(--color-primary); }
.nav__wordmark .l2 {
  font-weight: 600; font-size: .66rem; letter-spacing: .42em; text-transform: uppercase;
  color: var(--color-text-muted); margin-top: .18rem; margin-left: .04em;
}
.nav__links { display: flex; align-items: center; gap: 1.9rem; }
.nav__links a {
  font-size: .92rem; font-weight: 600; color: var(--color-text); position: relative; padding: .25rem 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--color-accent-deep); transition: width .28s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: .75rem; }
.nav__cta { padding: .7rem 1.25rem; font-size: .9rem; }
.nav__toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--color-border);
  border-radius: 12px; background: #fff; padding: 0; place-items: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--color-primary); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav__toggle span { position: relative; }
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }
body.menu-open .nav__toggle span { background: transparent; }
body.menu-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--color-bg-alt); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/pattern-primary.png") right -80px top -60px / 460px no-repeat;
  opacity: .06; pointer-events: none;
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; padding-block: clamp(3rem, 7vw, 6rem);
}
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .82rem;
  background: #fff; border: 1px solid var(--color-border); padding: .45rem .9rem; border-radius: 999px;
  box-shadow: var(--shadow-sm); margin-bottom: 1.5rem;
}
.hero__badge .stars { color: #E8B800; letter-spacing: 1px; }
.hero h1 { font-size: clamp(2.35rem, 5.4vw, 4rem); line-height: 1.05; }
.hero__sub { margin-top: 1.4rem; font-size: 1.14rem; color: var(--color-text-muted); max-width: 34ch; }
.hero__seo { margin-top: 1.15rem; font-size: .97rem; color: var(--color-text-muted); max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero__media { position: relative; }
.hero__media img {
  width: 100%; height: auto; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); transform: rotate(1.4deg);
}
.hero__media::after {
  content: ""; position: absolute; inset: -14px auto auto -14px; width: 96px; height: 96px;
  background: var(--color-accent); border-radius: 22px; z-index: -1; transform: rotate(-8deg);
}
.hero__chip {
  position: absolute; left: -18px; bottom: 26px; background: #fff; border-radius: 16px;
  padding: .85rem 1.05rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: .7rem;
  font-size: .82rem; font-weight: 600; max-width: 220px;
}
.hero__chip .dot { width: 38px; height: 38px; border-radius: 11px; background: var(--color-accent-soft);
  display: grid; place-items: center; font-size: 1.2rem; flex: none; }
.hero__chip b { display: block; font-weight: 800; font-size: .95rem; }

/* ---------- Trust bar ---------- */
.trust { background: var(--color-primary); color: #fff; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-block: 1.6rem; }
.trust__item { display: flex; align-items: center; gap: .8rem; font-size: .9rem; line-height: 1.35; }
.trust__item .ico { width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: rgba(251, 238, 106, .14); display: grid; place-items: center; font-size: 1.25rem; }
.trust__item b { color: var(--color-accent); font-weight: 800; }
.trust__item span { color: rgba(255,255,255,.72); font-size: .82rem; }

/* ---------- Servizi ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2vw, 1.6rem); }
.card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--color-accent); }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__ico {
  position: absolute; top: 12px; left: 12px; width: 40px; height: 40px; border-radius: 11px;
  background: var(--color-accent); display: grid; place-items: center; font-size: 1.2rem; box-shadow: var(--shadow-sm);
}
.card__body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: 1.18rem; font-weight: 800; }
.card__body p { margin-top: .6rem; color: var(--color-text-muted); font-size: .93rem; line-height: 1.6; }
.card__link {
  margin-top: 1.1rem; align-self: flex-start; font-weight: 700; font-size: .88rem; color: var(--color-primary);
  display: inline-flex; align-items: center; gap: .35rem;
}
.card__link svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.card__link:hover svg { transform: translateX(4px); }
.card__link:hover { color: var(--color-accent-deep); }

/* ---------- Come lavoriamo ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; position: relative; }
.step { position: relative; padding: 1.6rem 1.4rem; background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); }
.step__num {
  width: 48px; height: 48px; border-radius: 14px; background: var(--color-primary); color: var(--color-accent);
  font-weight: 800; font-size: 1.3rem; display: grid; place-items: center; margin-bottom: 1rem;
}
.step h3 { font-size: 1.1rem; }
.step p { margin-top: .5rem; color: var(--color-text-muted); font-size: .92rem; }
.step__arrow { position: absolute; top: 42px; right: -.85rem; color: var(--color-accent-deep); z-index: 2; }
.step:last-child .step__arrow { display: none; }

/* ---------- Perché noi + Chi siamo ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.why__item { padding: 1.8rem 1.5rem; border-radius: var(--radius); background: var(--color-bg-alt);
  border: 1px solid var(--color-border); }
.why__item .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--color-accent);
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1.1rem; }
.why__item h3 { font-size: 1.15rem; }
.why__item p { margin-top: .55rem; color: var(--color-text-muted); font-size: .95rem; }

.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center;
  margin-top: clamp(3rem, 6vw, 5rem); }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); }
.about__est {
  position: absolute; left: 18px; bottom: 18px; background: var(--color-accent); color: var(--color-primary);
  font-weight: 800; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase;
  padding: .6rem .95rem; border-radius: 999px; box-shadow: var(--shadow);
}
.about__body h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.about__body p { margin-top: 1.1rem; color: var(--color-text-muted); font-size: 1.02rem; }
.about__sign { margin-top: 1.4rem; font-weight: 800; font-size: 1.05rem; }
.about__sign span { display: block; font-weight: 600; font-size: .85rem; color: var(--color-text-muted); }

/* ---------- Recensioni ---------- */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.review { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; display: flex; flex-direction: column; }
.review .stars { color: #E8B800; letter-spacing: 2px; font-size: 1rem; }
.review p { margin-top: .9rem; font-size: .96rem; color: var(--color-text); font-style: italic; flex: 1; }
.review__by { margin-top: 1.2rem; display: flex; align-items: center; gap: .7rem; }
.review__by .av { width: 40px; height: 40px; border-radius: 50%; background: var(--color-accent-soft);
  display: grid; place-items: center; font-weight: 800; color: var(--color-primary); }
.review__by b { font-weight: 700; font-size: .92rem; }
.review__by span { display: block; font-size: .78rem; color: var(--color-text-muted); }
.reviews__cta { margin-top: 2.2rem; display: flex; align-items: center; justify-content: center; gap: 1.2rem; flex-wrap: wrap; }
.gbadge { display: inline-flex; align-items: center; gap: .7rem; background:#fff; border:1px solid var(--color-border);
  border-radius: 999px; padding: .6rem 1.1rem; font-weight: 700; box-shadow: var(--shadow-sm); }
.gbadge b { font-size: 1.25rem; }
.gbadge .stars { color:#E8B800; letter-spacing:1px; font-size:.9rem; }

/* ---------- Preventivo (form) ---------- */
.quote { background: var(--color-primary); color: #fff; position: relative; overflow: hidden; }
.quote::before { content:""; position:absolute; inset:0;
  background: url("../assets/pattern-primary.png") left -60px bottom -80px / 420px no-repeat; opacity:.05; }
.quote__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; position: relative; }
.quote__intro h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.quote__intro p { margin-top: 1rem; color: rgba(255,255,255,.72); font-size: 1.05rem; }
.quote__list { margin-top: 1.8rem; display: grid; gap: .9rem; }
.quote__list li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; color: rgba(255,255,255,.9); }
.quote__list .ck { color: var(--color-primary); background: var(--color-accent); width: 24px; height: 24px;
  border-radius: 7px; display: grid; place-items: center; flex: none; font-size: .8rem; font-weight: 900; }
.quote__wa { margin-top: 2rem; font-size: .92rem; color: rgba(255,255,255,.72); }
.quote__wa a { color: var(--color-accent); font-weight: 700; }

.form { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.4rem); color: var(--color-text);
  box-shadow: var(--shadow-lg); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; margin-bottom: .35rem; }
.field label .opt { color: var(--color-text-muted); font-weight: 500; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .95rem; color: var(--color-text);
  padding: .8rem .9rem; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm);
  background: var(--color-bg-alt); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--color-accent-deep); box-shadow: 0 0 0 3px rgba(251, 238, 106, .35); background: #fff;
}
.form__note { margin-top: .4rem; font-size: .78rem; color: var(--color-text-muted); text-align: center; }
.form__success {
  display: none; text-align: center; padding: 1rem; margin-top: 1rem; border-radius: var(--radius-sm);
  background: var(--color-accent-soft); color: var(--color-primary); font-weight: 700; font-size: .92rem;
}
.form__success.show { display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff;
  margin-bottom: .85rem; overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq__item.open { border-color: var(--color-accent); box-shadow: var(--shadow-sm); }
.faq__q { width: 100%; text-align: left; background: none; border: none; padding: 1.2rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 700; font-size: 1.02rem; color: var(--color-text); }
.faq__q .plus { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--color-bg-alt);
  display: grid; place-items: center; position: relative; transition: background .3s; }
.faq__item.open .faq__q .plus { background: var(--color-accent); }
.faq__q .plus::before, .faq__q .plus::after { content:""; position:absolute; background: var(--color-primary);
  border-radius: 2px; transition: transform .3s var(--ease); }
.faq__q .plus::before { width: 14px; height: 2px; }
.faq__q .plus::after { width: 2px; height: 14px; }
.faq__item.open .faq__q .plus::after { transform: scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a p { padding: 0 1.4rem 1.3rem; color: var(--color-text-muted); font-size: .95rem; }

/* ---------- Contatti ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.contact__intro p { color: var(--color-text-muted); margin-top: 1rem; font-size: 1rem; }
.contact__list { margin-top: 1.8rem; display: grid; gap: 1.1rem; }
.contact__row { display: flex; gap: .9rem; align-items: flex-start; }
.contact__row .ico { width: 46px; height: 46px; border-radius: 13px; background: var(--color-accent-soft);
  display: grid; place-items: center; font-size: 1.25rem; flex: none; }
.contact__row b { font-size: .95rem; }
.contact__row a, .contact__row span { color: var(--color-text-muted); font-size: .92rem; }
.contact__row a:hover { color: var(--color-accent-deep); }
.contact__socials { margin-top: 1.8rem; display: flex; gap: .7rem; }
.contact__socials a { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--color-border);
  display: grid; place-items: center; transition: background .25s, color .25s, transform .25s; color: var(--color-primary); }
.contact__socials a:hover { background: var(--color-primary); color: #fff; transform: translateY(-3px); }
.contact__socials svg { width: 20px; height: 20px; }
.map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--color-border); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--color-footer); color: rgba(255,255,255,.7); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand img { height: 88px; width: auto; margin-bottom: 1rem; }
.footer__brand p { max-width: 34ch; font-size: .92rem; line-height: 1.6; }
.footer__tag { color: var(--color-accent) !important; font-weight: 800; margin-top: 1rem !important; font-size: 1rem !important; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; letter-spacing: 0; }
.footer__col a, .footer__col span { display: block; font-size: .9rem; margin-bottom: .6rem; color: rgba(255,255,255,.7); transition: color .2s; }
.footer__col a:hover { color: var(--color-accent); }
.footer__legal { padding-top: 1.6rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; }
.footer__legal a:hover { color: var(--color-accent); }

/* ---------- WhatsApp float ---------- */
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(37,211,102,.55);} 70%{box-shadow:0 0 0 16px rgba(37,211,102,0);} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0);} }
.wa-float {
  position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center; animation: pulse 2.2s infinite; z-index: 999;
  box-shadow: 0 10px 25px -5px rgba(37,211,102,.6); transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float { color: #fff; }
.wa-float .icon { width: 32px; height: 32px; }
.contact__socials .icon { width: 20px; height: 20px; }
.step__arrow.icon { width: 26px; height: 26px; }

/* ---------- Scroll reveal (progressive enhancement) ---------- */
/* Hidden state applies ONLY when JS is active, so no-JS users always see content */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal { opacity: 0; transform: translateY(24px); }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

/* ============================================================
   ICON SYSTEM (SVG sprite) — replaces all emoji
   ============================================================ */
.icon { width: 24px; height: 24px; display: inline-block; vertical-align: middle; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }
.icon--sm { width: 18px; height: 18px; }

/* star rating rows */
.stars { display: inline-flex; align-items: center; gap: 2px; color: #E4B100; }
.stars .icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.hero__badge .stars, .gbadge .stars, .review .stars { color: #E4B100; }

/* icon color inside tiles */
.trust__item .ico .icon { color: var(--color-accent); width: 22px; height: 22px; }
.card__ico .icon,
.why__item .ico .icon,
.contact__row .ico .icon,
.hero__chip .dot .icon,
.quote__list .ck .icon { color: var(--color-primary); }
.card__ico .icon { width: 22px; height: 22px; }
.why__item .ico .icon { width: 26px; height: 26px; }
.contact__row .ico .icon { width: 22px; height: 22px; }
.hero__chip .dot .icon { width: 20px; height: 20px; }
.quote__list .ck .icon { width: 15px; height: 15px; stroke-width: 3; }

/* ============================================================
   STATS BAND — "Trust & Authority" metrics with count-up
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.9rem;
  border-top: 1px solid var(--color-border); padding-top: 1.6rem; }
.stat__num { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -.03em; line-height: 1;
  color: var(--color-primary); font-variant-numeric: tabular-nums; }
.stat__num .suffix { color: var(--color-accent-deep); }
.stat__label { margin-top: .45rem; font-size: .8rem; font-weight: 600; letter-spacing: .02em;
  color: var(--color-text-muted); text-transform: uppercase; }

/* ---------- Mobile menu panel ---------- */
.nav__links { transition: none; }
@media (max-width: 900px) {
  .nav__toggle { display: grid; }
  .nav__links {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: .5rem var(--gutter) 1.5rem; border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow); transform: translateY(-140%); transition: transform .4s var(--ease); z-index: 90;
  }
  body.menu-open .nav__links { transform: translateY(0); }
  .nav__links a { padding: .95rem .25rem; border-bottom: 1px solid var(--color-border); font-size: 1rem; }
  .nav__links a::after { display: none; }
  .nav__actions .nav__cta { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step__arrow { display: none; }
  .why { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem 1.5rem; }
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; margin-inline: auto; order: -1; }
  .hero__sub, .hero__seo { max-width: none; }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 480px; }
  .reviews__grid { grid-template-columns: 1fr; }
  .quote__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__legal { flex-direction: column; }
}

/* nav CTA: only inside the mobile menu (hidden on desktop) */
.nav__links-cta { display: none; }

/* ============================================================
   MOBILE POLISH — refinements scoped to small screens only
   (desktop layout above is untouched)
   ============================================================ */
@media (max-width: 900px) {
  .nav__logo img { height: 40px; }
  .nav__links-cta {
    display: inline-flex; justify-content: center; margin-top: 1rem;
    border-bottom: none !important; padding: .95rem 1.2rem;
  }
  .nav__links-cta::after { display: none; }
}

@media (max-width: 640px) {
  :root { --section-y: 3.4rem; --gutter: 1.15rem; }

  /* tighter section heads */
  .section__head { margin-bottom: 1.75rem; }
  .section__head p { font-size: 1rem; }
  .eyebrow { margin-bottom: .85rem; }

  /* HERO — cleaner, calmer, well-spaced */
  .hero__grid { padding-block: 2.25rem 2.75rem; gap: 1.75rem; }
  .hero h1 { font-size: 2.05rem; }
  .hero__sub { margin-top: 1.1rem; font-size: 1.02rem; }
  .hero__seo { margin-top: .9rem; font-size: .92rem; }
  .hero__cta { flex-direction: column; margin-top: 1.6rem; gap: .7rem; }
  .hero__cta .btn { width: 100%; }
  .hero__media { max-width: 400px; }
  .hero__media img { transform: none; aspect-ratio: 4 / 4.2; }
  .hero__media::after { display: none; }
  .hero__chip { left: 10px; bottom: 10px; padding: .6rem .8rem; font-size: .74rem; max-width: 190px; }
  .hero__chip .dot { width: 32px; height: 32px; }
  .hero__badge { font-size: .76rem; }

  /* TRUST BAR — comfortable 2×2 */
  .trust__grid { grid-template-columns: 1fr 1fr; gap: 1.1rem .9rem; padding-block: 1.4rem; }
  .trust__item { gap: .6rem; }
  .trust__item .ico { width: 38px; height: 38px; }
  .trust__item b { font-size: .84rem; }
  .trust__item span { font-size: .74rem; }

  /* SERVICE CARDS */
  .card__body { padding: 1.25rem 1.2rem 1.35rem; }
  .card__body h3 { font-size: 1.1rem; }

  /* STEPS */
  .step { padding: 1.35rem 1.25rem; }

  /* WHY + ABOUT */
  .why { gap: 1rem; }
  .why__item { padding: 1.5rem 1.35rem; }
  .about { margin-top: 2.5rem; gap: 1.75rem; }
  .about__media { max-width: 100%; }
  .about__media img { aspect-ratio: 4 / 3.8; object-position: center; }
  .about__body h2 { font-size: 1.6rem; }
  .stats { gap: .6rem; margin-top: 1.5rem; padding-top: 1.3rem; }
  .stat__num { font-size: 1.85rem; }
  .stat__label { font-size: .68rem; margin-top: .35rem; }

  /* REVIEWS */
  .review { padding: 1.4rem 1.3rem; }
  .reviews__cta { flex-direction: column; gap: 1rem; margin-top: 1.8rem; }
  .reviews__cta .btn { width: 100%; }

  /* QUOTE / FORM */
  .quote__grid { gap: 1.75rem; }
  .quote__intro h2 { font-size: 1.7rem; }
  .form { padding: 1.35rem 1.2rem; }
  /* 16px inputs prevent iOS auto-zoom on focus */
  .field input, .field select, .field textarea { font-size: 16px; }

  /* FAQ */
  .faq__q { padding: 1.05rem 1.1rem; font-size: .96rem; }
  .faq__a p { padding: 0 1.1rem 1.1rem; }

  /* CONTACT */
  .contact__intro p { font-size: .96rem; }
  .map iframe { min-height: 280px; }

  /* FOOTER */
  .footer__brand img { height: 72px; }
  .footer__grid { gap: 1.75rem; padding-bottom: 1.75rem; }

  /* WhatsApp float — smaller, safe corner */
  .wa-float { width: 54px; height: 54px; bottom: 16px; right: 16px; }
  .wa-float .icon { width: 28px; height: 28px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 1.9rem; }
  .trust__item .ico { width: 34px; height: 34px; }
  .stat__num { font-size: 1.65rem; }
}
