/* Eurodata 2000 — sistema grafico
   Palette e type dal brief di marchio: un solo accento forte per schermata,
   mai bianco su turchese/arancio/verde (WCAG AA). */

:root {
  --blu: #1F5C99;
  --blu-scuro: #164273;
  --antracite: #14283D;
  --azzurro-chiaro: #E6F0FA;
  --turchese: #0E9AA7;
  --arancio: #F08A24;
  --viola: #7A5AD6;
  --verde: #3A9D5D;
  --bianco: #FFFFFF;
  --bordo: #D7E3F0;
  --ombra-testo-su-colore: var(--antracite);

  --font: 'Jost', system-ui, -apple-system, "Segoe UI", sans-serif;
  --max-width: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --focus-ring: 3px solid var(--arancio);

  --blu-tint: #EAF2FB;
  --turchese-tint: #E4F5F6;
  --arancio-tint: #FDEEE0;
  --viola-tint: #F0ECFB;
  --verde-tint: #E9F5EC;

  /* Cornice desktop ispirata al biglietto da visita */
  --cornice-blu-esterno: #123A64;
  --cornice-blu-scuro: #164273;
  --cornice-blu: #1F5C99;
  --cornice-blu-medio: #4E7CA7;
  --cornice-blu-interno: #9DB7CD;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--antracite);
  background: var(--bianco);
  -webkit-tap-highlight-color: transparent;
}

/*
  Sui monitor larghi la pagina diventa un piano centrale, incorniciato dai blu
  del biglietto da visita. Sotto 1280 px il layout resta quello originale a
  tutta larghezza, senza sottrarre spazio a notebook compatti e dispositivi touch.
*/
@media (min-width: 1280px) {
  html {
    background:
      linear-gradient(90deg,
        var(--cornice-blu-esterno) 0%,
        var(--cornice-blu-scuro) 4%,
        var(--cornice-blu) 7%,
        var(--cornice-blu-medio) 10%,
        var(--cornice-blu-interno) 13.2%,
        var(--cornice-blu-interno) 86.8%,
        var(--cornice-blu-medio) 90%,
        var(--cornice-blu) 93%,
        var(--cornice-blu-scuro) 96%,
        var(--cornice-blu-esterno) 100%);
    background-attachment: fixed;
  }

  body {
    width: 100%;
    max-width: var(--max-width);
    min-height: 100vh;
    margin-inline: auto;
    box-shadow:
      0 0 0 1px rgba(22, 66, 115, .24),
      0 0 28px rgba(12, 43, 73, .24);
  }
}

h1, h2, h3 {
  margin: 0;
  font-weight: 500;
  text-wrap: balance;
  line-height: 1.15;
}

p { margin: 0 0 1em; max-width: 62ch; }

a {
  color: var(--blu);
  text-underline-offset: 2px;
}

img { max-width: 100%; display: block; }

button, .btn {
  font-family: var(--font);
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--bianco);
  color: var(--blu);
  padding: 12px 20px;
  z-index: 100;
  border-radius: var(--radius);
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
  background: var(--azzurro-chiaro);
  padding: 16px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--antracite);
}

.brand img { width: 44px; height: 44px; }

.brand-text .wordmark {
  display: block;
  font-size: 26px;
  line-height: 1;
  white-space: nowrap;
}
.wordmark .euro { font-weight: 300; color: var(--antracite); }
.wordmark .data { font-weight: 400; color: var(--antracite); }
.wordmark .anno { font-weight: 500; color: var(--arancio); }

.brand-text .tagline {
  display: block;
  font-size: 12.5px;
  color: var(--blu-scuro);
  margin-top: 2px;
  max-width: 280px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.caf-badge {
  display: flex;
  align-items: center;
  padding-right: 24px;
  border-right: 1px solid var(--bordo);
}
.caf-badge img {
  display: block;
  height: 36px;
  width: auto;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  text-decoration: none;
  color: var(--antracite);
  font-weight: 400;
  font-size: 16px;
  padding: 10px 2px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a:focus-visible {
  border-bottom-color: var(--arancio);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--blu);
  border-radius: var(--radius);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--blu);
  position: relative;
  transition: transform 180ms ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ===== Hero ===== */
.hero {
  background: var(--bianco);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  /* alone caldo dietro la chat, nei colori di marchio — niente griglia fredda */
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--azzurro-chiaro) 0%, rgba(230,240,250,0) 70%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
  position: relative;
}

