/* =========================================================
   Consiglio Giovanile Bellunese ODV — foglio di stile
   Colori e font dalle linee guida del brand.
   ========================================================= */

/* Font salvati nel sito (nessuna richiesta a servizi esterni) */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("fonts/montserrat-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/opensans-latin.woff2") format("woff2");
}

:root {
  /* Palette ufficiale */
  --cerulean: #0B4074;   /* Dark Cerulean */
  --steel:    #3E75AB;   /* Steel Blue */
  --brass:    #97AA44;   /* Brass */
  --gold:     #E4B949;   /* Maximum Yellow Red */
  --ochre:    #CC9A67;   /* Brown Yellow */

  /* Derivati */
  --cerulean-deep: #072C52;
  --ink:    #13233A;
  --muted:  #4A5B72;
  --line:   #DDE5EF;
  --tint:   #F3F7FB;
  --sky:    #E6EFF8;
  --white:  #FFFFFF;

  --font-head: "Montserrat", "Proxima Nova", Arial, sans-serif;
  --font-body: "Open Sans", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 32px);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgb(11 64 116 / .06), 0 12px 32px -12px rgb(11 64 116 / .18);
  --shadow-lg: 0 2px 4px rgb(11 64 116 / .06), 0 28px 60px -20px rgb(11 64 116 / .35);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font: 400 1.0625rem/1.7 var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--cerulean);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 1.3rem + 3.9vw, 4.1rem); text-wrap: pretty; }
h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--white); color: var(--cerulean); padding: 10px 16px; border-radius: 8px;
  font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  font: 700 .78rem/1.3 var(--font-head);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 18px;
}
.eyebrow-light { color: var(--gold); }

.intro { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--muted); max-width: 46ch; }

/* ---------- Bottoni e link ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 24px;
  border: 2px solid transparent; border-radius: 999px;
  font: 700 .97rem/1.2 var(--font-head);
  text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, background-color .2s, color .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: var(--gold); color: var(--cerulean-deep); box-shadow: 0 8px 20px -10px rgb(228 185 73 / .9); }
.btn-gold:hover { background: #EDC765; }
.btn-ghost { border-color: rgb(255 255 255 / .55); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--cerulean); border-color: var(--white); }
.btn-lg { min-height: 56px; padding: 14px 32px; font-size: 1.05rem; }

.text-link {
  display: inline-flex; align-items: center; gap: .4em;
  font: 700 1rem/1.3 var(--font-head); color: var(--cerulean);
  text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 3px;
}
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
/* Sfondo sfocato su uno pseudo-elemento: un backdrop-filter sull'header
   intrappolerebbe il menu mobile (position: fixed) dentro l'header. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgb(255 255 255 / .92);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgb(11 64 116 / .5); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-symbol { width: 50px; height: auto; }
.brand-name { display: flex; flex-direction: column; font-family: var(--font-head); line-height: 1.05; }
.brand-name span { font-weight: 700; font-size: .86rem; color: var(--steel); letter-spacing: -.005em; }
.brand-name strong { font-weight: 800; font-size: 1.28rem; color: var(--cerulean); text-transform: uppercase; letter-spacing: .005em; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; }
.site-nav ul a {
  position: relative; display: block; padding: 6px 0;
  font: 600 .95rem/1.2 var(--font-head); color: var(--ink); text-decoration: none;
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.site-nav ul a:hover::after, .site-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav ul a[aria-current="page"] { color: var(--cerulean); }
.site-nav .btn { min-height: 44px; padding: 10px 20px; }

.nav-toggle {
  display: none; width: 48px; height: 48px; margin-right: -8px;
  border: 0; background: none; border-radius: 12px;
  align-items: center; justify-content: center;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 24px; height: 2.5px; border-radius: 2px; background: var(--cerulean);
  transition: transform .3s ease, opacity .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1140px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 32px;
    padding: 28px var(--gutter) 40px;
    background: var(--white);
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul li { border-bottom: 1px solid var(--line); }
  .site-nav ul a { padding: 18px 0; font-size: 1.35rem; font-weight: 700; }
  .site-nav ul a::after { display: none; }
  .site-nav ul a[aria-current="page"] { color: var(--steel); }
  .site-nav .btn { min-height: 56px; font-size: 1.05rem; }
  html.nav-open { overflow: hidden; }
}
@media (max-width: 400px) {
  .brand-symbol { width: 42px; }
  .brand-name span { font-size: .76rem; }
  .brand-name strong { font-size: 1.1rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 10%, rgb(62 117 171 / .55), transparent 60%),
    linear-gradient(160deg, var(--cerulean) 0%, var(--cerulean-deep) 100%);
  color: var(--white);
  padding: clamp(48px, 7vw, 96px) 0 clamp(90px, 11vw, 150px);
}
.hero-path { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; color: rgb(255 255 255 / .05); }
.hero-grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 .hl { color: var(--gold); }
.hero-lead { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); color: rgb(255 255 255 / .85); max-width: 34ch; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-media { position: relative; padding: 0 0 56px 40px; }
.hero-photo { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-main { aspect-ratio: 4 / 3.4; transform: rotate(1.2deg); }
.hero-photo-small {
  position: absolute; left: 0; bottom: 0; width: 52%; aspect-ratio: 3 / 2;
  border: 6px solid var(--white); transform: rotate(-2.5deg);
}
.hero-dot {
  position: absolute; right: -14px; top: -14px; width: 64px; height: 64px; border-radius: 50%;
  background: var(--gold); z-index: -1;
}
.hero-ridge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(50px, 8vw, 120px); }
.ridge-back { fill: var(--brass); opacity: .9; }
.ridge-front { fill: var(--white); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; padding-left: 24px; padding-bottom: 44px; }
  .hero-dot { width: 48px; height: 48px; right: -8px; top: -10px; }
}
@media (max-width: 480px) {
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Sezioni ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tint { background: var(--tint); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head h2 { margin: 0; }

/* Chi siamo (teaser) */
.about-teaser { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.about-mark {
  width: clamp(150px, 22vw, 260px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; background: var(--sky);
}
.about-mark img { width: 64%; }
.about-teaser .intro { margin-bottom: 26px; }
@media (max-width: 640px) {
  .about-teaser { grid-template-columns: 1fr; }
}

/* Cosa facciamo */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 12px; }
.pillar {
  position: relative; background: var(--white); border-radius: var(--radius); padding: 30px 26px 28px;
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.pillar::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--accent); }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pillar-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 22px;
  background: color-mix(in srgb, var(--accent) 18%, white); color: var(--cerulean);
}
.pillar-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar-num { font: 700 .72rem/1 var(--font-head); letter-spacing: .14em; color: var(--muted); margin-bottom: 10px; }
.pillar h3 { margin-bottom: 10px; }
.pillar p:last-child { color: var(--muted); margin: 0; font-size: 1rem; }
@media (max-width: 1000px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; gap: 14px; } }

