/* ===========================================================
   Dott.ssa Giada Salvadori — Psicologa clinica
   Piombino (LI) · Online — sito multi-pagina
   Palette: i colori dello studio — blu (poltrona), senape (poltrone e cuscino), celeste (parete)
   Font: DM Serif Display (titoli) + Bricolage Grotesque (testo)
   Motto: "Una mano tesa può essere l'inizio di un nuovo passo" — il filo del logo, dal groviglio alla spirale
   =========================================================== */

:root {
  --gs-blu: #1F3550;
  --gs-blu-deep: #15253A;
  --gs-blu-mid: #2F5A84;
  --gs-celeste: #A6CFDD;
  --gs-celeste-soft: #D5E9F1;
  --gs-celeste-pale: #EEF6FA;
  --gs-senape: #D8A23F;
  --gs-senape-dark: #94691A;
  --gs-senape-soft: #F0D9A6;
  --gs-senape-pale: #FAF1DE;
  --gs-bg: #FCFBF7;
  --gs-gray: #586273;
  --gs-border: #E4E8EE;
  --white: #FFFFFF;
  --font-title: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-sm: 0 2px 14px rgba(31,53,80,.06);
  --shadow-md: 0 24px 50px -26px rgba(31,53,80,.4);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--gs-blu); background: var(--gs-bg); line-height: 1.72; font-size: 1.03rem; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; position: relative; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font-family: inherit; }
ul, ol { list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--gs-blu-mid); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gs-senape-soft); color: var(--gs-blu); }

