/* =========================================================
   Futsal Eurocup — sito evento
   Identità dalla locandina 2027 (Montserrat, lime #c1ff72, tricolore, mascotte)
   reinterpretata in chiave "grande evento sportivo": foto protagoniste, griglia pulita.
   ========================================================= */

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("../fonts/montserrat-latin-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 400 900; font-display: swap; src: url("../fonts/montserrat-latin-italic.woff2") format("woff2"); }

:root {
  --bg: #0a3a7a;
  --bg-2: #08326b;
  --surface: #10478f;
  --surface-2: #1655a6;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f4f8f5;
  --muted: #b9cdea;
  --lime: #c1ff72;
  --green: #009246;
  --red: #ce2b37;
  --r: 18px;
  --r-lg: 28px;
  --wrap: 1200px;
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 10px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Montserrat", system-ui, sans-serif; font-size: 1rem; line-height: 1.65; font-weight: 500; -webkit-font-smoothing: antialiased; }
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { flex: none; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--lime); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 800; }
.skip:focus { top: 12px; }

/* ---------- tipografia ---------- */
h1, h2, h3 { margin: 0; font-weight: 900; line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); text-transform: uppercase; font-style: italic; }
h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.01em; }
.kicker { margin: 0 0 14px; display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); }
.kicker::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--green) 0 33%, #fff 33% 66%, var(--red) 66%); }
.lead { margin: 18px 0 0; font-size: clamp(1.02rem, 1.4vw, 1.14rem); color: var(--muted); max-width: 58ch; }
.head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 56px); }
.head-c { margin-inline: auto; text-align: center; }
.head-c .kicker { justify-content: center; }
.head-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- bottoni ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px; font-weight: 800; font-size: 0.95rem; letter-spacing: 0.01em; cursor: pointer; touch-action: manipulation; white-space: nowrap; transition: transform .25s var(--ease), background-color .25s, color .25s, box-shadow .25s, border-color .25s; }
.btn svg { width: 20px; height: 20px; }
.btn:active { transform: scale(0.97); }
.btn-lime { background: var(--lime); color: #071108; box-shadow: 0 12px 30px -10px rgba(193, 255, 114, 0.6); }
.btn-lime:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(193, 255, 114, 0.8); }
.btn-lime svg { transition: transform .25s var(--ease); }
.btn-lime:hover svg { transform: translateX(3px); }
.btn-glass { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: #fff; color: #071108; }
.link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 800; color: var(--lime); }
.link svg { width: 20px; height: 20px; }
.link:hover span { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- navigazione ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); display: flex; align-items: center; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s, height .3s; }
.nav.scrolled, .nav.menu-open { background: rgba(6, 34, 78, 0.86); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; }
.brand img { height: 46px; width: auto; }
.menu { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.menu a { position: relative; padding: 10px 12px; font-weight: 700; font-size: 0.88rem; color: rgba(255, 255, 255, 0.82); transition: color .2s; }
.menu a:not(.menu-cta)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.menu a:hover, .menu a.active { color: #fff; }
.menu a:hover::after, .menu a.active::after { transform: scaleX(1); }
.menu .menu-cta { margin-left: 10px; padding: 11px 20px; border-radius: 999px; background: var(--lime); color: #071108; font-weight: 800; }
.menu .menu-cta:hover { background: #fff; }
.lang { display: flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-2); }
.lang button { min-width: 40px; min-height: 34px; border: 0; border-radius: 999px; background: none; cursor: pointer; font-weight: 800; font-size: 0.76rem; color: var(--muted); transition: background-color .2s, color .2s; }
.lang button[aria-pressed="true"] { background: #fff; color: #071108; }
.burger { display: none; position: relative; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.06); cursor: pointer; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ================= HERO SLIDER ================= */
.hero { position: relative; height: 100svh; min-height: 640px; max-height: 1000px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; background: #000; }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.slide.is-active { opacity: 1; }
.slide.is-active img { animation: kenburns 8s linear forwards; }
@keyframes kenburns { from { transform: scale(1.12) translate3d(0, 0, 0); } to { transform: scale(1) translate3d(-1.5%, -1%, 0); } }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(6, 34, 78, 0.92) 0%, rgba(6, 34, 78, 0.6) 40%, rgba(6, 34, 78, 0.1) 75%),
  linear-gradient(0deg, rgba(6, 34, 78, 0.95) 0%, rgba(6, 34, 78, 0) 45%),
  linear-gradient(180deg, rgba(6, 34, 78, 0.6) 0%, rgba(6, 34, 78, 0) 22%); }
.hero-content { position: relative; z-index: 2; padding-bottom: 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); font-size: 0.8rem; font-weight: 700; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(193, 255, 114, 0.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(193, 255, 114, 0); } 100% { box-shadow: 0 0 0 0 rgba(193, 255, 114, 0); } }
.hero-logo { width: clamp(220px, 28vw, 380px); height: auto; margin-bottom: 18px; filter: drop-shadow(0 6px 30px rgba(0, 0, 0, 0.5)); }
.hero-title { display: grid; gap: 6px; text-transform: uppercase; font-style: italic; }
.t-date { font-size: clamp(2.4rem, 6.4vw, 5.2rem); letter-spacing: -0.035em; line-height: 0.95; text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5); }
.t-place { font-size: clamp(1.2rem, 2.4vw, 1.9rem); letter-spacing: -0.01em; color: var(--lime); }
.t-place small { font-size: 0.7em; color: #fff; opacity: 0.8; }
.hero-sub { margin: 18px 0 30px; font-size: clamp(1.02rem, 1.5vw, 1.2rem); max-width: 46ch; color: rgba(255, 255, 255, 0.86); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-bar { position: relative; z-index: 2; border-top: 1px solid rgba(255, 255, 255, 0.12); background: rgba(6, 34, 78, 0.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hero-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.countdown { display: flex; align-items: center; gap: 22px; }
.cd-label { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); max-width: 9ch; line-height: 1.3; }
.countdown div { display: grid; text-align: center; min-width: 52px; }
.countdown b { font-size: 2rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.countdown div span { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-top: 4px; }
.slider-ui { display: flex; align-items: center; gap: 22px; }
.slide-caption { margin: 0; display: flex; align-items: baseline; gap: 10px; font-weight: 700; font-size: 0.9rem; min-width: 210px; justify-content: flex-end; }
.sc-num { font-weight: 900; color: var(--lime); font-variant-numeric: tabular-nums; }
.sc-txt { transition: opacity .4s; }
.progress { display: flex; gap: 6px; }
.progress button { width: 34px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.progress i { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.28); overflow: hidden; position: relative; }
.progress i::after { content: ""; position: absolute; inset: 0; background: var(--lime); transform: scaleX(0); transform-origin: left; }
.progress button.done i::after { transform: scaleX(1); }
.progress button[aria-selected="true"] i::after { animation: fill var(--dur, 6500ms) linear forwards; }
.hero.paused .progress button[aria-selected="true"] i::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.arrows { display: flex; gap: 8px; }
.arrows button, .ls-ui button { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.06); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.arrows button:hover, .ls-ui button:hover { background: var(--lime); border-color: var(--lime); color: #071108; }
.arrows svg, .ls-ui svg { width: 20px; height: 20px; }

/* ================= DATI CHIAVE ================= */
.facts { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { display: flex; align-items: center; gap: 16px; padding: 28px 22px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact svg { width: 30px; height: 30px; color: var(--lime); }
.fact b { display: block; font-weight: 800; font-size: 1.02rem; line-height: 1.25; }
.fact span { display: block; font-size: 0.86rem; color: var(--muted); }

/* ================= SEZIONI ================= */
.sec { position: relative; padding: clamp(80px, 10vw, 130px) 0; }
.sec-alt { background: var(--bg-2); }
.sec-tight { padding-block: clamp(30px, 5vw, 60px) clamp(80px, 10vw, 120px); }

/* intro */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.perks { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.perks li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 0.95rem; }
.perks svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(193, 255, 114, 0.1); color: var(--lime); }
.intro-media { position: relative; aspect-ratio: 1 / 1.02; }
.intro-media figure { position: absolute; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.intro-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.intro-media figure:hover img { transform: scale(1.05); }
.im-a { inset: 0 18% 22% 0; }
.im-b { inset: 46% 0 0 34%; border: 6px solid var(--bg); }
.im-badge { position: absolute; left: 6%; bottom: 4%; display: grid; place-items: center; text-align: center; width: 128px; height: 128px; border-radius: 50%; background: var(--lime); color: #071108; box-shadow: var(--shadow); transform: rotate(-8deg); }
.im-badge b { font-size: 2rem; font-weight: 900; font-style: italic; line-height: 1; }
.im-badge span { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; margin-top: -18px; }

/* esperienza */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.card:hover { transform: translateY(-6px); border-color: rgba(193, 255, 114, 0.35); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card-img img { transform: scale(1.07); }
.card-body { position: relative; padding: 34px 22px 26px; display: grid; gap: 8px; }
.card-ico { position: absolute; top: -26px; left: 22px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--lime); color: #071108; box-shadow: 0 10px 24px -8px rgba(193, 255, 114, 0.6); }
.card-ico svg { width: 26px; height: 26px; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* numeri */
.numbers { position: relative; padding: clamp(90px, 11vw, 140px) 0; overflow: hidden; isolation: isolate; text-align: center; }
.numbers-bg { position: absolute; inset: 0; z-index: -1; }
.numbers-bg img { width: 100%; height: 100%; object-fit: cover; }
.numbers-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 34, 78, 0.88), rgba(6, 34, 78, 0.78) 50%, rgba(6, 34, 78, 0.92)); }
.numbers h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 48px; }
.num-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.num-grid div { padding: 6px 10px; border-left: 1px solid var(--line-2); }
.num-grid div:first-child { border-left: 0; }
.num-grid b { display: block; font-size: clamp(2.8rem, 7vw, 5.4rem); font-weight: 900; font-style: italic; letter-spacing: -0.04em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.num-grid span { display: block; margin-top: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; color: var(--lime); }

/* categorie */
.cat-top { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.cat-top .head { margin-bottom: 40px; }
.cat-mascot { width: 200px; height: auto; margin-bottom: -18px; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5)); position: relative; z-index: 2; }
.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-grid li { position: relative; display: grid; gap: 6px; padding: 26px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .35s var(--ease), background-color .3s; }
.cat-grid li::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--green) 0 33%, #fff 33% 66%, var(--red) 66%); opacity: 0; transition: opacity .3s; }
.cat-grid li:hover { border-color: rgba(193, 255, 114, 0.4); background: var(--surface-2); transform: translateY(-4px); }
.cat-grid li:hover::before { opacity: 1; }
.cg-name { font-size: 1.25rem; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -0.01em; }
.cg-years { font-weight: 700; color: var(--lime); font-variant-numeric: tabular-nums; }

/* location */
.loc-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.loc-split { display: grid; gap: 14px; margin-top: 30px; }
.loc-split div { display: flex; gap: 18px; align-items: center; padding: 18px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.loc-split b { flex: none; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 16px; background: var(--lime); color: #071108; font-size: 1.9rem; font-weight: 900; font-style: italic; }
.loc-split p { margin: 0; font-weight: 700; line-height: 1.4; }
.loc-logos { display: flex; align-items: center; gap: 30px; margin-top: 28px; flex-wrap: wrap; }
.loc-logos img { height: 44px; width: auto; opacity: 0.9; }
.loc-slider { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.2; box-shadow: var(--shadow); background: var(--surface); touch-action: pan-y; }
.ls-track { display: flex; height: 100%; transition: transform .8s var(--ease); }
.ls-track figure { flex: 0 0 100%; position: relative; }
.ls-track img { width: 100%; height: 100%; object-fit: cover; }
.ls-track figcaption { position: absolute; left: 20px; bottom: 20px; padding: 8px 14px; border-radius: 999px; background: rgba(6, 34, 78, 0.7); backdrop-filter: blur(8px); font-weight: 800; font-size: 0.85rem; }
.ls-ui { position: absolute; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 999px; background: rgba(6, 34, 78, 0.7); backdrop-filter: blur(8px); }
.ls-ui button { width: 42px; height: 42px; }
.ls-count { font-weight: 800; font-size: 0.85rem; font-variant-numeric: tabular-nums; min-width: 46px; text-align: center; }
.ls-count b { color: var(--lime); }

/* galleria a scorrimento */
.gallery-sec { padding-bottom: clamp(70px, 9vw, 110px); }
.marquee { display: grid; gap: 16px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.mq-row { display: flex; gap: 16px; width: max-content; animation: mq 60s linear infinite; }
.mq-rev { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .mq-row { animation-play-state: paused; }
.mq-row button { flex: none; height: clamp(180px, 22vw, 290px); aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; cursor: zoom-in; background: var(--surface); }
.mq-row button:nth-child(3n+2) { aspect-ratio: 1 / 1; }
.mq-row img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mq-row button:hover img { transform: scale(1.06); }
@keyframes mq { to { transform: translateX(-50%); } }
.videos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; border: 1px solid var(--line); }
.yt button { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity .3s, transform .6s var(--ease); }
.yt button:hover img { opacity: 1; transform: scale(1.05); }
.play { position: relative; width: 58px; height: 58px; border-radius: 50%; background: var(--lime); transition: transform .25s var(--ease); box-shadow: 0 10px 30px -6px rgba(0, 0, 0, 0.6); }
.play::before { content: ""; position: absolute; left: 23px; top: 18px; border-left: 17px solid #071108; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.yt button:hover .play { transform: scale(1.1); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* app */
.app { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: clamp(32px, 5vw, 56px); border-radius: var(--r-lg); background: radial-gradient(90% 120% at 100% 50%, rgba(193, 255, 114, 0.18), transparent 60%), linear-gradient(135deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-2); overflow: hidden; }
.app::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--green) 0 33%, #fff 33% 66%, var(--red) 66%); }
.app h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); max-width: 18ch; }
.app p { margin: 14px 0 26px; color: var(--muted); max-width: 52ch; }
.app-mascot { width: clamp(150px, 18vw, 230px); height: auto; margin: -20px 10px -70px 0; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5)); }

/* partner */
.sp-block { margin-top: 40px; }
.sp-block:first-of-type { margin-top: 0; }
.sp-block h3 { text-align: center; margin-bottom: 16px; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.sp-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sp-1 { grid-template-columns: minmax(0, 520px); justify-content: center; }
.sp-2 { grid-template-columns: repeat(2, minmax(0, 290px)); justify-content: center; }
.sp-cell { display: grid; place-items: center; height: 140px; padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, background-color .3s; }
a.sp-cell:hover, .sp-cell:hover { border-color: rgba(193, 255, 114, 0.35); background: var(--surface-2); }
.sp-cell img { max-height: 92px; max-width: 80%; width: auto; height: auto; object-fit: contain; }
.sp-cell img.w { max-height: 56px; }
.sp-feature { height: 150px; }
.sp-feature img { max-height: 84px; }

/* contatti */
.contact-sec { overflow: hidden; isolation: isolate; }
.contact-bg { position: absolute; inset: 0; z-index: -1; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; }
.contact-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 34, 78, 0.96) 30%, rgba(6, 34, 78, 0.82)); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.contact-txt h2 { max-width: 16ch; }
.contact-txt .hero-cta { margin-top: 30px; }
.contact-card { list-style: none; margin: 0; padding: 10px; display: grid; gap: 6px; border-radius: var(--r-lg); background: rgba(16, 71, 143, 0.8); border: 1px solid var(--line-2); backdrop-filter: blur(12px); }
.contact-card a { display: flex; align-items: center; gap: 16px; min-height: 68px; padding: 12px 16px; border-radius: 14px; font-weight: 700; transition: background-color .2s; overflow-wrap: anywhere; }
.contact-card a:hover { background: rgba(193, 255, 114, 0.08); }
.contact-card svg { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: rgba(193, 255, 114, 0.1); color: var(--lime); }
.contact-card small { display: block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 800; }

/* footer */
.foot { background: #062a5a; border-top: 1px solid var(--line); padding: 60px 0 calc(28px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 0.92rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; }
.foot-logo { height: 54px; width: auto; margin-bottom: 16px; }
.foot h4 { margin: 0 0 12px; color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot ul a { display: inline-block; padding: 6px 0; }
.foot ul a:hover { color: #fff; }
.foot-social { display: flex !important; gap: 10px !important; }
.foot-social a { width: 46px; height: 46px; padding: 0 !important; display: grid !important; place-items: center; border-radius: 14px; border: 1px solid var(--line-2); color: #fff; transition: background-color .25s, color .25s; }
.foot-social a:hover { background: var(--lime); color: #071108; }
.foot-social svg { width: 20px; height: 20px; }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot-bottom img { height: 48px; width: auto; opacity: 0.8; }

/* barra mobile */
.dock { display: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 20px; background: rgba(0, 0, 0, 0.92); }
.lightbox.open { display: grid; animation: fade .25s ease; }
.lightbox img { max-height: 88vh; width: auto; border-radius: 14px; }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 50px; height: 50px; border-radius: 50%; border: 0; background: #fff; color: #000; font-size: 1.6rem; cursor: pointer; }
@keyframes fade { from { opacity: 0; } }

/* comparsa */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero-content > * { animation: up .9s var(--ease) both; }
.hero-content > :nth-child(2) { animation-delay: .1s; }
.hero-content > :nth-child(3) { animation-delay: .2s; }
.hero-content > :nth-child(4) { animation-delay: .3s; }
.hero-content > :nth-child(5) { animation-delay: .4s; }
@keyframes up { from { opacity: 0; transform: translateY(24px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .slide img { transform: none; }
}

/* ---------- pagina legale ---------- */
.legal { padding: calc(var(--nav-h) + 50px) 0 90px; background: radial-gradient(90% 40% at 50% 0%, #0f4a96, var(--bg) 70%); min-height: 70vh; }
.legal article { max-width: 860px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-style: italic; text-transform: uppercase; margin: 10px 0 18px; }
.legal h2 { font-size: 1.2rem; font-style: normal; text-transform: none; color: var(--lime); margin: 40px 0 12px; letter-spacing: 0; }
.legal p, .legal li { color: #d3ddd7; }
.legal ul { padding-left: 1.2em; }
.legal a:not(.btn):not(.link) { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.back svg { transform: rotate(180deg); }
.notice { padding: 16px 20px; border-radius: 16px; background: rgba(193, 255, 114, 0.08); border: 1px solid rgba(193, 255, 114, 0.35); color: #e8f7d6 !important; font-weight: 600; }
.doc-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0 10px; }
.doc-list a { display: grid; gap: 8px; align-content: start; padding: 20px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--surface); transition: border-color .25s, transform .3s var(--ease); }
.doc-list a:hover { border-color: var(--lime); transform: translateY(-3px); }
.doc-list svg { width: 30px; height: 30px; color: var(--lime); }
.doc-list b { font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 0.98rem; line-height: 1.2; }
.doc-list small { color: var(--muted); font-weight: 700; }

/* =========================================================
   Responsive (mobile-first rifinito per breakpoint)
   ========================================================= */
@media (max-width: 1100px) {
  .menu { display: none; }
  .burger { display: block; }
  .lang { margin-left: auto; }
  .menu.open { display: grid; position: fixed; top: var(--nav-h); left: 0; right: 0; gap: 2px; padding: 12px 24px 26px; background: rgba(6, 34, 78, 0.98); border-bottom: 1px solid var(--line); animation: fade .2s ease; }
  .menu.open a { padding: 15px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .menu.open a::after { display: none; }
  .menu.open .menu-cta { margin: 14px 0 0; text-align: center; border-bottom: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .slide-caption { display: none; }
  .videos { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --nav-h: 66px; }
  .wrap { width: calc(100% - 40px); }
  .brand img { height: 38px; }
  .hero { height: auto; min-height: 100svh; max-height: none; }
  .hero-shade { background: linear-gradient(0deg, rgba(6, 34, 78, 0.98) 0%, rgba(6, 34, 78, 0.75) 45%, rgba(6, 34, 78, 0.35) 75%, rgba(6, 34, 78, 0.6) 100%); }
  .hero-content { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 28px; }
  .hero-bar-in { flex-direction: column; align-items: stretch; gap: 14px; padding-block: 18px; }
  .countdown { justify-content: space-between; gap: 10px; }
  .cd-label { max-width: none; flex-basis: 100%; }
  .countdown { flex-wrap: wrap; }
  .countdown div { flex: 1; }
  .slider-ui { justify-content: space-between; }
  .facts-in { grid-template-columns: 1fr 1fr; }
  .fact { padding: 22px 16px; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .intro-grid, .loc-grid, .contact-grid { grid-template-columns: 1fr; }
  .intro-media { max-width: 520px; width: 100%; margin-inline: auto; }
  .num-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .num-grid div:nth-child(3) { border-left: 0; }
  .cat-top { align-items: end; }
  .cat-mascot { width: 130px; }
  .app { grid-template-columns: 1fr; text-align: left; padding-bottom: 0; }
  .app-mascot { justify-self: end; margin: -30px -10px -10px 0; width: 150px; }
  .sp-wall { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .doc-list { grid-template-columns: 1fr; }

  .dock { display: flex; position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); gap: 8px; padding: 8px; border-radius: 22px; background: rgba(6, 34, 78, 0.9); backdrop-filter: blur(16px); border: 1px solid var(--line-2); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); transform: translateY(150%); transition: transform .45s var(--ease); }
  .dock.show { transform: none; }
  .dock a { display: grid; place-items: center; width: 52px; min-height: 52px; border-radius: 16px; background: rgba(255, 255, 255, 0.08); }
  .dock a svg { width: 22px; height: 22px; }
  .dock .dock-wa { flex: 1; width: auto; display: flex; gap: 10px; background: var(--lime); color: #071108; font-weight: 800; font-size: 0.92rem; }
  .foot { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .hero-cta .btn { flex: 1 1 100%; }
  .countdown b { font-size: 1.7rem; }
  .facts-in { grid-template-columns: 1fr; }
  .fact { border-left: 0 !important; padding: 18px 0 !important; }
  .fact + .fact { border-top: 1px solid var(--line); }
  .perks { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-grid li { padding: 20px 16px; }
  .cg-name { font-size: 1.05rem; }
  .cg-years { font-size: 0.86rem; }
  .cat-mascot { width: 104px; margin-bottom: -10px; }
  .im-badge { width: 100px; height: 100px; }
  .im-badge b { font-size: 1.6rem; }
  .loc-slider { aspect-ratio: 4 / 3.6; }
  .mq-row button { height: 170px; }
  .videos { grid-template-columns: 1fr; }
  .sp-cell { height: 116px; padding: 16px; }
  .sp-cell img { max-height: 76px; }
  .sp-cell img.w { max-height: 44px; }
  .sp-2 { grid-template-columns: 1fr 1fr; }
}

/* rifiniture mobile */
@media (max-width: 860px) {
  .sp-wall.sp-1 { grid-template-columns: minmax(0, 420px); }
  .sp-wall.sp-2 { grid-template-columns: repeat(2, minmax(0, 260px)); }
}
@media (max-width: 560px) {
  .videos { grid-template-columns: 1fr 1fr; gap: 10px; }
  .play { width: 46px; height: 46px; }
  .play::before { left: 18px; top: 14px; border-left-width: 14px; border-top-width: 9px; border-bottom-width: 9px; }
}

/* 1. logo nella barra visibile solo dopo il primo scroll (non si sovrappone a quello dell'hero) */
.nav .brand { opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.nav.scrolled .brand, .nav.menu-open .brand { opacity: 1; transform: none; pointer-events: auto; }

/* 3. sottotitolo hero più visibile */
.hero-sub {
  position: relative; margin: 22px 0 32px; padding-left: 18px; max-width: 34ch;
  font-size: clamp(1.2rem, 2.1vw, 1.65rem); font-weight: 800; line-height: 1.35; color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.9);
}
.hero-sub::before { content: ""; position: absolute; left: 0; top: 0.2em; bottom: 0.2em; width: 5px; border-radius: 5px; background: linear-gradient(180deg, var(--green) 0 33%, #fff 33% 66%, var(--red) 66%); }

/* badge "Created by Euro Bizzarri · since 2010" */
.im-badge { background: var(--bg); border: 3px solid var(--lime); padding: 16px; box-shadow: 0 0 0 6px rgba(193, 255, 114, 0.15), var(--shadow); }
.im-badge img { width: 100%; height: auto; transform: rotate(8deg); }
/* cerchio di sfondo grande quanto il logo */
.im-badge { padding: 0; border: 0; overflow: hidden; box-shadow: var(--shadow); }
.im-badge img { width: 100%; height: 100%; transform: rotate(8deg) scale(1.02); }
.im-badge { overflow: visible; }
.im-badge img { transform: rotate(8deg); }

/* numeri 2026: 5 dati */
.num-grid { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 860px) {
  .num-grid { grid-template-columns: 1fr 1fr; }
  .num-grid .num-big { grid-column: 1 / -1; border-left: 0; }
  .num-grid div:nth-child(2), .num-grid div:nth-child(4) { border-left: 0; }
  .num-grid div:nth-child(3), .num-grid div:nth-child(5) { border-left: 1px solid var(--line-2); }
}
@media (min-width: 861px) { .num-grid b { font-size: clamp(2.4rem, 4.6vw, 4.3rem); } }

/* social */
.social-sec { padding-top: clamp(20px, 4vw, 40px); }
.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.soc { position: relative; display: flex; align-items: center; gap: 16px; min-height: 104px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.soc::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
.soc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.soc:hover::before { opacity: 1; }
.soc > * { position: relative; }
.soc-ico { flex: none; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; color: #fff; }
.soc-ico svg { width: 28px; height: 28px; }
.soc-txt { display: grid; min-width: 0; }
.soc-txt small { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.soc-txt b { font-size: 1.15rem; font-weight: 900; overflow-wrap: anywhere; }
.soc-arrow { margin-left: auto; width: 22px; height: 22px; color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.soc:hover .soc-arrow { transform: translateX(4px); color: #fff; }
.soc-wa { border-color: rgba(37, 211, 102, 0.45); background: linear-gradient(135deg, rgba(37, 211, 102, 0.2), var(--surface) 70%); }
.soc-wa .soc-ico { background: #25d366; color: #063a1c; }
.soc-wa::before { background: linear-gradient(135deg, rgba(37, 211, 102, 0.32), transparent 75%); }
.soc-ig .soc-ico { background: radial-gradient(circle at 30% 110%, #fdc468 0%, #f77737 25%, #e1306c 50%, #833ab4 80%); }
.soc-ig::before { background: linear-gradient(135deg, rgba(225, 48, 108, 0.22), transparent 75%); }
.soc-fb .soc-ico { background: #1877f2; }
.soc-fb::before { background: linear-gradient(135deg, rgba(24, 119, 242, 0.25), transparent 75%); }
@media (max-width: 860px) { .social-grid { grid-template-columns: 1fr; gap: 12px; } .soc { min-height: 88px; } }

/* video in evidenza */
.feature-video { padding-bottom: 0; }
.feature-video .head { margin-bottom: 28px; }
.yt-feature { aspect-ratio: 16 / 9; border-radius: var(--r-lg); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.yt-feature img { opacity: 1; }
.yt-feature button::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(6, 34, 78,0.05), rgba(6, 34, 78,0.55)); transition: opacity .3s; }
.yt-feature button:hover::after { opacity: 0.6; }
.yt-feature .play { z-index: 1; width: clamp(72px, 9vw, 104px); height: clamp(72px, 9vw, 104px); box-shadow: 0 0 0 10px rgba(193,255,114,0.18), 0 20px 50px -10px rgba(0,0,0,0.7); }
.yt-feature .play::before { left: 50%; top: 50%; transform: translate(-35%, -50%); border-left-width: clamp(22px, 2.6vw, 30px); border-top-width: clamp(14px, 1.7vw, 19px); border-bottom-width: clamp(14px, 1.7vw, 19px); }
.yt-label { position: absolute; z-index: 1; left: clamp(16px, 3vw, 32px); bottom: clamp(14px, 3vw, 28px); font-weight: 900; font-style: italic; font-size: clamp(1rem, 2.4vw, 1.8rem); letter-spacing: -0.01em; text-shadow: 0 2px 20px rgba(0,0,0,0.8); }

/* social: 4 profili */
.social-grid { grid-template-columns: repeat(4, 1fr); }
.soc-yt .soc-ico { background: #ff0000; }
.soc-yt::before { background: linear-gradient(135deg, rgba(255, 0, 0, 0.22), transparent 75%); }
@media (max-width: 1100px) { .social-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .social-grid { grid-template-columns: 1fr; } }
.social-grid { grid-template-columns: 1fr 1fr; max-width: 980px; margin-inline: auto; }
@media (max-width: 860px) { .social-grid { grid-template-columns: 1fr; } }

/* logo fornitore tecnico in alto a sinistra (prima dello scroll), poi logo Eurocup */
.nav-left { position: relative; display: flex; align-items: center; min-height: 46px; }
.nav-sponsor { display: flex; align-items: center; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.nav-sponsor img { height: 44px; width: auto; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6)); }
.nav-left .brand { position: absolute; left: 0; top: 50%; translate: 0 -50%; }
.nav.scrolled .nav-sponsor, .nav.menu-open .nav-sponsor { opacity: 0; transform: translateY(-8px); pointer-events: none; }
@media (max-width: 860px) { .nav-sponsor img { height: 34px; } }
@media (max-width: 380px) { .nav-sponsor img { height: 28px; } }

/* mascotte grande a destra nell'header + patrocinio LND #WeAreFutsal */
.hero-right { position: absolute; z-index: 2; right: max(24px, calc((100vw - var(--wrap)) / 2)); bottom: 118px; display: grid; justify-items: center; gap: 14px; animation: up 1s var(--ease) .3s both; }
.hero-mascot { height: min(58vh, 560px); width: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.65)); }
.hero-patron { display: grid; justify-items: center; gap: 6px; padding: 12px 20px 14px; border-radius: 18px; background: rgba(6, 34, 78, 0.62); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero-patron span { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); }
.hero-patron img { height: 64px; width: auto; }
@media (max-width: 1100px) { .hero-mascot { height: min(46vh, 420px); } }
@media (max-width: 860px) {
  .hero-right { position: relative; right: auto; bottom: auto; grid-template-columns: auto 1fr; align-items: end; justify-items: start; gap: 14px; width: calc(100% - 40px); margin: -6px auto 22px; }
  .hero-mascot { height: 150px; }
  .hero-patron { padding: 10px 14px 12px; }
  .hero-patron img { height: 46px; }
}
@media (max-width: 560px) { .hero-right { width: calc(100% - 32px); } }

/* coppia di loghi We Are Eurocup | Team Wear-Nike: nell'header e, dopo lo scroll, nella barra */
.logo-div { flex: none; width: 1px; align-self: stretch; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.55) 20%, rgba(255, 255, 255, 0.55) 80%, transparent); }
.hero-logos { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 28px); margin-bottom: 18px; }
.hero-logos .hero-logo { margin-bottom: 0; }
.hero-tw { height: clamp(44px, 5.4vw, 74px); width: auto; filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5)); }
.hero-logos .logo-div { margin-block: 10%; }

.brand-duo { display: flex; align-items: center; gap: 14px; }
.brand-duo .b-euro { height: 44px; width: auto; }
.brand-duo .b-tw { height: 30px; width: auto; }
.brand-duo .logo-div { height: 30px; align-self: center; }
/* entrata dal basso verso la barra, insieme */
.nav .brand-duo { opacity: 0; transform: translateY(18px) scale(0.96); transform-origin: left center; pointer-events: none; transition: opacity .4s var(--ease), transform .5s var(--ease); }
.nav.scrolled .brand-duo, .nav.menu-open .brand-duo { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 860px) {
  .brand-duo { gap: 10px; }
  .brand-duo .b-euro { height: 34px; }
  .brand-duo .b-tw { height: 22px; }
  .brand-duo .logo-div { height: 24px; }
  .hero-logos { gap: 14px; }
  .hero-logos .hero-logo { width: clamp(150px, 44vw, 220px); }
  .hero-tw { height: clamp(30px, 9vw, 44px); }
}
@media (max-width: 380px) { .brand-duo .b-tw { display: none; } .brand-duo .logo-div { display: none; } }

/* divisorio tra i loghi più visibile */
.logo-div { background: rgba(255, 255, 255, 0.6); }
.hero-logos .logo-div { margin-block: 14%; width: 2px; border-radius: 2px; }

/* mascotte dell'header più grande */
.hero-right { bottom: 92px; }
.hero-mascot { height: min(76vh, 720px); }
@media (max-width: 1100px) { .hero-mascot { height: min(56vh, 520px); } }
@media (max-width: 860px) {
  .hero-right { display: flex; justify-content: center; margin: -10px auto 10px; }
  .hero-mascot { height: 240px; }
}

/* fascia patrocinio LND prima del video */
.patron-band { padding: clamp(50px, 7vw, 80px) 0 0; }
.patron-in { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.patron-label { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 14px; }
.patron-label::before, .patron-label::after { content: ""; width: 40px; height: 1px; background: var(--line-2); }
.patron-in img { height: clamp(110px, 14vw, 170px); width: auto; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5)); }
@media (max-width: 860px) { .hero-right { position: relative; right: auto; bottom: auto; margin: 4px auto 14px; } }

/* header: contenuto sempre sotto la barra del menu, anche su schermi bassi */
.hero { height: auto; min-height: max(100svh, 680px); max-height: none; }
.hero-content { padding-top: calc(var(--nav-h) + 70px); }
.hero-mascot { height: min(76vh, 720px, calc(100svh - var(--nav-h) - 200px)); min-height: 380px; }
@media (max-width: 1100px) { .hero-mascot { height: min(56vh, 520px, calc(100svh - var(--nav-h) - 200px)); min-height: 320px; } }
@media (max-width: 860px) { .hero-content { padding-top: calc(var(--nav-h) + 40px); } .hero-mascot { min-height: 0; height: 240px; } }

/* ===== apertura: niente barra in alto, compare al primo scroll ===== */
.nav { transition: transform .45s var(--ease), opacity .35s var(--ease), background-color .3s, border-color .3s; }
.nav:not(.scrolled):not(.menu-open) { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.nav .brand-duo { opacity: 1; transform: none; pointer-events: auto; }

/* hero come da riferimento: loghi in alto, mascotte grande che riempie il lato destro */
.hero { min-height: max(100svh, 640px); }
.hero-content { padding-top: clamp(28px, 4vh, 48px); padding-bottom: 44px; }
.hero-right { bottom: 92px; right: max(16px, calc((100vw - var(--wrap)) / 2 - 20px)); }
.hero-mascot { height: clamp(420px, calc(100svh - 92px - 40px), 900px); min-height: 0; }
@media (max-width: 1100px) { .hero-mascot { height: clamp(360px, calc(100svh - 92px - 120px), 700px); } }
@media (max-width: 860px) {
  .hero-content { padding-top: 28px; padding-bottom: 20px; }
  .hero-right { margin: 0 auto 6px; }
  .hero-mascot { height: clamp(260px, 42svh, 380px); }
}
@media (max-width: 860px) { .hero-right { position: relative; right: auto; bottom: auto; margin: 4px auto 8px; } }

/* loghi hero più grandi + divisorio bianco ben visibile */
.hero-logos { gap: clamp(20px, 2.6vw, 36px); }
.hero-logos .hero-logo { width: clamp(260px, 32vw, 470px); }
.hero-tw { height: clamp(56px, 6.6vw, 98px); }
.hero-logos .logo-div { align-self: center; width: 2px; height: clamp(70px, 8vw, 120px); margin: 0; border-radius: 2px; background: #fff; opacity: 0.85; }
.brand-duo .logo-div { width: 1.5px; background: #fff; opacity: 0.8; }

/* mascotte desktop ancora più grande */
.hero-right { bottom: 92px; }
.hero-mascot { height: clamp(460px, calc(100svh - 92px - 10px), 980px); }

/* smartphone: mascotte sopra i pulsanti */
.hero-mascot-m { display: none; }
@media (max-width: 860px) {
  .hero-right { display: none; }
  .hero-mascot-m { display: block; height: clamp(230px, 34svh, 330px); width: auto; margin: 4px auto 14px; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.6)); }
  .hero-logos .hero-logo { width: clamp(160px, 46vw, 230px); }
  .hero-tw { height: clamp(34px, 10vw, 48px); }
  .hero-logos .logo-div { height: clamp(44px, 12vw, 60px); }
  .hero-content { padding-bottom: 24px; }
}
.hero-logos .hero-logo { width: clamp(240px, 28vw, 430px); }
.hero-tw { height: clamp(52px, 5.4vw, 82px); }
.hero-right { right: max(8px, calc((100vw - var(--wrap)) / 2 - 70px)); }
@media (max-width: 860px) {
  .hero-logos { gap: 12px; }
  .hero-logos .hero-logo { width: clamp(150px, 42vw, 220px); }
  .hero-tw { height: clamp(30px, 9vw, 44px); }
}
@media (min-width: 861px) { .hero-right { right: max(40px, calc((100vw - var(--wrap)) / 2 + 30px)); } }

/* patrocinio LND con foto sfumata sullo sfondo */
.patron-band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(90px, 12vw, 160px) 0; }
.patron-bg { position: absolute; inset: 0; z-index: -1; }
.patron-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: 0.55; filter: saturate(0.9); }
.patron-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, var(--bg) 0%, rgba(6, 34, 78,0.55) 30%, rgba(6, 34, 78,0.55) 70%, var(--bg) 100%),
  radial-gradient(60% 70% at 50% 50%, rgba(6, 34, 78,0.35), rgba(6, 34, 78,0.85)); }
.patron-label { color: #fff; }

/* location: loghi villaggi grandi con il loro video */
#location .head { max-width: 860px; }
#location .loc-split { grid-template-columns: 1fr 1fr; text-align: left; }
.villages { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.village { display: grid; gap: 20px; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.village-logo { display: grid; place-items: center; height: 150px; }
.village-logo img { max-height: 130px; max-width: 85%; width: auto; height: auto; object-fit: contain; }
.village .yt { border-radius: var(--r); }
@media (max-width: 860px) {
  #location .loc-split, .villages { grid-template-columns: 1fr; }
  .village { padding: 20px; }
  .village-logo { height: 110px; }
  .village-logo img { max-height: 96px; }
}

/* foto di sfondo meno sfumate */
.patron-bg img { opacity: 0.9; filter: none; }
.patron-bg::after { background:
  linear-gradient(180deg, var(--bg) 0%, rgba(6,34,78,0.25) 22%, rgba(6,34,78,0.25) 78%, var(--bg) 100%),
  radial-gradient(45% 55% at 50% 50%, rgba(6,34,78,0.55), rgba(6,34,78,0) 100%); }
.numbers-bg::after { background: linear-gradient(180deg, rgba(6,34,78,0.62), rgba(6,34,78,0.45) 50%, rgba(6,34,78,0.65)); }
.contact-bg::after { background: linear-gradient(90deg, rgba(6,34,78,0.85) 30%, rgba(6,34,78,0.45)); }
.hero-shade { background:
  linear-gradient(90deg, rgba(6,34,78,0.78) 0%, rgba(6,34,78,0.4) 40%, rgba(6,34,78,0) 75%),
  linear-gradient(0deg, rgba(6,34,78,0.85) 0%, rgba(6,34,78,0) 40%); }
@media (max-width: 860px) { .hero-shade { background: linear-gradient(0deg, rgba(6,34,78,0.92) 0%, rgba(6,34,78,0.55) 45%, rgba(6,34,78,0.2) 75%, rgba(6,34,78,0.45) 100%); } }

/* margini tra sezioni ridotti */
.sec { padding: clamp(48px, 6vw, 80px) 0; }
.sec-tight { padding-block: clamp(20px, 3vw, 36px) clamp(48px, 6vw, 72px); }
.feature-video { padding-bottom: 0; }
.social-sec { padding-top: clamp(16px, 2vw, 28px); }
.gallery-sec { padding-bottom: clamp(48px, 6vw, 72px); }
.numbers { padding: clamp(60px, 7vw, 90px) 0; }
.patron-band { padding: clamp(60px, 8vw, 110px) 0; }
.head { margin-bottom: clamp(24px, 3.5vw, 40px); }

/* "Durante il torneo": mascotte rovesciata grande a sinistra */
.app { grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); overflow: visible; padding-left: clamp(24px, 3vw, 40px); }
.app-mascot { width: clamp(260px, 30vw, 420px); height: auto; margin: -70px 0 -50px -30px; filter: none; justify-self: start; }
.app h2 { max-width: 20ch; }
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; padding-bottom: clamp(32px, 5vw, 56px); margin-top: 70px; }
  .app-mascot { width: min(300px, 78vw); margin: -110px auto -10px; justify-self: center; }
}

/* patrocinio Comune di Tortoreto, tra "11 campi" e i villaggi */
.comune { display: flex; flex-direction: column; align-items: center; gap: 16px; margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; }
.comune img { height: clamp(110px, 12vw, 150px); width: auto; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35)); }
.comune .patron-label { color: #fff; }
@media (max-width: 560px) { .comune .patron-label { font-size: 0.72rem; letter-spacing: 0.12em; } .comune .patron-label::before, .comune .patron-label::after { width: 18px; } }
.app-mascot { filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.35)); }

/* galleria 2026: card sfalsate/inclinate (coverflow) */
.cf { position: relative; }
.cf-stage { position: relative; height: clamp(300px, 40vw, 520px); perspective: 1400px; overflow: hidden; }
.cf-card {
  --d: 0; --a: 0;
  position: absolute; left: 50%; top: 50%; width: clamp(240px, 44vw, 640px); aspect-ratio: 4 / 3; padding: 0; border: 0; cursor: pointer;
  border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
  transform: translate(-50%, -50%) translateX(calc(var(--d) * 34%)) translateZ(calc(var(--a) * -180px)) rotateY(calc(var(--d) * -28deg)) rotateZ(calc(var(--d) * 2deg));
  transition: transform .8s var(--ease), opacity .6s, filter .6s; filter: brightness(calc(1 - var(--a) * 0.18)) saturate(calc(1 - var(--a) * 0.15));
}
.cf-card img { width: 100%; height: 100%; object-fit: cover; }
.cf-card.is-center { cursor: zoom-in; outline: 3px solid var(--lime); outline-offset: -3px; }
.cf-cap { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(6,34,78,0.75); backdrop-filter: blur(8px); font-weight: 800; font-size: 0.85rem; opacity: 0; transform: translateY(8px); transition: opacity .4s .2s, transform .4s .2s; }
.cf-card.is-center .cf-cap { opacity: 1; transform: none; }
.cf-ui { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; }
.cf-ui button { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.06); cursor: pointer; transition: background-color .2s, color .2s; }
.cf-ui button:hover { background: var(--lime); color: #071108; border-color: var(--lime); }
.cf-ui svg { width: 20px; height: 20px; }
.cf-count { font-weight: 800; font-variant-numeric: tabular-nums; min-width: 60px; text-align: center; }
.cf-count b { color: var(--lime); }
@media (max-width: 560px) {
  .cf-card { width: 74vw; transform: translate(-50%, -50%) translateX(calc(var(--d) * 42%)) translateZ(calc(var(--a) * -160px)) rotateY(calc(var(--d) * -30deg)); }
}

/* smartphone: niente "Scopri l'evento" nell'header, testo WhatsApp centrato nella barra in basso */
@media (max-width: 860px) {
  .hero .hero-content .hero-cta .btn-glass { display: none; }
  .dock .dock-wa { justify-content: center; text-align: center; }
}

/* smartphone: We Are Eurocup grande sopra, Team Wear | Nike sotto più piccolo */
@media (max-width: 860px) {
  .hero-logos { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-logos .logo-div { display: none; }
  .hero-logos .hero-logo { width: min(78vw, 320px); }
  .hero-tw { height: clamp(34px, 10vw, 46px); }
}

/* galleria 2026: foto Facebook (417px) → card più compatte per restare nitide */
.cf-card { width: clamp(240px, 34vw, 480px); }
.cf-stage { height: clamp(280px, 30vw, 420px); }
.cf-card img { image-rendering: auto; }
.cf-card[data-portrait] { aspect-ratio: 3 / 4; width: clamp(180px, 22vw, 300px); }
@media (max-width: 560px) { .cf-card { width: 74vw; } .cf-card[data-portrait] { width: 56vw; } }
.lightbox img { max-width: min(92vw, 834px); max-height: 80vh; }
.cf-card { transition: transform .6s var(--ease), opacity .45s, filter .45s; }

/* strisce tricolore: sotto la barra del menu e tra header e sezione patrocinio */
.nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: linear-gradient(90deg, var(--green) 0 33.33%, #fff 33.33% 66.66%, var(--red) 66.66%); }
.hero::after { content: ""; position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--green) 0 33.33%, #fff 33.33% 66.66%, var(--red) 66.66%); }
.hero-bar { margin-bottom: 5px; }

/* ===== CLAIM "Play a different tournament.... Play Futsal Eurocup!" ===== */
.claim { position: relative; overflow: hidden; padding: clamp(70px, 9vw, 120px) 0; background:
  radial-gradient(60% 80% at 50% 50%, rgba(193,255,114,0.16), transparent 70%), var(--bg-2); isolation: isolate; }
.claim-ribbon { position: absolute; left: -5%; right: -5%; z-index: -1; overflow: hidden; }
.claim-ribbon.r1 { top: 18px; transform: rotate(-3deg); background: var(--lime); color: #071108; box-shadow: 0 0 40px rgba(193,255,114,0.35); }
.claim-ribbon.r2 { bottom: 18px; transform: rotate(2.5deg); background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.55); border-block: 1px solid rgba(255,255,255,0.15); }
.cr-track { display: flex; align-items: center; gap: 22px; width: max-content; padding: 12px 0; animation: cr 26s linear infinite; }
.r2 .cr-track { animation-direction: reverse; animation-duration: 32s; }
.cr-track span { font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(0.9rem, 1.6vw, 1.15rem); letter-spacing: 0.02em; white-space: nowrap; }
.cr-track b { font-size: 0.9rem; }
@keyframes cr { to { transform: translateX(-50%); } }

.claim-in { text-align: center; }
.claim-txt { margin: 0; display: grid; gap: 4px; font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 0.95; letter-spacing: -0.03em; }
.cl-1 { font-size: clamp(1.8rem, 5.4vw, 4.4rem); color: #fff; text-shadow: 0 6px 40px rgba(0,0,0,0.35); }
.cl-2 { font-size: clamp(2.4rem, 7.6vw, 6.4rem); }
.claim-txt .w { display: inline-block; opacity: 0; transform: translateY(60%) rotate(4deg) scale(0.9); filter: blur(8px);
  transition: opacity .7s var(--ease), transform .8s cubic-bezier(.2,1.4,.4,1), filter .7s var(--ease); transition-delay: calc(var(--i) * 90ms); }
.cl-2 .w { transition-delay: calc(500ms + var(--i) * 120ms); }
.claim-txt.in .w { opacity: 1; transform: none; filter: none; }
.dots { color: var(--lime); }
/* testo lime con riflesso di luce che passa */
.hl { color: var(--lime); background: linear-gradient(100deg, var(--lime) 40%, #ffffff 50%, var(--lime) 60%) 200% 0 / 250% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; filter: drop-shadow(0 0 22px rgba(193,255,114,0.45)); }
.claim-txt.in .hl { animation: shine 3.2s ease-in-out 1.6s infinite; }
@keyframes shine { 0% { background-position: 200% 0; } 60%, 100% { background-position: -60% 0; } }
@media (max-width: 560px) { .claim { padding: 80px 0; } .claim-ribbon.r1 { top: 10px; } .claim-ribbon.r2 { bottom: 10px; } }
@media (prefers-reduced-motion: reduce) { .claim-txt .w { opacity: 1; transform: none; filter: none; } }
.hl { background: linear-gradient(100deg, var(--lime) 0 42%, #ffffff 50%, var(--lime) 58% 100%); background-size: 300% 100%; background-repeat: repeat-x; background-position: 0 0; }
@keyframes shine { 0% { background-position: 0 0; } 60%, 100% { background-position: -150% 0; } }
.claim-txt.in .hl { animation: shine 3.4s ease-in-out 1.8s infinite; }
.hl { -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* claim verde: niente riflesso, testo sempre pieno con pulsazione neon */
.hl, .claim-txt.in .hl { background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: var(--lime); color: var(--lime); filter: none; animation: none; }
.claim-txt.in .cl-2 { animation: neon 2.4s ease-in-out 1.4s infinite; }
@keyframes neon {
  0%, 100% { text-shadow: 0 0 6px rgba(193,255,114,0.55), 0 0 18px rgba(193,255,114,0.35), 0 0 40px rgba(193,255,114,0.2); }
  50% { text-shadow: 0 0 10px rgba(220,255,170,0.95), 0 0 30px rgba(193,255,114,0.85), 0 0 70px rgba(193,255,114,0.6), 0 0 120px rgba(193,255,114,0.35); }
}
.cl-2 { text-shadow: 0 0 6px rgba(193,255,114,0.55), 0 0 18px rgba(193,255,114,0.35); }

/* smartphone: loghi centrati e più grandi */
@media (max-width: 860px) {
  .hero-logos { align-items: center; width: 100%; gap: 14px; }
  .hero-logos .hero-logo { width: min(90vw, 380px); }
  .hero-tw { height: clamp(46px, 13vw, 60px); }
}

/* smartphone: sfumatura scura dall'alto fino al logo Nike + logo Nike più grande */
@media (max-width: 860px) {
  .hero-tw { height: clamp(58px, 17vw, 76px); }
  .hero-shade { background:
    linear-gradient(180deg, rgba(6,34,78,0.97) 0%, rgba(6,34,78,0.9) 22%, rgba(6,34,78,0.6) 32%, rgba(6,34,78,0) 42%),
    linear-gradient(0deg, rgba(6,34,78,0.92) 0%, rgba(6,34,78,0.55) 45%, rgba(6,34,78,0.2) 75%); }
}
@media (max-width: 860px) { .hero-mascot-m { margin: 6px auto 4px; height: clamp(220px, 32svh, 300px); } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.faq-head .btn { margin-top: 26px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s; }
.faq-item[open] { border-color: rgba(193,255,114,0.45); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 800; font-size: 1.02rem; min-height: 56px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: rgba(193,255,114,0.12); color: var(--lime); font-size: 1.3rem; font-weight: 700; transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--muted); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* SEO: senza JavaScript il contenuto resta visibile (le animazioni partono solo se JS è attivo) */
html:not(.js) .reveal, html:not(.js) .claim-txt .w { opacity: 1 !important; transform: none !important; filter: none !important; }
/* titoli del footer: h3 con lo stesso aspetto dei precedenti h4 */
.foot h3.foot-h { margin: 0 0 12px; color: #fff; font-size: 0.8rem; font-weight: 700; font-style: normal; text-transform: uppercase; letter-spacing: 0.14em; line-height: 1.3; }

/* ===== SPLASH (intro): logo We Are Eurocup + caricamento con barra tricolore ===== */
.splash { display: none; }
html.js.splash-on { overflow: hidden; }
html.js .splash { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: radial-gradient(70% 60% at 50% 45%, #1655a6 0%, #0a3a7a 55%, #062a5a 100%);
  transition: opacity .55s var(--ease), transform .7s var(--ease); }
html.splash-seen .splash { display: none; }
.splash.out { opacity: 0; transform: translateY(-4%); pointer-events: none; }
.splash-in { display: grid; justify-items: center; gap: 26px; }
.splash-logo { width: min(72vw, 420px); height: auto; filter: drop-shadow(0 0 30px rgba(255,255,255,0.25));
  animation: introLogo 1.1s var(--ease) both, introGlow 2.4s ease-in-out 1.1s infinite; }
.splash-bar { position: relative; width: min(62vw, 340px); height: 8px; border-radius: 8px; overflow: hidden;
  background: rgba(255,255,255,0.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); animation: introUp .8s var(--ease) .25s both; }
.splash-bar i { position: absolute; inset: 0; transform: scaleX(0); transform-origin: left center;
  background: linear-gradient(90deg, var(--green) 0 33.33%, #fff 33.33% 66.66%, var(--red) 66.66%); background-size: min(62vw, 340px) 100%;
  box-shadow: 0 0 14px rgba(255,255,255,0.45); }
.splash-pct { font-weight: 800; font-size: 0.8rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.7); font-variant-numeric: tabular-nums; animation: introUp .8s var(--ease) .35s both; }
@keyframes introLogo { from { opacity: 0; transform: scale(0.82) translateY(14px); filter: blur(8px); } }
@keyframes introGlow { 50% { filter: drop-shadow(0 0 34px rgba(255,255,255,0.5)) drop-shadow(0 0 60px rgba(193,255,114,0.25)); } }
@keyframes introUp { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .splash-logo, .splash-bar, .splash-pct { animation: none; } }

/* splash: la pennellata tricolore del logo si "dipinge" col caricamento */
.splash-logo { position: relative; width: min(78vw, 460px); aspect-ratio: 467 / 198; height: auto; filter: none; animation: introLogo 1s var(--ease) both; }
.splash-logo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.sl-txt { filter: drop-shadow(0 0 26px rgba(255,255,255,0.28)); }
.sl-ghost { opacity: 0.16; filter: grayscale(1) brightness(2); }
.sl-brush { clip-path: inset(0 100% 0 0); filter: drop-shadow(0 0 10px rgba(255,255,255,0.35)); }
.splash-in { gap: 0; }

/* striscia tricolore della card "Risultati e classifiche": segue gli angoli arrotondati */
.app::before { inset: 0; width: auto; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, var(--green) 0 33.33%, #fff 33.33% 66.66%, var(--red) 66.66%);
  -webkit-mask: linear-gradient(90deg, #000 6px, transparent 6px); mask: linear-gradient(90deg, #000 6px, transparent 6px); }

/* "Dal 2010" in verde lime come i pulsanti */
.hero-sub .hs-year { color: var(--lime); font-weight: 800; }

/* cornice verde lime su tutte le card, come la foto in primo piano della galleria */
.card, .cat-grid li, .loc-split div, .yt, .yt-feature, .app, .sp-cell, .contact-card, .doc-list a,
.soc, .village, .faq-item, .loc-slider, .intro-media figure {
  border: 3px solid var(--lime);
}
.village .yt { border-width: 2px; }
a.sp-cell:hover, .sp-cell:hover, .card:hover, .soc:hover, .faq-item:hover, .doc-list a:hover, .cat-grid li:hover { border-color: var(--lime); }

/* Istanty: Official Awards & Digital Partner */
.sp-istanty { height: 190px; }
.sp-istanty img { max-height: 150px; max-width: 70%; }
.sp-note { margin: 12px 0 0; text-align: center; font-weight: 700; font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); }
.sp-3 { grid-template-columns: repeat(3, minmax(0, 290px)); justify-content: center; }
@media (max-width: 860px) {
  .sp-wall.sp-3 { grid-template-columns: 1fr 1fr; }
  .sp-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 7px); }
  .sp-istanty { height: 160px; }
  .sp-istanty img { max-height: 124px; }
}
.foot-credit { font-size: 0.85rem; color: var(--muted); }
.foot-credit a { color: var(--lime); font-weight: 800; }
.foot-credit a:hover { text-decoration: underline; }

/* card sponsor in evidenza: logo + pulsante, tutta la card cliccabile */
.sp-link { position: relative; height: auto !important; min-height: 0; padding: 26px 24px 24px; gap: 18px; align-content: center; cursor: pointer; }
.sp-link img { max-height: 84px; }
.sp-istanty.sp-link img { max-height: 140px; }
.sp-btn { min-height: 46px; padding: 0 22px; font-size: 0.88rem; }
.sp-btn svg { width: 18px; height: 18px; }
.sp-btn::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.sp-btn, .sp-btn:hover, .sp-link:hover .sp-btn { position: static; transform: none; }
.sp-link:hover .sp-btn { box-shadow: 0 14px 34px -8px rgba(193, 255, 114, 0.8); }
@media (max-width: 860px) { .sp-istanty.sp-link img { max-height: 116px; } .sp-link img { max-height: 70px; } }