/* Progetto in evidenza */
.feature {
  display: grid; grid-template-columns: 1fr 1.1fr; overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(150deg, var(--cerulean), var(--cerulean-deep));
  color: var(--white); box-shadow: var(--shadow-lg);
  margin-bottom: 28px;
}
.feature-copy { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.feature-title { color: var(--white); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 800; letter-spacing: -.025em; }
.feature-copy p:not(.eyebrow) { color: rgb(255 255 255 / .85); font-size: 1.1rem; max-width: 42ch; margin-bottom: 30px; }
.feature-media { min-height: 300px; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature-media { order: -1; min-height: 0; aspect-ratio: 16 / 10; }
}

/* Carosello progetti */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px;
  padding: 6px 2px 22px; margin: -6px -2px 0;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
  overscroll-behavior-x: contain;
}
.rail:focus-visible { outline-offset: 0; }
.project-card {
  position: relative; scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 24px; min-height: 250px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.project-card .tag {
  align-self: flex-start; margin-bottom: 18px; padding: 6px 12px; border-radius: 999px;
  font: 700 .72rem/1 var(--font-head); letter-spacing: .12em;
  color: var(--cerulean-deep); background: color-mix(in srgb, var(--accent) 28%, white);
}
.project-card h3 { margin-bottom: 10px; }
.project-card h3 a { text-decoration: none; }
.project-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* tutta la card cliccabile */
.project-card p:not(.tag) { color: var(--muted); font-size: 1rem; margin-bottom: 20px; }
.card-arrow {
  margin-top: auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); color: var(--cerulean-deep); font-weight: 700;
  transition: transform .25s ease;
}
.project-card:hover .card-arrow { transform: translateX(6px); }
.project-card:has(a:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }
.project-card a:focus-visible { outline: none; }

