/* ============================================================
   SISS Genova — Sito Web v2 PREMIUM
   Design: Cinematic medical-corporate
   ============================================================ */

:root {
  --navy: #0C1B33;
  --navy-light: #162D54;
  --navy-dark: #060E1A;
  --orange: #E8601C;
  --orange-light: #F4854D;
  --orange-dark: #C84E14;
  --white: #FFFFFF;
  --off-white: #F8F6F3;
  --warm-gray: #E8E4DF;
  --medium-gray: #8C8578;
  --text: #1A1A1A;
  --text-light: #5A5650;
  --glass: rgba(12, 27, 51, 0.82);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow: 0 4px 24px rgba(12, 27, 51, 0.08);
  --shadow-lg: 0 12px 48px rgba(12, 27, 51, 0.12);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset ── */
*, *::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);
  background: var(--off-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: default;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; }

/* ============================================================
   CURSOR GLOW
   ============================================================ */
.cursor-glow {
  position: fixed;
  width: 400px; height: 400px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(232,96,28,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}
body:hover .cursor-glow { opacity: 1; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1001;
  transition: transform 0.4s var(--ease);
}
.topbar-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 38px;
}
.topbar-brand {
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.7);
}
.topbar-links { display: flex; gap: 20px; }
.topbar-links a {
  font-size: 12px; color: rgba(255,255,255,0.5);
  transition: color 0.3s;
  position: relative;
}
.topbar-links a:hover { color: var(--orange-light); }
.topbar-links a::after {
  content: '>';
  margin-left: 3px;
  font-size: 10px;
  opacity: 0.5;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 38px; left: 0; right: 0; z-index: 1000;
  background: transparent;
  transition: all 0.4s var(--ease);
}
.navbar.scrolled {
  background: rgba(6,14,26,0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 2px 40px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 80px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-img {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255,255,255,0.15);
  transition: all 0.5s var(--ease-spring);
  animation: logoPulse 4s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,96,28,0); }
  50% { box-shadow: 0 0 0 6px rgba(232,96,28,0.15); }
}
.nav-logo:hover .nav-logo-img {
  transform: rotate(-8deg) scale(1.15);
  border-color: var(--orange);
  box-shadow: 0 0 20px rgba(232,96,28,0.3);
}
.nav-logo-text { display: flex; flex-direction: column; }
.nav-brand {
  font-family: var(--font-display); font-weight: 900; font-size: 22px;
  color: var(--white); line-height: 1; letter-spacing: 1px;
  transition: letter-spacing 0.4s var(--ease);
}
.nav-logo:hover .nav-brand { letter-spacing: 3px; }
.nav-sub {
  font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 2px; text-transform: uppercase;
  transition: color 0.3s;
}
.nav-logo:hover .nav-sub { color: var(--orange-light); }

/* Nav links with stagger entrance */
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.88);
  letter-spacing: 0.3px; position: relative;
  transition: color 0.3s, transform 0.3s var(--ease-spring);
  opacity: 0; animation: navLinkIn 0.5s var(--ease-out) forwards;
}
.nav-links a:nth-child(1) { animation-delay: 0.1s; }
.nav-links a:nth-child(2) { animation-delay: 0.18s; }
.nav-links a:nth-child(3) { animation-delay: 0.26s; }
.nav-links a:nth-child(4) { animation-delay: 0.34s; }
.nav-links a:nth-child(5) { animation-delay: 0.42s; }
.nav-links a:nth-child(6) { animation-delay: 0.5s; }
@keyframes navLinkIn {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
.nav-links a:hover { color: var(--white); transform: translateY(-2px); }

/* Animated underline — expands from center with glow */
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute; bottom: -6px; left: 50%; width: 0; height: 2px;
  background: var(--orange);
  box-shadow: 0 0 8px rgba(232,96,28,0);
  transition: width 0.35s var(--ease-spring), left 0.35s var(--ease-spring), box-shadow 0.35s;
}
.nav-links a:not(.nav-cta):hover::after {
  width: 100%; left: 0;
  box-shadow: 0 0 12px rgba(232,96,28,0.5);
}
/* Active dot indicator */
.nav-links a:not(.nav-cta)::before {
  content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--orange); opacity: 0; transition: opacity 0.3s, bottom 0.3s var(--ease-spring);
}
.nav-links a:not(.nav-cta):hover::before { opacity: 1; bottom: -12px; }