h1, h2, h3, h4 { font-family: var(--font-title); color: var(--gs-blu); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.7rem, 6vw, 5rem); }
h2 { font-size: clamp(2.05rem, 4vw, 3.3rem); }
h3 { font-size: 1.5rem; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--gs-blu-mid); }
p { color: var(--gs-gray); }
strong { color: var(--gs-blu); font-weight: 600; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--gs-blu); color: var(--white); padding: 12px 18px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { left: 12px; top: 12px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 30px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 30px; }
.section { padding: 112px 0; position: relative; scroll-margin-top: 84px; }
.section-white { background: var(--white); }
.section-pale { background: var(--gs-celeste-pale); }
.section-scura { background: var(--gs-blu); color: rgba(255,255,255,.82); overflow: hidden; overflow: clip; }
.section-scura h2, .section-scura h3 { color: var(--white); }
.section-scura h2 em, .section-scura h3 em { color: var(--gs-senape-soft); }
.section-scura p { color: rgba(255,255,255,.76); }
.centro { text-align: center; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gs-blu-mid); }
.eyebrow svg { width: 14px; height: 14px; color: var(--gs-senape); flex-shrink: 0; }
.section-scura .eyebrow { color: var(--gs-celeste); }
.testa { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: end; margin-bottom: 56px; }
.testa > * { min-width: 0; }
.testa p { font-size: 1.06rem; }
.testa-centro { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.testa-centro p { margin-top: 18px; font-size: 1.06rem; }
.testa-centro .eyebrow { justify-content: center; }

/* ===== Bottoni ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-body); font-weight: 600; font-size: .96rem; line-height: 1.2; text-align: center; padding: 16px 28px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease; }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; transition: transform .3s var(--ease); }
.btn:hover svg.freccia { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-scuro { background: var(--gs-blu); color: var(--white); box-shadow: 0 14px 30px -16px rgba(21,37,58,.75); }
.btn-scuro:hover { background: var(--gs-blu-mid); }
.btn-vetro { background: rgba(255,255,255,.72); color: var(--gs-blu); border-color: rgba(31,53,80,.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-vetro:hover { background: var(--white); border-color: var(--gs-blu); }
.btn-linea { background: transparent; color: var(--gs-blu); border-color: rgba(31,53,80,.22); }
.btn-linea:hover { border-color: var(--gs-blu); background: var(--white); }
.btn-senape { background: var(--gs-senape); color: var(--gs-blu-deep); box-shadow: 0 14px 30px -16px rgba(148,105,26,.8); }
.btn-senape:hover { background: var(--gs-senape-soft); }
.btn-bordo-chiaro { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-bordo-chiaro:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.btn-pieno { width: 100%; }
.link-freccia { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .94rem; color: var(--gs-blu-mid); border-bottom: 1.5px solid var(--gs-senape); padding-bottom: 2px; transition: gap .3s var(--ease), border-color .3s ease; }
.link-freccia svg { width: 15px; height: 15px; }
.link-freccia:hover { gap: 12px; border-color: var(--gs-blu-mid); }
.link-freccia:active { opacity: .7; }

/* ===========================================================
   HEADER (sticky su <header>, punto 27, z-index 1000)
   =========================================================== */
.top-header { position: sticky; top: 0; z-index: 1000; background: rgba(252,251,247,.93); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s ease, box-shadow .3s ease; }
.top-header.scrolled { border-bottom-color: var(--gs-border); box-shadow: 0 10px 30px -18px rgba(31,53,80,.28); }
.nav-inner { max-width: 1240px; margin: 0 auto; padding: 16px 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: padding .3s var(--ease); }
.top-header.scrolled .nav-inner { padding-top: 10px; padding-bottom: 10px; }
.scroll-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--gs-celeste), var(--gs-blu-mid), var(--gs-senape)); transform-origin: 0 50%; transform: scaleX(0); }
.logo { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo-mark { width: 44px; height: 44px; flex-shrink: 0; color: var(--gs-blu); }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.logo-name { font-family: var(--font-title); font-size: 1.42rem; color: var(--gs-blu); white-space: nowrap; }
.logo-sub { font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gs-senape-dark); white-space: nowrap; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { position: relative; font-size: .92rem; font-weight: 500; padding: 8px 13px; color: var(--gs-blu); white-space: nowrap; border-radius: 999px; transition: background .2s ease, color .2s ease; }
.nav-links a:hover { background: var(--gs-celeste-pale); }
.nav-links a.corrente:not(.nav-active) { color: var(--gs-blu-mid); background: var(--gs-celeste-pale); }
.nav-links a.nav-active { margin-left: 10px; background: var(--gs-blu); color: var(--white); padding: 11px 22px; font-weight: 600; box-shadow: inset 0 -3px 0 var(--gs-senape); }
.nav-links a.nav-active:hover { background: var(--gs-blu-mid); }
.nav-links a:active { opacity: .75; }
.hamburger { display: none; margin-left: auto; /* punto 7 */ width: 48px; height: 48px; border-radius: 50%; background: var(--gs-blu); border: none; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 6px; flex-shrink: 0; }
.hamburger span { width: 18px; height: 1.5px; background: var(--white); }
.hamburger span:nth-child(2) { width: 12px; margin-left: 6px; background: var(--gs-senape); }
.hamburger span:nth-child(3) { display: none; }
.hamburger:active { transform: scale(.95); }
@media (max-width: 1020px) { .nav-links { display: none; } .hamburger { display: flex; } }

/* ===== Mobile menu — pattern CANONICO (punti 21, 33-36, 39, 41, 42) ===== */
.mobile-menu { position: fixed; inset: 0 0 0 auto; width: 330px; max-width: 88vw; background: var(--gs-blu); z-index: 1100; transform: translate3d(100%, 0, 0); transition: transform .22s cubic-bezier(.22, .61, .36, 1); will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: -4px 0 24px rgba(0,0,0,.2); }
.mobile-menu.open { transform: translate3d(0, 0, 0); }
.mobile-menu-inner { position: absolute; top: 4.8rem; left: 0; right: 0; bottom: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; display: flex; flex-direction: column; padding: 0 1.9rem 2rem; }
.mobile-menu-close { position: absolute; top: 1.2rem; right: 1.2rem; z-index: 5; width: 44px; height: 44px; border-radius: 50%; background: transparent; border: 1px solid rgba(255,255,255,.22); color: var(--white); font-size: 1.4rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.mobile-menu-close:active { background: rgba(255,255,255,.12); }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-family: var(--font-title); font-size: 1.6rem; color: var(--white); padding: .5rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-menu nav a.corrente { color: var(--gs-celeste); }
.mobile-menu nav a.nav-active { color: var(--gs-senape); }
.mobile-menu nav a:active { opacity: .7; }
.mobile-menu-azioni { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 1.8rem; }
.mobile-menu-azioni a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 10px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--white); border: 1px solid rgba(255,255,255,.22); }
.mobile-menu-azioni a.primario { background: var(--gs-senape); color: var(--gs-blu-deep); border-color: var(--gs-senape); }
.mobile-menu-azioni a:active { transform: scale(.97); }
.mobile-menu-azioni svg { width: 16px; height: 16px; }
.mobile-menu-info { margin-top: 1.4rem; font-size: .84rem; color: rgba(255,255,255,.55); line-height: 1.7; }
.overlay { position: fixed; inset: 0; background: rgba(21,37,58,.5); z-index: 1050; opacity: 0; pointer-events: none; transition: opacity .2s ease; will-change: opacity; }
.overlay.open { opacity: 1; pointer-events: all; }
@media (min-width: 1021px) { .mobile-menu, .overlay { display: none; } }

/* ===========================================================
   FOTO DELLO STUDIO IN SFONDO (hero + page-hero)
   La foto è un vero <img> (alt + srcset + WebP), entra con uno zoom lento
   e scorre in parallasse (transform impostato da script.js nel listener unico).
   =========================================================== */
