/* ============================================================
   FSA — Override CSS sopra Vavo  v2.0
   Regola: tutto additivo, nessun file Vavo modificato.
   Struttura a fasi:
     3a  — tokens + font           (attivo)
     3b  — sezioni home            (attivo con front-page.php)
     3c  — nav + footer            (attivo con header/footer.php)
   ============================================================ */

/* ══════════════════════════════════════════════════════════
   FASE 3a — Design tokens + font base
   Rischio: zero. Variabili CSS non interferiscono con Vavo.
   Font: rete di sicurezza se Theme Options non è sufficiente.
   ══════════════════════════════════════════════════════════ */

/* ---- Token colore ---- */
:root {
  --black:  #0a0a0a;
  --white:  #f2f1ee;
  --dark:   #141414;
  --border: rgba(0,0,0,0.1);

  /* alias per compatibilità con il vecchio fsa-custom */
  --fsa-black:          #0a0a0a;
  --fsa-white:          #f2f1ee;
  --fsa-dark:           #141414;
  --fsa-text-secondary: #5a5a56;
  --fsa-border:         rgba(0,0,0,0.1);
}

/* ---- Font base ----
   DM Sans caricato via wp_enqueue_style in functions.php.
   Questa regola è la rete di sicurezza se Vavo Theme Options
   non propaga il font su tutti gli elementi. */
body,
body input,
body select,
body textarea,
body button {
  font-family: 'DM Sans', sans-serif;
}

/* ---- Colore testo + sfondo ----
   Sovrascrive i default Vavo solo se non già impostati
   dal customizer (specificità bassa intenzionalmente). */
body {
  color:      var(--fsa-black);
  background: var(--fsa-white);
}

/* ══════════════════════════════════════════════════════════
   FASE 3c — Nav FSA + Mobile Menu + Cursor
   Nasconde header Vavo (#header) e lo sostituisce con #fsa-nav
   iniettato da wp_footer hook in functions.php.
   Sicuro: il header Vavo rimane nel DOM (Vavo JS lo trova ancora).
   ══════════════════════════════════════════════════════════ */

/* Nascondi header Vavo — rimane nel DOM per compatibilità */
header#header {
  display: none !important;
}

/* Nascondi Revolution Slider sulla home — sostituito da .fsa-hero.
   Il plugin rimane attivo sul DOM; solo nascosto via CSS. */
.home rs-fullwidth-wrap,
.home rs-module-wrap,
.home .rev_slider_wrapper,
.home .fullwidthbanner-container,
.home [id^="rev_slider_"],
.home [id$="_forcefullwidth"] {
  display: none !important;
}

/* ── Custom cursor (solo desktop) ── */
#cur {
  width: 9px;
  height: 9px;
  background: #ec7016;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: transform .15s, width .15s, height .15s, background .15s;
}
#cur.big {
  width: 54px;
  height: 54px;
  background: rgba(236,112,22,0.15);
  border: 1.5px solid #ec7016;
}
@media (max-width: 900px) { #cur { display: none; } }

/* ── Nav base ── */
#fsa-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
  z-index: 5000;
  /* Gradiente scuro in cima: rende testo bianco leggibile su qualsiasi hero */
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 100%);
  transition: transform .4s cubic-bezier(.7,0,.2,1), background .3s ease, padding .3s ease, box-shadow .3s ease;
}

/* ── Logo ── */
.n-logo {
  display: block;
  height: 52px;
  position: relative;
  width: 245px;
  transition: width .3s ease, height .3s ease;
  text-decoration: none;
  flex-shrink: 0;
}
.n-logo img {
  height: 100%;
  width: auto;
  display: block;
  position: absolute;
  top: 0; left: 0;
  transition: opacity .3s ease;
}
.n-logo .logo-black,
.n-logo .mono-white,
.n-logo .mono-black { opacity: 0; }

/* ── Menu desktop ── */
.n-menu {
  display: flex;
  align-items: center;
  gap: 48px;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: gap .3s ease;
}
.n-menu li { list-style: none; }
.n-menu a {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0,0,0,0.35);
  text-decoration: none;
  transition: color .3s ease, text-shadow .3s ease, font-size .3s ease, opacity .2s, font-weight .2s;
}
.n-menu a:hover { opacity: 0.6; }
.n-menu li:not(.current-menu-item) a { font-weight: 300; }

