/* ==========================================================================
   DAYTONA RENT — TEMA WORDPRESS
   Palette: Nero (#0a0a0b), Grigio antracite (#1c1c1f), Rosso (#e10600), Bianco
   Portato 1:1 dal prototipo statico, adattato per WordPress.
   ========================================================================== */

/* ---------- 1. RESET & VARIABILI ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #0a0a0b;
  --black-soft: #111113;
  --anthracite: #1c1c1f;
  --anthracite-light: #26262a;
  --grey: #6b6b70;
  --grey-light: #a8a8ad;
  --white: #f5f5f5;
  --white-pure: #ffffff;
  --red: #e10600;
  --red-light: #ff3b30;
  --red-dark: #a30400;

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --shadow-sm: 0 4px 16px rgba(0,0,0,0.25);
  --shadow-md: 0 12px 40px rgba(0,0,0,0.35);
  --shadow-red: 0 10px 30px rgba(225,6,0,0.35);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 820px; }

.text-gradient {
  background: linear-gradient(90deg, var(--red-light), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* admin bar offset */
.admin-bar .navbar { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .navbar { top: 46px; }
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* ---------- 2. PRELOADER ---------- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.preloader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo-img {
  width: clamp(180px, 30vw, 280px);
  animation: pulseLogo 1.4s ease-in-out infinite;
}
@keyframes pulseLogo {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ---------- 3. NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: all 0.4s var(--ease);
}
.navbar.scrolled {
  padding: 14px 0;
  background: rgba(10,10,11,0.75);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-sm);
}
/* Scrim di leggibilità: sulle pagine con sfondo chiaro subito sotto la navbar
   (scheda auto, noleggio, riepilogo) il testo bianco del menu resterebbe
   altrimenti bianco-su-bianco finché non si scorre. */
.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.15) 70%, transparent 100%);
  opacity: 1;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.navbar.scrolled::before { opacity: 0; }
.nav-container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 46px; width: auto; transition: transform 0.3s var(--ease); }
.nav-logo:hover .nav-logo-img { transform: scale(1.05); }
.nav-logo-accent { color: var(--red); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--white);
  position: relative;
  opacity: 0.85;
  transition: opacity 0.3s var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.3s var(--ease);
}
.nav-link:hover { opacity: 1; }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  background: var(--red);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  opacity: 1 !important;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav-cta::after { display: none; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-red); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1100;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--white-pure);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(10,10,11,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-link {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white-pure);
  opacity: 0.9;
}
.mobile-link:hover { color: var(--red); }
.mobile-cta {
  background: var(--red);
  padding: 12px 32px;
  border-radius: var(--radius-full);
  margin-top: 10px;
}

/* ---------- 4. HERO ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 20s var(--ease) forwards;
  filter: grayscale(15%) contrast(1.05);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.65) 40%, rgba(10,10,11,0.95) 100%),
    linear-gradient(90deg, rgba(10,10,11,0.85) 0%, rgba(10,10,11,0.2) 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 880px;
  padding: 0 24px;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--red-light);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.hero-logo {
  width: clamp(220px, 30vw, 320px);
  margin: 0 auto 28px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5));
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white-pure);
  margin-bottom: 22px;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--grey-light);
  max-width: 620px;
  margin: 0 auto 40px;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* animate-on-load elements start hidden, JS reveals them */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-animate].in-view { opacity: 1; transform: translateY(0); }
.hero-content > [data-animate]:nth-child(1) { transition-delay: 0.1s; }
.hero-content > [data-animate]:nth-child(2) { transition-delay: 0.25s; }
.hero-content > [data-animate]:nth-child(3) { transition-delay: 0.4s; }
.hero-content > [data-animate]:nth-child(4) { transition-delay: 0.55s; }
.hero-content > [data-animate]:nth-child(5) { transition-delay: 0.7s; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white-pure);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--red-light);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(225,6,0,0.45);
}
.btn-outline {
  background: rgba(255,255,255,0.06);
  color: var(--white-pure);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-3px);
}
.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--anthracite);
}
.btn-outline-dark:hover {
  background: var(--black);
  color: var(--white-pure);
  transform: translateY(-3px);
}
.btn-lg { padding: 18px 38px; font-size: 1.05rem; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ---------- HERO STATS ---------- */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num, .stat-suffix {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--white-pure);
}
.stat-suffix { color: var(--red-light); }
.stat-label {
  font-size: 0.78rem;
  color: var(--grey-light);
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-indicator span {
  width: 4px; height: 8px;
  background: var(--red-light);
  border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; }
}

