/* ================================================
   CUSTOM PROPERTIES — Palette colori e tipografia
   Usate come variabili CSS in tutto il file
================================================ */
:root {
  --color-graphite: #1D2430;
  --color-steel: #506072;
  --color-silver: #D5D0C8;
  --color-amber: #BA7C4E;
  --color-amber-light: #D09569;
  --color-ivory: #F7F3EE;
  --color-charcoal-text: #2C3138;

  --font-heading: 'Space Grotesk', 'Inter', sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  --container-max: 1200px;
  --container-padding: clamp(1rem, 4vw, 2rem);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.07);
  --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.14);
  --shadow-amber: 0 6px 24px rgba(217, 140, 61, 0.35);

  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;
}

/* ================================================
   RESET & BASE — azzeramento margini e box-sizing
================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--color-charcoal-text);
  background-color: var(--color-ivory);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

button {
  font-family: inherit;
}

/* ================================================
   UTILITY CLASSES — container, titoli, bottoni
================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Etichetta piccola sopra i titoli di sezione */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-amber);
  margin-bottom: 0.75rem;
}

/* Titolo principale di ogni sezione */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-graphite);
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* Sottotitolo descrittivo sotto il titolo sezione */
.section-subtitle {
  font-size: 1.05rem;
  color: #666;
  line-height: 1.7;
  max-width: 600px;
}

/* ================================================
   BOTTONI — varianti primary e secondary
================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition-base),
              border-color var(--transition-base),
              transform var(--transition-base),
              box-shadow var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-amber);
  color: #fff;
  border-color: var(--color-amber);
}

.btn-primary:hover {
  background: var(--color-amber-light);
  border-color: var(--color-amber-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-amber);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

/* Bottone che occupa tutta la larghezza disponibile */
.btn-full {
  width: 100%;
}

/* ================================================
   ANIMAZIONI FADE-IN — Intersection Observer
   La classe .visible viene aggiunta via JS
================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   NAVBAR — sticky top, trasparente poi bianca
================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background var(--transition-base),
              box-shadow var(--transition-base),
              padding var(--transition-base);
}

/* Stato dopo 80px di scroll: sfondo bianco con ombra */
.navbar.scrolled {
  background: #ffffff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 0.875rem 0;
}

.navbar-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo testuale in Space Grotesk */
.navbar-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-ivory);
  transition: color var(--transition-base);
  flex-shrink: 0;
}

.navbar.scrolled .navbar-logo {
  color: var(--color-graphite);
}

/* Contenitore link navigazione */
.navbar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Link singolo della navbar */
.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-charcoal-text);
  transition: color var(--transition-base);
  position: relative;
}

/* Sottolineatura animata all'hover */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-amber);
  transition: width var(--transition-base);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--color-amber);
}

.navbar.scrolled .nav-link {
  color: var(--color-charcoal-text);
}

.navbar.scrolled .nav-link:hover {
  color: var(--color-amber);
}

/* Pulsante CTA nella navbar */
.nav-cta {
  display: inline-block;
  background: var(--color-amber);
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background var(--transition-base),
              transform var(--transition-base),
              box-shadow var(--transition-base);
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--color-amber-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-amber);
}

/* ================================================
   HAMBURGER — visibile solo sotto 768px
================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1100;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.navbar.scrolled .hamburger span {
  background: var(--color-graphite);
}

/* Animazione hamburger → X quando aperto */
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Bottone X per chiudere il menu mobile — nascosto su desktop */
.nav-close {
  display: none;
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--color-amber);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

/* ================================================
   HERO — fullscreen, canvas Three.js in background
================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-graphite);
  overflow: hidden;
}

/* Canvas Three.js posizionato in background */
#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
}

/* Contenuto testuale sopra il canvas */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #ffffff;
  max-width: 820px;
  padding: 2rem var(--container-padding);
}

/* Etichetta sopra il titolo hero */
.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-amber);
  margin-bottom: 1.25rem;
}

/* Titolo H1 principale del sito */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

/* Sottotitolo descrittivo nel hero */
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2.5rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Contenitore dei due bottoni del hero */
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================================
   SEZIONE VANTAGGI — 4 card con icone SVG
================================================ */
.vantaggi {
  padding: 100px 0;
  background: var(--color-ivory);
}

/* Griglia a 4 colonne su desktop */
.vantaggi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 0;
}

/* Singola card vantaggio */
.vantaggio-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 2.5rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(217, 140, 61, 0.1);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.vantaggio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

/* Wrapper icona SVG */
.vantaggio-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  color: var(--color-amber);
}

.vantaggio-icon svg {
  width: 100%;
  height: 100%;
}

.vantaggio-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-graphite);
  margin-bottom: 0.75rem;
}

.vantaggio-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.65;
}

