/* ── KORAL · foglio di stile della home e delle pagine che la rispecchiano ──
   Estratto dal CSS inline che era duplicato in entrambe le pagine.
   Le regole specifiche di una singola pagina restano inline in quella pagina. */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --coral: #FF6B5A;
  --coral-light: #FF8A7D;
  --coral-deep: #E84D3D;
  --coral-glow: #FF9E94;
  --coral-soft: #FFEAE7;
  --cream: #FFF8F6;
  --warm-white: #FFFAF9;
  --charcoal: #1A1A1A;
  --slate: #4B5563;
  --mist: #F0ECEA;
}

html { scroll-behavior: auto; /* Lenis handles smooth scroll */ overflow-x: hidden; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  color: var(--charcoal);
  background: var(--warm-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ── NAV ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 48px;
  background: rgba(255,248,246,0.85);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,107,90,0.06);
  transition: all 0.4s ease;
}
.navbar.scrolled { padding: 14px 48px; box-shadow: 0 4px 30px rgba(255,107,90,0.06); }
.navbar-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
/* il colore serve al wordmark: l'SVG lo prende con currentColor */
.nav-logo { display: flex; align-items: center; text-decoration: none; color: var(--charcoal); }
.nav-logo-svg { transition: transform 0.3s ease; }
.nav-logo:hover .nav-logo-svg { transform: rotate(-2deg) scale(1.04); }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--slate); font-size: 14px;
  font-weight: 500; letter-spacing: 0.3px; transition: color 0.3s;
}
.nav-links a:hover { color: var(--coral); }
.nav-divider { width: 1px; height: 16px; background: currentColor; opacity: 0.16; flex: none; }
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.nav-dropdown-trigger svg {
  width: 12px; height: 12px;
  transition: transform 0.3s;
}
.nav-dropdown:hover .nav-dropdown-trigger svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--mist);
  border-radius: 14px;
  padding: 8px;
  min-width: 200px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: all 0.25s ease;
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 14px !important;
  border-radius: 8px;
  font-size: 13px !important;
  white-space: nowrap;
  transition: background 0.2s;
}
.nav-dropdown-menu a:hover {
  background: var(--coral-soft) !important;
  color: var(--coral-deep) !important;
}
.nav-dropdown-menu .dd-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream);
  flex-shrink: 0;
}
.nav-dropdown-menu .dd-icon svg { width: 14px; height: 14px; color: var(--coral); }
.nav-dropdown-menu .dd-sep {
  height: 1px;
  background: var(--mist);
  margin: 4px 8px;
}
.mobile-dropdown { width: auto; text-align: center; }
.mobile-dropdown-trigger {
  font-size: 28px; font-weight: 600; color: var(--charcoal);
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  transition: color 0.3s; background: none; border: none; text-decoration: none;
}
.mobile-dropdown-trigger:hover { color: var(--coral); }
.mobile-dropdown-trigger svg {
  width: 16px; height: 16px; transition: transform 0.3s;
}
.mobile-dropdown.active .mobile-dropdown-trigger svg {
  transform: rotate(180deg);
}
.mobile-dropdown-menu {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0; display: flex; flex-direction: column; gap: 4px;
  background: rgba(255,255,255,0.7); border-radius: 14px; padding: 0 12px;
  margin-top: 0;
}
.mobile-dropdown.active .mobile-dropdown-menu {
  max-height: 400px; opacity: 1; padding: 12px; margin-top: 12px;
}
.mobile-dropdown-menu a {
  font-size: 18px !important; font-weight: 500 !important;
  display: flex !important; align-items: center; gap: 12px;
  padding: 10px 16px; border-radius: 10px;
  text-decoration: none; color: var(--charcoal); transition: all 0.2s;
}
.mobile-dropdown-menu a:hover {
  background: var(--coral-soft); color: var(--coral-deep);
}
.mobile-dropdown-menu .dd-icon {
  width: 32px; height: 32px; border-radius: 8px; background: var(--cream);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.mobile-dropdown-menu .dd-icon svg { width: 16px; height: 16px; color: var(--coral); }
.mobile-dropdown-menu .dd-sep {
  height: 1px; background: var(--mist); margin: 4px 8px;
}
.nav-cta {
  background: var(--coral) !important; color: #fff !important;
  padding: 10px 26px; border-radius: 50px; font-weight: 600 !important;
  transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px;
}
.nav-cta:hover { background: var(--coral-deep) !important; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,107,90,0.3); }
.nav-cta-wa svg { width: 16px; height: 16px; }

/* ── Promo podcast: pillola nella barra, prima del CTA WhatsApp ── */
.nav-promo {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px; border-radius: 50px;
  background: var(--coral-soft); color: var(--coral-deep) !important;
  border: 1px solid rgba(255,107,90,0.3);
  font-size: 13px !important; font-weight: 600 !important; white-space: nowrap;
  transition: all 0.3s ease;
}
.nav-promo strong { font-weight: 700; }
.nav-promo:hover {
  background: var(--coral); color: #fff !important; border-color: var(--coral);
  transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,107,90,0.28);
}
.nav-promo-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--coral); flex: none;
  animation: navPromoPulse 2.2s ease-in-out infinite;
}
.nav-promo:hover .nav-promo-dot { background: #fff; }
@keyframes navPromoPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.75); } }
@media (prefers-reduced-motion: reduce) { .nav-promo-dot { animation: none; } }
.mobile-menu .nav-promo { font-size: 18px !important; padding: 13px 24px; }
/* con la promo le voci del menu desktop diventano nove: senza stringere
   spazi e corpo la barra andrebbe a capo gia' sotto i 1400px */
.navbar .nav-links { gap: 14px; }
.navbar .nav-links a { font-size: 13px; }
.navbar .nav-cta-wa { padding: 10px 20px; }
@media (max-width: 1400px) {
  .navbar .nav-links { gap: 12px; }
  .navbar .nav-links a { font-size: 12.5px; }
  .nav-promo { padding: 7px 12px; font-size: 12px !important; }
  .navbar .nav-cta-wa { padding: 9px 15px; }
}

.hamburger {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--charcoal);
  margin: 6px 0; transition: all 0.3s; border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-6px); }
.mobile-menu {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,248,246,0.97); backdrop-filter: blur(30px);
  z-index: 999; flex-direction: column; justify-content: center; align-items: center; gap: 28px;
  opacity: 0; transition: opacity 0.4s;
}
.mobile-menu.active { display: flex; opacity: 1; }
.mobile-menu a {
  text-decoration: none; font-size: 28px; font-weight: 600;
  color: var(--charcoal); transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--coral); }
.mobile-menu-divider { width: 72px; height: 1px; background: currentColor; opacity: 0.16; }
.mobile-menu .nav-cta { font-size: 16px; padding: 16px 40px; margin-top: 16px; }

/* ── HERO ── */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  justify-content: flex-start;
  --hero-gap: 48px;
  gap: var(--hero-gap);
  padding: 96px 0 72px; position: relative; overflow: visible;
}
/* Terme del Corallo: il disegno di linea come fondale dell'hero.
   Dal 5/11/2026 sta dentro .hero-content e si aggancia al suo fondo: il
   bordo basso dell'immagine scende fin dove parte il rullino (-gap), poi il
   translate verticale (--terme-y, in % dell'altezza del disegno) decide quanto
   del palazzo finisce dietro le foto. Al 63% la cupola sta dietro al titolo e
   gli archi scendono dietro al rullino.
   Nel PNG il palazzo occupa dal 8% (guglia) al 75% (basamento) dell'altezza. */
.hero-bg {
  --terme-y: 63%;
  position: absolute; left: 50%; bottom: calc(-1 * var(--hero-gap));
  width: min(1500px, 90vw);
  aspect-ratio: 1536 / 1024;
  transform: translate(-50%, var(--terme-y));
  background: url('terme-corallo.webp?v=2') center / contain no-repeat;
  opacity: 0.17;
  pointer-events: none; z-index: -1;
  /* solo la punta della guglia sfuma, se arriva sotto il menu */
  -webkit-mask-image: linear-gradient(180deg, transparent 5%, #000 13%);
  mask-image: linear-gradient(180deg, transparent 5%, #000 13%);
  /* entrata: il palazzo si costruisce dal basso, mentre arriva il titolo.
     Il fotogramma finale non c'è di proposito: si arriva all'opacità della
     regola, così le varianti per tablet e telefono valgono anche qui. */
  animation: termeSiCostruisce 2.2s cubic-bezier(.22,.61,.36,1) .1s both;
}
@keyframes termeSiCostruisce {
  from { opacity: 0; clip-path: inset(100% 0 0 0); translate: 0 40px; }
  to   { clip-path: inset(0 0 0 0); translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; }
}
/* alone caldo sotto il titolo: tiene leggibile il testo senza cancellare
   il disegno, che deve vedersi ai lati */
.hero-veil {
  position: absolute; left: 50%; top: -48px; bottom: -24px;
  width: min(980px, 100%); transform: translateX(-50%);
  background: radial-gradient(closest-side,
    rgba(255,250,249,.8) 0%,
    rgba(255,250,249,.55) 55%,
    rgba(255,250,249,0) 100%);
  pointer-events: none; z-index: -1;
}
/* velatura in basso: stacca l'hero dalla sezione portfolio */
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 140px;
  z-index: 0;
  background: linear-gradient(180deg, rgba(242,240,238,0) 0%, rgba(242,240,238,.72) 62%, #F2F0EE 100%);
  pointer-events: none; z-index: 0;
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5;
  animation: drift 12s ease-in-out infinite alternate;
}
.hero-orb-1 { width: 600px; height: 600px; top: -120px; right: -80px; background: var(--coral-soft); }
.hero-orb-2 { width: 400px; height: 400px; bottom: -60px; left: -60px; background: rgba(255,158,148,0.2); animation-direction: alternate-reverse; animation-duration: 16s; }
@keyframes drift {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(40px,-30px) scale(1.08); }
}
.hero-content {
  max-width: 1400px; margin: 0 auto; width: 100%;
  padding: 0 48px; box-sizing: border-box;
  display: flex; justify-content: center;
  position: relative; z-index: 1;
}
.hero-text { min-width: 0; max-width: 780px; text-align: center; }
.hero-text h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(42px, 5vw, 86px);
  font-weight: 400; line-height: 1.06;
  /* dal 5/11/2026 sotto il titolo vengono subito i bottoni: serve più aria */
  color: var(--charcoal); margin-bottom: clamp(28px, 3.2vw, 48px);
}
.hero-text h1 .coral { color: var(--coral); }
.hero-text h1 em { font-style: italic; color: var(--coral-deep); }
.hero-sub {
  font-size: 17px; line-height: 1.75; color: var(--slate);
  max-width: 580px; margin: 0 auto 36px;
}
/* dal 12/11/2026 sotto il titolo c'è di nuovo una riga: l'aria va divisa fra i due */
.hero-text h1:has(+ .hero-sub) { margin-bottom: clamp(14px, 1.6vw, 22px); }
.hero-text .hero-sub { font-size: clamp(17px, 1.5vw, 21px); margin-bottom: clamp(28px, 3vw, 40px); }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--coral); color: #fff;
  padding: 16px 36px; border-radius: 50px;
  text-decoration: none; font-weight: 600; font-size: 15px;
  transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--coral-deep); transform: translateY(-3px); box-shadow: 0 16px 44px rgba(255,107,90,0.3); }
