/* ==========================================================================
   Blueticketing — static site
   ========================================================================== */

@font-face {
  font-family: "Jakarta";
  src: url("../fonts/jakarta.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/jakarta-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Quicksand";
  src: url("../fonts/quicksand.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --night: #061633;
  --night-2: #0b2452;
  --navy: #12317a;
  --brand: #1f5bc4;
  --brand-2: #2f7be0;
  --ice: #6cc4ff;
  --glacier: #a8e4ff;
  --snow: #f3f7fc;
  --white: #ffffff;
  --ink: #0d1b33;
  --ink-2: #44546f;
  --ink-3: #6b7a93;
  --line: #dde6f2;
  --green: #1fae7a;

  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 28px;
  --shadow-s: 0 1px 2px rgba(6, 22, 51, .06), 0 2px 8px rgba(6, 22, 51, .05);
  --shadow: 0 10px 30px -10px rgba(6, 22, 51, .18), 0 4px 10px -6px rgba(6, 22, 51, .08);
  --shadow-l: 0 30px 60px -20px rgba(6, 22, 51, .35);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --h2: clamp(1.9rem, 3.8vw, 2.85rem);
  --section-y: clamp(72px, 9vw, 120px);

  --font: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-brand: "Quicksand", "Jakarta", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.45em; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1.1; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: var(--white); box-shadow: 0 10px 24px -10px rgba(47, 123, 224, .8); }
.btn-primary:hover { color: var(--white); box-shadow: 0 14px 30px -10px rgba(47, 123, 224, .9); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: var(--white); border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.btn-ghost:hover { color: var(--white); background: rgba(255, 255, 255, .16); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { color: var(--brand); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled, .site-header.is-solid, body.nav-open .site-header {
  background: rgba(6, 22, 51, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); flex: none; }
.brand:hover { color: var(--white); }
.brand-mark { width: 38px; height: 38px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .25)); }
.brand-word { font-family: var(--font-brand); font-weight: 600; font-size: 1.42rem; letter-spacing: -.01em; line-height: 1; }
.brand-word b { font-weight: 600; color: var(--ice); }
.brand--dark { color: var(--ink); }
.brand--dark .brand-word b { color: var(--brand-2); }
.brand--dark .brand-word { color: var(--navy); }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.main-nav a:not(.btn) {
  color: rgba(255, 255, 255, .82); font-weight: 600; font-size: .92rem; padding: 8px 12px; border-radius: 999px;
  transition: color .2s, background-color .2s;
}
.main-nav a:not(.btn):hover, .main-nav a.is-active { color: var(--white); background: rgba(255, 255, 255, .1); }
.main-nav .btn { margin-left: 8px; padding: .7em 1.2em; }

.lang-switch { display: flex; gap: 2px; margin-left: 10px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.lang-switch a { color: rgba(255, 255, 255, .7) !important; font-size: .78rem !important; font-weight: 700 !important; padding: 5px 9px !important; border-radius: 999px; letter-spacing: .04em; }
.lang-switch a[aria-current="true"] { background: var(--white) !important; color: var(--navy) !important; }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .06); color: var(--white); align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; position: relative; transition: transform .25s, background-color .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 24px; background: rgba(6, 22, 51, .97); backdrop-filter: blur(14px);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
  }
  body.nav-open .main-nav { opacity: 1; transform: none; visibility: visible; }
  .main-nav a:not(.btn) { padding: 13px 14px; font-size: 1.02rem; border-radius: 12px; }
  .main-nav .btn { margin: 10px 0 0; padding: 1em; }
  .lang-switch { margin: 12px 0 0; align-self: flex-start; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--white);
  min-height: min(100svh, 940px); display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 clamp(150px, 20vw, 230px);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(108, 196, 255, .35), transparent 60%),
    radial-gradient(900px 500px at 0% 20%, rgba(47, 123, 224, .35), transparent 60%),
    linear-gradient(180deg, #04112a 0%, var(--night) 45%, #0d2b63 100%);
}
.hero::before { /* stars */
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: .55;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 26%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 76% 30%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 90% 16%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 40%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 6%, #fff 50%, transparent 51%);
}
.hero-snow { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-mountains { position: absolute; left: 0; right: 0; bottom: -1px; z-index: -1; width: 100%; height: auto; pointer-events: none; }

.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--glacier);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--pill { padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); letter-spacing: .08em; }
.eyebrow--pill::before { width: 8px; height: 8px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 0 4px rgba(108, 196, 255, .25); animation: pulse-dot 2.4s infinite; }
@keyframes pulse-dot { 50% { box-shadow: 0 0 0 8px rgba(108, 196, 255, 0); } }

.hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -.035em; margin-bottom: 22px; }
.hero h1 .accent { background: linear-gradient(90deg, var(--ice), #e6f6ff 60%, var(--ice)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .8); max-width: 34em; margin-bottom: 32px; }
.hero-lead strong { color: var(--white); font-weight: 700; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: rgba(255, 255, 255, .85); }
.hero-chips svg { width: 18px; height: 18px; color: var(--ice); flex: none; }

/* Phone mock */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 520px; }
.pulse { position: absolute; left: 50%; top: 46%; width: 260px; height: 260px; margin: -130px 0 0 -130px; border-radius: 50%; border: 1.5px solid rgba(108, 196, 255, .5); animation: ring 3.6s cubic-bezier(.2, .6, .3, 1) infinite; }
.pulse:nth-child(2) { animation-delay: 1.2s; }
.pulse:nth-child(3) { animation-delay: 2.4s; }
@keyframes ring { 0% { transform: scale(.6); opacity: 0; } 15% { opacity: 1; } 100% { transform: scale(2); opacity: 0; } }

.phone {
  position: relative; width: 270px; aspect-ratio: 9 / 19; border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #2a3b5e, #0b1630 60%);
  box-shadow: var(--shadow-l), inset 0 0 0 1.5px rgba(255, 255, 255, .14), 0 0 80px rgba(108, 196, 255, .25);
  transform: rotate(-4deg); animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: rotate(-4deg) translateY(-12px); } }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 84px; height: 22px; margin-left: -42px; border-radius: 20px; background: #050b19; z-index: 2; }
