/* ============================================================
   LECRAI Road to 50 — Main Stylesheet
   Industrial Premium · Anniversary Edition 1976-2026
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;400;600;700;900&family=Barlow:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,700;1,400&display=swap');

/* ---- CSS Variables ---- */
:root {
  --blue-primary:   #003B7A;
  --blue-dark:      #087cc4;
  --blue-mid:       #0056B3;
  --blue-light:     #1a6fc4;
  --gold:           #C9A84C;
  --gold-light:     #E8C97A;
  --gold-dark:      #9A7430;
  --silver:         #A8B2BC;
  --white:          #FFFFFF;
  --off-white:      #F5F6F8;
  --gray-100:       #EEF0F3;
  --gray-300:       #C5CAD0;
  --gray-500:       #7A8490;
  --gray-700:       #3E4650;
  --gray-900:       #1A1E24;
  --red-it:         #CE2B37;
  --green-it:       #009246;
  --text-primary:   #1A1E24;
  --text-secondary: #3E4650;
  --text-muted:     #7A8490;
  --radius-sm:      4px;
  --radius-md:      8px;
  --radius-lg:      16px;
  --shadow-sm:      0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:      0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:      0 8px 40px rgba(0,0,0,0.18);
  --shadow-gold:    0 4px 24px rgba(201,168,76,0.25);
  --transition:     all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-display:   'Barlow Condensed', sans-serif;
  --font-body:      'Barlow', sans-serif;
  --font-serif:     'Playfair Display', serif;
  --max-width:      1320px;
  --section-pad:    100px 0;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Utility ---- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section-pad { padding: var(--section-pad); }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.bg-dark { background: var(--blue-dark); color: var(--white); }
.bg-gray { background: var(--off-white); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ---- Skip Link (Accessibility) ---- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--blue-primary);
  color: #fff;
  padding: 8px 16px;
  z-index: 10000;
  border-radius: 0 0 var(--radius-sm) 0;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ---- Gold Divider ---- */
.gold-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  display: block;
}
.gold-line.center { margin: 0 auto; }

/* ---- Section Heading ---- */
.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--blue-dark);
  margin-bottom: 20px;
}
.section-title.light { color: var(--white); }
.section-lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
}
.section-lead.light { color: rgba(255,255,255,0.8); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 1.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  transition: var(--transition);
}
#site-header.scrolled {
  background: rgba(245,245,245,1.99);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.header-logo img {
  height: 42px;
  width: auto;
  filter: brightness(1) invert(0);
}
.logo-badge {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dark);
  padding: 3px 8px;
  border-radius: 2px;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(8,124,196,1.5);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.main-nav a:hover { color: var(--gold-dark); background: rgba(255,255,255,0.08); }
.main-nav a.active { color: var(--gold); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Language Selector */
.lang-selector {
  position: relative;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(8,124,196,1);
  border: 1px solid rgba(8,124,196,0.15);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  color: rgba(255,255,255,0.95);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.lang-btn:hover { background: rgba(80,80,80,0.5); color: #fff; }
.lang-btn .flag { font-size: 1.1rem; }
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--blue-dark);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-md);
  min-width: 180px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 200;
}
.lang-selector.open .lang-dropdown { display: block; }
.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
}
.lang-dropdown a:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.lang-dropdown a.current { color: var(--gold); background: rgba(201,168,76,0.08); }

/* CTA Button */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(201,168,76,0.3);
}
.btn-cta:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(201,168,76,0.45);
}
.btn-cta svg { width: 16px; height: 16px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
   border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  background: var(--blue-dark);
  border-top: 1px solid rgba(201,168,76,0.2);
  padding: 16px 24px 24px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--gold); padding-left: 8px; }
.mobile-nav .btn-cta { margin-top: 16px; width: 100%; justify-content: center; }

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--blue-dark);
  padding-top: 72px;
}

