@import url("fonts.css");

/* ==========================================================================
   Token del design (Figma: Kidsco — Early Education Website)
   ========================================================================== */
:root {
  --midnight: #243b79;
  --cloud: #fdfcf8;
  --ice: #eff2fa;
  --yellow: #ffdf2d;
  --pink: #ffc2fb;
  --charcoal: #666666;
  --soft-gray: #e0e0e0;

  /* famiglie tipografiche */
  --font-body: "Satoshi", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Rubik", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Caveat", "Segoe Script", cursive;

  --r-s: 8px;
  --r-m: 16px;
  --r-l: 100px;

  --sp-4: 4px;
  --sp-8: 8px;
  --sp-12: 12px;
  --sp-16: 16px;
  --sp-24: 24px;
  --sp-32: 32px;
  --sp-40: 40px;
  --sp-48: 48px;
  --sp-64: 64px;
  --sp-80: 80px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cloud);
  color: var(--midnight);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.page {
  max-width: 1440px;
  margin-inline: auto;
  padding: var(--sp-24);
  display: flex;
  flex-direction: column;
  gap: var(--sp-24);
}

/* Tipografia (scala del design) ------------------------------------------- */
.h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(46px, 9.3vw, 134px); line-height: .8; letter-spacing: -.02em; }
.h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.3; letter-spacing: -.02em; }
.h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.3; letter-spacing: -.04em; }
.h5 { font-weight: 700; font-size: 28px; line-height: 1.4; }
.h6 { font-weight: 700; font-size: 24px; line-height: 1.4; }
.h7 { font-weight: 700; font-size: 18px; line-height: 1.4; }
.t1 { font-weight: 500; }
.t2 { font-weight: 400; }
.t3 { font-weight: 400; font-size: 14px; }
.muted { color: var(--charcoal); }

/* Etichetta a pillola ------------------------------------------------------ */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px var(--sp-16);
  border-radius: var(--r-l);
  background: var(--ice);
  font-weight: 500;
  white-space: nowrap;
}
.pill--cloud { background: var(--cloud); }

/* Bottone a pillola con pallino freccia ------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-12);
  padding: var(--sp-8) var(--sp-8) var(--sp-8) var(--sp-24);
  border: 0;
  border-radius: var(--r-l);
  background: var(--midnight);
  color: var(--cloud);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(36, 59, 121, .22); }
.btn__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r-l);
  background: var(--cloud);
  color: var(--midnight);
  flex: none;
}
.btn__icon svg { width: 16px; height: 16px; }
.btn--wide { width: 100%; justify-content: space-between; }

/* Pulsanti grandi: sostituiscono il modulo, quindi devono reggere da soli
   la colonna destra della sezione contatti. */
.btn--mega {
  width: 100%;
  justify-content: space-between;
  padding: var(--sp-24) var(--sp-16) var(--sp-24) var(--sp-32);
  font-size: 24px;
  font-weight: 700;
  border-radius: var(--r-m);
}
.btn__label { display: inline-flex; align-items: center; gap: var(--sp-16); }
.btn__label svg { width: 26px; height: 26px; flex: none; }
/* Azione sopra, recapito sotto. L'indirizzo e' lungo: overflow-wrap gli
   permette di andare a capo invece di sfondare il pulsante sugli schermi
   stretti. min-width:0 serve perche' un figlio flex possa restringersi. */
.btn__label { min-width: 0; }
.btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  line-height: 1.15;
  text-align: left;
}
.btn__text small {
  font-size: 15px;
  font-weight: 500;
  opacity: .82;
  overflow-wrap: break-word;
}
.btn--mega .btn__icon { width: 44px; height: 44px; }
.btn--mega .btn__icon svg { width: 20px; height: 20px; }
/* variante chiara: due pulsanti blu uguali sul rosa sarebbero indistinti */
.btn--cloud { background: var(--cloud); color: var(--midnight); }
.btn--cloud .btn__icon { background: var(--midnight); color: var(--cloud); }

.btn--ghost {
  background: transparent;
  color: var(--midnight);
  border: 1px solid var(--midnight);
  padding: var(--sp-12) var(--sp-24);
}
.btn--ghost:hover { background: var(--midnight); color: var(--cloud); }

/* Contorno chiaro: nel piede il fondo e' blu, quindi il pulsante pieno
   sparirebbe. Bordo invece di box-shadow, che :hover sovrascriverebbe. */