.hero-copy h1 {
  font-size: 44px;
  font-weight: 300;
  color: var(--antracite);
}
.hero-copy h1 .accent { font-weight: 500; }
.hero-copy h1 .rotating {
  display: inline-block;
  min-width: 1ch;
}
.hero-copy h1 .rotating[data-color="turchese"] { color: var(--turchese); }
.hero-copy h1 .rotating[data-color="arancio"] { color: var(--arancio); }
.hero-copy h1 .rotating[data-color="viola"] { color: var(--viola); }

.hero-subtitle {
  font-size: 18px;
  color: var(--antracite);
  margin-top: 20px;
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--arancio);
  color: var(--ombra-testo-su-colore);
  font-weight: 500;
  font-size: 16px;
  padding: 14px 28px;
  min-height: 44px;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}
.btn-primary:hover { background: #d97a16; }
.btn-primary:active { transform: translateY(1px); }

.btn-whatsapp {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #25D366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bianco);
  text-decoration: none;
  flex-shrink: 0;
}
.btn-whatsapp svg { display: none; }
.btn-whatsapp::before {
  content: "";
  display: block;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  background: url("whatsapp-official.svg") center / contain no-repeat;
}

/* ===== Assistente informativo ===== */
.hero-chat {
  background: var(--blu);
  border-radius: 10px;
  padding: 20px;
  color: var(--bianco);
  position: relative;
  min-width: 0;
}
.hero-chat.is-live::after {
  content: "Risposte sui servizi · lo staff resta il riferimento";
  position: absolute;
  bottom: -14px;
  left: 22px;
  background: var(--antracite);
  color: var(--bianco);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
}
.chat-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.chat-kicker {
  margin: 0 0 2px;
  font-size: 12px;
  color: rgba(255,255,255,.78);
}
.chat-heading h2 {
  font-size: 20px;
  color: var(--bianco);
}
.chat-status {
  flex-shrink: 0;
  padding: 3px 9px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  font-size: 11px;
}
.chat-messages {
  max-height: 270px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.45) transparent;
}
.chat-bubble {
  background: rgba(255,255,255,.14);
  padding: 12px 16px;
  border-radius: 10px 10px 10px 2px;
  margin-bottom: 12px;
  font-size: 14px;
  max-width: 90%;
}
.chat-bubble.user {
  background: var(--viola);
  border-radius: 10px 10px 2px 10px;
  margin-left: auto;
}
.chat-bubble.assistant { white-space: normal; }
.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0;
}
.chat-suggestions button {
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  padding: 6px 10px;
  background: transparent;
  color: var(--bianco);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.chat-suggestions button:hover,
.chat-suggestions button:focus-visible { background: rgba(255,255,255,.14); }
.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.chat-form input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: var(--bianco);
  color: var(--antracite);
  font: inherit;
  font-size: 14px;
}
.chat-form button {
  border: 0;
  border-radius: var(--radius-sm);
  padding: 10px 15px;
  background: var(--arancio);
  color: var(--antracite);
  font-weight: 500;
  cursor: pointer;
}
.chat-privacy {
  margin: 9px 0 0;
  max-width: none;
  color: rgba(255,255,255,.76);
  font-size: 11px;
  line-height: 1.35;
}
.chat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: -3px 0 12px;
}
.chat-actions a {
  color: var(--bianco);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== Chi la segue (fondatore) ===== */
.founder {
  padding: 56px 0;
}
.founder-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  align-items: center;
}
.founder-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  box-shadow: 0 8px 24px rgba(20, 40, 61, .12);
}
.founder-text h2 {
  font-size: 24px;
  margin-bottom: 4px;
}
.founder-role {
  color: var(--blu);
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 10px;
}
.founder-text p:last-child {
  color: #3c4a58;
  font-size: 16px;
  margin-bottom: 0;
}