.hero-sfondo { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--gs-celeste-soft); }
.sfondo-pic { position: absolute; inset: 0; display: block; animation: avvicina 2.8s var(--ease) both; }
@keyframes avvicina { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-foto { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; max-width: none; object-fit: cover; object-position: var(--pos, 62% 62%); will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.hero-velo { position: absolute; inset: 0; pointer-events: none; }

/* ===========================================================
   HERO (home)
   =========================================================== */
.hero { position: relative; overflow: hidden; overflow: clip; min-height: clamp(640px, 90vh, 880px); display: flex; flex-direction: column; justify-content: center; padding: 70px 0 150px; }
.hero .hero-velo { background:
  linear-gradient(90deg, rgba(252,251,247,.97) 0%, rgba(252,251,247,.92) 32%, rgba(252,251,247,.55) 56%, rgba(252,251,247,.08) 78%, rgba(252,251,247,0) 100%),
  linear-gradient(0deg, rgba(21,37,58,.28) 0%, rgba(21,37,58,0) 38%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; width: 100%; }
.hero-grid > * { min-width: 0; }
.hero h1 { margin-bottom: 24px; font-size: clamp(2.4rem, 4.7vw, 4.1rem); }
.h1-kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gs-blu-mid); margin-bottom: 20px; animation: su .9s var(--ease) both; }
.h1-kicker svg { width: 14px; height: 14px; color: var(--gs-senape); flex-shrink: 0; }
.hero h1 .riga { display: block; overflow: hidden; padding-bottom: .08em; }
.hero h1 .riga > span { display: inline-block; animation: sale 1s var(--ease) both; }
.hero h1 .riga:nth-child(3) > span { animation-delay: .12s; }
.hero h1 .riga:nth-child(4) > span { animation-delay: .24s; }
@keyframes sale { from { transform: translateY(105%); } to { transform: none; } }
@keyframes su { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero .lead { font-size: 1.1rem; max-width: 540px; margin-bottom: 34px; color: var(--gs-blu); animation: su .9s .3s var(--ease) both; }
.lead-frase { display: block; font-family: var(--font-title); font-style: italic; font-size: clamp(1.3rem, 2.1vw, 1.6rem); line-height: 1.3; color: var(--gs-blu-mid); margin-bottom: 12px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; animation: su .9s .4s var(--ease) both; }

.hero-ritratto { position: relative; justify-self: end; width: 100%; max-width: 370px; -webkit-transform: translateZ(0); transform: translateZ(0); }
.hero-filo { position: absolute; width: 140%; left: 24%; top: 50%; z-index: 0; overflow: visible; pointer-events: none; }
.filo { fill: none; stroke: var(--gs-senape); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: disegna 4.2s .5s cubic-bezier(.45, .05, .35, 1) forwards; filter: drop-shadow(0 1px 1px rgba(255,255,255,.7)); }
@keyframes disegna { to { stroke-dashoffset: 0; } }
.arco { position: relative; z-index: 1; aspect-ratio: 4 / 5; border-radius: 999px 999px 28px 28px; overflow: hidden; border: 8px solid rgba(255,255,255,.92); background: var(--gs-celeste-soft); box-shadow: 0 46px 90px -34px rgba(21,37,58,.65); -webkit-transform: translateZ(0); transform: translateZ(0); }
.hero .arco { animation: su 1s .2s var(--ease) both; }
.arco picture, .arco img { width: 100%; height: 100%; }
.arco img { object-fit: cover; object-position: 50% 32%; }

.hero-fatti-wrap { position: relative; z-index: 1; margin-top: 54px; width: 100%; }
.hero-fatti { display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); border: 1px solid rgba(255,255,255,.9); border-radius: 22px; box-shadow: 0 24px 50px -30px rgba(21,37,58,.5); animation: su .9s .6s var(--ease) both; }
.hero-fatti li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; padding: 20px 24px; border-right: 1px solid var(--gs-border); min-width: 0; }
.hero-fatti li:last-child { border-right: 0; }
.hero-fatti svg { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--gs-celeste-pale); color: var(--gs-blu-mid); }
.hero-fatti span { font-size: .84rem; color: var(--gs-gray); line-height: 1.4; min-width: 0; }
.hero-fatti b { display: block; font-family: var(--font-title); font-weight: 400; font-size: 1.15rem; color: var(--gs-blu); }
.hero-onda { position: absolute; left: 0; bottom: -1px; width: 100%; height: 70px; z-index: 1; fill: var(--white); pointer-events: none; }

/* ===========================================================
   PAGE HERO (pagine interne) — stessa foto, più velata
   =========================================================== */
.page-hero { position: relative; overflow: hidden; overflow: clip; padding: 96px 0 92px; }
.page-hero .hero-velo { background:
  linear-gradient(90deg, rgba(252,251,247,.97) 0%, rgba(252,251,247,.9) 48%, rgba(252,251,247,.6) 100%),
  linear-gradient(0deg, var(--gs-bg) 0%, rgba(252,251,247,0) 45%); }
.page-hero-testo { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); max-width: 900px; margin-bottom: 18px; animation: su .9s .1s var(--ease) both; }
.page-hero .lead { font-size: 1.1rem; max-width: 640px; color: var(--gs-blu); animation: su .9s .25s var(--ease) both; }
.page-hero-semplice { background: var(--gs-celeste-pale); padding: 70px 0; }
.briciole { display: flex; flex-wrap: wrap; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gs-gray); margin-bottom: 22px; animation: su .8s var(--ease) both; }
.briciole a { color: var(--gs-blu-mid); border-bottom: 1px solid var(--gs-senape); }

/* ===========================================================
   MOTTO — le parole arrivano una alla volta, come passi; il filo si disegna sotto
   =========================================================== */
.motto-sez { text-align: center; }
.motto-sez .eyebrow { display: flex; justify-content: center; }
.motto-frase { max-width: 980px; margin: 0 auto; font-family: var(--font-title); font-size: clamp(2.2rem, 5.6vw, 4.6rem); line-height: 1.12; color: var(--gs-blu); }
.motto-frase .w { display: inline-block; opacity: 0; transform: translateY(.45em); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i) * 110ms); }
.motto-frase em { font-style: italic; color: var(--gs-senape-dark); }
.motto-sez.in-view .motto-frase .w { opacity: 1; transform: none; }
.motto-filo { width: min(320px, 70%); margin: 26px auto 0; overflow: visible; }
.motto-filo path { fill: none; stroke: var(--gs-senape); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 1.8s cubic-bezier(.45, .05, .35, 1) 1.2s; }
.motto-sez.in-view .motto-filo path { stroke-dashoffset: 0; }
.motto-sez p.frase { max-width: 720px; margin: 26px auto 0; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.6; color: var(--gs-blu); }
.motto-sez cite, .section-scura cite { display: block; margin-top: 18px; font-style: normal; font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gs-gray); }
.section-scura cite { color: var(--gs-celeste); }

