/* ── KORAL · foglio di stile condiviso tra index.html e pmi.html ──
   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: 'Instrument 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; }

.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; align-items: center;
  padding: 140px 48px 80px; position: relative; overflow: visible;
}
/* Terme del Corallo: il disegno di linea come fondale dell'hero */
.hero-bg {
  position: absolute; left: 50%; bottom: 0;
  width: min(1680px, 132%);
  aspect-ratio: 1536 / 1024;
  transform: translate(-50%, 21%);
  background: url('terme-corallo.webp?v=2') center bottom / contain no-repeat;
  opacity: 0.62;
  pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, transparent 10%, rgba(0,0,0,.4) 34%, rgba(0,0,0,.85) 60%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 10%, rgba(0,0,0,.4) 34%, rgba(0,0,0,.85) 60%, #000 100%);
}
/* alone caldo sotto la colonna di testo: tiene leggibili titolo e paragrafo
   senza tagliare il disegno con un bordo visibile */
.hero-veil {
  position: absolute; inset: 0;
  background: radial-gradient(118% 88% at 21% 54%,
    rgba(255,250,249,.94) 0%,
    rgba(255,250,249,.88) 26%,
    rgba(255,250,249,.52) 50%,
    rgba(255,250,249,0) 74%);
  pointer-events: none; z-index: 0;
}
/* velatura in basso: stacca l'hero dalla sezione portfolio */
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 140px;
  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%;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center;
  position: relative; z-index: 1;
}
.hero-text { min-width: 0; }
.hero-eyebrow { margin-bottom: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.hero-eyebrow-label {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: 2.4px;
  text-transform: uppercase; color: var(--coral-deep);
}
/* I servizi in fila accanto al posizionamento: la fotografia viene per prima */
.hero-eyebrow-services {
  font-size: 12px; font-weight: 600; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--slate);
  padding-left: 14px; border-left: 1px solid var(--mist);
}
.hero-eyebrow-label::before {
  content: ''; flex: none;
  width: 7px; height: 7px; border-radius: 50%; background: var(--coral);
}
.hero-text h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(42px, 5vw, 86px);
  font-weight: 400; line-height: 1.06;
  color: var(--charcoal); margin-bottom: 28px;
}
.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: 520px; margin-bottom: 40px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.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); }

/* ── HERO 3D CORAL ── */
.hero-coral-3d {
  display: flex; align-items: center; justify-content: center;
  perspective: 800px;
}
.coral-scene {
  animation: coralFloat 6s ease-in-out infinite;
}
.coral-3d {
  width: 320px; height: auto;
  filter: drop-shadow(0 20px 60px rgba(255,107,90,0.2));
  animation: coralRotate 12s ease-in-out infinite;
}
.coral-branch { animation: coralSway 4s ease-in-out infinite alternate; transform-origin: center bottom; }
@keyframes coralFloat {
  0%, 100% { transform: translateY(0) rotateX(1deg); }
  50% { transform: translateY(-10px) rotateX(-1deg); }
}
@keyframes coralRotate {
  0%, 100% { transform: rotateY(-4deg); }
  50% { transform: rotateY(4deg); }
}
@keyframes coralSway {
  0% { transform: rotate(-0.8deg); }
  100% { transform: rotate(0.8deg); }
}