.phone-screen {
  position: relative; height: 100%; border-radius: 34px; overflow: hidden; color: var(--ink);
  background: linear-gradient(180deg, #e9f3ff 0%, #ffffff 55%);
  display: flex; flex-direction: column; padding: 52px 16px 18px; gap: 12px;
}
.ps-top { display: flex; align-items: center; justify-content: space-between; font-size: .72rem; font-weight: 700; color: var(--ink-3); }
.ps-top .brand-mark { width: 26px; height: 26px; filter: none; }
.ps-title { font-size: 1.05rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.pass {
  position: relative; border-radius: 18px; padding: 16px; color: var(--white); overflow: hidden;
  background: linear-gradient(140deg, var(--brand-2), var(--navy));
  box-shadow: 0 14px 24px -14px rgba(18, 49, 122, .9);
}
.pass::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 160px; height: 110px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 110'%3E%3Cpath d='M0 110 L50 40 L70 62 L100 18 L160 110Z' fill='%23ffffff' fill-opacity='.16'/%3E%3Cpath d='M86 40 L100 18 L114 40 L106 36 L100 42 L93 36Z' fill='%23ffffff' fill-opacity='.5'/%3E%3C/svg%3E") no-repeat center / contain; }
.pass small { display: block; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; opacity: .75; font-weight: 700; }
.pass strong { display: block; font-size: 1.05rem; margin: 2px 0 14px; }
.pass-row { display: flex; justify-content: space-between; font-size: .72rem; }
.pass-row span { opacity: .75; }
.pass-row b { display: block; font-size: .82rem; }
.ps-status {
  display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: #eaf8f2; color: #0f6e4c; font-size: .78rem; font-weight: 700;
}
.ps-status i { width: 30px; height: 30px; border-radius: 50%; background: var(--green); display: grid; place-items: center; flex: none; }
.ps-status svg { width: 16px; height: 16px; color: #fff; }
.ps-status span { display: block; font-weight: 500; color: #2e8a68; font-size: .7rem; }
.ps-list { display: grid; gap: 8px; margin-top: auto; }
.ps-list div { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 12px; background: var(--snow); font-size: .72rem; font-weight: 600; color: var(--ink-2); }
.ps-list div { gap: 8px; }
.ps-list b { color: var(--brand); white-space: nowrap; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px;
  z-index: 3; background: rgba(9, 30, 72, .88); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--white); font-size: .82rem; font-weight: 700; box-shadow: var(--shadow-l);
}
.float-card svg { width: 22px; height: 22px; color: var(--ice); flex: none; }
.float-card span { display: block; font-weight: 500; font-size: .72rem; color: rgba(255, 255, 255, .7); }
.fc-1 { top: 16%; left: -2%; animation: float2 6s ease-in-out infinite; }
.fc-2 { bottom: 10%; right: -4%; animation: float2 7s ease-in-out infinite reverse; }
@keyframes float2 { 50% { transform: translateY(-10px); } }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { min-height: 460px; margin-top: 8px; }
  .fc-1 { left: 0; top: 8%; }
  .fc-2 { right: 0; bottom: 6%; }
}
@media (max-width: 480px) {
  .phone { width: 240px; }
  .phone-screen { padding: 46px 12px 14px; gap: 9px; }
  .pass strong { font-size: .95rem; }
  .float-card { font-size: .74rem; padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .phone, .float-card, .pulse, .eyebrow--pill::before { animation: none !important; }
  .pulse { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; position: relative; }
.section--tight { padding-bottom: 0; }
.section--snow { background: var(--snow); }
.section--night { background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); color: var(--white); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { color: var(--brand); }
.section--night .section-head .eyebrow { color: var(--ice); }
.section-head h2, .split-body h2, .facts-intro h2 { font-size: var(--h2); }
.section-head p { font-size: 1.12rem; color: var(--ink-2); margin: 0; }
.section--night .section-head p { color: rgba(255, 255, 255, .72); }

/* Intro strip (per chi / perché / come) */
.pillars { position: relative; z-index: 2; margin-top: -110px; }
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.pillar {
  background: var(--white); border-radius: var(--radius-l); padding: 30px 28px; box-shadow: var(--shadow); border: 1px solid rgba(221, 230, 242, .7);
  transition: transform .3s ease, box-shadow .3s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); }
.pillar-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; color: var(--white); background: linear-gradient(135deg, var(--brand-2), var(--navy)); box-shadow: 0 10px 20px -10px rgba(31, 91, 196, .9); }
.pillar-icon svg { width: 26px; height: 26px; }
.pillar h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.pillar p { margin: 0; font-size: 1.08rem; font-weight: 600; color: var(--ink); line-height: 1.45; }
@media (max-width: 860px) { .pillars { margin-top: -90px; } }
@media (max-width: 600px) { .pillar { padding: 24px 22px; display: grid; grid-template-columns: 52px 1fr; gap: 0 16px; } .pillar-icon { grid-row: span 2; margin: 0; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--ice) 0 8px, transparent 8px 16px); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 12px; }
.step-num {
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center;
  background: var(--white); border: 2px solid var(--ice); color: var(--brand); box-shadow: 0 0 0 8px var(--snow), var(--shadow);
}
.step-num svg { width: 30px; height: 30px; }
.step small { display: block; font-weight: 800; color: var(--brand-2); letter-spacing: .14em; font-size: .74rem; margin-bottom: 6px; }
.step h3 { font-size: 1.3rem; }
.step p { color: var(--ink-2); margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { top: 0; bottom: 0; left: 34px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--ice) 0 8px, transparent 8px 16px); }
  .step { text-align: left; display: grid; grid-template-columns: 68px 1fr; gap: 0 20px; padding: 0; }
  .step-num { margin: 0; grid-row: span 3; }
}

/* Audience split */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.audience {
  position: relative; overflow: hidden; border-radius: var(--radius-l); padding: clamp(28px, 4vw, 48px);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
}
.audience::before { content: ""; position: absolute; inset: auto -20% -60% auto; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(108, 196, 255, .22), transparent 70%); pointer-events: none; }
.audience--skier { background: linear-gradient(150deg, rgba(47, 123, 224, .35), rgba(18, 49, 122, .2)); border-color: rgba(108, 196, 255, .25); }
.audience-tag { display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ice); margin-bottom: 14px; }
.audience-tag svg { width: 20px; height: 20px; }
.audience h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 24px; }
.ticks { display: grid; gap: 16px; margin-bottom: 30px; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: rgba(255, 255, 255, .82); }
.ticks li b { color: var(--white); display: block; }
.ticks i { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: rgba(108, 196, 255, .16); color: var(--ice); margin-top: 1px; }
.ticks i svg { width: 16px; height: 16px; }
@media (max-width: 860px) { .audience-grid { grid-template-columns: 1fr; } }