/* ===========================================================
   DI COSA MI OCCUPO (home) + pagina supporto psicologico
   =========================================================== */
.aree-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.aree-layout > * { min-width: 0; }
.aree-intro p { font-size: 1.08rem; margin-bottom: 26px; }
.aree-titoletto { font-family: var(--font-title); font-size: 1.5rem; color: var(--gs-blu); margin-bottom: 16px; }
.aree { display: flex; flex-direction: column; gap: 10px; }
.area { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: center; background: var(--white); border: 1px solid var(--gs-border); border-radius: 18px; padding: 14px 20px 14px 14px; font-size: 1.02rem; font-weight: 500; color: var(--gs-blu); transition: transform .3s var(--ease), box-shadow .3s ease; min-width: 0; }
.area:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.area:active { transform: translateX(2px); }
.area > span:last-child { min-width: 0; }
.area-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--gs-senape-pale); color: var(--gs-senape-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.area-ic svg { width: 22px; height: 22px; }

.pubblico { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pubblico-voce { display: flex; align-items: center; gap: 18px; background: var(--white); border: 1px solid var(--gs-border); border-radius: 22px; padding: 26px 26px; min-width: 0; transition: transform .3s var(--ease), box-shadow .3s ease; }
.pubblico-voce:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pubblico-voce:active { transform: translateY(-1px); }
.pubblico-voce .ic { margin: 0; }
.pubblico-voce h3 { font-size: 1.6rem; }

.aree-griglia { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.area-card { grid-column: span 2; display: flex; flex-direction: column; gap: 20px; background: var(--white); border: 1px solid var(--gs-border); border-radius: 24px; padding: 32px 28px; min-width: 0; transition: transform .3s var(--ease), box-shadow .3s ease; }
.aree-griglia > .area-card:nth-child(4) { grid-column: 2 / span 2; }
.aree-griglia > .area-card:nth-child(5) { grid-column: 4 / span 2; }
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.area-card:active { transform: translateY(-1px); }
.area-card h3 { font-size: 1.45rem; line-height: 1.25; }

.citazione { position: relative; background: var(--white); border: 1px solid var(--gs-border); border-radius: 28px; padding: 56px 52px 46px; box-shadow: var(--shadow-sm); }
.citazione::before { content: '“'; position: absolute; top: -34px; left: 40px; font-family: var(--font-title); font-size: 7rem; line-height: 1; color: var(--gs-senape); }
.citazione p { font-family: var(--font-title); font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.42; color: var(--gs-blu); }
.citazione p strong { font-weight: 400; color: var(--gs-blu); background: linear-gradient(transparent 62%, var(--gs-senape-soft) 62%); }
.citazione .citazione-chiusa { margin-top: 18px; font-family: var(--font-body); font-size: 1.06rem; line-height: 1.7; color: var(--gs-gray); }
.citazione + .centro { margin-top: 34px; }
.link-correlati { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
.correlato { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 24px; border-radius: 18px; background: var(--gs-celeste-pale); border: 1px solid var(--gs-celeste-soft); font-family: var(--font-title); font-size: 1.25rem; color: var(--gs-blu); transition: background .25s ease, transform .3s var(--ease); min-width: 0; }
.correlato svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--gs-senape-dark); transition: transform .3s var(--ease); }
.correlato:hover { background: var(--gs-celeste-soft); }
.correlato:hover svg { transform: translateX(4px); }
.correlato:active { transform: scale(.98); }

/* ===========================================================
   PRESENTAZIONE (home) — CHI SONO (pagina)
   =========================================================== */
.presenta { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.presenta > * { min-width: 0; }
.presenta-foto { position: relative; max-width: 440px; width: 100%; margin: 0 auto; }
.presenta-foto::before { content: ''; position: absolute; inset: 26px -22px -22px 26px; border-radius: 30px; background: var(--gs-senape-pale); border: 1px solid var(--gs-senape-soft); }
.presenta-foto picture { position: relative; display: block; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-md); }
.presenta-foto img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.presenta-testo h2 { margin-bottom: 22px; }
.presenta-testo p { font-size: 1.06rem; margin-bottom: 22px; }
.credenziali { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.credenziali li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .98rem; color: var(--gs-blu); font-weight: 500; }
.credenziali svg { width: 20px; height: 20px; color: var(--gs-senape-dark); margin-top: 3px; }

.bio { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.bio > * { min-width: 0; }
.ritratto { position: sticky; top: 110px; max-width: 380px; margin: 0 auto; width: 100%; }
.arco-bio { border: 0; box-shadow: var(--shadow-md); }
.bio-testo h2 { margin-bottom: 26px; }
.bio-testo p { font-size: 1.07rem; margin-bottom: 18px; }
.bio-testo p em { font-style: italic; color: var(--gs-blu); }
.grande-citazione { font-family: var(--font-title); font-size: clamp(1.55rem, 3vw, 2.35rem); line-height: 1.32; color: var(--white) !important; }
.grande-citazione em { color: var(--gs-senape-soft); }
.section-scura .container-narrow .eyebrow { justify-content: center; }

/* ===========================================================
   PERCORSO — timeline
   =========================================================== */
.timeline { position: relative; display: grid; gap: 0; --fill: 0; }
.timeline::before { content: ''; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: var(--gs-celeste-soft); border-radius: 2px; }
.timeline::after { content: ''; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--gs-blu-mid), var(--gs-senape)); transform-origin: top; transform: scaleY(var(--fill)); border-radius: 2px; }
.tappa { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 24px; padding: 0 0 34px; }
.tappa > div { min-width: 0; }
.tappa:last-child { padding-bottom: 0; }
.tappa .punto { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; background: var(--white); border: 2px solid var(--gs-celeste); display: flex; align-items: center; justify-content: center; color: var(--gs-blu-mid); }
.tappa .punto svg { width: 20px; height: 20px; }
.tappa .tipo { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gs-senape-dark); margin: 4px 0 4px; }
.tappa h3 { font-size: 1.45rem; margin-bottom: 4px; }
.tappa p { font-size: .97rem; }
.tappa.in-corso .punto { border-color: var(--gs-senape); color: var(--gs-senape-dark); background: var(--gs-senape-pale); }
.badge-corso { display: inline-block; margin-top: 10px; padding: 4px 12px; border-radius: 999px; background: var(--gs-senape-pale); border: 1px solid var(--gs-senape); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gs-senape-dark); }