/* ── CORAL INTERACTIVE TIPS ── */
.coral-scene { position: relative; z-index: 1; }
.coral-3d { position: relative; z-index: 1; }
.coral-tip {
  fill: #fff;
  stroke: none;
  cursor: pointer;
  transition: all 0.35s ease;
  filter: drop-shadow(0 0 2px rgba(255,107,90,0.35));
}
.coral-tip:hover,
.coral-tip.active {
  fill: #fff;
  filter: url(#tip-glow) drop-shadow(0 0 6px rgba(255,255,255,0.8));
}
.coral-tip-hit { cursor: pointer; }

/* Hint labels: always visible */
.coral-label {
  position: absolute;
  pointer-events: none;
  z-index: 5;
  display: flex;
  align-items: center;
  white-space: nowrap;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.coral-label.highlight { opacity: 1; }
.coral-label .label-line {
  height: 1px;
  background: var(--charcoal);
  flex-shrink: 0;
}
.coral-label .label-text {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.coral-label.right { flex-direction: row; }
.coral-label.right .label-line { margin-right: 8px; }
.coral-label.left { flex-direction: row-reverse; }
.coral-label.left .label-line { margin-left: 8px; }
.coral-label.top { flex-direction: column-reverse; align-items: center; }
.coral-label.top .label-line { width: 1px !important; height: 30px; margin-bottom: 6px; }
.coral-label.top .label-text { margin-bottom: 0; }
.coral-label.top-left { flex-direction: column-reverse; align-items: flex-end; }
.coral-label.top-left .label-line { width: 1px !important; height: 30px; margin-bottom: 6px; }
.coral-label.top-left .label-text { margin-bottom: 0; }
.coral-label.top-right { flex-direction: column-reverse; align-items: flex-start; }
.coral-label.top-right .label-line { width: 1px !important; height: 30px; margin-bottom: 6px; }
.coral-label.top-right .label-text { margin-bottom: 0; }

/* Service card popup on hover */
.coral-card-popup {
  position: absolute;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,107,90,0.1);
  border-radius: 14px;
  padding: 16px 18px;
  width: 212px;
  box-shadow: 0 12px 40px rgba(255,107,90,0.12), 0 2px 8px rgba(0,0,0,0.04);
  opacity: 0;
  transform: translateY(6px) scale(0.96);
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none;
  z-index: 100;
}
.coral-card-popup.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  z-index: 150;
}
.coral-card-popup::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--coral-light));
  border-radius: 14px 14px 0 0;
}
.coral-card-popup .card-icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--coral-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.coral-card-popup .card-icon svg {
  width: 16px; height: 16px; color: var(--coral); stroke: var(--coral); fill: none;
}
.coral-card-popup h4 {
  font-family: 'Instrument Serif', serif;
  font-size: 15px; font-weight: 400; margin-bottom: 5px;
  color: var(--charcoal);
}
.coral-card-popup p {
  font-size: 11.5px; line-height: 1.55; color: var(--slate); margin: 0;
}