/* ================================================
   SEZIONE CHI SIAMO — due colonne con parallax
================================================ */
.chi-siamo {
  padding: 100px 0;
  background: var(--color-silver);
}

/* Layout due colonne: testo sinistra, immagine destra */
.chi-siamo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.chi-siamo-text .section-title {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.chi-siamo-text p {
  font-size: 1rem;
  color: #555;
  line-height: 1.82;
  margin-bottom: 1.25rem;
}

.chi-siamo-text .btn {
  margin-top: 0.5rem;
}

/* Wrapper immagine con overflow nascosto per parallax pulito */
.chi-siamo-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.chi-siamo-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  will-change: transform;
}

.chi-siamo-image:hover img {
  transform: scale(1.03);
}

/* ================================================
   SEZIONE PRODOTTI — griglia 4/2/1 colonne
================================================ */
.prodotti {
  padding: 100px 0;
  background: var(--color-ivory);
}

/* Griglia a 4 colonne su desktop */
.prodotti-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

/* Singola card prodotto con tilt 3D via JS */
.prodotto-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: box-shadow var(--transition-base), transform 0.1s ease;
  transform-style: preserve-3d;
  will-change: transform;
  position: relative; /* Necessario per il .card-shine absolute */
}

.prodotto-card:hover {
  box-shadow: var(--shadow-medium);
}

/* Wrapper immagine prodotto — altezza fissa con overflow */
.prodotto-img-wrapper {
  overflow: hidden;
  height: 340px;
}

.prodotto-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.prodotto-card:hover .prodotto-img-wrapper img {
  transform: scale(1.07);
}

/* Area di testo della card prodotto */
.prodotto-content {
  padding: 2rem;
}

.prodotto-content h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-graphite);
  margin-bottom: 0.85rem;
}

.prodotto-content p {
  font-size: 0.98rem;
  color: #666;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.prodotto-content ul {
  margin-bottom: 1.25rem;
}

/* Bullet point personalizzato con segno di spunta oro */
.prodotto-content ul li {
  font-size: 0.84rem;
  color: #666;
  padding: 0.2rem 0 0.2rem 1.2rem;
  position: relative;
  line-height: 1.5;
}

.prodotto-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-amber);
  font-weight: 700;
  font-size: 0.85rem;
}

/* Pulsante WhatsApp dentro la card prodotto */
.btn-wa-prodotto {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.25rem;
  background: transparent;
  border: 1.5px solid var(--color-amber);
  color: var(--color-amber);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-base),
              color var(--transition-base),
              transform var(--transition-fast);
}

.btn-wa-prodotto:hover {
  background: var(--color-amber);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ================================================
   SEZIONE SHOWROOM CTA — sfondo scuro centrato
================================================ */
.showroom-cta {
  padding: 100px 0;
  background: var(--color-graphite);
}

.showroom-content {
  text-align: center;
}

.showroom-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.showroom-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

/* Bottone WhatsApp nella sezione showroom */
.btn-whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: #25D366;
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  transition: background var(--transition-base),
              transform var(--transition-base),
              box-shadow var(--transition-base);
}

.btn-whatsapp-cta:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
}

/* ================================================
   SEZIONE PERCHÉ NOI — 4 step numerati
================================================ */
.perche-noi {
  padding: 100px 0;
  background: var(--color-silver);
}

/* Griglia a 4 colonne con linea di connessione */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

/* Linea orizzontale che collega i cerchi numerati */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 2.45rem;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(to right, var(--color-amber), var(--color-amber-light));
  z-index: 0;
  pointer-events: none;
}

/* Singolo step */
.step-card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 0.75rem;
}

/* Cerchio numerato dorato */
.step-number {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--color-amber);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-amber);
  transition: transform var(--transition-base);
}

.step-card:hover .step-number {
  transform: scale(1.08);
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-graphite);
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.65;
}

/* ================================================
   SEZIONE CONTATTI — form + dati + mappa
================================================ */
.contatti {
  padding: 100px 0;
  background: var(--color-ivory);
}

/* Layout due colonne: form a sinistra, info a destra */
.contatti-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* Wrapper del form */
.contatti-form-wrapper {
  /* Nessuno stile aggiuntivo necessario */
}

/* Form di contatto */
#preventivo-form {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* Gruppo campo + etichetta */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-graphite);
  margin-bottom: 0.5rem;
}

/* Stile comune per input, select, textarea */
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid #ddd;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--color-charcoal-text);
  background: var(--color-ivory);
  transition: border-color var(--transition-base), background var(--transition-base);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

/* Freccia custom per il select */
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Focus: bordo oro */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-amber);
  background: #ffffff;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Checkbox con label inline */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-amber);
  cursor: pointer;
}

.form-checkbox label {
  margin-bottom: 0;
  font-size: 0.8rem;
  font-weight: 400;
  color: #666;
  cursor: pointer;
  line-height: 1.5;
}

