/* ============================================================
   FERRARI PARK EXPERIENCE HUB — MAIN STYLESHEET
   Colors: Red #E8002D | Black #111111 | White #FFFFFF
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Open+Sans:wght@400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  --ferrari-red: #E8002D;
  --ferrari-red-dark: #B8001F;
  --ferrari-red-light: #FF1744;
  --black: #111111;
  --black-soft: #1A1A1A;
  --black-card: #1E1E1E;
  --grey-dark: #2A2A2A;
  --grey-mid: #555555;
  --grey-light: #AAAAAA;
  --white: #FFFFFF;
  --white-soft: #F5F5F5;
  --white-muted: #E0E0E0;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --transition: all 0.3s ease;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.3);
  --shadow-md: 0 6px 30px rgba(0,0,0,0.5);
  --shadow-lg: 0 15px 60px rgba(0,0,0,0.6);
  --shadow-red: 0 6px 30px rgba(232,0,45,0.4);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --max-width: 1280px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

/* --- Utility Classes --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-sm {
  padding: 60px 0;
}

.section-lg {
  padding: 140px 0;
}

.text-red { color: var(--ferrari-red); }
.text-white { color: var(--white); }
.text-grey { color: var(--grey-light); }
.text-center { text-align: center; }
.text-left { text-align: left; }

.bg-black { background-color: var(--black); }
.bg-black-soft { background-color: var(--black-soft); }
.bg-card { background-color: var(--black-card); }
.bg-red { background-color: var(--ferrari-red); }

.fw-900 { font-weight: 900; }
.fw-800 { font-weight: 800; }
.fw-700 { font-weight: 700; }
.fw-600 { font-weight: 600; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h5 { font-size: 1.1rem; }

p {
  font-size: 1rem;
  color: var(--grey-light);
  margin-bottom: 1rem;
  line-height: 1.8;
}

p.lead {
  font-size: 1.2rem;
  color: var(--white-muted);
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ferrari-red);
  margin-bottom: 16px;
  padding: 6px 14px;
  border: 1px solid rgba(232, 0, 45, 0.4);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
}

.section-title span {
  color: var(--ferrari-red);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--grey-light);
  max-width: 680px;
  line-height: 1.8;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  background: transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(17, 17, 17, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 0, 45, 0.2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  background: var(--ferrari-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--white);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.1;
}

.logo-text span {
  display: block;
  color: var(--ferrari-red);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-muted);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--ferrari-red);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--black-soft);
  border: 1px solid rgba(232, 0, 45, 0.2);
  border-radius: var(--radius-md);
  padding: 12px 0;
  min-width: 220px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition);
  z-index: 100;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--black-soft);
  border-left: 1px solid rgba(232, 0, 45, 0.2);
  border-top: 1px solid rgba(232, 0, 45, 0.2);
  transform: translateX(-50%) rotate(45deg);
}

.nav-links > li:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  top: calc(100% + 8px);
}

.nav-dropdown a {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--grey-light);
  transition: var(--transition);
}

.nav-dropdown a:hover {
  color: var(--ferrari-red);
  background: rgba(232, 0, 45, 0.08);
  padding-left: 26px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  background: var(--black-soft);
  z-index: 999;
  padding: 32px 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s ease;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white-muted);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mobile-nav a:hover { color: var(--ferrari-red); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.12);
  transition: left 0.3s ease;
}

.btn:hover::before { left: 0; }

.btn-primary {
  background: var(--ferrari-red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: var(--ferrari-red-dark);
  box-shadow: 0 8px 40px rgba(232,0,45,0.6);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--ferrari-red);
  color: var(--ferrari-red);
  transform: translateY(-2px);
}

.btn-outline-red {
  background: transparent;
  color: var(--ferrari-red);
  border: 2px solid var(--ferrari-red);
}

.btn-outline-red:hover {
  background: var(--ferrari-red);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn-lg {
  padding: 18px 44px;
  font-size: 0.95rem;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.78rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ============================================================
   HERO SECTIONS
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(17, 17, 17, 0.92) 0%,
    rgba(17, 17, 17, 0.75) 50%,
    rgba(232, 0, 45, 0.15) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 140px 24px 100px;
  width: 100%;
}

.hero-content.centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ferrari-red);
  margin-bottom: 24px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--ferrari-red);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  max-width: 820px;
}

.hero h1 em {
  font-style: normal;
  color: var(--ferrari-red);
}

.hero .lead {
  max-width: 600px;
  font-size: 1.15rem;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions.centered {
  justify-content: center;
}

/* Hero scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.scroll-indicator span {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-light);
}

.scroll-dot {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot::before {
  content: '';
  width: 4px;
  height: 8px;
  background: var(--ferrari-red);
  border-radius: 2px;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.4; }
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  border-color: rgba(232, 0, 45, 0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.card-image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image {
  transform: scale(1.04);
}

.card-image-wrap {
  overflow: hidden;
  position: relative;
}

.card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--ferrari-red);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
}

.card-body {
  padding: 28px;
}

.card-tag {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ferrari-red);
  margin-bottom: 10px;
}

.card-title {
  color: var(--white);
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.card-text {
  font-size: 0.9rem;
  color: var(--grey-light);
  margin-bottom: 20px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ferrari-red);
  transition: var(--transition);
}

.card-link:hover { gap: 10px; }
.card-link svg { transition: var(--transition); }

/* ============================================================
   GRID LAYOUTS
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }

/* ============================================================
   STATS / HIGHLIGHTS BAR
   ============================================================ */
