/* ANSPI Umbria — sito del Comitato Regionale
   Font: solo Arial (brand book ANSPI 2024, par. 5). Colori del marchio: azzurro #1b75bc, verde #006738, rosso #ee1d25.
   Colore del sito: verde acqua. Il logo non si altera mai (par. 6): azzurro su fondo chiaro, bianco su fondo scuro. */

:root {
  --aqua-50: #eefbf9;
  --aqua-100: #d5f5f0;
  --aqua-200: #a9ebe0;
  --aqua-300: #6fdccb;
  --aqua-400: #2fc9b6;
  --aqua-500: #12b09f;
  --aqua-600: #0b8f83;
  --aqua-700: #0a6f67;
  --aqua-800: #07514c;
  --night: #031e21;
  --night-2: #062b2f;
  --ink: #052b2e;
  --muted: #476669;
  --line: rgba(5, 43, 46, .13);
  --line-light: rgba(255, 255, 255, .16);
  --brand-blue: #1b75bc;
  --brand-green: #006738;
  --brand-red: #ee1d25;
  --maxw: 1240px;
  --gutter: clamp(18px, 4vw, 48px);
  --r: 22px;
  --r-lg: 34px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--night); }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: #fff;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--aqua-500); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .site-footer :focus-visible { outline-color: var(--aqua-300); }