.cta-main-btn { font-size: 16px; padding: 18px 44px; max-width: 100%; box-sizing: border-box; text-align: center; justify-content: center; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  /* Fondo pieno: sopra il disegno delle Terme il testo su trasparente non si leggeva */
  background: #fff; color: var(--charcoal);
  padding: 16px 36px; border-radius: 50px;
  text-decoration: none; font-weight: 600; font-size: 15px;
  border: 2px solid var(--mist); transition: all 0.3s; cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.btn-secondary:hover { border-color: var(--coral); color: var(--coral); }

/* ── RULLINO HERO ──
   Una striscia di foto e video veri, in scorrimento continuo. Il nastro
   contiene due copie identiche della sequenza e scorre di metà larghezza:
   quando l'animazione riparte la seconda copia è esattamente dove stava
   la prima, e lo stacco non si vede. Da qui il 50% e il doppio markup. */
.hero-rullino {
  position: relative; z-index: 2;
  width: 100%; overflow: hidden;
  padding: 4px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.rullino-track {
  display: flex; align-items: center; gap: 14px;
  width: max-content;
  animation: rullinoScorre 280s linear infinite;
}
/* Niente pausa al passaggio del mouse né al tocco: il nastro gira sempre. */
@keyframes rullinoScorre {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.rullino-item {
  flex: none; height: 230px;
  border-radius: 16px; overflow: hidden;
  background: var(--mist, #e8e4e1);
  box-shadow: 0 10px 30px rgba(26,26,26,0.10);
}
.rullino-item img,
.rullino-item video {
  display: block; height: 100%; width: auto;
  max-width: 440px; object-fit: cover;
}
/* I verticali 9:16 sono molto più stretti degli orizzontali: senza un
   minimo diventano fessure in mezzo alla striscia. */
.rullino-item-video video { min-width: 129px; }

@media (max-width: 968px) {
  .rullino-item { height: 184px; border-radius: 14px; }
  .rullino-track { gap: 11px; animation-duration: 224s; }
}
@media (max-width: 640px) {
  .rullino-item { height: 148px; border-radius: 12px; }
  .rullino-track { gap: 9px; animation-duration: 180s; }
}
/* ── Le due file (dal 5/11/2026) ──
   Come il rullino della sala Le Mura 85 sul sito di Binatomy: cornici
   bianche, un po' storte, due nastri in versi opposti. Le regole valgono solo
   quando lo script ha costruito le file (.a-due-file): senza JavaScript resta
   la striscia qui sopra. Il movimento lo fa lo script, non il CSS: la
   velocità segue lo scroll e la foto al centro cresce (index.html, RULLINO). */
.hero-rullino.a-due-file {
  display: grid; gap: 6px; padding: 0; overflow: visible;
  -webkit-mask-image: none; mask-image: none;
}
.a-due-file .rullino-fila {
  overflow: hidden; padding: 16px 0 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.a-due-file .rullino-track { gap: 20px; align-items: flex-start; animation: none; will-change: transform; }
.a-due-file .rullino-item {
  position: relative; height: auto; overflow: visible;
  padding: 7px 7px 0; border-radius: 12px; background: #fff;
  box-shadow: 0 16px 30px -14px rgba(26,26,26,.30), 0 0 0 1px rgba(26,26,26,.04);
  transform: rotate(var(--rz, 0deg)); transform-origin: 50% 55%;
}
.a-due-file .rullino-item[data-url] { cursor: pointer; }
.a-due-file .rullino-item img,
.a-due-file .rullino-item video { height: 210px; width: auto; max-width: 380px; border-radius: 7px; }
.a-due-file .rullino-item-video video { min-width: 118px; }
.rullino-didascalia {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  max-width: 100%; padding: 7px 3px 8px;
  font: 500 12px/1.2 'Plus Jakarta Sans', sans-serif; color: var(--charcoal);
}
.rullino-didascalia b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.rullino-didascalia i {
  flex: none; font-style: normal; color: var(--coral);
  opacity: 0; transform: translateX(-4px); transition: opacity .4s, transform .4s;
}
.a-due-file .rullino-item.al-centro .rullino-didascalia i { opacity: 1; transform: none; }
/* La didascalia non deve allargare la cornice oltre la foto (i verticali sono stretti). */
.a-due-file .rullino-item { display: flex; flex-direction: column; width: min-content; }
.a-due-file .rullino-item > img, .a-due-file .rullino-item > video { flex: none; }
.hero-rullino.fermo .rullino-fila { overflow-x: auto; }
@media (max-width: 968px) {
  .a-due-file .rullino-item img, .a-due-file .rullino-item video { height: 160px; max-width: 290px; }
  .a-due-file .rullino-item-video video { min-width: 90px; }
  .a-due-file .rullino-track { gap: 16px; }
}
@media (max-width: 640px) {
  .a-due-file .rullino-item { padding: 5px 5px 0; border-radius: 10px; }
  .a-due-file .rullino-item img, .a-due-file .rullino-item video { height: 118px; max-width: 210px; border-radius: 6px; }
  .a-due-file .rullino-item-video video { min-width: 66px; }
  .a-due-file .rullino-track { gap: 12px; }
  .a-due-file .rullino-fila { padding: 10px 0 14px; }
  .rullino-didascalia { font-size: 10.5px; padding: 5px 2px 6px; }
}

/* Chi ha chiesto meno animazioni vede la striscia ferma, non vuota. */
@media (prefers-reduced-motion: reduce) {
  .rullino-track { animation: none; }
  .hero-rullino { overflow-x: auto; }
}

/* ── PORTFOLIO SHOW MORE ── */
.portfolio-show-more {
  display: flex; justify-content: center; margin-top: 40px;
}
.btn-show-more {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 36px; border-radius: 50px;
  background: transparent; color: var(--charcoal);
  border: 1px solid rgba(0,0,0,0.2);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.3s; letter-spacing: 0.3px;
}
.btn-show-more:hover { border-color: var(--coral); color: var(--coral); }
.btn-show-more svg { width: 16px; height: 16px; transition: transform 0.3s; }
.btn-show-more.expanded svg { transform: rotate(180deg); }
.showcase-item.extra { display: none; }
.showcase-item.extra.show { display: block; }

/* ── SECTION SHARED ── */
.section { padding: 120px 48px; }
.section-header { margin-bottom: 72px; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin: 0 auto; }
.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; text-transform: uppercase; letter-spacing: 3px;
  color: var(--coral); font-weight: 600; margin-bottom: 20px;
}
.section-tag::before { content: ''; display: block; width: 28px; height: 2px; background: var(--coral); border-radius: 2px; }
.section-header h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(34px, 4vw, 54px); font-weight: 400; line-height: 1.18;
  max-width: 680px;
}
.section-header.center h2 { margin: 0 auto 20px; }
.section-desc {
  font-size: 17px; line-height: 1.75; color: var(--slate); max-width: 600px;
}

/* ── SERVICES ── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-card {
  padding: 28px 24px 30px; border-radius: 12px; background: #fff;
  border: 1px solid rgba(0,0,0,0.04); position: relative;
  overflow: hidden; transition: all 0.5s cubic-bezier(0.25,0.46,0.45,0.94); cursor: default;
  display: flex; flex-direction: column; align-items: flex-start;
}
.service-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--coral); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 44px rgba(255,107,90,0.08); }
/* Rimando alla rottamazione sotto le tre card: chi arriva qui il sito ce
   l'ha spesso gia', e la promozione e' l'altra strada per lo stesso lavoro. */
.srv-cross {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 28px; padding: 16px 30px;
  border: 1px solid var(--mist); border-radius: 999px; background: #fff;
  font-size: 17px; line-height: 1.4; color: var(--slate); text-decoration: none;
  transition: border-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.srv-cross:hover, .srv-cross:focus-visible {
  border-color: var(--coral); color: var(--charcoal);
  box-shadow: 0 10px 26px rgba(255,107,90,0.12);
}
.srv-cross strong { color: var(--coral-deep); font-weight: 600; }
.srv-cross svg { flex: none; width: 19px; height: 19px; transition: transform .25s ease; }
.srv-cross:hover svg:last-child { transform: translateX(3px); }
.srv-cross-wrap { display: flex; justify-content: center; }
/* Sotto i 640 px il testo e il prezzo, che in riga sono due elementi di
   flex, andrebbero a capo una parola per volta in due colonne. Qui il
   contenuto torna a scorrere come testo normale e le icone rientrano
   nella riga. */
@media (max-width: 640px) {
  .srv-cross { display: block; text-align: center; padding: 14px 22px; font-size: 15px; }
  .srv-cross svg { display: inline-block; vertical-align: -4px; width: 17px; height: 17px; }
  .srv-cross svg:first-of-type { margin-right: 7px; }
  .srv-cross svg:last-of-type { margin-left: 7px; }
}
.service-card:hover::after { transform: scaleX(1); }
.service-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; width: 100%; margin-bottom: 16px;
}
.service-icon {
  width: 30px; height: 30px; border-radius: 8px; background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto; transition: all 0.3s;
}
.service-card:hover .service-icon { background: rgba(255,107,90,0.1); }
.service-icon svg { width: 15px; height: 15px; color: var(--coral); stroke: var(--coral); fill: none; }
.service-card h3 {
  font-family: 'Fraunces', serif; font-size: 21px; font-weight: 400;
  line-height: 1.15; margin-bottom: 0;
}
.service-card p { font-size: 12.5px; line-height: 1.7; color: var(--slate); }
.service-card p a { color: var(--coral-deep); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(217,58,38,0.35); }
.service-card p a:hover { border-bottom-color: var(--coral-deep); }
.service-card.featured {
  padding: 28px 24px 30px;
  background: linear-gradient(160deg, var(--coral) 0%, var(--coral-deep) 100%);
  color: #fff; display: flex; flex-direction: column; align-items: flex-start;
}
.service-card.featured::after { background: rgba(255,255,255,0.6); }
.service-card.featured .service-icon { background: rgba(255,255,255,0.15); }
.service-card.featured .service-icon svg { color: #fff; stroke: #fff; }
.service-card.featured h3 { font-size: 30px; color: #fff; }
.service-card.featured p { color: rgba(255,255,255,0.86); font-size: 13.5px; line-height: 1.7; }
.service-card.featured:hover { transform: translateY(-6px); box-shadow: 0 28px 68px rgba(232,77,61,0.3); }

/* ── PRICING ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card {
  padding: 44px 32px; border-radius: 22px; background: #fff;
  border: 1px solid rgba(0,0,0,0.05); transition: all 0.4s; position: relative;
}
.price-card:hover { transform: translateY(-6px); box-shadow: 0 20px 56px rgba(255,107,90,0.08); }
.price-card.popular {
  background: linear-gradient(160deg, var(--coral) 0%, var(--coral-deep) 100%); color: #fff;
  transform: scale(1.03); box-shadow: 0 32px 72px rgba(255,107,90,0.2);
}
.price-card.popular:hover { transform: scale(1.03) translateY(-6px); box-shadow: 0 36px 80px rgba(255,107,90,0.3); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--charcoal); color: #fff; padding: 7px 22px; border-radius: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  white-space: nowrap; box-shadow: 0 4px 15px rgba(26,26,26,0.2);
}
.plan-level {
  font-size: 12px; text-transform: uppercase; letter-spacing: 2px;
  font-weight: 600; color: var(--slate); margin-bottom: 6px;
}
.price-card.popular .plan-level { color: #fff; }
.plan-name { font-family: 'Fraunces', serif; font-size: 26px; font-weight: 400; margin-bottom: 12px; }
.plan-desc-short { font-size: 14px; color: var(--slate); margin-bottom: 24px; line-height: 1.6; }
.price-card.popular .plan-desc-short { color: #fff; }
.plan-price { font-family: 'Fraunces', serif; font-size: 44px; font-weight: 400; margin-bottom: 6px; }
.plan-price span { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; color: var(--slate); }
.price-card.popular .plan-price span { color: #fff; }
.plan-price-old {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px; font-weight: 400;
  color: var(--slate); text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  margin-bottom: 2px; line-height: 1;
  opacity: 0.7;
}
.price-card.popular .plan-price-old { color: rgba(255,255,255,0.85); opacity: 1; }
.plan-save-badge {
  display: inline-block;
  background: var(--coral-soft); color: var(--coral-deep);
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px; border-radius: 50px;
  margin: 4px 0 18px;
}
.price-card.popular .plan-save-badge { background: rgba(255,255,255,0.18); color: #fff; }
.plan-note { font-size: 13px; color: var(--coral); font-weight: 600; margin-bottom: 28px; }
.price-card.popular .plan-note { color: #fff; }
.plan-features { list-style: none; margin-bottom: 32px; }
.plan-features li {
  padding: 10px 0; font-size: 14px;
  display: flex; align-items: flex-start; gap: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.price-card.popular .plan-features li { border-color: rgba(255,255,255,0.25); color: #fff; }
.plan-features li svg { width: 16px; height: 16px; color: var(--coral); flex-shrink: 0; margin-top: 2px; }
.price-card.popular .plan-features li svg { color: #fff; }
.plan-btn {
  display: block; text-align: center; padding: 14px; border-radius: 50px;
  text-decoration: none; font-weight: 600; font-size: 14px; transition: all 0.3s;
  margin-bottom: 8px;
}
.plan-btn:last-child { margin-bottom: 0; }
.price-card .plan-btn-primary { background: var(--coral); color: #fff; }
.price-card .plan-btn-primary:hover { background: var(--coral-deep); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255,107,90,0.3); }
.price-card .plan-btn-ghost { background: transparent; color: var(--charcoal); border: 1.5px solid var(--mist); }
.price-card .plan-btn-ghost:hover { border-color: var(--coral); color: var(--coral); }
.price-card.popular .plan-btn-primary { background: #fff; color: var(--coral-deep); }
.price-card.popular .plan-btn-primary:hover { background: var(--charcoal); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(26,26,26,0.3); }
.price-card.popular .plan-btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.price-card.popular .plan-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.12); }
.pricing-footnotes { margin-top: 32px; font-size: 11px; color: var(--slate); line-height: 1.8; text-align: center; }
.plan-features-tight li {
  padding: 12px 0; font-size: 15px; font-weight: 500;
}
.price-card .plan-note {
  font-size: 11px; font-weight: 600; color: var(--slate);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px;
}
.price-card.popular .plan-note { color: #fff; }

/* ── SERVICES LIST (singoli servizi) ── */
.services-list {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-bottom: 36px;
}
/* sotto i 1200px le tre colonne stringono troppo il prezzo: passo a righe piene */
@media (max-width: 1200px) {
  .services-list { grid-template-columns: 1fr; }
}
.srv-card {
  display: grid; grid-template-columns: 56px 1fr auto;
  gap: 18px; align-items: center;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px; padding: 22px 26px;
  text-align: left;
  font-family: inherit; cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.srv-card:hover { border-color: rgba(255,107,90,0.35); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255,107,90,0.10); }
.srv-card:focus-visible { outline: 2px solid var(--coral-deep); outline-offset: 3px; }
.srv-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--coral-soft); color: var(--coral-deep);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.srv-icon svg { width: 22px; height: 22px; }
.srv-body { min-width: 0; }
.srv-name {
  font-size: 16px; font-weight: 600; color: var(--charcoal);
  margin-bottom: 4px;
}
.srv-desc {
  font-size: 13px; color: var(--slate); line-height: 1.45;
}
.srv-price {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: 26px; color: var(--coral-deep);
  white-space: nowrap; flex-shrink: 0;
}
.srv-price small {
  display: block; font-family: 'Plus Jakarta Sans'; font-size: 10px;
  color: var(--slate); font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; line-height: 1;
}
/* ── PRESET DEL CONFIGURATORE (più prendi, meno spendi) ── */
.preset-block { margin: 4px 0 32px; }
.preset-block [hidden] { display: none !important; }
.preset-head { text-align: center; max-width: 580px; margin: 0 auto 20px; }
.preset-head h3 {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: 30px; line-height: 1.15; color: var(--charcoal); margin: 0 0 8px;
}
.preset-head p { font-size: 14px; color: var(--slate); line-height: 1.55; margin: 0; }
.preset-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.preset-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: 18px;
  padding: 22px 24px 20px; text-align: left; font-family: inherit; cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.preset-card:hover {
  border-color: rgba(255,107,90,0.45); transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(0,0,0,0.06);
}
.preset-name { font-size: 15px; font-weight: 700; color: var(--charcoal); }
.preset-items { font-size: 13px; color: var(--slate); line-height: 1.45; }
.preset-items i { font-style: normal; color: var(--coral); font-weight: 700; margin: 0 2px; }
.preset-prices { display: flex; align-items: baseline; gap: 9px; margin-top: 2px; flex-wrap: wrap; }
.preset-sub { font-size: 14px; color: var(--slate); opacity: 0.65; }
.preset-vat { font-size: 11.5px; font-weight: 600; color: var(--slate); letter-spacing: 0.2px; }
.preset-total {
  font-family: 'Fraunces', serif; font-weight: 400; font-size: 26px;
  color: var(--coral-deep); line-height: 1;
}
.preset-save {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--coral-soft); color: var(--coral-deep);
  border-radius: 999px; padding: 5px 11px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.2px;
}
.preset-go {
  margin-top: auto; padding-top: 8px;
  font-size: 12.5px; font-weight: 600; color: var(--coral-deep);
}
.preset-go::after { content: ' \2192'; }
@media (max-width: 1200px) { .preset-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .preset-grid { grid-template-columns: 1fr; } }
.srv-price .srv-unit {
  text-transform: none; letter-spacing: 0; font-weight: 500;
  font-size: 11px; margin-top: 6px; line-height: 1.2;
}
/* Su schermi piccoli la riga "+ IVA · ~€22 a foto" puo' andare a capo,
   cosi' non ruba spazio alla descrizione del servizio. */
@media (max-width: 480px) { .srv-price .srv-unit { white-space: normal; } }

.services-list-cta {
  text-align: center; padding: 12px 0 0;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.services-list-cta p { font-size: 14px; color: var(--slate); margin: 0; }

/* ── BINATOMY WORKSPACE SECTION ── */
.workspace-section {
  padding: 100px 0;
  background: var(--warm-white);
  position: relative; overflow: hidden;
}
.workspace-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 28px;
  padding: 56px 56px 48px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.04);
  overflow: hidden;
}
.workspace-card::before {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,90,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.workspace-head { position: relative; z-index: 1; max-width: 720px; margin-bottom: 40px; }
.workspace-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 50px;
  background: var(--coral-soft); color: var(--coral-deep);
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 18px;
}
.workspace-tag svg { width: 14px; height: 14px; }
.workspace-card h2 {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1;
  color: var(--charcoal); margin-bottom: 16px;
}
.workspace-lead {
  font-size: 16px; line-height: 1.7; color: var(--slate);
  max-width: 640px;
}
.workspace-features {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  position: relative; z-index: 1;
}
.workspace-features li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px;
  background: var(--cream); border-radius: 14px;
}
.ws-feat-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: #fff; color: var(--coral-deep);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ws-feat-icon svg { width: 18px; height: 18px; }
.workspace-features li > div { display: flex; flex-direction: column; min-width: 0; }
.workspace-features li strong {
  font-size: 13px; font-weight: 600; color: var(--charcoal);
  line-height: 1.3; margin-bottom: 2px;
}
.workspace-features li span {
  font-size: 12px; color: var(--slate); line-height: 1.45;
}
.workspace-pricing {
  position: relative; z-index: 1;
  padding-top: 36px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.workspace-pricing-head { margin-bottom: 24px; max-width: 640px; }
.workspace-pricing-head h3 {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: 26px; line-height: 1.15; color: var(--charcoal);
  margin-bottom: 6px;
}
.workspace-pricing-head p { font-size: 14px; color: var(--slate); line-height: 1.6; }
.workspace-pricing-head p strong { color: var(--charcoal); font-weight: 600; }
.workspace-pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ws-price {
  position: relative;
  background: var(--cream);
  border: 1.5px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  padding: 22px 22px 24px;
  transition: all 0.25s;
}
.ws-price:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0,0,0,0.06); }
.ws-price-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--slate); margin-bottom: 8px;
}
.ws-price-amount {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: 38px; line-height: 1; color: var(--charcoal);
  margin-bottom: 8px;
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.ws-price-vat {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--slate);
  background: rgba(0,0,0,0.05); padding: 3px 8px; border-radius: 50px;
  line-height: 1;
}
.ws-price-vat-incl {
  background: rgba(255,255,255,0.12); color: var(--coral-glow);
}
.ws-price-included .ws-price-vat {
  background: rgba(232,77,61,0.12); color: var(--coral-deep);
}
.ws-price-desc { font-size: 13px; color: var(--slate); line-height: 1.5; }
.ws-price-included {
  background: linear-gradient(160deg, var(--coral-soft) 0%, #fff 100%);
  border-color: var(--coral);
}
.ws-price-included .ws-price-tag { color: var(--coral-deep); }
.ws-price-included .ws-price-amount { color: var(--coral-deep); }
.ws-price-best {
  background: linear-gradient(160deg, var(--charcoal) 0%, #2a2520 100%);
  border-color: transparent;
  color: #fff;
}
.ws-price-best .ws-price-tag { color: var(--coral-glow); }
.ws-price-best .ws-price-amount { color: #fff; }
.ws-price-best .ws-price-desc { color: rgba(255,255,255,0.55); }
.ws-price-badge {
  position: absolute; top: -10px; right: 18px;
  background: var(--coral); color: #fff;
  padding: 4px 10px; border-radius: 50px;
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .workspace-section { padding: 72px 0; }
  .workspace-card { padding: 36px 28px 32px; border-radius: 22px; }
  .workspace-features { grid-template-columns: repeat(2, 1fr); }
  .workspace-pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .workspace-features { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .services-list { grid-template-columns: 1fr; }
  .srv-card { padding: 18px 20px; gap: 14px; }
}

/* ── TEAM (sezione home) ── */
.team-home {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--cream) 0%, #FFF1EE 100%);
  position: relative; overflow: hidden;
}
.team-home::before {
  content: ''; position: absolute; top: -80px; right: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,90,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.team-home .container { position: relative; z-index: 1; }
.team-home-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 64px; align-items: center;
}
.team-home-text { max-width: 560px; }
.team-home-text .section-tag { margin-bottom: 16px; }
.team-home-text h2 {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: 44px; line-height: 1.08; margin-bottom: 22px; color: var(--charcoal);
}
.team-home-text h2 em { color: var(--coral); font-style: italic; }
.team-home-text p { font-size: 16px; line-height: 1.75; color: var(--slate); margin-bottom: 16px; }
.team-home-text p strong { color: var(--charcoal); font-weight: 600; }
.team-home-text p a {
  color: var(--coral-deep); text-decoration: none;
  border-bottom: 1px solid rgba(232,77,61,0.3); transition: border-color 0.2s;
}
.team-home-text p a:hover { border-bottom-color: var(--coral-deep); }
.team-people-label {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--slate); margin-bottom: 20px;
}
/* Le due file stanno su griglia e non su flex: i tondi sono grandi e in flex,
   appena la colonna si stringe, il quarto membro del team andava a capo da solo.
   Con le colonne a 1fr i tondi rimpiccioliscono invece di spezzare la fila. */
.team-people { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px 20px; }
.team-founders { grid-template-columns: repeat(2, minmax(0,1fr)); margin-bottom: 36px; max-width: 344px; }
.team-person-lg .team-person-avatar { max-width: 152px; font-size: 26px; }
.team-person-lg .team-person-name { font-size: 15px; }
.team-person { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.team-person-avatar {
  width: 100%; max-width: 120px; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: var(--coral-soft); color: var(--coral-deep);
  border: 1px solid rgba(232,77,61,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 600; letter-spacing: 0.5px;
}
.team-person-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-person-name { font-size: 13.5px; font-weight: 600; color: var(--charcoal); text-align: center; }
@media (max-width: 968px) {
  .team-home { padding: 72px 0; }
  .team-home-grid { grid-template-columns: 1fr; gap: 36px; }
  .team-home-text h2 { font-size: 34px; }
}
@media (max-width: 560px) {
  .team-people { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px 18px; max-width: 344px; }
}

/* ── FIT / PER CHI LAVORIAMO ── */
.fit-section {
  padding: 104px 0 116px;
  background: linear-gradient(180deg, #FFF1EE 0%, #F2F0EE 100%);
  position: relative; overflow: hidden;
}
.fit-section::before {
  content: ''; position: absolute; bottom: -160px; left: -150px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,90,0.14) 0%, transparent 70%);
  pointer-events: none;
}
.fit-section .container { position: relative; z-index: 1; }
.fit-section .section-header { margin-bottom: 48px; }
.fit-section .section-header h2 em { color: var(--coral); font-style: italic; }
.fit-section .section-desc strong { color: var(--charcoal); font-weight: 600; }

.fit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 52px; }
.fit-card {
  background: #fff; border: 1px solid rgba(0,0,0,0.05); border-radius: 16px;
  padding: 24px 22px 26px;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.5s ease, border-color 0.5s ease;
}
.fit-card:hover {
  transform: translateY(-4px); border-color: rgba(255,107,90,0.26);
  box-shadow: 0 18px 44px rgba(255,107,90,0.10);
}
.fit-card-icon {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 16px;
  background: var(--coral-soft); display: flex; align-items: center; justify-content: center;
}
.fit-card-icon svg { width: 20px; height: 20px; color: var(--coral-deep); }
.fit-card h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.2px; margin-bottom: 8px; }
.fit-card p { font-size: 14px; line-height: 1.65; color: var(--slate); }

.fit-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fit-panel {
  background: #fff; border: 1px solid rgba(0,0,0,0.05);
  border-radius: 18px; padding: 30px 30px 32px;
}
.fit-panel-no { background: rgba(255,255,255,0.5); }
.fit-panel-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--coral-deep); margin-bottom: 22px;
}
.fit-panel-no .fit-panel-title { color: var(--slate); }
.fit-list { list-style: none; display: flex; flex-direction: column; gap: 15px; }
.fit-list li { display: flex; gap: 12px; font-size: 15px; line-height: 1.6; color: var(--slate); }
.fit-list li strong { color: var(--charcoal); font-weight: 600; }
.fit-list li > svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; color: var(--coral); }
.fit-panel-no .fit-list li > svg { color: #A8A29E; }

.fit-foot { margin-top: 44px; text-align: center; }
.fit-foot p { font-size: 16px; line-height: 1.7; color: var(--slate); max-width: 620px; margin: 0 auto 22px; }
.fit-foot .fit-foot-note {
  font-size: 13.5px; line-height: 1.7; color: var(--slate); opacity: 0.85;
  max-width: 560px; margin: 40px auto 0; padding-top: 28px;
  border-top: 1px solid rgba(0,0,0,0.07);
}
.fit-foot-cta { display: flex; justify-content: center; }

@media (max-width: 1100px) {
  .fit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 968px) {
  .fit-section { padding: 76px 0 84px; }
  .fit-split { grid-template-columns: 1fr; }
  .fit-panel { padding: 26px 22px 28px; }
}
@media (max-width: 560px) {
  .fit-grid { grid-template-columns: 1fr; }
}

/* ── STORY (Livorno / Liberty) ── */
.story-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--cream) 0%, #FFF1EE 100%);
  position: relative; overflow: hidden;
}
.story-section::before {
  content: ''; position: absolute; top: -80px; right: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,90,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.story-bg {
  position: absolute;
  inset: 0;
  background-image: url('terme-corallo.webp?v=2');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  opacity: 0.32;
  pointer-events: none;
  will-change: transform;
  z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 32%, rgba(0,0,0,0.5) 55%, #000 80%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 32%, rgba(0,0,0,0.5) 55%, #000 80%);
}
.story-section { min-height: 540px; }
.story-section .container { position: relative; z-index: 1; }
.story-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 64px; align-items: center;
  position: relative;
}
.story-text { max-width: 540px; }
.story-text .section-tag { margin-bottom: 16px; }
.story-text h2 {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: 44px; line-height: 1.08; margin-bottom: 22px;
  color: var(--charcoal);
}
.story-text h2 em { color: var(--coral); font-style: italic; }
.story-text p {
  font-size: 16px; line-height: 1.75; color: var(--slate);
  margin-bottom: 16px;
}
.story-text p strong { color: var(--charcoal); font-weight: 600; }
.story-text p a { color: var(--coral-deep); text-decoration: none; border-bottom: 1px solid rgba(232,77,61,0.3); transition: border-color 0.2s; }
.story-text p a:hover { border-bottom-color: var(--coral-deep); }
.story-meta {
  margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 13px !important; font-style: italic;
  color: var(--slate); letter-spacing: 0.3px;
}