/* Messaggio di conferma post-submit */
.form-success {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 3.5rem 2rem;
  text-align: center;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #22c55e;
  color: #ffffff;
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-weight: 700;
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-graphite);
  margin-bottom: 0.5rem;
}

.form-success p {
  color: #666;
  font-size: 1rem;
}

/* Blocco informazioni aziendali */
.contatti-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-block h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-graphite);
  margin-bottom: 1rem;
}

/* Singola riga info (icona + testo) */
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

.info-item svg {
  flex-shrink: 0;
  color: var(--color-amber);
  margin-top: 2px;
}

/* Wrapper iframe Google Maps */
.mappa-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  line-height: 0;
}

/* ================================================
   FOOTER — sfondo scuro, 3 colonne
================================================ */
.footer {
  background: var(--color-graphite);
  color: rgba(255, 255, 255, 0.68);
  padding: 5rem 0 0;
}

/* Layout 3 colonne: brand (2fr), navigazione (1fr), contatti (1fr) */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Logo footer in Space Grotesk */
.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-ivory);
  margin-bottom: 1rem;
}

.footer-col p {
  font-size: 0.875rem;
  line-height: 1.75;
  margin-bottom: 0.5rem;
}

/* Copyright in fondo alla prima colonna */
.footer-copy {
  margin-top: 1.75rem !important;
  font-size: 0.78rem !important;
  color: rgba(255, 255, 255, 0.35) !important;
}

/* Titoli delle colonne footer */
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-amber);
  margin-bottom: 1.25rem;
}

.footer-col ul li {
  margin-bottom: 0.65rem;
}

.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.62);
  transition: color var(--transition-base);
}

.footer-col ul a:hover {
  color: var(--color-amber);
}

.footer-col address p {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.62);
}

/* Riga credito Anvira Marketing */
.footer-credit {
  text-align: center;
  padding: 1.25rem 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-credit strong {
  color: var(--color-amber);
  font-weight: 600;
}

/* ================================================
   BOTTONE WHATSAPP FLOTTANTE — fisso bottom-right
   Pulse CSS continua, tooltip al hover
================================================ */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  animation: pulse-wa 2.5s ease-in-out infinite;
  transition: transform var(--transition-base), animation-play-state var(--transition-base);
}

.wa-float:hover {
  transform: scale(1.1);
  animation-play-state: paused;
}

/* Tooltip visibile all'hover */
.wa-tooltip {
  position: absolute;
  right: 74px;
  background: var(--color-graphite);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

/* Freccia del tooltip */
.wa-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--color-graphite);
  border-right: 0;
}

.wa-float:hover .wa-tooltip {
  opacity: 1;
}

/* Animazione pulse — espansione e contrazione dell'ombra */
@keyframes pulse-wa {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5),
                0 0 0 14px rgba(37, 211, 102, 0.12);
  }
}

/* ================================================
   RESPONSIVE — TABLET (768px – 1024px)
================================================ */
@media (max-width: 1024px) {
  /* Vantaggi: 2 colonne su tablet */
  .vantaggi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Prodotti: 2 colonne su tablet */
  .prodotti-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Chi siamo: colonna singola su tablet */
  .chi-siamo-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .chi-siamo-image img {
    height: 380px;
  }

  /* Perché noi: 2 colonne su tablet, nascondo la linea */
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .steps-grid::before {
    display: none;
  }

  /* Contatti: colonna singola su tablet */
  .contatti-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Footer: 2 colonne su tablet */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  /* La prima colonna del footer occupa tutta la riga */
  .footer-grid .footer-col:first-child {
    grid-column: 1 / -1;
  }
}

/* ================================================
   RESPONSIVE — MOBILE (sotto 768px)
================================================ */
@media (max-width: 768px) {
  /* Hamburger visibile su mobile */
  .hamburger {
    display: flex;
  }

  /* Menu mobile: overlay laterale che scorre da destra */
  .navbar-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--color-graphite);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2rem;
    gap: 0;
    z-index: 1050;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
  }

  .navbar-links.open {
    right: 0;
  }

  /* Bottone X visibile nel menu mobile */
  .nav-close {
    display: block;
  }

  .nav-link {
    width: 100%;
    padding: 0.95rem 0;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    margin-top: 1.5rem;
    width: 100%;
    text-align: center;
    padding: 0.85rem;
  }

  /* Hero mobile: testo centrato */
  .hero-content {
    text-align: center;
    padding: 2rem 1.25rem;
  }

  /* Bottoni hero impilati su mobile */
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 320px;
  }

  /* Vantaggi: 1 colonna su mobile */
  .vantaggi-grid {
    grid-template-columns: 1fr;
  }

  /* Prodotti: 1 colonna su mobile */
  .prodotti-grid {
    grid-template-columns: 1fr;
  }

  .prodotto-img-wrapper {
    height: 260px;
  }

  /* Perché noi: 1 colonna su mobile */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Footer: 1 colonna su mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid .footer-col:first-child {
    grid-column: auto;
  }

  /* Riduzione padding sezioni su mobile */
  .vantaggi,
  .chi-siamo,
  .prodotti,
  .showroom-cta,
  .perche-noi {
    padding: 70px 0;
  }

  .contatti {
    padding: 70px 0;
  }

  /* Form più compatto su mobile */
  #preventivo-form {
    padding: 1.75rem 1.25rem;
  }

  /* Mappa meno alta su mobile */
  .mappa-wrapper iframe {
    height: 220px;
  }

  /* WhatsApp flottante leggermente più in basso su mobile */
  .wa-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
  }

  /* Nascondo il tooltip su mobile (touch non ha hover) */
  .wa-tooltip {
    display: none;
  }
}

