/* ChiMangia — sito pubblico (mobile-first) */

@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/baloo-2-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/baloo-2-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  --blu: #13294B;
  --blu-scuro: #0A1830;
  --blu-medio: #1D3A69;
  --blu-bordo: #3A4E73;
  --zafferano: #F2A900;
  --zafferano-chiaro: #FDF0CC;
  --marrone: #8A5A00;
  --crema: #FBF7EF;
  --crema-scura: #F3ECDD;
  --bordo: #E6DDCB;
  --tratteggio: #B9AE96;
  --testo-2: #33415C;
  --testo-3: #4A5568;
  --chiaro-1: #E3E8F1;
  --chiaro-2: #C9D2E0;
  --bianco: #FFFFFF;
  --font-titoli: "Baloo 2", system-ui, sans-serif;
  --font-testo: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --contenitore: 1120px;
  --header-h: 72px;
  --ombra-btn: 0 10px 22px rgba(19, 41, 75, .28);
  --ombra-card: 0 14px 28px rgba(19, 41, 75, .12);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font-testo); font-size: 17px; line-height: 1.5; color: var(--blu); background: var(--crema); }
img, svg { max-width: 100%; }
a { color: var(--blu); text-underline-offset: 3px; }
a:hover { color: var(--blu-scuro); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul.plain, ol.plain, .grid { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--zafferano); outline-offset: 3px; }
.band-saffron :focus-visible { outline-color: var(--blu); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--blu); color: var(--crema); padding: 12px 18px; border-radius: 12px; font-weight: 700; }
.skip:focus { top: 12px; color: var(--crema); }

.wrap { max-width: var(--contenitore); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.wrap-faq { max-width: 860px; }
.wrap-narrow { max-width: 760px; }
.measure { max-width: 760px; }
.section { padding-top: 72px; padding-bottom: 72px; }
.stack { display: flex; flex-direction: column; gap: 32px; }
.stack-28 { display: flex; flex-direction: column; gap: 28px; }
.stack-24 { display: flex; flex-direction: column; gap: 24px; }
.section-head { display: flex; flex-direction: column; gap: 8px; }
h2 { font-family: var(--font-titoli); font-weight: 800; font-size: clamp(30px, 4vw, 42px); line-height: 1.1; }
.sub { font-size: 19px; color: var(--testo-2); }
.lead { font-size: 20px; }
.grid { display: grid; gap: 20px; margin: 0; }
.grid-240 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.grid-260 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid-280 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; }
.grid-300 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.band { width: 100%; }
.band-blue { background: var(--blu); color: var(--crema); }
.band-cream { background: var(--crema-scura); }
.band-saffron { background: var(--zafferano); color: var(--blu); }

/* ---------- Pulsanti ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px;
  border-radius: 14px; border: 2px solid var(--blu); font: 700 16px/1.2 var(--font-testo); text-decoration: none; text-align: center; cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .3s ease, background-color .3s ease, color .3s ease, border-color .3s ease;
}
.btn .arr { display: inline-block; margin-left: 8px; transition: transform .22s var(--ease); }
.btn:hover, .btn:focus-visible { transform: translateY(-3px); box-shadow: var(--ombra-btn); }
.btn:hover .arr, .btn:focus-visible .arr { transform: translateX(6px); }
.btn:active { transform: translateY(0) scale(.97); box-shadow: 0 3px 8px rgba(19, 41, 75, .25); }
.btn-dark { background: var(--blu); color: var(--crema); }
.btn-dark:hover, .btn-dark:focus-visible { background: var(--bianco); color: var(--blu); border-color: var(--blu); }
.btn-line { background: transparent; color: var(--blu); }
.btn-line:hover, .btn-line:focus-visible { background: var(--blu); color: var(--bianco); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 18px; }
.btn-pill { border-radius: 999px; }
.btn-block { width: 100%; min-height: 52px; border-radius: 12px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row-center { justify-content: center; }

/* ---------- Intestazione ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--crema); border-bottom: 1px solid var(--bordo); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--blu); min-height: 44px; }
.logo span { font: 800 30px/1 var(--font-titoli); }
.nav-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 14px; border: 2px solid var(--blu); border-radius: 12px; background: var(--bianco); color: var(--blu); font: 700 16px var(--font-testo); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s ease, background-color .25s ease; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; font-size: 16px; font-weight: 500; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.nav-link { position: relative; display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 3px; border-radius: 2px; background: var(--zafferano); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-link:hover::after, .nav-link:focus-visible::after { transform: scaleX(1); }

/* Menu a scomparsa su mobile (solo con JavaScript attivo). */
@media (max-width: 899px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 8px; padding: 8px 0 12px; }
  .js .site-nav.open { display: flex; }
  .js .site-nav ul { flex-direction: column; gap: 0; }
  .js .site-nav .nav-link { min-height: 48px; border-bottom: 1px solid var(--bordo); font-size: 18px; }
  .js .site-nav .nav-link::after { bottom: 6px; right: auto; width: 60px; }
  .js .site-nav .btn { min-height: 52px; margin-top: 8px; }
  .logo span { font-size: 26px; }
}

