/* =====================================================================
   Dott.ssa Anna Manzari — Riabilitazione del Pavimento Pelvico
   Foglio di stile principale (design system)
   ---------------------------------------------------------------------
   IDENTITÀ (redesign d'autore, guidato dalla skill "impeccable"):
   - Il colore vive nel MARCHIO, non nello sfondo: fondo BIANCO puro,
     Terracotta "cotto" più profondo e desaturato (meno arancione acceso), uniforme ovunque.
   - Tipografia con personalità: Spectral (serif) per i titoli,
     Hanken Grotesk (sans) per i testi. Font auto-ospitati (privacy-safe).
   ---------------------------------------------------------------------
   1. Font · 2. Variabili · 3. Reset · 4. Tipografia · 5. Layout
   6. Bottoni · 7. Header · 8. Hero · 9. Sigilli · 10. Card/griglie
   11. Recensioni · 12. FAQ · 13. Form · 14. Footer · 15. WhatsApp
   16. Cookie · 17. Animazioni · 18. Responsive
   ===================================================================== */

/* === 1. FONT (auto-ospitati) ====================================== */
@font-face { font-family: "Spectral"; src: url("../fonts/spectral-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("../fonts/spectral-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* === 2. VARIABILI ================================================= */
:root {
  /* Palette "terracotta + oliva su bianco" (intento OKLCH in commento) */
  --bg:        #FFFFFF;  /* sfondo: bianco puro */
  --surface:   #F7F4F1;  /* sezioni alternate: bianco caldo */
  --ink:       #2A2018;  /* testo: espresso caldo (contrasto ~15:1 su bianco) */
  --muted:     #6A5E54;  /* testo secondario (≥4.5:1 su bianco) */

  --primary:      #9C5037;  /* cotto profondo desaturato: marchio, link, pallini, dettagli */
  --primary-deep: #7C3E29;  /* hover / testo link */
  --accent:       #6E6A2E;  /* verde oliva: secondo colore */
  --accent-deep:  #565327;
  --blush:        #E7C6B9;  /* rosa cipria: solo decorativo */
  --cta:          #9C5037;  /* pulsanti: stesso cotto profondo (uniforme) */
  --cta-deep:     #7C3E29;  /* hover pulsanti */
  --espresso:     #241B14;  /* sezioni scure (sigilli, footer) */

  --line:      rgba(42, 32, 24, 0.14);

  /* Verde WhatsApp: scuro per testo bianco, vivido per l'icona flottante */
  --whatsapp: #0A7A36;  --whatsapp-dark: #086129;  --whatsapp-bright: #1FAE54;

  --font-display: "Spectral", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --space-xs:.5rem; --space-sm:1rem; --space-md:2rem; --space-lg:4rem; --space-xl:7rem;
  --radius:18px; --radius-sm:12px; --radius-pill:999px;
  --shadow-soft:  0 10px 30px rgba(80, 50, 35, 0.08);
  --shadow-hover: 0 20px 55px rgba(80, 50, 35, 0.15);
  --maxw:1180px;
  --z-sticky:100; --z-float:120; --z-cookie:200;
}

/* === 3. RESET E BASE ============================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem; line-height: 1.7;
  color: var(--ink); background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-deep); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--ink); }
ul { padding-left: 1.1em; }
section[id], [id] { scroll-margin-top: 90px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

/* === 4. TIPOGRAFIA =============================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600; line-height: 1.22; color: var(--ink);
  margin: 0 0 0.5em; letter-spacing: -0.01em; text-wrap: balance;
}
h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.05rem, 4vw, 2.95rem); }
h3 { font-size: 1.45rem; }
p  { margin: 0 0 1.1em; text-wrap: pretty; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.01em;
  color: var(--accent-deep); margin-bottom: 0.7rem;
}

.lead { font-size: 1.3rem; line-height: 1.55; color: var(--muted); max-width: 60ch; font-weight: 400; }
.text-center { text-align: center; }

/* === 5. LAYOUT =================================================== */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
section { padding: var(--space-xl) 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 720px; margin: 0 auto var(--space-lg); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.15rem; margin-inline: auto; }

/* === 6. BOTTONI ================================================== */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  padding: .9rem 1.7rem; border-radius: var(--radius-pill);
  border: 2px solid transparent; cursor: pointer; min-height: 48px; line-height: 1.2; text-align: center;
  transition: transform .25s cubic-bezier(.22,1,.36,1), background-color .2s ease, box-shadow .25s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--cta); color: #fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--cta-deep); color: #fff; box-shadow: var(--shadow-hover); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: var(--shadow-soft); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); color: #fff; box-shadow: var(--shadow-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-deep); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* === 7. HEADER / NAV ============================================ */
.site-header { position: sticky; top: 0; z-index: var(--z-sticky); background: rgba(255,255,255,0.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); line-height: 1.3; }
.brand:hover { color: var(--ink); }
.brand .brand-mark { width: 42px; height: 42px; flex: none; display: grid; place-items: center; background: var(--primary); color: #fff; border-radius: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.brand-text { display: flex; flex-direction: column; }
.brand-text .name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.brand-text .role { font-size: .76rem; font-weight: 600; color: var(--accent-deep); letter-spacing: .01em; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .98rem; }
.nav-links a:hover { color: var(--primary-deep); }
.nav-actions { display: flex; align-items: center; gap: .8rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* === 8. HERO ==================================================== */
.hero { padding: var(--space-lg) 0 var(--space-xl); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: .6rem; }
.hero h1.about-title { font-size: clamp(1.8rem, 3.4vw, 2.3rem); line-height: 1.2; font-weight: 600; }
.hero-about .hero-text p { font-size: 1.1rem; line-height: 1.7; color: var(--ink); max-width: 60ch; }
.hero-about .hero-text p.lead { font-size: 1.2rem; font-weight: 400; color: #82786B; }
.hero-about .hero-text p.about-note { border-left: 3px solid var(--accent); padding-left: 1.1rem; margin-top: 1.4rem; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; line-height: 1.6; }
.hero-quote { position: relative; font-family: var(--font-display); font-size: 1.4rem; line-height: 1.45; color: var(--ink); font-style: italic; margin: 1.7rem 0 1.9rem; padding-top: 1.6rem; max-width: 52ch; }
.hero-quote::before { content: "\201C"; position: absolute; top: -.4rem; left: -.3rem; font-family: var(--font-display); font-size: 4rem; line-height: 1; color: var(--blush); font-style: normal; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .5rem; }
.hero-reassure { margin-top: 1.5rem; font-size: .98rem; color: var(--muted); display: flex; align-items: center; gap: .5rem; }
.hero-photo { position: relative; }
.hero-photo img { border-radius: 26px; box-shadow: var(--shadow-hover); width: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; }
.hero-photo::before { content: ""; position: absolute; inset: -24px 0 auto auto; width: 72%; height: 72%; background: radial-gradient(circle at 70% 30%, var(--blush) 0%, transparent 70%); border-radius: 50%; z-index: -1; }
.hero-badge { position: absolute; left: -18px; bottom: 24px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-soft); padding: .8rem 1.1rem; display: flex; align-items: center; gap: .7rem; max-width: 250px; }
.hero-badge .hb-icon { width: 38px; height: 38px; flex: none; color: var(--accent-deep); display: grid; place-items: center; }
.hero-badge strong { display: block; font-size: .95rem; }
.hero-badge span { font-size: .8rem; color: var(--muted); }

/* === 9. SIGILLI DI FIDUCIA ===================================== */
.trust-bar { background: var(--espresso); color: #fff; padding: 1.6rem 0; }
.trust-bar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .9rem 2rem; }
.trust-item { display: flex; align-items: center; gap: .55rem; font-size: .92rem; color: #e7ddd4; }
.trust-item svg { width: 1.1rem; height: 1.1rem; color: var(--blush); flex: none; }
.trust-item strong { color: #fff; font-weight: 600; }

/* === 10. CARD E GRIGLIE ======================================== */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem; transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease; height: 100%; }
.section-alt .card { background: #fff; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.card .card-icon { color: var(--primary); margin-bottom: .85rem; }
.card .card-icon svg { width: 36px; height: 36px; stroke-width: 1.6; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); margin-bottom: 0; }
.card ul { color: var(--muted); margin: .5rem 0 0; padding-left: 1.1rem; font-size: .9rem; line-height: 1.35; }
.card ul li { margin-bottom: .1rem; }

/* Sezione "Di cosa mi occupo": due gruppi (4 + 3) centrati, card editoriali con linea sottile, entrata a cascata */
.aree-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.6rem, 3vw, 2.4rem) clamp(1.8rem, 3vw, 2.6rem); }
.aree-grid.spread { display: flex; justify-content: space-between; }
.aree-grid.spread > .card { width: calc((100% - 3 * clamp(1.8rem, 3vw, 2.6rem)) / 4); }
#aree .aree-group { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.4rem); color: var(--ink); margin: 2.8rem 0 .7rem; }
#aree .aree-group:first-of-type { margin-top: 1rem; }
#aree .card { background: transparent; border: none; border-top: 1px solid var(--line); border-radius: 0; padding: 1.4rem 0 0; height: auto; }
#aree .card:hover { transform: none; box-shadow: none; }
#aree .card .card-icon { transition: transform .3s cubic-bezier(.22,1,.36,1); }
#aree .card:hover .card-icon { transform: translateY(-3px) scale(1.06); }
.aree-grid > .card:nth-child(2) { transition-delay: .07s; }
.aree-grid > .card:nth-child(3) { transition-delay: .14s; }
.aree-grid > .card:nth-child(4) { transition-delay: .21s; }
@media (max-width: 900px) {
  .aree-grid { grid-template-columns: repeat(2, 1fr); }
  .aree-grid.spread { display: grid; }
  .aree-grid.spread > .card { width: auto; }
}
@media (max-width: 600px) {
  .aree-grid, .aree-grid.spread { grid-template-columns: 1fr; }
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .9rem; color: var(--muted); }
.check-list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.2rem; height: 1.2rem; background: var(--primary); border-radius: 50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); background-size: .8rem; background-position: center; background-repeat: no-repeat; }
.steps { counter-reset: step; display: grid; gap: 1.2rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.7rem; }
.step::before { counter-increment: step; content: counter(step); width: 46px; height: 46px; flex: none; background: var(--accent); color: #fff; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.step h3 { margin-bottom: .2rem; }
.step p { margin: 0; color: var(--muted); }

/* === 11. CAROSELLO RECENSIONI ================================== */
.reviews { position: relative; }
.review-track { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: .5rem 0 1.5rem; -ms-overflow-style: none; scrollbar-width: none; }
.review-track::-webkit-scrollbar { display: none; }
.review-card { scroll-snap-align: center; flex: 0 0 min(420px, 85%); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem; box-shadow: var(--shadow-soft); }
.review-stars { color: #C77A1E; letter-spacing: 2px; margin-bottom: .6rem; font-size: 1.05rem; }
.review-card p { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; line-height: 1.5; color: var(--ink); }
.review-author { display: flex; align-items: center; gap: .7rem; margin-top: 1rem; }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; flex: none; }
.review-author strong { display: block; font-size: .95rem; }
.review-author span { font-size: .84rem; color: var(--muted); }
.review-nav { display: flex; justify-content: center; gap: .8rem; margin-top: .5rem; }
.review-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); transition: background .2s ease, color .2s ease, border-color .2s ease; }
.review-nav button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.reviews-google-note { text-align: center; margin-top: 1.5rem; }
.reviews-google-note .placeholder-note { margin-top: .5rem; }

