/* ============================================
   MAGNANI ASSEMBLAGGI — STYLE (TEMA CHIARO)
   Brand: Gold #C9A227 / Cream / Black accent
   ============================================ */

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #FFFFFF;
  color: #1A1A1A;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: inherit; }

/* ─── DESIGN TOKENS ─── */
:root {
  /* Brand */
  --gold: #C9A227;
  --gold-light: #E8B800;
  --gold-soft: #D4B547;
  --gold-pale: #F5E9C0;
  --gold-mist: #FAF3DC;
  /* Neutri scuri (solo accent / testi) */
  --black: #0F0F0F;
  --dark: #1C1C1C;
  --mid: #2D2D2D;
  --gray: #6B6B6B;
  --gray-light: #AEAEAE;
  /* Sfondi: bianco dominante + tocchi caldi della palette */
  --cream: #FFFFFF;
  --cream-warm: #FAF7EC;
  --cream-deep: #F5EFD8;
  --bg-light: #FAFAFA;
  --bg-soft: #F8F4E6;
  --border: #ECE7D8;
  --border-soft: #F2EFE5;
  --white: #FFFFFF;
  /* Misure */
  --radius: 10px;
  --radius-lg: 16px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --shadow-sm: 0 2px 8px rgba(28, 28, 28, 0.04);
  --shadow-md: 0 8px 32px rgba(28, 28, 28, 0.06);
  --shadow-lg: 0 20px 60px rgba(28, 28, 28, 0.08);
  --container: 1200px;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; line-height: 1.2; color: var(--black); }
h1 { font-size: clamp(42px, 5.5vw, 76px); font-weight: 900; letter-spacing: -0.5px; }
h2 { font-size: clamp(32px, 4vw, 48px); }
h3 { font-size: clamp(22px, 2.5vw, 28px); }
h4 { font-size: 20px; }
p { color: var(--gray); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }
/* Hero eyebrow: niente linea iniziale, parte dal bordo */
.hero .eyebrow::before { display: none; }
.hero .eyebrow { gap: 0; }

/* ─── LAYOUT ─── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.section { padding: 100px 0; background: var(--white); }
.section-sm { padding: 60px 0; }
.section-light { background: var(--bg-light); }
.section-warm { background: var(--cream-warm); }
.section-white { background: var(--white); }
/* Variante "accent" — sfondo dorato caldo con dettagli oro */
.section-accent {
  background: linear-gradient(180deg, var(--cream-warm) 0%, var(--cream-deep) 100%);
  position: relative;
}
.section-accent::before {
  content: ''; position: absolute;
  width: 600px; height: 600px;
  border: 1px solid rgba(201, 162, 39, 0.18);
  border-radius: 50%;
  top: 50%; right: -250px;
  transform: translateY(-50%);
  pointer-events: none;
}
.section-accent .container { position: relative; z-index: 1; }

.section-head { max-width: 720px; margin-bottom: 60px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 17px; margin-top: 16px; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 8px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.3px;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--black); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201, 162, 39, 0.3); }
.btn-secondary { background: transparent; color: var(--black); border: 1px solid var(--black); }
.btn-secondary:hover { background: var(--black); color: var(--white); }
.btn-outline { background: transparent; color: var(--black); border: 1px solid var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-arrow::after { content: '→'; font-size: 16px; transition: transform 0.25s var(--ease); }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ─── NAVBAR ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250, 250, 246, 0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-soft);
  padding: 0 56px;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  transition: height 0.3s var(--ease), padding 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.scrolled { height: 60px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04); }