/* ── Lingua ── */
.n-lang {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.6;
  text-shadow: 0 1px 12px rgba(0,0,0,0.35);
  transition: color .3s ease, text-shadow .3s ease, font-size .3s ease;
  flex-shrink: 0;
}

/* ── Hamburger (hidden desktop) ── */
.n-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 600;
  background: none;
  border: none;
  padding: 4px;
}
.n-burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #fff;
  transition: transform .3s, opacity .3s;
}

/* ── Nav state: compatta (scroll verso su) ── */
#fsa-nav.nav-compact {
  background: rgba(238,237,233,0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding-top: 14px;
  padding-bottom: 14px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
#fsa-nav.nav-compact .n-logo { height: 36px; width: 68px; }
#fsa-nav.nav-compact .n-logo .logo-white,
#fsa-nav.nav-compact .n-logo .logo-black,
#fsa-nav.nav-compact .n-logo .mono-white { opacity: 0; }
#fsa-nav.nav-compact .n-logo .mono-black { opacity: 1; }
#fsa-nav.nav-compact .n-menu { gap: 30px; }
#fsa-nav.nav-compact .n-menu a { font-size: 13px; font-weight: 700; color: #0a0a0a; text-shadow: none; }
#fsa-nav.nav-compact .n-menu li:not(.current-menu-item) a { font-weight: 400; }
#fsa-nav.nav-compact .n-lang { font-size: 12px; font-weight: 700; color: #0a0a0a; text-shadow: none; }
#fsa-nav.nav-compact .n-burger span { background: #0a0a0a; }

/* ── Nav state: nascosta (scroll verso giù) ── */
#fsa-nav.nav-hidden { transform: translateY(-100%); }

/* ── Mobile ── */
@media (max-width: 900px) {
  #fsa-nav { padding: 20px 24px; }
  .n-logo { height: 26px; }
  .n-menu, .n-lang { display: none; }
  .n-burger { display: flex; }
  #fsa-nav.nav-compact .n-burger span { background: #0a0a0a; }
}

/* ── Mobile menu overlay ── */
.mobile-menu {
  display: none;
}

@media (max-width: 900px) {
  .mobile-menu {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 4999;
    background: var(--fsa-black);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 40px;
    transform: translateY(-100%);
    transition: transform .45s cubic-bezier(.7,0,.2,1);
  }
  .mobile-menu.open { transform: translateY(0); }
  .mobile-menu a {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.15;
    text-decoration: none;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .4s ease, transform .4s ease;
  }
  .mobile-menu.open a,
  #mobileMenu.open a { opacity: 1 !important; transform: translateY(0) !important; }
  .mobile-menu.open a:nth-child(1) { transition-delay: .08s; }
  .mobile-menu.open a:nth-child(2) { transition-delay: .14s; }
  .mobile-menu.open a:nth-child(3) { transition-delay: .20s; }
  .mobile-menu.open a:nth-child(4) { transition-delay: .26s; }
  .mobile-menu.open a:nth-child(5) { transition-delay: .32s; }
  .mobile-menu .mm-lang {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    margin-top: 32px;
    opacity: 0;
    transition: opacity .4s ease .36s;
  }
  .mobile-menu.open .mm-lang { opacity: 1; }
  body.menu-open { overflow: hidden; }
  body.menu-open .n-burger span { background: #fff; }
  body.menu-open .n-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  body.menu-open .n-burger span:nth-child(2) { opacity: 0; }
  body.menu-open .n-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .mobile-menu {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 4999;
    background: var(--fsa-black);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 40px;
    transform: translateY(-100%);
    transition: transform .45s cubic-bezier(.7,0,.2,1);
  }
  .mobile-menu.open { transform: translateY(0); }
  .mobile-menu a {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.15;
    text-decoration: none;
  }
  .mobile-menu .mm-lang {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    margin-top: 32px;
  }
  body.menu-open { overflow: hidden; }
  body.menu-open .n-burger span { background: #fff; }
  body.menu-open .n-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  body.menu-open .n-burger span:nth-child(2) { opacity: 0; }
  body.menu-open .n-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .n-menu, .n-lang { display: none; }
  .n-burger { display: flex; }
  #fsa-nav.nav-compact .n-burger span { background: #0a0a0a; }
}

/* ══════════════════════════════════════════════════════════
   FASE 3b — Sezioni Home (front-page.php)
   Classi con prefisso fsa- per non conflittare con Vavo.
   ══════════════════════════════════════════════════════════ */

/* ── Reset: pulizia wrapper Vavo sulla home ── */
.home #page-content,
.home .site-content,
.home .content-area,
.home #content,
.home .entry-content,
.home .page-content { padding: 0 !important; margin: 0 !important; max-width: none !important; width: 100% !important; }
.home .page-header,
.home .entry-header { display: none !important; }

/* ── HERO ── */
.fsa-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  background: var(--fsa-dark);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
/* Video background hero */
.fsa-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.fsa-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20,20,20,0.3) 0%, rgba(20,20,20,0.7) 100%);
  z-index: 1;
}
.fsa-hero-caption {
  position: absolute;
  bottom: 36px;
  left: 40px;
  right: 40px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.fsa-hero-cap-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 780px;
}
.fsa-hero-tagline {
  font-size: clamp(24px,2.6vw,38px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
}
.fsa-hero-sub {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.fsa-hero-sub span { color: rgba(255,255,255,0.55); margin-left: 24px; }
.fsa-hero-cta {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 40px;
  padding: 12px 26px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s, color .2s;
}
.fsa-hero-cta:hover { background: #fff; color: var(--fsa-black); }
@media (max-width: 900px) {
  .fsa-hero-caption { left: 22px; right: 22px; bottom: 24px; flex-direction: column; align-items: flex-start; }
  .fsa-hero-tagline { font-size: clamp(28px,8vw,36px); }
  .fsa-hero-sub span { display: block; margin-left: 0; margin-top: 4px; }
}

/* ── STATEMENT — testo tipografico grande ── */
.fsa-statement {
  padding: 110px 40px;
  border-bottom: 1px solid var(--fsa-border);
  background: var(--fsa-white);
}
.fsa-statement-h {
  font-size: clamp(44px,7vw,116px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--fsa-black);
}
.fsa-statement-accent { color: #bbb; }
@media (max-width: 900px) {
  .fsa-statement { padding: 72px 22px; }
  .fsa-statement-h { font-size: 46px; }
}

/* ── ABOUT — immagine sinistra full-bleed, testo destra ── */
.fsa-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--fsa-border);
  background: var(--fsa-white);
}
.fsa-about-img {
  position: relative;
  overflow: hidden;
  background: var(--fsa-dark);
  min-height: 600px;
}
.fsa-about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
  transition: transform 1s ease;
}
.fsa-about-img:hover img { transform: scale(1.03); }
.fsa-about-text {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fsa-about-statement {
  font-size: clamp(22px,2.2vw,32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--fsa-black);
  margin-bottom: 40px;
}
.fsa-about-desc {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--fsa-text-secondary);
  max-width: 460px;
  margin-bottom: 36px;
}
.fsa-about-more {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fsa-black);
  text-decoration: none;
  border: 1px solid var(--fsa-border);
  padding: 14px 30px;
  border-radius: 40px;
  width: fit-content;
  transition: background .2s, color .2s;
}
.fsa-about-more:hover { background: var(--fsa-black); color: #fff; }
@media (max-width: 1024px) {
  .fsa-about { grid-template-columns: 1fr; }
  .fsa-about-img { min-height: 50vw; }
  .fsa-about-img img { position: relative; inset: auto; height: auto; aspect-ratio: 4/3; }
  .fsa-about-text { padding: 60px 22px; }
  .fsa-about-desc { max-width: none; }
}

/* ── PORTFOLIO / WORK ── */
.fsa-work {
  padding: clamp(60px,8vw,120px) clamp(24px,5vw,60px);
  background: var(--fsa-dark);
}
.fsa-work-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: clamp(40px,5vw,70px);
}
.fsa-work-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242,241,238,0.45);
}
.fsa-work-all {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242,241,238,0.7);
  text-decoration: none;
  transition: opacity .2s;
}
.fsa-work-all:hover { opacity: 0.5; }
.fsa-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.fsa-work-cell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #1a1a1a;
  text-decoration: none;
  display: block;
}
/* Gradiente scuro bottom per leggibilità testo */
.fsa-work-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.75) 0%, rgba(10,10,10,0.2) 40%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}
.fsa-work-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.fsa-work-cell:hover img { transform: scale(1.04); }
.fsa-work-num {
  position: absolute;
  top: 32px; left: 40px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.75);
  z-index: 2;
}
.fsa-work-info {
  position: absolute;
  bottom: 32px; left: 40px; right: 40px;
  background: none;
  z-index: 2;
}
.fsa-work-title {
  font-size: clamp(24px,2.4vw,34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--fsa-white);
  margin-bottom: 8px;
}
.fsa-work-cat {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242,241,238,0.85);
  margin-bottom: 2px;
}
.fsa-work-loc {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(242,241,238,0.4);
}
.fsa-work-placeholder { cursor: default; opacity: 0.4; }
@media (max-width: 900px) {
  .fsa-work-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .fsa-work-grid { grid-template-columns: 1fr; }
}