/* CTA with pulsing glow ring */
.nav-cta {
  background: var(--orange) !important; color: var(--white) !important;
  padding: 10px 24px; border-radius: var(--radius);
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(232,96,28,0.3);
  transition: all 0.3s var(--ease-spring) !important;
  position: relative;
  overflow: visible;
}
.nav-cta::after { display: none !important; }
.nav-cta::before {
  content: '' !important; position: absolute !important;
  inset: -3px !important; border-radius: 14px !important;
  background: transparent !important; width: auto !important; height: auto !important;
  border: 2px solid var(--orange) !important;
  opacity: 0 !important; transform: none !important;
  animation: ctaRing 2.5s ease-in-out infinite !important;
}
@keyframes ctaRing {
  0%, 100% { opacity: 0; inset: -3px; }
  50% { opacity: 0.4; inset: -7px; }
}
.nav-cta:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 8px 32px rgba(232,96,28,0.5);
}
.nav-cta:hover::before { animation-play-state: paused !important; opacity: 0.6 !important; inset: -5px !important; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: 0.3s; }

/* ============================================================
   HERO — Cinematic
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg-img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroKen 25s ease-in-out infinite alternate;
}
@keyframes heroKen {
  0% { transform: scale(1.0) translate(0, 0); }
  100% { transform: scale(1.15) translate(-2%, -1%); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(6,14,26,0.88) 0%, rgba(12,27,51,0.65) 45%, rgba(12,27,51,0.50) 100%),
    linear-gradient(to top, rgba(6,14,26,0.92) 0%, transparent 40%);
}

/* Particles container */
.hero-particles {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden;
}
.particle {
  position: absolute; border-radius: 50%;
  background: rgba(232,96,28,0.2);
  animation: float linear infinite;
}
@keyframes float {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero-content {
  position: relative; z-index: 2; text-align: center;
  padding: 0 24px; max-width: 820px;
}
.hero-badge {
  display: inline-block; font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 3px; text-transform: uppercase; color: var(--orange);
  border: 1px solid rgba(232,96,28,0.35); padding: 8px 22px; border-radius: 40px;
  margin-bottom: 36px;
  background: rgba(6,14,26,0.5); backdrop-filter: blur(8px);
  opacity: 0; animation: slideUp 0.8s var(--ease-out) 0.4s forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 7vw, 76px); font-weight: 900;
  color: var(--white); line-height: 1.02;
  margin-bottom: 28px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
  opacity: 0; animation: slideUp 0.9s var(--ease-out) 0.6s forwards;
}
.hero-highlight { color: var(--orange); text-shadow: 0 2px 30px rgba(232,96,28,0.4); }
.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,0.85);
  line-height: 1.75; margin-bottom: 44px;
  text-shadow: 0 1px 16px rgba(0,0,0,0.4);
  opacity: 0; animation: slideUp 0.9s var(--ease-out) 0.85s forwards;
}
.hero-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 36px;
  opacity: 0; animation: slideUp 0.9s var(--ease-out) 1.05s forwards;
}
@keyframes pulse-glow {
  0%, 100% { text-shadow: 0 0 20px rgba(74,222,128,0.2); }
  50% { text-shadow: 0 0 40px rgba(74,222,128,0.5); }
}