.stats-bar {
  background: var(--ferrari-red);
  padding: 32px 0;
}

.stats-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 32px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  display: block;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  display: block;
  margin-top: 6px;
}

/* ============================================================
   FEATURE SECTIONS (Alternating)
   ============================================================ */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }

.feature-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-visual img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.feature-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(232, 0, 45, 0.2);
  z-index: 1;
  pointer-events: none;
}

.feature-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--ferrari-red);
  border-radius: 50%;
  opacity: 0.12;
  z-index: 0;
}

.feature-text .section-label { margin-bottom: 14px; }

.feature-list {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--grey-light);
  font-size: 0.95rem;
}

.feature-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  min-width: 6px;
  background: var(--ferrari-red);
  border-radius: 50%;
  margin-top: 8px;
}

/* ============================================================
   TESTIMONIALS / QUOTES
   ============================================================ */
.quote-card {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 4px solid var(--ferrari-red);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
}

.quote-card:hover {
  border-left-color: var(--ferrari-red);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.quote-text {
  font-size: 1.05rem;
  color: var(--white-muted);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 20px;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ferrari-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}

.author-info .name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
}

.author-info .meta {
  font-size: 0.8rem;
  color: var(--grey-mid);
}

.stars {
  color: #FFD700;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

/* ============================================================
   EXPERIENCE TABS
   ============================================================ */
.tab-nav {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 48px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tab-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  background: none;
  border: none;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-mid);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ferrari-red);
  transition: width 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
  color: var(--white);
}

.tab-btn.active::after { width: 100%; }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ============================================================
   BANNER / CTA SECTIONS
   ============================================================ */
.cta-banner {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  text-align: center;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--black-soft) 0%, var(--black) 100%);
  z-index: 0;
}

.cta-banner-bg::before {
  content: '';
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(232,0,45,0.12) 0%, transparent 70%);
  z-index: 0;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-banner p {
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
}

.cta-banner-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 24px;
}

.breadcrumb a { color: var(--grey-mid); }
.breadcrumb a:hover { color: var(--ferrari-red); }
.breadcrumb .sep { color: var(--ferrari-red); }
.breadcrumb .current { color: var(--grey-light); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17,17,17,0.85) 0%,
    rgba(17,17,17,0.7) 50%,
    rgba(17,17,17,0.95) 100%
  );
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 { margin-bottom: 20px; }