/* ── SERVIZI ── */
.fsa-sv {
  padding: clamp(80px,10vw,140px) clamp(24px,5vw,60px);
  background: var(--fsa-white);
  width: 100%;
}
/* Contenuto servizi centrato e limitato in larghezza */
.fsa-sv-label,
.fsa-sv-row,
.fsa-sv > .fsa-about-more {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}
.fsa-sv-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fsa-text-secondary);
  margin-bottom: clamp(40px,5vw,70px);
}
.fsa-sv-row {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  gap: 0 clamp(20px,4vw,60px);
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--fsa-border);
  transition: padding-left .4s cubic-bezier(.7,0,.2,1);
}
.fsa-sv-row:hover { padding-left: 24px; }
.fsa-sv-row:last-of-type { border-bottom: 1px solid var(--fsa-border); }
.fsa-sv-n {
  font-size: clamp(76px,8vw,128px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--fsa-black);
  text-stroke: 1.5px var(--fsa-black);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-right: 20px;
  transition: color .4s ease, -webkit-text-stroke-color .4s ease;
}
.fsa-sv-row:hover .fsa-sv-n {
  color: var(--fsa-black);
  -webkit-text-stroke-color: var(--fsa-black);
}
.fsa-sv-plus { font-size: 0.5em; margin-top: 0.1em; }
.fsa-sv-t {
  font-size: clamp(26px,3.2vw,44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--fsa-black);
  padding-top: 6px;
}
.fsa-sv-d {
  font-size: clamp(14px,1.1vw,16px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--fsa-text-secondary);
}
.fsa-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.fsa-sv-pill {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fsa-text-secondary);
  border: 1px solid var(--fsa-border);
  border-radius: 20px;
  padding: 5px 12px;
}
@media (max-width: 900px) {
  .fsa-sv-row { grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 10px; align-items: center; }
  .fsa-sv-d { grid-column: 1 / -1; }
}