.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%); color: rgba(255,255,255,0.25);
  animation: scrollBounce 2.5s infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.3; }
  50% { transform: translateX(-50%) translateY(12px); opacity: 0.8; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: var(--radius); border: none;
  cursor: pointer; transition: all 0.3s var(--ease-spring);
  position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.btn:hover::before { transform: translateX(100%); }
.btn-primary {
  background: var(--orange); color: var(--white);
  box-shadow: 0 4px 20px rgba(232,96,28,0.3);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 36px rgba(232,96,28,0.45);
}
.btn-outline {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

/* ============================================================
   STATS BAR — with animated counters
   ============================================================ */
.stats-bar {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.stats-bar::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light), var(--orange));
  background-size: 200% 100%;
  animation: shimmer 3s ease infinite;
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.stats-inner {
  max-width: 1240px; margin: 0 auto; padding: 44px 24px;
  display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-number {
  display: block; font-family: var(--font-display); font-size: 44px;
  font-weight: 900; color: var(--white); line-height: 1;
}
.stat-label {
  display: block; font-size: 12px; color: rgba(255,255,255,0.45);
  text-transform: uppercase; letter-spacing: 2px; margin-top: 8px;
}
.stat-divider { width: 1px; height: 52px; background: rgba(255,255,255,0.08); }

/* ============================================================
   QUICK CONTACT
   ============================================================ */
.quick-contact {
  background: var(--white); position: relative; z-index: 10;
  box-shadow: 0 12px 48px rgba(12,27,51,0.07);
}
.qc-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.qc-grid .qc-item:nth-child(1) { grid-column: span 2; }
.qc-grid .qc-item:nth-child(2) { grid-column: span 2; }
.qc-grid .qc-item:nth-child(3) { grid-column: span 2; }
.qc-grid .qc-item:nth-child(4) { grid-column: span 3; }
.qc-grid .qc-item:nth-child(5) { grid-column: span 3; border-right: none; }
.qc-item {
  display: flex; align-items: center; gap: 20px; padding: 40px 36px;
  border-right: 1px solid var(--warm-gray);
  transition: all 0.4s var(--ease);
  position: relative;
}
.qc-item:last-child { border-right: none; }
.qc-item::before {
  content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 3px;
  background: var(--orange); transition: all 0.4s var(--ease);
}
.qc-item:hover::before { width: 100%; left: 0; }
.qc-item:hover { background: rgba(12,27,51,0.02); }
.qc-icon {
  flex-shrink: 0; width: 68px; height: 68px;
  background: var(--navy); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: all 0.4s var(--ease-spring);
  box-shadow: 0 4px 16px rgba(12,27,51,0.15);
}
.qc-icon-link { cursor: pointer; }
.qc-item:hover .qc-icon { transform: scale(1.12) rotate(-5deg); box-shadow: 0 8px 32px rgba(12,27,51,0.2); }
.qc-icon-green { background: #16a34a; box-shadow: 0 4px 16px rgba(22,163,74,0.2); }
.qc-item:hover .qc-icon-green { box-shadow: 0 8px 32px rgba(22,163,74,0.3); }
.qc-text strong { display: block; font-size: 21px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.qc-text strong a { color: var(--navy); transition: color 0.3s; }
.qc-text strong a:hover { color: var(--orange); }
.qc-text span { font-size: 12px; color: var(--medium-gray); text-transform: uppercase; letter-spacing: 1.5px; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-eyebrow {
  display: inline-block; font-family: var(--font-mono); font-size: 14px;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--orange);
  margin-bottom: 18px; position: relative; padding-left: 36px;
}
.section-eyebrow::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 22px; height: 2px; background: var(--orange);
  transition: width 0.4s var(--ease);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.5vw, 58px); font-weight: 900;
  line-height: 1.08; color: var(--navy); margin-bottom: 28px;
}
.section-title em { font-style: italic; color: var(--orange); }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 72px; }
.section-header .section-eyebrow { padding-left: 0; }
.section-header .section-eyebrow::before { display: none; }
.section-intro { font-size: 20px; color: var(--text-light); line-height: 1.75; }
.section-body { font-size: 18px; line-height: 1.8; color: var(--text-light); margin-bottom: 22px; }

/* ============================================================
   CHI SIAMO
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-images { position: relative; height: 520px; }
.about-img-main {
  position: absolute; top: 0; left: 0; width: 72%;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); z-index: 2;
  transition: transform 0.5s var(--ease);
}
.about-img-main:hover { transform: translate(-4px, -4px); }
.about-img-main img { width: 100%; height: 400px; object-fit: cover; }
.about-img-secondary {
  position: absolute; bottom: 0; right: 0; width: 62%;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 5px solid var(--off-white); z-index: 3;
  transition: transform 0.5s var(--ease);
}
.about-img-secondary:hover { transform: translate(4px, 4px); }
.about-img-secondary img { width: 100%; height: 260px; object-fit: cover; }
/* Decorative dot pattern */
.about-images::before {
  content: ''; position: absolute; top: -20px; left: -20px;
  width: 120px; height: 120px; z-index: 1; opacity: 0.15;
  background-image: radial-gradient(circle, var(--navy) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
}
.about-values { display: flex; flex-direction: column; gap: 14px; margin-top: 36px; }
.value {
  display: flex; align-items: flex-start; gap: 16px; padding: 18px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); border-left: 3px solid transparent;
  transition: all 0.4s var(--ease);
}
.value:hover {
  transform: translateX(6px);
  border-left-color: var(--orange);
  box-shadow: 0 8px 32px rgba(12,27,51,0.1);
}
.value-icon {
  flex-shrink: 0; width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--white);
}
.value strong { display: block; font-size: 17px; margin-bottom: 3px; }
.value span { font-size: 14px; color: var(--text-light); }

/* ============================================================
   SERVIZI — Exploding cards
   ============================================================ */
