/* =============================================
   SOSAWORLDRENT — Design System
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg:           #06060F;
  --bg-2:         #0D0D1E;
  --bg-card:      rgba(255,255,255,0.04);
  --bg-card-hover:rgba(255,255,255,0.07);
  --pink:         #FF2D9B;
  --pink-soft:    rgba(255,45,155,0.15);
  --pink-glow:    rgba(255,45,155,0.4);
  --purple:       #9333EA;
  --blue:         #4F46E5;
  --text:         #F8F8FF;
  --text-muted:   rgba(248,248,255,0.55);
  --border:       rgba(255,45,155,0.18);
  --border-soft:  rgba(255,255,255,0.06);
  --radius:       16px;
  --radius-sm:    10px;
  --radius-lg:    24px;
  --nav-h:        72px;
  --transition:   0.25s cubic-bezier(0.4,0,0.2,1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Typography ---- */
h1,h2,h3,h4 { line-height: 1.15; font-weight: 800; }
h1 { font-size: clamp(1.75rem, 5vw, 4rem); }
h2 { font-size: clamp(1.4rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1rem, 2vw, 1.6rem); }
h4 { font-size: clamp(0.95rem, 1.5vw, 1.1rem); font-weight: 700; }
p { color: var(--text-muted); line-height: 1.75; font-size: clamp(0.9rem, 1.2vw, 1rem); }

.logo-font {
  font-family: 'Pacifico', cursive;
  font-size: 1.6rem;
  font-weight: 400;
  color: #FF2D9B;
  text-decoration: none;
  letter-spacing: 0;
  text-shadow:
    0 0 6px #FF2D9B,
    0 0 14px rgba(255,45,155,0.9),
    0 0 30px rgba(255,45,155,0.6),
    0 0 60px rgba(255,45,155,0.3),
    0 0 3px rgba(255,255,255,0.8);
}

/* Logo immagine nel nav */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 68px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(255,45,155,0.7));
  transition: filter var(--transition);
}
.nav-logo:hover .logo-img {
  filter: drop-shadow(0 0 18px rgba(255,45,155,1)) drop-shadow(0 0 35px rgba(255,45,155,0.5));
}

.gradient-text {
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 96px 0; }
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-sub { font-size: 1.05rem; max-width: 580px; }
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }

/* ---- Navigation ---- */
.nav, .navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), backdrop-filter var(--transition);
}
.nav.scrolled, .navbar.scrolled {
  background: rgba(6,6,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner, .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  background: var(--bg-card);
}
.nav-cta {
  background: var(--pink);
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: transform var(--transition), box-shadow var(--transition) !important;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px var(--pink-glow) !important;
  background: var(--pink) !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(6,6,15,0.97);
  backdrop-filter: blur(20px);
  padding: 24px;
  z-index: 999;
  border-bottom: 1px solid var(--border-soft);
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 12px 16px;
  border-radius: 10px;
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--text); background: var(--bg-card); }
.mobile-menu .nav-cta {
  text-align: center;
  margin-top: 8px;
}

/* Mobile navbar optimization */
@media (max-width: 768px) {
  .navbar { --nav-h: 64px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-container { padding: 0 16px; }
  .nav-links a { font-size: 0.85rem; padding: 6px 12px; }
  .nav-cta { padding: 8px 16px !important; font-size: 0.8rem !important; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--pink);
  color: #fff;
  /* Dark mode default: neon pink glow */
  box-shadow: 0 0 14px rgba(255,45,155,0.45), 0 4px 16px rgba(255,45,155,0.3);
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(255,255,255,0.25), 0 0 20px rgba(255,45,155,0.7), 0 8px 30px rgba(255,45,155,0.4);
}
/* Light mode: glow verso il basso/nero, niente aloni bianchi */
@media (prefers-color-scheme: light) {
  .btn-primary {
    box-shadow: 0 4px 16px rgba(180,0,80,0.35), 0 2px 8px rgba(0,0,0,0.2);
  }
  .btn-primary:hover {
    box-shadow: 0 6px 24px rgba(180,0,80,0.5), 0 4px 16px rgba(0,0,0,0.25);
  }
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  background: var(--bg-card);
  border-color: var(--pink);
  color: var(--pink);
}
.btn-ghost {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border-soft);
}
.btn-ghost:hover {
  background: var(--bg-card-hover);
}
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* Mobile button optimization — ensure 44px+ touch targets */
@media (max-width: 768px) {
  .btn-lg { padding: 14px 24px; font-size: 0.95rem; min-height: 48px; }
  .btn-sm { padding: 12px 18px; font-size: 0.8rem; min-height: 44px; }
  .btn { padding: 12px 20px; min-height: 44px; gap: 6px; }
}