.story-visual { display: flex; justify-content: center; }
.story-card {
  position: relative;
  width: 100%; max-width: 380px;
  background: linear-gradient(160deg, #1A1A1A 0%, #2A1F1A 100%);
  color: var(--coral-glow);
  border-radius: 22px;
  padding: 40px 36px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0,0,0,0.25);
  overflow: hidden;
}
.story-card::before {
  content: ''; position: absolute; inset: 8px;
  border: 1px solid rgba(255,158,148,0.25);
  border-radius: 16px;
  pointer-events: none;
}
.story-card-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--coral-glow);
  margin-bottom: 18px; opacity: 0.7;
}
.story-card-title {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: 26px; line-height: 1.2; color: #fff;
  margin-bottom: 28px;
}
.story-card-title em { color: var(--coral-glow); font-style: italic; }
.story-card-pattern {
  width: 200px; height: 200px; margin: 0 auto 22px;
  color: var(--coral);
  animation: storySpin 60s linear infinite;
}
.story-card-pattern svg { width: 100%; height: 100%; }
@keyframes storySpin { to { transform: rotate(360deg); } }
.story-card-foot {
  font-size: 12px; color: rgba(255,255,255,0.55);
  font-style: italic; line-height: 1.5;
  padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 880px) {
  .story-section { padding: 72px 0; }
  .story-grid { grid-template-columns: 1fr; gap: 36px; }
  .story-text h2 { font-size: 34px; }
  .story-card { max-width: 320px; padding: 32px 28px; }
  .story-card-pattern { width: 160px; height: 160px; }
  .story-card-title { font-size: 22px; }
}