.section-services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 320px;
  gap: 20px;
}
.service-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  cursor: pointer; transform-style: preserve-3d;
}
.service-card-img {
  position: absolute; inset: 0;
}
.service-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s;
}
.service-card:hover .service-card-img img {
  transform: scale(1.06);
}
/* Gradient overlay on photo */
.service-card::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(6,14,26,0.85) 0%, rgba(6,14,26,0.2) 50%, transparent 100%);
  transition: opacity 0.4s;
}
.service-card-front {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 28px;
}
.service-card h3 {
  font-family: var(--font-display); font-size: 24px; font-weight: 700;
  color: var(--white); margin-bottom: 6px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.card-tap {
  font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px;
  color: rgba(255,255,255,0.85); opacity: 0.8;
  transition: opacity 0.3s;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.service-card:hover .card-tap { opacity: 1; }
.card-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.9;
  transition: opacity 0.2s;
  position: relative;
  z-index: 5;
}
.card-link:hover { opacity: 1; color: var(--white); }

/* ── Explode overlay ── */
.explode-overlay {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; opacity: 0;
}
.explode-overlay.active {
  pointer-events: all; opacity: 1;
}
.explode-backdrop {
  position: absolute; inset: 0;
  background: rgba(6,14,26,0.88);
  backdrop-filter: blur(12px);
  opacity: 0; transition: opacity 0.5s;
}
.explode-overlay.active .explode-backdrop { opacity: 1; }
.explode-content {
  position: relative; z-index: 2;
  max-width: 700px; width: 90%; max-height: 85vh;
  border-radius: var(--radius-xl); overflow: hidden;
  background: var(--white);
  box-shadow: 0 30px 100px rgba(0,0,0,0.5);
}
.explode-img {
  height: 300px; overflow: hidden; position: relative;
}
.explode-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.explode-img::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--white), transparent);
}
.explode-body {
  padding: 32px 36px 36px;
}
.explode-body h3 {
  font-family: var(--font-display); font-size: 32px; font-weight: 900;
  color: var(--navy); margin-bottom: 16px;
}
.explode-body p {
  font-size: 17px; line-height: 1.8; color: var(--text-light);
  margin-bottom: 24px;
}
.explode-close {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(6,14,26,0.6); backdrop-filter: blur(8px);
  border: none; color: var(--white); font-size: 20px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease-spring);
}
.explode-close:hover {
  background: var(--orange); transform: rotate(90deg) scale(1.1);
}
/* Particles burst */
.burst-particle {
  position: fixed; width: 8px; height: 8px; border-radius: 50%;
  pointer-events: none; z-index: 10001;
}
@keyframes burstOut {
  0% { transform: translate(0,0) scale(1); opacity: 1; }
  100% { opacity: 0; }
}

/* ============================================================
   FLOTTA — with parallax
   ============================================================ */
.section-fleet {
  background: var(--navy); position: relative; overflow: hidden;
}
.section-fleet::before {
  content: ''; position: absolute; top: -300px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(232,96,28,0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: orbitSlow 20s linear infinite;
}
@keyframes orbitSlow {
  0% { transform: rotate(0deg) translateX(50px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(50px) rotate(-360deg); }
}
.section-header-light .section-title { color: var(--white); }
.section-header-light .section-title em { color: var(--orange-light); }
.fleet-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.fleet-stat {
  text-align: center;
  padding: 24px 16px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
}
.fleet-stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}
.fleet-stat-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.fleet-stat-detail {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}
.fleet-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 230px 230px;
  gap: 16px;
}
.fleet-item {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  cursor: pointer;
}
.fleet-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s;
}
.fleet-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,27,51,0.4) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.4s;
}
.fleet-item:hover img { transform: scale(1.08); }
.fleet-item:hover::after { opacity: 1; }
.fleet-item-large { grid-row: span 2; }
.fleet-caption {
  position: absolute; bottom: 16px; left: 16px; z-index: 2;
  background: var(--glass); backdrop-filter: blur(12px);
  color: var(--white); padding: 10px 18px; border-radius: 10px;
  font-size: 13px; font-weight: 500;
}

/* ============================================================
   CTA FULLWIDTH
   ============================================================ */
.cta-fullwidth {
  position: relative; min-height: 480px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(12,27,51,0.55), rgba(232,96,28,0.3));
}
.cta-content {
  position: relative; z-index: 2; text-align: center;
  padding: 64px 24px; max-width: 640px;
}
.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px); font-weight: 900;
  color: var(--white); margin-bottom: 18px;
}
.cta-content p {
  font-size: 17px; color: rgba(255,255,255,0.8); line-height: 1.75; margin-bottom: 32px;
}

/* ============================================================
   PRENOTAZIONE
   ============================================================ */
.section-booking { background: var(--off-white); }
.booking-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.booking-info { padding-top: 20px; }
.booking-features { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.bf { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--text-light); }
.bf svg { color: #4ADE80; flex-shrink: 0; }
.booking-contact-alt { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--warm-gray); }
.booking-contact-alt p { font-size: 14px; color: var(--medium-gray); margin-bottom: 8px; }
.booking-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 24px; font-weight: 500;
  color: var(--navy); transition: all 0.3s var(--ease);
}
.booking-phone:hover { color: var(--orange); transform: translateX(4px); }

/* ── Form ── */
.booking-form-wrap {
  background: var(--white); border-radius: var(--radius-xl); padding: 44px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(12,27,51,0.05);
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.booking-form-wrap:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 64px rgba(12,27,51,0.14);
}
.booking-form-wrap::before {
  content: ''; position: absolute; top: 0; left: 36px; right: 36px; height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  border-radius: 0 0 4px 4px;
}
.form-title {
  font-family: var(--font-display); font-size: 28px; font-weight: 700;
  color: var(--navy); margin-bottom: 30px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600; color: var(--navy);
  margin-bottom: 6px; letter-spacing: 0.3px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; font-family: var(--font-body); font-size: 15px; padding: 14px 16px;
  border: 1.5px solid var(--warm-gray); border-radius: var(--radius);
  background: var(--off-white); color: var(--text); outline: none;
  transition: all 0.3s var(--ease);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--orange); box-shadow: 0 0 0 4px rgba(232,96,28,0.08);
  background: var(--white); transform: translateY(-1px);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--medium-gray); }