.btn--outline {
  background: transparent;
  color: var(--cloud);
  border: 1.5px solid rgba(253, 252, 248, .5);
}
.btn--outline .btn__icon { background: var(--cloud); color: var(--midnight); }
.btn--outline:hover { background: rgba(253, 252, 248, .1); }

/* Card generica ------------------------------------------------------------ */
.card {
  border-radius: var(--r-m);
  padding: var(--sp-24);
  overflow: hidden;
}
.card__title {
  padding-bottom: var(--sp-16);
  border-bottom: .4px solid currentColor;
}

/* Intestazione di sezione -------------------------------------------------- */
.head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-16);
  text-align: center;
}
.head__text { display: flex; flex-direction: column; gap: var(--sp-12); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 880px;
  padding: var(--sp-32) var(--sp-40) var(--sp-24);
  border-radius: var(--r-m);
  background: var(--ice);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--sp-64);
}
/* la foto riempie tutto il box: il cielo arriva al bordo alto */
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  z-index: 0;
}
.hero__photo + .hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* velatura in alto: tiene leggibili menu e titolo sul cielo */
  background: linear-gradient(to bottom, rgba(20, 33, 70, .52) 0%, rgba(20, 33, 70, .34) 22%, rgba(20, 33, 70, .12) 42%, rgba(20, 33, 70, 0) 62%);
}

/* testo dell'hero in negativo, ora che sta sopra la foto */
.hero .nav a,
.hero .brand,
.hero .h1,
.hero__side p { color: var(--cloud); }
.hero .nav a,
.hero__side p { text-shadow: 0 1px 10px rgba(20, 33, 70, .55); }
.hero .btn--ghost { color: var(--cloud); border-color: var(--cloud); }
.hero .btn--ghost:hover { background: var(--cloud); color: var(--midnight); }

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--sp-64);
  min-height: 48px;
}
.nav__group { display: flex; align-items: center; gap: var(--sp-40); flex: 1 0 0; }
.nav__check, .nav__burger { display: none; }
.nav__group--right { justify-content: flex-end; gap: var(--sp-16); }
.nav a { font-weight: 500; }
.nav__group a:hover { text-decoration: underline; text-underline-offset: 4px; }

.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -.02em;
  text-align: center;
}
.brand small {
  display: block;
  font-family: "Satoshi";
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* seconda parte dell'headline, in corsivo scritto a mano */
.h1__script {
  display: block;
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.22em;
  line-height: .92;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--yellow);
  transform: rotate(-3deg);
  transform-origin: left center;
  margin-top: .07em;
  margin-left: .12em;
}

.hero__body {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1306px;
  margin-inline: auto;
  display: flex;
  align-items: center;   /* payoff e CTA centrati verticalmente sull'headline */
  justify-content: space-between;
  gap: var(--sp-40);
}
.hero__side { width: 300px; display: flex; flex-direction: column; gap: var(--sp-32); flex: none; }

/* ==========================================================================
   Chi siamo + numeri
   ========================================================================== */
.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-80);
  padding: var(--sp-80) var(--sp-40) var(--sp-24);
}
.about__lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-40);
}
.about__lead p {
  max-width: 930px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.metrics {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: var(--sp-24);
}
.metric {
  flex: 1 1 0;
  min-width: 0;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--sp-32) var(--sp-24) var(--sp-24);
}
.metric__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 60px;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.metric__text { display: flex; flex-direction: column; gap: var(--sp-16); }
.metric-photo {
  flex: 1 1 0;
  min-width: 0;
  height: 400px;
  object-fit: cover;
  border-radius: var(--r-m);
}
.metric--yellow { background: var(--yellow); }
.metric--pink { background: var(--pink); }
.metric--blue { background: var(--midnight); color: var(--cloud); }


/* ==========================================================================
   Valori — mazzo di card ruotate
   ========================================================================== */