/* ---------- Apertura ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 64px; padding-bottom: 72px; }
.hero-text { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.pill { align-self: flex-start; background: var(--zafferano); color: var(--blu); font-weight: 700; font-size: 15px; padding: 6px 14px; border-radius: 18px; }
.hero h1 { font-family: var(--font-titoli); font-weight: 800; font-size: clamp(40px, 6vw, 64px); line-height: 1.02; }
.hero-lead { font-size: 20px; color: var(--testo-2); max-width: 560px; }
.hero-note { font-size: 15px; color: var(--testo-3); }
.hero-visual { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }
.kitchen-card { width: 100%; max-width: 340px; background: var(--blu); color: var(--crema); border-radius: 28px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.kc-label { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--chiaro-2); }
.kc-count { display: flex; align-items: baseline; gap: 10px; font-size: 18px; }
.kc-num { font: 800 64px/1 var(--font-titoli); color: var(--zafferano); }
.kc-body { background: var(--crema); color: var(--blu); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.kc-group { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--testo-3); font-weight: 600; }
.kc-group:not(:first-child) { margin-top: 4px; }
.kc-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.kc-list li { display: flex; justify-content: space-between; gap: 12px; }
.kc-tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.kc-tags li { background: var(--zafferano); color: var(--blu); font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.kc-caption { font-size: 12px; color: var(--chiaro-2); }

/* ---------- Il problema ---------- */
#problema .wrap { padding-top: 64px; padding-bottom: 64px; }
.problem-card { border: 1px solid var(--blu-bordo); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.problem-card h3 { font-size: 20px; font-weight: 700; color: var(--zafferano); }
.problem-card p { color: var(--chiaro-1); }

/* ---------- Schede ---------- */
.card { background: var(--bianco); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover, .card:focus-within { transform: translateY(-4px); box-shadow: var(--ombra-card); }
.step-card { border: 1px solid var(--bordo); }
.step-card h3 { font-size: 22px; font-weight: 700; }
.card p, .who-card p, .feature-card p { color: var(--testo-2); }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--zafferano); color: var(--blu); font: 800 26px/1 var(--font-titoli); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-card { border-radius: 18px; padding: 22px; gap: 6px; }
.feature-card h3 { font-size: 20px; font-weight: 700; }
.icon-box { width: 48px; height: 48px; border-radius: 14px; background: var(--zafferano-chiaro); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.who-card { border-top: 6px solid var(--zafferano); background: var(--bianco); border-radius: 0 0 18px 18px; padding: 22px; display: flex; flex-direction: column; gap: 6px; transition: transform .25s ease, box-shadow .25s ease; }
.who-card:hover { transform: translateY(-4px); box-shadow: var(--ombra-card); }
.who-card h3 { font-size: 20px; font-weight: 700; }
.problem-card { transition: transform .25s ease; }
.problem-card:hover { transform: translateY(-4px); }

/* ---------- Una giornata ---------- */
.section-day { padding-top: 16px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 56px; }
.section-day .section-head { gap: 12px; }
.day-row { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.day-text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--marrone); }
.day-text h3 { font: 800 30px/1.1 var(--font-titoli); }
.day-body { display: flex; flex-direction: column; gap: 12px; color: var(--testo-2); font-size: 18px; }
.day-body ul, .day-body ol, .prose ul, .prose ol { padding-left: 22px; }
.day-illustration { flex: 1 1 340px; min-width: 0; border-radius: 22px; background: var(--crema-scura); overflow: hidden; display: flex; }
.day-illustration svg, .day-illustration img { width: 100%; height: auto; display: block; }
.day-illustration picture { display: block; width: 100%; }
@media (min-width: 800px) { .day-row-alt { flex-direction: row-reverse; } }

/* ---------- Prezzi ---------- */
.sub-light { color: var(--chiaro-1); }
.offer-band { background: var(--zafferano); color: var(--blu); border-radius: 16px; padding: 16px 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.offer-pct { font: 800 34px/1 var(--font-titoli); }
.offer-text { font-size: 18px; font-weight: 600; }
.step-head { display: flex; align-items: center; gap: 14px; }
.step-head .step-num { width: 44px; height: 44px; font-size: 24px; }
.step-head h3 { font-size: 24px; font-weight: 700; color: var(--crema); }
.step-head p { font-size: 16px; color: var(--chiaro-1); }
.billing-toggle { display: inline-flex; align-self: flex-start; background: var(--blu-medio); border-radius: 999px; padding: 4px; gap: 4px; }
.bt-opt { min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; color: var(--crema); font: 700 16px var(--font-testo); cursor: pointer; transition: background-color .3s ease, color .3s ease; }
.bt-opt[aria-pressed="true"] { background: var(--zafferano); color: var(--blu); }
.bt-opt:hover { background: var(--crema); color: var(--blu); }
.bt-opt:focus-visible { outline-color: var(--crema); }
.pk-grid { align-items: stretch; gap: 20px; }
.pk-card { background: var(--crema); color: var(--blu); border: 4px solid transparent; border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 14px; transition: transform .25s ease, box-shadow .25s ease; }
.pk-card:hover, .pk-card:focus-within { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(0, 0, 0, .25); }
.pk-featured { background: var(--bianco); border-color: var(--zafferano); }
.pk-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.pk-head h3 { font-size: 22px; font-weight: 700; }
.pk-badge { background: var(--blu); color: var(--crema); font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.pk-price { display: flex; flex-direction: column; gap: 14px; }
.pk-full { font-size: 17px; color: var(--testo-3); margin-bottom: -14px; }
.pk-main { display: flex; align-items: baseline; gap: 6px; font-size: 17px; }
.pk-amount { font: 800 60px/1 var(--font-titoli); }
.pk-alt, .pk-note { font-size: 16px; color: var(--testo-2); }
.pk-annual { display: none; }
.prices[data-mode="annual"] .pk-annual { display: flex; }
.prices[data-mode="annual"] .pk-monthly { display: none; }
.pk-activation { margin-top: auto; border-top: 2px dashed var(--tratteggio); padding-top: 14px; display: flex; flex-direction: column; gap: 2px; }
.pk-act-label { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--testo-3); }
.pk-act-price { display: flex; align-items: baseline; gap: 8px; }
.pk-act-price span { font: 800 32px/1.1 var(--font-titoli); }
.pk-act-price s { font-size: 16px; color: var(--testo-3); }
.activation-box { background: var(--crema); color: var(--blu); border-radius: 22px; padding: 26px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.ab-main { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.ab-title { font-size: 18px; font-weight: 700; }
.ab-main ul, .ab-main ol { padding-left: 20px; color: var(--testo-2); font-size: 16px; display: flex; flex-direction: column; gap: 4px; }
.ab-side { flex: 1 1 300px; min-width: 0; font-size: 16px; color: var(--testo-2); }
.example { border-left: 6px solid var(--zafferano); padding: 4px 0 4px 18px; font-size: 17px; }
.trial-box { background: var(--blu-medio); border-radius: 14px; padding: 16px 20px; font-size: 17px; }
.example p + p, .trial-box p + p { margin-top: 8px; }
.prices a:not(.btn) { color: var(--crema); }
.prices .pk-card a:not(.btn), .prices .activation-box a:not(.btn) { color: var(--blu); }
.hotel-line { border: 1px solid var(--blu-bordo); border-radius: 14px; padding: 14px 18px; font-size: 16px; color: var(--chiaro-1); }
.vat-note { font-size: 14px; color: var(--chiaro-2); }

/* ---------- Domande frequenti ---------- */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--bianco); border: 1px solid var(--bordo); border-radius: 16px; }
.faq-item h3 { font-size: 19px; font-weight: 700; }
.faq-q { width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px; background: none; border: 0; border-radius: 16px; color: var(--blu); font: inherit; text-align: left; cursor: pointer; }
.faq-q:hover { background: var(--crema); }
.faq-icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 3px; border-radius: 2px; background: var(--blu); transition: transform .25s ease; }
.faq-icon::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: rotate(0); }
.faq-a { padding: 0 22px 20px; color: var(--testo-2); }
.faq-a p + p, .faq-a ul, .faq-a ol { margin-top: 8px; }
.faq-a ul, .faq-a ol { padding-left: 22px; }