/* ===== Fascia fiducia ===== */
.trust-band {
  background: var(--azzurro-chiaro);
  padding: 36px 0;
}
.trust-band .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}
.trust-item {
  flex: 1 1 200px;
  background: var(--bianco);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-size: 15px;
  color: var(--blu-scuro);
  box-shadow: 0 4px 14px rgba(20, 40, 61, .06);
}
.trust-item strong {
  display: block;
  font-size: 26px;
  font-weight: 500;
  color: var(--blu);
}
.trust-item .placeholder {
  color: #8a97a6;
  font-style: italic;
}

/* ===== Striscia servizi ===== */
.services-strip {
  padding: 8px 0 64px;
}
.services-strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service-row-item {
  background: var(--azzurro-chiaro);
  border-top: 6px solid var(--service-color, var(--blu));
  border-radius: var(--radius);
  padding: 22px 18px;
  min-height: 168px;
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.service-row-item:hover,
.service-row-item:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(20, 40, 61, .12);
}
.service-row-item a {
  text-decoration: none;
  color: var(--antracite);
  font-size: 16px;
  font-weight: 500;
  display: block;
  height: 100%;
}
.service-row-item a:hover,
.service-row-item a:focus-visible {
  color: var(--service-color, var(--blu));
}
.service-row-item[data-color="blu"] { --service-color: var(--blu); }
.service-row-item[data-color="turchese"] { --service-color: var(--turchese); }
.service-row-item[data-color="arancio"] { --service-color: var(--arancio); }
.service-row-item[data-color="viola"] { --service-color: var(--viola); }
.service-row-item[data-color="verde"] { --service-color: var(--verde); }
.service-row-item.is-new { background: #FFF7E0; border-top-color: var(--blu); }

.service-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  color: var(--service-color, var(--blu));
}