.rail-controls { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }
.rail-controls[hidden] { display: none; }
.rail-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid var(--cerulean); background: var(--white); color: var(--cerulean);
  font-size: 1.15rem; font-weight: 700; transition: background-color .2s, color .2s, opacity .2s;
}
.rail-btn:hover:not(:disabled) { background: var(--cerulean); color: var(--white); }
.rail-btn:disabled { opacity: .3; cursor: default; }
@media (max-width: 1000px) { .rail { grid-auto-columns: calc((100% - 20px) / 2.1); } }
@media (max-width: 600px) {
  .rail { grid-auto-columns: 84%; gap: 14px; }
  .rail-controls { display: none; }
}

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden;
  background: var(--gold);
  padding: clamp(56px, 8vw, 96px) 0;
}
.cta::before {
  content: ""; position: absolute; right: -6%; bottom: -1px; width: min(640px, 80%); aspect-ratio: 640 / 150;
  background: var(--ochre); opacity: .35;
  clip-path: polygon(0 100%, 22% 30%, 38% 62%, 58% 0, 78% 55%, 88% 35%, 100% 70%, 100% 100%);
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.cta h2 { margin: 0; color: var(--cerulean-deep); }
.cta .btn-gold { background: var(--cerulean); color: var(--white); box-shadow: 0 12px 28px -12px rgb(7 44 82 / .7); }
.cta .btn-gold:hover { background: var(--cerulean-deep); }

/* ---------- Footer ---------- */
.site-footer { background: var(--cerulean-deep); color: rgb(255 255 255 / .78); padding: clamp(56px, 7vw, 88px) 0 28px; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: .9fr .9fr 1.3fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgb(255 255 255 / .14); }
.footer-logo { display: block; width: 160px; }
.footer-title { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-links li + li { margin-top: 8px; }
.site-footer a { text-decoration: none; transition: color .2s; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-address { display: flex; gap: 10px; align-items: flex-start; color: var(--white); line-height: 1.6; }
.footer-address svg { display: none; }
.footer-map { display: inline-block; margin-top: 12px; font-size: .9rem; font-weight: 600; color: var(--gold); }
.site-footer .footer-map:hover { color: var(--white); }
.footer-bottom { margin: 24px 0 0; font-size: .85rem; color: rgb(255 255 255 / .6); }
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-logo { width: 140px; }
}

/* =========================================================
   Pagine interne
   ========================================================= */

/* ---------- Hero delle pagine ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(90% 120% at 100% 0%, rgb(62 117 171 / .5), transparent 60%),
    linear-gradient(160deg, var(--cerulean) 0%, var(--cerulean-deep) 100%);
  color: var(--white);
  padding: clamp(40px, 6vw, 80px) 0 clamp(84px, 10vw, 136px);
}
.page-hero .hero-path { color: rgb(255 255 255 / .045); }
.page-hero h1 { color: var(--white); margin: 0; max-width: 18ch; }
.page-hero-lead { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); color: rgb(255 255 255 / .85); max-width: 40ch; margin: 18px 0 0; }
.page-hero .eyebrow { margin-bottom: 14px; }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 28px; padding: 0; list-style: none; font-size: .9rem; color: rgb(255 255 255 / .7); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: rgb(255 255 255 / .4); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current] { color: var(--white); font-weight: 600; }

/* ---------- Intro del progetto (Cos'è / Come funziona / Obiettivo) ---------- */
.project-intro h2 { max-width: 22ch; margin-bottom: 40px; }
.details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: detail; }
.detail {
  position: relative; padding: 32px 28px 30px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
  counter-increment: detail;
}
.detail::before {
  content: counter(detail, decimal-leading-zero);
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent, var(--steel)) 24%, white);
  font: 800 .95rem/1 var(--font-head); color: var(--cerulean);
}
.detail h3 { margin-bottom: 12px; }
.detail p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .details { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- Galleria fotografica ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(140px, 16vw, 210px); gap: 12px;
  grid-auto-flow: dense;
  margin-top: clamp(48px, 7vw, 80px);
}
.gallery a { position: relative; display: block; overflow: hidden; border-radius: var(--radius-sm); background: var(--sky); }
.gallery a:nth-child(1), .gallery a:nth-child(11) { grid-column: span 2; grid-row: span 2; } /* foto grandi */
.gallery a:nth-child(7), .gallery a:nth-child(14), .gallery a:nth-child(15) { grid-column: span 2; }  /* foto larghe */
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery a:hover img { transform: scale(1.05); }
.gallery a::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(7 44 82 / .35), transparent 50%);
  opacity: 0; transition: opacity .3s;
}
.gallery a:hover::after { opacity: 1; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; gap: 8px; }
}

.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgb(5 25 46 / .94); color: var(--white);
}
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { grid-column: 2; display: grid; justify-items: center; gap: 14px; padding: 16px; min-width: 0; }
.lightbox img { max-height: calc(100dvh - 120px); width: auto; border-radius: var(--radius-sm); box-shadow: 0 30px 80px rgb(0 0 0 / .5); }
.lightbox figcaption { font-size: .95rem; color: rgb(255 255 255 / .8); text-align: center; }
.lightbox button {
  width: 52px; height: 52px; margin: 12px; border-radius: 50%; border: 0;
  background: rgb(255 255 255 / .12); color: var(--white); font-size: 1.3rem; transition: background-color .2s;
}
.lightbox button:hover { background: rgb(255 255 255 / .25); }
.lightbox .lightbox-close { position: absolute; top: 8px; right: 8px; }
.lightbox .lightbox-prev { grid-column: 1; grid-row: 1; }
.lightbox .lightbox-next { grid-column: 3; grid-row: 1; }
@media (max-width: 640px) {
  .lightbox[open] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; }
  .lightbox figure { grid-column: 1 / -1; grid-row: 1; padding: 64px 8px 0; }
  .lightbox .lightbox-prev { grid-column: 1; grid-row: 2; justify-self: end; }
  .lightbox .lightbox-next { grid-column: 2; grid-row: 2; justify-self: start; }
}