/* ── 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: 'Instrument 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: 'Instrument Serif', 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); }
.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: 'Instrument Serif', 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.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: 'Instrument Serif', 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: 'Instrument Serif', serif; font-size: 44px; font-weight: 400; margin-bottom: 6px; }
.plan-price span { font-family: 'Instrument Sans', sans-serif; font-size: 15px; color: var(--slate); }
.price-card.popular .plan-price span { color: #fff; }
.plan-price-old {
  font-family: 'Instrument 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: 'Instrument Serif', serif; font-weight: 400;
  font-size: 26px; color: var(--coral-deep);
  white-space: nowrap; flex-shrink: 0;
}
.srv-price small {
  display: block; font-family: 'Instrument 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: 'Instrument Serif', 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: 'Instrument Serif', 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: 'Instrument Serif', 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: 'Instrument Serif', 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: 'Instrument Serif', 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: 'Inter', 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: 'Instrument Serif', 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;
}
.team-people { display: flex; flex-wrap: wrap; gap: 24px 26px; }
.team-founders { margin-bottom: 36px; gap: 24px 32px; }
.team-person-lg { width: 112px; }
.team-person-lg .team-person-avatar { width: 104px; height: 104px; font-size: 20px; }
.team-person-lg .team-person-name { font-size: 15px; }
.team-person { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 84px; }
.team-person-avatar {
  width: 76px; height: 76px; 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); }
@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; }
}

/* ── 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: 'Instrument Serif', 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: 'Instrument Serif', 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: 'Instrument Serif', 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: 'Instrument Serif', 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: 'Instrument Serif', 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: 'Instrument Serif', 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: 'Instrument Serif', 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: 'Instrument 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: 'Instrument Serif', 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: 'Instrument Serif', 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);
}
.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;
}

/* ── 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: 'Instrument Serif', 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: 'Instrument Serif', 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: 'Instrument Serif', 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: 'Instrument Serif', 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: 'Instrument 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: 'Instrument Serif', 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; }
.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: 'Instrument Serif', 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: 'Instrument Serif', 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; gap: 6px; font-size: 12px; }
.powered span { color: var(--coral-glow); font-weight: 600; }

/* ── 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 { grid-template-columns:1fr; gap:48px; }
  .hero-bg { width: 150%; opacity: 0.55; transform: translate(-50%, 24%); }
  /* colonna singola: il testo sta in alto, quindi la velatura diventa verticale */
  .hero-veil {
    background: linear-gradient(180deg,
      rgba(255,250,249,.95) 0%,
      rgba(255,250,249,.9) 36%,
      rgba(255,250,249,.58) 58%,
      rgba(255,250,249,0) 82%);
  }
  .coral-3d { width: 240px; }
  .coral-label .label-text { font-size: 13px; }
  /* le linee guida lunghe sono inline (data-line): qui le accorcio comunque */
  .coral-label .label-line { width: 24px; max-width: 24px; }
  .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:110px 20px 60px; min-height: auto; }
  /* più in basso: il basamento pieno del disegno esce dal taglio della sezione
     invece di leggersi come una banda orizzontale */
  .hero-bg { width: 190%; opacity: 0.5; transform: translate(-50%, 34%); }
  .hero::after { height: 150px; }
  .coral-3d { width: 180px; }
  .hero-coral-3d { display: none; }
  .coral-label .label-text { font-size: 10px; letter-spacing: 1px; }
  .coral-label .label-line { width: 14px; max-width: 14px; }
  .coral-card-popup { width: 172px; padding: 14px 16px; }
  .coral-card-popup h4 { font-size: 14px; }
  .coral-card-popup p { font-size: 11px; }
  .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:flex-start; }
  .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-gallery img { height: 140px; }
  .modal-header h3 { font-size:24px; }
  .wave-divider svg { height: 60px; }
}
@media (max-width:480px) {
  .hero { padding:100px 16px 48px; min-height: auto; }
  .hero-text h1 { margin-bottom: 20px; }
  .hero-eyebrow { margin-bottom: 16px; }
  .hero-eyebrow-label { font-size: 11px; letter-spacing: 2px; }
  /* A colonna singola il separatore verticale finirebbe a capo da solo */
  .hero-eyebrow-services {
    font-size: 11px; letter-spacing: 1px;
    padding-left: 0; border-left: none;
  }
  .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-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: 'Instrument Serif', 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: 'Instrument Serif', 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: 'Instrument Serif', 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; }
}

/* ── CONFIGURATOR MODAL ── */
.cfg-modal {
  position: fixed; inset: 0; z-index: 2147483600;
  display: none;
  align-items: stretch; justify-content: center;
}
.cfg-modal.is-open { display: flex; }
.cfg-modal .cfg-backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 12, 10, 0.7);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  animation: cfgFadeIn 0.3s ease;
}
@keyframes cfgFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cfgSlideUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.cfg-shell {
  position: relative; z-index: 1;
  width: min(1280px, calc(100% - 32px));
  height: calc(100vh - 32px); margin: 16px auto;
  background: var(--cream);
  border-radius: 28px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.4);
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: cfgSlideUp 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* HEADER */
.cfg-header {
  flex-shrink: 0;
  padding: 28px 36px 20px;
  background: linear-gradient(135deg, #1A1A1A 0%, #2A1F1A 100%);
  color: #fff;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  position: relative; overflow: hidden;
}
.cfg-header::before {
  content: ''; position: absolute; top: -120px; right: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,90,0.4) 0%, transparent 70%);
  pointer-events: none;
}
.cfg-header-left { position: relative; z-index: 1; flex: 1; min-width: 0; }
.cfg-header-tag {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--coral-glow); margin-bottom: 8px;
}
.cfg-header h2 {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: 36px; line-height: 1.05; margin-bottom: 6px;
}
.cfg-header h2 em { color: var(--coral); font-style: italic; }
.cfg-header-sub { font-size: 14px; color: rgba(255,255,255,0.65); }
.cfg-close {
  position: relative; z-index: 1; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.cfg-close svg { width: 20px; height: 20px; }
.cfg-close:hover { background: rgba(255,255,255,0.16); transform: rotate(90deg); }

/* BODY: single scroll container, summary sticky on the side */
.cfg-body {
  flex: 1 1 0%; min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: start;
  background: var(--cream);
}
.cfg-catalog {
  min-width: 0;
  padding: 32px 36px 100px;
  background: var(--cream);
  scrollbar-width: thin; scrollbar-color: var(--coral) transparent;
}
.cfg-catalog::-webkit-scrollbar { width: 6px; }
.cfg-catalog::-webkit-scrollbar-thumb { background: var(--coral); border-radius: 3px; }

/* STEP */
.cfg-step {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.cfg-step:last-child { border-bottom: none; }
.cfg-step-num {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--charcoal); color: var(--coral);
  font-family: 'Instrument Serif', serif; font-size: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 400;
}
.cfg-step-content { min-width: 0; }
.cfg-step-content h3 {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: 24px; margin-bottom: 4px; line-height: 1.2;
}
.cfg-step-extra {
  display: inline-block; vertical-align: middle; margin-left: 8px;
  font-family: inherit; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--coral-deep); background: rgba(255,107,90,0.10);
  border: 1px solid rgba(255,107,90,0.22); border-radius: 999px; padding: 3px 9px;
}
.cfg-step-desc { font-size: 13px; color: var(--slate); margin-bottom: 16px; line-height: 1.5; }
.cfg-step-desc strong { color: var(--coral-deep); font-weight: 600; }