.values {
  position: relative;
  overflow: hidden;
  background: var(--ice);
  border-radius: var(--r-m);
  padding: var(--sp-40) var(--sp-40) var(--sp-32);
  display: flex;
  flex-direction: column;
  gap: var(--sp-64);
}
/* effige di Don Bosco in filigrana, estesa a tutto il box */
.values__effigie {
  position: absolute;
  bottom: 0;                 /* il ritratto arriva al bordo basso del box */
  right: -24%;
  height: 116%;
  width: auto;
  max-width: none;
  opacity: .14;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.values > .head,
.values > .deck { position: relative; z-index: 1; }
.deck {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: var(--sp-24);
}
.value {
  width: 286px;
  height: 330px;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  background: var(--cloud);
  transition: transform .25s ease;
}
.value--yellow { background: var(--yellow); }
.value img { width: 80px; height: 80px; }
.value__text { display: flex; flex-direction: column; gap: var(--sp-16); width: 100%; }
.deck .value:nth-child(1) { transform: rotate(-16deg); z-index: 1; }
.deck .value:nth-child(2) { transform: rotate(-8deg); z-index: 2; margin-left: -46px; }
.deck .value:nth-child(3) { transform: rotate(0deg); z-index: 3; margin-left: -46px; }
.deck .value:nth-child(4) { transform: rotate(8deg); z-index: 2; margin-left: -46px; }
.deck .value:nth-child(5) { transform: rotate(16deg); z-index: 1; margin-left: -46px; }
.deck .value:hover { transform: rotate(0deg) scale(1.04); z-index: 4; }

/* ==========================================================================
   La giornata — 4 step
   ========================================================================== */
.process {
  padding: var(--sp-80) var(--sp-40) var(--sp-24);
  display: flex;
  flex-direction: column;
  gap: var(--sp-64);
}
.steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16);
  padding-block: var(--sp-16);
}
.step {
  width: 302px;
  height: 360px;
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .25s ease;
}
.step:nth-child(odd) { transform: rotate(-4deg); }
.step:nth-child(even) { transform: rotate(4deg); }
.step:hover { transform: rotate(0deg) scale(1.03); }
.step--ice { background: var(--ice); }

/* Servizi: sede, mensa, pedibus ---------------------------------------------
   Informazioni pratiche, in chiusura della giornata. Corpo minore e fondo
   chiaro: devono leggersi come secondarie rispetto ai quattro momenti. */
.servizi {
  display: flex;
  gap: var(--sp-12);
  align-items: stretch;
}
.servizio {
  flex: 1 1 0;
  background: var(--ice);
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.step--yellow { background: var(--yellow); }
.step--pink { background: var(--pink); }
.step--blue { background: var(--midnight); color: var(--cloud); }
.step--blue .muted { color: var(--soft-gray); }
.step__bar { display: flex; flex-direction: column; gap: var(--sp-12); }
.step__bar img { width: 100%; height: 16px; }
.step__body { display: flex; flex-direction: column; gap: var(--sp-24); }
.step__body > img { width: 40px; height: 40px; }
.step__text { display: flex; flex-direction: column; gap: var(--sp-16); }

/* ==========================================================================
   Contatti + modulo
   ========================================================================== */
.contact {
  background: var(--pink);
  border-radius: var(--r-m);
  padding: var(--sp-48);
  display: flex;
  align-items: stretch;
  gap: var(--sp-64);
}
.contact__head {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--sp-16);
}

/* citazione con attribuzione */
.quote { margin: 0; display: flex; flex-direction: column; gap: var(--sp-12); }
.quote cite {
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
}
.quote cite::before { content: "— "; }
.contact__media { flex: 1 0 0; min-width: 0; display: flex; }

/* Colonna destra: senza modulo i pulsanti si centrano verticalmente
   rispetto alla citazione e alla foto a sinistra. */
.contact__media img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; border-radius: var(--r-m); }

.info { display: flex; flex-direction: column; gap: var(--sp-12); }
.info li { display: flex; align-items: flex-start; gap: var(--sp-8); }
.info svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }

.form {
  flex: 1 0 0;
  min-width: 0;
  background: var(--cloud);
  border-radius: var(--r-m);
  padding: var(--sp-24);
  display: flex;
  flex-direction: column;
  gap: var(--sp-32);
}
.form__head { display: flex; flex-direction: column; gap: var(--sp-12); }
.form__grid { display: flex; flex-direction: column; gap: var(--sp-24); }
.form__row { display: flex; gap: var(--sp-24); }
.field { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; gap: var(--sp-12); }
.field > span { font-weight: 500; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: var(--sp-12) var(--sp-16);
  border: 0;
  border-radius: var(--r-s);
  background: var(--ice);
  color: var(--midnight);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
}
.field textarea { height: 80px; resize: vertical; }