/* ---------- Numeri d'impatto ---------- */
.impact {
  margin-top: clamp(48px, 7vw, 80px); padding: clamp(36px, 5vw, 64px);
  border-radius: calc(var(--radius) + 6px); color: var(--white);
  background:
    radial-gradient(80% 120% at 0% 100%, rgb(62 117 171 / .45), transparent 60%),
    linear-gradient(150deg, var(--cerulean), var(--cerulean-deep));
}
.impact h2 { color: var(--white); margin-bottom: 36px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { padding-top: 22px; border-top: 2px solid rgb(255 255 255 / .18); }
.stat strong { display: block; font: 800 clamp(2.8rem, 2rem + 3vw, 4.4rem)/1 var(--font-head); letter-spacing: -.03em; color: var(--gold); }
.stat span { display: block; margin-top: 10px; font-size: 1.05rem; color: rgb(255 255 255 / .85); }
.impact-note { margin: 32px 0 0; font-size: .88rem; color: rgb(255 255 255 / .6); }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; gap: 6px; } .stat { display: flex; align-items: baseline; gap: 16px; } .stat span { margin: 0; } }

/* ---------- Video / Instagram ---------- */
.media-block {
  display: grid; grid-template-columns: 1fr auto; gap: clamp(28px, 5vw, 64px); align-items: center;
  margin-top: clamp(48px, 7vw, 80px); padding: clamp(28px, 5vw, 56px);
  border-radius: calc(var(--radius) + 6px); background: var(--tint);
}
.media-block h2 { margin-bottom: 12px; }
.media-block p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.reel { width: min(360px, 100%); }
.reel iframe { display: block; width: 100%; aspect-ratio: 9 / 16; min-height: 560px; border: 0; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-lg); }
.reel a { display: inline-block; margin-top: 14px; font-size: .92rem; font-weight: 600; color: var(--cerulean); }
.media-block-cta { grid-template-columns: 1fr auto; }
@media (max-width: 760px) {
  .media-block { grid-template-columns: 1fr; }
  .reel { justify-self: center; }
}

/* ---------- Chi siamo ---------- */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.about-intro h2 { margin-bottom: 20px; }
.about-intro p { font-size: clamp(1.1rem, 1rem + .3vw, 1.25rem); color: var(--muted); margin: 0; }
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3 / 2; transform: rotate(1deg); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .about-intro { grid-template-columns: 1fr; } }

.logo-story { display: grid; grid-template-columns: 1fr minmax(240px, 340px); gap: clamp(28px, 6vw, 80px); align-items: center; margin-bottom: 40px; }
.logo-story p { font-size: 1.15rem; color: var(--muted); max-width: 46ch; margin: 0; }
.logo-badge { aspect-ratio: 1; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-lg); display: grid; place-items: center; }
.logo-badge img { width: 68%; }
.meanings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.meaning { background: var(--white); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); border-top: 5px solid var(--accent); }
.meaning-icon { display: block; width: 56px; height: 40px; margin-bottom: 18px; color: var(--accent); }
.meaning h3 { margin-bottom: 12px; }
.meaning p { margin: 0; color: var(--muted); }
@media (max-width: 860px) {
  .logo-story { grid-template-columns: 1fr; }
  .logo-badge { width: min(240px, 70%); order: -1; }
  .meanings { grid-template-columns: 1fr; gap: 14px; }
}