/* OPTIONS GRID */
.cfg-options { display: grid; gap: 10px; }
.cfg-options-2 { grid-template-columns: repeat(2, 1fr); }
.cfg-options-3 { grid-template-columns: repeat(3, 1fr); }
.cfg-sub-label {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--coral-deep);
  margin: 14px 0 8px;
}
.cfg-sub-label:first-child { margin-top: 4px; }
.cfg-options-4 { grid-template-columns: repeat(4, 1fr); }
.cfg-options-5 { grid-template-columns: repeat(5, 1fr); }
.cfg-opt { display: block; cursor: pointer; position: relative; }
/* Visually hide the input without breaking layout / scroll-into-view.
   Using explicit top/left + clip ensures the focus target is at a known,
   predictable position (top-left of the label) so the browser's automatic
   "scroll focused element into view" doesn't jump cfg-body unexpectedly. */
.cfg-opt input {
  position: absolute;
  top: 0; left: 0;
  width: 1px; height: 1px;
  margin: 0; padding: 0; border: 0;
  opacity: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  pointer-events: none;
}
.cfg-opt-card {
  position: relative;
  height: 100%;
  background: #fff;
  border: 2px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 14px 14px 14px 50px;
  transition: all 0.2s;
  display: flex; flex-direction: column;
}
.cfg-opt-card::before {
  content: ''; position: absolute; left: 14px; top: 14px;
  width: 22px; height: 22px;
  border: 2px solid rgba(0,0,0,0.15);
  border-radius: 6px;
  background: #fff;
  transition: all 0.2s;
}
.cfg-opt input[type="radio"] ~ .cfg-opt-card::before { border-radius: 50%; }
.cfg-opt input:checked ~ .cfg-opt-card {
  border-color: var(--coral);
  background: var(--coral-soft);
  box-shadow: 0 8px 24px rgba(255,107,90,0.15);
}
.cfg-opt input:checked ~ .cfg-opt-card::before {
  background: var(--coral);
  border-color: var(--coral);
  box-shadow: inset 0 0 0 4px #fff;
}
.cfg-opt input[type="checkbox"]:checked ~ .cfg-opt-card::before {
  box-shadow: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 16px; background-repeat: no-repeat; background-position: center;
}
.cfg-opt:hover .cfg-opt-card { border-color: rgba(255,107,90,0.4); transform: translateY(-2px); }
.cfg-opt-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--cream); color: var(--coral-deep);
  font-size: 16px; font-weight: 600; margin-bottom: 8px;
}
.cfg-opt-icon svg { width: 18px; height: 18px; }
.cfg-opt-name {
  font-size: 13px; font-weight: 600; color: var(--charcoal);
  line-height: 1.3; margin-bottom: 4px;
}
.cfg-opt-name small {
  display: block; font-weight: 400; color: var(--slate);
  font-size: 11px; margin-top: 2px;
}
.cfg-opt-price {
  margin-top: auto; font-family: 'Instrument Serif', serif;
  font-size: 18px; color: var(--coral-deep); font-weight: 400;
}