.new-badge {
  position: absolute;
  top: -12px;
  right: 14px;
  font-size: 12px;
  font-weight: 500;
  font-style: italic;
  color: #C0392B;
  background: #FFD400;
  padding: 3px 10px;
  border-radius: 999px;
  transform: rotate(8deg);
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

/* ===== Come lavoriamo ===== */
.how-we-work {
  padding: 64px 0;
}
.how-we-work h2 {
  font-size: 28px;
  margin-bottom: 36px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}
.step {
  border-top: 2px solid var(--blu);
  padding-top: 16px;
}
.step .num {
  font-size: 13px;
  color: var(--blu);
  font-weight: 500;
}
.step h3 {
  font-size: 17px;
  margin: 8px 0;
}
.step p { font-size: 14.5px; color: #3c4a58; }

/* ===== FAQ ===== */
.faq {
  background: var(--azzurro-chiaro);
  padding: 56px 0;
}
.faq h2 { font-size: 28px; margin-bottom: 24px; }
.faq-item {
  background: var(--bianco);
  border-radius: var(--radius-sm);
  padding: 0 20px;
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(20, 40, 61, .05);
}
.faq-item summary {
  padding: 18px 0;
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 300;
  color: var(--blu);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding-bottom: 16px; color: #3c4a58; font-size: 15px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--blu);
  color: var(--bianco);
  padding: 40px 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.footer-newsletter {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.footer-newsletter h2 {
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 6px;
}
.footer-newsletter > p {
  font-size: 14.5px;
  color: rgba(255,255,255,.85);
  margin-bottom: 16px;
  max-width: 48ch;
}
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 560px;
}
.newsletter-form .nf-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}
.newsletter-form input {
  flex: 1 1 160px;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  color: var(--bianco);
  font-family: var(--font);
  font-size: 15px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.65); }
.newsletter-form button {
  background: var(--arancio);
  color: var(--antracite);
  font-weight: 500;
  border: none;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 15px;
  cursor: not-allowed;
  opacity: .85;
}
.newsletter-form .nf-note {
  width: 100%;
  font-size: 12.5px;
  color: rgba(255,255,255,.7);
  margin-top: 4px;
  margin-bottom: 0;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.footer-contact p { margin: 0 0 8px; font-size: 15px; }
.footer-contact a { color: var(--bianco); text-decoration: underline; }
.footer-social {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bianco);
  text-decoration: none;
  font-size: 14px;
}
.footer-social .google-g { color: #FBBC05; font-weight: 500; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}
.footer-nav a { color: var(--bianco); text-decoration: none; font-size: 14px; }
.footer-nav a:hover { text-decoration: underline; }
.footer-legal {
  margin-top: 20px;
  font-size: 12.5px;
  color: rgba(255,255,255,.75);
}

/* ===== WhatsApp sticky mobile ===== */
.whatsapp-sticky {
  display: none;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-chat { max-width: 480px; }
  .services-strip ul { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .service-section-grid { grid-template-columns: 1fr 240px; gap: 24px; }
  .image-pair img { height: 180px; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-copy h1 { font-size: 30px; }
  .hero-subtitle { font-size: 16px; }
  .founder-grid { grid-template-columns: 1fr; text-align: center; }
  .founder-photo { margin: 0 auto; }
  .trust-band .container { gap: 20px; }
  .services-strip ul { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .caf-badge { border-right: none; padding-right: 0; }
  .whatsapp-sticky {
    display: flex;
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 50;
  }
}

/* drawer mobile menu */
.main-nav.is-open {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bianco);
  border-top: 1px solid var(--bordo);
  box-shadow: 0 8px 16px rgba(20,40,61,.08);
}
.main-nav.is-open ul {
  flex-direction: column;
  padding: 8px 24px 16px;
  gap: 4px;
}
.main-nav.is-open a { padding: 12px 0; font-size: 18px; }

/* ===== Pagine servizio ===== */
.breadcrumb {
  padding: 14px 24px 0;
  font-size: 13.5px;
  color: #5a6b7a;
}
.breadcrumb a {
  color: var(--blu);
  text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { margin: 0 6px; color: var(--bordo); }

.service-hero {
  padding: 16px 0 40px;
  border-bottom: 1px solid var(--bordo);
}
.service-hero .eyebrow {
  color: var(--blu);
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 8px;
}
.service-hero h1 {
  font-size: 36px;
  font-weight: 500;
  max-width: 18ch;
}
.service-hero .lede {
  font-size: 18px;
  max-width: 64ch;
  margin-top: 14px;
  color: var(--antracite);
}
.service-hero .hero-actions { margin-top: 24px; }

.service-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}
.service-hero-photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(20, 40, 61, .14);
}

.image-pair {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.image-pair img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(20, 40, 61, .1);
}

.service-section-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.service-section {
  padding: 48px 0;
}
.service-section + .service-section {
  border-top: 1px solid var(--bordo);
}
.service-section h2 {
  font-size: 26px;
  margin-bottom: 18px;
  max-width: 28ch;
}
.service-section .lede {
  font-size: 17px;
  max-width: 68ch;
}

.process-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.process-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
}
.process-item .step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blu-tint);
  color: var(--blu);
  font-weight: 500;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-item h3 {
  font-size: 18px;
  margin-bottom: 6px;
}
.process-item p { color: #3c4a58; margin-bottom: 0; max-width: 64ch; }

.highlight-band {
  background: var(--blu);
  color: var(--bianco);
  padding: 48px 0;
}
.highlight-band p {
  font-size: 20px;
  font-weight: 300;
  max-width: 48ch;
  color: var(--bianco);
}
.highlight-band p strong { font-weight: 500; }
.highlight-band h2 {
  color: var(--bianco);
  font-size: 28px;
  margin-bottom: 14px;
}

/* ===== Chi siamo ===== */
.service-hero.about-hero {
  padding: 24px 0 56px;
  white-space: normal;
  background:
    linear-gradient(90deg, transparent 0 72%, rgba(230, 240, 250, .72) 72% 100%);
}
.about-hero .service-hero-grid { grid-template-columns: .92fr 1.08fr; }
.about-hero h1 { max-width: 15ch; }
.about-hero .service-hero-grid > * { min-width: 0; }
.about-team-hero .service-hero-grid { grid-template-columns: .9fr 1.1fr; }
.about-team-hero h1 { max-width: 17ch; }
.about-portrait {
  margin: 0;
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.about-portrait img {
  width: 100%;
  height: clamp(420px, 42vw, 560px);
  object-fit: cover;
  object-position: center 38%;
  border-radius: var(--radius-sm);
}
.about-team-hero .about-portrait img {
  height: auto;
  aspect-ratio: 1453 / 1083;
  object-position: center;
}
.about-portrait figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 9px 14px;
  background: rgba(20, 40, 61, .9);
  color: var(--bianco);
  font-size: 13px;
  max-width: 100%;
}
.about-since {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 9px;
  margin: 28px 0 0;
  color: var(--blu-scuro);
}
.about-since span { font-size: 14px; }
.about-since strong {
  font-size: 38px;
  line-height: 1;
  font-weight: 500;
  color: var(--arancio);
}
.about-team-hero .about-since strong { font-size: 30px; }
.about-numbers {
  padding: 34px 0 38px;
  background: var(--azzurro-chiaro);
}
.about-numbers h2 {
  font-size: 17px;
  font-weight: 400;
  color: var(--blu-scuro);
  margin-bottom: 20px;
}
.about-ledger {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  border-top: 1px solid rgba(31, 92, 153, .28);
}
.about-ledger > div {
  min-height: 118px;
  padding: 20px 20px 0;
  border-left: 1px solid rgba(31, 92, 153, .28);
}
.about-ledger > div:first-child { border-left: 0; padding-left: 0; }
.about-ledger dt {
  font-size: 36px;
  line-height: 1;
  font-weight: 500;
  color: var(--blu);
}
.about-ledger dd {
  margin: 8px 0 0;
  line-height: 1.25;
}
.about-ledger small { color: #4b6177; }
.about-method { padding: 64px 0; }
.about-method-intro {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 56px;
  align-items: start;
}
.about-method-intro h2 {
  font-size: 30px;
  max-width: 22ch;
}
.about-method-intro .lede { margin: 0; }
.staff-qualities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 38px;
  border-top: 1px solid var(--bordo);
  border-bottom: 1px solid var(--bordo);
}
.staff-qualities article { padding: 28px 34px; }
.staff-qualities article:nth-child(odd) {
  padding-left: 0;
  border-right: 1px solid var(--bordo);
}
.staff-qualities article:nth-child(-n+2) { border-bottom: 1px solid var(--bordo); }
.staff-qualities h3 {
  color: var(--blu-scuro);
  font-size: 20px;
  margin-bottom: 9px;
}
.staff-qualities p {
  color: #3c4a58;
  margin: 0;
}

.callout {
  background: var(--azzurro-chiaro);
  border-left: 4px solid var(--blu);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  margin-top: 20px;
}
.callout h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--blu);
}
.callout p {
  font-size: 15px;
  color: #3c4a58;
  margin-bottom: 0;
}
.callout.callout-muted {
  border-left-color: var(--bordo);
  background: var(--bianco);
  border: 1px solid var(--bordo);
  border-left-width: 4px;
}