/* === 12. FAQ =================================================== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--ink); padding: 1.3rem 2.5rem 1.3rem 0; position: relative; }
.faq-q::after { content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%); font-size: 1.7rem; color: var(--accent-deep); font-weight: 400; transition: transform .3s ease; }
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s cubic-bezier(.22,1,.36,1); }
.faq-a > .faq-a-inner { overflow: hidden; min-height: 0; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { padding-bottom: 1.3rem; color: var(--muted); }

/* === 13. FORM ================================================== */
.form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-soft); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.field input, .field textarea, .field select { width: 100%; font-family: inherit; font-size: 1rem; padding: .8rem .95rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(188,79,44,.15); }
.field textarea { resize: vertical; min-height: 120px; }
.consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .92rem; color: var(--muted); }
.consent input { width: auto; margin-top: .25rem; flex: none; }
.newsletter { background: var(--espresso); color: #fff; border-radius: var(--radius); padding: clamp(2.2rem, 4vw, 3.4rem); text-align: center; }
.newsletter h2, .newsletter .eyebrow { color: #fff; }
.newsletter .eyebrow { color: var(--blush); }
.newsletter p { color: #e7ddd4; }
.newsletter form { display: flex; gap: .7rem; max-width: 520px; margin: 1.2rem auto .8rem; flex-wrap: wrap; }
.newsletter input[type="email"] { flex: 1 1 240px; padding: .85rem 1rem; border-radius: var(--radius-pill); border: 1px solid transparent; font-family: inherit; font-size: 1rem; background: #fff; color: var(--ink); }
.newsletter .consent { color: #cfc4ba; justify-content: center; }
.newsletter .consent a { color: var(--blush); }
.sede-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sede-card .sede-body { padding: 1.6rem 1.7rem; }
.sede-card h3 { margin-bottom: .3rem; }
.sede-card .sede-addr { color: var(--muted); margin-bottom: 1rem; }
.sede-card iframe, .sede-map { width: 100%; height: 220px; border: 0; display: block; background: var(--surface); }
.sede-map-placeholder { height: 220px; display: grid; place-items: center; text-align: center; background: var(--surface); color: var(--primary-deep); font-weight: 600; padding: 1rem; }

/* === 14. FOOTER =============================================== */
.site-footer { background: var(--espresso); color: #d8cdc3; padding: var(--space-lg) 0 var(--space-md); margin-top: var(--space-md); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.site-footer h4 { color: #fff; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 1rem; }
.site-footer a { color: #d8cdc3; }
.site-footer a:hover { color: var(--blush); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-socials { display: flex; gap: .7rem; margin-top: 1rem; }
.footer-socials a { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.10); display: grid; place-items: center; color: #fff; transition: background .2s ease; }
.footer-socials a:hover { background: var(--primary); }
.footer-socials svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: var(--space-md); padding-top: var(--space-md); font-size: .85rem; color: #b3a79d; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
.footer-bottom.compact { border-top: 0; margin-top: 0; padding: .5rem 0; justify-content: center; text-align: center; }

/* === 15. WHATSAPP FLUTTUANTE ================================== */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: var(--z-float); width: 60px; height: 60px; border-radius: 50%; background: var(--whatsapp-bright); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(10,122,54,.45); transition: transform .25s cubic-bezier(.22,1,.36,1); }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::after { content: "Scrivimi"; position: absolute; right: 70px; background: var(--ink); color: #fff; font-size: .84rem; font-weight: 600; padding: .4rem .7rem; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.wa-float:hover::after { opacity: 1; }

/* === 16. BANNER COOKIE ======================================= */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: var(--z-cookie); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-hover); padding: 1.3rem 1.5rem; display: none; max-width: 560px; margin: 0 auto; }
.cookie-banner.show { display: block; }
.cookie-banner p { font-size: .92rem; margin-bottom: 1rem; }
.cookie-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.cookie-actions .btn { padding: .6rem 1.2rem; font-size: .9rem; min-height: 0; }

/* === 17. ANIMAZIONI ========================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
.placeholder-note { display: inline-block; background: #FBF0E9; border: 1px dashed var(--primary); color: var(--primary-deep); font-size: .8rem; padding: .3rem .7rem; border-radius: 8px; }

/* === 18. RESPONSIVE ========================================== */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; max-width: 460px; margin: 0 auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links { position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem 1.5rem 1.5rem; transform: translateY(-120%); transition: transform .3s ease; box-shadow: var(--shadow-soft); }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { display: block; width: 100%; padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn-desktop-only { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: var(--space-lg) 0; }
  .hero-badge { position: static; margin: 1rem auto 0; max-width: none; }
}