/* ---------- BRANDS MARQUEE ---------- */
.brands-strip {
  background: var(--black-soft);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0;
  overflow: hidden;
}
.brands-track {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 26px 0;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.brands-strip:hover .brands-track { animation-play-state: paused; }
.brand-chip {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.brand-logo {
  height: 44px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(35%);
  transition: opacity 0.3s var(--ease), filter 0.3s var(--ease), transform 0.3s var(--ease);
}
.brand-chip:hover .brand-logo {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.1);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 5. SECTION HEAD ---------- */
section { position: relative; padding: 120px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-tag {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.light-tag { color: var(--red-light); }
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  color: var(--white-pure);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-desc { color: var(--grey-light); font-size: 1.02rem; }
.section-head.light .section-title { color: var(--white-pure); }

/* ---------- 6. SERVICES ---------- */
.services { background: var(--white); }
.services .section-title { color: var(--black); }
.services .section-desc { color: var(--grey); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--black-soft);
  border-radius: var(--radius-lg);
  padding: 42px 32px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(225,6,0,0.3);
}
.service-card-highlight { background: linear-gradient(155deg, var(--anthracite), var(--black-soft)); }

.service-icon {
  width: 62px; height: 62px;
  border-radius: var(--radius-md);
  background: rgba(225,6,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--red-light);
  margin-bottom: 24px;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.service-card:hover .service-icon {
  transform: rotate(-8deg) scale(1.08);
  background: var(--red);
  color: var(--white-pure);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white-pure);
  margin-bottom: 12px;
}
.service-card p { color: var(--grey-light); font-size: 0.92rem; margin-bottom: 18px; }
.service-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--red-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s var(--ease);
}
.service-link:hover { gap: 12px; }

/* ---------- 7. WHY US ---------- */
.why { background: var(--anthracite); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.why-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.06); }
.why-icon-wrap {
  width: 84px; height: 84px;
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, var(--red-light), var(--red-dark));
  box-shadow: var(--shadow-red);
  animation: floatIcon 4s ease-in-out infinite;
}
.why-card:nth-child(2) .why-icon-wrap { animation-delay: 0.4s; }
.why-card:nth-child(3) .why-icon-wrap { animation-delay: 0.8s; }
.why-card:nth-child(4) .why-icon-wrap { animation-delay: 1.2s; }
@keyframes floatIcon {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(4deg); }
}
.why-icon { font-size: 1.8rem; color: var(--white-pure); }
.why-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--white-pure);
  margin-bottom: 10px;
}
.why-card p { color: var(--grey-light); font-size: 0.9rem; }

/* ---------- 8. FLEET ---------- */
.fleet { background: var(--white); }
.fleet .section-title { color: var(--black); }
.fleet .section-desc { color: var(--grey); }

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.fleet-card {
  background: var(--black-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  position: relative;
}
.fleet-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); }

.fleet-badge {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 2;
  background: var(--red);
  color: var(--white-pure);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}
.fleet-badge-sold { background: var(--anthracite-light); }

.fleet-img-wrap { overflow: hidden; height: 220px; }
.fleet-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
  filter: grayscale(20%);
}
.fleet-card:hover .fleet-img-wrap img { transform: scale(1.1); filter: grayscale(0%); }

.fleet-info { padding: 24px 26px 28px; }
.fleet-info h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--white-pure);
  margin-bottom: 6px;
}
.fleet-cat { color: var(--grey-light); font-size: 0.85rem; margin-bottom: 20px; }
.fleet-footer { display: flex; align-items: center; justify-content: space-between; }
.fleet-price { font-family: var(--font-display); font-weight: 700; color: var(--red-light); font-size: 1.1rem; }
.fleet-price span { color: var(--grey-light); font-size: 0.75rem; font-weight: 400; }

.btn-mini {
  background: rgba(255,255,255,0.08);
  color: var(--white-pure);
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.3s var(--ease);
}
.btn-mini:hover { background: var(--red); }

.fleet-cta { text-align: center; margin-top: 56px; }

/* ---------- 9. HOW IT WORKS (Timeline) ---------- */
.how { background: var(--anthracite); overflow: hidden; }
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(225,6,0,0.5) 0 10px, transparent 10px 20px);
}
.timeline-step {
  position: relative;
  text-align: center;
  padding: 0 12px;
}
.timeline-number {
  width: 88px; height: 88px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--black-soft);
  border: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--red-light);
  position: relative;
  z-index: 2;
  transition: transform 0.4s var(--ease);
}
.timeline-step:hover .timeline-number { transform: scale(1.1) rotate(6deg); background: var(--red); color: var(--white-pure); }
.timeline-icon { font-size: 1.3rem; color: var(--grey-light); margin-bottom: 14px; }
.timeline-step h3 { font-family: var(--font-display); font-weight: 600; color: var(--white-pure); margin-bottom: 10px; font-size: 1.05rem; }
.timeline-step p { color: var(--grey-light); font-size: 0.88rem; }