.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 12px; }
.person { padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.avatar {
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px; border-radius: 50%;
  background: var(--accent); color: var(--cerulean-deep); font: 800 1.2rem/1 var(--font-head);
}
.person-role { display: block; font: 700 .74rem/1.3 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin-bottom: 6px; }
.person h3 { margin: 0; }
@media (max-width: 1000px) { .people { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .people { grid-template-columns: 1fr; gap: 12px; } .person { display: flex; align-items: center; gap: 16px; padding: 20px; } .avatar { margin: 0; flex-shrink: 0; } }

/* ---------- Supportaci ---------- */
.support-row {
  display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(24px, 5vw, 72px); align-items: center;
  padding: clamp(36px, 5vw, 56px) 0;
}
.support-row + .support-row { border-top: 1px solid var(--line); }
.support-row h2 { margin-bottom: 14px; }
.support-row .intro { margin: 0; }
.support-card {
  position: relative; padding: clamp(26px, 4vw, 36px); border-radius: calc(var(--radius) + 4px);
  background: var(--white); box-shadow: var(--shadow-lg); border-top: 5px solid var(--accent, var(--gold));
}
.support-label { display: block; font: 700 .76rem/1.3 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin-bottom: 10px; }
.support-value {
  display: block; font: 700 clamp(1.1rem, .85rem + 1vw, 1.42rem)/1.35 var(--font-head); letter-spacing: .01em;
  color: var(--cerulean); margin-bottom: 20px; overflow-wrap: anywhere; user-select: all;
}
.btn-outline { border-color: var(--cerulean); color: var(--cerulean); background: var(--white); }
.btn-outline:hover { background: var(--cerulean); color: var(--white); }
.copy-feedback { display: inline-block; margin-left: 12px; font-size: .92rem; font-weight: 600; color: #4E6A12; min-height: 1.4em; vertical-align: middle; }
.transfer-details { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.transfer-details dt { font-size: .84rem; color: var(--muted); }
.transfer-details dd { margin: 2px 0 0; font-weight: 600; }
@media (max-width: 860px) { .support-row { grid-template-columns: 1fr; } }

/* ---------- Documenti ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.doc-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: clamp(28px, 4vw, 40px); border-radius: calc(var(--radius) + 4px);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.doc-icon { width: 56px; height: 64px; margin-bottom: 20px; }
.doc-card .small-label { font: 700 .74rem/1.3 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.doc-card h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin: 6px 0 10px; }
.doc-card p { color: var(--muted); margin-bottom: 26px; }
.doc-meta { font-size: .85rem; color: var(--muted); margin-top: 12px; }
.doc-card .btn { margin-top: auto; }
@media (max-width: 760px) { .doc-grid { grid-template-columns: 1fr; } }

/* ---------- Unisciti ---------- */
.join-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.join-option {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 32px 28px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow);
  border-top: 5px solid var(--accent);
}
.join-option .pillar-icon { margin-bottom: 20px; }
.join-option .small-label { font: 700 .74rem/1.3 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.join-option h2 { font-size: 1.6rem; margin: 8px 0 12px; }
.join-option p { color: var(--muted); margin-bottom: 26px; }
.join-option .btn { margin-top: auto; white-space: normal; text-align: center; }
.join-next {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px 48px; align-items: center;
  margin-top: 40px; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius);
  background: var(--sky);
}
.join-next h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); margin: 0; }
.join-next p { margin: 0; color: var(--ink); }
.join-email { margin: 32px 0 0; font-size: 1.05rem; color: var(--muted); }
.join-email a { color: var(--cerulean); font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 1000px) { .join-options { grid-template-columns: 1fr; gap: 14px; } .join-option .btn { align-self: stretch; } }
@media (max-width: 760px) { .join-next { grid-template-columns: 1fr; } }

/* ---------- Scheda progetto in evidenza (Carriera 360°) ---------- */
.project-card-featured {
  background: linear-gradient(150deg, var(--cerulean), var(--cerulean-deep));
  border-color: transparent; color: var(--white);
}
.project-card-featured h3, .project-card-featured h3 a { color: var(--white); }
.project-card-featured p:not(.tag) { color: rgb(255 255 255 / .82); }
.project-card-featured .tag { background: rgb(255 255 255 / .14); color: var(--gold); }

/* ---------- Dicono di noi ---------- */
.press-outlet { font: 800 .76rem/1.2 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--cerulean); }
.press-type {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: 999px;
  font: 700 .72rem/1 var(--font-head); letter-spacing: .04em; color: var(--cerulean-deep);
  background: color-mix(in srgb, var(--steel) 18%, white);
}
.press-type-radio { background: color-mix(in srgb, var(--gold) 32%, white); }
.press-type svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Citazione grande */
.press-quote {
  position: relative; overflow: hidden; margin: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(30px, 4vw, 48px); border-radius: calc(var(--radius) + 6px); color: var(--white);
  background:
    radial-gradient(90% 120% at 100% 0%, rgb(62 117 171 / .5), transparent 60%),
    linear-gradient(150deg, var(--cerulean), var(--cerulean-deep));
}
.press-quote blockquote { margin: 0; }
.press-quote p { font: 800 clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem)/1.08 var(--font-head); letter-spacing: -.025em; margin: 0 0 20px; max-width: 14ch; }
.press-quote p::before { content: "“"; display: block; height: .55em; margin-bottom: 8px; font-size: 2.2em; line-height: 1; color: var(--gold); }
.press-quote figcaption { font-size: .95rem; color: rgb(255 255 255 / .75); }
.press-quote-wide { margin-bottom: 28px; }
.press-quote-wide p { max-width: none; }