/* ===========================================================
   ESPERIENZE (card uniformi, punto 19)
   =========================================================== */
.competenze { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.competenza { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--gs-border); border-top: 3px solid var(--gs-senape); border-radius: 22px; padding: 32px 26px 28px; transition: transform .3s var(--ease), box-shadow .3s ease; min-width: 0; }
.competenza:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.competenza:active { transform: translateY(-1px); }
.ic { width: 52px; height: 52px; border-radius: 16px; background: var(--gs-celeste-pale); color: var(--gs-blu-mid); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; flex-shrink: 0; }
.ic svg { width: 24px; height: 24px; }
.competenza h3 { font-size: 1.4rem; margin-bottom: 10px; line-height: 1.2; }
.competenza p { font-size: .96rem; }
.competenza .fonte { margin-top: auto; padding-top: 16px; font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gs-senape-dark); }

.temi { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 920px; margin: 0 auto 34px; }
.tema { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; border: 1px solid var(--gs-celeste-soft); background: var(--white); font-family: var(--font-title); font-size: 1.25rem; color: var(--gs-blu); }
.tema svg { width: 14px; height: 14px; color: var(--gs-senape); flex-shrink: 0; }

/* ===========================================================
   COLLOQUI (home: sezione scura) — pagina colloqui
   =========================================================== */
.modi { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.modo { display: flex; flex-direction: column; border-radius: 24px; padding: 36px 34px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); transition: background .3s ease, transform .3s var(--ease); min-width: 0; }
.modo:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.modo:active { transform: translateY(-1px); }
.modo .ic { background: rgba(216,162,63,.16); color: var(--gs-senape-soft); }
.modo h3 { font-size: 1.9rem; margin-bottom: 8px; }
.modo-link { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .94rem; color: var(--gs-senape-soft); }
.modo-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.modo:hover .modo-link svg { transform: translateX(4px); }

.studio-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.studio-layout > * { min-width: 0; }
.studio-foto picture { display: block; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-md); }
.studio-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.studio-foto figcaption { margin-top: 12px; font-size: .84rem; color: var(--gs-gray); }
.studio-testo h2 { margin-bottom: 20px; }
.studio-testo p { font-size: 1.06rem; margin-bottom: 24px; }
.indirizzo-card { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; background: var(--gs-senape-pale); border: 1px solid var(--gs-senape-soft); border-radius: 18px; padding: 18px 20px; margin-bottom: 20px; color: var(--gs-gray); }
.indirizzo-card svg { width: 24px; height: 24px; color: var(--gs-senape-dark); }
.indirizzo-card strong { display: block; font-family: var(--font-title); font-weight: 400; font-size: 1.3rem; }
.mappa { position: relative; margin-top: 16px; height: 0; overflow: hidden; border-radius: 16px; transition: height .4s var(--ease); }
.mappa.aperta { height: 260px; }
.mappa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mappa-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: none; padding: 0 0 2px; cursor: pointer; font-weight: 600; font-size: .94rem; color: var(--gs-blu-mid); border-bottom: 1.5px solid var(--gs-senape); }
.mappa-btn svg { width: 16px; height: 16px; }
.mappa-btn:active { opacity: .7; }
.mappa-btn-chiaro { color: var(--white); }