/* Il modulo e' alto quanto la colonna di sinistra (align-items: stretch).
   Senza questo il contenuto resta in cima e sotto avanza una fascia vuota:
   la griglia si allunga e lo spazio in piu' lo prende il campo messaggio,
   l'unico a cui una maggiore altezza serve davvero. */
.form__grid { flex: 1 1 auto; }
.field--grow { flex: 1 1 auto; }
.field--grow textarea { flex: 1 1 auto; height: auto; min-height: 80px; }
.field ::placeholder { color: var(--charcoal); }

/* Casella di consenso: sta fuori da .field, cosi' non eredita il fondo
   azzurro e il padding pensati per i campi di testo. */
.consent { display: flex; align-items: flex-start; gap: var(--sp-12); cursor: pointer; }
.consent input {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 1px;
  accent-color: var(--midnight);
  cursor: pointer;
}
.consent a { color: var(--midnight); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--midnight); outline-offset: 1px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-64);
  padding: var(--sp-80) var(--sp-40);
}
.faq__left {
  flex: 1 0 0;
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--sp-64);
}
.faq__head { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-40); }
.faq__head .head__text { align-items: flex-start; text-align: left; }
.faq__head p.muted { max-width: 500px; }
.faq__photos { display: flex; align-items: center; }
.faq__photos img {
  width: 225px;
  height: 225px;
  object-fit: cover;
  border-radius: var(--r-m);
}
.faq__photos img:nth-child(1) { transform: rotate(-8deg); }
.faq__photos img:nth-child(2) { margin-inline: -52px; z-index: 1; }
.faq__photos img:nth-child(3) { transform: rotate(8deg); }

.faq__list { flex: 1 0 0; min-width: 0; padding-top: var(--sp-80); display: flex; flex-direction: column; gap: var(--sp-16); }
.faq__list details {
  background: var(--pink);
  border-radius: var(--r-s);
  padding: var(--sp-24);
}
.faq__list details[open] { background: var(--yellow); }
.faq__list summary {
  display: flex;
  align-items: center;
  gap: var(--sp-24);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::before {
  content: "";
  width: 24px;
  height: 24px;
  flex: none;
  background: currentColor;
  /* + che diventa − quando la voce è aperta */
  -webkit-mask: linear-gradient(currentColor, currentColor) center/100% 1.5px no-repeat,
                linear-gradient(currentColor, currentColor) center/1.5px 100% no-repeat;
  mask: linear-gradient(currentColor, currentColor) center/100% 1.5px no-repeat,
        linear-gradient(currentColor, currentColor) center/1.5px 100% no-repeat;
}
.faq__list details[open] summary::before {
  -webkit-mask: linear-gradient(currentColor, currentColor) center/100% 1.5px no-repeat;
  mask: linear-gradient(currentColor, currentColor) center/100% 1.5px no-repeat;
}
.faq__list details p {
  padding-left: var(--sp-48);
  padding-top: var(--sp-12);
  color: var(--charcoal);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--midnight);
  color: var(--cloud);
  border-radius: var(--r-m);
  padding: var(--sp-40);
  display: flex;
  flex-direction: column;
  gap: var(--sp-40);
}
.footer__content {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: var(--sp-64);
  padding-bottom: var(--sp-64);
  border-bottom: .4px solid var(--cloud);
}
.footer__left {
  width: 582px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--sp-40);
}
.footer__actions { display: flex; flex-direction: column; gap: var(--sp-16); max-width: 460px; }
.footer__right { width: 620px; max-width: 100%; display: flex; flex-direction: column; gap: var(--sp-32); }
.footer__right > img { width: 100%; flex: 1; min-height: 300px; object-fit: cover; border-radius: var(--r-m); }
.footer__legal { text-align: center; display: flex; flex-direction: column; gap: 2px; }
.footer__ente { font-weight: 700; }

/* ==========================================================================
   Adattamento a schermi piccoli
   ========================================================================== */
@media (max-width: 1200px) {
  .metrics { flex-wrap: wrap; }
    .deck { flex-wrap: wrap; gap: var(--sp-24); padding-block: var(--sp-16); }
  .deck .value { margin-left: 0 !important; transform: none !important; }
  .steps { flex-wrap: wrap; justify-content: center; gap: var(--sp-24); }
  .step { transform: none !important; }
  .contact, .faq, .footer__content { flex-direction: column; }
  .faq__list { padding-top: 0; }
  .footer__left, .footer__right { width: 100%; }
}