.nav-logo { display: flex; align-items: center; gap: 14px; }
.nav-logo img { width: 42px; height: 42px; object-fit: contain; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-name { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: var(--black); letter-spacing: 2px; text-transform: uppercase; }
.nav-logo-sub { font-size: 9px; color: var(--gray); letter-spacing: 2.5px; text-transform: uppercase; margin-top: 3px; }

.nav-menu { display: flex; align-items: center; gap: 40px; list-style: none; }
.nav-menu a { font-size: 13px; font-weight: 500; color: var(--gray); letter-spacing: 0.3px; transition: color 0.2s; position: relative; }
.nav-menu a:hover, .nav-menu a.active { color: var(--black); }
.nav-menu a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px; background: var(--gold);
}
.nav-cta { background: var(--gold); color: var(--black); padding: 10px 22px; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; transition: all 0.2s; }
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); color: var(--black) !important; }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: transparent; }
.burger span { width: 24px; height: 2px; background: var(--black); border-radius: 2px; transition: 0.3s; }
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO (navy + gold cinematico, coerente con brochure) ─── */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
  background: #0F1830;
}
.hero .container {
  max-width: 100%;
  padding: 0 32px;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 1;
  /* Video più chiaro: desaturazione minima per coerenza navy */
  filter: saturate(0.85) contrast(1) brightness(1);
  animation: heroZoom 24s ease-in-out infinite alternate;
  transform-origin: center center;
}
@keyframes heroZoom {
  0%   { transform: scale(1.02); }
  100% { transform: scale(1.12); }
}
/* Overlay direzionale: forte sul testo (sx), aperto totalmente sul video (dx) */
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg,
      rgba(10, 18, 36, 0.88) 0%,
      rgba(10, 18, 36, 0.7) 30%,
      rgba(10, 18, 36, 0.4) 55%,
      rgba(10, 18, 36, 0.15) 80%,
      rgba(10, 18, 36, 0) 100%),
    linear-gradient(180deg,
      rgba(10, 18, 36, 0.3) 0%,
      transparent 25%,
      transparent 75%,
      rgba(10, 18, 36, 0.4) 100%);
  z-index: 1;
}
/* (rimosso il velo dorato a destra: dava un alone biancastro al primo caricamento) */
.hero-arc {
  position: absolute; right: -200px; top: 50%;
  width: 700px; height: 700px;
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transform: translateY(-50%) rotate(0deg);
  animation: arcRotate 60s linear infinite;
}
.hero-arc.inner {
  width: 500px; height: 500px;
  right: -100px;
  border-color: rgba(201, 162, 39, 0.4);
  animation: arcRotate 40s linear infinite reverse;
  border-style: dashed;
  border-dasharray: 8 12;
}
@keyframes arcRotate {
  from { transform: translateY(-50%) rotate(0deg); }
  to   { transform: translateY(-50%) rotate(360deg); }
}
/* Terzo arco minimal animato */
.hero-arc.dot {
  width: 320px; height: 320px;
  right: -40px;
  border: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 162, 39, 0.6) 0%, transparent 4%),
    radial-gradient(circle at 100% 50%, rgba(201, 162, 39, 0.6) 0%, transparent 4%),
    radial-gradient(circle at 50% 100%, rgba(201, 162, 39, 0.6) 0%, transparent 4%),
    radial-gradient(circle at 0% 50%, rgba(201, 162, 39, 0.6) 0%, transparent 4%);
  animation: arcRotate 25s linear infinite;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  padding-left: 0;
  margin: 0 auto; /* centra tutto il blocco hero */
  text-align: center;
}
.hero-content .eyebrow { justify-content: center; }
.hero-content .eyebrow::before { display: none; }
.hero-desc { margin-left: auto; margin-right: auto; }
.hero-cta { justify-content: center; }
.hero-social { justify-content: center; }
.hero h1 { color: var(--white); margin-bottom: 20px; text-shadow: 0 4px 32px rgba(0, 0, 0, 0.7), 0 1px 4px rgba(0, 0, 0, 0.4); }
.hero h1 em { font-style: normal; color: var(--gold-light); text-shadow: 0 4px 28px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.4); }
.hero-tagline { text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.4); }
.hero-desc { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5); }
.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 28px;
  letter-spacing: -0.3px;
  line-height: 1.3;
}
.hero-desc { font-size: 18px; font-weight: 300; color: rgba(255, 255, 255, 0.85); line-height: 1.7; margin-bottom: 40px; max-width: 560px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* Social icons in hero */
.hero-social {
  display: flex; gap: 12px;
  margin-top: 36px;
  align-items: center;
}
.hero-social-label {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-right: 8px;
  font-weight: 500;
}
.hero-social a {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: all 0.3s var(--ease);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}
.hero-social a:hover {
  transform: translateY(-4px) scale(1.08);
  filter: brightness(1.15) saturate(1.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 255, 255, 0.4);
}
.hero-social a svg { width: 18px; height: 18px; fill: currentColor; position: relative; z-index: 1; }

/* Colori naturali brand */
.hero-social a[aria-label="Instagram"],
.footer-social a[aria-label="Instagram"] {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: var(--white);
}
.hero-social a[aria-label="Facebook"],
.footer-social a[aria-label="Facebook"] {
  background: #1877F2;
  color: var(--white);
}
.hero-social a[aria-label="LinkedIn"],
.footer-social a[aria-label="LinkedIn"] {
  background: #0A66C2;
  color: var(--white);
}
.hero-social a[aria-label="TikTok"],
.footer-social a[aria-label="TikTok"] {
  background: #000000;
  color: var(--white);
}

.hero-stats {
  position: relative; z-index: 2;
  margin-top: 80px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  max-width: 900px;
}
/* Default stats: leggibili su sfondo chiaro */
.stat-num { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 900; color: var(--black); line-height: 1; margin-bottom: 8px; }
.stat-num span { color: var(--gold); }
.stat-label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gray); font-weight: 600; }