/* Elenco compatto (home) */
.press-home { display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px; }
.press-rows { display: grid; gap: 12px; }
.press-row {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: center;
  padding: 20px 22px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow);
  text-decoration: none; transition: transform .25s ease, box-shadow .25s ease;
}
.press-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.press-row-meta { font-size: .85rem; color: var(--muted); }
.press-row-title { grid-column: 1; font: 700 1.05rem/1.35 var(--font-head); color: var(--ink); }
.press-row-arrow {
  grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--sky); color: var(--cerulean); font-weight: 700; transition: background-color .2s, color .2s;
}
.press-row:hover .press-row-arrow { background: var(--cerulean); color: var(--white); }
@media (max-width: 860px) { .press-home { grid-template-columns: 1fr; } }

/* Schede */
.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.press-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.press-card {
  position: relative; display: flex; flex-direction: column;
  padding: 26px 26px 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.section-tint .press-card { border-color: transparent; box-shadow: var(--shadow); }
.press-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.press-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 16px; }
.press-card h3 { font-size: 1.18rem; line-height: 1.3; letter-spacing: -.01em; margin-bottom: 10px; }
.press-card h3 a { text-decoration: none; color: var(--cerulean); }
.press-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* tutta la scheda cliccabile */
.press-card:has(a:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }
.press-card a:focus-visible { outline: none; }
.press-summary { color: var(--muted); font-size: 1rem; margin-bottom: 18px; }
.press-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin: auto 0 0; padding-top: 14px; font-size: .88rem; color: var(--muted); }
.press-cta { font-weight: 700; color: var(--steel); }
.press-list .press-card:first-child { grid-column: 1 / -1; }
.press-list .press-card:first-child h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
@media (max-width: 1000px) { .press-grid { grid-template-columns: 1fr 1fr; } .press-grid .press-card:last-child { grid-column: 1 / -1; } }
@media (max-width: 700px) { .press-grid, .press-list { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- Finestrella email ---------- */
.mail-sheet {
  width: min(480px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: calc(var(--radius) + 6px);
  background: var(--white); color: var(--ink);
  box-shadow: 0 30px 80px -20px rgb(7 44 82 / .55);
  overflow: auto;
}
.mail-sheet::backdrop { background: rgb(7 44 82 / .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.mail-sheet-body { position: relative; padding: 36px 32px 28px; border-top: 6px solid var(--gold); }
.mail-sheet-close {
  position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--tint); color: var(--cerulean); font-size: 1rem; transition: background-color .2s;
}
.mail-sheet-close:hover { background: var(--sky); }
.mail-sheet-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 16px; background: color-mix(in srgb, var(--gold) 25%, white); color: var(--cerulean); }
.mail-sheet-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mail-sheet h2 { font-size: 1.8rem; margin-bottom: 8px; }
.mail-sheet-text { color: var(--muted); margin-bottom: 18px; }
.mail-sheet-field {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 14px 14px 14px 18px; border-radius: var(--radius-sm); background: var(--tint); border: 1px solid var(--line);
}
.mail-sheet-address { font: 700 1.08rem/1.3 var(--font-head); color: var(--cerulean); overflow-wrap: anywhere; user-select: all; }
.mail-sheet-field .btn { min-height: 42px; padding: 8px 18px; font-size: .9rem; }
.mail-sheet-subject { margin-top: 16px; }
.mail-sheet-label { display: block; margin-bottom: 8px; font: 700 .74rem/1.3 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.mail-sheet-subject-text { font-weight: 600; user-select: all; }
.mail-sheet-app { display: inline-block; margin-top: 22px; font-size: .95rem; font-weight: 600; color: var(--steel); }
.mail-sheet-app:hover { color: var(--cerulean); }
.mail-sheet-status { min-height: 1.4em; margin: 10px 0 0; font-size: .9rem; font-weight: 600; color: #4E6A12; }

@media (prefers-reduced-motion: no-preference) {
  .mail-sheet[open] { animation: sheet-pop .32s cubic-bezier(.2, .8, .2, 1); }
  .mail-sheet[open]::backdrop { animation: sheet-fade .32s ease; }
  .mail-sheet.is-closing { animation: sheet-pop .22s ease-in reverse forwards; }
  .mail-sheet.is-closing::backdrop { animation: sheet-fade .22s ease-in reverse forwards; }
}
@keyframes sheet-pop { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes sheet-fade { from { opacity: 0; } }

/* Su telefono: pannello che sale dal basso */
@media (max-width: 640px) {
  .mail-sheet {
    width: 100%; margin: auto 0 0; max-height: 90dvh;
    border-radius: calc(var(--radius) + 6px) calc(var(--radius) + 6px) 0 0;
  }
  .mail-sheet-body { padding: 30px 20px calc(24px + env(safe-area-inset-bottom)); border-top: 0; }
  .mail-sheet-body::before { content: ""; display: block; width: 44px; height: 5px; margin: -14px auto 18px; border-radius: 3px; background: var(--line); }
  .mail-sheet-field .btn { flex: 1 1 100%; }
}
@media (max-width: 640px) and (prefers-reduced-motion: no-preference) {
  .mail-sheet[open] { animation: sheet-up .35s cubic-bezier(.2, .8, .2, 1); }
  .mail-sheet.is-closing { animation: sheet-up .25s ease-in reverse forwards; }
}
@keyframes sheet-up { from { transform: translateY(100%); } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; align-content: center; }

/* ---------- Animazioni di comparsa ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}
@media print {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .site-header, .nav-toggle, .rail-controls, .cta, .hero-ridge, .hero-path { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Base Dolomiti: scheda nei colori del progetto (come i post Instagram) ---------- */
.project-card-base { --accent: #60B030; background: #EC1C74 url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27400%27%20height%3D%27400%27%20viewBox%3D%270%200%20400%20400%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27white%27%20stroke-opacity%3D%27.22%27%20stroke-width%3D%271.6%27%3E%3Cpath%20d%3D%27M-20%2060c60-40%20120%2030%20190%200s120-50%20250%2010%27%2F%3E%3Cpath%20d%3D%27M-20%2095c70-35%20130%2035%20200%205s130-45%20240%2015%27%2F%3E%3Cpath%20d%3D%27M-20%20300c50-30%20110%2020%20170-10s140-40%20270%2020%27%2F%3E%3Cpath%20d%3D%27M-20%20335c60-25%20120%2025%20185-5s135-35%20255%2025%27%2F%3E%3Cpath%20d%3D%27M120%20200c0-40%2040-60%2080-55s70%2040%2060%2075-55%2055-90%2045-50-30-50-65z%27%2F%3E%3Cpath%20d%3D%27M145%20202c2-25%2028-38%2055-34s46%2026%2040%2050-37%2036-60%2030-37-22-35-46z%27%2F%3E%3Cpath%20d%3D%27M170%20204c2-12%2015-18%2028-16s22%2013%2019%2025-18%2017-29%2014-19-11-18-23z%27%2F%3E%3Cpath%20d%3D%27M300%20140c20-30%2070-20%2080%2015s-25%2060-60%2050-40-35-20-65z%27%2F%3E%3Cpath%20d%3D%27M40%20170c25-25%2060-10%2060%2020s-35%2045-55%2030-30-30-5-50z%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / 400px; border-color: transparent; }
.project-card-base .tag { background: #fff; color: #111; border-radius: 4px; }
.project-card-base h3 a { color: #111; }
.project-card-base h3 .hl { background: #fff; padding: 0 .18em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.project-card-base p:not(.tag) { color: #111; }
.project-card-base .card-arrow { background: #111; color: #fff; }

/* Pagina Base Dolomiti: parte alta nei colori del progetto */
.page-hero-base { background: #EC1C74 url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27400%27%20height%3D%27400%27%20viewBox%3D%270%200%20400%20400%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27white%27%20stroke-opacity%3D%27.22%27%20stroke-width%3D%271.6%27%3E%3Cpath%20d%3D%27M-20%2060c60-40%20120%2030%20190%200s120-50%20250%2010%27%2F%3E%3Cpath%20d%3D%27M-20%2095c70-35%20130%2035%20200%205s130-45%20240%2015%27%2F%3E%3Cpath%20d%3D%27M-20%20300c50-30%20110%2020%20170-10s140-40%20270%2020%27%2F%3E%3Cpath%20d%3D%27M-20%20335c60-25%20120%2025%20185-5s135-35%20255%2025%27%2F%3E%3Cpath%20d%3D%27M120%20200c0-40%2040-60%2080-55s70%2040%2060%2075-55%2055-90%2045-50-30-50-65z%27%2F%3E%3Cpath%20d%3D%27M145%20202c2-25%2028-38%2055-34s46%2026%2040%2050-37%2036-60%2030-37-22-35-46z%27%2F%3E%3Cpath%20d%3D%27M170%20204c2-12%2015-18%2028-16s22%2013%2019%2025-18%2017-29%2014-19-11-18-23z%27%2F%3E%3Cpath%20d%3D%27M300%20140c20-30%2070-20%2080%2015s-25%2060-60%2050-40-35-20-65z%27%2F%3E%3Cpath%20d%3D%27M40%20170c25-25%2060-10%2060%2020s-35%2045-55%2030-30-30-5-50z%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / 400px; }
.page-hero-base .hero-path { color: rgb(255 255 255 / .10); }
.page-hero-base h1 { color: #111; }
.page-hero-base h1 .hl { background: #fff; padding: 0 .15em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.page-hero-base .page-hero-lead { color: #111; }
.page-hero-base .ridge-back { fill: #fff; opacity: 1; }
.page-hero-base .ridge-front { fill: #fff; }
.page-hero-base .eyebrow-light, .page-hero-base .breadcrumb, .page-hero-base .breadcrumb a { color: #fff; }
/* Pagina Base Dolomiti: contenuti nello stile dei post */
.base-theme .eyebrow { color: #EC1C74; }
.base-theme h2, .base-theme .detail h3 { color: #111; }
.base-theme .project-intro h2 { max-width: none; }
.base-theme .hl-pink { background: #EC1C74; color: #fff; padding: 0 .15em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.base-theme .detail::before { background: #EC1C74; color: #fff; }
.base-theme .media-block { background: #EC1C74 url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27400%27%20height%3D%27400%27%20viewBox%3D%270%200%20400%20400%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27white%27%20stroke-opacity%3D%27.22%27%20stroke-width%3D%271.6%27%3E%3Cpath%20d%3D%27M-20%2060c60-40%20120%2030%20190%200s120-50%20250%2010%27%2F%3E%3Cpath%20d%3D%27M-20%2095c70-35%20130%2035%20200%205s130-45%20240%2015%27%2F%3E%3Cpath%20d%3D%27M-20%20300c50-30%20110%2020%20170-10s140-40%20270%2020%27%2F%3E%3Cpath%20d%3D%27M-20%20335c60-25%20120%2025%20185-5s135-35%20255%2025%27%2F%3E%3Cpath%20d%3D%27M120%20200c0-40%2040-60%2080-55s70%2040%2060%2075-55%2055-90%2045-50-30-50-65z%27%2F%3E%3Cpath%20d%3D%27M145%20202c2-25%2028-38%2055-34s46%2026%2040%2050-37%2036-60%2030-37-22-35-46z%27%2F%3E%3Cpath%20d%3D%27M170%20204c2-12%2015-18%2028-16s22%2013%2019%2025-18%2017-29%2014-19-11-18-23z%27%2F%3E%3Cpath%20d%3D%27M300%20140c20-30%2070-20%2080%2015s-25%2060-60%2050-40-35-20-65z%27%2F%3E%3Cpath%20d%3D%27M40%20170c25-25%2060-10%2060%2020s-35%2045-55%2030-30-30-5-50z%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / 400px; }
.base-theme .media-block h2, .base-theme .media-block p { color: #111; }
.base-theme .media-block .hl { background: #fff; padding: 0 .15em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.base-theme .media-block .btn { background: #111; color: #fff; border-color: #111; }

/* Riquadro "In arrivo…" di Vivi Belluno, nei colori dell'app */
.vb-banner { background: linear-gradient(135deg, #F26A2E, #C4470B); box-shadow: 0 18px 40px -20px rgb(196 71 11 / .6); }
.vb-banner h2 { color: #12233F; }
.vb-banner p { color: #fff; }
.vb-banner > div:first-child { display: grid; grid-template-columns: auto 1fr; column-gap: clamp(18px, 3vw, 32px); align-items: center; }
.vb-banner .vb-logo { grid-row: 1 / span 2; align-self: stretch; height: 100%; width: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.vb-banner h2 { align-self: end; margin-top: 0; }
.vb-banner p { align-self: start; margin-bottom: 0; }
@media (max-width: 560px) { .vb-banner > div:first-child { grid-template-columns: 1fr; } .vb-banner .vb-logo { grid-row: auto; height: 88px; width: 88px; margin-bottom: 14px; } }
.vb-banner .vb-soon { background: #12233F; color: #fff; border-color: #12233F; cursor: default; }

/* Numeri d'impatto: etichette più leggibili e montagne del sito sullo sfondo */
.impact { position: relative; overflow: hidden; }
.impact::after {
  content: ""; position: absolute; right: -4%; bottom: -1px; width: min(560px, 70%); aspect-ratio: 640 / 150;
  background: #fff; opacity: .07; pointer-events: none;
  clip-path: polygon(0 100%, 22% 30%, 38% 62%, 58% 0, 78% 55%, 88% 35%, 100% 70%, 100% 100%); }
.impact > * { position: relative; z-index: 1; }
.impact h2 { margin-bottom: 44px; }
.impact { text-align: center; }
.stat { padding-top: 0; border-top: 0; }
.stat span { margin-top: 12px; font-size: 1.15rem; font-weight: 600; color: #fff; }
.impact-note { margin-top: 36px; color: rgb(255 255 255 / .72); }