.online-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.online-layout > * { min-width: 0; }
.online-testo h2 { margin-bottom: 20px; }
.online-testo p { font-size: 1.06rem; margin-bottom: 28px; }
.schermo { background: var(--white); border: 1px solid var(--gs-border); border-radius: 24px; box-shadow: var(--shadow-md); overflow: hidden; max-width: 520px; width: 100%; justify-self: center; }
.schermo-barra { display: flex; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--gs-border); }
.schermo-barra span { width: 10px; height: 10px; border-radius: 50%; background: var(--gs-celeste-soft); }
.schermo-barra span:nth-child(2) { background: var(--gs-senape-soft); }
.schermo-corpo { position: relative; aspect-ratio: 16 / 10; background: radial-gradient(circle at 25% 30%, var(--gs-celeste-soft), transparent 55%), radial-gradient(circle at 80% 75%, var(--gs-senape-pale), transparent 55%), var(--gs-celeste-pale); display: flex; align-items: center; justify-content: center; }
.schermo-corpo svg { width: 80%; overflow: visible; }
.filo-statico { stroke: var(--gs-blu-mid); stroke-width: 2.6; animation: none; stroke-dasharray: none; stroke-dashoffset: 0; filter: none; }
.schermo-etichetta { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--gs-blu); color: var(--white); font-size: .8rem; font-weight: 600; }
.schermo-etichetta svg { width: 15px; height: 15px; }

.passi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.passo { background: var(--white); border: 1px solid var(--gs-border); border-radius: 22px; padding: 32px 28px; min-width: 0; transition: transform .3s var(--ease), box-shadow .3s ease; }
.passo:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.passo:active { transform: translateY(-1px); }
.passo h3 { font-size: 1.45rem; margin-bottom: 8px; }
.passo p { font-size: .98rem; }

/* ===========================================================
   CTA (card blu in fondo alle pagine)
   =========================================================== */
.cta-banda { padding-top: 0; }
.cta-banda::before { content: ''; display: block; }
.cta-grid { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center; background: linear-gradient(125deg, var(--gs-blu) 0%, var(--gs-blu-deep) 100%); border-radius: 32px; padding: 60px 56px; }
.cta-grid::after { content: ''; position: absolute; right: -120px; top: -140px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(216,162,63,.35), transparent 65%); pointer-events: none; }
.cta-grid > * { position: relative; z-index: 1; min-width: 0; }
.cta-grid h2 { color: var(--white); margin-bottom: 12px; }
.cta-grid h2 em { color: var(--gs-senape-soft); }
.cta-grid p { color: rgba(255,255,255,.75); max-width: 560px; }
.cta-grid .eyebrow { color: var(--gs-celeste); }
.cta-azioni { display: flex; flex-direction: column; gap: 12px; }
.section-pale + .cta-banda, .section-scura + .cta-banda { padding-top: 112px; }

/* ===========================================================
   FAQ (accordion a pulsante, § 6.10)
   =========================================================== */