/* SUMMARY (right panel) */
.cfg-summary {
  position: sticky;
  top: 0;
  align-self: start;
  max-height: calc(100vh - 32px - 120px);
  overflow-y: auto;
  background: #fff;
  border-left: 1px solid rgba(0,0,0,0.06);
  scrollbar-width: thin;
}
.cfg-summary-inner { padding: 28px 24px; display: flex; flex-direction: column; min-height: 100%; }
.cfg-summary-title {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: 22px; margin-bottom: 16px;
  padding-bottom: 14px; border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Living coral preview */
.cfg-coral {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 14px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(255,234,231,0.6) 0%, rgba(255,255,255,0.4) 100%);
  border: 1px solid rgba(255,107,90,0.12);
  border-radius: 16px;
  position: relative; overflow: hidden;
}
.cfg-coral::before {
  content: ''; position: absolute; top: -30px; right: -30px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,90,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cfg-coral-stage {
  width: 88px; height: 88px; flex-shrink: 0;
  display: flex; align-items: flex-end; justify-content: center;
  position: relative; z-index: 1;
}
.cfg-coral-svg { width: 88px; height: 88px; }
.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; }

.cfg-coral-meta { flex: 1; min-width: 0; position: relative; z-index: 1; }
.cfg-coral-count {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: 32px; line-height: 1; color: var(--coral-deep);
  margin-bottom: 2px;
}
.cfg-coral-count .cc-suffix { font-size: 12px; color: var(--slate); margin-left: 4px; }
.cfg-coral-label strong {
  display: block; font-size: 13px; color: var(--charcoal);
  font-weight: 600; line-height: 1.25;
}
.cfg-coral-label span {
  display: block; font-size: 11px; color: var(--slate);
  margin-top: 2px; line-height: 1.4;
}
@keyframes cfgPop { 0% { transform: scale(0.8); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
/* Buono €50 voucher badge */
.cfg-voucher-badge {
  display: flex; align-items: center; gap: 12px;
  background: var(--coral-soft);
  border: 1.5px dashed var(--coral);
  border-radius: 14px; padding: 13px 16px; margin-bottom: 14px;
  animation: cfgPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cfg-voucher-badge.is-pending { background: var(--cream); border-color: rgba(255,107,90,0.5); }
.cfg-voucher-emoji { font-size: 24px; line-height: 1; flex-shrink: 0; }
.cfg-voucher-text { display: flex; flex-direction: column; gap: 2px; }
.cfg-voucher-text strong { font-size: 14px; color: var(--coral-deep); }
.cfg-voucher-text span { font-size: 12px; color: var(--slate); line-height: 1.35; }
/* Voucher line inside the discount list gets a highlight */
.cfg-discount-list li.is-voucher {
  background: var(--coral-soft);
  margin: 4px -8px; padding: 8px 10px; border-radius: 8px;
}
.cfg-discount-list li.is-voucher .cfg-disc-label,
.cfg-discount-list li.is-voucher .cfg-disc-amount { color: var(--coral-deep); font-weight: 700; }

.cfg-item-list { list-style: none; margin: 0 0 16px; }
.cfg-item-list li {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  padding: 10px 0; font-size: 13px;
  border-bottom: 1px dashed rgba(0,0,0,0.06);
}
.cfg-item-list li:last-child { border-bottom: none; }
.cfg-item-list li .cfg-item-name { flex: 1; color: var(--charcoal); }
.cfg-item-list li .cfg-item-price { color: var(--slate); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.cfg-empty { text-align: center; color: var(--slate); padding: 24px 0 !important; font-style: italic; border: none !important; }

.cfg-discount-list { list-style: none; margin: 0 0 16px; padding-top: 8px; border-top: 1px solid rgba(0,0,0,0.06); }
.cfg-discount-list li {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  padding: 8px 0; font-size: 12px; color: var(--coral-deep); font-weight: 600;
}
.cfg-discount-list .cfg-disc-label { flex: 1; }
.cfg-discount-list .cfg-disc-emoji { margin-right: 6px; }
.cfg-discount-list .cfg-disc-amount { font-variant-numeric: tabular-nums; flex-shrink: 0; }

.cfg-totals { padding-top: 14px; border-top: 2px solid var(--charcoal); margin-bottom: 18px; }
.cfg-total-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 4px 0;
}
.cfg-total-sub, .cfg-total-saved { font-size: 13px; color: var(--slate); }
.cfg-total-saved { color: var(--coral-deep); font-weight: 600; }
.cfg-total-final {
  margin-top: 6px; padding-top: 10px; border-top: 1px dashed rgba(0,0,0,0.1);
  font-family: 'Instrument Serif', serif; font-size: 28px;
  align-items: baseline;
}
.cfg-total-final small { font-family: 'Instrument Sans'; font-size: 12px; color: var(--slate); font-weight: 400; }

.cfg-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 16px;
  background: var(--coral); color: #fff;
  border: none; border-radius: 50px;
  font-family: inherit; font-weight: 600; font-size: 15px;
  cursor: pointer; transition: all 0.3s;
}
.cfg-cta:hover:not(:disabled) { background: var(--coral-deep); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255,107,90,0.3); }
.cfg-cta:disabled { background: rgba(0,0,0,0.1); color: rgba(0,0,0,0.4); cursor: not-allowed; }
.cfg-cta:disabled .cfg-cta-hint { color: rgba(0,0,0,0.35); }
.cfg-cta-ghost { background: transparent !important; color: var(--charcoal) !important; border: 1.5px solid var(--mist) !important; }
.cfg-cta-ghost:hover { border-color: var(--coral) !important; color: var(--coral) !important; }
.cfg-cta-spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%; animation: cfgSpin 0.8s linear infinite; }
@keyframes cfgSpin { to { transform: rotate(360deg); } }