/* ===== Riquadri sotto-servizio (con CTA propria) ===== */
.sub-service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}
.sub-service-card {
  background: var(--bianco);
  border-top: 5px solid var(--service-color, var(--blu));
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(20, 40, 61, .06);
  padding: 28px;
}
.sub-service-card[data-color="blu"] { --service-color: var(--blu); }
.sub-service-card[data-color="turchese"] { --service-color: var(--turchese); }
.sub-service-card[data-color="arancio"] { --service-color: var(--arancio); }
.sub-service-card[data-color="viola"] { --service-color: var(--viola); }
.sub-service-card h2 {
  font-size: 21px;
  margin-bottom: 4px;
}
.sub-service-card .sub-eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--service-color, var(--blu));
  margin-bottom: 6px;
}
.sub-service-card > p {
  font-size: 15px;
  color: #3c4a58;
  margin-bottom: 14px;
}
.sub-service-card .checklist {
  grid-template-columns: 1fr;
  margin-bottom: 16px;
}
.sub-service-card .checklist li { font-size: 14.5px; }
.sub-service-card .btn-primary {
  font-size: 14.5px;
  padding: 11px 22px;
}
.sub-service-card .closing {
  font-weight: 500;
  font-size: 14.5px;
  margin: 14px 0 0;
}

@media (max-width: 860px) {
  .sub-service-grid { grid-template-columns: 1fr; }
}