.faq-list { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--gs-border); border-radius: 18px; transition: box-shadow .3s ease, border-color .3s ease; }
.faq-item.open { box-shadow: var(--shadow-md); border-color: transparent; }
.faq-h { font-size: 1rem; line-height: inherit; margin: 0; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font-title); font-size: 1.38rem; color: var(--gs-blu); line-height: 1.3; }
.faq-question:active { opacity: .8; }
.faq-question .segno { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--gs-celeste-pale); flex-shrink: 0; transition: background .3s ease, transform .4s var(--ease); }
.faq-question .segno::before, .faq-question .segno::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--gs-blu-mid); transform: translate(-50%, -50%); transition: transform .4s var(--ease), background .3s ease; }
.faq-question .segno::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .segno { background: var(--gs-blu); transform: rotate(180deg); }
.faq-item.open .segno::before, .faq-item.open .segno::after { background: var(--gs-senape); }
.faq-item.open .segno::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-answer > div { overflow: hidden; }
.faq-answer p { padding: 0 24px 24px; font-size: 1.02rem; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-altro { text-align: center; margin-top: 34px; }
.faq-altro a { color: var(--gs-blu-mid); font-weight: 600; border-bottom: 1.5px solid var(--gs-senape); }

/* ===========================================================
   CONTATTI
   =========================================================== */
.azioni-rapide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 40px; }
.azione { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; background: var(--white); border: 1px solid var(--gs-border); border-radius: 20px; padding: 20px 22px; transition: transform .3s var(--ease), box-shadow .3s ease; min-width: 0; }
.azione:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.azione:active { transform: translateY(0); }
.azione .ic { margin: 0; }
.azione > span:last-child { min-width: 0; }
.azione strong { display: block; font-family: var(--font-title); font-weight: 400; font-size: 1.4rem; line-height: 1.2; }
.azione small { display: block; font-size: .86rem; color: var(--gs-gray); word-break: break-all; overflow-wrap: anywhere; }
.contatti-grid { display: grid; grid-template-columns: 1fr 380px; gap: 26px; align-items: start; }
.contatti-grid > * { min-width: 0; }
.form-card { background: var(--white); border: 1px solid var(--gs-border); border-radius: 26px; padding: 42px 38px; }
.form-card h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 8px; }
.form-card > p { margin-bottom: 28px; }
.form-riga { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.campo { margin-bottom: 20px; min-width: 0; }
.campo label, .campo .etichetta { display: block; font-size: .86rem; font-weight: 600; color: var(--gs-blu); margin-bottom: 8px; }
.contatti-form input:not([type="checkbox"]):not([type="radio"]):not(.hp-field), .contatti-form textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--gs-blu); background: var(--gs-bg); border: 1.5px solid var(--gs-border); border-radius: 14px; padding: 13px 15px; transition: border-color .2s ease, background .2s ease; -webkit-appearance: none; appearance: none; }
.contatti-form input:not([type="checkbox"]):not([type="radio"]):not(.hp-field):focus, .contatti-form textarea:focus { outline: none; border-color: var(--gs-blu-mid); background: var(--white); }
.contatti-form textarea { min-height: 130px; resize: vertical; }
.scelta { display: flex; flex-wrap: wrap; gap: 8px; }
.scelta label { position: relative; margin: 0; cursor: pointer; }
.scelta input[type="radio"] { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; }
.scelta span { display: inline-flex; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--gs-border); background: var(--gs-bg); font-size: .9rem; font-weight: 500; color: var(--gs-blu); transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease; }
.scelta input:checked + span { border-color: var(--gs-blu); background: var(--gs-blu); color: var(--white); }
.scelta input:focus-visible + span { outline: 2px solid var(--gs-blu-mid); outline-offset: 2px; }
.scelta label:active span { transform: scale(.97); }
.scelta label.campo-evidenza span { box-shadow: 0 0 0 3px var(--gs-senape-soft); }
.gdpr-check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--gs-gray); margin: 6px 0 24px; cursor: pointer; }
.gdpr-check input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; accent-color: var(--gs-blu); }
.gdpr-check a { color: var(--gs-blu-mid); text-decoration: underline; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-feedback { margin-top: 14px; font-size: .94rem; font-weight: 600; min-height: 1.4em; }
.form-feedback.success { color: #2E7D32; }
.form-feedback.error { color: #B3261E; }
.info-card { background: var(--gs-blu); color: rgba(255,255,255,.8); border-radius: 26px; overflow: hidden; }
.info-foto img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.info-corpo { padding: 30px 30px 34px; display: flex; flex-direction: column; gap: 20px; }
.info-card h2 { color: var(--white); font-size: 1.8rem; }
.info-riga { display: grid; grid-template-columns: 22px 1fr; gap: 14px; font-size: .95rem; }
.info-riga svg { width: 19px; height: 19px; color: var(--gs-senape); margin-top: 4px; }
.info-riga > div { min-width: 0; }
.info-riga strong { display: block; color: var(--white); }

/* ===========================================================
   PRIVACY
   =========================================================== */
.section-legale { padding-top: 70px; }
.testo-legale h2 { font-size: 1.9rem; margin: 42px 0 12px; }
.testo-legale h2:first-child { margin-top: 0; }
.testo-legale p, .testo-legale li { font-size: 1rem; margin-bottom: 12px; color: var(--gs-gray); }
.testo-legale ul { list-style: disc; padding-left: 22px; }
.testo-legale a { color: var(--gs-blu-mid); text-decoration: underline; word-break: break-all; }

/* ===========================================================
   FOOTER
   =========================================================== */
footer { background: var(--gs-blu-deep); color: rgba(255,255,255,.75); padding: 90px 0 30px; position: relative; overflow: hidden; overflow: clip; }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 48px; }
.footer-claim { font-family: var(--font-title); font-size: clamp(1.9rem, 3.8vw, 3.1rem); max-width: 820px; color: var(--white); line-height: 1.05; }
.footer-claim em { color: var(--gs-senape); }
footer .link-freccia { color: var(--white); border-color: var(--gs-senape); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer-grid > * { min-width: 0; }
.footer-brand p { color: rgba(255,255,255,.55); font-size: .9rem; margin-top: 18px; max-width: 360px; }
.footer-brand .logo-mark { color: var(--white); }
.footer-brand .logo-name { color: var(--white); }
.footer-brand .logo-sub { color: var(--gs-senape-soft); }
footer h4 { font-family: var(--font-body); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: .94rem; }
.footer-links a { color: rgba(255,255,255,.82); transition: color .2s ease; word-break: break-all; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--gs-senape); }
.footer-links a:active { opacity: .7; }
.footer-links span { color: rgba(255,255,255,.55); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 58px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; color: rgba(255,255,255,.45); }
.footer-bottom a { color: rgba(255,255,255,.7); text-decoration: underline; }
.footer-credit { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .72rem; color: rgba(255,255,255,.55); text-align: center; }
.footer-credit a { color: rgba(255,255,255,.75); text-decoration: underline; }

/* ===== Cookie banner ===== */
#cookieBanner { display: none; position: fixed; left: 22px; bottom: 22px; z-index: 1200; max-width: 420px; background: var(--white); border-radius: 20px; padding: 22px 22px 18px; box-shadow: 0 24px 60px -18px rgba(21,37,58,.45); flex-direction: column; gap: 14px; animation: su .6s var(--ease) both; border: 1px solid var(--gs-border); }
#cookieBanner p { font-size: .88rem; }
#cookieBanner a { color: var(--gs-blu-mid); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; }
.cookie-btns button { flex: 1; padding: 11px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; cursor: pointer; border: 1.5px solid var(--gs-border); background: var(--white); color: var(--gs-blu); }
.cookie-btns button:active { transform: scale(.97); }
.cookie-btns #cookieAccept { background: var(--gs-blu); border-color: var(--gs-blu); color: var(--white); }

/* ===========================================================
   SCROLL REVEAL (classe in-view, punto 32)
   =========================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.motto-sez.reveal { opacity: 1; transform: none; }   /* la sezione resta ferma: si animano le singole parole */
.reveal-group > .reveal:nth-child(2) { transition-delay: .08s; }
.reveal-group > .reveal:nth-child(3) { transition-delay: .16s; }
.reveal-group > .reveal:nth-child(4) { transition-delay: .24s; }
.reveal-group > .reveal:nth-child(5) { transition-delay: .32s; }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1100px) {
  .competenze { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .azioni-rapide { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 960px) {
  .section { padding: 86px 0; }
  .section-pale + .cta-banda, .section-scura + .cta-banda { padding-top: 86px; }
  /* hero: la foto dello studio diventa una "copertina", il ritratto la sormonta */
  .hero { display: block; min-height: 0; padding: 0 0 64px; background: var(--gs-bg); }
  .hero > .hero-sfondo { position: relative; inset: auto; height: clamp(260px, 56vw, 440px); }
  .hero .hero-velo { background: linear-gradient(180deg, rgba(21,37,58,.10) 0%, rgba(252,251,247,0) 40%, rgba(252,251,247,.35) 75%, var(--gs-bg) 100%); }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-ritratto { order: -1; justify-self: start; max-width: 200px; margin-top: -140px; }
  .hero-filo { width: 230%; left: 40%; top: 30%; }
  .arco { border-width: 6px; }
  .hero-fatti-wrap { margin-top: 36px; }
  .hero-fatti { grid-template-columns: 1fr; background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; border-color: var(--gs-border); box-shadow: var(--shadow-sm); }
  .hero-fatti li { border-right: 0; border-bottom: 1px solid var(--gs-border); padding: 16px 20px; }
  .hero-fatti li:last-child { border-bottom: 0; }
  .hero-onda { display: none; }
  .page-hero { padding: 64px 0 60px; }
  .page-hero .hero-velo { background: linear-gradient(180deg, rgba(252,251,247,.78) 0%, rgba(252,251,247,.9) 70%, var(--gs-bg) 100%); }
  .testa { grid-template-columns: 1fr; gap: 14px; margin-bottom: 40px; }
  .aree-layout, .presenta, .bio, .studio-layout, .online-layout { grid-template-columns: 1fr; gap: 48px; }
  .ritratto { position: relative; top: auto; max-width: 340px; }
  .presenta-foto { max-width: 380px; }
  .modi { grid-template-columns: 1fr; }
  .pubblico { grid-template-columns: 1fr; gap: 12px; }
  .aree-griglia { grid-template-columns: repeat(2, 1fr); }
  .area-card, .aree-griglia > .area-card:nth-child(4), .aree-griglia > .area-card:nth-child(5) { grid-column: auto; }
  .aree-griglia > .area-card:nth-child(5) { grid-column: 1 / -1; }
  .passi { grid-template-columns: 1fr; gap: 12px; }
  .contatti-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; padding: 48px 38px; gap: 28px; }
  .cta-azioni { flex-direction: row; flex-wrap: wrap; }
  .footer-top { grid-template-columns: 1fr; gap: 20px; }
  .footer-top .link-freccia { justify-self: start; }
}

@media (max-width: 760px) {
  .competenze { grid-template-columns: 1fr; }
  .aree-griglia { grid-template-columns: 1fr; }
  .link-correlati { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1.01rem; }
  .container, .container-narrow { padding: 0 20px; }
  .nav-inner { padding: 12px 20px; }
  .top-header.scrolled .nav-inner { padding-top: 9px; padding-bottom: 9px; }
  .section { padding: 68px 0; }
  .section-pale + .cta-banda, .section-scura + .cta-banda { padding-top: 68px; }
  .testa-centro { margin-bottom: 38px; }
  .hero-ritratto { max-width: 160px; margin-top: -110px; }
  .hero-filo { display: none; }
  .hero .lead { font-size: 1.02rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .page-hero { padding: 50px 0 48px; }
  .page-hero .lead { font-size: 1.02rem; }
  .area { padding: 12px 16px 12px 12px; font-size: .98rem; }
  .area:hover { transform: none; }
  .area-card { padding: 26px 22px; flex-direction: row; align-items: center; gap: 16px; }
  .area-card .area-ic { flex-shrink: 0; }
  .area-card h3 { font-size: 1.25rem; }
  .citazione { padding: 46px 24px 32px; border-radius: 22px; }
  .citazione::before { left: 20px; font-size: 6rem; top: -28px; }
  .presenta-foto::before { inset: 16px -10px -12px 16px; }
  .pubblico-voce { padding: 20px; }
  .pubblico-voce h3 { font-size: 1.4rem; }
  .modo { padding: 30px 24px; }
  .modo h3 { font-size: 1.6rem; }
  .tema { font-size: 1.1rem; padding: 11px 18px; }
  .faq-question { padding: 20px 18px; font-size: 1.2rem; }
  .faq-answer p { padding: 0 18px 20px; }
  .form-card { padding: 30px 20px; }
  .form-riga { grid-template-columns: 1fr; gap: 0; }
  .info-corpo { padding: 26px 22px 30px; }
  .cta-grid { padding: 40px 24px; border-radius: 26px; }
  .cta-azioni .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  #cookieBanner { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

@media (max-width: 380px) {
  .logo-name { font-size: 1.2rem; }
  .logo-sub { font-size: .55rem; letter-spacing: .12em; }
  .logo-mark { width: 38px; height: 38px; }
  .hero-ritratto { max-width: 136px; margin-top: -96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .filo, .motto-filo path { stroke-dashoffset: 0; }
  .motto-frase .w { opacity: 1 !important; transform: none !important; }
}