/* Dual CTA stack (Salva / Prenota) */
.cfg-cta-stack { display: flex; flex-direction: column; gap: 10px; }
.cfg-cta-stack .cfg-cta {
  flex-direction: column; gap: 2px; padding: 14px 18px; line-height: 1.2;
}
.cfg-cta-hint {
  font-size: 11px; font-weight: 500; opacity: 0.85;
  letter-spacing: 0.2px;
}
.cfg-cta-book {
  background: var(--charcoal);
}
.cfg-cta-book:hover:not(:disabled) {
  background: #000; box-shadow: 0 12px 32px rgba(26,26,26,0.3);
}
.cfg-cta-or {
  position: relative; text-align: center;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--slate);
  padding: 2px 0;
}
.cfg-cta-or::before, .cfg-cta-or::after {
  content: ''; position: absolute; top: 50%;
  width: calc(50% - 32px); height: 1px; background: rgba(0,0,0,0.08);
}
.cfg-cta-or::before { left: 0; }
.cfg-cta-or::after { right: 0; }
.cfg-cta-or span { background: var(--cream); padding: 0 6px; }

/* Deposit card (book step) */
.cfg-deposit-card {
  background: linear-gradient(135deg, #FFEAE7 0%, #FFF8F6 100%);
  border: 1px solid rgba(255,107,90,0.18);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 20px;
}
.cfg-deposit-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; color: var(--slate);
  padding: 6px 0;
}
.cfg-deposit-row-main {
  font-size: 15px; color: var(--charcoal);
  border-top: 1px dashed rgba(255,107,90,0.3);
  border-bottom: 1px dashed rgba(255,107,90,0.3);
  margin: 4px 0;
  padding: 10px 0;
}
.cfg-deposit-row-main small { font-size: 11px; color: var(--slate); font-weight: 400; margin-left: 4px; }
.cfg-deposit-value { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--charcoal); }
.cfg-deposit-amount {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: 26px; color: var(--coral-deep);
}
.cfg-deposit-note {
  font-size: 12px; color: var(--slate); line-height: 1.5;
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.cfg-cta-success-action {
  display: inline-flex; margin-top: 18px; text-decoration: none;
}

.cfg-note { font-size: 11px; color: var(--slate); line-height: 1.5; margin-top: 14px; text-align: center; }

/* EMAIL STEP: fills the whole modal, no nested card-on-cream look */
.cfg-email-step, .cfg-success {
  position: absolute; inset: 0; z-index: 5;
  background: #fff;
  display: flex; flex-direction: column; align-items: center;
  padding: 16px 24px 60px;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  animation: cfgFadeIn 0.3s ease;
}
.cfg-email-step[hidden], .cfg-success[hidden] { display: none !important; }
.cfg-voucher-badge[hidden], .cfg-discount-list[hidden], .cfg-step[hidden] { display: none !important; }
.cfg-email-card, .cfg-success-card {
  width: 100%; max-width: 440px;
  background: transparent; border-radius: 0;
  padding: 16px 4px 32px;
  box-shadow: none;
  margin-top: 0;
  flex-shrink: 0;
}
.cfg-email-close {
  position: sticky; top: 8px;
  align-self: flex-end;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--charcoal);
  border: none;
  color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 6;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transition: all 0.2s;
  flex-shrink: 0;
}
.cfg-email-close svg { width: 18px; height: 18px; }
.cfg-email-close:hover { background: var(--coral); transform: rotate(90deg); }
.cfg-email-back {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; color: var(--slate);
  font-family: inherit; font-size: 13px; font-weight: 600;
  cursor: pointer; margin-bottom: 16px; padding: 0;
}
.cfg-email-back:hover { color: var(--coral); }
.cfg-email-back svg { width: 16px; height: 16px; }
.cfg-email-tag {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--coral); margin-bottom: 8px;
}
.cfg-email-card h3 {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: 32px; margin-bottom: 8px; line-height: 1.1;
}
.cfg-email-sub { font-size: 14px; color: var(--slate); line-height: 1.6; margin-bottom: 24px; }