/* ---------- Contatti ---------- */
.contact { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.contact h2 { font-size: clamp(32px, 5vw, 50px); line-height: 1.05; }
.contact .lead { max-width: 620px; }
.contact-form { width: 100%; background: var(--bianco); border-radius: 22px; padding: 24px; text-align: left; display: flex; flex-direction: column; gap: 16px; }
.f-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.f-field { display: flex; flex-direction: column; gap: 6px; }
.f-field > label { font-weight: 600; font-size: 16px; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form select, .contact-form textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 2px solid var(--tratteggio); border-radius: 12px; background: var(--bianco); color: var(--blu); font: 16px/1.4 var(--font-testo);
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blu); outline: 3px solid var(--zafferano); outline-offset: 1px; }
.contact-form [aria-invalid="true"] { border-color: #A3261B; }
.f-check { flex-direction: row; align-items: flex-start; gap: 12px; }
.f-check input { width: 24px; height: 24px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--blu); }
.f-check label { font-weight: 400; font-size: 15px; }
.f-check .f-error { flex-basis: 100%; }
.f-check { flex-wrap: wrap; }
.f-error { color: #A3261B; font-size: 14px; font-weight: 600; }
.f-required { font-size: 14px; color: var(--testo-3); }
.contact-form .btn { align-self: flex-start; }
.f-status:empty { display: none; }
.f-ok, .f-ko { border-radius: 12px; padding: 12px 16px; font-weight: 600; }
.f-ok { background: #E3F3E8; color: #1E6B3A; }
.f-ko { background: #FBE7E4; color: #A3261B; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.offer-line { font-size: 16px; font-weight: 600; }
.band-saffron .btn-line:hover, .band-saffron .btn-line:focus-visible { background: var(--blu); color: var(--bianco); }

/* ---------- Piè di pagina ---------- */
.site-footer { background: var(--blu); color: var(--chiaro-2); }
.footer-inner { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 15px; }
.footer-brand { font: 800 24px/1 var(--font-titoli); color: var(--crema); }
.footer-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer-links a { color: var(--crema); display: inline-flex; min-height: 44px; align-items: center; }
.footer-links a:hover { color: var(--zafferano); }

/* ---------- Pagine legali, manutenzione, anteprima ---------- */
.legal { padding: 48px 0 72px; }
.legal h1 { font: 800 clamp(34px, 5vw, 48px)/1.1 var(--font-titoli); margin: 12px 0 24px; }
.back a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; }
.prose { display: flex; flex-direction: column; gap: 14px; color: var(--testo-2); }
.maintenance { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.maintenance-box { max-width: 520px; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.maintenance-box h1 { font: 800 clamp(34px, 5vw, 48px)/1.1 var(--font-titoli); }
.maintenance-box .logo { display: inline-flex; align-items: center; gap: 6px; }
.preview-banner { position: sticky; top: 0; z-index: 60; background: var(--zafferano); color: var(--blu); text-align: center; padding: 10px 16px; font-size: 15px; }
.preview-banner + .site-header { top: 42px; }

/* ---------- Comparsa allo scorrimento ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover, .btn:focus-visible, .btn:active, .card:hover, .card:focus-within, .who-card:hover, .problem-card:hover, .pk-card:hover, .pk-card:focus-within { transform: none; }
  .btn:hover .arr, .btn:focus-visible .arr { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .nav-toggle, .contact-form, .skip { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
 * 1.1 — Fotografie e rifinitura del design
 * ===================================================================== */

/* Scala tipografica e respiro */
h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.06; letter-spacing: -.01em; }
.hero h1 { font-size: clamp(42px, 6.4vw, 72px); line-height: 1; letter-spacing: -.015em; }
@media (min-width: 900px) {
  .section { padding-top: 104px; padding-bottom: 104px; }
  #problema .wrap { padding-top: 96px; padding-bottom: 96px; }
  .section-day { padding-top: 24px; padding-bottom: 120px; gap: 96px; }
  .stack { gap: 44px; }
}

/* Intestazione: si stacca dal contenuto quando si scorre */
.site-header { transition: box-shadow .3s ease, background-color .3s ease; }
.site-header.is-scrolled { background: rgba(251, 247, 239, .9); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 8px 28px rgba(19, 41, 75, .1); }

/* Cornice comune delle fotografie */
.photo-frame { overflow: hidden; border-radius: 28px; background: var(--crema-scura); }
.photo-frame picture, .hero-photo picture { display: block; width: 100%; height: 100%; }
.photo-frame img, .hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.js .reveal .photo-frame img { transform: scale(1.14); transition: transform 1.6s var(--ease); }
.js .reveal.is-visible .photo-frame img { transform: none; }

/* ---------- Apertura con fotografia ---------- */
.hero { gap: 56px; padding-top: 72px; padding-bottom: 88px; }
.hero-visual.has-photo { position: relative; display: block; flex: 1 1 380px; }
.hero-visual.has-photo::before { content: ""; position: absolute; right: -8px; top: -22px; width: 132px; height: 132px; border-radius: 50%; background: var(--zafferano); }
.hero-photo { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; border-radius: 32px; overflow: hidden; box-shadow: 0 30px 60px rgba(19, 41, 75, .22); }
.js .hero-photo img { animation: hero-zoom 1.8s var(--ease) both; }
.has-photo .kitchen-card { position: relative; z-index: 2; width: 88%; max-width: 320px; margin: -128px auto 0; box-shadow: 0 24px 48px rgba(10, 24, 48, .38); }
@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: none; } }
@keyframes card-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (min-width: 1000px) {
  .hero { flex-wrap: nowrap; align-items: center; gap: 40px; padding-top: 88px; padding-bottom: 120px; }
  .hero-text { flex: 1 1 0; }
  .hero-visual.has-photo { flex: 0 0 548px; padding: 0 0 52px 108px; }
  .hero-visual.has-photo::before { right: -34px; top: -34px; width: 190px; height: 190px; }
  .has-photo .kitchen-card { position: absolute; left: 0; bottom: 0; width: 284px; max-width: none; margin: 0; padding: 16px; gap: 10px; animation: card-float 7s ease-in-out 1.2s infinite; }
  .has-photo .kc-num { font-size: 54px; }
  .has-photo .kc-body { font-size: 15px; padding: 12px; gap: 7px; }
  .has-photo .kc-list { gap: 7px; }
}

/* ---------- Il problema con fotografia ---------- */
.problem-head { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; }
.problem-intro { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.problem-closing { color: var(--chiaro-1); border-left: 6px solid var(--zafferano); padding-left: 18px; }
.problem-photo { flex: 1 1 360px; min-width: 0; aspect-ratio: 3 / 2; background: var(--blu-scuro); box-shadow: 16px 16px 0 var(--zafferano); margin: 0 16px 16px 0; }
.problem-card { background: rgba(255, 255, 255, .03); }

/* ---------- Una giornata con fotografie ---------- */
.day-row { gap: 40px 72px; }
.day-photo-wrap { aspect-ratio: 4 / 3; box-shadow: 16px 16px 0 var(--zafferano); margin: 0 16px 16px 0; }
.day-text h3 { font-size: clamp(28px, 3vw, 36px); line-height: 1.08; }
@media (min-width: 800px) {
  .day-row-alt .day-photo-wrap { box-shadow: -16px 16px 0 var(--zafferano); margin: 0 0 16px 16px; }
  .day-text { flex: 1 1 400px; }
  .day-illustration { flex: 1 1 420px; }
}

/* ---------- Ingresso scaglionato delle schede ---------- */
.js .reveal .grid > * { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s var(--ease), box-shadow .25s ease; }
.js .reveal.is-visible .grid > * { opacity: 1; transform: none; }
.js .reveal.is-visible .grid > *:nth-child(2) { transition-delay: .08s; }
.js .reveal.is-visible .grid > *:nth-child(3) { transition-delay: .16s; }
.js .reveal.is-visible .grid > *:nth-child(4) { transition-delay: .24s; }
.js .reveal.is-visible .grid > *:nth-child(5) { transition-delay: .32s; }
.js .reveal.is-visible .grid > *:nth-child(6) { transition-delay: .4s; }
.js .reveal.is-visible .grid > *:nth-child(n+7) { transition-delay: .48s; }
.js .reveal.is-visible .grid > *:hover, .js .reveal.is-visible .grid > *:focus-within { transition-delay: 0s; transform: translateY(-4px); }
.js .reveal.is-visible .grid > .problem-card:hover { transform: translateY(-4px); }

/* Dettagli */
.card, .who-card { box-shadow: 0 1px 0 rgba(19, 41, 75, .04); }
.step-card { border-radius: 24px; }
.feature-card { border: 1px solid transparent; }
.feature-card:hover { border-color: var(--bordo); }
.kc-tags li, .pill { box-shadow: 0 1px 0 rgba(19, 41, 75, .12); }

@media (prefers-reduced-motion: reduce) {
  .js .reveal .grid > *, .js .reveal .photo-frame img { opacity: 1; transform: none; }
  .js .reveal.is-visible .grid > *:hover, .js .reveal.is-visible .grid > *:focus-within { transform: none; }
}

/* ---------- Slider dell'apertura ---------- */
.hero-slider .hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 0s linear 1.1s; }
.hero-slider .hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s ease, visibility 0s; z-index: 1; }
.hero-slider .hero-slide img { transform: scale(1.08); transition: transform 7s ease-out; }
.hero-slider .hero-slide.is-active img { transform: none; }
.js .hero-slider .hero-slide img { animation: none; }
img.pos-left { object-position: 26% 50%; }
.slider-ui { position: absolute; z-index: 3; right: 12px; top: 12px; display: flex; align-items: center; gap: 4px; padding: 0 6px 0 0; border-radius: 999px; background: rgba(19, 41, 75, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.slider-pause { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.slider-pause span { display: block; width: 12px; height: 14px; border-left: 4px solid var(--crema); border-right: 4px solid var(--crema); }
.slider-pause[aria-pressed="true"] span { width: 0; height: 0; border-left: 12px solid var(--crema); border-right: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 3px; }
.slider-dots { display: flex; }
.slider-dot { position: relative; width: 28px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0; }
.slider-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 2px var(--crema); transition: background-color .3s ease, transform .3s ease; }
.slider-dot[aria-current="true"]::before { background: var(--zafferano); box-shadow: none; transform: scale(1.3); }
.slider-pause:focus-visible, .slider-dot:focus-visible { outline: 3px solid var(--zafferano); outline-offset: -3px; border-radius: 999px; }

/* =====================================================================
 * 1.2 — Apertura con slider a tutta larghezza
 * ===================================================================== */
.hero-full { position: relative; isolation: isolate; overflow: hidden; background: var(--blu); color: var(--crema); }
.hero-full .hero-bg { position: absolute; inset: 0; }
.hero-full .hero-bg picture, .hero-full .hero-bg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-full .hero-bg > picture { position: absolute; inset: 0; }
.hero-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 24, 48, .86) 0%, rgba(10, 24, 48, .8) 55%, rgba(10, 24, 48, .62) 100%); }
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 40px; padding-top: 56px; padding-bottom: 96px; }
.hero-full .hero-text { flex: 0 1 auto; max-width: 640px; }
.hero-full h1 { font-family: var(--font-titoli); font-weight: 800; font-size: clamp(42px, 6.6vw, 76px); line-height: 1; letter-spacing: -.015em; color: var(--bianco); text-wrap: balance; }
.hero-full .hero-lead { font-size: 20px; color: var(--chiaro-1); max-width: 560px; }
.hero-full .hero-note { font-size: 15px; color: var(--chiaro-2); }
.hero-full .btn-dark { background: var(--zafferano); color: var(--blu); border-color: var(--zafferano); }
.hero-full .btn-dark:hover, .hero-full .btn-dark:focus-visible { background: var(--bianco); color: var(--blu); border-color: var(--bianco); }
.hero-full .btn-line { color: var(--crema); border-color: var(--crema); background: rgba(10, 24, 48, .25); }
.hero-full .btn-line:hover, .hero-full .btn-line:focus-visible { background: var(--crema); color: var(--blu); }
.hero-full .btn:hover, .hero-full .btn:focus-visible { box-shadow: 0 12px 26px rgba(0, 0, 0, .4); }
.hero-full .kitchen-card { width: 100%; max-width: 320px; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 26px 54px rgba(0, 0, 0, .45); }
.hero-full .slider-ui { top: auto; right: 16px; bottom: 20px; }
@media (min-width: 1000px) {
  .hero-shade { background: linear-gradient(90deg, rgba(10, 24, 48, .93) 0%, rgba(10, 24, 48, .82) 36%, rgba(10, 24, 48, .3) 68%, rgba(10, 24, 48, .42) 100%); }
  .hero-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 48px; min-height: min(88vh, 860px); padding-top: 96px; padding-bottom: 112px; }
  .hero-full .hero-text { flex: 1 1 0; }
  .hero-full .kitchen-card { flex: 0 0 300px; align-self: flex-end; animation: card-float 7s ease-in-out 1.2s infinite; }
  .hero-full .slider-ui { right: max(24px, calc((100vw - var(--contenitore)) / 2 + 24px)); bottom: 28px; }
}