/* Override: stats DENTRO l'hero (sfondo scuro) */
.hero .hero-stats { border-top-color: rgba(255, 255, 255, 0.15); }
.hero .stat-num { color: var(--gold-light); }
.hero .stat-num span { color: var(--gold-light); }
.hero .stat-label { color: rgba(255, 255, 255, 0.6); font-weight: 500; }

/* Hero btn-secondary su sfondo scuro */
.hero .btn-secondary { color: var(--white); border-color: rgba(255, 255, 255, 0.3); }
.hero .btn-secondary:hover { background: var(--white); color: var(--black); border-color: var(--white); }

/* ─── PAGE HEADER (bianco con tocchi caldi) ─── */
.page-header {
  background: linear-gradient(180deg, var(--white) 0%, var(--cream-warm) 100%);
  color: var(--black);
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-header::before {
  content: ''; position: absolute;
  width: 600px; height: 600px;
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 50%;
  top: 50%; right: -250px;
  transform: translateY(-50%);
}
.page-header::after {
  content: ''; position: absolute;
  width: 400px; height: 400px;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 50%;
  top: 50%; right: -150px;
  transform: translateY(-50%);
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { color: var(--black); font-size: clamp(40px, 5vw, 64px); margin-bottom: 20px; }
.page-header p { color: var(--mid); font-size: 18px; max-width: 640px; }
.breadcrumb { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; font-weight: 600; }
.breadcrumb a { color: var(--gray); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 10px; color: var(--gray-light); }

/* ─── SERVICES ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 0; height: 3px; background: var(--gold);
  transition: width 0.3s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { width: 100%; }
.service-num {
  font-family: 'Playfair Display', serif;
  font-size: 56px; font-weight: 900;
  color: var(--gold); opacity: 0.4;
  line-height: 1; margin-bottom: 20px;
}
.service-card h3 { font-size: 22px; margin-bottom: 12px; font-family: 'Inter', sans-serif; font-weight: 700; }
.service-card p { font-size: 14px; line-height: 1.7; }
.service-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px;
  font-size: 13px; font-weight: 600; color: var(--black);
  letter-spacing: 0.3px;
  transition: gap 0.2s;
}
.service-link::after { content: '→'; transition: transform 0.2s; }
.service-link:hover { color: var(--gold); }
.service-link:hover::after { transform: translateX(4px); }

/* ─── FEATURES ─── */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.features-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 5;
}
.features-img img { width: 100%; height: 100%; object-fit: cover; }
.features-img::after {
  content: ''; position: absolute;
  bottom: -40px; right: -40px;
  width: 240px; height: 240px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
}
.feature-list { list-style: none; }
.feature-item {
  display: flex; gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.feature-item:last-child { border-bottom: none; }
.feature-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gold-mist);
  display: flex; align-items: center; justify-content: center;
  color: var(--black);
  font-weight: 900;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  border: 1px solid var(--gold-pale);
}
.feature-content h4 { margin-bottom: 6px; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 17px; }
.feature-content p { font-size: 14px; line-height: 1.7; }