@media (max-width: 760px) {
  .page { padding: var(--sp-12); gap: var(--sp-12); }

  /* ---- testata: marchio + hamburger, link in un pannello ---- */
  .nav { flex-wrap: wrap; gap: var(--sp-16); row-gap: 0; }
  .brand { order: 1; margin-right: auto; text-align: left; }
  .nav__burger {
    order: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--cloud);
    border-radius: var(--r-l);
    cursor: pointer;
  }
  .nav__burger span,
  .nav__burger span::before,
  .nav__burger span::after {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--cloud);
  }
  .nav__burger span { position: relative; }
  .nav__burger span::before { position: absolute; top: -6px; }
  .nav__burger span::after { position: absolute; top: 6px; }

  .nav__group { display: none; order: 3; flex: 1 0 100%; flex-direction: column; align-items: stretch; gap: var(--sp-4); }
  .nav__check:checked ~ .nav__group {
    display: flex;
    background: rgba(20, 33, 70, .88);
    padding: var(--sp-8) var(--sp-16);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
  .nav__check:checked ~ div.nav__group:first-of-type {
    margin-top: var(--sp-16);
    padding-top: var(--sp-16);
    border-radius: var(--r-m) var(--r-m) 0 0;
  }
  .nav__check:checked ~ .nav__group--right {
    padding-bottom: var(--sp-16);
    border-radius: 0 0 var(--r-m) var(--r-m);
  }
  .nav__group a { padding: var(--sp-12) 0; }            /* area toccabile */
  .nav__group--right { gap: var(--sp-12); }
  .nav .btn--ghost { justify-content: center; }

  /* ---- hero ---- */
  .hero { min-height: 600px; padding: var(--sp-24) var(--sp-16); gap: var(--sp-32); }
  .hero__body { flex-direction: column; align-items: flex-start; gap: var(--sp-24); }
  .hero__side { width: 100%; gap: var(--sp-24); }

  /* ---- sezioni ---- */
  .about, .process, .faq { padding: var(--sp-48) var(--sp-16) var(--sp-24); }
  .values { padding: var(--sp-32) var(--sp-16) var(--sp-40); }
  .contact { padding: var(--sp-32) var(--sp-16); }
  .values__effigie { display: none; }
  .about { gap: var(--sp-40); }
  .about__lead p { font-size: 18px; }

  /* ---- dati e card: larghezza piena, niente rientri diversi ---- */
  .metric, .value, .step, .servizio {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    flex: 1 1 100%;
  }
  .metric-photo { width: 100%; max-width: none; height: 200px; flex: 1 1 100%; }
  .metrics, .deck, .steps { gap: var(--sp-12); }
  .servizi { flex-direction: column; }
  .metric { padding: var(--sp-24); }
  .metric__num { font-size: 48px; }

  /* ---- principi del metodo: icone più piccole, più respiro ---- */
  .value { gap: var(--sp-24); padding: var(--sp-32) var(--sp-24); }
  .value img { width: 56px; height: 56px; }

  /* ---- contatti e modulo ---- */
  .contact__media img { height: 220px; min-height: 220px; }
  .form__row { flex-direction: column; gap: var(--sp-16); }
  .field input, .field select, .field textarea { font-size: 16px; }  /* niente zoom su iOS */

  /* pulsanti di contatto: meno padding e corpo ridotto, cosi' il recapito
     resta su poche righe anche sugli schermi stretti */
  .btn--mega { padding: var(--sp-16) var(--sp-12) var(--sp-16) var(--sp-16); font-size: 20px; }
  .btn--mega .btn__label { gap: var(--sp-12); }
  .btn--mega .btn__icon { width: 40px; height: 40px; }

  /* ---- domande frequenti ---- */
  .faq__list { padding-top: 0; }
  .faq__photos { width: 100%; }
  .faq__photos img { width: 34%; height: auto; aspect-ratio: 1; }
  .faq__photos img:nth-child(2) { margin-inline: -4%; }

  /* ---- footer ---- */
  .footer { padding: var(--sp-24); }
  .footer__content { gap: var(--sp-32); padding-bottom: var(--sp-32); }
  .footer__nav { flex-wrap: wrap; gap: var(--sp-16); }
  .footer__nav ul { flex: 1 1 45%; }
  .footer__right > img { min-height: 220px; }
  .footer__legal { font-size: 14px; }
}
