/* ===== Tokens ===== */
:root {
  /* Palette fornita: 035450 · 204458 · 1a3952 · 8a97a6 · d9ebff (+ arancione CTA) */
  --bg: #ffffff;
  --bg-soft: #eef6ff;     /* tinta chiara dell'azzurro ghiaccio, per le sezioni alternate */
  --bg-deep: #1a3952;     /* footer, sfondo html */
  --ink: #1a3952;         /* titoli */
  --muted: #5a6b7c;       /* paragrafi (versione scura di 8a97a6, leggibile su bianco) */
  --slate: #8a97a6;       /* grigio-azzurro: testi secondari, dettagli */
  --teal: #204458;        /* colore primario: bottoni, topbar, icone */
  --teal-700: #1a3952;
  --lime: #035450;        /* verde petrolio: accenti su fondo chiaro */
  --lime-700: #02423f;
  --sky: #035450;         /* alias: accento */
  --sky-soft: #d9ebff;    /* azzurro ghiaccio: chip, icone, sfondo media */
  --orange: #e8722b;      /* CTA "Prenota" (invariato) */
  --orange-300: #f2842f;
  --orange-soft: #fdefe4;
  --line: #d3e3f5;
  --white: #ffffff;
  --r-sm: 8px;
  --r: 18px;
  --r-lg: 28px;
  --pill: 999px;
  --shadow: 0 24px 60px -28px rgba(26, 57, 82, .4);
  --shadow-sm: 0 8px 24px -14px rgba(26, 57, 82, .32);
  --maxw: 1180px;
  --font: "Lexend Deca", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* l'attributo hidden deve vincere sui display dei componenti (es. .btn) */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; background: var(--bg-deep); }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 4px; }
:where(a, button, summary):focus:not(:focus-visible) { outline: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 780px; }

h1, h2, h3 { font-weight: 600; line-height: 1.08; letter-spacing: -.02em; color: var(--ink); overflow-wrap: break-word; }
h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.18rem; font-weight: 500; }
p { color: var(--muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .7rem;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px;
  background: var(--lime); transform: rotate(45deg); border-radius: 1px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: var(--white);
  padding: 15px 30px; border-radius: var(--pill);
  font-weight: 500; font-size: .95rem; letter-spacing: .01em;
  border: 1.5px solid var(--teal); cursor: pointer;
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: var(--teal-700); border-color: var(--teal-700); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-sm { padding: 10px 22px; font-size: .85rem; }
.btn-ghost { background: transparent; color: var(--teal); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-soft); border-color: var(--teal); transform: translateY(-2px); box-shadow: none; }
.btn-orange { background: var(--orange); border-color: var(--orange); color: var(--ink); font-weight: 600; }
.btn-orange:hover { background: var(--orange-300); border-color: var(--orange-300); color: var(--ink); }

/* ===== Top info bar ===== */
.topbar { background: var(--teal); color: rgba(255,255,255,.85); font-size: .82rem; }
.topbar-wrap { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.topbar-info { display: flex; align-items: center; gap: 26px; }
.topbar-info a, .topbar-loc { display: inline-flex; align-items: center; gap: 7px; color: inherit; }
.topbar-info a:hover { color: var(--sky-soft); }
.topbar svg { width: 15px; height: 15px; fill: none; stroke: var(--sky-soft); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.topbar-social { display: flex; gap: 14px; }
.topbar-social a { display: inline-flex; }
.topbar-social svg { width: 17px; height: 17px; stroke: rgba(255,255,255,.8); }
.topbar-social a:hover svg { stroke: var(--sky-soft); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; display: block; }
.brand-text { display: flex; flex-direction: column; font-weight: 500; line-height: 1.15; letter-spacing: -.01em; }
.brand-text small { font-weight: 300; color: var(--muted); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: .92rem; color: var(--muted); font-weight: 400; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1.5px;
  background: var(--sky); transition: width .25s var(--ease);
}
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after { width: 100%; }
.nav a.btn { color: #fff; }
.nav a.btn-orange { color: var(--ink); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ===== Hero (video bg) ===== */
.hero { position: relative; min-height: 78vh; min-height: 78svh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: url("../img/hero-poster.svg") center/cover no-repeat; }
.hero-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(32,68,88,.42) 0%, rgba(26,57,82,.84) 100%),
    radial-gradient(60% 50% at 75% 30%, rgba(3,84,80,.3), transparent 70%);
}
.hero-inner { position: relative; z-index: 1; color: #fff; padding-block: 120px; max-width: 760px; }
.hero-inner h1 { color: #fff; margin-bottom: 10px; }
.eyebrow-light { color: var(--sky-soft); }
.eyebrow-light::before { background: var(--sky-soft); }
.lead { font-size: 1.2rem; margin: 22px 0 38px; max-width: 46ch; }
.hero-inner .lead { color: rgba(255,255,255,.86); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badge {
  margin-top: 30px; font-size: .8rem; letter-spacing: .06em;
  color: rgba(217,235,255,.8); text-transform: uppercase; font-weight: 400;
}
.btn-accent { background: var(--sky-soft); color: var(--teal); border-color: var(--sky-soft); font-weight: 600; }
.btn-accent:hover { background: #ffffff; border-color: #ffffff; color: var(--teal); }
.btn-glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.22); border-color: #fff; box-shadow: none; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 14px;
  color: rgba(255,255,255,.7);
  font-size: .66rem; font-weight: 500; letter-spacing: .34em; text-transform: uppercase;
}
.hero-scroll span { line-height: 1; }
.hero-scroll::after {
  content: ""; width: 1px; height: 46px;
  background: linear-gradient(180deg, var(--sky-soft), rgba(217,235,255,0));
  transform-origin: top; animation: scrollline 2.2s var(--ease) infinite;
}
.hero-scroll:hover { color: var(--sky-soft); }
@keyframes scrollline {
  0%   { transform: scaleY(0); opacity: 0; }
  30%  { opacity: 1; }
  70%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ===== Media / Placeholders ===== */
.ph {
  width: 100%; border-radius: var(--r-lg);
  background:
    linear-gradient(135deg, var(--sky-soft), #eef6ff),
    repeating-linear-gradient(45deg, rgba(26,57,82,.05) 0 16px, transparent 16px 32px);
  object-fit: cover; box-shadow: var(--shadow);
}
.ph-hero { aspect-ratio: 4/5; border-top-left-radius: 120px; }
.ph-portrait { aspect-ratio: 4/5; max-height: 560px; margin-inline: auto; border-top-right-radius: 120px; object-position: 50% 18%; }
.ph-square { aspect-ratio: 1/1; box-shadow: var(--shadow-sm); border-radius: var(--r); }

/* ===== Sections ===== */
.section { padding: 104px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 660px; margin: 0 auto 60px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-sub { color: var(--muted); margin-top: 14px; font-size: 1.1rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.col-text p { margin-top: 18px; }
.creds { list-style: none; margin-top: 28px; display: grid; gap: 12px; }
.creds li { padding-left: 30px; position: relative; color: var(--ink); font-weight: 400; }
.creds li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 16px;
  background: var(--sky-soft); border: 1.5px solid var(--sky); border-radius: 50%;
}

/* ===== Cards (image-led) ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-media { aspect-ratio: 16/10; overflow: hidden; position: relative; background: var(--sky-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 26px 28px 30px; position: relative; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .96rem; }

/* ===== Discipline ===== */
.disc { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.disc-item {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 44px 40px 46px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
/* alone diagonale sul fondo, colorato per disciplina */
.disc-item::before {
  content: ""; position: absolute; inset: -40% 40% -40% -40%; z-index: -1;
  background: linear-gradient(135deg, var(--sky-soft), transparent 70%);
  transform: rotate(-12deg); opacity: .9;
  transition: transform .5s var(--ease);
}
/* filetto superiore che si estende in hover */
.disc-item::after {
  content: ""; position: absolute; left: 40px; right: 40px; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--lime), var(--teal));
  border-radius: 0 0 4px 4px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.disc-item:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.disc-item:hover::after { transform: scaleX(1); }
.disc-item:hover::before { transform: rotate(-12deg) translateX(10px); }
.disc-item + .disc-item::before {
  background: linear-gradient(135deg, rgba(3,84,80,.14), transparent 70%);
}

.disc-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.disc-icon {
  width: 64px; height: 64px; border-radius: 20px; flex: 0 0 auto;
  background: var(--teal); display: grid; place-items: center;
  box-shadow: 0 12px 26px -14px rgba(26, 57, 82, .75);
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.disc-item + .disc-item .disc-icon { background: var(--lime); }
.disc-item:hover .disc-icon { transform: rotate(-6deg) scale(1.04); }
.disc-icon svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.disc-item h3 { font-size: 1.7rem; font-weight: 600; letter-spacing: -.02em; margin: 0; }

.disc-lead {
  font-size: 1.12rem; font-weight: 400; color: var(--ink);
  padding-bottom: 20px; margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.disc-item p { font-size: .97rem; }
.disc-item p + p { margin-top: 15px; }

/* ===== Audience (icon cards) ===== */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.aud-item {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: 30px 28px 32px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.aud-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.aud-icon {
  width: 60px; height: 60px; border-radius: 18px; background: var(--sky-soft);
  display: grid; place-items: center; margin-bottom: 20px; position: relative;
}
.aud-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--teal); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.aud-num {
  position: absolute; top: -10px; right: -14px;
  background: var(--teal); color: #fff;
  font-size: .68rem; font-weight: 600; letter-spacing: .12em;
  padding: 4px 9px; border-radius: var(--pill);
}
.aud-item h3 { margin-top: 4px; }
.aud-item p { margin-top: 8px; font-size: .94rem; }

/* ===== Steps ===== */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; position: relative; }
.steps li::after {
  content: ""; position: absolute; left: 32px; right: 32px; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--sky)); border-radius: 0 0 3px 3px;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.steps li:hover::after { transform: scaleX(1); }
.step-n {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal); color: #fff; display: grid; place-items: center;
  font-weight: 600; font-size: 1.05rem; margin-bottom: 18px;
}
.steps p { margin-top: 8px; font-size: .95rem; }

/* ===== FAQ ===== */
.faq { display: grid; gap: 14px; }
.faq details {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: 6px 26px; transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: transparent; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0;
  font-weight: 500; font-size: 1.12rem; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 22px; width: 22px; height: 22px;
  background:
    linear-gradient(var(--teal),var(--teal)) center/12px 1.5px no-repeat,
    linear-gradient(var(--teal),var(--teal)) center/1.5px 12px no-repeat;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding: 0 0 22px; }

/* ===== Map ===== */
.map-section { position: relative; padding-bottom: 8px; }
.map-section iframe { width: 100%; height: 560px; border: 0; display: block; filter: grayscale(.3) saturate(.9); }
.map-card {
  position: absolute; left: 28px; top: 0; bottom: 0; margin-block: auto;
  height: fit-content;
  background: var(--white); border-radius: var(--r-lg);
  padding: 36px; max-width: 360px; box-shadow: var(--shadow);
}
.map-card p { margin: 14px 0 22px; }

/* ===== Contact ===== */
.contact-list { list-style: none; margin-top: 28px; display: grid; gap: 18px; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; }
.contact-list strong { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--teal); font-weight: 600; }
.contact-list a, .contact-list span { color: var(--ink); font-weight: 400; }
.contact-list a:hover { color: var(--teal); }

.form { display: grid; gap: 18px; background: var(--bg-soft); border: 1px solid var(--line); padding: 36px; border-radius: var(--r-lg); }
.form label { display: grid; gap: 7px; font-size: .82rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea {
  font: inherit; font-size: 1rem; padding: 14px 16px; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); background: var(--white); color: var(--ink); resize: vertical;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px var(--sky-soft); }
.form .btn { justify-content: center; margin-top: 4px; }
.form-note { color: var(--lime-700); font-weight: 500; }
.form .form-check { display: flex; flex-direction: row; align-items: flex-start; gap: 12px;
  text-transform: none; letter-spacing: 0; font-size: .84rem; font-weight: 400; line-height: 1.5; color: var(--muted); }
.form .form-check input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--teal); padding: 0; }
.form .form-check a { color: var(--lime); text-decoration: underline; text-underline-offset: 2px; }
.form .form-check a:hover { color: var(--teal); }
.form-alt { font-size: .82rem; color: var(--muted); margin-top: 2px; }
.form-alt a { color: var(--lime); text-decoration: underline; text-underline-offset: 2px; }
.form-alt a:hover { color: var(--teal); }
.form-note.err { color: #c0563f; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ===== Footer ===== */
.site-footer { background: var(--bg-deep); color: #c3d3e4; padding: 72px 0 28px; margin-top: 96px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .brand-footer { margin-bottom: 18px; }
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-text small { color: rgba(255,255,255,.55); }
.footer-brand p { color: rgba(255,255,255,.65); font-size: .92rem; max-width: 32ch; }
.footer-col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 600; color: #fff; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col li, .footer-col a { font-size: .9rem; color: rgba(255,255,255,.72); transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--sky-soft); }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; transition: border-color .2s var(--ease), background .2s var(--ease); }
.footer-social a:hover { border-color: var(--sky-soft); background: rgba(217,235,255,.14); }
.footer-social svg { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-mini { font-size: .82rem; color: rgba(255,255,255,.5); margin-top: 14px; }
.photo-credits { margin-top: 14px; font-size: .78rem; color: rgba(255,255,255,.5); }
.photo-credits summary { cursor: pointer; color: rgba(255,255,255,.62); }
.photo-credits ul { list-style: none; display: grid; gap: 6px; margin-top: 10px; }
.photo-credits li { font-size: .76rem; line-height: 1.5; color: rgba(255,255,255,.5); }
.photo-credits a { color: rgba(255,255,255,.72); text-decoration: underline; text-underline-offset: 2px; }
.photo-credits a:hover { color: var(--sky-soft); }

.footer-legal { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; font-size: .82rem; color: rgba(255,255,255,.55); }
.footer-legal-left, .footer-legal-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-legal .dot { opacity: .4; }
.footer-legal a { color: rgba(255,255,255,.7); transition: color .2s var(--ease); }
.footer-legal a:hover { color: var(--sky-soft); }
.footer-legal small a { color: var(--sky-soft); font-weight: 500; }
.footer-legal small a:hover { color: #fff; }

/* ===== News (lista tipo blog) ===== */
.news-list { display: grid; }
.news-post {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.news-post:first-child { border-top: 0; padding-top: 8px; }
.news-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 10px;
}
.news-meta::before {
  content: ""; width: 7px; height: 7px; flex: 0 0 auto;
  background: var(--lime); transform: rotate(45deg); border-radius: 1px;
}
.news-title { font-size: 1.42rem; font-weight: 600; line-height: 1.25; margin-bottom: 12px; }
.news-text { font-size: 1rem; max-width: 68ch; }
.news-text.is-clamped {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-readmore, .news-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font: inherit; font-size: .9rem; font-weight: 500; color: var(--teal);
  background: none; border: 0; padding: 0; cursor: pointer;
  border-bottom: 1.5px solid var(--sky-soft);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.news-readmore:hover, .news-link:hover { color: var(--lime); border-bottom-color: var(--lime); }
.news-link::after { content: "→"; }
.news-readmore + .news-link { margin-left: 18px; }
.news-more { margin-top: 34px; display: flex; justify-content: center; }
.news-more .btn { border-color: var(--line); }

/* ===== Pagine legali ===== *//* ===== Pagine legali ===== */
.nav-legal { gap: 22px; }
.legal h1 { font-size: clamp(2.1rem, 4.5vw, 3rem); margin-bottom: 10px; }
.legal h2 { font-size: 1.28rem; font-weight: 600; margin: 44px 0 12px; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 18px 20px; display: grid; gap: 10px; }
.legal li { color: var(--muted); font-size: .98rem; }
.legal a:not(.btn) { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.legal a:not(.btn):hover { color: var(--teal); }
.legal-updated { font-size: .85rem; color: var(--slate); margin-bottom: 30px; }
.legal-note {
  background: var(--sky-soft); border-left: 4px solid var(--lime);
  border-radius: var(--r-sm); padding: 18px 20px; color: var(--ink); font-size: .96rem;
}
.legal-table { width: 100%; border-collapse: collapse; margin: 18px 0 22px; font-size: .9rem; }
.legal-table th, .legal-table td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; color: var(--muted); }
.legal-table th { background: var(--bg-soft); color: var(--ink); font-weight: 600; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.legal-table code { font-size: .85em; color: var(--teal); }
.legal-back { margin-top: 44px; }
.site-footer-slim { padding: 28px 0; margin-top: 0; }
.site-footer-slim .footer-legal { margin-top: 0; }
@media (max-width: 560px) {
  .legal-table, .legal-table thead, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; width: 100%; }
  .legal-table thead { display: none; }
  .legal-table tr { margin-bottom: 14px; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
  .legal-table td { border: 0; border-bottom: 1px solid var(--line); }
  .legal-table td:last-child { border-bottom: 0; }
}

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav { position: fixed; inset: 80px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 14px 28px 22px;
    transform: translateY(-130%); transition: transform .3s var(--ease); align-items: stretch; }
  .nav.open { transform: translateY(0); box-shadow: var(--shadow-sm); }
  .nav a:not(.btn) { padding: 14px 0; }
  .nav a.btn { margin-top: 8px; justify-content: center; }
  .nav-toggle { display: flex; }
  .two-col, .disc { grid-template-columns: 1fr; gap: 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .ph-portrait { max-height: 360px; aspect-ratio: 4/5; max-width: 420px; margin-inline: auto; object-position: 50% 15%; }
  .cards { grid-template-columns: 1fr 1fr; }
  .audience, .steps { grid-template-columns: 1fr 1fr; gap: 28px; }
  .map-card { position: static; max-width: none; margin: 24px 28px 8px; height: auto; }
}
@media (max-width: 760px) {
  .topbar-loc, .topbar-social { display: none; }
  .topbar-info { gap: 18px; }
  .topbar-info a { white-space: nowrap; }
  .topbar { font-size: .78rem; }
}
@media (max-width: 620px) {
  .topbar-mail { display: none; }
}
@media (max-width: 560px) {
  .section { padding: 72px 0; }
  .container { padding: 0 20px; }
  .hero { min-height: 74vh; min-height: 74svh; }
  .hero-inner { padding-block: 72px 80px; max-width: 100%; }
  .hero-inner h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero-inner h1 br { display: none; }
  .hero-inner .lead { font-size: 1.05rem; max-width: 100%; }
  .hero-cta { flex-direction: column; align-items: stretch; width: 100%; gap: 12px; }
  .hero-cta .btn { width: 100%; justify-content: center; padding: 15px 20px; }
  .hero-scroll { display: none; }
  .cards, .audience, .steps { grid-template-columns: 1fr; }
  .disc-item { padding: 32px 26px 34px; }
  .disc-item::after { left: 26px; right: 26px; }
  .disc-item h3 { font-size: 1.45rem; }
  .disc-icon { width: 56px; height: 56px; border-radius: 18px; }
  .two-col { gap: 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-legal { justify-content: center; text-align: center; flex-direction: column; gap: 12px; }
  .footer-legal-left, .footer-legal-right { justify-content: center; }
  .ph-portrait { aspect-ratio: 4/5; max-height: 380px; max-width: 100%; border-radius: var(--r-lg); border-top-right-radius: 60px; object-position: 50% 12%; }
  .form { padding: 24px; }
}

/* ===== Touch: kill sticky hover lift on touch devices ===== */
@media (hover: none) {
  .card:hover, .btn:hover, .btn-ghost:hover { transform: none; }
  .nav a:not(.btn):hover::after { width: 0; }
}
.btn:active { transform: scale(.97); }

/* ===== Floating WhatsApp ===== */
.fab-wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 30px -8px rgba(37,211,102,.6);
  transition: transform .2s var(--ease);
}
.fab-wa svg { width: 30px; height: 30px; fill: #fff; }
.fab-wa:hover { transform: scale(1.08); }
@media (max-width: 560px) { .fab-wa { width: 52px; height: 52px; right: 14px; bottom: 14px; } }
@media (prefers-reduced-motion: reduce) { .hero-scroll::after { animation: none; transform: scaleY(1); } }