/* ─── PROCESS ─── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.process-step {
  position: relative;
  padding-top: 24px;
}
.process-step::before {
  content: '';
  position: absolute; top: 24px; left: 60px; right: -16px;
  height: 1px; background: rgba(201, 162, 39, 0.4);
}
.process-step:last-child::before { display: none; }
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  font-weight: 900; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  position: relative; z-index: 1;
  border: 4px solid var(--cream);
}
.section-light .step-num { border-color: var(--bg-light); }
.section-warm .step-num { border-color: var(--cream-warm); }
.process-step h4 { margin-bottom: 8px; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 16px; }
.process-step p { font-size: 13px; line-height: 1.6; }

/* ─── SECTORS (chiaro) ─── */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.sector-tag {
  padding: 24px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  font-size: 14px; font-weight: 500;
  color: var(--black);
  transition: all 0.25s var(--ease);
}
.sector-tag:hover {
  background: var(--gold-mist);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ─── CTA BANNER (chiaro) ─── */
.cta-banner {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 70px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: var(--black);
}
.cta-banner::before {
  content: ''; position: absolute;
  width: 400px; height: 400px;
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 50%;
  top: 50%; left: -150px;
  transform: translateY(-50%);
}
.cta-banner::after {
  content: ''; position: absolute;
  width: 400px; height: 400px;
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 50%;
  top: 50%; right: -150px;
  transform: translateY(-50%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--black); margin-bottom: 16px; }
.cta-banner p { color: var(--gray); font-size: 17px; margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-promise {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 18px;
  font-weight: 600;
  color: var(--gold);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.5;
  letter-spacing: -0.2px;
}

/* ─── CONTACT ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-info-block { padding: 40px; background: var(--cream-warm); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.contact-info-block h3 { margin-bottom: 24px; }
.contact-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-item:last-child { border-bottom: none; }
.contact-item-icon {
  flex-shrink: 0; width: 40px; height: 40px;
  background: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 18px;
  border: 1px solid var(--border);
}
.contact-item-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gray); margin-bottom: 4px; }
.contact-item-value { font-weight: 600; color: var(--black); font-size: 15px; }
.contact-item a:hover { color: var(--gold); }

.contact-form { padding: 40px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--gray); font-weight: 600; margin-bottom: 8px; }
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit; font-size: 15px;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--gray); line-height: 1.5; margin-bottom: 24px; }
.form-checkbox input { margin-top: 3px; accent-color: var(--gold); }
.form-checkbox a { color: var(--black); text-decoration: underline; }

.map-wrap {
  margin-top: 60px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ─── BRAND QUOTE (promessa) ─── */
.brand-quote {
  margin-top: 32px;
  padding: 28px 32px;
  background: var(--cream-warm);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: var(--dark);
  position: relative;
}
.brand-quote .quote-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

/* ─── ABOUT ─── */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-intro-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 5;
}
.about-intro-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text p { margin-bottom: 18px; font-size: 16px; line-height: 1.8; color: var(--gray); }
.about-text p:first-of-type { font-size: 18px; color: var(--dark); font-weight: 500; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.value-card {
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.value-icon { font-size: 32px; margin-bottom: 16px; display: block; }
.value-card h4 { margin-bottom: 10px; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 17px; }
.value-card p { font-size: 14px; line-height: 1.7; }

/* ─── SERVICE DETAIL ─── */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}
.service-detail:last-child { margin-bottom: 0; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
  background: var(--bg-light);
}
.service-detail-img img, .service-detail-img video { width: 100%; height: 100%; object-fit: cover; }
.service-detail-num {
  font-family: 'Playfair Display', serif;
  font-size: 14px; letter-spacing: 4px;
  color: var(--gold); font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.service-detail h2 { margin-bottom: 20px; }
.service-detail p { font-size: 16px; line-height: 1.8; margin-bottom: 24px; }
.service-detail ul { list-style: none; }
.service-detail li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 15px; color: var(--dark);
}
.service-detail li::before {
  content: '✓';
  position: absolute; left: 0;
  width: 20px; height: 20px;
  background: var(--gold);
  color: var(--black);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900;
  top: 2px;
}

/* ─── FOOTER (bianco caldo) ─── */
.footer {
  background: var(--bg-light);
  color: var(--gray);
  padding: 80px 0 32px;
  border-top: 2px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand img { width: 56px; margin-bottom: 20px; }
.footer-brand .nav-logo-name { color: var(--black); font-size: 22px; margin-bottom: 4px; display: block; }
.footer-brand .nav-logo-sub { color: var(--gray); font-size: 11px; margin-bottom: 20px; display: block; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 320px; color: var(--gray); }
.footer-col h4 {
  color: var(--black); font-size: 12px; letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 20px;
  font-family: 'Inter', sans-serif; font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 14px; color: var(--gray); transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-size: 12px; color: var(--gray);
}
.footer-bottom a { color: var(--gray); }
.footer-bottom a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s var(--ease);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.footer-social a:hover { transform: translateY(-2px); filter: brightness(1.15); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }
.footer-social a svg { width: 16px; height: 16px; fill: currentColor; }

/* ─── GALLERIA ─── */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}
.gallery-filter {
  padding: 10px 22px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  font-family: inherit;
}
.gallery-filter:hover { border-color: var(--gold); color: var(--gold); }
.gallery-filter.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-light);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: 1px solid var(--border);
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.gallery-item.tall { aspect-ratio: 3 / 4; grid-row: span 1; }
.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery-item:hover img,
.gallery-item:hover video { transform: scale(1.05); }
.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 24px 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
  color: var(--white);
  pointer-events: none;
}
.gallery-caption-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 4px;
}
.gallery-caption-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}
.gallery-item .play-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.9);
  display: flex; align-items: center; justify-content: center;
  color: var(--black);
  font-size: 18px;
  z-index: 2;
  opacity: 0.85;
  transition: all 0.2s var(--ease);
  pointer-events: none;
}
.gallery-item:hover .play-icon { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }

/* Sector tag come link cliccabile */
a.sector-tag { text-decoration: none; cursor: pointer; }

@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ─── FORM SUCCESS BANNER ─── */
.form-success-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: linear-gradient(90deg, #22C55E 0%, #16A34A 100%);
  color: white;
  padding: 16px 24px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  z-index: 1000;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}
.form-success-banner.visible { transform: translateY(0); }
.form-success-banner strong { font-weight: 700; }

/* ─── ANIMATIONS ─── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .nav { padding: 0 32px; }
  .hero { padding: 120px 0 60px; }
  .hero .container { padding: 0 32px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .features, .about-intro, .contact-grid, .service-detail { grid-template-columns: 1fr; gap: 48px; }
  .features-img, .about-intro-img { max-width: 480px; margin: 0 auto; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .section { padding: 70px 0; }
  .nav { padding: 0 24px; height: 64px; }
  .hero .container { padding: 0 24px; }
  .nav-menu, .nav-cta { display: none; }
  .nav-menu.open {
    display: flex;
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--cream);
    border-top: 1px solid var(--border);
    padding: 24px;
  }
  .nav-menu.open li { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-menu.open li:last-child { border-bottom: none; padding-top: 20px; }
  .nav-menu.open .nav-cta { display: inline-flex; }
  .burger { display: flex; }
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); margin-top: 60px; }
  .stat-num { font-size: 32px; }
  .page-header { padding: 140px 0 70px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-banner { padding: 48px 24px; }
  .contact-info-block, .contact-form { padding: 28px; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr; }
}