/* ================================================
   BLOCCO 2 — FLIP 3D CARD VANTAGGI
   Override degli stili originali della card per
   supportare la struttura flip fronte/retro.
================================================ */

/* La card diventa il contenitore prospettico */
.vantaggio-card {
  perspective: 1000px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

/* Disabilita l'hover originale (translateY) — il flip gestisce l'interazione */
.vantaggio-card:hover {
  transform: none;
  box-shadow: none;
}

/* Contenitore interno che ruota attorno all'asse Y */
.card-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}

/* Stile comune a fronte e retro */
.card-flip-front,
.card-flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Fronte: stile identico alla card originale */
.card-flip-front {
  background: #ffffff;
  border: 1px solid rgba(217, 140, 61, 0.1);
  box-shadow: var(--shadow-soft);
}

/* Retro: sfondo scuro con bordo oro */
.card-flip-back {
  background: var(--color-graphite);
  color: var(--color-ivory);
  transform: rotateY(180deg); /* Posizionato al rovescio, ruota al posto del fronte */
  border: 1px solid var(--color-amber);
  box-shadow: 0 8px 30px rgba(217, 140, 61, 0.2);
}

.card-flip-back h3 {
  color: var(--color-amber);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.card-flip-back p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(245, 240, 232, 0.85);
  margin-bottom: 1.5rem;
}

/* Bottone CTA sul retro della card */
.btn-flip {
  display: inline-block;
  background: var(--color-amber);
  color: #ffffff;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-flip:hover {
  background: var(--color-amber-light);
}

/* ================================================
   BLOCCO 3 — SHINE RADIALE SULLE CARD PRODOTTO
   Overlay di luce che segue il cursore sul tilt 3D
================================================ */

/* Overlay riflesso: assoluto, copre tutta la card */
.card-shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none; /* Non intercetta i click */
  z-index: 2;
  transition: background 0.15s ease;
}

/* ================================================
   BLOCCO 4 — STEP CARD 3D EXTRUDE
   Transizioni per l'effetto di sollevamento 3D
   e il numero che si espande in profondità
================================================ */

/* Aggiunge transizioni alle step card per l'effetto extrude via JS */
.step-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
}

/* Numero dello step come inline-flex per supportare translateZ */
.step-number {
  transition: transform 0.4s ease, text-shadow 0.4s ease;
}

/* ================================================
   BLOCCO 5 — PARALLAX 3D SHOWROOM CTA
   Consente la rotazione 3D dell'intera sezione
   e il movimento differenziale degli elementi
================================================ */

/* Abilita la prospettiva 3D sulla sezione */
.showroom-cta {
  transform-style: preserve-3d;
  overflow: hidden; /* Nasconde elementi che escono dai bordi durante la rotazione */
}

/* Ottimizzazione GPU per gli elementi animati via JS */
.showroom-content h2,
.showroom-content p,
.btn-whatsapp-cta {
  will-change: transform;
}

/* ================================================
   BLOCCO 6 — COUNTER STATISTICHE CHI SIAMO
   Stile per la riga di numeri animati inserita
   dinamicamente nel testo della sezione
================================================ */

/* Contenitore orizzontale delle 3 statistiche */
.stats-row {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

/* Singola statistica */
.stat-item {
  text-align: center;
  min-width: 100px;
}

/* Numero grande in Space Grotesk oro */
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-amber);
  line-height: 1;
  display: block;
}