/* Il contenitore deve essere trasparente per far vedere il colore Hero sotto */
.hero-video-wrap {
  position: absolute;
  top: 70px;      /* <--- AGGIUNGI QUESTO: sposta il video sotto il menu (cambia il numero se serve) */
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important; /* Forza la trasparenza per vedere lo sfondo Hero */
  overflow: hidden;
}

.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Vedrai tutto il video senza tagli */
  opacity: 0.95;
  background: transparent; /* Assicura che il video non abbia uno sfondo nero suo */
  transition: opacity 2s ease;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(154, 116, 48, 0.82) 0%,
    rgba(0,50,80,0.50) 50%,
    rgba(8,124,196,0.50) 100%
  );
  z-index: 1;
}

/* Animated mesh background */
.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,168,76,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0,86,179,0.15) 0%, transparent 50%),
    linear-gradient(180deg, transparent 60%, rgba(0,10,30,0.8) 100%);
}

/* Geometric decorative lines */
.hero-geo {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.hero-geo::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55%;
  height: 120%;
  border: 1px solid rgba(201,168,76,0.1);
  transform: rotate(-8deg);
  border-radius: 4px;
}
.hero-geo::after {
  content: '';
  position: absolute;
  top: 5%;
  right: 5%;
  width: 40%;
  height: 90%;
  border: 1px solid rgba(201,168,76,0.06);
  transform: rotate(-8deg);
  border-radius: 4px;
}


.hero-content {
  opacity: 0;            /* Inizialmente invisibile */
  transform: translateY(20px); /* Leggermente spostato in basso per l'effetto entrata */
  transition: opacity 1.5s ease, transform 1.5s ease; /* Transizione dolce */
  pointer-events: none;  /* Impedisce di cliccare i tasti finché sono invisibili */
  position: relative;  
  z-index: 2;
  max-width: 760px;
}

/* Classe che aggiungeremo col JS */
.hero-content.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;  /* Riattiva i click sui pulsanti */
  position: relative;  
  z-index: 2;
  max-width: 760px;
}
.hero-anno {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 2px;
  padding: 6px 16px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 28px;
}
.hero-anno-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.0;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.hero-title .accent {
  color: var(--gold);
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.88em;
}

.hero-subtitle-block {
  margin: 24px 0 40px;
}
.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  font-weight: 300;
}
.hero-subtitle strong {
  color: rgba(255,255,255,0.95);
  font-weight: 500;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(201,168,76,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.5);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}
.btn-primary svg { width: 20px; height: 20px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.3);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  transform: translateY(-1px);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-item {}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}
.search-hero-container {
  display: flex;
  flex-direction: column; /* Mette l'input sopra il pulsante */
  gap: 10px;
  width: 100%;
  max-width: 400px; /* Limita la larghezza della barra */
}

#hero-search-input {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: white;
  backdrop-filter: blur(5px);
  outline: none;
}

#hero-search-input::placeholder {
  color: rgba(255,255,255,0.6);
}

#hero-search-btn {
  border: none;
  cursor: pointer;
  justify-content: center;
}
/* PRODOTTI random */
/* --- STILE BASE (Valido per tutti) --- */
/* 1. Il contenitore che "taglia" la vista ai bordi dello schermo */
.slider-wrapper {
  width: 100% !important;
  overflow: hidden !important;
  position: relative;
  background: #fff;
  padding: 20px 0;
}

/* 2. Il binario che contiene le foto: DEVE essere flex e non andare a capo */
.product-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important; /* Impedisce lo sfasamento verticale */
  width: max-content !important; /* Permette al div di allungarsi all'infinito a destra */
  align-items: center;
  
  /* Animazione: deve essere lineare e infinita */
  animation: scroll-marquee 100s linear infinite; 
}

/* 3. Le immagini: forziamo l'altezza per evitare che diventino enormi */
.product-track img {
  height: 180px !important; /* Altezza fissa su Desktop */
  width: auto !important;   /* Mantiene le proporzioni */
  margin-right: 30px !important; /* Spazio tra le foto */
  display: block !important;
  border-radius: 8px;
  background: white;
  border: 1px solid #eee;
}