/* ---------- 10. TESTIMONIALS ---------- */
.testimonials { background: var(--white); }
.testimonials .section-title { color: var(--black); }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testi-card {
  background: var(--black-soft);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.4s var(--ease);
}
.testi-card:hover { transform: translateY(-6px); }
.testi-stars { color: var(--red-light); font-size: 0.85rem; margin-bottom: 18px; display: flex; gap: 4px; }
.testi-text { color: var(--grey-light); font-size: 0.95rem; margin-bottom: 26px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--red); }
.testi-author h4 { font-size: 0.95rem; color: var(--white-pure); font-weight: 600; }
.testi-author span { font-size: 0.8rem; color: var(--grey-light); }

/* ---------- 11. FAQ ---------- */
.faq { background: var(--anthracite); }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.faq-item.active { border-color: rgba(225,6,0,0.4); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--white-pure);
  text-align: left;
}
.faq-icon { color: var(--red-light); transition: transform 0.35s var(--ease); flex-shrink: 0; margin-left: 16px; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 0 26px;
}
.faq-item.active .faq-answer { max-height: 200px; padding: 0 26px 24px; }
.faq-answer p { color: var(--grey-light); font-size: 0.92rem; }

/* ---------- 12. CTA FINALE ---------- */
.cta-final {
  position: relative;
  text-align: center;
  padding: 140px 0;
  overflow: hidden;
}
.cta-final-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(225,6,0,0.25), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(225,6,0,0.18), transparent 50%),
    linear-gradient(160deg, var(--black-soft), var(--black));
  z-index: 0;
}
.cta-final .container { position: relative; z-index: 1; }
.cta-final-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--white-pure);
  margin: 16px 0 20px;
  line-height: 1.15;
}
.cta-final-desc { color: var(--grey-light); max-width: 520px; margin: 0 auto 40px; font-size: 1.02rem; }
.cta-final-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }

/* ---------- CONTACT FORM (Contact Form 7 — sezione CTA finale) ---------- */
.contact-form-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}
.contact-form-box .form-group { margin-bottom: 16px; }
.contact-form-box .wpcf7-form-control-wrap { display: block; }
.contact-form-box .wpcf7 .btn { width: 100%; justify-content: center; margin-top: 4px; }
.contact-form-box .wpcf7-not-valid-tip { color: var(--red-light); font-size: 0.82rem; margin-top: 6px; }
.contact-form-box .wpcf7-response-output {
  margin: 18px 0 0;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--grey-light);
  font-size: 0.9rem;
}
.contact-form-box form.sent .wpcf7-response-output { border-color: #2ecc71; color: #2ecc71; }
.contact-form-box form.failed .wpcf7-response-output,
.contact-form-box form.aborted .wpcf7-response-output { border-color: var(--red-light); color: var(--red-light); }
.contact-form-box .wpcf7-spinner { display: none; }

/* ---------- 13. FOOTER ---------- */
.footer { background: var(--black-soft); padding: 80px 0 0; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer-col a span { display: inline-block; line-height: 1.5; }
.footer-logo { display: inline-block; }
.footer-logo-img { height: 56px; width: auto; }
.footer-brand p { color: var(--grey-light); font-size: 0.9rem; margin: 18px 0 24px; max-width: 320px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-pure);
  transition: all 0.3s var(--ease);
}
.footer-social a:hover { background: var(--red); transform: translateY(-3px); }

.footer-col h4 {
  font-family: var(--font-display);
  color: var(--white-pure);
  font-size: 1rem;
  margin-bottom: 22px;
}
.footer-col a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--grey-light);
  font-size: 0.88rem;
  margin-bottom: 14px;
  transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: var(--red-light); }
.footer-col a i { margin-top: 3px; color: var(--red); flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--grey);
  font-size: 0.82rem;
}
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--red-light); }

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white-pure);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-red);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.35s var(--ease);
  z-index: 900;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--red-light); transform: translateY(-4px); }

/* ==========================================================================
   14. PAGINE INTERNE — Catalogo, Scheda Auto, Noleggio (breadcrumb, filtri,
   galleria prodotto, form, riepilogo prenotazione)
   ========================================================================== */

/* ---------- NAV ACTIVE STATE ---------- */
.nav-link.active { opacity: 1; }
.nav-link.active::after { width: 100%; }