/* ===== Sezione con foto affiancata (riutilizzabile) ===== */
.media-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.media-split img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(20, 40, 61, .14);
}
.media-split.reverse { grid-template-columns: 1fr 1.2fr; }
.media-split.reverse img { order: -1; }

/* ===== Sezione Food Cost in risalto ===== */
.featured-section {
  background: var(--arancio-tint);
  padding: 56px 0;
}

/* ===== Esempio numerico ===== */
.example-box {
  background: var(--bianco);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-top: 20px;
  box-shadow: 0 4px 16px rgba(20, 40, 61, .08);
}
.example-box p { margin-bottom: 10px; font-size: 15.5px; }
.example-box p:last-child { margin-bottom: 0; font-weight: 500; }

/* ===== Lista domande riflessive ===== */
.question-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
}
.question-list li {
  padding-left: 20px;
  position: relative;
  font-size: 16px;
  color: var(--antracite);
}
.question-list li::before {
  content: "?";
  position: absolute;
  left: 0;
  color: var(--arancio);
  font-weight: 500;
}

@media (max-width: 768px) {
  .media-split { grid-template-columns: 1fr; }
  .media-split.reverse img { order: 0; }
  .question-list { grid-template-columns: 1fr; }
  .about-hero { background: var(--bianco); padding-bottom: 40px; }
  .about-hero .service-hero-grid { grid-template-columns: 1fr; }
  .about-hero .about-portrait { order: 0; }
  .about-portrait img { height: 310px; }
  .about-team-hero .about-portrait img { height: auto; }
  .about-portrait figcaption { font-size: 11px; }
  .about-ledger { grid-template-columns: repeat(2, 1fr); }
  .about-ledger > div,
  .about-ledger > div:first-child {
    min-height: 104px;
    padding: 18px 14px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(31, 92, 153, .2);
  }
  .about-method-intro { grid-template-columns: 1fr; gap: 16px; }
  .staff-qualities { grid-template-columns: 1fr; }
  .staff-qualities article,
  .staff-qualities article:nth-child(odd) {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--bordo);
  }
  .staff-qualities article:last-child { border-bottom: 0; }
}

.checklist {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
}
.checklist li::before {
  content: "";
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--verde);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='m9.5 16.5-4-4 1.4-1.4 2.6 2.6 7.1-7.1L18 8z'/%3E%3C/svg%3E") center/16px no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='m9.5 16.5-4-4 1.4-1.4 2.6 2.6 7.1-7.1L18 8z'/%3E%3C/svg%3E") center/16px no-repeat;
}

.service-cta {
  background: var(--azzurro-chiaro);
  padding: 56px 0;
  text-align: left;
}
.service-cta h2 { font-size: 28px; }
.service-cta .lede { margin-bottom: 24px; }

/* ===== Blocchi dettaglio (servizi con elenco esteso) ===== */
.detail-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 28px;
}
.detail-block {
  padding-top: 28px;
  border-top: 1px solid var(--bordo);
}
.detail-block:first-child { padding-top: 0; border-top: none; }
.detail-block .detail-num {
  color: var(--blu);
  font-weight: 500;
  font-size: 14px;
}
.detail-block h3 {
  font-size: 20px;
  margin: 4px 0 10px;
}
.detail-block > p {
  color: #3c4a58;
  max-width: 68ch;
  margin-bottom: 14px;
}
.detail-block .checklist {
  grid-template-columns: repeat(2, 1fr);
}

/* ===== Griglia benefici ===== */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.benefit-card {
  background: var(--bianco);
  border-radius: var(--radius-sm);
  padding: 22px;
  box-shadow: 0 4px 14px rgba(20, 40, 61, .06);
}
.benefit-card h3 {
  font-size: 16px;
  color: var(--blu);
  margin-bottom: 8px;
}
.benefit-card p {
  font-size: 14.5px;
  color: #3c4a58;
  margin-bottom: 0;
}

/* ===== Coppia di CTA commerciali ===== */
.cta-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cta-pair .trust-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cta-pair .cta-question {
  font-size: 18px;
  color: var(--antracite);
}
.cta-pair .cta-small {
  font-size: 14px;
  padding: 10px 20px;
  align-self: flex-start;
  margin-top: 6px;
}