/* ---- Cards ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.card:hover {
  border-color: var(--border);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--pink-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 30%, rgba(147,51,234,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(255,45,155,0.12) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pink-soft);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pink);
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pink);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero h1 { margin-bottom: 24px; }
.hero p { font-size: 1.1rem; max-width: 540px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--pink), transparent);
  animation: scrollLine 2s ease infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 32px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
  gap: 0;
  text-align: center;
}
.stat-item {
  padding: 16px 24px;
  border-right: 1px solid var(--border-soft);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--pink);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---- Services Grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: 20px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover {
  border-color: var(--border);
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(255,45,155,0.08);
}
.service-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 12px; font-size: 1.3rem; }
.service-card p { font-size: 0.93rem; margin-bottom: 24px; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pink);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap var(--transition);
}
.service-link:hover { gap: 10px; }

/* Mobile services optimization */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .service-card {
    padding: 24px;
  }
  .service-icon {
    font-size: 2rem;
    margin-bottom: 16px;
  }
  .service-card h3 {
    font-size: 1.1rem;
  }
}

/* ---- Flotta Cards ---- */
.flotta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px,1fr));
  gap: 24px;
}

/* Mobile flotta optimization */
@media (max-width: 768px) {
  .flotta-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.car-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.car-card:hover {
  border-color: var(--border);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.car-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}
.car-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 3rem;
  position: relative;
}
.car-img-placeholder::after {
  content: 'FOTO IN ARRIVO';
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--pink);
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
}
.car-img-placeholder img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Nasconde "FOTO IN ARRIVO" quando è presente una foto reale */
.car-img-placeholder:has(img)::after {
  display: none;
}
.car-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--pink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}
.car-body { padding: 24px; }
.car-name { font-size: 1.25rem; font-weight: 800; margin-bottom: 4px; }
.car-desc { font-size: 0.88rem; margin-bottom: 20px; }
.car-specs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.spec-pill {
  background: var(--bg-2);
  border: 1px solid var(--border-soft);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.spec-pill.highlight {
  background: var(--pink-soft);
  border-color: var(--border);
  color: var(--pink);
}
.car-footer {
  display: flex;
  gap: 10px;
}
.car-footer .btn { flex: 1; justify-content: center; }

/* ---- Steps ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 24px;
  position: relative;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
}
.step-number {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 20px;
}
.step-card h3 { margin-bottom: 12px; }

/* ---- Form ---- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-input {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color var(--transition);
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px var(--pink-soft);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ---- Why Choose Us ---- */
.why-list { display: flex; flex-direction: column; gap: 16px; }
.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  transition: var(--transition);
}
.why-item:hover { border-color: var(--border); }
.why-dot {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--pink-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.why-item p { font-size: 0.9rem; }

/* ---- CTA Band ---- */
.cta-band {
  background: linear-gradient(135deg, rgba(255,45,155,0.12) 0%, rgba(147,51,234,0.12) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { font-size: 1.05rem; max-width: 520px; margin: 0 auto 36px; }
.cta-band-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- Feature Pills ---- */
.feature-pills { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.feature-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}
.feature-pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); }

/* ---- Orari ---- */
.orari-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.orari-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.95rem;
}
.orari-row:last-child { border-bottom: none; }
.orari-day { font-weight: 600; }
.orari-time { color: var(--text-muted); }
.orari-closed { color: var(--pink); font-weight: 600; }

/* ---- Contact Cards ---- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 20px;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
}
.contact-card:hover { border-color: var(--border); transform: translateY(-4px); }
.contact-icon {
  font-size: 1.8rem;
  width: 52px;
  height: 52px;
  background: var(--pink-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.contact-card p { font-size: 1rem; font-weight: 600; color: var(--text); margin: 0; }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(147,51,234,0.14) 0%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { font-size: 1.1rem; max-width: 580px; }

/* ---- Footer ---- */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border-soft);
  padding: 60px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 0.9rem;
  margin-top: 14px;
  max-width: 260px;
}
.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--pink); }
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---- WhatsApp Float ---- */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  font-size: 1.6rem;
}
.wa-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 10px 32px rgba(37,211,102,0.5);
}

/* ---- Spec Table ---- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
}
.spec-table tr { border-bottom: 1px solid var(--border-soft); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td {
  padding: 12px 8px;
  font-size: 0.9rem;
}
.spec-table td:first-child { color: var(--text-muted); font-weight: 500; }
.spec-table td:last-child { font-weight: 700; text-align: right; text-transform: capitalize; }

/* ---- Divider ---- */
.divider {
  border: none;
  border-top: 1px solid var(--border-soft);
  margin: 0;
}