/* ── CONTATTI — titolo enorme + CF7 form + SVG sketch ── */
.fsa-contact {
  background: var(--fsa-white);
  padding: 110px 40px;
  border-top: 1px solid var(--fsa-border);
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 0 90px;
  align-items: start;
}
.fsa-ct-left { }
.fsa-contact-title {
  font-size: clamp(56px,9vw,140px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--fsa-black);
  margin-bottom: 24px;
}
.fsa-contact-sub {
  font-size: clamp(18px,2vw,28px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--fsa-text-secondary);
  max-width: 600px;
  margin-bottom: 56px;
}

/* ── CF7 form styling ── */
.fsa-cf7-wrap .wpcf7 { max-width: 1100px; }
.fsa-cf7-wrap .wpcf7-form { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; }
.fsa-cf7-wrap p { display: flex; flex-direction: column; margin: 0; }
.fsa-cf7-wrap label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #999; margin-bottom: 14px; }
.fsa-cf7-wrap input[type="text"],
.fsa-cf7-wrap input[type="email"],
.fsa-cf7-wrap input[type="tel"],
.fsa-cf7-wrap select,
.fsa-cf7-wrap textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.25);
  padding: 12px 0;
  color: var(--fsa-black);
  width: 100%;
  outline: none;
  appearance: none;
  transition: border-color .2s;
}
.fsa-cf7-wrap input:focus,
.fsa-cf7-wrap textarea:focus { border-bottom-color: var(--fsa-black); }
.fsa-cf7-wrap textarea { resize: none; min-height: 100px; }
.fsa-cf7-wrap input[type="submit"] {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 18px 48px;
  background: var(--fsa-black);
  color: #fff;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  transition: opacity .2s;
  width: auto;
  justify-self: end;
}
.fsa-cf7-wrap input[type="submit"]:hover { opacity: 0.85; }
.fsa-cf7-wrap .wpcf7-spinner { display: none; }
.fsa-cf7-wrap .wpcf7-response-output {
  grid-column: 1 / -1;
  font-size: 13px;
  padding: 12px 16px;
  border-radius: 4px;
  margin: 0;
}

