/* =========================================================
   Reggio English – foglio di stile principale
   Palette ispirata al logo (navy + rosso Union Jack) con
   accenti caldi per il pubblico di bambini e famiglie.
   ========================================================= */

:root {
  --navy-900: #0b1544;
  --navy: #13246b;
  --navy-600: #22389a;
  --navy-100: #e8edfb;
  --red: #d3142b;
  --red-600: #b30f22;
  --red-100: #fde9eb;
  --sun: #ffc83a;
  --sun-100: #fff5d8;
  --mint: #dcefe3;
  --mint-600: #2f8a57;
  --sky: #e5f0fb;
  --cream: #fbf8f2;
  --paper: #ffffff;
  --ink: #141933;
  --muted: #586079;
  --line: #e7e3da;

  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;
  --font-hand: "Caveat", "Comic Sans MS", cursive;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 1px 2px rgb(19 36 107 / .06), 0 2px 8px rgb(19 36 107 / .06);
  --shadow: 0 2px 4px rgb(19 36 107 / .05), 0 12px 32px rgb(19 36 107 / .10);
  --shadow-lg: 0 24px 60px rgb(11 21 68 / .18);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;      /* header compatto (dopo lo scroll) */
  --header-h-big: 116px; /* header in cima alla pagina */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy-600); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; color: var(--navy-900); letter-spacing: -.015em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.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; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }

.icon { display: inline-block; vertical-align: -.2em; width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--white { background: var(--paper); }
.section--navy { background: var(--navy-900); color: #dfe5ff; }
.section--navy h2, .section--navy h3 { color: #fff; }

/* ---------- Tipografia di sezione ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--red);
  margin: 0 0 14px;
}
.eyebrow--light { color: var(--sun); }
.h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 800; }
.h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 800; }
.h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.section--navy .lead { color: #c3cbef; }
.hand { font-family: var(--font-hand); font-size: 1.9rem; line-height: 1; color: var(--red); margin: 0 0 6px; transform: rotate(-3deg); display: inline-block; }
.hand--light { color: var(--sun); }
.mark { background: linear-gradient(transparent 62%, var(--sun) 62%, var(--sun) 92%, transparent 92%); padding-inline: .08em; }
.text-red { color: var(--red); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- Bottoni ---------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.45em; border-radius: 999px; border: 2px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 10px 22px rgb(19 36 107 / .2); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn--primary { --btn-bg: var(--red); }
.btn--primary:hover { --btn-bg: var(--red-600); box-shadow: 0 10px 24px rgb(211 20 43 / .3); }
.btn--navy { --btn-bg: var(--navy); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: rgb(19 36 107 / .2); }
.btn--ghost:hover { --btn-bd: var(--navy); box-shadow: none; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy); }
.btn--sun { --btn-bg: var(--sun); --btn-fg: var(--navy-900); }
.btn--sm { padding: .6em 1.1em; font-size: .92rem; }
.btn--lg { padding: 1em 1.7em; font-size: 1.06rem; }
.btn--block { width: 100%; }
@media (max-width: 560px) { .btn { white-space: normal; text-align: center; } }
.btn[disabled] { opacity: .6; pointer-events: none; }
.linklike { background: none; border: 0; padding: 0; color: var(--navy-600); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 700; }
.linklike:hover { color: var(--red); }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--navy-100); color: var(--navy); cursor: pointer; }
.icon-btn:hover { background: var(--navy); color: #fff; }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--navy-900); color: #cfd6f7; font-size: .86rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__msg { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.topbar__msg a { color: inherit; text-decoration: none; }
.topbar__msg a:hover { color: #fff; }
.topbar__msg strong { color: var(--sun); }
.topbar__msg .icon { color: var(--sun); }
.topbar__links { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.topbar__links a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar__links a:hover { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
/* lo sfondo sfocato sta su uno pseudo-elemento: un backdrop-filter sull'header
   diventerebbe il contenitore del menu mobile (position: fixed) */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(255 255 255 / .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgb(19 36 107 / .08); border-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h-big); transition: height .35s var(--ease); }
.site-header.is-scrolled .site-header__inner { height: var(--header-h); }
.brand { flex: none; display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 96px; width: auto; filter: drop-shadow(0 3px 6px rgb(19 36 107 / .22)); transition: height .35s var(--ease); }
.site-header.is-scrolled .brand img { height: 56px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-family: var(--font-head); font-weight: 800; font-size: 1.65rem; color: #0d2c8c; letter-spacing: -.01em; transition: font-size .35s var(--ease); }
.brand__text em { font-family: Georgia, "Times New Roman", serif; font-style: normal; font-size: .98rem; color: #7a2232; margin-top: 4px; transition: font-size .35s var(--ease); }
.site-header.is-scrolled .brand__text strong { font-size: 1.3rem; }
.site-header.is-scrolled .brand__text em { font-size: .8rem; }
.brand:hover .brand__text strong { color: var(--navy); }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list a {
  display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--navy-900);
  transition: background-color .2s, color .2s;
}
.nav__list a:hover { background: var(--navy-100); color: var(--navy); }
.nav__list a[aria-current="page"] { background: var(--navy); color: #fff; }
.nav__mobile-extra { display: none; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--navy-100); color: var(--navy); cursor: pointer; place-items: center; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 1080px) {
  .nav-toggle { display: grid; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: calc(var(--header-h-big) + 40px) 0 0 0; z-index: 49;
    background: var(--paper); padding: 24px var(--gutter) 40px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s;
  }
  .site-header.is-scrolled .nav, body.topbar-hidden .nav { top: var(--header-h); }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; gap: 6px; }
  .nav__list a { font-size: 1.35rem; padding: 14px 18px; border-radius: 16px; }
  .nav__mobile-extra { display: grid; gap: 12px; margin-top: 28px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .topbar__msg span { font-size: .8rem; }
  .brand { gap: 10px; }
  .brand img { height: 70px; }
  .site-header.is-scrolled .brand img { height: 46px; }
  .brand__text strong { font-size: 1.25rem; }
  .brand__text em { font-size: .8rem; }
  .site-header.is-scrolled .brand__text strong { font-size: 1.08rem; }
  .site-header.is-scrolled .brand__text em { font-size: .72rem; }
  :root { --header-h: 64px; --header-h-big: 88px; }
}
@media (max-width: 420px) { .topbar__msg { display: none; } .topbar__inner { justify-content: flex-end; } }

/* ---------- Hero home ---------- */
.hero { position: relative; padding-block: clamp(40px, 6vw, 84px) clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle at center, var(--sky) 0, rgb(229 240 251 / 0) 65%); z-index: -1;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.9rem); font-weight: 800; margin-bottom: .35em; }
.hero h1 .squiggle { position: relative; white-space: nowrap; color: var(--red); }
.hero h1 .squiggle svg { position: absolute; left: 0; right: 0; bottom: -.18em; width: 100%; height: .35em; }
.hero .lead { margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-weight: 700; font-size: .95rem; }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust .icon { color: var(--mint-600); background: var(--mint); border-radius: 50%; padding: 4px; width: 24px; height: 24px; }

.collage { position: relative; aspect-ratio: 1 / 1.02; max-width: 580px; margin-inline: auto; width: 100%; }
.collage__img { position: absolute; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-100); }
.collage__img img { width: 100%; height: 100%; object-fit: cover; }
.collage__img--a { inset: 0 18% 22% 0; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; }
.collage__img--b { width: 46%; aspect-ratio: 1; right: 0; bottom: 4%; border-radius: 50%; border: 8px solid var(--cream); }
.collage__img--c { width: 36%; aspect-ratio: 4/5; right: 2%; top: 4%; border-radius: 28px; border: 6px solid #fff; transform: rotate(6deg); }
.sticker {
  position: absolute; z-index: 2; background: #fff; border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--navy-900); line-height: 1.2; font-size: .95rem;
}
.sticker small { display: block; font-weight: 600; color: var(--muted); font-size: .8rem; }
.sticker__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--red-100); color: var(--red); }
.sticker__icon--sun { background: var(--sun-100); color: #b57b00; }
.sticker--a { left: -4%; bottom: 12%; animation: float 6s ease-in-out infinite; }
.sticker--b { left: 40%; top: -2%; animation: float 7s ease-in-out infinite reverse; }
.doodle { position: absolute; z-index: 2; font-family: var(--font-hand); font-weight: 700; font-size: 1.7rem; color: var(--navy); border: 2.5px solid currentColor; border-radius: 50%; padding: 2px 16px; background: rgb(255 255 255 / .85); }
.doodle--1 { left: 6%; top: 6%; transform: rotate(-10deg); color: var(--red); }
.doodle--2 { right: 44%; bottom: -1%; transform: rotate(7deg); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .collage { max-width: 460px; }
}
@media (max-width: 560px) {
  .hero__actions .btn { padding: .9em 1.25em; font-size: 1rem; }
  .sticker { padding: 8px 12px; font-size: .85rem; }
  .sticker__icon { width: 34px; height: 34px; }
  .sticker--a { left: 0; bottom: 10%; }
  .sticker--b { left: auto; right: 22%; }
  .doodle { font-size: 1.35rem; }
}

/* ---------- Marquee ---------- */
.marquee-wrap { overflow: hidden; padding-block: 14px; margin-block: -14px; position: relative; z-index: 2; }
.marquee { background: var(--navy); color: #fff; overflow: hidden; padding-block: 16px; transform: rotate(-1.2deg); margin-inline: -12px; box-shadow: var(--shadow); }
.marquee__track { display: flex; gap: 36px; width: max-content; animation: marquee 38s linear infinite; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; white-space: nowrap; }
.marquee__track span { display: inline-flex; align-items: center; gap: 36px; }
.marquee__track span::after { content: "✦"; color: var(--sun); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Card corsi ---------- */
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course-card {
  --accent: var(--red); --accent-bg: var(--red-100);
  display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  text-decoration: none; color: inherit;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: inherit; }
.course-card--kids { --accent: #d3142b; --accent-bg: var(--red-100); }
.course-card--teen { --accent: var(--navy-600); --accent-bg: var(--navy-100); }
.course-card--adult { --accent: #b57b00; --accent-bg: var(--sun-100); }
.course-card__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.course-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.course-card:hover .course-card__media img { transform: scale(1.05); }
.course-card__age { position: absolute; left: 16px; top: 16px; background: #fff; color: var(--accent); font-family: var(--font-head); font-weight: 800; padding: 6px 14px; border-radius: 999px; font-size: .9rem; box-shadow: var(--shadow-sm); }
.course-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.course-card__start { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 800; color: var(--accent); background: var(--accent-bg); padding: 4px 12px; border-radius: 999px; align-self: flex-start; margin-bottom: 14px; }
.course-card h3 { font-size: 1.5rem; margin-bottom: .35em; }
.course-card p { color: var(--muted); margin-bottom: 18px; }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.ticks .icon { color: var(--mint-600); margin-top: .25em; }
.course-card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: var(--accent); }
.course-card:hover .course-card__link .icon { transform: translateX(4px); }
.course-card__link .icon { transition: transform .2s var(--ease); }
@media (max-width: 960px) { .courses { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ---------- Feature / metodo ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split, .split--reverse { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature { background: var(--paper); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.feature__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; background: var(--navy-100); color: var(--navy); }
.feature__icon .icon { width: 24px; height: 24px; }
.feature:nth-child(2) .feature__icon { background: var(--red-100); color: var(--red); }
.feature:nth-child(3) .feature__icon { background: var(--sun-100); color: #b57b00; }
.feature:nth-child(4) .feature__icon { background: var(--mint); color: var(--mint-600); }
.feature h3 { font-size: 1.15rem; margin-bottom: .3em; }
.feature p { color: var(--muted); font-size: .97rem; margin: 0; }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.photo-stack { position: relative; }
.photo-stack__main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4; }
.photo-stack__main img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack__badge { position: absolute; right: -12px; bottom: -22px; background: var(--sun); color: var(--navy-900); border-radius: 24px; padding: 18px 22px; box-shadow: var(--shadow); max-width: 230px; transform: rotate(3deg); }
.photo-stack__badge strong { font-family: var(--font-head); font-size: 2.2rem; display: block; line-height: 1; }
.photo-stack__badge span { font-weight: 700; font-size: .92rem; }
@media (max-width: 560px) { .photo-stack__badge { right: 8px; } }

/* ---------- Camp highlight ---------- */
.camp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.camp-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; display: flex; align-items: flex-end; color: #fff; text-decoration: none; isolation: isolate; }
.camp-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.camp-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(11 21 68 / 0) 30%, rgb(11 21 68 / .88) 100%); }
.camp-card:hover { color: #fff; }
.camp-card:hover img { transform: scale(1.06); }
.camp-card__body { padding: 26px; }
.camp-card__tag { display: inline-block; background: var(--sun); color: var(--navy-900); font-weight: 800; font-size: .82rem; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.camp-card h3 { color: #fff; font-size: 1.45rem; margin-bottom: .2em; }
.camp-card p { margin: 0; color: #dfe5ff; font-weight: 600; }
@media (max-width: 900px) { .camp-cards { grid-template-columns: 1fr; } .camp-card { min-height: 300px; } }

/* ---------- Promo vacanza studio (home) ---------- */
.study-promo { background: var(--navy-900); color: #dfe5ff; border-radius: clamp(24px, 4vw, 48px); overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; position: relative; }
.study-promo__content { padding: clamp(32px, 5vw, 64px); position: relative; z-index: 1; }
.study-promo h2 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.study-promo .lead { color: #c3cbef; }
.study-promo__media { position: relative; min-height: 360px; }
.study-promo__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.study-promo__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-900) 0, rgb(11 21 68 / 0) 35%); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 28px 0 32px; }
.stat { background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .12); border-radius: 18px; padding: 16px 14px; }
.stat strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--sun); line-height: 1.1; }
.stat span { font-size: .85rem; font-weight: 700; color: #c3cbef; line-height: 1.3; display: block; margin-top: 4px; }
@media (max-width: 960px) { .study-promo { grid-template-columns: 1fr; } .study-promo__media { min-height: 260px; order: -1; } .study-promo__media::after { background: linear-gradient(0deg, var(--navy-900) 0, rgb(11 21 68 / 0) 50%); } }
@media (max-width: 560px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { position: relative; background: var(--paper); border-radius: var(--radius-lg); padding: 30px 28px; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; margin-bottom: 18px; }
.step:nth-child(2)::before { background: var(--red); }
.step:nth-child(3)::before { background: var(--sun); color: var(--navy-900); }
.step h3 { font-size: 1.25rem; margin-bottom: .3em; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--navy-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--navy-100); color: var(--navy); transition: transform .25s var(--ease), background-color .2s; }
.faq details[open] summary .icon { transform: rotate(180deg); background: var(--red); color: #fff; }
.faq details > div { padding: 0 24px 22px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Page hero (pagine interne) ---------- */
.page-hero { position: relative; color: #fff; padding-block: clamp(70px, 10vw, 130px) clamp(56px, 8vw, 100px); isolation: isolate; overflow: hidden; background: var(--navy-900); }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgb(11 21 68 / .95) 10%, rgb(11 21 68 / .55) 60%, rgb(11 21 68 / .25)); }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 4.2rem); max-width: 18ch; font-weight: 800; }
.page-hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 58ch; color: #dfe5ff; margin: 0; }
.crumbs { font-size: .9rem; font-weight: 600; color: #b8c2ef; margin-bottom: 22px; display: flex; gap: 8px; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { color: var(--sun); }

/* ---------- Tabs / programmi ---------- */
.program { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; background: var(--paper); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 48px); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.program + .program { margin-top: 28px; }
.program__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3.2; position: sticky; top: calc(var(--header-h) + 24px); }
.program__media img { width: 100%; height: 100%; object-fit: cover; }
.program__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.program__meta li { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .88rem; padding: 6px 12px; border-radius: 999px; background: var(--navy-100); color: var(--navy); }
.program__meta li:nth-child(2) { background: var(--red-100); color: var(--red); }
.program__meta li:nth-child(3) { background: var(--sun-100); color: #8a5d00; }
.program h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.program h3 { font-size: 1.15rem; margin-top: 1.6em; }
@media (max-width: 900px) { .program { grid-template-columns: 1fr; } .program__media { position: relative; top: 0; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { background: var(--cream); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .93rem; display: inline-flex; align-items: center; gap: 8px; }
.chips .icon { color: var(--red); }

/* Programma giornaliero */
.schedule { list-style: none; padding: 0; margin: 12px 0 0; position: relative; }
.schedule::before { content: ""; position: absolute; left: 62px; top: 10px; bottom: 10px; width: 2px; background: repeating-linear-gradient(var(--line) 0 6px, transparent 6px 12px); }
.schedule li { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 10px 0; position: relative; }
.schedule time { font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: var(--navy); background: var(--navy-100); border-radius: 10px; padding: 4px 8px; text-align: center; align-self: start; position: relative; z-index: 1; }
.schedule strong { display: block; font-family: var(--font-head); color: var(--navy-900); }
.schedule p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Tabs */
.tabs__list { display: inline-flex; flex-wrap: wrap; gap: 6px; background: var(--paper); border: 1px solid var(--line); padding: 6px; border-radius: 999px; margin-bottom: 28px; }
.tabs__list button { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; color: var(--muted); cursor: pointer; }
.tabs__list button[aria-selected="true"] { background: var(--navy); color: #fff; }
.tabs__panel[hidden] { display: none; }

/* ---------- Oxford page ---------- */
.highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.highlight { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.highlight strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--red); line-height: 1.1; }
.highlight span { font-weight: 700; color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .highlights { grid-template-columns: repeat(2, 1fr); } }
.icon-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.icon-list li { display: flex; align-items: center; gap: 12px; font-weight: 700; background: var(--paper); border-radius: 16px; padding: 12px 14px; border: 1px solid var(--line); }
.icon-list .icon { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: var(--navy-100); color: var(--navy); }
@media (max-width: 560px) { .icon-list { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; }
.gallery figure.wide { grid-column: span 2; }
.gallery figure.tall { grid-row: span 2; }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; background: rgb(255 255 255 / .92); color: var(--navy-900); font-weight: 800; font-size: .85rem; padding: 4px 10px; border-radius: 999px; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } }
.sports { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sport { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; color: #fff; isolation: isolate; display: flex; align-items: flex-end; }
.sport img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.sport::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgb(11 21 68 / .85)); }
.sport span { padding: 18px; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; line-height: 1.2; }
@media (max-width: 760px) { .sports { grid-template-columns: repeat(2, 1fr); } }
.band { border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: var(--sun); color: var(--navy-900); }
.band h2 { margin: 0 0 .2em; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.band p { margin: 0; font-weight: 600; }
.band__big { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; color: var(--red); }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; text-align: left; } }

/* ---------- Novità ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card__media { aspect-ratio: 16/10; overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.news-card__cat { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--red); margin-bottom: 8px; }
.news-card h3 { font-size: 1.3rem; }
.news-card p { color: var(--muted); }
.news-card a.more { margin-top: auto; font-family: var(--font-head); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; text-decoration: none; }
.news-card--featured { grid-column: span 3; flex-direction: row; }
.news-card--featured .news-card__media { flex: 1.2; aspect-ratio: auto; min-height: 320px; }
.news-card--featured .news-card__body { flex: 1; padding: clamp(24px, 4vw, 48px); justify-content: center; }
.news-card--featured h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
@media (max-width: 960px) { .news-grid { grid-template-columns: 1fr 1fr; } .news-card--featured { grid-column: span 2; } }
@media (max-width: 640px) { .news-grid { grid-template-columns: 1fr; } .news-card--featured { grid-column: auto; flex-direction: column; } .news-card--featured .news-card__media { min-height: 220px; } }

/* ---------- Contatti ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; }
.contact-list__icon { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--red-100); color: var(--red); }
.contact-list__label { display: block; font-size: .8rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.contact-list a { font-weight: 800; text-decoration: none; color: var(--navy-900); }
.contact-list a:hover { color: var(--red); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; position: relative; aspect-ratio: 16/7; background: var(--navy-100) url("../img/map-placeholder.svg") center/cover; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-embed__consent { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; background: rgb(232 237 251 / .75); }
.map-embed__consent p { max-width: 46ch; color: var(--navy-900); font-weight: 600; }
@media (max-width: 640px) { .map-embed { aspect-ratio: 4/5; } }
.hours { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hours div { background: var(--paper); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.hours strong { font-family: var(--font-head); font-size: 1.6rem; color: var(--navy-900); display: block; }

/* ---------- Form ---------- */
.card-form, .wizard { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .fieldset-legend { font-weight: 800; font-size: .95rem; color: var(--navy-900); }
.field .hint { font-size: .86rem; color: var(--muted); margin: -2px 0 0; }
.req { color: var(--red); }
.field input, .field textarea, .field select {
  width: 100%; border: 2px solid var(--line); border-radius: 14px; background: #fcfbf8; padding: 12px 14px; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #d3cfc4; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy-600); background: #fff; box-shadow: 0 0 0 4px rgb(34 56 154 / .12); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--red); background: #fff8f8; }
.field.is-valid input { border-color: #b8dcc6; }
.field__error { color: var(--red); font-size: .86rem; font-weight: 700; margin: 0; min-height: 0; }
.field__error:empty { display: none; }
.select { position: relative; }
.select select { padding-right: 42px; cursor: pointer; }
.select .icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Checkbox personalizzati */
.consents { display: grid; gap: 12px; margin-top: 22px; }
.check { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; cursor: pointer; font-size: .96rem; line-height: 1.5; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { width: 26px; height: 26px; border-radius: 8px; border: 2px solid #cdc8bb; background: #fff; display: grid; place-items: center; transition: background-color .15s, border-color .15s; margin-top: 1px; }
.check__box .icon { width: 16px; height: 16px; color: #fff; stroke-width: 3; opacity: 0; transform: scale(.5); transition: opacity .15s, transform .15s var(--ease); }
.check input:checked + .check__box { background: var(--navy); border-color: var(--navy); }
.check input:checked + .check__box .icon { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { outline: 3px solid var(--sun); outline-offset: 2px; }
.check.is-invalid .check__box { border-color: var(--red); background: #fff3f4; }
.check__text { color: var(--ink); }
.consent-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fcfbf8; }
.consent-box--required { border-color: #f1c2c8; background: #fffafa; }
.consent-box h4 { font-size: 1rem; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.consent-box h4 .icon { color: var(--red); }
.consent-choice { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.consent-choice label { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 10px; font-weight: 700; cursor: pointer; font-size: .93rem; background: #fff; }
.consent-choice input { accent-color: var(--navy); width: 18px; height: 18px; }
.consent-choice label:has(input:checked) { border-color: var(--navy); background: var(--navy-100); }
.captcha { margin-top: 22px; min-height: 78px; }
.captcha .g-recaptcha-slot { min-height: 78px; }
@media (max-width: 360px) { .captcha .g-recaptcha-slot { transform: scale(.88); transform-origin: 0 0; } }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 18px; }
.form-note { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .88rem; color: var(--muted); }
.form-status { margin-top: 16px; }
.form-status:empty { display: none; }
.alert { display: flex; gap: 12px; align-items: flex-start; border-radius: 16px; padding: 16px 18px; font-weight: 600; }
.alert .icon { margin-top: .2em; }
.alert--ok { background: var(--mint); color: #1d5e39; }
.alert--err { background: var(--red-100); color: var(--red-600); }
.btn.is-loading .btn__label::after { content: "…"; }
.btn.is-loading { pointer-events: none; opacity: .8; }

/* Successo */
.form-success { text-align: center; padding: clamp(16px, 4vw, 40px) 8px; }
.form-success__icon { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: var(--mint); color: var(--mint-600); animation: pop .5s var(--ease); }
.form-success__icon .icon { width: 42px; height: 42px; stroke-width: 2.6; }
.form-success h2, .form-success h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.form-success p { color: var(--muted); max-width: 52ch; margin-inline: auto; }
.form-success .btn { margin: 6px; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: none; opacity: 1; } }

/* ---------- Wizard iscrizione ---------- */
.enroll-layout { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 1000px) { .enroll-layout { grid-template-columns: 1fr; } }
.enroll-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
@media (max-width: 1000px) { .enroll-aside { position: static; } .enroll-aside .aside-help { display: none; } }
.stepper { list-style: none; padding: 10px; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); display: grid; gap: 4px; }
.stepper li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; font-weight: 700; color: var(--muted); font-size: .97rem; }
.stepper__num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); border: 2px solid var(--line); font-family: var(--font-head); font-weight: 800; font-size: .9rem; flex: none; }
.stepper__num .icon { width: 16px; height: 16px; stroke-width: 3; }
.stepper li.is-current { background: var(--navy-100); color: var(--navy-900); }
.stepper li.is-current .stepper__num { background: var(--navy); color: #fff; border-color: var(--navy); }
.stepper li.is-done { color: var(--navy-900); }
.stepper li.is-done .stepper__num { background: var(--mint-600); border-color: var(--mint-600); color: #fff; }
@media (max-width: 1000px) {
  .stepper { grid-template-columns: repeat(5, 1fr); padding: 8px; }
  .stepper li { flex-direction: column; gap: 6px; padding: 8px 4px; text-align: center; font-size: .72rem; line-height: 1.2; }
}
@media (max-width: 480px) { .stepper li span:not(.stepper__num) { display: none; } .stepper li.is-current span { display: block; } }
.aside-help { background: var(--navy-900); color: #dfe5ff; border-radius: var(--radius-lg); padding: 24px; }
.aside-help h3 { color: #fff; font-size: 1.15rem; }
.aside-help a { color: var(--sun); font-weight: 800; }
.aside-help p { font-size: .95rem; }
.progress { height: 8px; background: var(--navy-100); border-radius: 99px; overflow: hidden; margin-bottom: 28px; }
.progress__bar { height: 100%; width: 20%; background: linear-gradient(90deg, var(--navy), var(--red)); border-radius: inherit; transition: width .45s var(--ease); }
.wizard__step[hidden] { display: none; }
.wizard__step { animation: stepIn .4s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.wizard__head { margin-bottom: 24px; }
.wizard__head .eyebrow { margin-bottom: 8px; }
.wizard__head h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .25em; }
.wizard__head p { color: var(--muted); margin: 0; }
.wizard__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px dashed var(--line); }
.wizard__nav .btn--primary, .wizard__nav .btn--navy { margin-left: auto; }
.subhead { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--navy-900); margin: 28px 0 14px; display: flex; align-items: center; gap: 10px; }
.subhead .icon { color: var(--red); }
.subhead:first-child { margin-top: 0; }

.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 640px) { .choice-grid { grid-template-columns: 1fr; } }
.choice { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 18px 46px 18px 18px; border-radius: var(--radius); border: 2px solid var(--line); background: #fcfbf8; cursor: pointer; transition: border-color .2s, background-color .2s, transform .2s var(--ease), box-shadow .2s; }
.choice:hover { border-color: #c9c4b7; transform: translateY(-2px); }
.choice input { position: absolute; opacity: 0; }
.choice__icon { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--navy-100); color: var(--navy); }
.choice__icon .icon { width: 24px; height: 24px; }
.choice strong { display: block; font-family: var(--font-head); font-size: 1.08rem; color: var(--navy-900); line-height: 1.25; }
.choice small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.4; margin-top: 4px; font-weight: 600; }
.choice__check { position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); background: #fff; display: grid; place-items: center; }
.choice__check .icon { width: 14px; height: 14px; stroke-width: 3; color: #fff; opacity: 0; }
.choice:has(input:checked) { border-color: var(--navy); background: var(--navy-100); box-shadow: 0 0 0 4px rgb(19 36 107 / .08); }
.choice:has(input:checked) .choice__icon { background: var(--navy); color: #fff; }
.choice:has(input:checked) .choice__check { background: var(--navy); border-color: var(--navy); }
.choice:has(input:checked) .choice__check .icon { opacity: 1; }
.choice:has(input:focus-visible) { outline: 3px solid var(--sun); outline-offset: 2px; }
.choice-grid.is-invalid .choice { border-color: #f1c2c8; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; }
.pill span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; border: 2px solid var(--line); background: #fcfbf8; font-weight: 700; cursor: pointer; transition: all .15s; font-size: .95rem; }
.pill span:hover { border-color: #c9c4b7; }
.pill input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.pills.is-invalid .pill span { border-color: #f1c2c8; }
.cond[hidden] { display: none; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; background: var(--sun-100); border-radius: var(--radius); margin-bottom: 22px; font-weight: 700; }
.switch { position: relative; flex: none; width: 54px; height: 30px; }
.switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 1; margin: 0; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: #d9d4c7; transition: background-color .2s; }
.switch span::after { content: ""; position: absolute; left: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease); }
.switch input:checked + span { background: var(--navy); }
.switch input:checked + span::after { transform: translateX(24px); }
.switch input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.collapse-btn { display: inline-flex; align-items: center; gap: 8px; border: 2px dashed var(--line); background: transparent; border-radius: 14px; padding: 12px 16px; font-weight: 800; color: var(--navy); cursor: pointer; width: 100%; justify-content: center; margin-top: 22px; }
.collapse-btn:hover { border-color: var(--navy); background: var(--navy-100); }
.mini-btn { border: 0; background: var(--navy-100); color: var(--navy); font-weight: 800; border-radius: 999px; padding: 8px 14px; font-size: .88rem; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.mini-btn:hover { background: var(--navy); color: #fff; }

/* Riepilogo */
.summary { display: grid; gap: 12px; margin-bottom: 26px; }
.summary__block { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; background: #fcfbf8; }
.summary__block header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.summary__block h4 { margin: 0; font-size: 1rem; }
.summary__block dl { margin: 0; display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 4px 14px; font-size: .94rem; }
.summary__block dt { color: var(--muted); font-weight: 700; }
.summary__block dd { margin: 0; font-weight: 700; word-break: break-word; }
.summary__edit { border: 0; background: none; color: var(--navy-600); font-weight: 800; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; font-size: .9rem; }
.summary__edit:hover { color: var(--red); }
@media (max-width: 520px) { .summary__block dl { grid-template-columns: 1fr; } .summary__block dd { margin-bottom: 6px; } }

/* ---------- Dialog legali ---------- */
.legal-dialog { width: min(760px, calc(100vw - 24px)); max-height: min(86vh, 900px); padding: 0; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); color: var(--ink); background: var(--paper); }
.legal-dialog[open] { display: flex; flex-direction: column; animation: dlgIn .3s var(--ease); }
.legal-dialog::backdrop { background: rgb(11 21 68 / .55); backdrop-filter: blur(3px); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.legal-dialog__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.legal-dialog__head h2 { margin: 0; font-size: 1.25rem; }
.legal-dialog__body { padding: 20px 24px; overflow-y: auto; font-size: .97rem; }
.legal-dialog__foot { padding: 16px 24px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }

/* ---------- Prose (pagine legali) ---------- */
.prose { max-width: 78ch; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; color: var(--navy); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul { display: grid; gap: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1em 0 1.5em; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--navy-100); color: var(--navy-900); }
.legal-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 5vw, 56px); box-shadow: var(--shadow-sm); }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.legal-layout > *, .article-layout > * { min-width: 0; }
@media (max-width: 640px) { .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } }
.legal-nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; }
.legal-nav a { text-decoration: none; font-weight: 700; color: var(--muted); padding: 10px 14px; border-radius: 12px; }
.legal-nav a:hover { background: var(--paper); color: var(--navy); }
.legal-nav a[aria-current="page"] { background: var(--navy); color: #fff; }
@media (max-width: 900px) { .legal-layout { grid-template-columns: minmax(0, 1fr); } .legal-nav { position: static; display: flex; flex-wrap: wrap; } }
.callout { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--navy-100); color: var(--navy-900); margin-bottom: 1.4em; }
.callout p { margin: 0; }
.callout .icon { margin-top: .2em; color: var(--navy); }
.callout--warn { background: var(--sun-100); }
.callout--warn .icon { color: #b57b00; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #b9c2ea; padding-top: 0; margin-top: clamp(40px, 6vw, 80px); }
.footer-cta { background: linear-gradient(120deg, var(--red) 0%, #e8364a 100%); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; transform: translateY(-50%); margin-bottom: -40px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.footer-cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgb(255 255 255 / .1); }
.footer-cta h2 { color: #fff; margin: 0; font-size: clamp(1.5rem, 3vw, 2.3rem); max-width: 22ch; }
.footer-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.footer-cta .btn--primary { --btn-bg: var(--navy-900); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 36px; padding-block: 24px 48px; }
.footer-col h3 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: #dfe5ff; text-decoration: none; }
.footer-col a:hover { color: var(--sun); }
.footer-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; text-decoration: none; }
.footer-logo img { height: 84px; width: auto; }
.footer-logo .brand__text strong { color: #fff; font-size: 1.4rem; }
.footer-logo .brand__text em { color: var(--sun); }
.footer-col--brand p { font-size: .97rem; max-width: 40ch; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgb(255 255 255 / .08); color: #fff; transition: background-color .2s, transform .2s; }
.socials a:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.footer-contacts li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contacts .icon { color: var(--sun); margin-top: .3em; }
.footer-hours li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed rgb(255 255 255 / .14); padding-bottom: 8px; }
.footer-hours strong { color: #fff; }
.footer-review { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; font-weight: 700; }
.footer-review .icon { color: var(--sun); fill: var(--sun); }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .1); padding-block: 22px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 0; }
.footer-bottom a, .footer-bottom .linklike { color: #b9c2ea; font-weight: 600; text-decoration: none; font-size: inherit; }
.footer-bottom a:hover, .footer-bottom .linklike:hover { color: #fff; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-cta { transform: translateY(-30%); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-cta__actions, .footer-cta__actions .btn { width: 100%; } }

/* ---------- Cookie banner & barra mobile ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 720px; margin-inline: auto; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 18px 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; animation: stepIn .4s var(--ease); }
.cookie-banner[hidden] { display: none; }
.cookie-banner__text { flex: 1 1 320px; font-size: .92rem; }
.cookie-banner__text p { margin: 4px 0 0; color: var(--muted); }
.cookie-banner__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px; border-radius: 22px; background: rgb(255 255 255 / .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow-lg); transform: translateY(140%); transition: transform .35s var(--ease); }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar__btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border-radius: 16px; font-family: var(--font-head); font-weight: 700; text-decoration: none; color: var(--navy); background: var(--navy-100); }
  .mobile-bar__btn--primary { background: var(--red); color: #fff; }
  .mobile-bar__btn:hover { color: inherit; }
  .mobile-bar__btn--primary:hover { color: #fff; }
  body { padding-bottom: 84px; }
  body.no-mobile-bar { padding-bottom: 0; }
  body.no-mobile-bar .mobile-bar { display: none; }
  .cookie-banner { bottom: 90px; }
}

/* ---------- Animazioni on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-l { margin-top: clamp(32px, 5vw, 56px); }
.stack-sm > * + * { margin-top: 12px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-row--center { justify-content: center; }
.bg-dots { background-image: radial-gradient(rgb(19 36 107 / .09) 1.5px, transparent 1.5px); background-size: 22px 22px; }
.wave-top { position: relative; }
.divider-flag { height: 8px; background: linear-gradient(90deg, var(--navy) 0 33.3%, #fff 33.3% 66.6%, var(--red) 66.6%); }

/* ---------- Vacanza studio Cambridge ---------- */
.page-hero--promo { padding-block: clamp(70px, 10vw, 140px) clamp(60px, 8vw, 110px); }
.page-hero--promo .cta-row { margin-top: 30px; }
.promo-badge { display: inline-flex; align-items: center; gap: 8px; margin: 22px 0 0; padding: 8px 16px; border-radius: 999px; background: rgb(255 200 58 / .16); border: 1px solid rgb(255 200 58 / .45); color: var(--sun); font-weight: 800; font-size: .95rem; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.features--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .why-grid, .features--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid, .features--4 { grid-template-columns: 1fr; } }
.photo-stack__main--portrait { aspect-ratio: 4 / 5; max-width: 460px; }
.quote { margin: 26px 0 0; padding: 22px 24px; border-radius: var(--radius); background: var(--paper); border-left: 5px solid var(--red); box-shadow: var(--shadow-sm); }
.quote p { font-size: 1.08rem; font-style: italic; color: var(--navy-900); margin-bottom: .5em; }
.quote footer { font-weight: 800; color: var(--red); }
.day-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .day-grid { grid-template-columns: 1fr; } }
.day-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.day-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.day-card__body { padding: 20px 22px 24px; }
.day-card__tag { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .85rem; color: var(--red); background: var(--red-100); padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.day-card h3 { font-size: 1.25rem; margin-bottom: .3em; }
.day-card p { color: var(--muted); margin: 0; }
.trips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trip { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.trip img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.trip--wide { grid-column: span 2; grid-row: span 2; }
.trip--wide img { aspect-ratio: auto; flex: 1; min-height: 240px; }
.trip--plain { background: var(--navy-900); color: #dfe5ff; border-color: var(--navy-900); justify-content: center; }
.trip--plain h3 { color: #fff; }
.trip--plain p { color: #c3cbef !important; }
.trip__icon { display: grid; place-items: center; height: 120px; background: radial-gradient(circle, rgb(255 200 58 / .25), transparent 70%); color: var(--sun); }
.trip__icon .icon { width: 56px; height: 56px; stroke-width: 1.5; }
.trip__body { padding: 18px 20px 22px; }
.trip__tag { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
.trip--plain .trip__tag { color: var(--sun); }
.trip h3 { font-size: 1.2rem; margin: 4px 0 .3em; }
.trip p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 900px) { .trips { grid-template-columns: 1fr 1fr; } .trip--wide { grid-column: span 2; grid-row: auto; } }
@media (max-width: 560px) { .trips { grid-template-columns: 1fr; } .trip--wide { grid-column: auto; } }
.band__big .icon { width: 1em; height: 1em; stroke-width: 1.8; }
.contact-list--dark li { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .12); color: #dfe5ff; }
.contact-list--dark a { color: #fff; }
.contact-list--dark .contact-list__label { color: #aeb8e6; }
.brochure-card { display: block; text-decoration: none; transform: rotate(2deg); transition: transform .3s var(--ease); }
.brochure-card:hover { transform: rotate(0) scale(1.02); }
.brochure-card img { width: 100%; border-radius: 18px; box-shadow: 0 30px 60px rgb(0 0 0 / .4); border: 6px solid #fff; }
.brochure-card span { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; font-family: var(--font-head); font-weight: 700; color: var(--sun); }

/* Promo Cambridge in home */
.hero__promo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--navy-900); font-weight: 700; font-size: .92rem; }
.hero__promo b { background: var(--red); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.hero__promo:hover { color: var(--red); border-color: var(--red); }
.hero__promo .icon { transition: transform .2s var(--ease); }
.hero__promo:hover .icon { transform: translateX(3px); }
.study-promo__note { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0; color: var(--sun); font-weight: 800; }
.study-promo-wrap { padding-top: clamp(56px, 7vw, 90px); }

/* Articolo */
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; } }
.article { max-width: none; }
.article__lead { font-size: 1.15rem; }
.article__img { margin: 28px 0; border-radius: var(--radius); overflow: hidden; }
.article__img img { width: 100%; }
.brochure-card--light span { color: var(--navy); }
.brochure-card--light img { box-shadow: var(--shadow-lg); }
.study-promo__media--stack { display: grid; grid-template-rows: 1fr 1fr; gap: 6px; }
.study-promo__media--stack img { position: static; width: 100%; height: 100%; object-fit: cover; }
.study-promo__media--stack::after { display: none; }
@media (max-width: 960px) { .study-promo__media--stack { grid-template-rows: none; grid-template-columns: 1fr 1fr; min-height: 200px; } }
@media (min-width: 1081px) and (max-width: 1240px) {
  /* spazio stretto: logo un po' più contenuto per non comprimere il menu */
  .brand img { height: 84px; }
  .brand__text strong { font-size: 1.4rem; }
  .nav__list a { padding: 10px 11px; font-size: .94rem; }
}
@media (prefers-reduced-motion: reduce) { .site-header__inner, .brand img, .brand__text strong, .brand__text em { transition: none; } }

/* =========================================================
   Ottimizzazioni mobile
   ========================================================= */
/* titoli delle card bianche dentro le sezioni blu (prima risultavano bianchi su bianco) */
.section--navy .feature h3 { color: var(--navy-900); }
.section--navy .feature p { color: var(--muted); }
a.linklike { font-weight: 700; color: var(--navy-600); }

/* tab scorrevoli invece che su due righe */
@media (max-width: 640px) {
  .tabs__list { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; border-radius: 18px; -webkit-overflow-scrolling: touch; }
  .tabs__list::-webkit-scrollbar { display: none; }
  .tabs__list button { flex: 1 0 auto; white-space: nowrap; padding: 10px 14px; font-size: .95rem; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .section { padding-block: 52px; }
  .section--tight { padding-block: 36px; }
  .section-head { margin-bottom: 28px; }
  .h2 { font-size: 1.85rem; }
  .lead { font-size: 1.02rem; }
  .hand { font-size: 1.6rem; }
  .eyebrow { font-size: .74rem; letter-spacing: .1em; margin-bottom: 10px; }

  /* hero home più compatta */
  .hero { padding-block: 24px 48px; }
  .hero h1 { font-size: 2.25rem; }
  .hero .lead { margin-bottom: 22px; }
  .hero__actions { margin-bottom: 22px; }
  .hero__actions .btn { flex: 1 1 0; padding-inline: 1em; }
  .hero__trust { gap: 6px 16px; font-size: .88rem; }
  .hero__promo { font-size: .84rem; margin-bottom: 14px; }
  .hero__promo .hide-xs { display: none; }
  .collage { max-width: 340px; margin-top: 8px; }
  .doodle--2 { display: none; }
  .page-hero { padding-block: 48px 44px; }
  .page-hero h1 { font-size: 2.1rem; }
  .page-hero--promo { padding-block: 52px 48px; }
  .crumbs { margin-bottom: 14px; }

  /* caroselli orizzontali con "sbirciata" della card successiva */
  .courses, .camp-cards, .steps, .day-grid, .why-grid {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px;
    scroll-padding-inline: var(--gutter); scrollbar-width: none; max-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .courses::-webkit-scrollbar, .camp-cards::-webkit-scrollbar, .steps::-webkit-scrollbar, .day-grid::-webkit-scrollbar, .why-grid::-webkit-scrollbar { display: none; }
  .courses > *, .camp-cards > *, .steps > *, .day-grid > *, .why-grid > * { flex: 0 0 84%; scroll-snap-align: start; }
  .why-grid > * { flex-basis: 78%; }
  .camp-card { min-height: 320px; }
  .course-card:hover, .news-card:hover { transform: none; }
  .swipe-hint { display: flex; }

  /* feature compatte: icona a sinistra */
  .features { gap: 10px; }
  .features .feature, .why-grid .feature { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 16px; align-items: start; }
  .features .feature__icon, .why-grid .feature__icon { width: 44px; height: 44px; margin: 0; grid-row: span 2; }
  .features .feature h3, .why-grid .feature h3 { font-size: 1.05rem; margin-bottom: .2em; }
  .features .feature p, .why-grid .feature p { font-size: .93rem; }
  .why-grid .feature { display: block; }
  .why-grid .feature__icon { margin-bottom: 12px; }

  /* programmi / schede più leggere */
  .program { padding: 16px; border-radius: 24px; }
  .program h2 { font-size: 1.55rem; }
  .program__meta li { font-size: .8rem; padding: 5px 10px; }
  .chips { gap: 6px; }
  .chips li { font-size: .86rem; padding: 6px 11px; }
  .schedule li { grid-template-columns: 92px 1fr; gap: 12px; }
  .schedule::before { left: 46px; }
  .schedule time { font-size: .78rem; padding: 4px 6px; }

  .photo-stack__badge { right: 10px; bottom: -16px; padding: 12px 16px; max-width: 190px; }
  .photo-stack__badge strong { font-size: 1.5rem; }
  .study-promo__content { padding: 26px 20px 28px; }
  .study-promo h2 { font-size: 1.85rem; }
  .stats { gap: 8px; margin: 20px 0 22px; }
  .stat { padding: 12px; }
  .highlights { gap: 10px; }
  .highlight { padding: 16px 10px; }
  .highlight strong { font-size: 1.6rem; }
  .highlight span { font-size: .84rem; }
  .band { padding: 24px; gap: 14px; }
  .band__big { font-size: 2.6rem; }
  .gallery { grid-auto-rows: 130px !important; gap: 8px; }
  .faq summary { font-size: 1rem; padding: 16px 18px; }
  .faq details > div { padding: 0 18px 18px; }
  .contact-list li { padding: 12px 14px; }
  .contact-list__icon { width: 40px; height: 40px; }
  .card-form, .wizard { padding: 20px 16px; border-radius: 24px; }
  .wizard__nav .btn--lg { padding: .9em 1.3em; }
  .check { font-size: .92rem; }
  .legal-card { padding: 20px 18px; }
  .quote { padding: 18px; }
  .quote p { font-size: 1rem; }

  /* footer: due colonne per i blocchi brevi */
  .site-footer { margin-top: 64px; }
  .footer-cta { transform: translateY(-36px); margin-bottom: -10px; padding: 24px 20px; }
  .footer-cta h2 { font-size: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-block: 0 32px; }
  .footer-col--brand, .footer-col:nth-child(3) { grid-column: 1 / -1; }
  .footer-col:nth-child(3) { order: 3; }
  .footer-col:nth-child(4) { order: 2; }
  .footer-hours li { flex-direction: column; gap: 0; }
  .footer-bottom { font-size: .8rem; padding-bottom: 96px; }
}
.swipe-hint { display: none; align-items: center; justify-content: center; gap: 6px; margin: -4px 0 0; font-size: .82rem; font-weight: 700; color: var(--muted); }
.swipe-hint .icon { animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
.footer-review { text-align: left; align-items: flex-start; }
.footer-review .icon { margin-top: .2em; }