::selection { background: var(--aqua-300); color: var(--night); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- transizione tra pagine (browser che la supportano) ---------- */
@media (hover: hover) and (pointer: fine) { @view-transition { navigation: auto; } }
.site-header { view-transition-name: site-header; }

/* ---------- struttura ---------- */
.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }
.section--tint { background: var(--aqua-50); }
.dark { background: var(--night); color: #e6faf7; position: relative; isolation: isolate; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 700; letter-spacing: .24em;
  text-transform: uppercase; color: var(--aqua-700);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.dark .eyebrow, .page-hero .eyebrow { color: var(--aqua-300); }
.display { font-size: clamp(50px, 9.4vw, 150px); line-height: .92; letter-spacing: -.05em; font-weight: 700; }
.h1 { font-size: clamp(42px, 7.4vw, 112px); line-height: .94; letter-spacing: -.045em; font-weight: 700; }
.h2 { font-size: clamp(32px, 4.8vw, 70px); line-height: 1; letter-spacing: -.04em; font-weight: 700; }
.h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
.lead { font-size: clamp(19px, 1.9vw, 26px); line-height: 1.45; color: var(--muted); }
.dark .lead, .page-hero .lead { color: rgba(230, 250, 247, .78); }
.grad { background: linear-gradient(100deg, #fff 10%, var(--aqua-300) 70%, var(--aqua-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- bottoni ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .75em; padding: 1em 1.6em; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; letter-spacing: .01em; text-decoration: none; transition: transform .35s var(--ease), background .3s, box-shadow .35s, border-color .3s, color .3s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
@media (hover: hover) { .btn:hover svg { transform: translateX(4px); } }
.btn--primary { background: var(--aqua-400); color: #02292b; }
@media (hover: hover) { .btn--primary:hover { background: var(--aqua-300); transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(47, 201, 182, .7); } }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); backdrop-filter: blur(8px); }
@media (hover: hover) { .btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); transform: translateY(-2px); } }
.btn--line { color: var(--ink); border-color: var(--line); background: #fff; }
@media (hover: hover) { .btn--line:hover { border-color: var(--aqua-500); color: var(--aqua-700); transform: translateY(-2px); } }
.btn--lg { padding: 1.2em 2em; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; z-index: 100; top: 14px; left: 50%; translate: -50% 0; width: min(1120px, 100% - 24px); height: 62px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 10px 0 24px; border-radius: 999px;
  background: rgba(255, 255, 255, .95); border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 10px 40px -12px rgba(3, 30, 33, .45), 0 1px 0 rgba(255, 255, 255, .6) inset;
  transition: transform .5s var(--ease), box-shadow .4s, background .4s;
}
.site-header.is-hidden { transform: translateY(-140%); }
.brand { display: block; flex: none; line-height: 0; }
.brand img { height: 30px; width: auto; aspect-ratio: 265 / 93; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > li { position: relative; }
.nav a, .nav .nav__btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; border: 0; background: none; text-decoration: none;
  font-size: 14px; font-weight: 700; color: var(--ink); transition: background .25s, color .25s;
}
.nav li:focus-within > .nav__btn { background: var(--aqua-100); color: var(--aqua-800); }
@media (hover: hover) { .nav a:hover, .nav .nav__btn:hover { background: var(--aqua-100); color: var(--aqua-800); } }
.nav .is-current { background: var(--aqua-100); color: var(--aqua-800); }
.nav__btn svg { width: 10px; height: 10px; transition: transform .3s var(--ease); }
.has-sub:focus-within .nav__btn svg, .nav__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
@media (hover: hover) { .has-sub:hover .nav__btn svg { transform: rotate(180deg); } }
.sub {
  position: absolute; top: calc(100% + 14px); left: 50%; translate: -50% 8px; min-width: 270px; padding: 10px; border-radius: 22px; opacity: 0; visibility: hidden; pointer-events: none;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(3, 30, 33, .45); transition: opacity .25s, translate .35s var(--ease), visibility .25s;
}
.sub::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.has-sub:focus-within .sub, .has-sub.is-open .sub { opacity: 1; visibility: visible; pointer-events: auto; translate: -50% 0; }
@media (hover: hover) { .has-sub:hover .sub { opacity: 1; visibility: visible; pointer-events: auto; translate: -50% 0; } }
.sub a { display: flex; width: 100%; border-radius: 14px; padding: 11px 14px; font-weight: 400; }
@media (hover: hover) { .sub a:hover { background: var(--aqua-50); color: var(--aqua-800); } }
.nav a.nav__cta { background: var(--night); color: #fff; margin-left: 6px; }
.nav a.nav__cta.is-current { background: var(--aqua-700); color: #fff; }
@media (hover: hover) { .nav a.nav__cta:hover { background: var(--aqua-700); color: #fff; } }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--night); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: 90; background: var(--night); color: #fff; padding: 104px var(--gutter) 40px; overflow-y: auto;
  clip-path: circle(0 at calc(100% - 44px) 44px); visibility: hidden; transition: clip-path .7s var(--ease), visibility 0s .7s;
}
.mnav.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
.mnav::before { content: ""; position: absolute; inset: auto -20% -30% auto; width: 80vmax; height: 80vmax; background: radial-gradient(closest-side, rgba(47, 201, 182, .32), transparent); pointer-events: none; }
.mnav h2 { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--aqua-300); margin: 28px 0 8px; font-weight: 700; }
.mnav a { display: block; padding: 8px 0; font-size: clamp(26px, 7.5vw, 40px); font-weight: 700; letter-spacing: -.03em; text-decoration: none; line-height: 1.1; opacity: 0; translate: 0 20px; transition: opacity .5s, translate .6s var(--ease), color .2s; }
.mnav.is-open a { opacity: 1; translate: 0; transition-delay: calc(var(--i, 0) * 40ms + 200ms); }
.mnav a.is-current { color: var(--aqua-300); }
@media (hover: hover) { .mnav a:hover { color: var(--aqua-300); } }
body.menu-open { overflow: hidden; }

/* ---------- sfondi animati (aurora + griglia + riflettore) ---------- */
.fx { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.fx .blob { position: absolute; border-radius: 50%; opacity: .55; will-change: transform; }
.fx .b1 { width: 62vmax; height: 62vmax; left: -20vmax; top: -26vmax; background: radial-gradient(closest-side, #12b09f, transparent 72%); animation: drift1 26s ease-in-out infinite alternate; }
.fx .b2 { width: 54vmax; height: 54vmax; right: -18vmax; top: -8vmax; background: radial-gradient(closest-side, #1b75bc, transparent 70%); opacity: .38; animation: drift2 32s ease-in-out infinite alternate; }
.fx .b3 { width: 46vmax; height: 46vmax; left: 28%; bottom: -26vmax; background: radial-gradient(closest-side, #6fdccb, transparent 70%); opacity: .3; animation: drift3 29s ease-in-out infinite alternate; }
.fx .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 20%, transparent 78%); mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 20%, transparent 78%);
}
@keyframes drift1 { to { transform: translate(14vmax, 10vmax) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-12vmax, 14vmax) scale(.9); } }
@keyframes drift3 { to { transform: translate(-16vmax, -8vmax) scale(1.15); } }

/* ---------- hero home ---------- */
.hero { min-height: 100svh; padding: clamp(120px, 16vh, 190px) 0 clamp(36px, 6vh, 70px); display: flex; flex-direction: column; justify-content: center; }
.hero__top { display: flex; flex-direction: column; gap: clamp(22px, 3.2vw, 38px); }
.hero .eyebrow { align-self: flex-start; }
.hero__sub { font-size: clamp(15px, 1.6vw, 20px); letter-spacing: .34em; text-transform: uppercase; color: var(--aqua-200); font-weight: 700; }
.hero__sub i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--aqua-400); margin: 0 .9em; vertical-align: middle; }
.banner {
  position: relative; margin-top: clamp(34px, 6vh, 70px); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-light);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .04) inset; background: rgba(255, 255, 255, .05);
}
.banner img { width: 100%; }
.hero__scroll { margin-top: 26px; display: flex; align-items: center; gap: 14px; color: rgba(230, 250, 247, .6); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; }

/* titolo con parole che si rivelano */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; }
.split .w > span { animation: word-up .75s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes word-up { from { transform: translateY(112%); } }

/* ---------- sezioni home ---------- */
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 64px); }
.head .h2 { max-width: 20ch; margin-top: 18px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.card {
  position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4.2; isolation: isolate; background: var(--night-2);
  transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s;
}
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(3, 30, 33, .88)); z-index: 1; }
@media (hover: hover) { .card:hover { box-shadow: 0 40px 80px -30px rgba(10, 111, 103, .55); } }
@media (hover: hover) { .card:hover img { transform: scale(1.08); } }
.card figcaption { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; color: #fff; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.card b { font-size: clamp(20px, 2.1vw, 30px); letter-spacing: -.02em; text-transform: uppercase; line-height: 1; }
.card small { font-size: 12px; letter-spacing: .2em; color: var(--aqua-300); font-weight: 700; }
.card::before { content: ""; position: absolute; z-index: 2; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--c, var(--aqua-400)); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
@media (hover: hover) { .card:hover::before { transform: scaleX(1); } }
.cards-cta { margin-top: clamp(28px, 4vw, 48px); text-align: center; }   /* pulsante sotto le schede centrato, come il titolo sopra (30/11/2026) */

.roots { padding-block: clamp(80px, 12vw, 170px); }
.roots__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.roots .h2 { margin-top: 22px; }
.roots .h2 em { font-style: normal; color: var(--aqua-300); }
.roots__note { margin-top: clamp(30px, 4vw, 52px); display: flex; gap: 18px; align-items: center; padding: 20px 22px; border: 1px solid var(--line-light); border-radius: var(--r); background: rgba(255, 255, 255, .04); text-decoration: none; transition: border-color .3s, background .3s, transform .4s var(--ease); max-width: 520px; }
@media (hover: hover) { .roots__note:hover { border-color: var(--aqua-400); background: rgba(47, 201, 182, .08); transform: translateY(-3px); } }
.roots__note strong { font-size: clamp(34px, 4vw, 52px); letter-spacing: -.05em; color: var(--aqua-300); line-height: 1; }
.roots__note span { font-size: 15px; line-height: 1.4; color: rgba(230, 250, 247, .8); }
.values li { display: flex; align-items: baseline; gap: 18px; padding: clamp(14px, 1.8vw, 22px) 0; border-top: 1px solid var(--line-light); transition: color .3s; }
.values li:last-child { border-bottom: 1px solid var(--line-light); }
.values small { font-size: 12px; color: var(--aqua-300); font-weight: 700; letter-spacing: .2em; min-width: 2.4em; }
.values b { font-size: clamp(30px, 4.6vw, 66px); line-height: 1; letter-spacing: -.045em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.2px rgba(230, 250, 247, .7); transition: color .5s, -webkit-text-stroke-color .5s; }
@media (hover: hover) { .values li:hover b { color: var(--aqua-300); -webkit-text-stroke-color: var(--aqua-300); } }
.values--light li { border-color: var(--line); }
.values--light small { color: var(--aqua-700); }
.values--light b { -webkit-text-stroke-color: rgba(5, 43, 46, .55); }
@media (hover: hover) { .values--light li:hover b { color: var(--aqua-600); -webkit-text-stroke-color: var(--aqua-600); } }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.4vw, 18px); }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 46px; min-height: 190px; padding: 24px 26px; border-radius: var(--r);
  background: #fff; border: 1px solid var(--line); text-decoration: none; overflow: hidden; transition: transform .5s var(--ease), border-color .3s, box-shadow .5s;
}
.tile::before { content: ""; position: absolute; inset: auto -30% -90% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--aqua-300), transparent); opacity: 0; transition: opacity .5s, transform .8s var(--ease); transform: scale(.6); }
@media (hover: hover) { .tile:hover { transform: translateY(-6px); border-color: var(--aqua-400); box-shadow: 0 30px 60px -28px rgba(10, 111, 103, .5); } }
@media (hover: hover) { .tile:hover::before { opacity: .6; transform: scale(1); } }
.tile > * { position: relative; }
.tile small { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--aqua-700); font-weight: 700; display: flex; justify-content: space-between; }
.tile b { font-size: clamp(21px, 2vw, 27px); letter-spacing: -.025em; line-height: 1.1; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.tile svg { width: 22px; height: 22px; flex: none; color: var(--aqua-600); transition: transform .5s var(--ease); }
@media (hover: hover) { .tile:hover svg { transform: translate(4px, -4px); } }

.where { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 80px); align-items: stretch; }
.address { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.25; letter-spacing: -.02em; font-weight: 700; margin-top: 22px; }
.chips { display: flex; flex-direction: column; gap: 10px; margin: 28px 0; }
.chip { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; background: #fff; font-weight: 700; transition: border-color .3s, transform .4s var(--ease), background .3s; word-break: break-word; }
@media (hover: hover) { .chip:hover { border-color: var(--aqua-500); background: var(--aqua-50); transform: translateX(6px); } }
.chip svg { width: 22px; height: 22px; color: var(--aqua-600); flex: none; }
.chip small { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.map { position: relative; min-height: 380px; border-radius: var(--r-lg); overflow: hidden; background: var(--night); isolation: isolate; border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: #fff; }
.map__ph .fx { z-index: -1; }
.map__ph p { max-width: 34ch; margin: 14px auto 22px; font-size: 15px; color: rgba(230, 250, 247, .75); }
.pin { width: 54px; height: 54px; margin-inline: auto; color: var(--aqua-300); filter: drop-shadow(0 0 18px rgba(47, 201, 182, .8)); animation: bob 3.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: #cfeeea; padding: clamp(60px, 8vw, 110px) 0 36px; position: relative; overflow: hidden; isolation: isolate; }
.site-footer .fx .grid { -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 100%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 90% 90% at 50% 100%, #000 10%, transparent 75%); }
.foot { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); }
.foot__logo { width: clamp(150px, 16vw, 210px); aspect-ratio: 265 / 93; margin-bottom: 22px; }
.foot__brand p { font-size: 15px; line-height: 1.65; max-width: 34ch; }
.foot h3 { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--aqua-300); margin-bottom: 16px; font-weight: 700; }
.foot li + li { margin-top: 8px; }
.foot a { text-decoration: none; color: #e6faf7; font-size: 15px; transition: color .2s; }
@media (hover: hover) { .foot a:hover { color: var(--aqua-300); } }
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .4s var(--ease); }
@media (hover: hover) { .social a:hover { background: var(--aqua-400); border-color: var(--aqua-400); transform: translateY(-4px); } }
@media (hover: hover) { .social a:hover svg { color: #02292b; } }
.social svg { width: 20px; height: 20px; color: #fff; transition: color .3s; }
.foot__bottom { margin-top: clamp(40px, 6vw, 80px); padding-top: 22px; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between; font-size: 13px; color: rgba(207, 238, 234, .65); }
.foot__word { font-size: min(9.2vw, 150px); line-height: .85; font-weight: 700; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .12); margin-top: clamp(30px, 5vw, 60px); user-select: none; white-space: nowrap; overflow: hidden; }

/* ---------- pagine interne ---------- */
.page-hero { padding: clamp(130px, 19vh, 210px) 0 clamp(56px, 8vw, 110px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; letter-spacing: .08em; color: rgba(230, 250, 247, .6); margin-bottom: 26px; }
.crumbs a { text-decoration: none; transition: color .2s; }
@media (hover: hover) { .crumbs a:hover { color: var(--aqua-300); } }
.crumbs span[aria-current] { color: var(--aqua-300); }
.page-hero .h1 { max-width: 16ch; }
.page-hero .lead { margin-top: 26px; max-width: 46ch; }
.page-hero .btn-row { margin-top: 34px; }

.prose { max-width: 66ch; }
.prose p { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.75; color: #1f4549; }
.prose p + p { margin-top: 1.25em; }
.prose p:first-of-type::first-letter { font-size: 3.7em; float: left; line-height: .82; padding: .06em .12em 0 0; font-weight: 700; color: var(--aqua-600); letter-spacing: -.04em; }
.prose strong { color: var(--aqua-700); }
.prose .yr { font-weight: 700; color: var(--aqua-700); }

.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.statement p { font-size: clamp(22px, 2.5vw, 34px); line-height: 1.28; letter-spacing: -.025em; color: var(--ink); }
.statement p + p { margin-top: .9em; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; letter-spacing: 0; color: var(--muted); }
.statement p:first-child { font-weight: 700; }
.sticky { position: sticky; top: 110px; }

.board { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.4vw, 18px); }
.person { grid-column: span 4; position: relative; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r); border: 1px solid var(--line); background: #fff; overflow: hidden; min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; transition: transform .5s var(--ease), border-color .3s, box-shadow .5s; }
.person::before { content: ""; position: absolute; inset: auto -20% -80% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--aqua-200), transparent); opacity: .0; transition: opacity .5s; }
@media (hover: hover) { .person:hover { transform: translateY(-6px); border-color: var(--aqua-400); box-shadow: 0 30px 60px -30px rgba(10, 111, 103, .5); } }
@media (hover: hover) { .person:hover::before { opacity: .8; } }
.person > * { position: relative; }
.person small { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--aqua-700); }
.person b { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.05; letter-spacing: -.035em; }
.person--lead { background: var(--night); color: #fff; border-color: transparent; }
.person--lead small { color: var(--aqua-300); }
.person--wide { grid-column: span 6; }

.zonal { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.zone { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; overflow: hidden; transition: transform .5s var(--ease), border-color .3s, box-shadow .5s; }
@media (hover: hover) { .zone:hover { transform: translateY(-6px); border-color: var(--aqua-400); box-shadow: 0 40px 70px -34px rgba(10, 111, 103, .5); } }
.zone__logo { background: #fff; padding: clamp(18px, 2.4vw, 32px); border-bottom: 1px solid var(--line); height: clamp(190px, 21vw, 270px); }
.zone__logo img { width: 100%; height: 100%; object-fit: contain; }
.zone__body { padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 16px; flex: 1; }
.zone__body small { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--aqua-700); font-weight: 700; }
.zone__body h3 { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.035em; line-height: 1; }
.zone dl { margin: 0; display: grid; grid-template-columns: 96px 1fr; gap: 10px 14px; font-size: 15.5px; }
.zone dt { color: var(--muted); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding-top: 3px; }
.zone dd { margin: 0; word-break: break-word; }
.zone dd a { text-decoration: none; border-bottom: 1px solid var(--aqua-300); transition: color .2s, border-color .2s; }
@media (hover: hover) { .zone dd a:hover { color: var(--aqua-700); border-color: var(--aqua-700); } }

.proj { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; padding-block: clamp(40px, 6vw, 86px); border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.proj:first-of-type { border-top: 0; }
.proj:nth-of-type(even) .proj__media { order: 2; }
.proj__media { border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; padding: clamp(20px, 3vw, 44px); display: grid; place-items: center; min-height: 280px; transition: transform .6s var(--ease), box-shadow .6s; }
@media (hover: hover) { .proj__media:hover { transform: scale(1.02); box-shadow: 0 40px 80px -40px rgba(10, 111, 103, .5); } }
.proj__media img { max-height: 380px; width: auto; }
.proj p { margin-top: 18px; color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); }
.proj .btn-row { margin-top: 28px; }
.proj__idx { font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--aqua-700); }

.portal { position: relative; border-radius: var(--r-lg); background: var(--night); color: #fff; padding: clamp(22px, 3vw, 40px); overflow: hidden; isolation: isolate; text-align: left; display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 2.6vw, 36px); align-items: center; max-width: 880px; margin-inline: auto; }
.portal__icon { width: clamp(56px, 6vw, 84px); aspect-ratio: 1; border-radius: 22px; display: grid; place-items: center; border: 1px solid var(--line-light); background: rgba(255, 255, 255, .05); backdrop-filter: blur(10px); color: var(--aqua-300); }
.portal__icon svg { width: 52%; height: 52%; }
.portal h2 { font-size: clamp(20px, 2.2vw, 30px); letter-spacing: -.04em; line-height: 1.02; }
.portal p { margin-top: 14px; color: rgba(230, 250, 247, .75); max-width: 52ch; }
.portal .btn { margin-top: 18px; }
.portal + .note { max-width: 880px; margin-inline: auto; }
.note { margin-top: 20px; font-size: 14px; color: var(--muted); }

.docs { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2vw, 28px); }
.doc { position: relative; border-radius: var(--r); border: 1px solid var(--line); background: #fff; padding: 16px; transition: transform .5s var(--ease), box-shadow .5s, border-color .3s; }
@media (hover: hover) { .doc:hover { transform: translateY(-6px); border-color: var(--aqua-400); box-shadow: 0 40px 70px -34px rgba(10, 111, 103, .55); } }
.doc button { display: block; width: 100%; padding: 0; border: 0; background: none; border-radius: 12px; overflow: hidden; position: relative; }
.doc img { width: 100%; border-radius: 10px; border: 1px solid var(--line); }
.doc button::after { content: "Ingrandisci"; position: absolute; right: 12px; bottom: 12px; padding: 8px 14px; border-radius: 999px; background: var(--night); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; opacity: 0; translate: 0 8px; transition: opacity .3s, translate .4s var(--ease); }
.doc button:focus-visible::after { opacity: 1; translate: 0; }
@media (hover: hover) { .doc:hover button::after { opacity: 1; translate: 0; } }
.doc figcaption { padding: 16px 6px 4px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.doc figcaption b { font-size: 20px; letter-spacing: -.02em; }
.doc figcaption span { font-size: 13px; color: var(--muted); }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
dialog.lightbox::backdrop { background: rgba(3, 30, 33, .92); backdrop-filter: blur(8px); }
.lightbox__in { height: 100%; display: grid; place-items: center; padding: 56px 16px 20px; overflow: auto; }
.lightbox img { max-width: min(1280px, 100%); border-radius: 14px; background: #fff; }
.lightbox__x { position: fixed; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-light); background: rgba(255, 255, 255, .1); color: #fff; font-size: 22px; line-height: 1; display: grid; place-items: center; }

.sede { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.sede--solo { grid-template-columns: minmax(0, 620px); justify-content: center; }
.sede__photo { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.sede__card { margin-top: 18px; padding: 24px 26px; border-radius: var(--r); background: var(--night); color: #fff; }
.sede__card small { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--aqua-300); font-weight: 700; margin-bottom: 10px; }
.sede__card p { font-size: clamp(19px, 1.8vw, 24px); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.sede__card .btn-row { margin-top: 20px; }
.sede__title { font-size: clamp(28px, 3.4vw, 48px); letter-spacing: -.04em; line-height: 1.02; margin-bottom: 28px; }

.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.ccard { position: relative; display: flex; flex-direction: column; gap: 70px; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--r-lg); border: 1px solid var(--line); text-decoration: none; background: #fff; overflow: hidden; transition: transform .5s var(--ease), border-color .3s, box-shadow .5s, background .4s, color .4s; }
.ccard::before { content: ""; position: absolute; inset: auto -30% -80% auto; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--aqua-300), transparent); opacity: 0; transition: opacity .5s; }
@media (hover: hover) { .ccard:hover { transform: translateY(-8px); border-color: var(--aqua-400); box-shadow: 0 40px 70px -34px rgba(10, 111, 103, .6); } }
@media (hover: hover) { .ccard:hover::before { opacity: .65; } }
.ccard > * { position: relative; }
.ccard svg { width: 38px; height: 38px; color: var(--aqua-600); }
.ccard small { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--aqua-700); font-weight: 700; margin-bottom: 8px; }
.ccard b { font-size: clamp(20px, 2.1vw, 29px); letter-spacing: -.03em; line-height: 1.1; word-break: break-word; }
.hours { margin-top: clamp(14px, 1.8vw, 24px); border-radius: var(--r-lg); background: var(--night); color: #fff; padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 80px); position: relative; overflow: hidden; isolation: isolate; }
.hours .eyebrow { color: var(--aqua-300); }
.hours h2 { font-size: clamp(34px, 4.6vw, 66px); letter-spacing: -.045em; line-height: .95; margin-top: 16px; }
.hours li { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line-light); font-size: clamp(16px, 1.5vw, 20px); transition: color .3s; }
.hours li:last-child { border-bottom: 1px solid var(--line-light); }
.hours li span:last-child { font-weight: 700; text-align: right; }
.hours li.is-today { color: var(--aqua-300); }
.hours li.is-today span:first-child::after { content: "oggi"; margin-left: 12px; padding: 3px 10px; border-radius: 999px; background: var(--aqua-400); color: #02292b; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; vertical-align: middle; }

.guides { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 900px; gap: clamp(14px, 1.8vw, 24px); }
.gcard { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; text-decoration: none; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s, border-color .3s; }
@media (hover: hover) { .gcard:hover { transform: translateY(-8px); border-color: var(--aqua-400); box-shadow: 0 40px 70px -34px rgba(10, 111, 103, .55); } }
.gcard__media { position: relative; aspect-ratio: 4 / 5; background: var(--aqua-50); overflow: hidden; }
.gcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; padding: clamp(14px, 2vw, 22px); box-sizing: border-box; transition: transform .6s var(--ease); }
.gcard__media--wa { display: grid; place-items: center; }
@media (hover: hover) { .gcard:hover img { transform: scale(1.06); } }
.gcard__media--wa { background: linear-gradient(140deg, var(--night), var(--aqua-800)); color: var(--aqua-300); }
.gcard__media--wa svg { width: 38%; height: 38%; }
.gcard__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gcard small { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--aqua-700); font-weight: 700; }
.gcard b { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.03em; line-height: 1.08; }
.gcard span { color: var(--muted); font-size: 15px; }
.guide { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.guide__cover { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 50px 90px -40px rgba(3, 30, 33, .6); transition: transform .5s var(--ease); }
@media (hover: hover) { .guide__cover:hover { transform: rotate(-1.5deg) scale(1.02); } }
.guide__cover img { width: 100%; }
.guide__cover--wa { aspect-ratio: 3 / 4; display: grid; place-items: center; background: linear-gradient(140deg, var(--night), var(--aqua-800)); color: var(--aqua-300); }
.guide__cover--wa svg { width: 36%; height: 36%; }
.guide__sub { font-size: clamp(20px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; color: var(--aqua-700); margin-bottom: 26px; }
.guide .prose { max-width: 60ch; }
.guide .prose p:first-of-type::first-letter { all: unset; }
.siblings { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.siblings h2 { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }

/* ---------- reveal allo scroll ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .65s var(--ease), transform .75s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js .rv.is-in { opacity: 1; transform: none; }
/* contenuti della prima schermata (titolo, introduzione, pulsanti): partono da soli al primo fotogramma, in CSS, senza aspettare JavaScript né lo scorrimento */
.rise { animation: rise .6s var(--ease) backwards; animation-delay: calc(var(--d, 0) * 70ms + 60ms); }   /* «backwards»: nascosto durante il ritardo, poi nessuna animazione resta attaccata all'elemento */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.progress { position: fixed; z-index: 120; top: 0; left: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--aqua-400), var(--aqua-200)); transform-origin: left; transform: scaleX(var(--prog, 0)); pointer-events: none; }

/* ---------- adattamento ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .person { grid-column: span 6; }
  .contact { grid-template-columns: 1fr; }
  .ccard { flex-direction: row; align-items: center; gap: 22px; }
  .guides { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  body { font-size: 16.5px; }
  .site-header { top: 10px; height: 58px; padding-left: 20px; }
  .roots__grid, .where, .split2, .zonal, .proj, .sede, .hours, .guide, .docs { grid-template-columns: 1fr; }
  .proj:nth-of-type(even) .proj__media { order: 0; }
  .sticky { position: static; }
  .portal { grid-template-columns: 1fr; }
  .head .h2 { max-width: none; }
  .hero__sub { letter-spacing: .2em; }
  .guide__cover { max-width: 360px; }
  .map { min-height: 320px; }
  .hero { min-height: 0; justify-content: flex-start; padding-top: 128px; }
}
@media (max-width: 560px) {
  .cards, .tiles, .guides { grid-template-columns: 1fr; }
  .card { aspect-ratio: 4 / 3.4; }
  .person, .person--wide { grid-column: span 12; min-height: 0; gap: 28px; }
  .foot { grid-template-columns: 1fr; }
  .zone dl { grid-template-columns: 1fr; gap: 2px; }
  .zone dt { margin-top: 10px; }
  .btn { width: 100%; justify-content: space-between; }
  .btn-row .btn { width: auto; }
  .values li { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .rv { opacity: 1; transform: none; }
}
@media print {
  .site-header, .mnav, .fx, .progress, .burger { display: none !important; }
  .dark, .site-footer { background: #fff !important; color: #000 !important; }
}

/* ======================================================================
   TEMA LUMINOSO (v2) — fondi chiari, foto in primo piano, blu del marchio
   al posto del verde scuro. Il verde acqua resta come colore d'accento.
   ====================================================================== */
:root { --night: #0d4a82; --night-2: #1b75bc; --sun: #ffc83d; }
html { background: #fff; }
.card::after { background: linear-gradient(180deg, transparent 50%, rgba(13, 74, 130, .82)); }

/* intestazioni chiare (home e pagine interne) */
.hero.dark, .page-hero.dark { background: linear-gradient(180deg, #fff 0%, var(--aqua-50) 100%); color: var(--ink); }
.hero.dark .lead, .page-hero.dark .lead { color: var(--muted); }
.hero.dark .eyebrow, .page-hero.dark .eyebrow { color: var(--aqua-700); }
.hero .pulse { background: var(--aqua-500); }
.hero__sub { color: var(--aqua-700); }
.hero__sub i { background: var(--sun); }
.hero h1 em { color: var(--aqua-500) !important; }
.hero .fx .b1, .page-hero .fx .b1 { background: radial-gradient(closest-side, var(--aqua-300), transparent 72%); }
.hero .fx .b2, .page-hero .fx .b2 { opacity: .22; }
.hero .fx .b3, .page-hero .fx .b3 { background: radial-gradient(closest-side, var(--sun), transparent 70%); opacity: .38; }
.hero .fx .grid, .page-hero .fx .grid {
  background-image: linear-gradient(rgba(5, 43, 46, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(5, 43, 46, .06) 1px, transparent 1px);
}
.page-hero .crumbs { color: var(--muted); }
.page-hero .crumbs span[aria-current] { color: var(--aqua-700); }
@media (hover: hover) { .page-hero .crumbs a:hover { color: var(--aqua-700); } }
.hero .btn--ghost, .page-hero .btn--ghost { color: var(--ink); border-color: rgba(5, 43, 46, .25); background: #fff; }
@media (hover: hover) { .hero .btn--ghost:hover, .page-hero .btn--ghost:hover { border-color: var(--aqua-500); background: var(--aqua-50); } }
.hero__scroll { color: var(--muted); }
.hero__scroll i { background: linear-gradient(var(--aqua-500), transparent); }
.banner { border-color: var(--line); box-shadow: 0 30px 80px -30px rgba(13, 74, 130, .35); background: #fff; }

/* mosaico di foto nella home */

/* foto nelle pagine interne */
.hero__ph { position: absolute; z-index: 0; right: max(var(--gutter), calc((100% - var(--maxw)) / 2)); top: calc(50% + 36px); translate: 0 -50%; width: min(27vw, 380px); aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; margin: 0; background: var(--aqua-100); box-shadow: 0 40px 80px -30px rgba(13, 74, 130, .5); }
.hero__ph img { width: 100%; height: 100%; object-fit: cover; }
.page-hero:has(.hero__ph) { min-height: clamp(520px, 50vw, 680px); }
.page-hero:has(.hero__ph) .wrap > :not(.crumbs) { max-width: min(58%, 16ch); }
.page-hero:has(.hero__ph) .wrap > .lead, .page-hero:has(.hero__ph) .wrap > .btn-row { max-width: 56%; }

/* sezione "radici": foto della sede con velo blu */

/* blocchi blu al posto del verde scuro */
.portal, .hours, .person--lead { background: linear-gradient(135deg, #0d4a82, #1b75bc); }
.gcard__media--wa, .guide__cover--wa { background: linear-gradient(140deg, #1b75bc, #12b09f); color: #fff; }
.site-footer::before { content: ""; position: absolute; z-index: 2; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--brand-blue) 0 33.3%, var(--brand-green) 33.3% 66.6%, var(--brand-red) 66.6%); }
.mnav::before { background: radial-gradient(closest-side, rgba(111, 220, 203, .35), transparent); }

@media (max-width: 820px) {
  .hero__ph { position: relative; right: auto; top: auto; translate: none; width: min(100% - 2 * var(--gutter), 520px); aspect-ratio: 16 / 11; margin: 32px auto 0; }
  .page-hero:has(.hero__ph) { min-height: 0; }
  .page-hero:has(.hero__ph) .wrap > :not(.crumbs), .page-hero:has(.hero__ph) .wrap > .lead, .page-hero:has(.hero__ph) .wrap > .btn-row { max-width: none; }
  .page-hero:has(.hero__ph) .wrap > .h1 { max-width: 16ch; }
}

/* ---------- home: foto grande con il logo ANSPI (dal vecchio sito) ---------- */
.homephoto { margin: 0; position: relative; background: #fff; padding-top: 88px; }
.homephoto img { display: block; width: 100%; height: clamp(260px, 34vw, 480px); object-fit: cover; object-position: 50% 50%; }
.hero { min-height: 0; padding: clamp(40px, 5vw, 72px) 0 clamp(36px, 6vh, 70px); justify-content: flex-start; }
.hero__top { align-items: center; text-align: center; }
.hero .btn-row { justify-content: center; }
.hero__sub { font-size: clamp(16px, 1.8vw, 22px); }
.hero__scroll { justify-content: center; }
@media (max-width: 820px) {
  .homephoto { padding-top: 76px; }
  .homephoto img { height: 44vw; min-height: 150px; }
  .hero { padding-top: 36px; }
}

/* ---------- home: "Dove siamo" più semplice (contatti senza scatole) ---------- */
.where .chips { gap: 4px; margin: 24px 0 30px; }
.where .chip { border: 0; background: none; padding: 10px 0; border-radius: 0; border-bottom: 1px solid var(--line); }
@media (hover: hover) { .where .chip:hover { background: none; transform: none; color: var(--aqua-700); } }

/* ---------- home: riquadro "1366" ridisegnato (anno + spiegazione chiara) ---------- */
.roots__note { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(18px, 2.4vw, 30px); max-width: 560px; padding: 22px clamp(20px, 2.4vw, 30px); border: 0; border-radius: var(--r-lg); background: #fff; color: var(--ink); box-shadow: 0 30px 70px -30px rgba(3, 30, 60, .6); }
@media (hover: hover) { .roots__note:hover { background: #fff; border-color: transparent; transform: translateY(-4px); box-shadow: 0 40px 80px -30px rgba(3, 30, 60, .7); } }
.rn__year { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 14px clamp(16px, 2vw, 24px); border-radius: var(--r); background: linear-gradient(135deg, #0d4a82, #1b75bc); color: #fff; }
.rn__year small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--aqua-200); }
.roots__note .rn__year strong { font-size: clamp(38px, 4.4vw, 56px); line-height: 1; letter-spacing: -.04em; color: #fff; }
.rn__body { display: flex; flex-direction: column; gap: 6px; }
.rn__body b { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.25; letter-spacing: -.01em; }
.roots__note .rn__body span { font-size: 15px; line-height: 1.45; color: var(--muted); }
.rn__body em { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-style: normal; font-weight: 700; font-size: 15px; color: var(--aqua-700); }
.rn__body em svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
@media (hover: hover) { .roots__note:hover .rn__body em svg { transform: translateX(5px); } }
@media (max-width: 560px) { .roots__note { grid-template-columns: 1fr; } .rn__year { flex-direction: row; justify-content: flex-start; gap: 14px; } }

/* sezione "radici": foto della sede con velo blu */
.roots.dark { background: linear-gradient(100deg, rgba(8, 52, 92, .8) 0%, rgba(13, 74, 130, .58) 55%, rgba(27, 117, 188, .34) 100%), url("../img/sede-sfondo.webp") center / cover; }
.roots .fx { display: none; }

/* ======================================================================
   SFONDI VIVI — macchie di colore del marchio dietro tutto il sito
   (le sezioni chiare diventano trasparenti, così il colore si vede ovunque)
   ====================================================================== */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(70vmax 60vmax at 0% 0%, rgba(47, 201, 182, .55), transparent 65%),
    radial-gradient(64vmax 54vmax at 100% 10%, rgba(27, 117, 188, .38), transparent 65%),
    radial-gradient(70vmax 58vmax at 80% 100%, rgba(255, 200, 61, .55), transparent 65%),
    radial-gradient(54vmax 48vmax at 0% 92%, rgba(238, 29, 37, .18), transparent 65%),
    linear-gradient(135deg, #d9f6f0 0%, #eaf5fc 50%, #fff3cc 100%);
}
.hero.dark, .page-hero.dark { background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0)); }
.hero .fx .b1, .page-hero .fx .b1 { opacity: .8; }
.hero .fx .b2, .page-hero .fx .b2 { opacity: .4; }
.hero .fx .b3, .page-hero .fx .b3 { opacity: .55; }
.section--tint { background: rgba(255, 255, 255, .5); }
.card, .tile, .person, .zone, .doc, .gcard, .ccard, .chip, .proj__media { box-shadow: 0 18px 50px -30px rgba(13, 74, 130, .35); }
/* il fondo bianco del body copriva le macchie di colore: lo tolgo (il bianco resta sull'elemento html) */
body { background: transparent; }

/* ---------- pagina "Le attività": locandina + testo + dati ---------- */
.act { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding-block: clamp(36px, 5vw, 76px); border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.act:first-of-type { border-top: 0; }
.act__media { position: sticky; top: 100px; }
.act__flyer { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 70px -34px rgba(13, 74, 130, .55); transition: transform .5s var(--ease), box-shadow .5s; }
@media (hover: hover) { .act__flyer:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 40px 80px -30px rgba(13, 74, 130, .6); } }
.act__flyer img { width: 100%; height: auto; }
.act__flyer::after { content: "Ingrandisci"; position: absolute; right: 12px; bottom: 12px; padding: 8px 14px; border-radius: 999px; background: var(--night); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; opacity: 0; translate: 0 8px; transition: opacity .3s, translate .4s var(--ease); }
.act__flyer:focus-visible::after { opacity: 1; translate: 0; }
@media (hover: hover) { .act__flyer:hover::after { opacity: 1; translate: 0; } }
.act__body .h2 { margin: 14px 0 22px; font-size: clamp(30px, 4vw, 56px); }
.act .prose p:first-of-type::first-letter { all: unset; }
.act__facts { margin: 30px 0 0; padding: clamp(18px, 2.2vw, 28px); border-radius: var(--r); background: rgba(255, 255, 255, .75); border: 1px solid var(--line); display: grid; grid-template-columns: 130px 1fr; gap: 12px 18px; font-size: 16px; }
.act__facts dt { color: var(--muted); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding-top: 4px; }
.act__facts dd { margin: 0; font-weight: 700; word-break: break-word; }
.act__note { margin-top: 18px; padding: 16px 20px; border-left: 4px solid var(--aqua-400); background: rgba(255, 255, 255, .6); border-radius: 0 var(--r) var(--r) 0; font-size: 15.5px; line-height: 1.6; color: var(--ink); }
@media (max-width: 820px) {
  .act { grid-template-columns: 1fr; }
  .act__media { position: static; max-width: 420px; }
  .act__facts { grid-template-columns: 1fr; gap: 2px; }
  .act__facts dt { margin-top: 10px; }
}

/* ======================================================================
   BRAND BOOK ANSPI 2024 — regole applicate al sito
   ====================================================================== */
/* colori istituzionali: azzurro #1b75bc, verde #006738, rosso #ee1d25 (tav. 3) */
:root { --night: #1b75bc; --night-2: #3a8fd0; }
.portal, .hours, .person--lead, .rn__year { background: linear-gradient(135deg, #1b75bc, #2f86cc); }
.roots.dark { background: linear-gradient(100deg, rgba(20, 90, 150, .84) 0%, rgba(27, 117, 188, .6) 55%, rgba(27, 117, 188, .34) 100%), url("../img/sede-sfondo.webp") center / cover; }
.card::after { background: linear-gradient(180deg, transparent 50%, rgba(20, 90, 150, .82)); }

/* dicitura sotto il marchio: centrata, Arial Bold, azzurro istituzionale (tav. 11) */
.brand { display: flex; flex-direction: column; align-items: center; gap: 4px; line-height: 1; text-decoration: none; }
.brand img { height: 28px; }
.brand__tag { font: 700 9.5px/1 var(--font); color: #1b75bc; white-space: nowrap; }
.foot__mark { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 22px; }
.foot__mark .foot__logo { margin-bottom: 0; }
.foot__mark span { font-weight: 700; font-size: clamp(14px, 1.4vw, 17px); color: #fff; }

/* icone social nella barra in alto */
.header__social { display: flex; align-items: center; gap: 4px; margin-left: 2px; }
.header__social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: background .25s, color .25s, transform .35s var(--ease); }
@media (hover: hover) { .header__social a:hover { background: var(--aqua-100); color: var(--aqua-800); transform: translateY(-2px); } }
.header__social svg { width: 18px; height: 18px; }
@media (max-width: 1080px) { .header__social { margin-left: auto; margin-right: 6px; } }
@media (max-width: 400px) { .header__social a { width: 32px; height: 32px; } .brand__tag { font-size: 8.5px; } }

/* il marchio sulle foto grandi: in basso a destra, in negativo, con lo spazio di rispetto (tav. 9-10) */
.hero__ph::before, .sede__photo::before { content: ""; position: absolute; z-index: 1; inset: auto 0 0 0; height: 38%; background: linear-gradient(transparent, rgba(0, 0, 0, .38)); pointer-events: none; }
.hero__ph::after, .sede__photo::after { content: ""; position: absolute; z-index: 2; right: 6%; bottom: 6%; width: max(26%, 84px); aspect-ratio: 265 / 93; background: url("../logo/anspi-white.svg") center / contain no-repeat; pointer-events: none; }
.sede__photo { position: relative; }

/* ---------- home: parte sotto la foto, ridisegnata (testo a sinistra, frase a destra) ---------- */
.intro { padding-block: clamp(56px, 8vw, 120px); }
.intro__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.intro__lead { margin: 22px 0 34px; font-size: clamp(21px, 2.3vw, 32px); line-height: 1.3; letter-spacing: -.025em; font-weight: 700; color: var(--ink); }
.intro__banner { margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 40px 90px -40px rgba(27, 117, 188, .55); transition: transform .6s var(--ease), box-shadow .6s; }
@media (hover: hover) { .intro__banner:hover { transform: translateY(-6px) rotate(.5deg); box-shadow: 0 50px 100px -40px rgba(27, 117, 188, .65); } }
.intro__banner img { width: 100%; height: auto; }
@media (max-width: 820px) { .intro__grid { grid-template-columns: 1fr; } .intro__lead { margin: 16px 0 26px; } }

/* banner della home più grande: colonna larga e, su schermi ampi, si allarga fino al bordo destro */
.intro__grid { grid-template-columns: .62fr 1.38fr; gap: clamp(28px, 4vw, 64px); }
.intro__lead { font-size: clamp(19px, 1.9vw, 26px); }
.intro__banner { margin-right: calc((min(var(--maxw), 100vw - 2 * var(--gutter)) - 100vw) / 2); border-radius: var(--r-lg) 0 0 var(--r-lg); border-right: 0; }
@media (max-width: 820px) {
  .intro__grid { grid-template-columns: 1fr; }
  .intro__banner { margin-right: 0; border-radius: var(--r-lg); border-right: 1px solid var(--line); }
}

/* foto della home: più piccola, centrata e a spigoli vivi, alla sua dimensione reale (così non viene stirata e resta nitida) */
.homephoto { background: none; padding: 100px var(--gutter) 0; display: flex; justify-content: center; }
.homephoto img { width: min(1068px, 100%); height: auto; border-radius: 0; box-shadow: 0 40px 90px -45px rgba(27, 117, 188, .6); }
@media (max-width: 820px) {
  .homephoto { padding: 76px 0 0; }
  .homephoto img { width: 100%; height: 44vw; min-height: 150px; object-fit: cover; box-shadow: none; }
}

/* foto della home: capsula */
.homephoto img { border-radius: 999px; box-shadow: 0 40px 90px -40px rgba(27, 117, 188, .55); }
@media (max-width: 820px) {
  .homephoto { padding: 76px var(--gutter) 0; }
  .homephoto img { width: 100%; height: 46vw; min-height: 150px; object-fit: cover; border-radius: 999px; }
}

/* banner della home: dimensione media, dentro la pagina (senza arrivare al bordo destro) */
.intro__grid { grid-template-columns: .8fr 1.2fr; }
.intro__banner { margin-right: 0; border-radius: var(--r-lg); border-right: 1px solid var(--line); max-width: 640px; justify-self: end; }
@media (max-width: 820px) { .intro__grid { grid-template-columns: 1fr; } .intro__banner { max-width: none; justify-self: stretch; } }

/* banner della home: una via di mezzo (circa 770 px su schermo largo) */
.intro__grid { grid-template-columns: .7fr 1.3fr; }
.intro__banner { max-width: 780px; }
@media (max-width: 820px) { .intro__grid { grid-template-columns: 1fr; } .intro__banner { max-width: none; } }

/* ---------- home: frase in grande a sinistra, foto del puzzle a destra ---------- */
.intro__grid { grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.quote { margin: 20px 0 34px; position: relative; padding-top: .55em; }
.quote::before { content: "“"; position: absolute; left: -.04em; top: -.18em; font-size: clamp(90px, 11vw, 160px); line-height: 1; font-weight: 700; color: var(--brand-blue); opacity: .9; }
.quote p { position: relative; font-size: clamp(30px, 4.2vw, 62px); line-height: 1.06; letter-spacing: -.035em; font-weight: 700; color: var(--ink); max-width: 18ch; padding-top: .5em; }
.quote mark { background: linear-gradient(transparent 58%, #ffd84d 58%, #ffd84d 92%, transparent 92%); color: inherit; padding: 0 .08em; }
.intro__photo { position: relative; margin: 0; isolation: isolate; }
.intro__photo img { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: 0 40px 90px -40px rgba(27, 117, 188, .6); }
.intro__photo::before { content: ""; position: absolute; z-index: -1; right: -7%; top: -22%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: #ffd84d; }
.intro__photo::after { content: ""; position: absolute; z-index: -1; left: -6%; bottom: -16%; width: 36%; aspect-ratio: 1; border-radius: 28%; background: var(--aqua-300); }
@media (max-width: 820px) {
  .intro__grid { grid-template-columns: 1fr; }
  .quote p { max-width: none; }
  .intro__photo { margin-top: 12px; }
}

/* "Oratori e circoli" sulla home: scritta piena in Arial Bold azzurro (come la dicitura del marchio), senza linea e senza lettere spaziate */
.intro .eyebrow { display: block; gap: 0; font-size: clamp(20px, 2vw, 28px); font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--brand-blue); }
.intro .eyebrow::before { display: none; }

/* pulsanti "Chi siamo" e "Contatti" della home centrati */
.intro .btn-row { justify-content: center; }

/* attività: titolo centrato con le parole nei colori delle schede, schede cliccabili */
.head--center { justify-content: center; text-align: center; margin-bottom: clamp(30px, 4vw, 52px); }
.head--center .h2 { max-width: none; margin-top: 0; font-size: clamp(34px, 5.4vw, 80px); line-height: 1.02; }
.acts-title span { color: var(--c); }
.card-link { display: block; text-decoration: none; color: inherit; border-radius: var(--r); }
.card-link:focus-visible { outline: 3px solid var(--aqua-500); outline-offset: 4px; }
.card-link .card figcaption::after { content: "→"; position: absolute; right: 0; top: -2.2em; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); font-size: 16px; font-weight: 700; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .4s var(--ease); }
.card-link:focus-visible .card figcaption::after { opacity: 1; transform: none; }
@media (hover: hover) { .card-link:hover .card figcaption::after { opacity: 1; transform: none; } }

/* ---------- home: "Le nostre radici" semplificata (titolo centrato + una scheda) ---------- */
.radici__title { max-width: 28ch; margin-inline: auto; text-align: center; font-size: clamp(32px, 4.6vw, 66px); line-height: 1.04; }
.radici__title span { color: var(--c); }

/* radici: di nuovo la foto della sede come sfondo, titolo bianco centrato e una scheda bianca solo testo */
.radici--photo { padding-block: clamp(72px, 10vw, 140px);
  background: linear-gradient(180deg, rgba(20, 90, 150, .86) 0%, rgba(27, 117, 188, .62) 55%, rgba(27, 117, 188, .4) 100%), url("../img/sede-sfondo.webp") center / cover; }
.radici--photo .radici__title { color: #fff; }
.radici--photo .radici__title span:nth-child(1) { color: #a9ebe0; }
.radici--photo .radici__title span:nth-child(2) { color: #ffd84d; }

/* radici: sezione più compatta */
.radici--photo { padding-block: clamp(44px, 6vw, 84px); }
.radici--photo .radici__title { font-size: clamp(28px, 3.6vw, 52px); max-width: 30ch; }

/* radici: la sezione con la foto torna com'era; si rimpicciolisce solo la scheda "Edificata nel 1366" */
.radici--photo { padding-block: clamp(72px, 10vw, 140px); }
.radici--photo .radici__title { font-size: clamp(32px, 4.6vw, 66px); max-width: 28ch; }

/* radici: la sezione con la foto mantiene la sua altezza di prima anche con la scheda piccola */
.radici--photo { min-height: clamp(520px, 55vw, 780px); display: flex; align-items: center; }
.radici--photo > .wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); }
@media (max-width: 820px) { .radici--photo { min-height: 0; } }

/* ---------- home: "Dove siamo" nello stesso stile (titolo centrato + una scheda con contatti e mappa) ---------- */
.dove__title { text-align: center; font-size: clamp(36px, 5.4vw, 80px); line-height: 1.02; }
.dove__title span { color: var(--c); }
.dove__addr { text-align: center; margin: 18px auto 0; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.35; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.dove__card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; max-width: 1040px; margin: clamp(30px, 4vw, 54px) auto 0; padding: clamp(18px, 2.4vw, 30px); border-radius: var(--r-lg); background: rgba(255, 255, 255, .88); border: 1px solid var(--line); box-shadow: 0 40px 90px -50px rgba(27, 117, 188, .55); }
.dove__info { display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.dove__info .chips { margin: 0; }
.dove__card .map { min-height: 300px; border-radius: var(--r); }
@media (max-width: 820px) { .dove__card { grid-template-columns: 1fr; } .dove__card .map { min-height: 260px; } }

/* ======================================================================
   PIÈ DI PAGINA — chiaro, con la bandiera italiana (verde, bianco, rosso) in cima e in fondo
   ====================================================================== */
.site-footer { background: rgba(255, 255, 255, .74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ink); padding: calc(clamp(48px, 6vw, 84px) + 12px) 0 calc(28px + 12px); }
.site-footer .fx { display: none; }
.site-footer::before, .site-footer::after { content: ""; position: absolute; z-index: 2; left: 0; right: 0; height: 12px; top: auto; background: linear-gradient(90deg, #006738 0 33.33%, #fff 0 66.66%, #ee1d25 0); }
.site-footer::before { top: 0; bottom: auto; }
.site-footer::after { bottom: 0; }
.foot__mark span { color: var(--brand-blue); }
.foot__brand p { color: var(--ink); }
.foot h3 { color: var(--aqua-700); }
.foot a { color: var(--ink); }
@media (hover: hover) { .foot a:hover { color: var(--aqua-700); } }
.social a { border-color: var(--line); }
.social svg { color: var(--ink); }
@media (hover: hover) { .social a:hover svg { color: #02292b; } }
.foot__bottom { border-top-color: var(--line); color: var(--muted); }
.foot__word { display: none; }

/* piè di pagina: di nuovo azzurro del marchio, con la bandiera italiana in cima e in fondo */
.site-footer { background: #1b75bc; -webkit-backdrop-filter: none; backdrop-filter: none; color: #fff; }
.site-footer .fx { display: block; }
.foot__mark span { color: #fff; }
.foot__brand p { color: #fff; }
.foot h3 { color: var(--aqua-200); }
.foot a { color: #fff; }
@media (hover: hover) { .foot a:hover { color: #ffd84d; } }
.social a { border-color: rgba(255, 255, 255, .5); }
.social svg { color: #fff; }
@media (hover: hover) { .social a:hover { background: #fff; border-color: #fff; } }
@media (hover: hover) { .social a:hover svg { color: #1b75bc; } }
.foot__bottom { border-top-color: rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .85); }
/* la bandiera solo in cima al piè di pagina, non in fondo */
.site-footer::after { display: none; }
.site-footer { padding-bottom: 28px; }

/* niente quadrati (griglia) negli sfondi, in nessuna pagina */
.fx .grid { display: none; }

/* ---------- pagina "Chi siamo" nello stile della home ---------- */
.chi__lead { max-width: 24ch; margin: 0 auto; text-align: center; font-size: clamp(30px, 4.4vw, 64px); line-height: 1.08; letter-spacing: -.035em; font-weight: 700; color: var(--ink); }
.chi__lead span { color: var(--c); }
.chi__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); max-width: 980px; margin: clamp(34px, 5vw, 64px) auto 0; }
.chi__card { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: rgba(255, 255, 255, .88); border: 1px solid var(--line); box-shadow: 0 40px 90px -55px rgba(27, 117, 188, .55); }
.chi__card p { margin: 0; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.45; font-weight: 700; letter-spacing: -.015em; color: var(--ink); }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: clamp(26px, 4vw, 50px) auto 0; max-width: 900px; }
.pills li { padding: 12px 26px; border-radius: 999px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .65); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font-weight: 700; font-size: clamp(15px, 1.5vw, 20px); letter-spacing: .06em; text-transform: uppercase; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .chi__cards { grid-template-columns: 1fr; } .cards--3 { grid-template-columns: 1fr; } .cards--3 .card { aspect-ratio: 4 / 3.2; } .chi__lead { max-width: none; } }

/* ======================================================================
   PAGINE INTERNE nello stile della home: titolo centrato con parole colorate, foto a capsula sotto il titolo
   ====================================================================== */
.page-hero { text-align: center; padding: clamp(120px, 17vh, 190px) 0 clamp(48px, 7vw, 96px); }
.page-hero .crumbs { justify-content: center; }
.page-hero .h1 { max-width: 18ch; margin-inline: auto; font-size: clamp(40px, 6.4vw, 96px); }
.page-hero .lead { margin-inline: auto; max-width: 46ch; }
.page-hero .btn-row { justify-content: center; }
.page-hero .h1 .w:first-child > span { color: var(--brand-blue); }
.page-hero .h1 .w:last-child:not(:first-child) > span { color: var(--brand-green); }
.page-hero:has(.hero__ph) { min-height: 0; }
.page-hero:has(.hero__ph) .wrap > :not(.crumbs) { max-width: 18ch; }
.page-hero:has(.hero__ph) .wrap > .lead { max-width: 46ch; }
.page-hero:has(.hero__ph) .wrap > .btn-row { max-width: none; }
.page-hero .hero__ph { position: relative; right: auto; top: auto; translate: none; width: min(940px, 100% - 2 * var(--gutter)); aspect-ratio: 16 / 6; margin: clamp(28px, 4vw, 52px) auto 0; border-radius: 999px; }
.page-hero .hero__ph::after { right: 11%; bottom: 14%; width: max(18%, 84px); }
@media (max-width: 820px) { .page-hero .hero__ph { aspect-ratio: 16 / 8; width: calc(100% - 2 * var(--gutter)); margin: 28px auto 0; } .page-hero .h1 { max-width: none; } }
/* contatti: l'indirizzo email non va a capo a metà */
.ccard b { font-size: clamp(16px, 1.6vw, 22px); overflow-wrap: anywhere; }

/* ======================================================================
   PRIVACY E NOTE LEGALI
   ====================================================================== */
.legal-sec { padding-top: 0; }
.legal { max-width: 860px; margin-inline: auto; }
.legal__intro { margin: 0 0 26px; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.55; color: var(--ink); }
.draft-note { max-width: 860px; margin: 0 auto 26px; padding: 16px 20px; border-radius: var(--r); background: #fff3bf; border: 2px solid #f5c542; color: #3a2e00; font-size: 15.5px; line-height: 1.5; }
.todo { background: #ffe27a; color: #3a2e00; padding: 1px 6px; border-radius: 6px; font-weight: 700; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.legal p, .legal li { font-size: 17px; line-height: 1.65; color: #1f4549; }
.legal ul { display: grid; gap: 10px; padding-left: 1.25em; list-style: disc; }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 12px; }
.legal a { color: var(--brand-blue); text-underline-offset: 3px; }
.legal__sec { margin: 0 0 18px; padding: clamp(22px, 3vw, 38px); border-radius: var(--r-lg); background: rgba(255, 255, 255, .88); border: 1px solid var(--line); box-shadow: 0 40px 90px -60px rgba(27, 117, 188, .5); scroll-margin-top: 100px; }
.legal__h { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.025em; color: var(--ink); }
.legal__n { flex: none; display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--brand-blue); color: #fff; font-size: .62em; letter-spacing: 0; }
.legal__brief { margin: 0 0 22px; padding: clamp(20px, 2.6vw, 32px); border-radius: var(--r-lg); background: linear-gradient(135deg, #1b75bc, #2f86cc); color: #fff; }
.legal__brief h2 { margin: 0 0 14px; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em; color: #fff; }
.legal .legal__brief ul { padding-left: 0; list-style: none; }
.legal .legal__brief li { position: relative; padding-left: 28px; color: #fff; font-size: 16.5px; }
.legal .legal__brief li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: #ffd84d; }
.legal__toc { margin: 0 0 22px; }
.legal .legal__toc ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.legal .legal__toc li { font-size: 14px; }
.legal .legal__toc a { display: inline-block; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .88); border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: 14px; color: var(--ink); transition: border-color .25s, color .25s; }
@media (hover: hover) { .legal .legal__toc a:hover { border-color: var(--aqua-500); color: var(--aqua-700); } }
.legal__dl { display: grid; grid-template-columns: minmax(150px, 240px) 1fr; gap: 10px 22px; margin: 18px 0 0; }
.legal__dl dt { padding-top: 4px; color: var(--muted); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
.legal__dl dd { margin: 0; font-weight: 700; word-break: break-word; }
.legal__table { overflow-x: auto; margin: 4px -6px 0; padding: 0 6px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { padding: 14px 12px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.5; color: #1f4549; font-size: 15px; }
.legal thead th { border-top: 0; padding-top: 4px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.legal tbody th strong { display: block; margin-bottom: 4px; font-size: 16px; color: var(--ink); }
.legal tbody th span { display: block; font-weight: 400; }
.legal__date { margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.foot__bottom a { color: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .legal__dl { grid-template-columns: 1fr; gap: 2px; }
  .legal__dl dt { margin-top: 10px; }
  .legal__table { overflow: visible; margin: 0; padding: 0; }
  .legal table, .legal tbody, .legal tr, .legal td, .legal tbody th { display: block; }
  .legal thead { display: none; }
  .legal tr { padding: 14px 0; border-top: 1px solid var(--line); }
  .legal tr:first-child { border-top: 0; }
  .legal tbody th, .legal td { border: 0; padding: 6px 0; }
  .legal td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
}

/* intestazioni delle pagine: le sfumature di colore svaniscono in basso invece di tagliarsi con un bordo netto */
.page-hero .fx { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); }

/* ======================================================================
   TELEFONO: niente scivolamento a destra e sinistra
   (il cerchio giallo dietro la foto del puzzle usciva di 6-7 px dallo schermo e, su iPhone, la pagina si spostava col dito)
   ====================================================================== */
@media (max-width: 820px) {
  .intro__photo::before { right: 1%; top: -16%; }
  .intro__photo::after { left: 1%; bottom: -12%; }
  html, body { overscroll-behavior-x: none; }
}
html { touch-action: pan-y pinch-zoom; }
/* telefoni molto piccoli (320-380 px): i titoli con parole lunghe, come "@lfabetizziAMOci", restano dentro lo schermo */
@media (max-width: 380px) { .page-hero .h1 { font-size: 34px; } }

/* ======================================================================
   MENU DA TELEFONO: niente scorrimento laterale e riparte sempre dall'inizio
   (la luce decorativa era un elemento che usciva di 78 px dallo schermo: ora è nello sfondo del menu)
   ====================================================================== */
.mnav { overflow-x: hidden; overscroll-behavior: contain; touch-action: pan-y; -webkit-overflow-scrolling: touch;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 96px);
  background: radial-gradient(80vmax 80vmax at 100% 100%, rgba(111, 220, 203, .34), transparent 70%), var(--night); }
.mnav::before { display: none; }

/* telefono e tablet: barra in alto sempre visibile e senza sfocatura dello sfondo (su iPhone sfocatura + scorrimento la fanno sfarfallare);
   le sfumature colorate degli sfondi restano ferme, per non appesantire lo scorrimento */
@media (hover: none), (pointer: coarse), (max-width: 820px) {
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .97); }
  .site-header.is-hidden { transform: none; }
  .fx .blob { animation: none; }
}

/* ---------- home da telefono: blocco "Oratori e circoli" + frase + foto del puzzle, pulito e centrato ---------- */
@media (max-width: 820px) {
  .intro { padding-block: 40px 56px; }
  .intro__text { text-align: center; }
  .intro .eyebrow { text-align: center; }
  .quote { margin: 10px 0 26px; padding-top: 0; }
  .quote::before { position: static; display: block; height: .5em; margin: 0 0 8px; font-size: 84px; line-height: 1; text-align: center; }
  .quote p { max-width: none; padding-top: 0; font-size: clamp(28px, 7.6vw, 40px); line-height: 1.1; }
  .quote mark { white-space: nowrap; }
  .intro__grid { gap: 28px; }
  .intro__photo { margin-top: 0; }
  .intro__photo::before, .intro__photo::after { display: none; }
  .intro__photo img { border-radius: 28px; }
}

/* ---------- home (tutte le larghezze): "Oratori e circoli" + frase + foto del puzzle, centrati come gli altri titoli ---------- */
.intro { padding-block: clamp(44px, 6vw, 96px); }
.intro__grid { grid-template-columns: 1fr; gap: clamp(28px, 4vw, 54px); justify-items: center; }
.intro__text { display: flex; flex-direction: column; align-items: center; text-align: center; }
.intro .eyebrow { text-align: center; }
.quote { margin: 12px 0 30px; padding-top: 0; }
.quote::before { position: static; display: block; height: .5em; margin: 0 0 10px; font-size: clamp(84px, 9vw, 130px); line-height: 1; text-align: center; }
.quote p { max-width: 27ch; margin-inline: auto; padding-top: 0; font-size: clamp(30px, 5.6vw, 76px); line-height: 1.06; }
.quote mark { white-space: nowrap; }
.intro__photo { width: min(1000px, 100%); margin: 0; }
.intro__photo::before, .intro__photo::after { display: none; }
.intro__photo img { border-radius: var(--r-lg); }

/* foto del puzzle: alla sua misura reale (588 px), così non si sgrana */
.intro__photo { width: min(588px, 100%); }

/* ---------- Chi siamo: le due schede collegate da un cuore animato ---------- */
.chi__cards { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 0; }
.chi__link { position: relative; align-self: center; width: clamp(110px, 13vw, 190px); height: 70px; }
.chi__seg { position: absolute; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  background: repeating-linear-gradient(90deg, currentColor 0 10px, transparent 10px 20px); background-size: 20px 100%; }
.chi__seg--a { left: 0; right: calc(50% + 28px); color: var(--brand-blue); }
.chi__seg--b { left: calc(50% + 28px); right: 0; color: var(--brand-green); }
.chi__node { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; display: grid; place-items: center;
  border: 3px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--brand-blue), var(--aqua-400) 55%, var(--brand-green)) border-box;
  box-shadow: 0 14px 30px -12px rgba(27, 117, 188, .65); }
.chi__node svg { width: 26px; height: 26px; fill: var(--brand-red); }
.chi__node::before, .chi__node::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid var(--aqua-400); opacity: 0; pointer-events: none; }
.chi__node i { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--c); opacity: 0; pointer-events: none; }
.js .chi__card.rv:first-child { transform: translateX(-20px); }
.js .chi__card.rv:last-child { transform: translateX(20px); }
.js .chi__card.rv.is-in { transform: none; }
.js .chi__seg { transform: scaleX(0); transform-origin: left center; }
.js .chi__node { transform: scale(0); }
.js .chi__link.is-in .chi__seg { animation: chi-draw .8s var(--ease) .75s forwards, chi-march 1s linear 1.6s infinite; }
.js .chi__link.is-in .chi__node { animation: chi-pop .75s cubic-bezier(.34, 1.56, .64, 1) .55s forwards; }
.js .chi__link.is-in .chi__node svg { animation: chi-beat 1.7s ease-in-out 1.5s infinite; }
.js .chi__link.is-in .chi__node::before { animation: chi-ring 2.8s ease-out 1.5s infinite; }
.js .chi__link.is-in .chi__node::after { animation: chi-ring 2.8s ease-out 2.9s infinite; }
.js .chi__link.is-in .chi__node i { animation: chi-burst 1s ease-out .75s forwards; }
@keyframes chi-draw { to { transform: scaleX(1); } }
@keyframes chi-march { to { background-position: 20px 0; } }
@keyframes chi-pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }
@keyframes chi-beat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.22); } 28% { transform: scale(1); } 42% { transform: scale(1.14); } 56% { transform: scale(1); } }
@keyframes chi-ring { 0% { transform: scale(1); opacity: .65; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes chi-burst { 0% { opacity: 1; transform: rotate(var(--a)) translateX(0) scale(1); } 100% { opacity: 0; transform: rotate(var(--a)) translateX(64px) scale(.3); } }
@media (max-width: 820px) {
  .chi__cards { grid-template-columns: 1fr; }
  .chi__link { width: 64px; height: 150px; justify-self: center; }
  .chi__seg { left: 50%; right: auto; top: auto; width: 4px; height: auto; margin: 0 0 0 -2px; transform-origin: center top;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
    background: repeating-linear-gradient(180deg, currentColor 0 10px, transparent 10px 20px); background-size: 100% 20px; }
  .chi__seg--a { top: 0; bottom: calc(50% + 28px); left: 50%; right: auto; }
  .chi__seg--b { top: calc(50% + 28px); bottom: 0; left: 50%; right: auto; }
  .js .chi__card.rv:not(.is-in):first-child, .js .chi__card.rv:not(.is-in):last-child { transform: translateY(30px); }
  .js .chi__seg { transform: scaleY(0); }
  .js .chi__link.is-in .chi__seg { animation: chi-draw-v .8s var(--ease) .75s forwards, chi-march-v 1s linear 1.6s infinite; }
  @keyframes chi-draw-v { to { transform: scaleY(1); } }
  @keyframes chi-march-v { to { background-position: 0 20px; } }
}

/* Chi siamo: "Fare Oratorio…" senza foto: titolo grande centrato e sei tessere colorate per i valori */
.valori { padding-block: clamp(64px, 9vw, 120px); }
.valori__title { max-width: 24ch; margin: 0 auto; text-align: center; font-size: clamp(32px, 4.8vw, 70px); line-height: 1.04; }
.valori__title span { color: var(--c); }
.valori__grid { list-style: none; margin: clamp(34px, 5vw, 64px) auto 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); max-width: 960px; }
.valori__tile { --c: var(--brand-blue); position: relative; overflow: hidden; height: 100%; min-height: clamp(130px, 15vw, 200px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(10px, 1.2vw, 16px); padding: 22px 12px; border-radius: var(--r-lg); background: var(--c); color: #fff; box-shadow: 0 30px 56px -34px var(--c); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.valori__tile::before { content: ""; position: absolute; width: 140%; aspect-ratio: 1; left: -20%; top: -95%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .26), rgba(255, 255, 255, 0) 66%); pointer-events: none; }
.valori__ico { position: relative; width: clamp(40px, 4.6vw, 62px); height: clamp(40px, 4.6vw, 62px); stroke-width: 1.5; transition: transform .6s cubic-bezier(.34, 1.56, .64, 1); }
.valori__tile b { position: relative; font-size: 16px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
@media (hover: hover) { .valori__tile:hover { transform: translateY(-8px); box-shadow: 0 40px 64px -32px var(--c); } }
@media (hover: hover) { .valori__tile:hover .valori__ico { transform: scale(1.18) rotate(-8deg); } }
.valori__grid li:nth-child(3n + 2) .valori__tile { --c: var(--brand-green); }
.valori__grid li:nth-child(3n) .valori__tile { --c: var(--brand-red); }
@media (min-width: 641px) {
  .valori__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .valori__tile b { font-size: clamp(16px, 1.7vw, 22px); letter-spacing: .08em; }
  .valori__grid li:nth-child(4) .valori__tile { --c: var(--brand-green); }
  .valori__grid li:nth-child(5) .valori__tile { --c: var(--brand-red); }
  .valori__grid li:nth-child(6) .valori__tile { --c: var(--brand-blue); }
}
@media (prefers-reduced-motion: reduce) { .valori__tile, .valori__ico { transition: none; } @media (hover: hover) { .valori__tile:hover, .valori__tile:hover .valori__ico { transform: none; } } }

/* Chi siamo, valori: di nuovo la foto della sede come sfondo (velo blu), titolo bianco; tessere bianche con il cerchio colorato */
.valori--photo { padding-block: clamp(72px, 10vw, 140px);
  background: linear-gradient(180deg, rgba(20, 90, 150, .86) 0%, rgba(27, 117, 188, .62) 55%, rgba(27, 117, 188, .4) 100%), url("../img/sede-sfondo.webp") center / cover; }
.valori--photo .valori__title { color: #fff; }
.valori--photo .valori__title span:nth-child(1) { color: #a9ebe0; }
.valori--photo .valori__title span:nth-child(2) { color: #ffd84d; }
.valori--photo .valori__tile { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; box-shadow: 0 30px 56px -34px rgba(0, 20, 50, .7); }
.valori--photo .valori__tile::before { display: none; }
@media (hover: hover) { .valori--photo .valori__tile:hover { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .9); box-shadow: 0 40px 64px -32px rgba(0, 20, 50, .8); } }
.valori--photo .valori__ico { box-sizing: content-box; width: clamp(26px, 2.8vw, 36px); height: clamp(26px, 2.8vw, 36px); padding: clamp(13px, 1.4vw, 19px); border-radius: 50%; background: var(--c); color: #fff; border: 2px solid rgba(255, 255, 255, .9); box-shadow: 0 12px 24px -10px rgba(0, 20, 50, .6); }
.valori--photo .valori__tile b { text-shadow: 0 1px 10px rgba(0, 30, 70, .55); }

/* valori: un colore diverso per ogni icona (rosso, verde e azzurro del marchio + giallo, arancio e acqua del sito) */
.valori--photo .valori__ico { color: var(--fg, #fff); }
.valori--photo .valori__grid li:nth-child(1) .valori__tile { --c: #ee1d25; }
.valori--photo .valori__grid li:nth-child(2) .valori__tile { --c: #00844a; }
.valori--photo .valori__grid li:nth-child(3) .valori__tile { --c: #1b75bc; }
.valori--photo .valori__grid li:nth-child(4) .valori__tile { --c: #ffc83d; --fg: #052b2e; }
.valori--photo .valori__grid li:nth-child(5) .valori__tile { --c: #f0780f; }
.valori--photo .valori__grid li:nth-child(6) .valori__tile { --c: #0b8f83; }
/* dal 30/11/2026 le tessere sono nove (educare, animare, accogliere…): la terza fila riprende verde, azzurro e rosso del marchio in un altro ordine,
   cosi' due tessere vicine non hanno mai lo stesso colore */
.valori--photo .valori__grid li:nth-child(7) .valori__tile { --c: #00844a; }
.valori--photo .valori__grid li:nth-child(8) .valori__tile { --c: #1b75bc; }
.valori--photo .valori__grid li:nth-child(9) .valori__tile { --c: #ee1d25; }
/* da telefono (due colonne) l'ultima tessera resta da sola: al centro e larga come le altre */
@media (max-width: 640px) { .valori__grid li:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 6px); } }
/* schermi molto stretti: le parole piu' lunghe («condividere», «accogliere») restano dentro la tessera */
@media (max-width: 380px) { .valori__tile b { font-size: 14px; letter-spacing: .03em; } }

/* valori: la foto sfuma in alto e in basso, così non si vede il taglio netto con le sezioni vicine */
.valori--photo { --fade: clamp(70px, 9vw, 130px); position: relative; isolation: isolate; background: none; }
.valori--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 90, 150, .86) 0%, rgba(27, 117, 188, .62) 55%, rgba(27, 117, 188, .4) 100%), url("../img/sede-sfondo.webp") center / cover;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%); }
.valori--photo { padding-block: calc(var(--fade) + clamp(24px, 4vw, 60px)); }

/* valori: sfumatura in alto più lunga e dolce (curva a "S"), meno vuoto tra le schede e la foto; il bordo in basso resta com'era */
.valori--photo { --fade-t: clamp(120px, 15vw, 210px); --fade-b: clamp(70px, 9vw, 130px);
  margin-top: calc(var(--fade-t) * -.4);
  padding-block: calc(var(--fade-t) * .85 + clamp(28px, 4vw, 60px)) calc(var(--fade-b) + clamp(24px, 4vw, 60px)); }
.valori--photo::before {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0,0,0,.03) calc(var(--fade-t) * .1), rgba(0,0,0,.1) calc(var(--fade-t) * .2), rgba(0,0,0,.22) calc(var(--fade-t) * .3), rgba(0,0,0,.35) calc(var(--fade-t) * .4), rgba(0,0,0,.5) calc(var(--fade-t) * .5), rgba(0,0,0,.65) calc(var(--fade-t) * .6), rgba(0,0,0,.78) calc(var(--fade-t) * .7), rgba(0,0,0,.9) calc(var(--fade-t) * .8), rgba(0,0,0,.97) calc(var(--fade-t) * .9), #000 var(--fade-t), #000 calc(100% - var(--fade-b)), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, rgba(0,0,0,.03) calc(var(--fade-t) * .1), rgba(0,0,0,.1) calc(var(--fade-t) * .2), rgba(0,0,0,.22) calc(var(--fade-t) * .3), rgba(0,0,0,.35) calc(var(--fade-t) * .4), rgba(0,0,0,.5) calc(var(--fade-t) * .5), rgba(0,0,0,.65) calc(var(--fade-t) * .6), rgba(0,0,0,.78) calc(var(--fade-t) * .7), rgba(0,0,0,.9) calc(var(--fade-t) * .8), rgba(0,0,0,.97) calc(var(--fade-t) * .9), #000 var(--fade-t), #000 calc(100% - var(--fade-b)), transparent 100%); }
.section.chi { padding-bottom: clamp(48px, 7vw, 96px); }

/* ======================================================================
   MENU DA TELEFONO a fisarmonica: grandi titoli bianchi come prima, ogni gruppo si apre sulle sue voci
   (resta ordinato anche aggiungendo pagine: una voce in più è una riga in più dentro il suo gruppo)
   ====================================================================== */
.mnav { padding-top: 100px; }
.mnav a { opacity: 1; translate: none; transition: color .2s; }
.mnav.is-open a { transition-delay: 0s; }
.mnav__item, .mnav .social { opacity: 0; translate: 0 14px; transition: opacity .4s, translate .5s var(--ease); }
.mnav.is-open .mnav__item, .mnav.is-open .social { opacity: 1; translate: 0; transition-delay: calc(var(--k, 0) * 35ms + 80ms); }
.mnav > :nth-child(2) { --k: 1; } .mnav > :nth-child(3) { --k: 2; } .mnav > :nth-child(4) { --k: 3; } .mnav > :nth-child(5) { --k: 4; } .mnav > :nth-child(6) { --k: 5; } .mnav > :nth-child(7) { --k: 6; } .mnav > :nth-child(n + 8) { --k: 7; }
.mnav__item { border-bottom: 1px solid rgba(255, 255, 255, .24); }
.mnav .mnav__top, .mnav__btn { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 16px 0; font: inherit; font-size: clamp(28px, 8.4vw, 40px); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; color: #fff; text-align: left; background: none; border: 0; cursor: pointer; text-decoration: none; }
@media (hover: hover) { .mnav__btn:hover { color: var(--aqua-300); } }
.mnav__top svg, .mnav__btn svg { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); color: #fff; transition: transform .45s var(--ease), background .3s, color .3s, border-color .3s; }
.mnav__grp.is-open .mnav__btn svg { transform: rotate(180deg); background: #fff; border-color: #fff; color: var(--brand-blue); }
.mnav__panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .45s var(--ease), visibility 0s .45s; }
.mnav__grp.is-open .mnav__panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .45s var(--ease), visibility 0s; }
.mnav__inner { min-height: 0; overflow: hidden; display: flex; flex-direction: column; margin-left: 3px; padding-left: 18px; border-left: 2px solid rgba(255, 255, 255, .4); }
.mnav .mnav__inner a { display: block; padding: 9px 0; font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; color: rgba(255, 255, 255, .96); }
.mnav .mnav__inner a:last-child { margin-bottom: 18px; }
.mnav .mnav__inner a:first-child { margin-top: 2px; }
.mnav .social { justify-content: center; margin-top: 28px; }

/* icone social: al passaggio del mouse diventano del loro colore (Facebook blu scuro, Instagram sfumato, YouTube rosso) */
@media (hover: hover) { :is(.header__social, .social) a[aria-label="Facebook"]:hover { background: #1a3d8f; border-color: transparent; color: #fff; } }
@media (hover: hover) { :is(.header__social, .social) a[aria-label="Instagram"]:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); border-color: transparent; color: #fff; } }
@media (hover: hover) { :is(.header__social, .social) a[aria-label="YouTube"]:hover { background: #ff0000; border-color: transparent; color: #fff; } }
@media (hover: hover) { :is(.header__social, .social) a:is([aria-label="Facebook"], [aria-label="Instagram"], [aria-label="YouTube"]):hover svg { color: #fff; } }
@media (hover: hover) { .site-footer .social a:is([aria-label="Facebook"], [aria-label="Instagram"], [aria-label="YouTube"]):hover, .mnav .social a:is([aria-label="Facebook"], [aria-label="Instagram"], [aria-label="YouTube"]):hover { border-color: #fff; } }
.mnav .mnav__inner a.is-current { color: var(--aqua-300); }
@media (hover: hover) { .mnav .mnav__inner a:hover { color: var(--aqua-300); } }

/* ======================================================================
   SCHERMO SCURO: pulsante nella barra in alto (luna / sole) e tema html[data-theme="dark"].
   Il logo resta intatto: nella barra scura si usa la versione bianca (brand book, par. 6).
   ====================================================================== */
.theme-toggle { flex: none; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .25s, color .25s, transform .35s var(--ease); }
@media (hover: hover) { .theme-toggle:hover { background: var(--aqua-100); transform: translateY(-2px); } }
.theme-toggle svg { width: 18px; height: 18px; grid-area: 1 / 1; transition: opacity .25s, transform .55s var(--ease); }
.theme-toggle .t-sun { opacity: 0; transform: rotate(-70deg) scale(.5); }
@media (max-width: 400px) { .theme-toggle { width: 32px; height: 32px; } }
@media (max-width: 1080px) { .header__social { margin-right: 0; } .theme-toggle { margin-right: 6px; } }
.brand__logo--dark { display: none; }

html[data-theme="dark"] {
  color-scheme: dark;
  background: #08131f;
  --ink: #e9f1f8; --muted: #a7bccd; --line: rgba(255, 255, 255, .15); --line-light: rgba(255, 255, 255, .2);
  --aqua-50: #0f2536; --aqua-100: #15354d;
  --aqua-600: #45d3c1; --aqua-700: #6fdccb; --aqua-800: #a9ebe0;
  --brand-blue: #5db0f0; --brand-green: #3fd08e; --brand-red: #ff5d63;
  --night: #0c2f52; --night-2: #174a7c;
  --surface: #0f2133; --surface-2: #14293f;
}
html[data-theme="dark"] body::before {
  background:
    radial-gradient(70vmax 60vmax at 0% 0%, rgba(47, 201, 182, .16), transparent 65%),
    radial-gradient(64vmax 54vmax at 100% 10%, rgba(27, 117, 188, .30), transparent 65%),
    radial-gradient(70vmax 58vmax at 80% 100%, rgba(255, 200, 61, .09), transparent 65%),
    radial-gradient(54vmax 48vmax at 0% 92%, rgba(238, 29, 37, .10), transparent 65%),
    linear-gradient(135deg, #07121d 0%, #0a1b2c 50%, #0c1a27 100%);
}
html[data-theme="dark"] .brand__logo--dark { display: block; }
html[data-theme="dark"] .brand__logo--light { display: none; }
html[data-theme="dark"] .brand__tag { color: #fff; }
html[data-theme="dark"] .theme-toggle .t-moon { opacity: 0; transform: rotate(70deg) scale(.5); }
html[data-theme="dark"] .theme-toggle .t-sun { opacity: 1; transform: none; }

/* barra in alto, sottomenu, menu da telefono */
html[data-theme="dark"] .site-header { background: rgba(11, 27, 44, .92); border-color: rgba(255, 255, 255, .14); box-shadow: 0 12px 40px -12px rgba(0, 0, 0, .7), 0 1px 0 rgba(255, 255, 255, .06) inset; }
html[data-theme="dark"] .sub { background: var(--surface); border: 1px solid var(--line); }
@media (hover: hover) { html[data-theme="dark"] .sub a:hover { background: var(--surface-2); } }
html[data-theme="dark"] .nav a.nav__cta.is-current { background: #2f86cc; }
@media (hover: hover) { html[data-theme="dark"] .nav a.nav__cta:hover { background: #2f86cc; } }
@media (hover: none), (pointer: coarse), (max-width: 820px) { html[data-theme="dark"] .site-header { background: rgba(11, 27, 44, .97); } }

/* intestazioni di pagina e sezioni */
html[data-theme="dark"] .hero.dark, html[data-theme="dark"] .page-hero.dark { background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0)); }
html[data-theme="dark"] .section--tint { background: rgba(255, 255, 255, .04); }
html[data-theme="dark"] .hero .btn--ghost, html[data-theme="dark"] .page-hero .btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
@media (hover: hover) { html[data-theme="dark"] .hero .btn--ghost:hover, html[data-theme="dark"] .page-hero .btn--ghost:hover { background: var(--surface-2); } }

/* schede e contenitori: da bianco a superficie scura */
html[data-theme="dark"] :is(.btn--line, .banner, .roots__note, .tile, .chip, .person, .zone, .doc, .ccard, .gcard, .intro__banner) { background: var(--surface); border-color: var(--line); }
@media (hover: hover) { html[data-theme="dark"] :is(.chip:hover, .btn--line:hover, .roots__note:hover) { background: var(--surface-2); } }
html[data-theme="dark"] .gcard__media { background: var(--surface-2); }
html[data-theme="dark"] :is(.dove__card, .chi__card, .legal__sec, .legal .legal__toc a, .act__facts, .act__note) { background: rgba(15, 33, 51, .86); border-color: var(--line); }
@media (hover: hover) { html[data-theme="dark"] .legal .legal__toc a:hover { background: var(--surface-2); } }
html[data-theme="dark"] :is(.card, .tile, .person, .zone, .doc, .gcard, .ccard, .chip, .proj__media) { box-shadow: 0 18px 50px -30px rgba(0, 0, 0, .8); }
html[data-theme="dark"] .portal, html[data-theme="dark"] .hours, html[data-theme="dark"] .person--lead, html[data-theme="dark"] .rn__year { background: linear-gradient(135deg, #0f3a66, #1a5a96); }
html[data-theme="dark"] .zone__logo, html[data-theme="dark"] .proj__media { background: #fff; border-color: transparent; }

/* segnaposto da completare (giallo): resta leggibile */
html[data-theme="dark"] .todo { color: #3a2e00; }
html[data-theme="dark"] .draft-note { color: #3a2e00; }

/* foto: velo più scuro e foto leggermente smorzate, così non abbagliano */
html[data-theme="dark"] .valori--photo::before { background: linear-gradient(180deg, rgba(6, 26, 48, .9) 0%, rgba(10, 44, 80, .74) 55%, rgba(10, 44, 80, .58) 100%), url("../img/sede-sfondo.webp") center / cover; }
html[data-theme="dark"] .valori--photo .valori__tile { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .4); }
@media (hover: hover) { html[data-theme="dark"] .valori--photo .valori__tile:hover { background: rgba(255, 255, 255, .18); } }

/* intestazione della home: anche qui le sfumature di colore svaniscono in basso (sullo schermo scuro il taglio netto si vedeva) */
.hero .fx { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%); }

/* testi lunghi (pagine con testo e note legali): colore chiaro sullo schermo scuro */
html[data-theme="dark"] :is(.prose p, .legal p, .legal li, .legal th, .legal td) { color: #cfdce8; }

/* sagoma dell'Umbria a sinistra del marchio, nella barra in alto (il marchio e la dicitura restano com'erano, centrati tra loro) */
.brand { flex-direction: row; gap: 10px; }
.brand__txt { display: flex; flex-direction: column; align-items: center; gap: 4px; line-height: 1; }
.brand .brand__map { display: block; height: 40px; width: auto; aspect-ratio: 156 / 168; flex: none; background: var(--brand-green); -webkit-mask: url("../img/umbria.png") center / contain no-repeat; mask: url("../img/umbria.png") center / contain no-repeat; }
@media (max-width: 400px) { .brand { gap: 7px; } .brand .brand__map { height: 34px; } }
@media (max-width: 350px) { .brand .brand__map { display: none; } }
html[data-theme="dark"] .homephoto { background: transparent; border-color: transparent; }

/* schermo scuro: frecce sulle schede e altri dettagli che restano su sfondo bianco, col loro colore scuro */
html[data-theme="dark"] .card-link .card figcaption::after { background: #fff; color: #052b2e; }
html[data-theme="dark"] .skip { background: var(--surface); color: var(--ink); }
html[data-theme="dark"] .mnav__grp.is-open .mnav__btn svg { color: #1b75bc; }
html[data-theme="dark"] .site-footer { background: #0b2640; }
html[data-theme="dark"] .site-footer .social a { border-color: rgba(255, 255, 255, .35); }


/* barra in alto da telefono: marchio, social, pulsante tema e menu devono stare tutti nello schermo (senza far uscire il pulsante del menu) */
@media (max-width: 480px) {
  .site-header { gap: 6px; padding-left: 14px; padding-right: 8px; }
  .brand { gap: 6px; }
  .brand .brand__map { height: 28px; }
  .brand img.brand__logo { height: 24px; }
  .brand__tag { font-size: 7.6px; }
  .brand__txt { gap: 3px; }
  .header__social { margin-left: auto; margin-right: 0; gap: 0; }
  .header__social a { width: 28px; height: 28px; }
  .header__social svg { width: 16px; height: 16px; }
  .theme-toggle { width: 28px; height: 28px; margin-right: 2px; }
  .theme-toggle svg { width: 16px; height: 16px; }
}
@media (max-width: 350px) { .header__social a { width: 26px; height: 26px; } .theme-toggle { width: 26px; height: 26px; } .site-header { padding-left: 12px; } }

/* frase evidenziata della home: sullo schermo scuro il testo resta chiaro e l'evidenziatore diventa una sottolineatura gialla sotto le lettere */
html[data-theme="dark"] .quote mark { background: linear-gradient(transparent 90%, #ffd84d 90%); color: #ffd84d; }

/* anello tricolore (verde, bianco, rosso, da sinistra a destra come la bandiera) intorno alla foto a capsula della home.
   REGOLA: il tricolore sta SOLO nel bordo (border-box). Lo sfondo dell'immagine si vede finché la foto non è caricata e decodificata:
   prima il tricolore riempiva tutta la capsula e, tornando alla home, si vedeva la bandiera per un attimo (fino a oltre 2 s con rete lenta).
   Dentro (padding-box) c'è ora un'anteprima sfocata della foto stessa (48x17 px, 338 byte, da hero-anspi.jpg): si vede subito, la foto vera la sostituisce. */
.homephoto img { border: 8px solid transparent; background: url("data:image/webp;base64,UklGRkoBAABXRUJQVlA4ID4BAACwBwCdASowABEAPu1iqU2ppaOiMAgBMB2JZgCxH0X8GX/xRef/Dkr30U/+1j6DJ9dWI4ZweZMVckZW08q91B6BLegymesAAP7pFcSVJVYmExLYAAzk/4maX4tV57YhpIMFv9oF578BE/umK2uC7yDHA9YYSsbhUZCasaCUBr4g4tpDssTvdgAvZm7m/CsJF1jkI0Rku6ZrrfqkNyw5BNUGwsJfyvqx9wC+tJ9uTPNwkQk0MG3PdY4n6oha4VMPLFnN+CYQ+memZOIwijnBdMAicEZQdg8C7yUXYxUWkcRXqwB3EwKzVivAh7YSx8RTWodTmL/qzUoL3nOJgrePACjdUiyP3bdHZjUb/2KVb3ZfeHKDqrBT/I5jN7/8jmC9IadbP7kEqohlnkmOejXJV+QROhuH/8CVBV2f/wJTeAA=") padding-box center / cover no-repeat, linear-gradient(90deg, #006738 0 33.34%, #fff 33.34% 66.67%, #ee1d25 66.67%) border-box; }
@media (max-width: 820px) { .homephoto img { border-width: 6px; } }

/* libro da sfogliare (guide): stesso riquadro della mappa, ma più alto; il lettore occupa tutto lo spazio */
.flip { min-height: clamp(480px, 62vw, 760px); }
.flip .btn-row { margin-top: 4px; }

/* ======================================================================
   FLUIDITÀ SU TELEFONO (analisi del 4 nov 2026)
   Regole di fondo: si animano solo transform e opacity (le sole gratuite per la grafica), niente sfocature su schermi grandi,
   niente effetti che si ridisegnano a ogni fotogramma, e gli effetti "al passaggio del mouse" solo dove c'è un mouse.
   ====================================================================== */

/* sfondo colorato fisso: altezza stabile (non cambia quando la barra di Safari si ritira) e livello suo */
body::before { inset: auto; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; transform: translateZ(0); }

/* nessun lampo grigio al tocco; risposta immediata al tocco sui pulsanti e sulle schede */
a, button, summary { -webkit-tap-highlight-color: transparent; }
@media (hover: none) {
  .btn:active, .chip:active, .gcard:active, .ccard:active, .doc button:active { transform: scale(.97); }
  .card-link:active .card, .valori__tile:active { transform: scale(.985); }
}

/* il connettore a cuore di Chi siamo: la linea tratteggiata scorre con un movimento (transform) invece di ridisegnarsi a ogni fotogramma */
.chi__seg { overflow: hidden; background: none; }
.chi__seg::before { content: ""; position: absolute; top: 0; bottom: 0; left: -20px; right: 0; background: repeating-linear-gradient(90deg, currentColor 0 10px, transparent 10px 20px); }
.js .chi__link.is-in .chi__seg { animation: chi-draw .8s var(--ease) .75s forwards; }
.js .chi__link.is-in .chi__seg::before { animation: chi-march 1s linear 1.6s infinite; }
@keyframes chi-march { to { transform: translateX(20px); } }
@keyframes chi-march-v { to { transform: translateY(20px); } }
@media (max-width: 820px) {
  .chi__seg::before { top: -20px; bottom: 0; left: 0; right: 0; background: repeating-linear-gradient(180deg, currentColor 0 10px, transparent 10px 20px); }
  .js .chi__link.is-in .chi__seg { animation: chi-draw-v .8s var(--ease) .75s forwards; }
  .js .chi__link.is-in .chi__seg::before { animation: chi-march-v 1s linear 1.6s infinite; }
}

/* animazioni infinite in pausa quando l'elemento è fuori dallo schermo (lo decide il JavaScript con .is-off) */
.is-off, .is-off *, .is-off::before, .is-off::after, .is-off *::before, .is-off *::after { animation-play-state: paused !important; }

/* dopo la comparsa, gli elementi rispondono subito (prima restavano con ritardo e durata lunga della comparsa anche per hover/tocco) */
.js .rv.rv-done { transition: opacity .3s var(--ease), transform .45s var(--ease), box-shadow .4s var(--ease), background .3s, border-color .3s, color .3s; transition-delay: 0s; }

/* telefono, tablet e finestre strette */
@media (hover: none), (pointer: coarse), (max-width: 820px) {
  /* le macchie di colore dei fondali sono già sfumate dal gradiente: il filtro blur(70px) e il livello dedicato pesavano 8-14 megapixel a pagina */
  .fx .blob { filter: none; will-change: auto; }
  .pin { filter: none; }
  .portal__icon { -webkit-backdrop-filter: none; backdrop-filter: none; }
  /* niente sfondi sfocati (backdrop-filter): su iPhone si ricalcolano a ogni fotogramma di scorrimento; il vetro resta, un po' più pieno */
  .btn--ghost, .section--tint { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .section--tint { background: rgba(255, 255, 255, .55); }
  .valori--photo .valori__tile { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .2); }
  .radici--photo .sedecard { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(12, 62, 112, .5); }   /* senza sfocatura il vetro chiaro lascia vedere i mattoni sotto le scritte: meglio un vetro azzurro piu' pieno */
  .radici--photo .sedecard__nome { text-shadow: 0 1px 12px rgba(0, 30, 70, .5); }
  /* comparsa allo scroll più breve e meno spostamento: più scattante e meno lavoro */
  .js .rv { transform: translateY(18px); transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--d, 0) * 50ms); }
}

/* foto della sede sullo sfondo: lo stesso file leggero (circa 100 KB) per telefono e computer */
@media (max-width: 820px) {
  .radici--photo { background: linear-gradient(180deg, rgba(20, 90, 150, .86) 0%, rgba(27, 117, 188, .62) 55%, rgba(27, 117, 188, .4) 100%), url("../img/sede-sfondo.webp") center / cover; }
  .valori--photo::before { background: linear-gradient(180deg, rgba(20, 90, 150, .86) 0%, rgba(27, 117, 188, .62) 55%, rgba(27, 117, 188, .4) 100%), url("../img/sede-sfondo.webp") center / cover; }
  html[data-theme="dark"] .valori--photo::before { background: linear-gradient(180deg, rgba(6, 26, 48, .9) 0%, rgba(10, 44, 80, .74) 55%, rgba(10, 44, 80, .58) 100%), url("../img/sede-sfondo.webp") center / cover; }
}

/* menu: il cerchio che si apre. Si allarga solo lo sfondo (un solo gradiente, quasi gratis da ridisegnare) e non l'intero menu:
   le voci compaiono sopra con una dissolvenza. Prima il cerchio ritagliava tutto il menu e lo ridisegnava a ogni fotogramma. */
.mnav, .mnav.is-open { clip-path: none; background: none; opacity: 1; transform: none; }
.mnav { transition: visibility 0s .7s; }
.mnav.is-open { transition: visibility 0s; }
.mnav__bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(80vmax 80vmax at 100% 100%, rgba(111, 220, 203, .34), transparent 70%), var(--night); clip-path: circle(0 at calc(100% - 44px) 44px); transition: clip-path .7s var(--ease); }
.mnav.is-open .mnav__bg { clip-path: circle(150% at calc(100% - 44px) 44px); }
.mnav > :not(.mnav__bg) { position: relative; z-index: 1; }

/* Nessuna transizione durante il caricamento della pagina (html.no-tr, messa dallo script nell'<head> e tolta da site.js al primo fotogramma).
   Su Safari la pagina può essere calcolata una prima volta senza stile e poi "animare" fino allo stile vero: si vedevano lampeggiare per un attimo
   le voci del menu e i colori delle icone a ogni cambio pagina. */
html.no-tr, html.no-tr *, html.no-tr *::before, html.no-tr *::after { transition: none !important; }

/* ======================================================================
   NUOVE VOCI DELLA BARRA E NUOVE PAGINE (modulistica, servizio civile, brochure sfogliabile delle convenzioni)
   ====================================================================== */

/* barra in alto con otto voci: più larga; tra 1241 e 1459 px più compatta e senza le icone social (restano nel menu e nel piè di pagina);
   sotto 1240 px diventa il menu da telefono */
.site-header { width: min(1500px, 100% - 24px); }
@media (min-width: 1241px) and (max-width: 1459px) {
  .header__social { display: none; }
  .nav a, .nav .nav__btn { padding: 10px 11px; font-size: 13.5px; }
}
@media (max-width: 1240px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__social { margin-left: auto; margin-right: 0; }
  .theme-toggle { margin-right: 6px; }
}

/* collegamenti a un altro sito: freccetta ↗ */
.ext { flex: none; width: 12px; height: 12px; margin-left: 6px; opacity: .65; }
.sub a .ext { margin-left: auto; }
.mnav .mnav__inner a .ext { display: inline-block; width: 14px; height: 14px; margin-left: 8px; vertical-align: -1px; }
.foot a .ext { display: inline-block; width: 12px; height: 12px; margin-left: 6px; vertical-align: -1px; }

/* piè di pagina a quattro colonne */
.foot { grid-template-columns: 1.3fr repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); }
@media (max-width: 1080px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot { grid-template-columns: 1fr; } }

/* pagina "Le nostre attività": i due blocchi (competenze e Progetto Cambia…MENTI) restano vicini */
.section--follow { padding-top: 0; }

/* Chi siamo: ANSPI Nazionale */
.nazionale__text { max-width: 52ch; margin: 0 auto; text-align: center; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; color: var(--muted); }
.nazionale .cards-cta { text-align: center; }

/* Modulistica */
.forms { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 16px); }
.form { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); text-decoration: none; box-shadow: 0 18px 50px -34px rgba(13, 74, 130, .45); transition: transform .45s var(--ease), border-color .3s, box-shadow .45s; }
.form__ico { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--aqua-100); color: var(--aqua-700); }
.form__ico svg { width: 26px; height: 26px; }
.form__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.form__txt b { font-size: 17px; letter-spacing: -.02em; line-height: 1.22; }
.form__txt small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.form__go { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.form__go svg { width: 16px; height: 16px; }
@media (hover: hover) { .form:hover { transform: translateY(-4px); border-color: var(--aqua-400); } .form:hover .form__go { background: var(--brand-blue); color: #fff; border-color: var(--brand-blue); } }
.forms__note { max-width: 62ch; margin: clamp(26px, 3vw, 40px) auto 0; text-align: center; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.forms__note a { color: var(--brand-blue); text-underline-offset: 3px; }
@media (max-width: 820px) { .forms { grid-template-columns: 1fr; } }

/* Servizio Civile */
.sc__portal { margin-top: clamp(40px, 6vw, 80px); }
.sc__head { margin-top: clamp(50px, 7vw, 100px); margin-bottom: 18px; }
.sc__text { max-width: 54ch; margin: 0 auto clamp(26px, 3vw, 40px); text-align: center; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--muted); }
.sc__close { margin: clamp(30px, 4vw, 56px) auto 0; color: var(--ink); font-weight: 700; }
.contact--2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-inline: auto; }
@media (max-width: 1080px) { .contact--2 { grid-template-columns: 1fr; } }

/* Convenzioni: la brochure si sfoglia direttamente sulla pagina */
.bro { max-width: 1120px; margin-inline: auto; outline: none; }
.bro:focus-visible { outline: 3px solid var(--aqua-500); outline-offset: 10px; border-radius: 12px; }
.bro__stage { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: clamp(8px, 1.4vw, 18px); }
.bro__p { flex: 0 1 min(470px, calc(50% - 9px)); min-width: 0; margin: 0; }
.bro--solo .bro__p { flex-basis: min(470px, 100%); }
.bro__p[hidden] { display: none; }
.bro__p button { display: block; width: 100%; padding: 0; border: 0; border-radius: 6px; overflow: hidden; background: #fff; cursor: zoom-in; box-shadow: 0 34px 70px -34px rgba(13, 74, 130, .6), 0 0 0 1px rgba(5, 43, 46, .1); }
.bro__p img { width: 100%; height: auto; }
.bro__bar { display: none; align-items: center; justify-content: center; gap: 16px; margin-top: 26px; }
.js .bro__bar { display: flex; }
.bro__btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .3s, color .3s, opacity .3s; }
.bro__btn svg { width: 22px; height: 22px; }
.bro__btn:disabled { opacity: .35; cursor: default; }
@media (hover: hover) { .bro__btn:not(:disabled):hover { background: var(--brand-blue); color: #fff; border-color: var(--brand-blue); } }
.bro__count { min-width: 170px; text-align: center; font-weight: 700; color: var(--muted); font-size: 15px; }
.bro__idx { display: none; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.js .bro__idx { display: flex; }
.bro__chip { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .8); font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; transition: border-color .3s; }
.bro__chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); flex: none; }
.bro__chip small { color: var(--muted); font-weight: 700; font-size: 12px; }
@media (hover: hover) { .bro__chip:hover { border-color: var(--dot); } }
.bro__dl { justify-content: center; align-items: center; gap: 16px; margin-top: clamp(30px, 4vw, 50px); }
.bro__size { color: var(--muted); font-size: 14px; }
@media (max-width: 899px) { .bro__p { flex-basis: 100%; max-width: 560px; } }

/* schermo scuro: le nuove schede */
html[data-theme="dark"] .form, html[data-theme="dark"] .bro__btn, html[data-theme="dark"] .bro__chip { background: var(--surface); border-color: var(--line); }
html[data-theme="dark"] .form__ico { background: var(--aqua-100); }

/* schede con foto: la barra colorata che si anima in basso al passaggio del mouse è più spessa e ha un alone, così si vede bene sul fondo blu */
.card::before { height: 6px; box-shadow: 0 0 20px 2px var(--c, var(--aqua-400)); }

/* le voci della barra non vanno mai a capo su due righe (se non c'è spazio si passa alla versione compatta o al menu da telefono) */
.nav a, .nav .nav__btn { white-space: nowrap; }
.sub a { white-space: normal; }

/* orari: i giorni senza orario restano nell'elenco, più chiari, con "Chiuso" */
.hours li.is-closed { opacity: .62; }
.hours li.is-closed span:last-child { font-weight: 400; }

/* ======================================================================
   BANNER "SEGUICI SUI SOCIAL" (home, tra la foto della sede e "Dove siamo")
   Animazioni solo di movimento e trasparenza (leggere); in pausa quando il banner è fuori schermo.
   ====================================================================== */
.social-band { padding: clamp(28px, 5vw, 64px) 0 0; }
.sb { position: relative; isolation: isolate; overflow: hidden; border-radius: clamp(30px, 4vw, 56px); padding: clamp(30px, 4vw, 56px) clamp(22px, 4vw, 64px); text-align: center; color: #fff;
  background: linear-gradient(115deg, #1b75bc 0%, #1596c8 52%, #12b09f 100%); box-shadow: 0 50px 90px -50px rgba(27, 117, 188, .7); }
.sb__orb { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0)); }
.sb__orb--a { width: 46%; aspect-ratio: 1; left: -10%; top: -60%; animation: sb-drift-a 12s ease-in-out infinite alternate; }
.sb__orb--b { width: 40%; aspect-ratio: 1; right: -8%; bottom: -70%; animation: sb-drift-b 15s ease-in-out infinite alternate; }
@keyframes sb-drift-a { to { transform: translate(18%, 22%) scale(1.15); } }
@keyframes sb-drift-b { to { transform: translate(-20%, -18%) scale(1.2); } }
.sb__title { font-size: clamp(34px, 5.4vw, 80px); line-height: 1.02; letter-spacing: -.04em; font-weight: 700; }
.sb__title span { color: #ffd84d; }
.sb__list { list-style: none; margin: clamp(26px, 3.6vw, 50px) 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(18px, 4vw, 64px); }

.sb__logo { position: relative; display: block; width: clamp(72px, 9vw, 108px); aspect-ratio: 1; margin-bottom: 8px; border-radius: 24%; box-shadow: 0 18px 34px -14px rgba(0, 30, 70, .55); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.sb__logo svg { display: block; width: 100%; height: 100%; }



.sb__app b { font-size: clamp(16px, 1.5vw, 20px); letter-spacing: -.01em; }
.sb__app small { font-size: 13px; opacity: .88; }

.sb__app:focus-visible { outline: 3px solid #fff; outline-offset: 8px; border-radius: 18px; }
@media (max-width: 560px) { .sb__app small { display: none; } .sb__list { gap: 18px 22px; } }
.social-band + .dove { padding-top: clamp(56px, 8vw, 110px); }
html[data-theme="dark"] .sb { background: linear-gradient(115deg, #0f3a66 0%, #12608f 52%, #0d7f76 100%); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .8); }

/* banner social, versione sobria: i loghi compaiono uno dopo l'altro con una dissolvenza leggera; al passaggio del mouse si alzano un poco */
.sb__app { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: #fff; }
.js .sb__app { opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + 300ms); }
.js .sb.is-in .sb__app { opacity: 1; transform: none; }
.js .sb.is-in .sb__app.sb--ok { transition-delay: 0s; }
@media (hover: hover) { .sb__app:hover .sb__logo { transform: translateY(-5px); box-shadow: 0 26px 40px -16px rgba(0, 30, 70, .6); } .sb__app:hover b { text-decoration: underline; text-underline-offset: 4px; } }
.sb__orb { opacity: .7; }

/* barra in alto da computer: meno spazio vuoto tra Contatti, icone social e pulsante del tema (le voci restano a destra, vicine alle icone) */
@media (min-width: 1241px) {
  .site-header { justify-content: flex-start; gap: 8px; }
  .site-header > nav { margin-left: auto; }
  .header__social { margin-left: 2px; }
}

/* banner social: tre colonne uguali da tablet in su, così i loghi sono equidistanti anche se i nomi hanno lunghezze diverse */
@media (min-width: 561px) {
  .sb__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 3vw, 48px); max-width: 760px; margin-inline: auto; }
  .sb__app small { max-width: 100%; text-align: center; overflow-wrap: anywhere; }
}

/* GREST: sussidio e collegamento al sito dell'anno (estateanspi.it) */
.estate { text-align: center; }
.estate__intro { max-width: 62ch; margin: 0 auto clamp(22px, 3vw, 32px); font-size: clamp(17px, 1.35vw, 19px); line-height: 1.7; }
.estate .btn-row { justify-content: center; }
.estate .btn-row + .btn-row { margin-top: 14px; }
.estate .note { margin-top: 24px; }

/* GREST: la grafica dell'anno nella pillola in testa alla pagina, tutta visibile (niente ritaglio, niente marchio sovrapposto) */
.page-hero .hero__ph.hero__ph--cover { aspect-ratio: var(--ar, 1142 / 638); width: min(var(--w, 780px), 100% - 2 * var(--gutter)); border-radius: clamp(26px, 4vw, 52px); background: #fff; }
.page-hero .hero__ph.hero__ph--cover::before, .page-hero .hero__ph.hero__ph--cover::after { display: none; }

/* ---------- pagina GREST: tutte le edizioni, una scheda per anno ---------- */
.gy-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.gy { height: 100%; display: flex; flex-direction: column; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; text-decoration: none; color: inherit; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s, border-color .3s; }
.gy__media { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--aqua-50); overflow: hidden; }
.gy__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 14px; box-sizing: border-box; transition: transform .6s var(--ease); }
.gy__body { display: flex; flex-direction: column; gap: 3px; padding: 18px 20px 22px; }
.gy__body small { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--aqua-700); }
.gy__year { font-size: clamp(34px, 3.4vw, 48px); line-height: 1; letter-spacing: -.04em; color: var(--c, var(--brand-blue)); }
.gy__title { font-size: 15px; color: var(--muted); }
.gy__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--c, var(--brand-blue)); }
.gy__go svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.gy:focus-visible { outline: 3px solid var(--aqua-500); outline-offset: 4px; }
@media (hover: hover) {
  .gy:hover { transform: translateY(-8px); border-color: var(--c, var(--aqua-400)); box-shadow: 0 40px 70px -34px rgba(10, 111, 103, .55); }
  .gy:hover .gy__media img { transform: scale(1.06); }
  .gy:hover .gy__go svg { transform: translateX(5px); }
}
@media (max-width: 1080px) { .gy-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .gy-grid { grid-template-columns: repeat(2, 1fr); } .gy__body { padding: 14px 14px 18px; } }
@media (max-width: 380px) { .gy-grid { grid-template-columns: 1fr; } }
html[data-theme="dark"] .gy-grid > li { --c: var(--cd, var(--brand-blue)); }
html[data-theme="dark"] .gy { background: var(--surface); border-color: var(--line); }
html[data-theme="dark"] .gy__media { background: var(--surface-2); }
@supports (background: color-mix(in srgb, red 10%, white)) {
  .gy__media { background: color-mix(in srgb, var(--c, var(--aqua-400)) 9%, #fff); }
  html[data-theme="dark"] .gy__media { background: color-mix(in srgb, var(--c, var(--aqua-400)) 16%, var(--surface-2)); }
}

/* pagina GREST: meno spazio tra il titolo e le schede */
.page-hero.page-hero--compact { padding-bottom: clamp(8px, 1.5vw, 20px); }
.section.section--tight { padding-top: clamp(20px, 3vw, 40px); }

/* pagina Dove siamo (Sede): indirizzo e mappa in un'unica scheda, come nella sezione «Dove siamo» della home */
.sede__dove { max-width: 1040px; }
.sede__dove .dove__info .dove__addr { text-align: left; margin: 0; }
.dove__lbl { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--aqua-700); }
.sede__dove .map { min-height: 340px; }
@media (max-width: 820px) { .sede__dove .map { min-height: 280px; } }

/* ======================================================================
   SCHEDA DELLA SEDE (home, sopra la foto) — ridisegnata il 10/11/2026; dal 23/11/2026 senza l'anno dell'Abbazia
   Pannello di vetro con «La nostra sede · Perugia», l'indirizzo (dal 26/11/2026) e il pulsante «Scopri dove ci troviamo».
   ====================================================================== */
.sedecard { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; width: min(720px, 100%); margin: clamp(30px, 4vw, 54px) auto 0; padding: clamp(28px, 3.8vw, 48px) clamp(28px, 4.8vw, 68px); border-radius: clamp(30px, 4vw, 46px); color: #fff; text-align: left;
  background: linear-gradient(135deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06)), rgba(12, 62, 112, .16); border: 1px solid rgba(255, 255, 255, .5);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 40px 80px -40px rgba(0, 20, 50, .75), inset 0 1px 0 rgba(255, 255, 255, .4); }
.sedecard__testo { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.sedecard__eyebrow { margin: 0; display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--aqua-200); }
.sedecard__eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.sedecard__nome { margin: 0; font-size: clamp(26px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -.035em; font-weight: 700; }
.sedecard__testo .btn { margin-top: 10px; }
@media (max-width: 640px) {
  .sedecard { padding: 26px 24px 28px; }
}

/* ======================================================================
   DOCUMENTI (Modulistica, Assicurazione, RUNTS, Amministrazione), PROGETTI e SERVIZIO CIVILE — modifiche del 23/11/2026
   ====================================================================== */
/* titoli delle sezioni degli elenchi di documenti */
.forms__titolo { max-width: 1000px; margin: clamp(42px, 5vw, 72px) auto clamp(16px, 2vw, 24px); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.03em; font-weight: 700; color: var(--ink); }
.wrap > .forms__titolo:first-child { margin-top: 0; }
/* documento disponibile in piu' formati (Word e PDF): una riga con un pulsantino per formato, senza sollevarsi al passaggio del mouse perche' non e' un solo collegamento */
@media (hover: hover) { .form--due:hover { transform: none; border-color: var(--line); box-shadow: 0 18px 50px -34px rgba(13, 74, 130, .45); } }
.form__fmt { flex: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.form__fmt a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; text-decoration: none; transition: border-color .25s, color .25s, background .25s; }
.form__fmt a svg { width: 13px; height: 13px; }
@media (hover: hover) { .form__fmt a:hover { border-color: var(--aqua-500); color: var(--aqua-700); background: var(--aqua-50); } }
@media (max-width: 520px) { .form--due { flex-wrap: wrap; } .form--due .form__fmt { width: 100%; justify-content: flex-start; } }
html[data-theme="dark"] .form__fmt a { background: var(--surface); border-color: var(--line); }

/* progetti: senza logo l'articolo sta su una sola colonna; sottotitolo del progetto; elenco dei dati accanto al testo */
.proj--solo { grid-template-columns: minmax(0, 820px); justify-content: center; }
.proj .proj__sub { margin-top: 10px; font-size: clamp(18px, 1.7vw, 24px); font-weight: 700; letter-spacing: -.02em; color: var(--brand-blue); }
.proj p b { color: var(--ink); }
.proj .act__facts { margin-top: 22px; grid-template-columns: 190px 1fr; }
@media (max-width: 560px) { .proj .act__facts { grid-template-columns: 1fr; gap: 2px; } .proj .act__facts dd { margin-bottom: 10px; } }

/* Servizio Civile: «Per un po' di storia», gli obiettivi in schede numerate, le sedi accreditate */
.btn-row--centro { justify-content: center; }
.sc__storia { margin: clamp(24px, 3vw, 36px) auto 0; }
.scu { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; display: grid; gap: clamp(12px, 1.6vw, 18px); }
.scu__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(16px, 2.4vw, 32px); align-items: start; padding: clamp(20px, 2.6vw, 30px) clamp(20px, 3vw, 36px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 50px -34px rgba(13, 74, 130, .45); }
.scu__n { min-width: 1.4em; font-size: clamp(30px, 3.4vw, 44px); line-height: 1; font-weight: 700; letter-spacing: -.04em; color: var(--brand-blue); }
.scu__item p { margin: 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; font-weight: 700; color: var(--ink); }
.scu__item ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.scu__item li { position: relative; padding-left: 22px; font-size: clamp(16px, 1.35vw, 18px); line-height: 1.55; color: var(--muted); }
.scu__item li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua-400); }
.scu__item .scu__cit { display: block; margin-top: 2px; color: var(--ink); }
.scu__item em { font-style: italic; }
.scu__item li strong { color: var(--ink); }
.sc__sedi { max-width: 34ch; margin: clamp(34px, 5vw, 64px) auto 0; text-align: center; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.25; letter-spacing: -.03em; font-weight: 700; color: var(--brand-blue); }
html[data-theme="dark"] .scu__item { background: var(--surface); border-color: var(--line); }

/* Progetto LUCE: due locandine ingrandibili al posto del logo (23/11/2026) */
.proj__flyers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); align-items: start; }
.proj:nth-of-type(even) .proj__flyers { order: 2; }
@media (max-width: 820px) { .proj:nth-of-type(even) .proj__flyers { order: 0; } .proj__flyers { width: 100%; max-width: 560px; margin-inline: auto; } }

/* Modulistica: barra di ricerca (26/11/2026). Filtra l'elenco nel browser; senza JavaScript non compare */
.cercadoc { display: none; max-width: 1000px; margin: 0 auto clamp(26px, 3.4vw, 44px); }
.js .cercadoc { display: block; }
.section--cerca { padding-top: clamp(8px, 2vw, 28px); }   /* la barra di ricerca sta subito sotto il titolo della pagina */
.cerca { position: relative; display: flex; align-items: center; }
.cerca__ico { position: absolute; left: 22px; width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.cerca__ico svg { width: 100%; height: 100%; }
.cerca__campo { width: 100%; height: 60px; padding: 0 58px 0 56px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 17px; box-shadow: 0 18px 50px -34px rgba(13, 74, 130, .45); -webkit-appearance: none; appearance: none; transition: border-color .25s, box-shadow .25s; }
.cerca__campo::placeholder { color: var(--muted); opacity: .9; }
.cerca__campo::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.cerca__campo:focus { outline: none; border-color: var(--aqua-500); box-shadow: 0 0 0 4px rgba(42, 191, 170, .2), 0 18px 50px -34px rgba(13, 74, 130, .45); }
.cerca__x { position: absolute; right: 11px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--aqua-50); color: var(--ink); font-size: 20px; line-height: 1; display: grid; place-items: center; cursor: pointer; }
.cerca__x[hidden], .cerca__vuoto[hidden], .forms[hidden], .forms > li[hidden], .forms__titolo[hidden] { display: none !important; }
.cerca__stato { margin: 12px 4px 0; font-size: 14px; color: var(--muted); }
.cerca__vuoto { margin-top: 18px; padding: 22px 24px; border-radius: var(--r-lg); border: 1px dashed var(--line); text-align: center; color: var(--muted); }
.cerca__vuoto p { margin: 0; }
.cerca__vuoto b { color: var(--ink); }
html[data-theme="dark"] .cerca__campo { background: var(--surface); }

/* ---------- home: la frase di don Bosco al posto di «L’oratorio insegna…» (30/11/2026), con la firma centrata sotto ---------- */
.intro__cit { margin: 12px 0 30px; display: flex; flex-direction: column; align-items: center; }
.intro__cit .quote { margin: 0; }
.intro__cit figcaption { display: inline-flex; align-items: center; gap: 14px; margin-top: clamp(12px, 1.4vw, 20px); font-size: clamp(18px, 1.8vw, 24px); font-weight: 700; color: var(--brand-blue); }
.intro__cit figcaption::before, .intro__cit figcaption::after { content: ""; width: 30px; height: 2px; border-radius: 2px; background: currentColor; opacity: .5; }
@media (max-width: 820px) { .intro__cit { margin: 10px 0 26px; } }
/* il cuore rosso accanto alla parola «cuore» (30/11/2026): resta sulla stessa riga della parola ed entra con un battito, una volta sola, mentre la frase compare */
.quote__fine { white-space: nowrap; }
.quote__cuore { display: inline-block; width: .7em; height: .7em; margin-left: .16em; vertical-align: -.02em; fill: var(--brand-red); transform-origin: 50% 60%; animation: cuore-arrivo .7s ease-in-out .35s both; }
@keyframes cuore-arrivo { 0% { transform: scale(0); } 40% { transform: scale(1.2); } 62% { transform: scale(.92); } 82% { transform: scale(1.06); } 100% { transform: scale(1); } }