/* 4. Animazione fluida verso sinistra */
@keyframes scroll-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- FIX PER SMARTPHONE --- */
@media (max-width: 768px) {
  .product-track img {
    height: 100px !important; /* Più piccole su mobile per non sbordare */
    margin-right: 15px !important;
  }
  .product-track {
    animation-duration: 100s; /* Più veloce perché il percorso è più corto */
  }
}

/* Italian flag ribbon */
.it-ribbon {
  position: absolute;
  right: 0;
  top: 72px;
  bottom: 0;
  width: 6px;
  z-index: 3;
  display: flex;
  flex-direction: column;
}
.it-ribbon span { flex: 1; display: block; }
.it-ribbon span:nth-child(1) { background: var(--green-it); }
.it-ribbon span:nth-child(2) { background: var(--white); }
.it-ribbon span:nth-child(3) { background: var(--red-it); }

/* ============================================================
   ROAD TO 50 — HISTORY TIMELINE
   ============================================================ */
#storia { background: var(--white); }

.timeline {
  position: relative;
  padding: 48px 0;
}
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent, var(--gray-300) 10%, var(--gray-300) 90%, transparent);
}
.timeline-line::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  opacity: 0.3;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 0 24px;
  margin-bottom: 80px;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.timeline-item:last-child { margin-bottom: 0; }

.timeline-item:nth-child(odd) .tl-content { grid-column: 1; grid-row: 1; text-align: right; }
.timeline-item:nth-child(odd) .tl-center  { grid-column: 2; grid-row: 1; }
.timeline-item:nth-child(odd) .tl-empty   { grid-column: 3; grid-row: 1; }

.timeline-item:nth-child(even) .tl-empty   { grid-column: 1; grid-row: 1; }
.timeline-item:nth-child(even) .tl-center  { grid-column: 2; grid-row: 1; }
.timeline-item:nth-child(even) .tl-content { grid-column: 3; grid-row: 1; text-align: left; }

.tl-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
}
.tl-node {
  width: 56px; height: 56px;
  background: var(--blue-dark);
  border: 3px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px white, var(--shadow-gold);
  flex-shrink: 0;
}
.tl-node svg { width: 22px; height: 22px; color: var(--gold); }
.tl-year {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-top: 8px;
  white-space: nowrap;
}

.tl-content {
  padding-top: 4px;
}
.tl-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(201,168,76,0.1);
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}
.tl-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.2;
  margin-bottom: 10px;
}
.tl-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.tl-text strong { color: var(--blue-primary); font-weight: 600; }

/* ============================================================
   CORE BUSINESS
   ============================================================ */
#business { background: var(--off-white); }

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.business-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.business-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-primary), var(--blue-light));
  transition: var(--transition);
}
.business-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.business-card:hover::before {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.bc-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.bc-icon svg { width: 28px; height: 28px; color: var(--gold); }
.bc-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 12px;
}
.bc-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.bc-features {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bc-tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue-primary);
  background: rgba(0,59,122,0.08);
  padding: 4px 10px;
  border-radius: 2px;
}

/* ============================================================
   SUSTAINABILITY — FOTOVOLTAICO
   ============================================================ */
#sostenibilita {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #001030 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
#sostenibilita::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 70% 50%, rgba(201,168,76,0.07) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.sost-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.sost-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,200,100,0.15);
  border: 1px solid rgba(0,200,100,0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #4FD890;
  margin-bottom: 24px;
}
.sost-badge svg { width: 14px; height: 14px; }
.sost-year {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 900;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  position: absolute;
  top: -10px;
  right: -10px;
  pointer-events: none;
}
.sost-visual {
  position: relative;
}
.solar-graphic {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  position: relative;
}
.solar-icon {
  font-size: 5rem;
  margin-bottom: 16px;
  display: block;
}
.solar-kw {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.solar-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
}
.btn-video-sost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
}
.btn-video-sost:hover {
  background: rgba(201,168,76,0.25);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-video-sost svg { width: 18px; height: 18px; }

/* ============================================================
   CERTIFICAZIONE ISO
   ============================================================ */
#certificazione { background: var(--white); }
.iso-box {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-primary));
  border-radius: var(--radius-lg);
  padding: 60px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 60px rgba(0,31,77,0.3);
}
.iso-box::after {
  content: 'ISO';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 10rem;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
}
.iso-logo-wrap {
  width: 120px; height: 120px;
  background: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}