/* ── PREVENTIVO SU MISURA (configuratore in evidenza) ── */
.quote-hero {
  background: linear-gradient(135deg, #1A1A1A 0%, #2A2520 100%);
  color: #fff; border-radius: 28px;
  padding: 52px 56px 44px;
  position: relative; overflow: hidden;
}
.quote-hero-glow {
  position: absolute; top: -140px; right: -120px; width: 420px; height: 420px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255,107,90,0.38) 0%, transparent 70%);
  pointer-events: none;
}
.quote-hero-top {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.quote-hero-text { max-width: 660px; }
.quote-hero-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--coral-glow); margin-bottom: 14px;
}
.quote-hero-text h2 {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: clamp(30px, 3.4vw, 46px); line-height: 1.12; margin-bottom: 16px; color: #fff;
}
.quote-hero-text h2 em { color: var(--coral); font-style: italic; }
.quote-hero-text p { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.72); }
.quote-hero-cta { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.quote-hero-btn { font-size: 16px; padding: 18px 34px; }
.quote-hero-cta-note { font-size: 12.5px; color: rgba(255,255,255,0.5); }

.quote-steps {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  padding: 40px 0 8px;
}
.quote-step-num {
  font-family: 'Fraunces', serif; font-size: 22px;
  color: var(--coral); margin-bottom: 10px;
}
.quote-step h4 { font-size: 15px; font-weight: 600; margin-bottom: 8px; color: #fff; letter-spacing: -0.2px; }
.quote-step p { font-size: 13.5px; line-height: 1.65; color: rgba(255,255,255,0.62); }
.quote-hero-foot {
  position: relative; z-index: 1;
  margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.5);
}
@media (max-width: 968px) {
  .quote-hero { padding: 36px 26px 32px; border-radius: 22px; }
  .quote-hero-top { flex-direction: column; align-items: flex-start; gap: 26px; padding-bottom: 30px; }
  .quote-hero-cta { align-items: flex-start; width: 100%; }
  .quote-hero-btn { width: 100%; justify-content: center; }
  .quote-steps { grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 30px 0 4px; }
}
@media (max-width: 560px) {
  .quote-steps { grid-template-columns: 1fr; }
}

/* Configurator CTA banner */
.configurator-cta {
  margin-top: 48px;
  background: linear-gradient(135deg, #1A1A1A 0%, #2A2520 100%);
  color: #fff;
  border-radius: 24px;
  padding: 40px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  position: relative; overflow: hidden;
}
.configurator-cta::before {
  content: ''; position: absolute; top: -80px; right: -80px; width: 280px; height: 280px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255,107,90,0.4) 0%, transparent 70%);
  pointer-events: none;
}
.configurator-cta-content { position: relative; z-index: 1; max-width: 640px; }
.configurator-cta-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--coral-glow); margin-bottom: 12px;
}
.configurator-cta-content h3 {
  font-family: 'Fraunces', serif; font-size: 32px; font-weight: 400;
  line-height: 1.15; margin-bottom: 10px;
}
.configurator-cta-content p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.7); }
.configurator-cta-btn {
  position: relative; z-index: 1; flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--coral); color: #fff; text-decoration: none;
  padding: 16px 28px; border-radius: 50px; font-weight: 600; font-size: 15px;
  transition: all 0.3s; white-space: nowrap;
  border: none; cursor: pointer; font-family: inherit;
}
.configurator-cta-btn svg { width: 18px; height: 18px; }
.configurator-cta-btn:hover { background: var(--coral-deep); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255,107,90,0.4); }
@media (max-width: 760px) {
  .configurator-cta { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
  .configurator-cta-content h3 { font-size: 26px; }
}

/* ── OPTIONAL SERVICES ── */
.optional-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.optional-card {
  padding: 36px 32px; border-radius: 22px; background: #fff;
  border: 1px solid rgba(0,0,0,0.05); transition: all 0.4s;
}
.optional-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(255,107,90,0.06); }
.optional-badge { display: inline-block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--coral); margin-bottom: 12px; }
.optional-card h3 { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 400; margin-bottom: 8px; }
.optional-card .opt-price { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.optional-card .opt-price span { font-size: 14px; color: var(--slate); font-weight: 400; }
.optional-card p { font-size: 14px; color: var(--slate); line-height: 1.6; margin-bottom: 16px; }
.optional-card ul { list-style: none; }
.optional-card ul li {
  padding: 6px 0; font-size: 13.5px; color: var(--slate);
  display: flex; align-items: center; gap: 8px;
}
.optional-card ul li svg { width: 14px; height: 14px; color: var(--coral); flex-shrink: 0; }

/* ── PRINT CATALOG ── */
.print-catalog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px;
}
.print-card {
  padding: 0; border-radius: 22px; background: #fff;
  border: 1px solid rgba(0,0,0,0.05); transition: all 0.4s;
  display: flex; flex-direction: column; overflow: hidden;
}
.print-card > *:not(.print-card-img) { padding: 0 28px; }
.print-card > h3 { padding-top: 24px; }
.print-card > .print-variants { padding-bottom: 28px; }
.print-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(255,107,90,0.06); }
.print-card-img {
  width: 100%; height: 180px; border-radius: 14px; overflow: hidden;
  margin-bottom: 20px;
}
.print-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.print-card:hover .print-card-img img { transform: scale(1.05); }
.print-card h3 { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 400; margin-bottom: 8px; }
.print-card p { font-size: 14px; color: var(--slate); line-height: 1.6; margin-bottom: 16px; }
.print-variants { list-style: none; margin-top: auto; }
.print-variants li {
  padding: 8px 0; font-size: 13.5px; color: var(--slate);
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.print-variants li:last-child { border-bottom: none; }
.print-variants .variant-label { display: flex; align-items: center; gap: 8px; }
.print-variants .variant-label svg { width: 14px; height: 14px; color: var(--coral); flex-shrink: 0; }
.print-variants .variant-price { font-weight: 600; color: var(--charcoal); white-space: nowrap; }
.print-note { margin-top: 24px; font-size: 13px; color: var(--slate); text-align: center; line-height: 1.7; }

/* ── PORTFOLIO ── */
.portfolio { padding: 120px 0; background: #F2F0EE; overflow: hidden; }
.portfolio .section-tag { color: var(--coral); }
.portfolio .section-tag::before { background: var(--coral); }
.portfolio h2 { color: var(--charcoal); }
.portfolio .section-desc { color: var(--slate); }

.portfolio-filters {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px;
}
.pf-filter {
  padding: 8px 20px; border-radius: 50px; border: 1px solid rgba(0,0,0,0.12);
  background: transparent; color: var(--slate); font-size: 13px;
  font-weight: 500; font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer; transition: all 0.3s; letter-spacing: 0.3px;
}
.pf-filter:hover { border-color: var(--coral); color: var(--coral); }
.pf-filter.active { background: var(--coral); border-color: var(--coral); color: #fff; }

.portfolio-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.showcase-item {
  border-radius: 16px; overflow: hidden; position: relative;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
  background: #fff; text-decoration: none;
}
.showcase-item.hidden { display: none; }
.showcase-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(255,107,90,0.12);
  border-color: rgba(255,107,90,0.3);
}
.showcase-iframe-wrap {
  position: relative; width: 100%; padding-top: 62.5%;
  overflow: hidden; background: #1a1a1a;
}
.showcase-iframe-wrap iframe {
  position: absolute; top: 0; left: 0;
  width: 1280px; height: 800px;
  transform-origin: top left;
  border: none; pointer-events: none;
}
.showcase-img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.showcase-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 20px 16px;
  background: linear-gradient(transparent, rgba(17,17,17,0.95));
  color: #fff;
}
.showcase-label h4 {
  font-family: 'Fraunces', serif; font-size: 20px; font-weight: 400;
}
.showcase-label .pf-type {
  font-size: 11px; text-transform: uppercase; letter-spacing: 2px;
  color: var(--coral-glow); font-weight: 600; margin-bottom: 6px;
}

/* ── PROJECT MODAL ── */
.project-modal {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
}
.project-modal.active { visibility: visible; pointer-events: auto; }
.project-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.85); backdrop-filter: blur(8px);
}
.project-modal-container {
  position: relative; z-index: 1;
  width: 90vw; max-width: 960px; max-height: 85vh;
  overflow-y: auto; background: #111;
  border-radius: 20px; border: 1px solid rgba(255,255,255,0.08);
  padding: 48px;
}
.project-modal-container::-webkit-scrollbar { width: 6px; }
.project-modal-container::-webkit-scrollbar-track { background: transparent; }
.project-modal-container::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
.project-modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  color: #fff; background: rgba(255,255,255,0.1);
  border: none; border-radius: 50%; width: 44px; height: 44px;
  cursor: pointer; transition: background 0.3s;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; line-height: 1;
}
.project-modal-close:hover { background: var(--coral); }
.modal-header { margin-bottom: 28px; }
.modal-header .pf-type {
  font-size: 11px; text-transform: uppercase; letter-spacing: 2px;
  color: var(--coral-glow); font-weight: 600; margin-bottom: 8px;
}
.modal-header h3 {
  font-family: 'Fraunces', serif; font-size: 32px;
  font-weight: 400; color: #fff; margin: 0;
}
.modal-description {
  color: rgba(255,255,255,0.6); font-size: 15px; line-height: 1.6;
  margin-bottom: 28px;
}
.modal-gallery {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.modal-gallery img {
  width: 100%; height: 260px; object-fit: cover;
  border-radius: 12px; cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  background: #1a1a1a;
}
.modal-gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 32px rgba(255,107,90,0.15);
}
/* Video nel modale: verticali 9:16, come nella scheda progetto.
   preload="none" così aprire il modale non scarica decine di MB. */