/* ============================================================
   ACCORDION / FAQ
   ============================================================ */
.accordion-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.accordion-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  transition: var(--transition);
}

.accordion-btn:hover { color: var(--ferrari-red); }

.accordion-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-light);
  transition: var(--transition);
  font-size: 1rem;
}

.accordion-btn.open .accordion-icon {
  background: var(--ferrari-red);
  border-color: var(--ferrari-red);
  color: var(--white);
  transform: rotate(45deg);
}

.accordion-body {
  display: none;
  padding: 0 0 24px;
  color: var(--grey-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

.accordion-body.open { display: block; }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--ferrari-red), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ferrari-red);
  box-shadow: 0 0 0 4px rgba(232,0,45,0.2);
}

.timeline-step {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ferrari-red);
  margin-bottom: 8px;
}

.timeline-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 8px;
}

.timeline-text {
  color: var(--grey-light);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* ============================================================
   HIGHLIGHT BADGE
   ============================================================ */
.highlight-number {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 900;
  color: rgba(232,0,45,0.12);
  line-height: 1;
  margin-bottom: -16px;
  display: block;
}

/* ============================================================
   ICON BOXES
   ============================================================ */
.icon-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.icon-box:hover {
  border-color: rgba(232,0,45,0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(232,0,45,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ferrari-red);
  font-size: 1.6rem;
}

.icon-box h4 {
  color: var(--white);
  font-size: 1.05rem;
}

.icon-box p {
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* ============================================================
   BLOG / ARTICLE CONTENT
   ============================================================ */
.article-content h2 {
  color: var(--white);
  margin: 48px 0 20px;
  font-size: 1.9rem;
}

.article-content h3 {
  color: var(--white);
  margin: 36px 0 16px;
  font-size: 1.4rem;
}

.article-content p {
  font-size: 1.02rem;
  line-height: 1.9;
  margin-bottom: 1.4rem;
  color: var(--grey-light);
}

.article-content ul,
.article-content ol {
  margin: 20px 0 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-content ul li {
  list-style: disc;
  color: var(--grey-light);
  font-size: 0.98rem;
  line-height: 1.7;
}

.article-content ol li {
  list-style: decimal;
  color: var(--grey-light);
  font-size: 0.98rem;
  line-height: 1.7;
}

.article-content blockquote {
  border-left: 4px solid var(--ferrari-red);
  padding: 24px 28px;
  margin: 40px 0;
  background: var(--black-card);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--white-muted);
}

.article-content strong { color: var(--white); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black-soft);
  border-top: 1px solid rgba(232,0,45,0.2);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .logo-text {
  font-size: 1.3rem;
  margin-bottom: 16px;
  display: block;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--grey-mid);
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact a {
  font-size: 0.85rem;
  color: var(--grey-mid);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact a:hover { color: var(--ferrari-red); }

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--grey-mid);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--ferrari-red);
  transition: width 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 8px;
}

.footer-col ul li a:hover::before { width: 14px; }

.footer-newsletter p {
  font-size: 0.88rem;
  color: var(--grey-mid);
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.newsletter-form:focus-within {
  border-color: var(--ferrari-red);
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
}

.newsletter-form input::placeholder { color: var(--grey-mid); }

.newsletter-form button {
  padding: 12px 20px;
  background: var(--ferrari-red);
  border: none;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover { background: var(--ferrari-red-dark); }

.footer-bottom {
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-left {
  font-size: 0.82rem;
  color: var(--grey-mid);
}

.footer-bottom-right {
  display: flex;
  gap: 24px;
}

.footer-bottom-right a {
  font-size: 0.82rem;
  color: var(--grey-mid);
  transition: var(--transition);
}

.footer-bottom-right a:hover { color: var(--ferrari-red); }

/* ============================================================
   DECORATIVE ELEMENTS
   ============================================================ */
.red-line {
  width: 60px;
  height: 4px;
  background: var(--ferrari-red);
  border-radius: 2px;
  margin-bottom: 24px;
}

.red-line.center { margin: 0 auto 24px; }

.divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 60px 0;
}

.stripe-decor {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.stripe-decor span {
  display: block;
  height: 4px;
  border-radius: 2px;
}

.stripe-decor span:nth-child(1) { width: 40px; background: var(--ferrari-red); }
.stripe-decor span:nth-child(2) { width: 20px; background: var(--white); }
.stripe-decor span:nth-child(3) { width: 10px; background: rgba(255,255,255,0.2); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .feature-block { grid-template-columns: 1fr; gap: 40px; }
  .feature-block.reverse { direction: ltr; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .hero-content { padding-top: 120px; }
}

@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero h1 { font-size: 2.2rem; }
  .btn-lg { padding: 15px 30px; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,0,45,0.4); }
  50% { box-shadow: 0 0 0 12px rgba(232,0,45,0); }
}

.animate-fadeInUp { animation: fadeInUp 0.7s ease both; }
.animate-fadeInLeft { animation: fadeInLeft 0.7s ease both; }
.animate-fadeInRight { animation: fadeInRight 0.7s ease both; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
}

.legal-content h2 {
  color: var(--white);
  margin: 40px 0 14px;
  font-size: 1.5rem;
}

.legal-content h3 {
  color: var(--white);
  margin: 28px 0 12px;
  font-size: 1.15rem;
}

.legal-content p {
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 16px;
}

.legal-content ul {
  margin: 12px 0 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-content ul li {
  list-style: disc;
  color: var(--grey-light);
  font-size: 0.93rem;
}

.legal-updated {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--grey-mid);
  background: var(--black-card);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 40px;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-light);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--ferrari-red);
  box-shadow: 0 0 0 3px rgba(232,0,45,0.12);
}

.form-control::placeholder { color: var(--grey-mid); }

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

/* ============================================================
   NOTIFICATION BANNER
   ============================================================ */
.disclaimer-banner {
  background: rgba(232,0,45,0.08);
  border: 1px solid rgba(232,0,45,0.2);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  margin-bottom: 40px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.disclaimer-banner svg {
  flex-shrink: 0;
  color: var(--ferrari-red);
  margin-top: 2px;
}

.disclaimer-banner p {
  font-size: 0.88rem;
  color: var(--grey-light);
  margin-bottom: 0;
}

/* ============================================================
   PROGRESS / SPEED BARS
   ============================================================ */
.rating-bar {
  margin-bottom: 16px;
}

.rating-bar-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--grey-light);
  margin-bottom: 8px;
}

.rating-bar-track {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background: var(--ferrari-red);
  border-radius: 3px;
  transition: width 1s ease;
}

/* ============================================================
   STICKY SIDEBAR
   ============================================================ */
.sidebar-sticky {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 24px;
}

.sidebar-widget h5 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ferrari-red);
  margin-bottom: 18px;
}

.sidebar-links li {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sidebar-links li:last-child { border-bottom: none; }

.sidebar-links a {
  display: block;
  padding: 10px 0;
  font-size: 0.88rem;
  color: var(--grey-light);
  transition: var(--transition);
}

.sidebar-links a:hover {
  color: var(--ferrari-red);
  padding-left: 8px;
}

/* ============================================================
   PHOTO GALLERY GRID
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  background: rgba(17,17,17,0.5);
}

/* Table of Contents */
.toc {
  background: var(--black-card);
  border: 1px solid rgba(232,0,45,0.2);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 40px;
}

.toc h5 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ferrari-red);
  margin-bottom: 16px;
}

.toc ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc ol li {
  list-style: decimal;
  font-size: 0.9rem;
}

.toc ol li a {
  color: var(--grey-light);
  transition: var(--transition);
}

.toc ol li a:hover { color: var(--ferrari-red); }