.iso-logo-wrap svg { width: 64px; height: 64px; }
.iso-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 12px;
}
.iso-title span { color: var(--gold); }
.iso-text { color: rgba(255,255,255,0.75); font-size: 1rem; line-height: 1.7; }
.iso-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.2);
  border: 1px solid rgba(201,168,76,0.4);
  padding: 6px 16px;
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 20px;
}

/* ============================================================
   DOWNLOAD & RESOURCES
   ============================================================ */
#download { background: var(--gray-100); }
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.download-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.download-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.dl-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dl-icon svg { width: 24px; height: 24px; color: var(--gold); }
.dl-info { flex: 1; min-width: 0; }
.dl-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.3;
}
.dl-desc { font-size: 0.82rem; color: var(--text-muted); margin-top: 3px; }
.dl-arrow {
  width: 32px; height: 32px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.download-card:hover .dl-arrow {
  background: var(--gold);
  color: var(--white);
}
.dl-arrow svg { width: 14px; height: 14px; }

/* ============================================================
   CONTATTI / FOOTER
   ============================================================ */
#contatti { background: var(--white); color: var(--blue-dark); }
#secure-mail {
  cursor: copy; /* Cambia il cursore in un'icona di copia */
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.reverse-email {
  unicode-bidi: bidi-override;
  direction: rtl;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding: 80px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.contact-brand .footer-logo {
  height: 48px;
  width: auto;
  filter: brightness(1) invert(0);
  margin-bottom: 20px;
}
.contact-brand p {
  font-size: 0.95rem;
  color: rgba(0,0,0,1);
  line-height: 1.7;
  max-width: 320px;
}
.contact-col-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.contact-list li { margin-bottom: 12px; }
.contact-list a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(0,0,0,0.9);
  transition: var(--transition);
}
.contact-list a:hover { color: var(--blue-dark); }
.contact-list svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.83rem;
  color: rgba(0,0,0,0.7);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 0.83rem;
  color: rgba(0,0,0,0.7);
  transition: var(--transition);
}
.footer-links a:hover { color: rgba(0,0,0,0.7); }
.footer-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(0,0,0,0.8);
}
.footer-badge .flag-bar {
  display: flex;
  height: 12px;
  width: 20px;
  border-radius: 2px;
  overflow: hidden;
}
.footer-badge .flag-bar span { flex: 1; display: block; }
.footer-badge .flag-bar span:nth-child(1) { background: var(--green-it); }
.footer-badge .flag-bar span:nth-child(2) { background: var(--white); }
.footer-badge .flag-bar span:nth-child(3) { background: var(--red-it); }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: rgba(0,15,40,0.97);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(201,168,76,0.3);
  padding: 0;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
#cookie-banner.show { transform: translateY(0); }
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  flex-wrap: wrap;
}
.cookie-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  flex: 1;
  min-width: 280px;
}
.cookie-text a { color: var(--gold-light); text-decoration: underline; }
.cookie-text strong { color: rgba(255,255,255,0.95); }
.cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-cookie-accept {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 10px 24px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-cookie-accept:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-cookie-reject {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-cookie-reject:hover { color: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.4); }
.btn-cookie-settings {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 10px;
  transition: var(--transition);
}
.btn-cookie-settings:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   FLOATING SHOP CTA (sticky)
   ============================================================ */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}
.floating-cta.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.floating-cta a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 24px;
  border-radius: 32px;
  box-shadow: 0 6px 30px rgba(201,168,76,0.5);
  transition: var(--transition);
}
.floating-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(201,168,76,0.65);
}
.floating-cta svg { width: 18px; height: 18px; }