.modal-video-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-bottom: 20px;
}
.modal-video-grid figure { margin: 0; }
.modal-video-grid video {
  width: 100%; aspect-ratio: 9 / 16; display: block;
  border-radius: 12px; background: #1a1a1a; object-fit: cover;
}
.modal-video-grid figcaption {
  margin-top: 8px; font-size: 13px; color: rgba(255,255,255,0.55); text-align: center;
}

.modal-site-link {
  display: flex; justify-content: center; margin-top: 32px;
}
.modal-visit-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; background: var(--coral); color: #fff;
  border-radius: 50px; text-decoration: none; font-weight: 600;
  font-size: 15px; transition: background 0.3s;
}
.modal-visit-link:hover { background: var(--coral-deep); }

/* Rimando alla scheda completa: stessa forma del pulsante, ma in secondo piano. */
.modal-case-link {
  display: flex; justify-content: center; margin-top: 14px;
}
.modal-case-link .modal-visit-link {
  background: transparent; color: var(--coral-deep);
  border: 1.5px solid var(--mist); padding: 13px 30px;
  transition: border-color 0.3s, color 0.3s;
}
.modal-case-link .modal-visit-link:hover {
  background: transparent; border-color: var(--coral); color: var(--coral);
}
.modal-site-screenshot {
  width: 100%; border-radius: 12px; margin-bottom: 8px;
  border: 1px solid rgba(255,255,255,0.08);
}
/* Lightbox fullscreen */
.modal-lightbox {
  position: fixed; inset: 0; z-index: 10001;
  background: rgba(0,0,0,0.97);
  display: flex; align-items: center; justify-content: center;
}
.modal-lightbox img {
  max-width: 85vw; max-height: 90vh;
  object-fit: contain; border-radius: 8px;
  user-select: none;
}
.lightbox-close {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: none;
  color: #fff; font-size: 24px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
  z-index: 10002;
}
.lightbox-close:hover { background: var(--coral); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: none;
  color: #fff; font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
  z-index: 10002;
}
.lightbox-nav:hover { background: var(--coral); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.6); font-size: 14px; font-weight: 500;
}

/* Trailer a schermo intero (bottone dell'hero) */
.trailer {
  position: fixed; inset: 0; z-index: 10050;
  background: #000;
  display: flex; align-items: center; justify-content: center;
}
.trailer[hidden], .trailer__avviso[hidden], #trailerApri[hidden] { display: none; }
.trailer__video {
  width: 100%; height: 100%;
  object-fit: contain; background: #000;
}
.trailer__chiudi {
  position: absolute;
  top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right));
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.14); border: none;
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.trailer__chiudi:hover, .trailer__chiudi:focus-visible { background: var(--coral); }
.trailer__avviso {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  margin: 0; padding: 0 24px; width: 100%; box-sizing: border-box;
  color: rgba(255,255,255,0.75); font-size: 15px; text-align: center;
}
html.trailer-aperto, html.trailer-aperto body { overflow: hidden; }