/* ---------- PAGE HERO (banner di pagina, più basso della hero fullscreen) ---------- */
.page-hero {
  position: relative;
  padding: 170px 0 70px;
  background: linear-gradient(160deg, var(--black-soft), var(--anthracite));
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(225,6,0,0.18), transparent 55%);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  font-size: 0.85rem;
  color: var(--grey-light);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--grey-light); transition: color 0.3s var(--ease); }
.breadcrumb a:hover { color: var(--red-light); }
.breadcrumb span { color: var(--white-pure); }
.page-hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white-pure);
  margin-bottom: 14px;
}
.page-hero-desc { color: var(--grey-light); max-width: 620px; margin: 0 auto; }

/* ---------- RENTAL TOGGLE ---------- */
.rental-toggle {
  display: inline-flex;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  padding: 5px;
  margin: 28px 0 32px;
}
.rental-toggle-btn {
  padding: 11px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--grey-light);
  transition: all 0.3s var(--ease);
}
.rental-toggle-btn.active { background: var(--red); color: var(--white-pure); }

/* ---------- SEARCH WIDGET (noleggio) ---------- */
.search-widget {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 940px;
  margin: 0 auto;
  text-align: left;
}
.search-field { flex: 1 1 180px; display: flex; flex-direction: column; gap: 8px; }
.search-field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--grey-light);
  text-transform: uppercase;
}
.search-field input, .search-field select,
.form-input, .form-select, .form-textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--white-pure);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  width: 100%;
}
.search-field input:focus, .search-field select:focus,
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--red);
  background: rgba(255,255,255,0.1);
}
.search-field select option, .form-select option { background: var(--black-soft); color: var(--white-pure); }
.search-submit { flex: 0 0 auto; white-space: nowrap; }

/* ---------- SEARCH SUMMARY BAR (risultati / scheda noleggio) ---------- */
.search-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 26px;
  font-size: 0.92rem;
  color: var(--grey-light);
}
.search-summary span { display: inline-flex; align-items: center; gap: 8px; }
.search-summary i { color: var(--red-light); }
.search-summary a.modify-search {
  color: var(--red-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- CATALOG / FILTER BAR ---------- */
.catalog-section { background: var(--white); }
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
  padding: 22px;
  background: var(--black-soft);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
  align-items: center;
}
.filter-select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white-pure);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 0.88rem;
  font-family: var(--font-body);
  flex: 1 1 150px;
  cursor: pointer;
}
.filter-select option { background: var(--black-soft); }
.filter-reset {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--grey-light);
  border-radius: var(--radius-sm);
  padding: 11px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.filter-reset:hover { color: var(--white-pure); border-color: var(--red); }
.catalog-count { color: var(--grey); font-size: 0.9rem; margin-bottom: 24px; }
.catalog-count strong { color: var(--black); }

.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--grey);
}
.empty-state i { font-size: 2.4rem; color: var(--grey-light); margin-bottom: 18px; }
.empty-state p { margin-bottom: 20px; font-size: 1rem; }

/* fleet-card link wrapper (catalogo/noleggio-risultati usano <a> attorno alla card) */
a.fleet-card-link { display: block; color: inherit; }

/* ---------- PRODUCT PAGE (scheda auto) ---------- */
.product-section { background: var(--white); padding-top: 170px; }
.product-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  margin-bottom: 72px;
}
.product-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 420px;
  background: var(--black-soft);
  margin-bottom: 14px;
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s var(--ease); }
.product-gallery-thumbs { display: flex; gap: 12px; }
.thumb {
  width: 84px; height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 0.9; }
.thumb.active { opacity: 1; border-color: var(--red); }

.product-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white-pure);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.product-info-col h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--black);
  margin-bottom: 16px;
}
.product-specs-row { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 26px; }
.product-specs-row span { display: inline-flex; align-items: center; gap: 8px; color: var(--grey); font-size: 0.9rem; }
.product-specs-row i { color: var(--red); }

.product-price-box {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.price-option {
  flex: 1 1 160px;
  background: var(--black-soft);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.price-label { display: block; font-size: 0.78rem; color: var(--grey-light); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.03em; }
.price-value { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--white-pure); }
.price-value small { font-size: 0.85rem; font-weight: 400; color: var(--grey-light); }

.product-cta-group { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.product-mini-features { display: flex; flex-wrap: wrap; gap: 20px; color: var(--grey); font-size: 0.88rem; }
.product-mini-features span { display: inline-flex; align-items: center; gap: 8px; }
.product-mini-features i { color: var(--red); }

.product-detail-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  margin-bottom: 80px;
  align-items: start;
}
.product-description h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--black);
  margin: 32px 0 16px;
}
.product-description h2:first-child { margin-top: 0; }
.product-description p { color: var(--grey); line-height: 1.7; }
.optional-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px; }
.optional-list li { display: flex; align-items: center; gap: 10px; color: var(--grey); font-size: 0.9rem; }
.optional-list i { color: var(--red); }