/* ============================================================
   WORLD MAP STATS BAR
   ============================================================ */
.stats-bar {
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  padding: 24px 0;
  overflow: hidden;
}
.stats-bar-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.stat-bar-item {
  text-align: center;
  padding: 4px 20px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.stat-bar-item:last-child { border-right: none; }
.stat-bar-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stat-bar-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* ============================================================
   ANIMATIONS & SCROLL
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .business-grid { grid-template-columns: 1fr 1fr; }
  .sost-inner { grid-template-columns: 1fr; gap: 40px; }
  .sost-year { display: none; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .timeline-line { left: 28px; }
  .timeline-item {
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto;
  }
  .timeline-item:nth-child(odd) .tl-content,
  .timeline-item:nth-child(even) .tl-content {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
  }
  .timeline-item:nth-child(odd) .tl-center,
  .timeline-item:nth-child(even) .tl-center {
    grid-column: 1;
    grid-row: 1;
  }
  .timeline-item .tl-empty { display: none; }
  .iso-box { grid-template-columns: 1fr; text-align: center; padding: 40px 28px; }
  .iso-logo-wrap { margin: 0 auto; }
  .download-grid { grid-template-columns: 1fr; }
}

.iso-download-link {
  display: inline-flex; /* Tiene tutto sulla stessa riga */
  align-items: center;  /* Centra verticalmente icone e testo */
  gap: 10px;            /* Spazio tra icone e testo */
  text-decoration: none;
  color: #C9A84C;       /* Colore oro iniziale */
  transition: all 0.3s ease;
  font-weight: 600;
}

/* Dimensioni icone */
.iso-download-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0; /* Impedisce alle icone di rimpicciolirsi */
}

/* EFFETTO HOVER: Quando passi il mouse su testo O icone, tutto cambia colore */
.iso-download-link:hover {
  color: #ffffff; /* Cambia in bianco (o il colore che preferisci) */
  transform: translateY(-2px); /* Effetto leggero sollevamento */
}

.iso-download-link:hover .icon-dl {
  animation: bounceDown 0.5s infinite alternate; /* Opzionale: la freccina rimbalza */
}

@keyframes bounceDown {
  from { transform: translateY(0); }
  to { transform: translateY(3px); }
}


@media (max-width: 768px) {
  :root { --section-pad: 70px 0; }
  .main-nav, .header-actions .btn-cta { display: none; }
  .hamburger { display: flex; }
  .business-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 28px; }

  /* --- MODIFICA QUI --- */
  .hero-ctas { 
    flex-direction: column; 
    align-items: flex-start; /* Li allinea a sinistra invece di allargarli */
    gap: 15px; 
  }
  
  .hero-ctas .btn-primary, 
  .hero-ctas .btn-secondary { 
    width: auto; /* IMPORTANTE: non più 100% */
    display: inline-flex; 
    align-items: center; 
    padding: 10px 18px;
    justify-content: flex-start; /* Testo e icona partono da sinistra */
  }

  .hero-ctas .btn-secondary svg {
    width: 18px !important;
    height: 18px !important;
    margin-right: 10px; /* Icona a sinistra del testo */
    flex-shrink: 0;
  }
  /* --- FINE MODIFICA --- */

  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
  .stats-bar-inner { gap: 0; }
  .stat-bar-item { padding: 8px 12px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); width: 50%; }
  .it-ribbon { display: none; }
}

@media (max-width: 480px) {
  .tl-title { font-size: 1.2rem; }
  .iso-box { padding: 32px 20px; }
  .iso-box::after { display: none; }
}

/* ============================================================
   RTL support (for Arabic, Farsi)
   ============================================================ */
[dir="rtl"] .timeline-item:nth-child(odd) .tl-content { text-align: left; }
[dir="rtl"] .timeline-item:nth-child(even) .tl-content { text-align: right; }
[dir="rtl"] .hero-geo::before { right: auto; left: -5%; }
[dir="rtl"] .hero-geo::after { right: auto; left: 5%; }
[dir="rtl"] .it-ribbon { right: auto; left: 0; }