.cfg-form { display: flex; flex-direction: column; gap: 14px; }
.cfg-field { display: flex; flex-direction: column; gap: 6px; }
.cfg-field label { font-size: 12px; font-weight: 600; color: var(--charcoal); }
.cfg-opt-label { font-weight: 400; color: var(--slate); font-size: 11px; }
.cfg-field input, .cfg-field textarea {
  font-family: inherit; font-size: 14px;
  padding: 12px 14px;
  border: 1.5px solid var(--mist);
  border-radius: 12px;
  background: var(--cream);
  transition: all 0.2s;
  resize: vertical;
}
.cfg-field input:focus, .cfg-field textarea:focus {
  outline: none; border-color: var(--coral); background: #fff;
  box-shadow: 0 0 0 3px rgba(255,107,90,0.12);
}
.cfg-checkbox {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 12px; color: var(--slate); line-height: 1.5;
  cursor: pointer; padding: 4px 0;
}
.cfg-checkbox input { width: 16px; height: 16px; accent-color: var(--coral); margin-top: 2px; flex-shrink: 0; }
.cfg-checkbox a { color: var(--coral); }
.cfg-form-note {
  font-size: 13px; padding: 10px 14px; border-radius: 10px; margin-top: 4px;
}
.cfg-form-note.is-error { background: #fff0ee; color: var(--coral-deep); }
.cfg-form-note.is-success { background: #ecfdf5; color: #047857; }

/* SUCCESS */
.cfg-success-card { text-align: center; }
.cfg-success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-deep) 100%);
  color: #fff; font-size: 36px; line-height: 72px;
  margin: 0 auto 20px;
}
.cfg-success h3 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 30px; margin-bottom: 10px; }
.cfg-success p { font-size: 15px; color: var(--slate); line-height: 1.6; margin-bottom: 8px; }
.cfg-success-sub { padding-top: 14px; border-top: 1px solid var(--mist); margin-top: 18px; }
.cfg-success-sub a { color: var(--coral); font-weight: 600; text-decoration: none; }
.cfg-success-sub a:hover { color: var(--coral-deep); }
.cfg-success .cfg-cta { margin-top: 18px; }

/* MOBILE STICKY MINI CORAL: hidden on desktop, sticky-top on mobile */
.cfg-mini-coral { display: none; }