/* ── SVG Sketch (colonna destra sticky) ── */
.fsa-ct-sketch {
  position: sticky;
  top: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fsa-ct-sketch svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

@media (max-width: 1024px) {
  .fsa-contact { grid-template-columns: 1fr; padding: 72px 22px; }
  .fsa-ct-sketch { display: none; }
  .fsa-cf7-wrap .wpcf7-form { grid-template-columns: 1fr; gap: 32px; }
  .fsa-contact-title { font-size: 64px; }
  .fsa-contact-sub { font-size: 17px; margin-bottom: 48px; }
}

/* ── Reveal animation ── */
/* Desktop: sempre visibili (nessuna animazione) */
.reveal, .reveal-img { opacity: 1; transform: none; }

/* Mobile: animazione on-scroll via IntersectionObserver (fsa-main.js) */
@media (max-width: 900px) {
  .reveal, .reveal-img {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
  }
  .reveal.is-visible, .reveal-img.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  @media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-img { opacity: 1; transform: none; transition: none; }
  }
}

/* ---- 3. CTA "Parliamone" (pillola nera) ----
   TODO verifica: l'elemento Button del pagebuilder Vavo ha un
   campo "CSS class"? Se sì, assegna la classe "fsa-cta-pill"
   al bottone "Parliamone" in ogni pagina e questa regola si
   applicherà SOLO a quel bottone, senza toccare altri bottoni
   del sito. */
.fsa-cta-pill{
  display:inline-block;
  font-family:'DM Sans',sans-serif;
  font-size:12px;
  font-weight:600;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:#fff;
  background:var(--fsa-black);
  border:none;
  border-radius:40px;
  padding:18px 36px;
  transition:opacity .2s;
}
.fsa-cta-pill:hover{ opacity:0.85; }

/* ---- 4. Box CTA finale "Hai un progetto da trasformare?" ----
   TODO verifica: se questo blocco viene costruito con una Row
   + Text/Editor del pagebuilder, assegna la classe "fsa-cta-box"
   alla Row per attivare queste regole. */
.fsa-cta-box{
  max-width:900px;
  margin:0 auto;
  padding:clamp(60px,8vw,110px) 40px;
  text-align:center;
}
.fsa-cta-box h3{
  font-family:'DM Sans',sans-serif;
  font-size:clamp(28px,3.6vw,44px);
  font-weight:700;
  letter-spacing:-0.02em;
  line-height:1.15;
  margin-bottom:20px;
}
.fsa-cta-box p{
  font-family:'DM Sans',sans-serif;
  font-size:clamp(16px,1.6vw,19px);
  font-weight:400;
  line-height:1.6;
  color:var(--fsa-text-secondary);
  margin-bottom:34px;
}

/* ---- 5. Tipografia mobile (valori bloccati con Fabio) ----
   TODO verifica: provare prima Theme Options > Typography >
   dimensioni per dispositivo. Questa regola è la rete di
   sicurezza/fallback se quella granularità non basta. Scoped
   alla classe "fsa-prose" da assegnare ai blocchi Text/Editor
   delle pagine progetto (es. Baldinucci 33). */
@media (max-width:680px){
  .fsa-prose p{
    font-size:17px;
    line-height:1.5;
    margin-bottom:14px;
  }
  .fsa-prose{
    padding-left:27px;
    padding-right:27px;
  }
}

/* ---- 6. Nav — burger su tablet ----
   TODO verifica: controllare prima se Vavo già gestisce bene
   la fascia 680–1024px. Attivare questa regola SOLO se si nota
   un vuoto (nav che non collassa né mostra il burger). */
/*
@media (max-width:900px){
  .n-menu{ display:none; }
  .n-burger{ display:flex; }
}
*/

/* ---- reCAPTCHA v3 — nasconde il badge flottante ----
   Obbligatorio per legge Google: aggiungere testo "protetto da reCAPTCHA"
   vicino al form (già presente in page-contatti.php e front-page.php). */
.grecaptcha-badge { visibility: hidden !important; }
.recaptcha-notice { font-size: 11px; color: #9a9a96; margin-top: 12px; line-height: 1.5; }
.recaptcha-notice a { color: inherit; text-decoration: underline; }