.checkbox-label {
  display: flex !important; align-items: center; gap: 10px;
  font-size: 14px !important; font-weight: 500 !important; color: var(--text-light) !important; cursor: pointer;
}
.checkbox-label input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--orange); }
.form-disclaimer {
  font-size: 12px; color: var(--medium-gray); text-align: center;
  margin-top: 16px; line-height: 1.5;
}
.form-disclaimer a { color: var(--orange); text-decoration: underline; }

/* ── Trust signals inline ── */
.trust-signals {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 16px; padding: 16px;
  background: #f8faf8; border-radius: var(--radius);
  border: 1px solid rgba(46,125,50,0.12);
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-light);
}
.trust-item svg { flex-shrink: 0; }

/* ── Estimate Result ── */
.estimate-result {
  margin-top: 24px; padding: 24px;
  background: linear-gradient(135deg, rgba(12,27,51,0.03), rgba(232,96,28,0.03));
  border: 1.5px solid rgba(22,163,74,0.2);
  border-radius: var(--radius-lg);
  animation: slideUp 0.5s var(--ease-out);
}
.estimate-header {
  display: flex; align-items: center; gap: 10px;
  color: #16a34a; font-weight: 700; font-size: 16px;
  margin-bottom: 20px;
  padding-bottom: 14px; border-bottom: 1px solid var(--warm-gray);
}
.estimate-routes { margin-bottom: 18px; }
.estimate-route {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
}
.er-dot {
  width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0;
}
.er-dot-green { background: #16a34a; box-shadow: 0 0 8px rgba(22,163,74,0.3); }
.er-dot-purple { background: #6366f1; box-shadow: 0 0 8px rgba(99,102,241,0.3); }
.er-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--medium-gray); display: block; }
.er-detail { font-size: 15px; font-weight: 600; color: var(--navy); }
.estimate-breakdown {
  border-top: 1px dashed var(--warm-gray); padding-top: 14px; margin-bottom: 14px;
}
.eb-row {
  display: flex; justify-content: space-between; padding: 6px 0;
  font-size: 14px; color: var(--text-light);
}
.eb-row span:last-child { font-weight: 600; color: var(--text); font-family: var(--font-mono); }
.estimate-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; background: var(--navy); border-radius: var(--radius);
  color: var(--white); margin-bottom: 12px;
}
.estimate-total span:first-child { font-size: 16px; font-weight: 600; }
.estimate-price {
  font-family: var(--font-display); font-size: 32px; font-weight: 900;
  color: var(--orange-light);
}
.estimate-note {
  font-size: 12px; color: var(--medium-gray); line-height: 1.5;
  text-align: center; margin-bottom: 20px;
}
.estimate-book {
  border-top: 1.5px solid var(--warm-gray); padding-top: 24px;
  animation: slideUp 0.4s var(--ease-out);
}
.estimate-book h4 {
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  color: var(--navy); margin-bottom: 20px;
}
.estimate-error {
  margin-top: 16px; padding: 14px 18px;
  background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2);
  border-radius: var(--radius); color: #dc2626;
  font-size: 14px; text-align: center;
  animation: slideUp 0.3s var(--ease-out);
}
.return-field { animation: slideUp 0.3s var(--ease-out); }

/* Loading state for calc button */
.btn-loading {
  pointer-events: none; opacity: 0.8;
}

/* ============================================================
   CERTIFICAZIONI
   ============================================================ */
.section-certs { background: var(--white); }
.certs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 52px; }
.cert-card {
  text-align: center; padding: 44px 28px; border-radius: var(--radius-lg);
  background: var(--off-white); border: 1px solid var(--warm-gray);
  transition: all 0.4s var(--ease); position: relative; overflow: hidden;
}
.cert-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: var(--navy); transform: scaleX(0); transition: transform 0.4s var(--ease);
  transform-origin: left;
}
.cert-card:hover::before { transform: scaleX(1); }
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--navy); }
.cert-badge {
  display: inline-block; font-family: var(--font-mono); font-size: 18px; font-weight: 500;
  color: var(--navy); background: var(--white);
  border: 2px solid var(--navy); border-radius: var(--radius); padding: 8px 20px; margin-bottom: 20px;
  transition: all 0.3s;
}
.cert-card:hover .cert-badge { background: var(--navy); color: var(--white); }
.cert-card h3 { font-family: var(--font-display); font-size: 20px; color: var(--navy); margin-bottom: 14px; }
.cert-card p { font-size: 15px; color: var(--text-light); line-height: 1.75; }
.cert-card-link { text-decoration: none; display: block; cursor: pointer; }
.cert-link-label {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s var(--ease);
}
.cert-card:hover .cert-link-label { opacity: 1; transform: translateY(0); }
.certs-logo { text-align: center; max-width: 500px; margin: 0 auto; }
.certs-logo img { width: 100%; border-radius: var(--radius-lg); }