/* RESPONSIVE configurator */
@media (max-width: 980px) {
  .cfg-shell { width: 100%; height: 100vh; height: 100dvh; margin: 0; border-radius: 0; }
  /* Single column flow on mobile: catalog scrolls into summary, no parallel sticky panel */
  .cfg-body {
    display: block;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    min-height: 0;
  }
  /* Sticky mini coral pinned at top of cfg-body so it stays visible while scrolling */
  .cfg-mini-coral {
    display: flex;
    align-items: center;
    gap: 12px;
    position: sticky; top: 0; z-index: 5;
    padding: 10px 16px;
    background: linear-gradient(180deg, #FFF8F6 0%, rgba(255,248,246,0.96) 100%);
    border-bottom: 1px solid rgba(255,107,90,0.14);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  }
  .cfg-mini-coral-stage {
    width: 48px; height: 48px; flex-shrink: 0;
    display: flex; align-items: flex-end; justify-content: center;
  }
  .cfg-mini-coral-stage svg { width: 48px; height: 48px; }
  .cfg-mini-coral-info {
    flex: 1; min-width: 0;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
  }
  .cfg-mini-coral-status {
    font-size: 12px; font-weight: 600; color: var(--charcoal);
    line-height: 1.2; flex: 1; min-width: 0;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .cfg-mini-coral-total {
    font-family: 'Instrument Serif', serif;
    font-size: 20px; color: var(--coral-deep); font-weight: 400;
    flex-shrink: 0; line-height: 1;
  }
  .cfg-mini-coral-total small {
    font-family: inherit; font-size: 10px; color: var(--slate);
    margin-left: 2px; font-weight: 400;
  }
  .cfg-catalog {
    flex: none;
    height: auto;
    overflow: visible;
    padding: 20px 20px 24px;
  }
  .cfg-summary {
    width: auto;
    flex: none;
    height: auto;
    position: static; max-height: none;
    background: #fff;
    border-left: none;
    border-top: 1px solid rgba(0,0,0,0.08);
    box-shadow: none;
    overflow: visible;
  }
  .cfg-summary-inner { padding: 22px 20px 28px; }
  .cfg-summary-title { font-size: 18px; margin-bottom: 12px; }
  .cfg-options-3, .cfg-options-4, .cfg-options-5 { grid-template-columns: repeat(2, 1fr); }
  .cfg-options-2 { grid-template-columns: 1fr; }
  .cfg-step { grid-template-columns: 36px 1fr; gap: 12px; padding: 18px 0; }
  .cfg-step-num { width: 36px; height: 36px; font-size: 16px; }
  .cfg-step-content h3 { font-size: 20px; }
  .cfg-header { padding: 20px 20px 16px; }
  .cfg-header h2 { font-size: 26px; }
  .cfg-email-card, .cfg-success-card { padding: 28px 22px; }
  .cfg-email-step, .cfg-success { padding: 12px 16px 80px; overscroll-behavior: contain; }
}
@media (max-width: 540px) {
  .cfg-options-3, .cfg-options-4, .cfg-options-5 { grid-template-columns: 1fr; }
  .cfg-opt-card { padding: 12px 12px 12px 44px; flex-direction: row; align-items: center; }
  .cfg-opt-card::before { top: 50%; transform: translateY(-50%); left: 12px; }
  .cfg-opt-icon { margin-bottom: 0; margin-right: 12px; }
  .cfg-opt-name { flex: 1; }
  .cfg-opt-price { margin-top: 0; margin-left: 12px; }
}

/* Lock body scroll when modal open */
body.cfg-locked { overflow: hidden; }
/* Hide Bink booking widget while configurator is open (avoids overlap with options) */
body.cfg-locked button[style*="position:fixed"]:not(.cfg-close):not(.cfg-cta):not(.cfg-email-close):not(.cfg-email-back),
body.cfg-locked button[style*="position: fixed"]:not(.cfg-close):not(.cfg-cta):not(.cfg-email-close):not(.cfg-email-back),
body.cfg-locked > div[style*="position:fixed"],
body.cfg-locked > div[style*="position: fixed"],
body.cfg-locked [class*="bink" i],
body.cfg-locked [id*="bink" i],
body.cfg-locked [class*="binatomy" i],
body.cfg-locked [id*="binatomy" i],
body.cfg-locked iframe[src*="binatomy.link"] { display: none !important; pointer-events: none !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;
  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;
  background: #fff; color: var(--charcoal);
  font-size: 14.5px; font-weight: 600; line-height: 1; white-space: nowrap;
  padding: 14px 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::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); }
}
body.cfg-locked .wa-float { display: none !important; }
@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: 1000px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
}
/* ...e a quella larghezza il menu mobile non sta più centrato in verticale */
@media (max-width: 1000px) {
  .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; }
}