/* ── PROCESS ── */
.process { padding: 120px 48px; background: var(--cream); }
.process-inner { max-width: 900px; margin: 0 auto; }
.process-steps { display: flex; flex-direction: column; gap: 0; margin-top: 72px; position: relative; }
/* Vertical coral line */
.process-steps::before {
  content: ''; position: absolute; left: 36px; top: 36px; bottom: 36px;
  width: 2px; background: linear-gradient(to bottom, var(--coral), rgba(255,107,90,0.25));
  border-radius: 2px;
}
.step { display: flex; align-items: flex-start; gap: 32px; padding: 28px 0; position: relative; }
.step-marker { flex-shrink: 0; width: 72px; display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; z-index: 1; }
.step-num {
  font-family: 'Fraunces', serif; font-size: 28px; font-weight: 400;
  color: #fff; background: var(--coral); width: 56px; height: 56px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  line-height: 1; box-shadow: 0 4px 16px rgba(255,107,90,0.3);
}
.step-icon { width: 28px; height: 28px; display: none; }
.step-icon svg { width: 28px; height: 28px; color: var(--coral); stroke: var(--coral); fill: none; }
.step-content { flex: 1; padding-top: 12px; }
.step h4 { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 400; margin-bottom: 8px; color: var(--charcoal); }
.step p { font-size: 14px; color: var(--slate); line-height: 1.65; max-width: 480px; }

/* ── REGIONS ── */
.regions { padding: 120px 48px; }
.regions-inner { max-width: 1400px; margin: 0 auto; }
.regions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 48px; }
.region-col h4 {
  font-family: 'Fraunces', serif; font-size: 22px; font-weight: 400;
  margin-bottom: 16px; color: var(--charcoal);
}
.region-col ul { list-style: none; }
.region-col ul li { padding: 5px 0; font-size: 14px; color: var(--slate); }
.region-col ul li:first-child { font-weight: 600; color: var(--coral); }
.regions-note { margin-top: 32px; font-size: 14px; color: var(--slate); text-align: center; }

/* ── FAQ ── */
.faq-section { padding: 120px 48px; background: var(--cream); }
.faq-inner { max-width: 800px; margin: 0 auto; }
.faq-category { margin-bottom: 48px; }
.faq-category-title {
  font-family: 'Fraunces', serif; font-size: 24px; font-weight: 400;
  margin-bottom: 20px; color: var(--charcoal);
}
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.06); }
.faq-question {
  width: 100%; padding: 20px 0; display: flex; justify-content: space-between;
  align-items: center; gap: 20px; cursor: pointer;
  background: none; border: none; text-align: left;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 500;
  color: var(--charcoal); transition: color 0.3s;
}
.faq-question:hover { color: var(--coral); }
.faq-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--mist); transition: all 0.4s;
}
.faq-icon svg { width: 14px; height: 14px; color: var(--coral); stroke: var(--coral); fill: none; transition: transform 0.4s; }
.faq-item.active .faq-icon { background: var(--coral); }
.faq-item.active .faq-icon svg { color: #fff; stroke: #fff; transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1); }
.faq-answer-inner { padding: 0 0 20px; font-size: 15px; line-height: 1.75; color: var(--slate); }

/* ── CTA ── */
.cta-section { padding: 120px 48px; text-align: center; position: relative; background: var(--warm-white); }
.cta-orb {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,107,90,0.06) 0%, transparent 70%);
  border-radius: 50%; filter: blur(40px);
}
.cta-inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.cta-inner h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(34px, 4vw, 50px); font-weight: 400; line-height: 1.18; margin-bottom: 20px;
}
.cta-inner p { font-size: 17px; color: var(--slate); margin-bottom: 16px; line-height: 1.7; }
/* Titoli in sans: il serif a corpo grande pesa, qui serve la voce secca.
   Il grassetto e' necessario, un sans a 400 su 50px sembra sbiadito. */
h2.h2-sans, .section-header h2.h2-sans, .cta-inner h2.h2-sans {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; letter-spacing: -0.8px;
}
.cta-email { font-size: 14px; color: var(--slate); margin-bottom: 40px; }
.cta-email a { color: var(--coral); text-decoration: none; font-weight: 600; }
.cta-buttons {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; align-items: center;
  margin-bottom: 18px;
}
.cta-wa-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--coral); color: #fff;
  padding: 18px 32px; border-radius: 50px;
  font-family: inherit; font-size: 16px; font-weight: 600;
  text-decoration: none; transition: all 0.3s ease;
}
.cta-wa-btn svg { width: 20px; height: 20px; }
.cta-wa-btn:hover { background: var(--coral-deep); transform: translateY(-3px); box-shadow: 0 16px 44px rgba(255,107,90,0.35); }

/* ── FOOTER ── */
footer { padding: 60px 48px 28px; background: var(--charcoal); color: rgba(255,255,255,0.45); }
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 44px; }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand .footer-logo span { color: #fff; font-family: 'Fraunces', serif; font-size: 18px; letter-spacing: 3px; text-transform: uppercase; }
.footer-brand > p { font-size: 14px; line-height: 1.7; max-width: 300px; margin-bottom: 20px; }
.footer-legal { font-size: 12px; line-height: 1.8; color: rgba(255,255,255,0.3); }
.footer-col h5 { color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 20px; font-weight: 600; }
.footer-col a { display: block; color: rgba(255,255,255,0.45); text-decoration: none; font-size: 14px; padding: 5px 0; transition: color 0.3s; }
.footer-col a:hover { color: var(--coral-glow); }
.footer-col a.footer-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--coral); color: #fff !important;
  padding: 9px 14px !important; border-radius: 24px;
  font-size: 13px !important; font-weight: 600;
  margin-bottom: 10px; transition: all 0.25s;
}
.footer-col a.footer-wa svg { width: 14px; height: 14px; }
.footer-col a.footer-wa:hover { background: var(--coral-deep); color: #fff !important; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(255,107,90,0.3); }
.footer-map {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 32px; align-items: stretch;
  margin: 0 0 44px;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-map-info { display: flex; flex-direction: column; justify-content: center; }
.footer-map-tag {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--coral-glow); margin-bottom: 10px;
}
.footer-map-info h4 {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: 26px; line-height: 1.15; color: #fff; margin-bottom: 12px;
}
.footer-map-info h4 span { color: rgba(255,255,255,0.5); font-size: 18px; }
.footer-map-info p {
  font-size: 13px; line-height: 1.6;
  color: rgba(255,255,255,0.55); margin-bottom: 16px;
}
.footer-map-cta {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  background: var(--coral); color: #fff !important;
  padding: 10px 18px !important; border-radius: 50px;
  font-size: 13px !important; font-weight: 600;
  text-decoration: none; transition: all 0.25s;
}
.footer-map-cta svg { width: 14px; height: 14px; }
.footer-map-cta:hover { background: var(--coral-deep); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255,107,90,0.3); }
.footer-map-frame {
  position: relative;
  border-radius: 14px; overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  min-height: 220px;
}
.footer-map-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0;
  filter: grayscale(1) brightness(1.08) contrast(0.92);
  pointer-events: none;
}
.footer-map-pin {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -100%);
  color: var(--coral);
  width: 38px; height: 38px;
  pointer-events: none;
  filter: drop-shadow(0 6px 14px rgba(255,107,90,0.45));
  z-index: 2;
}
.footer-map-pin svg { width: 100%; height: 100%; display: block; }
.footer-bottom {
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center; font-size: 13px;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.3); text-decoration: none; font-size: 12px; transition: color 0.3s; }
.footer-bottom-links a:hover { color: var(--coral-glow); }
.powered { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 12px; }
.powered a { color: var(--coral-glow); font-weight: 600; text-decoration: none; transition: color 0.3s; }
.powered a:hover { color: #fff; }
.powered-sep { color: rgba(255,255,255,0.25); }

/* ── WAVE DIVIDERS ── */
.wave-divider {
  position: relative; width: 100%; overflow: hidden;
  line-height: 0; margin-top: -1px; margin-bottom: -1px; z-index: 2;
  will-change: transform;
}
.wave-divider svg {
  position: relative; display: block;
  width: calc(200% + 4px); left: -2px;
  height: 120px;
}
.wave-layer, .wave-layer-2, .wave-layer-3 {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.wave-layer { animation: waveFlow1 6s linear infinite; }
.wave-layer-2 { animation: waveFlow2 7s linear infinite; }
.wave-layer-3 { animation: waveFlow3 8s linear infinite; }
@keyframes waveFlow1 { 0%{transform:translate3d(0,0,0)} 100%{transform:translate3d(-50%,0,0)} }
@keyframes waveFlow2 { 0%{transform:translate3d(0,0,0)} 100%{transform:translate3d(-50%,0,0)} }
@keyframes waveFlow3 { 0%{transform:translate3d(0,0,0)} 100%{transform:translate3d(-50%,0,0)} }

.wave-divider {
  transition: transform 0.3s ease;
}
.wave-divider svg {
  transition: height 0.5s ease;
}

/* ── HERO CANVAS ── */
#hero-canvas, #ripple-canvas {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
}
#hero-canvas { z-index: 0; }
#ripple-canvas { z-index: 1; opacity: 0.5; }

/* ── FLOATING DECO ── */
.floating-deco {
  position: absolute; pointer-events: none; z-index: 0;
  border-radius: 50%; opacity: 0.06;
  background: radial-gradient(circle, var(--coral-soft), transparent 70%);
  filter: blur(40px);
}

/* ── SCROLL PROGRESS ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 9999;
  background: linear-gradient(90deg, var(--coral), var(--coral-deep));
  transform-origin: left; transform: scaleX(0);
  width: 100%;
}

/* ── ANIMATIONS ── */
/* GSAP handles hero animations. .reveal is for scroll-triggered elements. */
.reveal { opacity: 0; transform: translateY(60px); }

/* ── RESPONSIVE ── */
@media (max-width:1024px) {
  .hero-content { padding: 0 32px; }
  .hero-bg { width: 110vw; }
  .services-grid { grid-template-columns:1fr; }
  .service-card.featured { grid-column:span 1; grid-row:span 1; }
  .pricing-grid { grid-template-columns:1fr; }
  .price-card.popular { transform:none; }
  .price-card.popular:hover { transform:translateY(-6px); }
  .process-steps::before { left: 36px; }
  .regions-grid { grid-template-columns:repeat(2,1fr); }
  .optional-grid { grid-template-columns:1fr; }
  .print-catalog-grid { grid-template-columns:repeat(2,1fr); }
  .footer-top { grid-template-columns:1fr 1fr; gap:32px; }
  .footer-map { grid-template-columns:1fr; gap:24px; }
  .footer-map-frame { min-height: 200px; }
}
@media (max-width:768px) {
  .navbar { padding:14px 20px; }
  .navbar.scrolled { padding:12px 20px; }
  .nav-links { display:none; }
  .hamburger { display:block; }
  .section,.cta-section,.regions,.faq-section { padding:80px 20px; }
  .hero { padding:92px 0 52px; min-height: auto; --hero-gap: 40px; }
  .hero-content { padding: 0 20px; }
  /* più largo dello schermo: gli archi laterali escono dai bordi e quelli
     centrali restano attorno al bottone */
  .hero-bg { width: 150vw; }
  .hero::after { height: 150px; }
  .portfolio { padding:80px 0; }
  .portfolio-grid { grid-template-columns:1fr; }
  .process { padding:80px 20px; }
  .process-steps::before { left: 28px; }
  .step-marker { width: 56px; }
  .step-num { width: 48px; height: 48px; font-size: 24px; }
  .step { gap: 20px; }
  .regions-grid { grid-template-columns:1fr; }
  .print-catalog-grid { grid-template-columns:1fr; }
  footer { padding:44px 20px 20px; }
  .footer-top { grid-template-columns:1fr; }
  .hero-buttons { flex-direction:column; align-items:center; }
  .cta-main-btn { font-size: 14px; padding: 16px 28px; }
  .project-modal-container { width:95vw; max-height:90vh; padding:28px 20px; }
  .modal-gallery { grid-template-columns:repeat(2,1fr); gap:8px; }
  .modal-video-grid { grid-template-columns:repeat(2,1fr); gap:8px; }
  .modal-gallery img { height: 140px; }
  .modal-header h3 { font-size:24px; }
  .wave-divider svg { height: 60px; }
}
@media (max-width:480px) {
  .hero { padding:88px 16px 48px; min-height: auto; }
  .hero-text h1 { margin-bottom: 20px; }
  .hero-sub { font-size: 15px; margin-bottom: 28px; }
  .btn-primary { padding: 14px 28px; font-size: 14px; }
  .btn-secondary { padding: 14px 28px; font-size: 14px; }
  .cta-main-btn { font-size: 13px; padding: 14px 20px; }
  .section,.cta-section,.regions,.faq-section { padding: 60px 16px; }
  .section-header { margin-bottom: 48px; }
  .section-desc { font-size: 15px; }
  .portfolio { padding: 60px 0; }
  .process { padding: 60px 16px; }
  footer { padding: 36px 16px 16px; }
  .pf-filter { padding: 6px 14px; font-size: 12px; }
  .modal-gallery { grid-template-columns:1fr; }
  .modal-video-grid { grid-template-columns:repeat(2,1fr); }
  .modal-gallery img { height: 180px; }
  .project-modal-container { padding: 20px 16px; }
  .wave-divider svg { height: 40px; }
}

/* ── Bink floating widget: contain on mobile ── */
@media (max-width:480px) {
  body > button[style*="position:fixed"][style*="bottom"] {
    right: 12px !important;
    bottom: 12px !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
    max-width: calc(100vw - 24px) !important;
  }
}

/* ── SOCIAL PROOF ── */
.social-proof {
  padding: 80px 48px;
  background: var(--warm-white);
  text-align: center;
}
.social-proof-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.proof-counters {
  display: flex;
  justify-content: center;
  gap: 64px;
}
.proof-counter {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.proof-counter-number {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 5vw, 56px);
  color: var(--coral);
  line-height: 1;
  margin-bottom: 8px;
}
.proof-counter-label {
  font-size: 14px;
  color: var(--slate);
  font-weight: 500;
  letter-spacing: 0.3px;
}
.proof-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.proof-testimonial {
  background: #fff;
  border: 1px solid var(--mist);
  border-radius: 16px;
  padding: 28px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.proof-testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.proof-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.proof-stars svg { width: 16px; height: 16px; fill: #FBBF24; }
.proof-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 16px;
  font-style: italic;
}
.proof-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.proof-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--coral-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--coral);
  flex-shrink: 0;
}
.proof-author-info h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 2px;
}
.proof-author-info span {
  font-size: 12px;
  color: var(--slate);
}
.proof-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.35;
  filter: grayscale(100%);
}
.proof-logos span,
.proof-logos a {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--charcoal);
  font-weight: 400;
  text-decoration: none;
  transition: color 0.25s, transform 0.25s;
}
.proof-logos a:hover { color: var(--coral); transform: translateY(-2px); }
.proof-quiz-banner {
  margin-top: 56px;
  background: linear-gradient(135deg, var(--coral-soft) 0%, #fff 100%);
  border: 1px solid rgba(255,107,90,0.12);
  border-radius: 20px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.proof-quiz-banner-text {
  text-align: left;
}
.proof-quiz-banner-text h4 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.proof-quiz-banner-text p {
  font-size: 14px;
  color: var(--slate);
}
.proof-quiz-banner a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--coral);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.proof-quiz-banner a:hover {
  background: var(--coral-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255,107,90,0.3);
}

@media (max-width:768px) {
  .social-proof { padding: 60px 20px; }
  .proof-counters { gap: 32px; flex-wrap: wrap; }
  .proof-logos { gap: 28px; }
}
@media (max-width:480px) {
  .social-proof { padding: 48px 16px; }
  .proof-counters { gap: 24px; }
  .proof-counter-number { font-size: 36px; }
}


@keyframes cfgFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cfgSlideUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }


.cc-part {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  opacity: 0;
  transform-origin: 30px 70px;
  transform: scale(0.7);
  transition:
    stroke-dashoffset 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.4s ease,
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cc-part[data-cfg="always"],
.cc-part[data-cfg="workspace"],
.cc-part.is-grown {
  stroke-dashoffset: 0;
  opacity: 1;
  transform: scale(1);
}
/* Stagger growth slightly for a more organic feel */
.cc-part[data-cfg="site"]        { transition-delay: 0.05s; }
.cc-part[data-cfg="photo"]       { transition-delay: 0.08s; }
.cc-part[data-cfg="video"]       { transition-delay: 0.1s; }
/* Premium-tier choice: thicker stroke + glow */
.cc-part.is-rich {
  stroke-width: 5.5 !important;
  filter: drop-shadow(0 0 2px rgba(255,107,90,0.5));
}
.cc-part[data-cfg="video"].is-rich { stroke-width: 4.8 !important; }


/* ── FLOATING WHATSAPP CTA: bottone tondo con pulse + fumetto in dissolvenza ── */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 900;
  display: flex; align-items: center; gap: 12px; text-decoration: none;
}
.wa-btn {
  position: relative; flex: none; text-decoration: none;
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(118deg, var(--coral) 0%, var(--coral-deep) 100%);
  box-shadow: 0 18px 40px -14px rgba(232,77,61,0.75), 0 2px 8px rgba(26,26,26,0.14);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.wa-btn::before, .wa-btn::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--coral); pointer-events: none;
  animation: waPulse 2.4s cubic-bezier(0.35,0,0.25,1) infinite;
}
.wa-btn::after { animation-delay: 1.2s; }
.wa-btn svg { width: 28px; height: 28px; }
.wa-float:hover .wa-btn {
  transform: translateY(-3px);
  box-shadow: 0 26px 50px -14px rgba(232,77,61,0.85), 0 2px 8px rgba(26,26,26,0.16);
}
.wa-bubble {
  position: relative;
  display: flex; align-items: center; gap: 4px;
  background: #fff; color: var(--charcoal);
  font-size: 14.5px; font-weight: 600; line-height: 1; white-space: nowrap;
  padding: 12px 10px 12px 18px; border-radius: 14px;
  box-shadow: 0 12px 32px -10px rgba(26,26,26,0.28), 0 1px 3px rgba(26,26,26,0.08);
  opacity: 0; transform: translateX(10px);
  animation: waBubbleIn 0.55s cubic-bezier(0.2,0.8,0.3,1) 2.2s forwards;
}
.wa-bubble-text { color: inherit; text-decoration: none; }
/* La X chiude solo il fumetto: il bottone tondo resta, il contatto non
   si perde. Chi la preme non la rivede fino alla prossima visita. */