/* ============================================================
   CONTATTI
   ============================================================ */
.section-contact { background: var(--off-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contact-items { display: flex; flex-direction: column; gap: 18px; margin-top: 32px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px; padding: 18px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); border-left: 3px solid transparent;
  transition: all 0.4s var(--ease);
}
.contact-item:hover { transform: translateX(6px); border-left-color: var(--orange); }
.ci-icon {
  flex-shrink: 0; width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--white);
}
.contact-item strong { display: block; font-size: 17px; margin-bottom: 3px; }
.contact-item span, .contact-item a { font-size: 15px; color: var(--text-light); transition: color 0.3s; }
.contact-item a:hover { color: var(--orange); }
.contact-map { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); height: 440px; }
.map-placeholder { height: 100%; }
.map-placeholder img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.map-placeholder:hover img { transform: scale(1.03); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.6); }
.footer-inner { max-width: 1240px; margin: 0 auto; padding: 52px 24px 36px; }
.footer-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 36px; }
.footer-logo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.08); }
.footer-brand strong { display: block; color: var(--white); font-size: 16px; }
.footer-brand span { font-size: 13px; }
.footer-links {
  display: flex; gap: 28px; padding-bottom: 32px; margin-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-links a { font-size: 14px; transition: color 0.3s; position: relative; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: var(--orange); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-50px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(50px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale {
  opacity: 0; transform: scale(0.9);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .topbar-brand { display: none; }
  .topbar-links { margin: 0 auto; }
  .qc-grid { grid-template-columns: 1fr; }
  .qc-item { border-right: none; border-bottom: 1px solid var(--warm-gray); }
  .qc-item:last-child { border-bottom: none; }
  .nav-links {
    position: fixed; top: 0; right: -100%;
    width: 300px; height: 100vh; background: var(--navy-dark);
    flex-direction: column; padding: 100px 36px 36px; gap: 24px;
    transition: right 0.4s var(--ease); z-index: 999;
    box-shadow: -8px 0 40px rgba(0,0,0,0.3);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 18px; color: var(--white); }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-toggle { display: flex; z-index: 1001; }
  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-images { height: 360px; }
  .services-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; }
  .fleet-stats { grid-template-columns: repeat(2, 1fr); }
  .fleet-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .fleet-item-large { grid-column: span 2; }
  .fleet-item { height: 200px; }
  .booking-layout { grid-template-columns: 1fr; gap: 40px; }
  .certs-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-map { height: 280px; }
  .stats-inner { gap: 24px; }
  .stat-divider { display: none; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .hero-title { font-size: 36px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; }
  .form-row:not([style]) { grid-template-columns: 1fr; }
  .booking-form-wrap { padding: 24px; }
  .stats-inner { flex-direction: column; gap: 20px; }
  .fleet-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .fleet-stat { padding: 16px 12px; }
  .fleet-stat-number { font-size: 32px; }
  .fleet-gallery { grid-template-columns: 1fr; }
  .fleet-item-large { grid-column: auto; }
  .fleet-item { height: 200px; }
  .about-images { height: auto; position: static; display: flex; flex-direction: column; gap: 12px; }
  .about-img-main, .about-img-secondary { position: static; width: 100%; }
  .about-img-main img, .about-img-secondary img { height: 200px; }
  .about-images::before { display: none; }
  .topbar { display: none; }
  .navbar { top: 0 !important; }
  .cursor-glow { display: none; }
}

/* ============================================================
   BOOKING CALENDAR & SLOTS
   ============================================================ */
.bk-calendar { background: #fff; border: 1.5px solid #e0e0e0; border-radius: 12px; overflow: hidden; }
.bk-cal-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #0C1B33; color: #fff; }
.bk-cal-header span { font-weight: 700; font-size: 15px; }
.bk-cal-nav { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; padding: 0 8px; line-height: 1; }
.bk-cal-nav:hover { color: #E8601C; }
.bk-cal-days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 12px; font-weight: 600; color: #888; padding: 8px 8px 4px; gap: 2px; }
.bk-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 4px 8px 12px; }
.bk-cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; background: none; color: #333; transition: all 0.15s; }
.bk-cal-day:hover:not(:disabled) { background: rgba(232,96,28,0.12); color: #E8601C; }
.bk-cal-day.selected { background: #E8601C; color: #fff; }
.bk-cal-day.today { border: 2px solid #1565C0; }
.bk-cal-day:disabled { color: #ccc; cursor: default; }
.bk-cal-day.empty { visibility: hidden; }
.bk-slots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.bk-slot { padding: 16px 8px; text-align: center; border-radius: 12px; border: 1.5px solid #e0e0e0; background: #fff; cursor: pointer; font-size: 18px; font-weight: 700; color: #333; transition: all 0.15s; }
.bk-slot:hover { border-color: #1565C0; color: #1565C0; }
.bk-slot.selected { background: #1565C0; color: #fff; border-color: #1565C0; }
.bk-slot .slot-avail { display: block; font-size: 10px; font-weight: 400; color: #888; margin-top: 2px; }
.bk-slot.selected .slot-avail { color: rgba(255,255,255,0.7); }
@media (max-width: 768px) { .bk-slots { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .bk-slots { grid-template-columns: repeat(3, 1fr); } }

/* Payment options */
.bk-payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bk-pay-option {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 16px 12px; border-radius: 10px; border: 2px solid #e0e0e0;
  cursor: pointer; transition: all 0.2s; text-align: center; background: #fff;
}
.bk-pay-option input { display: none; }
.bk-pay-option:hover { border-color: #1565C0; }
.bk-pay-option.selected { border-color: #1565C0; background: rgba(21,101,192,0.05); }
.bk-pay-icon { color: #1565C0; }
.bk-pay-option span { font-weight: 700; font-size: 14px; color: #0C1B33; }
.bk-pay-option small { font-size: 11px; color: #888; }

/* Success */
.bk-success { text-align: center; padding: 32px 16px; }
.bk-success-icon { margin-bottom: 16px; }
.bk-success h3 { font-size: 22px; font-weight: 800; color: #2E7D32; margin-bottom: 8px; }
.bk-success p { color: #666; font-size: 14px; margin-bottom: 20px; }
.bk-success-details {
  text-align: left; background: #F5F7FA; border-radius: 10px; padding: 16px;
  font-size: 14px; line-height: 1.8;
}
.bk-success-details strong { color: #0C1B33; }

/* ============================================================
   CANDIDATURA MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-content {
  background: #fff; border-radius: 16px; padding: 32px;
  max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
}
.modal-content h3 { font-size: 1.6rem; margin-bottom: 4px; color: #0C1B33; }
.modal-subtitle { font-size: 14px; color: #888; margin-bottom: 20px; }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; font-size: 28px; color: #999;
  cursor: pointer; line-height: 1;
}
.modal-close:hover { color: #333; }
.modal-content select {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid #e0e0e0; font-size: 15px;
  background: #fff; color: #0C1B33;
}
.modal-content input[type="file"] {
  width: 100%; padding: 10px; border: 1.5px dashed #ccc;
  border-radius: 10px; cursor: pointer;
}
@media (max-width: 480px) {
  .modal-content { padding: 20px; }
  .modal-content h3 { font-size: 1.3rem; }
}

/* ============================================================
   TESTIMONIANZE
   ============================================================ */
.section-testimonials { background: var(--off-white); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.testimonials-scroll {
  overflow-x: auto; overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--orange) transparent;
  padding-bottom: 12px; margin: 0 -24px; padding-left: 24px; padding-right: 24px;
}
.testimonials-scroll::-webkit-scrollbar { height: 8px; }
.testimonials-scroll::-webkit-scrollbar-track { background: rgba(0,0,0,0.04); border-radius: 4px; }
.testimonials-scroll::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 4px; }
.testimonials-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(340px, 380px);
  gap: 20px; align-items: stretch;
}
.testimonials-track .testimonial-card { height: 100%; min-height: 240px; }
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px;
  border: 1px solid rgba(0,0,0,0.06); position: relative;
  transition: all 0.4s var(--ease);
  display: flex; flex-direction: column;
}
.testimonial-card::before {
  content: '\201C'; position: absolute; top: 16px; right: 24px;
  font-family: var(--font-display); font-size: 72px; line-height: 1;
  color: var(--orange); opacity: 0.1;
}
.testimonial-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
}
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.testimonial-text {
  font-size: 14.5px; line-height: 1.7; color: var(--text-light);
  font-style: italic; margin-bottom: 20px;
  flex-grow: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white); font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 1px;
}
.testimonial-author strong { display: block; font-size: 15px; color: var(--navy); }
.testimonial-author span { font-size: 13px; color: var(--medium-gray); }
.testimonials-cta { text-align: center; margin-top: 40px; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  border: 2px solid var(--navy); color: var(--navy);
  font-size: 14px; font-weight: 600; letter-spacing: 0.5px;
  transition: all 0.3s var(--ease);
}
.btn-outline:hover {
  background: var(--navy); color: var(--white);
}
@media (max-width: 960px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SPONSOR / PARTNER
   ============================================================ */
.section-sponsors {
  background: var(--white);
}
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: center;
  justify-items: center;
  max-width: 960px;
  margin: 0 auto;
}
.sponsor-item {
  width: 100%;
  max-width: 160px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  filter: grayscale(60%);
  opacity: 0.7;
}
.sponsor-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-4px) scale(1.12);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.sponsor-item img {
  width: 100%;
  height: 60px;
  object-fit: contain;
}
@media (max-width: 768px) {
  .sponsors-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .sponsor-item img { height: 48px; }
}
@media (max-width: 480px) {
  .sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .sponsor-item { padding: 12px; }
  .sponsor-item img { height: 40px; }
}

/* ============================================================
   DOCUMENTI / PROGETTI
   ============================================================ */
.section-docs {
  background: var(--off-white);
}
.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.doc-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.06);
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s var(--ease);
  position: relative;
}
.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}
.doc-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.doc-icon svg {
  stroke: white;
}
.doc-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}
.doc-info p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}
.doc-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--navy);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}
@media (max-width: 960px) {
  .docs-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 10001;
  background: var(--navy-dark); color: rgba(255,255,255,0.85);
  padding: 0;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-spring);
  box-shadow: 0 -4px 40px rgba(0,0,0,0.3);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-inner {
  max-width: 1240px; margin: 0 auto; padding: 24px 24px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.cookie-text {
  flex: 1; min-width: 280px; font-size: 14px; line-height: 1.6;
}
.cookie-text a { color: var(--orange-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-btn {
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  padding: 10px 24px; border-radius: var(--radius); border: none;
  cursor: pointer; transition: all 0.3s var(--ease);
}
.cookie-btn-accept {
  background: var(--orange); color: var(--white);
  box-shadow: 0 2px 12px rgba(232,96,28,0.3);
}
.cookie-btn-accept:hover { background: var(--orange-dark); transform: translateY(-1px); }
.cookie-btn-reject {
  background: transparent; color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.15);
}
.cookie-btn-reject:hover { border-color: rgba(255,255,255,0.4); color: var(--white); }
.cookie-btn-settings {
  background: transparent; color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.25);
  text-decoration: underline;
}
.cookie-btn-settings:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }

/* Cookie Preferences Panel */
.cookie-prefs-overlay {
  position: fixed; inset: 0; z-index: 10002;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.cookie-prefs {
  background: var(--white); border-radius: 16px; padding: 32px;
  max-width: 520px; width: 100%; max-height: 80vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.cookie-prefs h3 { font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 8px; color: var(--navy-dark); }
.cookie-prefs > p { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 20px; }
.cookie-pref-item {
  border: 1px solid #e5e7eb; border-radius: 10px; padding: 16px; margin-bottom: 12px;
}
.cookie-pref-item label {
  display: flex; align-items: center; gap: 10px; cursor: pointer; margin-bottom: 6px;
}
.cookie-pref-item label input[type="checkbox"] {
  width: 18px; height: 18px; accent-color: var(--navy);
}
.cookie-pref-item label strong { font-size: 15px; }
.cookie-pref-item > span { font-size: 13px; color: #888; line-height: 1.5; display: block; padding-left: 28px; }
.cookie-prefs-actions {
  display: flex; gap: 12px; justify-content: flex-end; margin-top: 20px;
}
.cookie-prefs-actions .cookie-btn-reject {
  color: #666; border-color: #ddd;
}
.cookie-prefs-actions .cookie-btn-reject:hover { color: #333; border-color: #bbb; }

/* Cookie Settings Button (bottom-left) */
.cookie-settings-btn {
  position: fixed; bottom: 20px; left: 20px; z-index: 9999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-dark); color: var(--white); border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  transition: all 0.3s var(--ease); opacity: 0.7;
}
.cookie-settings-btn:hover { opacity: 1; transform: scale(1.1); }

/* ── Custom Autocomplete Dropdown ── */
.ac-dropdown {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border: 1.5px solid var(--warm-gray);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 12px 36px rgba(12,27,51,0.12);
  z-index: 100; display: none; max-height: 280px; overflow-y: auto;
  margin-top: -2px;
}
.ac-item {
  padding: 12px 16px; cursor: pointer;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: background 0.15s;
  display: flex; flex-direction: column; gap: 2px;
}
.ac-item:last-child { border-bottom: none; }
.ac-item:hover { background: rgba(232,96,28,0.06); }
.ac-item strong {
  font-size: 14px; font-weight: 600; color: var(--navy);
}
.ac-item span {
  font-size: 12px; color: var(--medium-gray);
}

/* ── Print ── */
@media print {
  .navbar, .topbar, .hero-scroll-hint, .cursor-glow, .hero-particles { display: none; }
  .hero { min-height: auto; padding: 60px 0; }
  .section { padding: 40px 0; }
}