/* ---- Two-col layout ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ---- Highlight Box ---- */
.highlight-box {
  background: linear-gradient(135deg, rgba(255,45,155,0.08) 0%, rgba(147,51,234,0.08) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

/* ---- Animation helpers ---- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col.reverse { direction: ltr; }
  section { padding: 64px 0; }
}

/* Mobile nav dropdown for new .navbar style */
@media (max-width: 900px) {
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(6,6,15,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-soft);
    padding: 1rem 24px 1.5rem;
    gap: 4px;
    z-index: 999;
    animation: slideDown 0.2s ease;
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a {
    display: block;
    padding: 10px 12px;
    font-size: 1rem;
    border-radius: 8px;
    width: 100%;
  }
  .nav-links.open .btn {
    margin-top: 8px;
    width: 100%;
    justify-content: center;
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-band-actions { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border-soft); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border-soft); border-right: none; }
}

/* =============================================
   HERO VISUAL — Car Animation
   ============================================= */

/* Two-column layout nella hero */
.hero .container {
  display: flex;
  align-items: center;
  gap: 48px;
}
.hero .hero-content {
  flex: 1 1 auto;
  max-width: 580px;
}
.hero-visual {
  flex: 0 0 480px;
  position: relative;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}

/* Float animation wrapper */
.car-anim-wrap {
  position: relative;
  animation: carFloat 4s ease-in-out infinite;
}
@keyframes carFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

/* Speed lines */
.speed-lines-wrap {
  position: absolute;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}
.speed-line {
  position: absolute;
  height: 1.5px;
  border-radius: 100px;
  background: linear-gradient(to left, transparent, rgba(255,45,155,0.7), rgba(147,51,234,0.4), transparent);
  opacity: 0;
  animation: speedShoot 2.2s linear infinite;
}
.sl-1 { width: 110px; top: 42%; left: -120px; animation-delay: 0s; }
.sl-2 { width: 160px; top: 56%; left: -170px; animation-delay: 0.45s; }
.sl-3 { width: 85px;  top: 36%; left: -100px; animation-delay: 0.9s; }
.sl-4 { width: 130px; top: 64%; left: -145px; animation-delay: 1.35s; }
.sl-5 { width: 95px;  top: 28%; left: -110px; animation-delay: 1.8s; }
.sl-6 { width: 70px;  top: 50%; left: -85px;  animation-delay: 1.1s; }
@keyframes speedShoot {
  0%   { transform: translateX(0);     opacity: 0; }
  10%  { opacity: 1; }
  85%  { opacity: 0.6; }
  100% { transform: translateX(-340px); opacity: 0; }
}

/* Ground glow */
.car-ground-glow {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  height: 24px;
  background: radial-gradient(ellipse, rgba(255,45,155,0.22) 0%, transparent 70%);
  filter: blur(10px);
  border-radius: 50%;
}

/* Contact buttons (WA + Email) */
.contact-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Responsive hero visual */
@media (max-width: 1100px) {
  .hero-visual { flex: 0 0 380px; }
}
@media (max-width: 840px) {
  .hero .container { flex-direction: column-reverse; gap: 24px; }
  .hero-visual { flex: 0 0 auto; width: 100%; max-width: 320px; opacity: 0.65; }
  .hero .hero-content { max-width: 100%; }
}

/* =============================================
   COOKIE BANNER
   ============================================= */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: rgba(13,13,30,0.97);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(16px);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  padding: 1.25rem 1rem;
}
#cookie-banner.cookie-banner-show { transform: translateY(0); }
#cookie-banner.cookie-banner-hide { transform: translateY(110%); }
.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner-inner p {
  flex: 1;
  font-size: 0.88rem;
  color: var(--text-muted);
  min-width: 260px;
  line-height: 1.6;
}
.cookie-banner-inner p a { color: var(--pink); text-decoration: underline; }
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.cookie-banner-link {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: underline;
  cursor: pointer;
  white-space: nowrap;
}
.cookie-banner-link:hover { color: var(--text); }
@media (max-width: 600px) {
  .cookie-banner-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .cookie-banner-actions { width: 100%; }
}

/* =============================================
   MOBILE ULTRA-SMALL (iPhone SE, devices < 375px)
   ============================================= */
@media (max-width: 375px) {
  /* Adjust container padding for very small screens */
  .container { padding: 0 16px; }

  /* Reduce heading sizes slightly */
  h1 { font-size: clamp(1.75rem, 4vw, 2.2rem); }
  h2 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }

  /* Stack hero content better */
  .hero-actions { gap: 12px; }
  .hero-actions .btn { font-size: 0.9rem; padding: 10px 16px; }

  /* Feature pills single line */
  .feature-pills { gap: 8px; flex-wrap: wrap; }
  .feature-pill { font-size: 0.75rem; padding: 4px 10px; }

  /* Reduce section padding */
  section { padding: 64px 0; }

  /* Services grid single column */
  .services-grid { grid-template-columns: 1fr; }

  /* Touch target size optimization — minimum 44px height */
  .btn { min-height: 44px; display: flex; align-items: center; justify-content: center; }

  /* Navigation touch targets */
  .nav-links a { padding: 12px 16px; min-height: 44px; display: flex; align-items: center; }
}

/* =============================================
   ULTRA-WIDESCREEN (>1400px)
   ============================================= */
@media (min-width: 1400px) {
  .container { max-width: 1400px; }

  /* Expand hero spacing */
  .hero .container { gap: 80px; }
  .hero-visual { flex: 0 0 560px; }

  /* Larger typography for better hierarchy */
  h1 { font-size: 4.2rem; }
  h2 { font-size: 3rem; }

  /* Enhanced spacing */
  section { padding: 120px 0; }

  /* More generous gaps in grids */
  .services-grid { gap: 40px; }
  .feature-pills { gap: 16px; }
}