.wa-bubble-close {
  flex: none; width: 26px; height: 26px; padding: 0; margin: -2px 0;
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: transparent; color: rgba(26,26,26,0.35);
  transition: background 0.2s ease, color 0.2s ease;
}
.wa-bubble-close svg { width: 13px; height: 13px; display: block; }
.wa-bubble-close:hover { background: rgba(26,26,26,0.07); color: var(--charcoal); }
.wa-bubble-close:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.wa-float.is-chiuso .wa-bubble { display: none; }
.wa-bubble::after {
  content: ''; position: absolute; top: 50%; right: -5px;
  width: 13px; height: 13px; background: #fff; border-radius: 3px;
  transform: translateY(-50%) rotate(45deg);
}
@keyframes waPulse {
  0%   { transform: scale(1);    opacity: 0.75; }
  70%  { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}
@keyframes waBubbleIn {
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 560px) {
  .wa-float { right: 14px; bottom: 14px; gap: 10px; }
  .wa-btn { width: 54px; height: 54px; }
  .wa-btn svg { width: 25px; height: 25px; }
  .wa-bubble { font-size: 13.5px; padding: 12px 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-btn::before, .wa-btn::after { animation: none; }
  .wa-btn::after { display: none; }
  .wa-bubble { animation: none; opacity: 1; transform: none; }
}

/* ── NAV: auto-hide allo scroll (riappare risalendo) + menu a 7 voci ── */
.navbar {
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease,
              background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.navbar.nav-hidden { transform: translateY(-105%); }
.nav-links { gap: 24px; }
@media (max-width: 1180px) {
  .nav-links { gap: 15px; }
  .nav-links a { font-size: 13px; }
}
/* con 7 voci il menu desktop non ci sta sotto i 1000px: si passa all'hamburger */
@media (max-width: 1280px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
}
/* ...e a quella larghezza il menu mobile non sta più centrato in verticale */
@media (max-width: 1280px) {
  .mobile-menu {
    justify-content: flex-start; gap: 18px;
    padding: 92px 24px 48px; overflow-y: auto;
  }
  .mobile-menu a { font-size: 22px; }
  .mobile-menu .nav-cta { margin-top: 8px; }
}


/* ── COMPARATORE PIANI SITO ──────────────────────────────────────────────
   Quattro formati a confronto: usato nella home (#piani-sito) e nella
   landing della rottamazione. Su schermo stretto la tabella scorre in
   orizzontale e la prima colonna resta ferma. */
.cmp-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.cmp-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--mist); border-radius: 20px; background: #fff;
}
.cmp { width: 100%; min-width: 880px; border-collapse: collapse; text-align: left; }
.cmp th, .cmp td { padding: 15px 18px; border-bottom: 1px solid var(--mist); vertical-align: top; }
.cmp thead th { background: var(--warm-white); vertical-align: top; }
.cmp thead th:first-child {
  font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--slate); font-weight: 600; vertical-align: bottom;
}
.cmp-plan { display: block; font-family: 'Fraunces', serif; font-size: 21px; font-weight: 400; color: var(--charcoal); }
.cmp-was { display: block; margin-top: 6px; font-size: 12.5px; color: var(--slate); text-decoration: line-through; }
.cmp-price { display: block; margin-top: 2px; font-size: 19px; font-weight: 700; color: var(--coral-deep); }
.cmp-price small { font-size: 12px; font-weight: 500; color: var(--slate); }
.cmp-note { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 400; line-height: 1.5; color: var(--slate); max-width: 190px; }
.cmp tbody th { font-size: 14.5px; font-weight: 600; color: var(--charcoal); }
.cmp tbody th small { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 400; color: var(--slate); line-height: 1.5; }
.cmp tbody td { font-size: 14px; color: var(--slate); line-height: 1.6; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: none; }
.cmp tbody tr:hover th, .cmp tbody tr:hover td { background: #FFF6F4; }
.cmp-yes svg { width: 18px; height: 18px; color: var(--coral); display: block; }
.cmp-no { display: inline-block; width: 14px; height: 2px; border-radius: 2px; background: rgba(0,0,0,0.16); vertical-align: middle; }
/* la prima colonna resta ferma mentre si scorre: serve un fondo pieno */
.cmp th:first-child, .cmp td:first-child { position: sticky; left: 0; background: #fff; z-index: 1; }
.cmp thead th:first-child { background: var(--warm-white); }
.cmp tbody tr:hover th:first-child { background: #FFF6F4; }
.cmp-hint { margin-top: 12px; font-size: 13px; color: var(--slate); }
@media (min-width: 940px) { .cmp-hint { display: none; } }
@media (max-width: 768px) {
  .cmp th, .cmp td { padding: 13px 14px; }
  .cmp-plan { font-size: 19px; }
}
.cmp-foot { margin-top: 20px; text-align: center; font-size: 14px; color: var(--slate); }
.cmp-foot a { color: var(--coral-deep); font-weight: 600; text-decoration: none; }
.cmp-foot a:hover { text-decoration: underline; }

/* ── il comparatore in pila, sotto i 940 px ───────────────────────────────
   Le schede le costruisce cmp-stack.js dalla stessa tabella, una per
   pacchetto. Se ci sono, la tabella e il suo "scorri di lato" si tolgono di
   mezzo: una versione alla volta, mai le due insieme. */
.cmp-cards { display: none; }
@media (max-width: 939px) {
  .has-cmp-cards .cmp-wrap, .has-cmp-cards .cmp-hint { display: none; }
  .cmp-cards { display: grid; gap: 16px; }
  .cmp-card { border: 1px solid var(--mist); border-radius: 18px; background: #fff; overflow: hidden; }
  .cmp-card.is-top { border-color: rgba(255,107,90,0.35); }
  .cmp-card-head {
    padding: 18px 20px 16px; background: var(--warm-white);
    border-bottom: 1px solid var(--mist);
  }
  /* La colonna consigliata resta riconoscibile anche impilata. */
  .cmp-card.is-top .cmp-card-head { background: rgba(255,107,90,0.10); }
  .cmp-card-head .cmp-plan { font-size: 22px; }
  .cmp-card-head .cmp-price { font-size: 21px; }
  /* In tabella la nota stava strizzata in una colonna: qui ha tutta la riga. */
  .cmp-card-head .cmp-note { max-width: none; margin-top: 5px; }
  .cmp-card-rows { margin: 0; padding: 2px 20px 16px; }
  .cmp-card-key { margin-top: 13px; font-size: 14.5px; font-weight: 600; color: var(--charcoal); }
  .cmp-card-key small {
    display: block; margin-top: 3px;
    font-size: 12.5px; font-weight: 400; line-height: 1.5; color: var(--slate);
  }
  .cmp-card-val {
    margin: 4px 0 0; padding-bottom: 13px; border-bottom: 1px solid var(--mist);
    font-size: 14px; line-height: 1.6; color: var(--slate);
  }
  .cmp-card-val:last-child { padding-bottom: 0; border-bottom: none; }
  /* In tabella la spunta e il trattino avevano la loro colonna e si
     capivano da soli. Impilati sotto un'etichetta no: qui torna visibile
     il "Si'"/"No" che nella tabella leggeva solo la voce sintetica. */
  .cmp-card-val .cmp-yes { display: inline-flex; align-items: center; gap: 7px; }
  .cmp-card-val .cmp-no { margin-right: 7px; }
  .cmp-card-val .cmp-sr {
    position: static; width: auto; height: auto; margin: 0;
    clip: auto; overflow: visible; white-space: normal;
  }
}


/* ── LISTINO PER INTERO: foto, video, siti ────────────────────────────────
   Un blocco per servizio: spiegazione, voci a prezzo pieno e nota finale. */
.lst-block {
  background: #fff; border: 1px solid var(--mist); border-radius: 22px;
  padding: 34px 36px; margin-bottom: 24px;
}
.lst-head {
  width: 100%; display: flex; align-items: center; gap: 20px; text-align: left;
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif; color: inherit;
}
.lst-head:focus-visible { outline: 2px solid var(--coral-deep); outline-offset: 6px; border-radius: 8px; }
.lst-chevron {
  flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--cream);
  display: flex; align-items: center; justify-content: center; transition: all 0.35s ease;
}
.lst-chevron svg { width: 15px; height: 15px; color: var(--charcoal); transition: transform 0.35s ease; }
.lst-head:hover .lst-chevron { background: var(--coral-soft); }
.lst-block.is-open .lst-chevron { background: var(--coral); }
.lst-block.is-open .lst-chevron svg { color: #fff; transform: rotate(180deg); }
/* Senza JS i blocchi restano aperti: la classe la mette lo script. */
.lst-acc .lst-body { overflow: hidden; transition: max-height 0.55s cubic-bezier(0.4,0,0.2,1); }
.lst-icon {
  width: 52px; height: 52px; border-radius: 15px; flex: none;
  background: var(--coral-soft); display: flex; align-items: center; justify-content: center;
}
.lst-icon svg { width: 24px; height: 24px; color: var(--coral-deep); }
.lst-head-text { flex: 1; min-width: 0; display: block; }
.lst-titolo {
  display: block; font-family: 'Fraunces', serif; font-weight: 400; font-size: 30px;
  color: var(--charcoal); line-height: 1.2;
}
.lst-sub { display: block; margin-top: 5px; font-size: 14.5px; line-height: 1.6; color: var(--slate); }
.lst-desc { margin-top: 24px; font-size: 15.5px; line-height: 1.75; color: var(--slate); max-width: 700px; }
.lst-desc a { color: var(--coral-deep); text-decoration: none; border-bottom: 1px solid rgba(232,77,61,0.3); transition: border-color 0.2s; }
.lst-desc a:hover { border-bottom-color: var(--coral-deep); }
.lst-from {
  flex: none; display: block; text-align: right; font-size: 26px; font-weight: 700;
  color: var(--coral-deep); white-space: nowrap;
}
.lst-from small { font-size: 12.5px; font-weight: 500; color: var(--slate); }
.lst-rows { border-top: 1px solid var(--mist); margin-top: 26px; }
.lst-row {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px 22px;
  padding: 14px 0; border-bottom: 1px solid var(--mist);
}
/* Aggiungi al preventivo: un piu' tondo. Il nome della voce sta gia' nella
   riga accanto, il bottone non ha bisogno di ripeterlo a parole. Cosa fa lo
   dicono l'aria-label e il title, uno per riga. */
.lst-want {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; padding: 0;
  border-radius: 50%; border: 1px solid var(--mist);
  background: #fff; color: var(--charcoal); text-decoration: none;
  cursor: pointer; transition: all 0.25s ease;
}
.lst-want svg { width: 17px; height: 17px; display: block; }
.lst-want:hover {
  background: var(--coral); border-color: var(--coral); color: #fff;
  transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255,107,90,0.28);
}
.lst-want:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.lst-row-name { font-size: 15.5px; font-weight: 600; color: var(--charcoal); }
.lst-row-name small { display: block; font-size: 13px; font-weight: 400; color: var(--slate); margin-top: 3px; }
.lst-row-price { font-size: 18px; font-weight: 700; color: var(--charcoal); white-space: nowrap; }
.lst-note { margin-top: 18px; font-size: 14px; line-height: 1.7; color: var(--slate); }


/* ── Rimando al sito 3D: una banda, non una riga di listino.
   Il 3D non e' il gradino sopra l'e-commerce, e' un'altra cosa. ── */
.lst-cross {
  display: flex; align-items: center; gap: 16px;
  margin-top: 24px; padding: 18px 22px; border-radius: 16px;
  text-decoration: none; color: inherit;
  background: linear-gradient(120deg, rgba(27,107,132,0.10), var(--coral-soft));
  border: 1px solid rgba(255,107,90,0.26);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.lst-cross:hover { transform: translateY(-2px); border-color: var(--coral); box-shadow: 0 12px 30px rgba(255,107,90,0.18); }
.lst-cross-ico {
  width: 42px; height: 42px; flex: none; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--coral); color: #fff;
}
.lst-cross-ico svg { width: 21px; height: 21px; }
.lst-cross-testo { flex: 1; font-size: 14px; line-height: 1.65; color: var(--slate); }
.lst-cross-testo strong { display: block; font-size: 15.5px; color: var(--charcoal); margin-bottom: 3px; }
.lst-cross-freccia { width: 18px; height: 18px; flex: none; color: var(--coral-deep); }
@media (max-width: 600px) {
  .lst-cross { flex-wrap: wrap; gap: 12px; padding: 16px 18px; }
  .lst-cross-freccia { display: none; }
}
.lst-cta {
  margin-top: 20px; display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 50px; border: 1px solid var(--mist);
  background: var(--cream); color: var(--charcoal);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.3s ease;
}
.lst-cta:hover { background: var(--coral); color: #fff; border-color: var(--coral); transform: translateY(-1px); }
@media (max-width: 768px) {
  .lst-block { padding: 24px 20px; border-radius: 18px; }
  .lst-head { gap: 12px; }
  .lst-titolo { font-size: 24px; }
  .lst-sub { font-size: 13px; }
  .lst-from { font-size: 19px; }
  .lst-row { grid-template-columns: 1fr auto; }
  .lst-row-name { grid-column: 1 / -1; }
  .lst-row-price { grid-column: 1; justify-self: start; }
  .lst-want { grid-column: 2; }
}
.lst-row-price small { font-size: 12.5px; font-weight: 500; color: var(--slate); margin-right: 3px; }
.lst-row-price small.iva { margin-right: 0; margin-left: 5px; font-size: 12px; }

/* "configuratore" dentro un paragrafo: un bottone che si legge come un link */
.lnk-cfg {
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: inherit; font-size: inherit; line-height: inherit;
  color: var(--coral-deep); font-weight: 600;
  border-bottom: 1px solid rgba(232,77,61,0.35); transition: border-color 0.25s ease;
}
.lnk-cfg:hover { border-bottom-color: var(--coral-deep); }


/* il comparatore, dentro il blocco dei siti, si stacca dalle voci */
.lst-block .cmp-wrap { margin-top: 28px; }

/* La colonna consigliata si stacca dalle altre: e' un consiglio nostro,
   non un dato di vendita. */
.cmp thead th:nth-child(4) { background: rgba(255,107,90,0.10); }
.cmp tbody th:nth-child(4), .cmp tbody td:nth-child(4) { background: rgba(255,107,90,0.045); }
.cmp tbody tr:hover td:nth-child(4) { background: rgba(255,107,90,0.09); }
.cmp-tag {
  display: inline-block; margin: 6px 0 2px;
  font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: #fff; background: var(--coral); border-radius: 20px; padding: 3px 9px;
}

/* ── Lancio della sala podcast: la riga sopra ai pacchetti ── */
.lst-lancio {
  margin: 22px 0 26px; padding: 11px 15px; border-radius: 12px;
  background: rgba(255,107,90,0.07); border: 1px solid rgba(255,107,90,0.22);
  font-size: 13.5px; line-height: 1.55; color: var(--coral-deep);
}
.lst-lancio strong { font-weight: 700; }