/* Etichetta sotto il numero */
.stat-label {
  font-size: 0.78rem;
  color: var(--color-charcoal-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.4rem;
  display: block;
  line-height: 1.4;
}

/* ================================================
   RESPONSIVE MOBILE — OVERRIDE ANIMAZIONI 3D
   Disabilita flip, shine e tilt su mobile
   per performance e usabilità touch
================================================ */
@media (max-width: 768px) {
  /* FLIP VANTAGGI: disabilitato su mobile — mostra solo il fronte */
  .vantaggio-card {
    perspective: none;
    background: #ffffff;
    border: 1px solid rgba(217, 140, 61, 0.1);
    box-shadow: var(--shadow-soft);
    padding: 2.5rem 1.75rem;
  }

  /* Blocca qualsiasi rotazione sul contenitore interno */
  .card-flip-inner {
    transform: none !important;
    transform-style: flat;
    min-height: 0;
  }

  /* Il fronte diventa position:relative per altezza naturale */
  .card-flip-front {
    position: relative;
    height: auto;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  /* Nasconde il retro completamente su mobile */
  .card-flip-back {
    display: none;
  }

  /* STEP 3D EXTRUDE: nessuna trasformazione su mobile */
  .step-card {
    transform: none !important;
    box-shadow: none !important;
  }

  /* STATISTICHE: compatte su mobile */
  .stats-row {
    gap: 1.25rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  /* SHINE: non rilevante su mobile (touch), assicura trasparenza */
  .card-shine {
    display: none;
  }

  /* SHOWROOM PARALLAX: disabilitato su mobile per performance */
  .showroom-cta {
    transform: none !important;
    transform-style: flat;
  }

  .showroom-content h2,
  .showroom-content p,
  .btn-whatsapp-cta {
    transform: none !important;
    will-change: auto;
  }
}

/* ================================================================
   FI SERRAMENTI — STILI AGGIUNTIVI
================================================================ */

/* NAVBAR — logo immagine, telefono, link attivo, dropdown */
.navbar-logo img { height: 46px; width: auto; display: block; transition: opacity var(--transition-base); }
.navbar-phone { display: none; }
.navbar-phone a { font-family: var(--font-sans); font-size: 0.9rem; font-weight: 700; color: rgba(255,255,255,0.9); letter-spacing: 0.02em; transition: color var(--transition-base); }
.navbar.scrolled .navbar-phone a { color: var(--color-graphite); }
.nav-link.active { color: var(--color-amber); }
.nav-link.active::after { width: 100%; }
.navbar.scrolled .nav-link.active { color: var(--color-amber); }
.nav-dropdown-wrapper { position: relative; }
.nav-dropdown { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(-8px); background: #ffffff; border-radius: var(--radius-md); box-shadow: var(--shadow-medium); min-width: 260px; padding: 0.5rem 0; opacity: 0; visibility: hidden; transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base); z-index: 500; pointer-events: none; }
.nav-dropdown-wrapper:hover .nav-dropdown, .nav-dropdown.open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.nav-dropdown a { display: block; padding: 0.65rem 1.5rem; font-family: var(--font-sans); font-size: 0.875rem; font-weight: 500; color: var(--color-charcoal-text); transition: color var(--transition-fast), background var(--transition-fast); }
.nav-dropdown a:hover { color: var(--color-amber); background: var(--color-ivory); }

/* HERO FOTOGRAFICO */
.hero-photo { background-image: url('../img/hero-serramenti-casa-blindo-di-rossi-giulio-rieti.jpg'); background-size: cover; background-position: center 30%; }
.hero-photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(150deg, rgba(30,33,36,0.82) 0%, rgba(30,33,36,0.68) 60%, rgba(30,33,36,0.55) 100%); z-index: 2; }
.hero-photo .hero-content { z-index: 10; position: relative; }
@keyframes heroPan { 0%,100% { background-position: center 30%; } 50% { background-position: center 40%; } }
@media (prefers-reduced-motion: no-preference) { .hero-photo { animation: heroPan 20s ease-in-out infinite; } }
.hero-badges { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.hero-badge { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22); color: rgba(255,255,255,0.88); padding: 0.35rem 1rem; border-radius: 100px; font-family: var(--font-sans); font-size: 0.77rem; font-weight: 600; letter-spacing: 0.05em; white-space: nowrap; backdrop-filter: blur(6px); }

/* HERO BANNER — pagine interne */
.hero-banner { padding: 110px 0 56px; background: var(--color-graphite); text-align: center; color: #ffffff; position: relative; overflow: hidden; }
.hero-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 40%, rgba(217,140,61,0.12) 0%, transparent 70%); z-index: 0; }
.hero-banner .container { position: relative; z-index: 1; }
.hero-banner .hero-eyebrow { display: block; margin-bottom: 0.75rem; }
.hero-banner h1 { font-family: var(--font-heading); font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; color: #ffffff; }
.hero-banner p { font-size: 1.05rem; color: rgba(255,255,255,0.75); line-height: 1.7; max-width: 640px; margin: 0 auto; }

/* BREADCRUMB */
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem; font-family: var(--font-sans); font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-bottom: 1.25rem; justify-content: center; }
.breadcrumb a { color: rgba(255,255,255,0.6); transition: color var(--transition-fast); }
.breadcrumb a:hover { color: var(--color-amber); }
.breadcrumb span { color: rgba(255,255,255,0.35); }
.breadcrumb .breadcrumb-current { color: var(--color-amber); font-weight: 600; }

/* PRIMA/DOPO */
.prima-dopo { padding: 100px 0; background: var(--color-graphite); color: #ffffff; }
.prima-dopo .section-title { color: #ffffff; }
.prima-dopo .section-subtitle { color: rgba(255,255,255,0.68); text-align: center; margin: 0 auto 3.5rem; }
.prima-dopo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.prima-dopo-col { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 2.5rem 2rem; }
.prima-dopo-col.dopo { background: rgba(217,140,61,0.08); border-color: rgba(217,140,61,0.3); }
.prima-dopo-col h3 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem; color: rgba(255,255,255,0.75); }
.prima-dopo-col.dopo h3 { color: var(--color-amber); }
.prima-dopo-col ul { display: flex; flex-direction: column; gap: 0.85rem; }
.prima-dopo-col ul li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.95rem; line-height: 1.55; color: rgba(255,255,255,0.7); }
.prima-dopo-col ul li::before { content: '\2717'; color: #e05555; font-weight: 700; font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.prima-dopo-col.dopo ul li { color: rgba(255,255,255,0.85); }
.prima-dopo-col.dopo ul li::before { content: '\2713'; color: var(--color-amber); }
.prima-dopo-cta { text-align: center; margin-top: 3.5rem; }

/* BANDA CTA */
.banda-cta { padding: 80px 0; background: var(--color-silver); text-align: center; }
.banda-cta h2 { font-family: var(--font-heading); font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; color: var(--color-graphite); margin-bottom: 1rem; }
.banda-cta p { color: #666; font-size: 0.9rem; margin-top: 1.25rem; letter-spacing: 0.03em; }
.banda-cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.btn-whatsapp { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.875rem 2rem; background: #25D366; color: #ffffff; border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: 0.825rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; transition: background var(--transition-base), transform var(--transition-base); border: 2px solid #25D366; cursor: pointer; text-decoration: none; }
.btn-whatsapp:hover { background: #1ebe5d; border-color: #1ebe5d; transform: translateY(-2px); }
.btn-call { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.875rem 2rem; background: transparent; color: var(--color-graphite); border: 2px solid var(--color-graphite); border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: 0.825rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; transition: background var(--transition-base), color var(--transition-base), transform var(--transition-base); cursor: pointer; text-decoration: none; }
.btn-call:hover { background: var(--color-graphite); color: #ffffff; transform: translateY(-2px); }

/* GALLERIA */
.galleria { padding: 100px 0; background: var(--color-ivory); }
.galleria-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.galleria-item { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 4/3; position: relative; }
.galleria-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.galleria-item:hover img { transform: scale(1.06); }
.galleria-item-overlay { position: absolute; inset: 0; background: rgba(30,33,36,0.65); display: flex; align-items: flex-end; padding: 1.25rem; opacity: 0; transition: opacity var(--transition-base); }
.galleria-item:hover .galleria-item-overlay { opacity: 1; }
.galleria-item-overlay span { font-family: var(--font-sans); font-size: 0.85rem; font-weight: 600; color: #ffffff; letter-spacing: 0.04em; }

/* FAQ ACCORDION */
.faq { padding: 100px 0; background: var(--color-silver); }
.faq-mini { padding: 80px 0; background: var(--color-ivory); }
.faq-list { max-width: 780px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: #ffffff; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); border: 1px solid rgba(217,140,61,0.08); overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.35rem 1.75rem; background: transparent; border: none; cursor: pointer; text-align: left; font-family: var(--font-sans); font-size: 1rem; font-weight: 600; color: var(--color-graphite); transition: color var(--transition-fast); }
.faq-question:hover { color: var(--color-amber); }
.faq-question:focus-visible { outline: 2px solid var(--color-amber); outline-offset: -2px; }
.faq-icon { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--color-amber); color: #ffffff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700; line-height: 1; transition: transform var(--transition-base), background var(--transition-base); }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--color-graphite); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding var(--transition-base); padding: 0 1.75rem; }
.faq-item.open .faq-answer { padding: 0 1.75rem 1.35rem; }
.faq-answer p { font-size: 0.95rem; color: #555; line-height: 1.75; }

/* DETTAGLIO SERVIZIO */
.servizio-detail { padding: 80px 0 100px; background: var(--color-ivory); }
.servizio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-bottom: 4rem; }
.servizio-text .section-title { margin-top: 0.5rem; margin-bottom: 1.5rem; }
.servizio-text p { font-size: 1rem; color: #555; line-height: 1.82; margin-bottom: 1.25rem; }
.servizio-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-medium); }
.servizio-image img { width: 100%; height: 420px; object-fit: cover; display: block; transition: transform 0.5s ease; }
.servizio-image:hover img { transform: scale(1.03); }
.servizio-bullets { background: #ffffff; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); padding: 2.25rem 2rem; margin-bottom: 2rem; }
.servizio-bullets h3 { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--color-graphite); margin-bottom: 1.25rem; }
.servizio-bullets ul { display: flex; flex-direction: column; gap: 0.75rem; }
.servizio-bullets ul li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.95rem; color: #555; line-height: 1.55; }
.servizio-bullets ul li::before { content: '\2713'; color: var(--color-amber); font-weight: 700; font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.servizio-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* PAGINA CONTATTI */
.action-buttons { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-bottom: 3.5rem; }
.btn-action { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.875rem 1.75rem; background: #ffffff; color: var(--color-graphite); border: 2px solid var(--color-silver); border-radius: var(--radius-md); font-family: var(--font-sans); font-size: 0.875rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-fast); }
.btn-action:hover { border-color: var(--color-amber); box-shadow: var(--shadow-amber); transform: translateY(-2px); }
.btn-action.btn-action-wa { background: #25D366; color: #ffffff; border-color: #25D366; }
.btn-action.btn-action-wa:hover { background: #1ebe5d; border-color: #1ebe5d; }
.btn-action.btn-action-call { background: var(--color-amber); color: #ffffff; border-color: var(--color-amber); }
.btn-action.btn-action-call:hover { background: var(--color-amber-light); border-color: var(--color-amber-light); }
.mappa-privacy { background: var(--color-silver); border-radius: var(--radius-md); padding: 2rem; text-align: center; border: 1px solid rgba(217,140,61,0.15); }
.mappa-privacy h4 { font-family: var(--font-heading); font-size: 1.1rem; color: var(--color-graphite); margin-bottom: 0.5rem; }
.mappa-privacy p { font-size: 0.875rem; color: #666; margin-bottom: 1.25rem; line-height: 1.6; }
.sedi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.sede-card { background: #ffffff; border-radius: var(--radius-md); padding: 2rem; box-shadow: var(--shadow-soft); border: 1px solid rgba(217,140,61,0.1); }
.sede-card h3 { font-family: var(--font-heading); font-size: 1.15rem; color: var(--color-graphite); margin-bottom: 1rem; }

/* FOOTER LEGALE */
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 0.75rem; }
.footer-legal a { font-size: 0.8rem; color: rgba(255,255,255,0.45); transition: color var(--transition-fast); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal a:hover { color: var(--color-amber); }

/* COOKIE BANNER */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 10000; background: var(--color-graphite); color: rgba(255,255,255,0.85); padding: 1.5rem var(--container-padding); box-shadow: 0 -4px 30px rgba(0,0,0,0.3); display: none; }
.cookie-banner.visible { display: block; }
.cookie-banner-inner { max-width: var(--container-max); margin: 0 auto; display: flex; align-items: flex-start; gap: 2rem; flex-wrap: wrap; }
.cookie-banner-text { flex: 1; min-width: 280px; }
.cookie-banner-text p { font-size: 0.875rem; line-height: 1.65; margin-bottom: 0.4rem; }
.cookie-banner-text a { color: var(--color-amber); text-decoration: underline; }
.cookie-banner-buttons { display: flex; gap: 0.75rem; flex-shrink: 0; align-items: center; flex-wrap: wrap; }
.btn-cookie { padding: 0.6rem 1.4rem; border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: 0.82rem; font-weight: 600; cursor: pointer; border: 2px solid transparent; transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-fast); white-space: nowrap; }
.btn-cookie-accept { background: var(--color-amber); color: #ffffff; border-color: var(--color-amber); }
.btn-cookie-accept:hover { background: var(--color-amber-light); border-color: var(--color-amber-light); transform: translateY(-1px); }
.btn-cookie-reject { background: transparent; color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.25); }
.btn-cookie-reject:hover { border-color: rgba(255,255,255,0.6); color: #ffffff; }
.btn-cookie-customize { background: transparent; color: rgba(255,255,255,0.6); border-color: transparent; text-decoration: underline; padding-left: 0; padding-right: 0; }
.btn-cookie-customize:hover { color: var(--color-amber); }

/* ANTEPRIMA REALIZZAZIONI (Home) */
.realizzazioni-anteprima { padding: 100px 0; background: var(--color-silver); }
.realizzazioni-anteprima-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; margin-bottom: 3rem; }

/* PAGINE LEGALI */
.legal-page { padding: 80px 0 100px; background: var(--color-ivory); }
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h1 { font-family: var(--font-heading); font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--color-graphite); margin-bottom: 0.5rem; }
.legal-content .update-date { font-size: 0.85rem; color: #888; margin-bottom: 3rem; display: block; }
.legal-content h2 { font-family: var(--font-heading); font-size: 1.35rem; color: var(--color-graphite); margin-top: 2.5rem; margin-bottom: 0.85rem; }
.legal-content p, .legal-content li { font-size: 0.95rem; color: #555; line-height: 1.8; margin-bottom: 0.75rem; }
.legal-content ul { padding-left: 1.5rem; }
.legal-content ul li { list-style: disc; margin-bottom: 0.5rem; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.875rem; }
.legal-content th, .legal-content td { padding: 0.75rem 1rem; border: 1px solid var(--color-silver); text-align: left; color: #555; vertical-align: top; }
.legal-content th { background: var(--color-silver); font-weight: 600; color: var(--color-graphite); }

/* RESPONSIVE AGGIUNTIVI */
@media (min-width: 768px) { .navbar-phone { display: flex; align-items: center; } }

@media (max-width: 1024px) {
  .prima-dopo-grid { grid-template-columns: 1fr; gap: 2rem; }
  .servizio-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .sedi-grid { grid-template-columns: 1fr; }
  .galleria-grid, .realizzazioni-anteprima-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .navbar-phone { display: none; }
  .nav-dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; background: rgba(255,255,255,0.06); border-radius: var(--radius-sm); padding: 0.25rem 0; max-height: 0; overflow: hidden; transition: max-height 0.35s ease; pointer-events: none; min-width: 0; }
  .nav-dropdown.open { max-height: 400px; pointer-events: auto; transform: none; }
  .nav-dropdown a { color: rgba(255,255,255,0.75); padding: 0.55rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 0.9rem; }
  .hero-banner { padding: 90px 0 44px; }
  .prima-dopo { padding: 70px 0; }
  .prima-dopo-col { padding: 1.75rem 1.25rem; }
  .banda-cta { padding: 60px 0; }
  .banda-cta-buttons { flex-direction: column; align-items: center; }
  .banda-cta-buttons .btn, .banda-cta-buttons .btn-whatsapp, .banda-cta-buttons .btn-call { width: 100%; max-width: 320px; justify-content: center; }
  .galleria-grid, .realizzazioni-anteprima-grid { grid-template-columns: 1fr; }
  .faq { padding: 70px 0; }
  .servizio-detail { padding: 60px 0 80px; }
  .servizio-image img { height: 280px; }
  .action-buttons { flex-direction: column; align-items: center; }
  .action-buttons .btn-action { width: 100%; max-width: 320px; justify-content: center; }
  .cookie-banner-inner { flex-direction: column; gap: 1.25rem; }
  .cookie-banner-buttons { justify-content: flex-start; }
}

/* ================================================
   COOKIE MODAL — finestra impostazioni cookie
================================================ */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(30,33,36,0.7);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1rem;
}
.cookie-modal.visible { opacity: 1; }

.cookie-modal-inner {
  background: var(--color-ivory);
  border-radius: 12px;
  padding: 2rem;
  max-width: 520px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(30,33,36,0.4);
}
.cookie-modal-inner h2 {
  font-family: var(--font-heading);
  color: var(--color-graphite);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.cookie-modal-inner p {
  font-size: 0.9rem;
  color: var(--color-charcoal-text);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.cookie-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-charcoal-text);
  line-height: 1;
  padding: 0.25rem;
}
.cookie-modal-close:hover { color: var(--color-amber); }

.cookie-category {
  border-top: 1px solid var(--color-silver);
  padding: 0.875rem 0;
}
.cookie-switch-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--color-charcoal-text);
}
.cookie-switch-label span { flex: 1; }
.cookie-switch-label em { display: block; font-size: 0.8rem; color: #777; font-style: normal; }
.cookie-switch-label input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  accent-color: var(--color-amber);
  flex-shrink: 0;
  cursor: pointer;
}
.cookie-switch-label input[disabled] { opacity: 0.5; cursor: not-allowed; }

.cookie-modal-inner .btn-cookie-accept {
  margin-top: 1.5rem;
  width: 100%;
}

/* ================================================
   ALIAS CLASSI — compatibilità con markup HTML
================================================ */

/* chi-siamo: img-wrapper e img sono alias di chi-siamo-image */
.chi-siamo-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}
.chi-siamo-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* Placeholder visivo per dati da completare */
.placeholder-todo {
  background: #fff3cd;
  color: #856404;
  border: 1px dashed #ffc107;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.85em;
  font-weight: 600;
  font-style: italic;
}

/* footer-logo */
.footer-logo { margin-bottom: 1rem; display: block; }

/* navbar-phone: numero visibile in navbar */
.navbar-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-amber);
  text-decoration: none;
  margin-left: auto;
  margin-right: 1rem;
  white-space: nowrap;
}
.navbar-phone:hover { color: var(--color-amber-light); }
.navbar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}

@media (max-width: 767px) {
  .navbar-phone { display: none; }
  .chi-siamo-img { height: 280px; }
}

@media print { .navbar, .wa-float, .cookie-banner, .banda-cta, .hero-badges { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  .hero-photo { animation: none; }
  .wa-float { animation: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