@media (max-width: 640px) {
  .cta-pair { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .service-hero h1 { font-size: 28px; }
  .service-hero-grid { grid-template-columns: 1fr; }
  .service-hero-photo { order: -1; }
  .service-section-grid { grid-template-columns: 1fr; }
  .image-pair { margin-top: 28px; }
  .image-pair img { height: 200px; }
  .process-item { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .detail-block .checklist { grid-template-columns: 1fr; }
}

/* ===== Modulo preventivo ===== */
.form-page {
  padding: 48px 0 72px;
}
.form-card {
  max-width: 760px;
  background: var(--bianco);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(20, 40, 61, .1);
  padding: 36px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
}
.form-context {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 20px;
  align-items: center;
  padding: 18px 20px;
  border-left: 4px solid var(--arancio);
  border-radius: var(--radius-sm);
  background: var(--azzurro-chiaro);
  color: var(--blu-scuro);
}
.form-context[hidden] { display: none; }
.form-context span {
  grid-column: 1;
  font-size: 13px;
  color: #52677a;
}
.form-context strong {
  grid-column: 1;
  font-size: 19px;
  font-weight: 500;
}
.form-context a {
  grid-column: 2;
  grid-row: 1 / 3;
  font-size: 14px;
  font-weight: 500;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--antracite);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font);
  font-size: 15px;
  padding: 11px 14px;
  border: 1px solid var(--bordo);
  border-radius: var(--radius-sm);
  background: var(--bianco);
  color: var(--antracite);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.field-hint {
  font-size: 13px;
  color: #667684;
}
.urgency-field { max-width: 260px; }
.form-field.checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}
.form-field.checkbox input { margin-top: 3px; }
.form-field.checkbox label { font-weight: 400; font-size: 14px; }
.form-note {
  margin-top: 20px;
  padding: 14px 18px;
  background: var(--azzurro-chiaro);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--blu-scuro);
}
.form-card .btn-primary {
  margin-top: 24px;
}
.form-card .btn-primary:disabled {
  cursor: wait;
  opacity: .65;
}
.turnstile-slot {
  min-height: 65px;
  margin-top: 20px;
}
.turnstile-slot[hidden] { display: none; }
.form-status {
  min-height: 1.5em;
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 500;
}
.form-status.is-error { color: #9f1d20; }
.form-status.is-success { color: #17613a; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 3px solid rgba(33, 105, 164, .18);
  border-color: var(--blu);
}

/* ===== Contatti ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-grid .map-frame {
  width: 100%;
  height: 340px;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(20, 40, 61, .1);
}
.contact-list { list-style: none; margin: 20px 0 0; padding: 0; }
.contact-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--bordo);
  font-size: 16px;
}
.contact-list li strong { display: block; font-size: 13px; color: var(--blu); font-weight: 500; margin-bottom: 2px; }
.contact-list a { color: var(--antracite); text-decoration: underline; }

/* ===== Promozioni ===== */
.promo-card {
  background: var(--bianco);
  border: 1px solid var(--bordo);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.promo-card .badge {
  display: inline-block;
  background: var(--arancio);
  color: var(--antracite);
  font-size: 12.5px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ===== Documenti utili ===== */
.doc-list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.doc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bianco);
  border: 1px solid var(--bordo);
  border-radius: var(--radius-sm);
}
.doc-item .doc-name { font-weight: 500; font-size: 15.5px; }
.doc-item .doc-meta { font-size: 13px; color: #8a97a6; }
.doc-item .doc-status {
  font-size: 13px;
  color: #8a97a6;
  font-style: italic;
  white-space: nowrap;
}

/* ===== Pagine legali ===== */
.legal-content { max-width: 72ch; }
.legal-content h2 { font-size: 20px; margin: 32px 0 12px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { font-size: 15.5px; color: #3c4a58; }
.legal-placeholder {
  background: #FFF4E5;
  border: 1px dashed #E0A84D;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 14px;
  color: #6b4e1e;
  margin: 24px 0;
}

@media (max-width: 768px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .form-context { grid-template-columns: 1fr; }
  .form-context a { grid-column: 1; grid-row: auto; margin-top: 8px; }
  .urgency-field { max-width: none; }
  .contact-grid { grid-template-columns: 1fr; }
}