.product-sidebar-form {
  background: var(--black-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: sticky;
  top: 110px;
}
.product-sidebar-form h3 { font-family: var(--font-display); color: var(--white-pure); font-size: 1.15rem; margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-error { color: var(--red-light); font-size: 0.82rem; margin-top: -8px; margin-bottom: 12px; display: none; }
.form-error.show { display: block; }

.form-success {
  text-align: center;
  padding: 20px 10px;
}
.form-success i { font-size: 2.6rem; color: #2ecc71; margin-bottom: 14px; display: block; }
.form-success h3, .form-success h2 { color: var(--white-pure); margin-bottom: 10px; }
.form-success p { color: var(--grey-light); font-size: 0.9rem; }

.related-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--black);
  margin-bottom: 28px;
}

/* ---------- EXTRAS (noleggio-scheda) ---------- */
.extras-section { background: var(--anthracite); padding: 56px 0; border-radius: var(--radius-lg); margin-bottom: 40px; }
.extras-section h2 { font-family: var(--font-display); color: var(--white-pure); font-size: 1.4rem; margin-bottom: 24px; text-align: center; }
.extras-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 780px; margin: 0 auto 32px; }
.extra-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  color: var(--white-pure);
  font-size: 0.92rem;
}
.extra-item:hover { background: rgba(255,255,255,0.07); }
.extra-item input { width: 18px; height: 18px; accent-color: var(--red); cursor: pointer; }
.extra-item span { margin-left: auto; color: var(--red-light); font-weight: 600; font-size: 0.85rem; }

.booking-total-bar {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  padding: 20px 26px;
}
.booking-total-bar span { color: var(--grey-light); font-size: 0.95rem; }
.booking-total-bar strong { color: var(--white-pure); font-family: var(--font-display); font-size: 1.3rem; }

/* ---------- RIEPILOGO PRENOTAZIONE ---------- */
.summary-card {
  background: var(--black-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 32px;
}
.summary-card h2 { font-family: var(--font-display); color: var(--white-pure); font-size: 1.2rem; margin: 0 0 18px; }
.summary-car-row { display: flex; gap: 20px; align-items: center; margin-bottom: 24px; }
.summary-car-row img { width: 130px; height: 90px; object-fit: cover; border-radius: var(--radius-md); flex-shrink: 0; }
.summary-car-row h3 { color: var(--white-pure); font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 6px; }
.summary-car-row p { color: var(--grey-light); font-size: 0.88rem; }
.summary-extras-list { list-style: none; margin-bottom: 20px; }
.summary-extras-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--grey-light);
  font-size: 0.9rem;
}
.summary-extras-list li:last-child { border-bottom: none; }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-family: var(--font-display);
}
.summary-total span:first-child { color: var(--grey-light); font-size: 0.95rem; }
.summary-total span:last-child { color: var(--red-light); font-size: 1.5rem; font-weight: 800; }

.driver-form {
  background: var(--black-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.driver-form h2 { font-family: var(--font-display); color: var(--white-pure); font-size: 1.2rem; margin-bottom: 20px; }
.driver-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 24px; }

/* ---------- 404 / not found ---------- */
.notfound-section { background: var(--white); padding: 200px 0 140px; text-align: center; }
.notfound-section h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 10vw, 7rem); color: var(--black); }
.notfound-section p { color: var(--grey); margin: 16px 0 30px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Tablet */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .timeline::before { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  .product-layout { grid-template-columns: 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-sidebar-form { position: static; }
  .extras-list { grid-template-columns: 1fr; }
  .driver-form-grid { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 768px) {
  section { padding: 84px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero-title { font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero-stats { gap: 20px; }
  .stat-num, .stat-suffix { font-size: 1.6rem; }
  .stat-divider { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .fleet-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .cta-final { padding: 100px 0; }
  .btn { padding: 13px 24px; font-size: 0.9rem; }

  .page-hero { padding: 140px 0 56px; }
  .product-section { padding-top: 130px; }
  .search-widget { padding: 20px; }
  .search-submit { width: 100%; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .optional-list { grid-template-columns: 1fr; }
  .product-gallery-main { height: 260px; }
  .booking-total-bar { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-final-actions { flex-direction: column; width: 100%; }
  .cta-final-actions .btn { width: 100%; justify-content: center; }
}