/* ============================================================
   COOKIE MODAL (pannello impostazioni avanzate)
   ============================================================ */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(0,10,30,0.88);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cookie-modal-overlay.show {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #0d1829;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 12px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 80px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
}
.cookie-modal-header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}
.cookie-modal-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}
.cookie-modal-title span { color: var(--gold); }
.cookie-modal-close {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: 50%;
  color: rgba(255,255,255,0.6);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.cookie-modal-close:hover { background: rgba(255,255,255,0.16); color: #fff; }
.cookie-modal-body {
  padding: 24px 32px;
  flex: 1;
  overflow-y: auto;
}
.cookie-modal-intro {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin-bottom: 24px;
}
.cookie-modal-intro a { color: var(--gold-light); text-decoration: underline; }

/* Category items */
.cookie-category {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.cookie-category:hover { border-color: rgba(201,168,76,0.2); }
.cookie-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  gap: 12px;
}
.cookie-cat-left { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.cookie-cat-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.cookie-cat-icon.technical { background: rgba(0,90,200,0.2); }
.cookie-cat-icon.analytical { background: rgba(100,200,100,0.15); }
.cookie-cat-icon.marketing  { background: rgba(200,100,50,0.15); }
.cookie-cat-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}
.cookie-cat-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}
.cookie-cat-arrow {
  color: rgba(255,255,255,0.3);
  font-size: 0.7rem;
  transition: transform 0.25s;
  flex-shrink: 0;
}
.cookie-category.open .cookie-cat-arrow { transform: rotate(180deg); }

/* Toggle switch */
.cookie-toggle {
  position: relative;
  width: 44px; height: 24px;
  flex-shrink: 0;
}
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.3s;
}
.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  top: 3px; left: 3px;
  transition: transform 0.3s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.cookie-toggle input:checked + .cookie-toggle-slider { background: var(--gold); }
.cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(20px); }
.cookie-toggle input:disabled + .cookie-toggle-slider { opacity: 0.5; cursor: not-allowed; }
.cookie-toggle-required {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

/* Cookie detail list */
.cookie-cat-details {
  display: none;
  padding: 0 20px 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cookie-category.open .cookie-cat-details { display: block; }
.cookie-detail-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.82rem;
}
.cookie-detail-item:last-child { border-bottom: none; }
.cookie-detail-name { font-weight: 600; color: rgba(255,255,255,0.8); }
.cookie-detail-purpose { color: rgba(255,255,255,0.45); grid-column: 1; }
.cookie-detail-expiry { color: var(--gold); white-space: nowrap; font-size: 0.75rem; grid-column: 2; grid-row: 1 / 3; display: flex; align-items: center; }

.cookie-modal-footer {
  padding: 20px 32px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.btn-cookie-save {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-cookie-save:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-cookie-all {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.15);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-cookie-all:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* Privacy / Cookie Policy pages */
.legal-page { padding: 120px 0 80px; min-height: 100vh; }
.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--blue-dark);
  margin-bottom: 8px;
}
.legal-page .legal-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 48px;
  display: block;
}
.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 40px 0 12px;
  padding-top: 8px;
  border-top: 2px solid var(--gray-100);
}
.legal-page h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-primary);
  margin: 24px 0 8px;
}
.legal-page p, .legal-page li {
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 12px;
}
.legal-page ul { margin-left: 20px; list-style: disc; }
.legal-page a { color: var(--blue-primary); text-decoration: underline; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.88rem; }
.legal-page th { background: var(--blue-dark); color: var(--white); padding: 10px 14px; text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.05em; }
.legal-page td { padding: 10px 14px; border-bottom: 1px solid var(--gray-100); color: var(--text-secondary); vertical-align: top; }
.legal-page tr:nth-child(even) td { background: var(--off-white); }
.legal-page .highlight-box {
  background: rgba(0,59,122,0.06);
  border-left: 3px solid var(--blue-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 20px 0;
}
.legal-page .highlight-box p { margin: 0; }