/* Split content (chi siamo / filosofia / green) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split + .split { margin-top: clamp(72px, 9vw, 120px); }
.split--rev .split-media { order: 2; }
.split-media { position: relative; }
.split-media .photo {
  position: relative; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-l);
  background: linear-gradient(135deg, #cfe3fb, #a8c8f0);
}
.split-media .photo img { width: 100%; height: 100%; object-fit: cover; }
.split-media::after { content: ""; position: absolute; z-index: -1; inset: 24px -24px -24px 24px; border-radius: var(--radius-l); background: repeating-linear-gradient(45deg, rgba(108, 196, 255, .22) 0 2px, transparent 2px 12px); }
.split--rev .split-media::after { inset: 24px 24px -24px -24px; }

.split-body p { color: var(--ink-2); }
.split-body .lead { font-size: 1.16rem; color: var(--ink); font-weight: 500; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev .split-media { order: 0; } .split-media::after, .split--rev .split-media::after { inset: 14px -6px -14px 14px; } }
@media (max-width: 560px) { .split-media::after, .split--rev .split-media::after { inset: 12px 0 -12px 12px; } .split-media .photo { margin-right: 12px; } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0 8px; }
.stat { padding: 18px 16px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.stat b { display: block; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.03em; color: var(--brand); line-height: 1.1; }
.stat span { display: block; font-size: .82rem; color: var(--ink-3); line-height: 1.35; margin-top: 4px; }
.stats-note { font-size: .8rem; color: var(--ink-3); }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

.green-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.green-badges span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #e7f7f0; color: #0f6e4c; font-weight: 700; font-size: .86rem; }
.green-badges svg { width: 16px; height: 16px; }

/* Vision band */
.vision {
  position: relative; overflow: hidden; border-radius: var(--radius-l); padding: clamp(40px, 6vw, 72px);
  background: linear-gradient(120deg, var(--navy), var(--brand) 55%, var(--brand-2)); color: var(--white);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
}
.vision::before { content: ""; position: absolute; right: -10%; bottom: -1px; width: 70%; height: 70%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 300' preserveAspectRatio='none'%3E%3Cpath d='M0 300 L120 140 L180 200 L300 40 L380 150 L450 90 L600 300Z' fill='%23ffffff' fill-opacity='.08'/%3E%3Cpath d='M260 96 L300 40 L340 96 L322 88 L300 104 L280 88Z' fill='%23ffffff' fill-opacity='.22'/%3E%3C/svg%3E") no-repeat bottom right / 100% 100%; }
.vision > * { position: relative; }
.vision .eyebrow { color: var(--glacier); }
.vision h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -.035em; margin-bottom: 16px; }
.vision h2 span { color: var(--glacier); }
.vision p { color: rgba(255, 255, 255, .82); font-size: 1.12rem; margin: 0; }
.vision-langs { display: grid; gap: 12px; }
.vision-langs div { padding: 16px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.vision-langs small { display: block; font-size: .7rem; letter-spacing: .14em; font-weight: 800; color: var(--glacier); }
.vision-langs b { font-size: 1.12rem; }
@media (max-width: 860px) { .vision { grid-template-columns: 1fr; } }

/* Project / video */
.project { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.video {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-l);
  background: radial-gradient(600px 300px at 70% 0%, rgba(108, 196, 255, .4), transparent 60%), linear-gradient(160deg, var(--night-2), var(--night));
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-consent { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--white); }
.video-consent .play { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); }
.video-consent .play svg { width: 28px; height: 28px; margin-left: 4px; }
.video-consent p { max-width: 34em; margin: 0 auto 16px; color: rgba(255, 255, 255, .8); font-size: .95rem; }
.fesr-box { padding: 28px; border-radius: var(--radius-l); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.fesr-box h3 { font-size: 1.15rem; }
.fesr-box p { color: var(--ink-2); font-size: .95rem; }
.fesr-box img { max-height: 70px; width: auto; margin-top: 8px; }
@media (max-width: 860px) { .project { grid-template-columns: 1fr; } }

/* News */
.news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.news-head .section-head { margin-bottom: 0; }
.news-nav { display: flex; gap: 10px; }
.news-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); display: grid; place-items: center; transition: background-color .2s, color .2s, border-color .2s; }
.news-nav button:hover { background: var(--brand); border-color: var(--brand); color: var(--white); }
.news-nav svg { width: 20px; height: 20px; }
.news-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 340px); gap: 22px; margin-top: 40px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 26px; scrollbar-width: thin; scrollbar-color: var(--ice) transparent;
  overscroll-behavior-x: contain; max-width: 100%; min-width: 0;
}
@media (max-width: 560px) { .news-track { grid-auto-columns: 84%; gap: 16px; } }
.news-card {
  scroll-snap-align: start; display: flex; flex-direction: column; border-radius: var(--radius-l); overflow: hidden; background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-s); color: var(--ink); transition: transform .3s, box-shadow .3s;
}
a.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.news-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #d8e8fb, #b6d2f3); }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
a.news-card:hover .thumb img { transform: scale(1.05); }
.news-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: .78rem; font-weight: 700; color: var(--ink-3); }
.news-meta .tag { padding: 3px 10px; border-radius: 999px; background: #e9f2ff; color: var(--brand); letter-spacing: .04em; }
.news-meta .tag--press { background: #fff2e2; color: #a2570a; }
.news-card h3 { font-size: 1.12rem; letter-spacing: -.01em; margin-bottom: 8px; }
.news-card p { font-size: .93rem; color: var(--ink-2); margin: 0; }
.news-card .more { margin-top: auto; padding-top: 14px; font-size: .86rem; font-weight: 700; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.news-card .more svg { width: 16px; height: 16px; }
.news-card--featured { grid-column: span 1; background: linear-gradient(160deg, var(--night-2), var(--navy)); color: var(--white); border-color: transparent; }
.news-card--featured p { color: rgba(255, 255, 255, .78); }
.news-card--featured .news-meta { color: rgba(255, 255, 255, .7); }
.news-card--featured .news-meta .tag { background: var(--ice); color: var(--night); }
.news-card--featured .more { color: var(--ice); }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-aside .section-head { margin-bottom: 24px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: rgba(47, 123, 224, .45); box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 1.04rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; margin-left: auto; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--snow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5bc4' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") no-repeat center / 14px;
  transition: transform .25s, background-color .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background-color: #e3efff; }
.faq-answer { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 0 22px 22px; color: var(--ink-2); }
.faq-answer .brand-mark { width: 34px; height: 34px; filter: none; }
.faq-answer p { margin: 0; padding: 12px 16px; border-radius: 4px 16px 16px 16px; background: #eef5ff; color: var(--ink); }
@media (max-width: 960px) { .faq-layout { grid-template-columns: 1fr; } .faq-aside { position: static; } }

/* Partners */
.partners { padding: 56px 0; border-top: 1px solid var(--line); }
.partners h2 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); text-align: center; margin-bottom: 30px; font-weight: 800; }
.partners-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 48px; }
.partners-row img { height: 54px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.partners-row img:hover { filter: none; opacity: 1; }

/* CTA / contact */
.cta {
  position: relative; overflow: hidden; isolation: isolate; color: var(--white);
  padding: clamp(80px, 10vw, 128px) 0 clamp(64px, 8vw, 96px);
  background: radial-gradient(800px 400px at 15% 0%, rgba(108, 196, 255, .35), transparent 60%), linear-gradient(180deg, var(--navy), var(--night));
}
.cta::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 90px; z-index: -1; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v30c-120 30-260 50-420 30S740 0 560 20 220 80 0 50Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat top / 100% 100%; }
.cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.cta h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.03em; }
.cta p.lead { color: rgba(255, 255, 255, .78); font-size: 1.14rem; max-width: 32em; }
.cta .hero-ctas { margin: 28px 0 0; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: var(--white); }
a.contact-card:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.contact-card i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(108, 196, 255, .16); color: var(--ice); }
.contact-card i svg { width: 22px; height: 22px; }
.contact-card small { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--glacier); }
.contact-card span { display: block; font-weight: 600; line-height: 1.4; word-break: break-word; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #040e22; color: rgba(255, 255, 255, .62); font-size: .88rem; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-footer .brand { margin-bottom: 14px; }
.site-footer h4 { color: var(--white); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer p { margin: 0 0 8px; }
.site-footer a { color: rgba(255, 255, 255, .82); }
.site-footer a:hover { color: var(--ice); }
.footer-links { display: grid; gap: 8px; }
.footer-links button { background: none; border: 0; padding: 0; color: rgba(255, 255, 255, .82); text-align: left; }
.footer-links button:hover { color: var(--ice); }
.footer-eu { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; padding: 28px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-eu .logos { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-eu .logos img { height: 40px; width: auto; border-radius: 6px; background: #fff; padding: 4px 6px; }
.footer-eu p { margin: 0; flex: 1; min-width: 260px; font-size: .84rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .8rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Inner pages (privacy, cookie) ---------- */
.page-hero {
  isolation: isolate;
  position: relative; overflow: hidden; color: var(--white); padding: calc(var(--header-h) + 64px) 0 110px;
  background: radial-gradient(900px 400px at 90% 0%, rgba(108, 196, 255, .35), transparent 60%), linear-gradient(180deg, #04112a, var(--navy));
}
.page-hero .hero-mountains { height: 120px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.03em; }
.page-hero p { color: rgba(255, 255, 255, .75); margin: 0; max-width: 40em; }
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { list-style: none; display: grid; gap: 10px; margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 3px; background: var(--ice); transform: rotate(45deg); }
.callout { padding: 20px 24px; border-radius: var(--radius); background: #eef5ff; border-left: 4px solid var(--brand); margin: 1.4em 0; }
.callout p { margin: 0; color: var(--ink); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; }
.toc a { padding: 8px 14px; border-radius: 999px; background: var(--snow); border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.toc a:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   v2 — armonizzazione, nuove sezioni, pagine interne
   ========================================================================== */
.section-head .eyebrow, .split-body .eyebrow, .facts-intro .eyebrow { color: var(--brand); }
.eyebrow--green { color: var(--green) !important; }
.section-head.center p { margin-inline: auto; }
.section-head p { max-width: 40em; }

/* Night section with snow waves (eco dell'hero) */
.section--night { padding: calc(var(--section-y) + 40px) 0; overflow: hidden; }
.wave { position: absolute; left: 0; right: 0; height: 60px; pointer-events: none; background-repeat: no-repeat; background-size: 100% 100%; }
.wave--top { top: -1px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v18c-160 26-330 40-520 26S560 6 380 14 120 46 0 30Z' fill='%23ffffff'/%3E%3C/svg%3E"); }
.wave--bottom { bottom: -1px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60h1440V34c-140-20-300-34-470-22S640 50 450 44 130 14 0 26Z' fill='%23ffffff'/%3E%3C/svg%3E"); }
.section--night .section-head .eyebrow { color: var(--ice); }

/* In breve (definizione + fatti) */
.facts { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.facts-intro .lead { font-size: 1.12rem; color: var(--ink-2); }
.facts-intro .lead strong { color: var(--ink); }
.facts-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-s); }
.facts-list div { background: var(--white); padding: 18px 20px; }
.facts-list dt { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 4px; }
.facts-list dd { margin: 0; font-weight: 600; font-size: .96rem; line-height: 1.45; color: var(--ink); }
@media (max-width: 960px) { .facts { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .facts-list { grid-template-columns: 1fr; } }

/* Foto: tinta di brand per uniformare gli scatti */
.split-media .photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(31, 91, 196, .06), rgba(6, 22, 51, .28)); mix-blend-mode: multiply; }
.split-media .photo img { filter: saturate(.92) contrast(1.02); }

/* Progetto / FESR */
.vision { margin-bottom: var(--section-y); }
.project { grid-template-columns: 1.25fr .75fr; align-items: stretch; }
.fesr-box { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: start; padding: 24px; }
.fesr-box .fesr-poster { width: 110px; height: auto; max-height: none; margin: 0; border-radius: 10px; box-shadow: var(--shadow-s); }
.fesr-box .tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #e9f2ff; color: var(--brand); font-size: .72rem; font-weight: 800; letter-spacing: .06em; margin-bottom: 10px; }
.fesr-box h3 { font-size: 1.02rem; line-height: 1.35; margin-bottom: 14px; }
.fesr-box dl { margin: 0; display: grid; gap: 10px; }
.fesr-box dt { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.fesr-box dd { margin: 0; font-size: .88rem; color: var(--ink-2); line-height: 1.4; }
@media (max-width: 1060px) { .project { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .fesr-box { grid-template-columns: 1fr; } .fesr-box .fesr-poster { width: 140px; } }

/* News */
.news-card .thumb { aspect-ratio: 16 / 10; background: #fff; border-bottom: 1px solid var(--line); }
.news-card--featured .thumb { border-color: transparent; }
.news-card .more { position: static; }
.news-card .more::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.news-card { position: relative; transition: transform .3s, box-shadow .3s; }
.news-card:has(.more):hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card:has(.more):hover .thumb img { transform: scale(1.04); }
.news-track { grid-auto-columns: minmax(280px, 320px); }

/* FAQ */
.faq-group { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin: 18px 0 2px; }
.faq-group:first-child { margin-top: 0; }
.faq-item summary h4 { margin: 0; font: inherit; letter-spacing: -.005em; }
.faq-aside .section-head { margin-bottom: 24px; }

/* Partner */
.partners-row { list-style: none; margin: 0; padding: 0; }
.partners-row li { display: flex; align-items: center; justify-content: center; }
.partners-row img { height: 58px; }

/* Footer */
.footer-grid { grid-template-columns: 1.2fr .8fr 1.2fr 1fr; }
.site-footer .f-h { color: var(--white); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer address { font-style: normal; }
.f-legal { margin-top: 14px !important; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Pagine interne */
.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; color: rgba(255, 255, 255, .7); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--glacier); }
.page-hero--full { min-height: 80vh; display: flex; align-items: center; }
.section--page { padding-top: 48px; }
.page-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.toc-side { position: sticky; top: calc(var(--header-h) + 24px); }
.toc-title { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc ol a { display: block; padding: 6px 12px; margin-left: -2px; border-left: 2px solid transparent; font-size: .86rem; color: var(--ink-2); line-height: 1.35; }
.toc ol a:hover { color: var(--brand); border-left-color: var(--brand); }
.prose { max-width: 760px; margin-inline: 0; }
.prose--center { margin-inline: auto; }
.prose-cta { margin-top: 2.4em; }
@media (max-width: 960px) { .page-layout { grid-template-columns: 1fr; gap: 24px; } .toc-side { position: static; } }

/* Sicurezza responsive */
img, video, iframe { max-width: 100%; }
h1, h2, h3 { overflow-wrap: normal; word-break: normal; hyphens: manual; -webkit-hyphens: manual; }
.hero h1 { font-size: clamp(2.1rem, 9.2vw, 4.6rem); }
@media (min-width: 961px) { .hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); } }
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .btn { white-space: normal; text-align: center; }
  .hero h1 { font-size: 2.25rem; }
  .float-card { display: none; }
}

/* v2.1 — progetto su due righe, loghi istituzionali a colori */
.project { grid-template-columns: 1fr; }
.video { max-width: 960px; width: 100%; margin-inline: auto; }
.fesr-box { max-width: 960px; width: 100%; margin-inline: auto; grid-template-columns: 150px 1fr; gap: 28px; padding: 28px; align-items: center; }
.fesr-box img.fesr-poster { width: 150px; max-height: none; }
.fesr-box dl { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
@media (max-width: 640px) { .fesr-box { grid-template-columns: 1fr; } .fesr-box img.fesr-poster { width: 150px; } .fesr-box dl { grid-template-columns: 1fr; } }
.partners-row { gap: 28px 44px; }
.partners-row img { height: 64px; max-width: 170px; filter: none; opacity: 1; }
@media (max-width: 560px) { .partners-row { gap: 20px 28px; } .partners-row img { height: 48px; max-width: 120px; } }
@media (max-width: 560px) {
  .video { aspect-ratio: 4 / 3; }
  .video-consent .play { width: 56px; height: 56px; margin-bottom: 10px; }
  .video-consent p { font-size: .88rem; }
}

/* v2.2 — hero più armonico, box centrati */
.hero-copy { container-type: inline-size; }
.hero h1 { font-size: min(4.6rem, 11.4cqi); line-height: 1.04; margin-bottom: 24px; }
.hero h1 .hl { display: block; white-space: nowrap; }
.hero .eyebrow--pill { margin-bottom: 26px; white-space: nowrap; }
.hero-lead { max-width: 33em; text-wrap: pretty; }
.hero-lead strong { display: block; margin-bottom: 6px; font-size: 1.08em; }
.hero-chips { gap: 10px; }
.hero-chips li { padding: 8px 14px 8px 11px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); font-size: .86rem; }
@media (max-width: 380px) { .hero h1 { font-size: min(4.6rem, 11.4cqi); } .hero-chips li { font-size: .8rem; } }
@media (max-width: 960px) { .hero-copy { text-align: left; } }

.pillar { text-align: center; }
.pillar-icon { margin: 0 auto 18px; }
@media (max-width: 600px) { .pillar { display: block; padding: 26px 22px; } .pillar-icon { margin: 0 auto 14px; } }
