/* ============================================================
   FERRARI EXPERIENCE & ACCESS GUIDE - MASTER STYLESHEET
   Premium Design System: Deep Red + Black + Metallic Accents
   ============================================================ */

/* ── Google Fonts Import ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=Montserrat:wght@300;400;500;600;700;800&family=Raleway:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Core Brand Colors */
  --ferrari-red:        #CC0000;
  --ferrari-red-deep:   #990000;
  --ferrari-red-light:  #E8001A;
  --ferrari-red-glow:   rgba(204, 0, 0, 0.15);
  --black-pure:         #000000;
  --black-rich:         #0A0A0A;
  --black-soft:         #111111;
  --black-card:         #161616;
  --black-elevated:     #1E1E1E;
  --black-border:       #2A2A2A;

  /* Metallic Accents */
  --gold:               #C9A84C;
  --gold-light:         #E8C97A;
  --gold-dark:          #A07830;
  --silver:             #C0C0C0;
  --silver-light:       #E8E8E8;
  --silver-dark:        #888888;
  --chrome:             #D4D4D4;

  /* Text Colors */
  --text-primary:       #FFFFFF;
  --text-secondary:     #CCCCCC;
  --text-muted:         #888888;
  --text-accent:        #C9A84C;

  /* Gradients */
  --grad-red:           linear-gradient(135deg, #CC0000 0%, #990000 50%, #660000 100%);
  --grad-dark:          linear-gradient(180deg, #0A0A0A 0%, #161616 100%);
  --grad-hero:          linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(102,0,0,0.6) 50%, rgba(0,0,0,0.8) 100%);
  --grad-card:          linear-gradient(145deg, #1E1E1E 0%, #161616 100%);
  --grad-metallic:      linear-gradient(135deg, #C9A84C 0%, #E8C97A 30%, #A07830 60%, #C9A84C 100%);
  --grad-section:       linear-gradient(180deg, #0A0A0A 0%, #111111 50%, #0A0A0A 100%);

  /* Typography */
  --font-display:       'Playfair Display', Georgia, serif;
  --font-sans:          'Montserrat', 'Helvetica Neue', sans-serif;
  --font-alt:           'Raleway', 'Arial', sans-serif;

  /* Spacing */
  --section-pad:        120px;
  --section-pad-sm:     70px;
  --container-max:      1280px;

  /* Effects */
  --shadow-red:         0 0 40px rgba(204, 0, 0, 0.3);
  --shadow-gold:        0 0 30px rgba(201, 168, 76, 0.25);
  --shadow-card:        0 20px 60px rgba(0, 0, 0, 0.6);
  --shadow-deep:        0 40px 80px rgba(0, 0, 0, 0.8);
  --transition:         all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast:    all 0.2s ease;
  --border-radius:      4px;
  --border-radius-lg:   12px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--black-rich);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Scrollbar Styling ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black-rich); }
::-webkit-scrollbar-thumb { background: var(--ferrari-red); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--ferrari-red-light); }

/* ── Typography Scale ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p { line-height: 1.85; color: var(--text-secondary); }

.text-red    { color: var(--ferrari-red-light) !important; }
.text-gold   { color: var(--gold) !important; }
.text-silver { color: var(--silver) !important; }
.text-muted  { color: var(--text-muted) !important; }
.text-center { text-align: center; }
.text-upper  { text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.75em; }

/* ── Container ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* ── Selection Highlight ── */
::selection { background: var(--ferrari-red); color: #fff; }

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

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--black-border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  max-width: var(--container-max);
  margin: 0 auto;
  transition: var(--transition);
}

.navbar.scrolled .navbar-inner { padding: 16px 40px; }

.navbar-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-main {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.05em;
  line-height: 1;
}

.logo-main span { color: var(--ferrari-red-light); }

.logo-sub {
  font-family: var(--font-alt);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-family: var(--font-alt);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%; right: 50%;
  height: 1px;
  background: var(--ferrari-red);
  transition: var(--transition);
}

.nav-link:hover { color: #fff; }
.nav-link:hover::after { left: 14px; right: 14px; }
.nav-link.active { color: var(--ferrari-red-light); }
.nav-link.active::after { left: 14px; right: 14px; }

.nav-cta {
  font-family: var(--font-alt);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  background: var(--ferrari-red);
  padding: 10px 22px;
  border-radius: var(--border-radius);
  margin-left: 12px;
  transition: var(--transition);
  box-shadow: 0 0 20px rgba(204,0,0,0.25);
}

.nav-cta:hover {
  background: var(--ferrari-red-light);
  box-shadow: 0 0 30px rgba(204,0,0,0.45);
  transform: translateY(-1px);
  color: #fff;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
  border-radius: 2px;
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .navbar-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 300px; height: 100vh;
    background: #0A0A0A;
    border-left: 1px solid var(--black-border);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px;
    gap: 4px;
    transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
  }
  .navbar-nav.open { right: 0; }
  .nav-link { font-size: 0.85rem; padding: 12px 0; width: 100%; }
  .nav-cta { margin-left: 0; margin-top: 16px; width: 100%; text-align: center; }
  .navbar-inner { padding: 18px 24px; }
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 40px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-alt);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--grad-metallic);
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 28px;
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}

.hero h1 .accent { color: var(--ferrari-red-light); }
.hero h1 .gold-accent { background: var(--grad-metallic); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.8;
  font-weight: 300;
}

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

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: bounce 2s ease-in-out infinite;
}

.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-alt);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--ferrari-red), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── Page Hero (Subpages) ── */
.page-hero {
  position: relative;
  height: 65vh;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
  background: var(--black-pure);
}

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

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.3) 100%);
}

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

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.75rem;
  font-family: var(--font-alt);
  letter-spacing: 0.1em;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--ferrari-red); }
.breadcrumb .current { color: var(--gold); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-alt);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 16px 36px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.btn:hover::before { transform: translateX(0); }

.btn-primary {
  background: var(--ferrari-red);
  color: #fff;
  box-shadow: 0 4px 30px rgba(204,0,0,0.35);
}

.btn-primary:hover {
  background: var(--ferrari-red-light);
  box-shadow: 0 8px 40px rgba(204,0,0,0.55);
  transform: translateY(-2px);
  color: #fff;
}

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

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 20px rgba(201,168,76,0.2);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--grad-metallic);
  color: var(--black-pure);
  font-weight: 800;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  box-shadow: 0 8px 40px rgba(201,168,76,0.45);
  transform: translateY(-2px);
  color: var(--black-pure);
}

.btn-sm { padding: 10px 22px; font-size: 0.72rem; }
.btn-lg { padding: 20px 48px; font-size: 0.85rem; }

.btn-arrow::after {
  content: '→';
  font-size: 1.1em;
  transition: transform 0.3s ease;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ============================================================
   SECTION LAYOUT
   ============================================================ */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-sm  { padding: var(--section-pad-sm) 0; }
.section-dark { background: var(--black-rich); }
.section-darker { background: var(--black-pure); }
.section-alt  { background: var(--black-soft); }
.section-card { background: var(--black-card); }

/* ── Section Header ── */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 80px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-alt);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 20px;
}

.section-tag::before,
.section-tag::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--grad-metallic);
  display: block;
}

.section-title { margin-bottom: 20px; }
.section-title .highlight { color: var(--ferrari-red-light); }
.section-title .gold { background: var(--grad-metallic); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
}

/* ── Dividers ── */
.divider {
  width: 60px;
  height: 3px;
  background: var(--grad-red);
  margin: 24px auto;
  border-radius: 2px;
}

.divider-gold {
  background: var(--grad-metallic);
}

.divider-left { margin-left: 0; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--grad-card);
  border: 1px solid var(--black-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(204,0,0,0.0), rgba(204,0,0,0.0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(204,0,0,0.25);
}

.card:hover::before { opacity: 1; }

.card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.card-img-wrap { overflow: hidden; }

.card-body { padding: 32px; }

.card-tag {
  font-family: var(--font-alt);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--ferrari-red-light);
  margin-bottom: 12px;
  display: block;
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 14px;
  transition: color 0.3s ease;
}

.card:hover .card-title { color: var(--ferrari-red-light); }

.card-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; }

/* ── Feature Cards ── */
.feature-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-red);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card:hover {
  background: var(--black-elevated);
  border-color: rgba(204,0,0,0.2);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.feature-card:hover::after { transform: scaleX(1); }

.feature-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(204,0,0,0.15), rgba(204,0,0,0.05));
  border: 1px solid rgba(204,0,0,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.8rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: rgba(204,0,0,0.2);
  border-color: var(--ferrari-red);
  box-shadow: 0 0 20px rgba(204,0,0,0.3);
}

.feature-card h3 { font-size: 1.15rem; margin-bottom: 14px; }
.feature-card p  { font-size: 0.88rem; color: var(--text-muted); }

/* ── Stat Cards ── */
.stat-card {
  text-align: center;
  padding: 40px 20px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  background: var(--grad-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-alt);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

/* ── Info Blocks ── */
.info-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

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

.info-content h2 { margin-bottom: 20px; }
.info-content p  { margin-bottom: 20px; }
.info-content .btn { margin-top: 12px; }

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

.info-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  transition: transform 0.8s ease;
}

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

.info-image::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(204,0,0,0.2);
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 900px) {
  .info-block { grid-template-columns: 1fr; gap: 40px; }
  .info-block.reverse { direction: ltr; }
  .info-image img { height: 300px; }
}

/* ============================================================
   GRIDS
   ============================================================ */
.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; }

@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px)  { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ============================================================
   TICKER / MARQUEE STRIP
   ============================================================ */
.ticker-strip {
  background: var(--ferrari-red);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-flex;
  animation: ticker 28s linear infinite;
}

.ticker-item {
  font-family: var(--font-alt);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.9);
  padding: 0 50px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.ticker-item::before {
  content: '◆';
  font-size: 0.5em;
  color: rgba(255,255,255,0.5);
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   QUOTE / PULLQUOTE
   ============================================================ */
.pullquote {
  border-left: 4px solid var(--ferrari-red);
  padding: 32px 40px;
  background: rgba(204,0,0,0.05);
  border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
  margin: 40px 0;
  position: relative;
}

.pullquote::before {
  content: '"';
  position: absolute;
  top: -10px; left: 30px;
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  color: rgba(204,0,0,0.15);
}

.pullquote p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.7;
}

.pullquote cite {
  display: block;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: normal;
  font-family: var(--font-alt);
  letter-spacing: 0.1em;
}

/* ============================================================
   ACCORDION / FAQ
   ============================================================ */
.accordion { border-top: 1px solid var(--black-border); }

.accordion-item { border-bottom: 1px solid var(--black-border); }

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.3s ease;
  cursor: pointer;
}

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

.accordion-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  border: 1px solid var(--black-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--ferrari-red);
  transition: var(--transition);
}

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

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.accordion-item.open .accordion-body { max-height: 500px; }

.accordion-body p {
  padding-bottom: 28px;
  color: var(--text-muted);
  line-height: 1.9;
}

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

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

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

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

.timeline-item:last-child { padding-bottom: 0; }

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

.timeline-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.timeline-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================================
   TIPS / NOTICE BOXES
   ============================================================ */
.tip-box {
  display: flex;
  gap: 20px;
  padding: 28px 32px;
  border-radius: var(--border-radius-lg);
  border: 1px solid;
  margin: 32px 0;
}

.tip-box-info {
  background: rgba(201,168,76,0.06);
  border-color: rgba(201,168,76,0.2);
}

.tip-box-warn {
  background: rgba(204,0,0,0.06);
  border-color: rgba(204,0,0,0.2);
}

.tip-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.tip-content h4 { font-size: 0.95rem; margin-bottom: 6px; }
.tip-content p  { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(204,0,0,0.2);
}

.blog-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img { transform: scale(1.05); }

.blog-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.blog-category {
  font-family: var(--font-alt);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ferrari-red-light);
}

.blog-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-alt);
}

.blog-title {
  font-size: 1.1rem;
  margin-bottom: 12px;
  line-height: 1.4;
  transition: color 0.3s;
}

.blog-card:hover .blog-title { color: var(--ferrari-red-light); }

.blog-excerpt {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 24px;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-family: var(--font-alt);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  transition: gap 0.3s ease, color 0.3s;
}

.blog-read-more:hover { gap: 14px; color: var(--gold-light); }

/* ── Article Page ── */
.article-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 40px;
}

.article-header { margin-bottom: 60px; }

.article-tag {
  font-family: var(--font-alt);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--ferrari-red-light);
  margin-bottom: 16px;
  display: block;
}

.article-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 24px;
  line-height: 1.2;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--black-border);
  border-bottom: 1px solid var(--black-border);
}

.article-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-alt);
}

.article-meta .author { color: var(--gold); font-weight: 600; }

.article-content h2 { font-size: 1.7rem; margin: 50px 0 20px; color: var(--text-primary); }
.article-content h3 { font-size: 1.25rem; margin: 36px 0 16px; color: var(--text-primary); }
.article-content p  { margin-bottom: 24px; font-size: 1rem; }
.article-content ul, .article-content ol { margin: 24px 0 24px 24px; }
.article-content li { margin-bottom: 10px; color: var(--text-secondary); font-size: 0.95rem; }
.article-content ul li { list-style: disc; }
.article-content ol li { list-style: decimal; }
.article-content img { width: 100%; border-radius: var(--border-radius-lg); margin: 32px 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black-pure);
  border-top: 1px solid var(--black-border);
  padding: 80px 0 0;
}

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

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .logo-main { font-size: 1.5rem; }

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 16px;
  max-width: 280px;
}

.footer-contact {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact a {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

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

.footer-col h4 {
  font-family: var(--font-alt);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 24px;
}

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

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.3s, padding-left 0.3s;
}

.footer-links a:hover { color: var(--text-primary); padding-left: 6px; }

.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  background: rgba(255,255,255,0.02);
}

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

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

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

.footer-legal a {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-alt);
  transition: color 0.3s;
}

.footer-legal a:hover { color: var(--gold); }

/* ============================================================
   PARALLAX / CINEMATIC SECTIONS
   ============================================================ */
.cinematic-section {
  position: relative;
  padding: 160px 0;
  text-align: center;
  overflow: hidden;
}

.cinematic-section .bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(0.3) saturate(0.8);
}

.cinematic-section .bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.4) 0%,
    rgba(102,0,0,0.2) 50%,
    rgba(0,0,0,0.5) 100%
  );
}

.cinematic-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

.cinematic-content h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 24px; }
.cinematic-content p { font-size: 1.1rem; color: rgba(255,255,255,0.7); margin-bottom: 40px; }

/* ============================================================
   STRIPE / RED LINE ACCENTS
   ============================================================ */
.red-stripe {
  width: 100%;
  height: 4px;
  background: var(--grad-red);
}

.gold-stripe {
  width: 100%;
  height: 2px;
  background: var(--grad-metallic);
}

/* ── Top Red Bar (page top accent) ── */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-red);
  z-index: 9999;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.animate-fadeup  { opacity: 0; animation: fadeInUp 0.8s ease forwards; }
.animate-fadein  { opacity: 0; animation: fadeIn 0.8s ease forwards; }
.animate-delay-1 { animation-delay: 0.15s; }
.animate-delay-2 { animation-delay: 0.3s; }
.animate-delay-3 { animation-delay: 0.45s; }
.animate-delay-4 { animation-delay: 0.6s; }

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

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

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

.form-label {
  display: block;
  font-family: var(--font-alt);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.form-control {
  width: 100%;
  background: var(--black-elevated);
  border: 1px solid var(--black-border);
  border-radius: var(--border-radius);
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--ferrari-red);
  background: rgba(204,0,0,0.04);
  box-shadow: 0 0 0 3px rgba(204,0,0,0.1);
}

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

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 40px 80px;
}

.legal-content h1 { font-size: 2.5rem; margin-bottom: 12px; }
.legal-content .last-updated {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-alt);
  margin-bottom: 50px;
}

.legal-content h2 { font-size: 1.4rem; margin: 48px 0 16px; color: var(--ferrari-red-light); }
.legal-content h3 { font-size: 1.1rem; margin: 32px 0 12px; }
.legal-content p  { margin-bottom: 18px; font-size: 0.95rem; }
.legal-content ul { margin: 16px 0 16px 24px; }
.legal-content li { list-style: disc; margin-bottom: 8px; font-size: 0.93rem; color: var(--text-secondary); }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.mt-0  { margin-top: 0; }
.mt-sm { margin-top: 24px; }
.mt-md { margin-top: 48px; }
.mt-lg { margin-top: 80px; }
.mb-sm { margin-bottom: 24px; }
.mb-md { margin-bottom: 48px; }
.mb-lg { margin-bottom: 80px; }

.hidden   { display: none; }
.relative { position: relative; }
.flex     { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-sm   { gap: 12px; }
.gap-md   { gap: 24px; }
.gap-lg   { gap: 40px; }

.overlay-red {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(204,0,0,0.3) 0%, transparent 60%);
  pointer-events: none;
}

/* ── Number Badges ── */
.number-badge {
  width: 48px; height: 48px;
  background: var(--ferrari-red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(204,0,0,0.4);
}

/* ── Step Items ── */
.step-item {
  display: flex;
  gap: 24px;
  padding: 28px;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--border-radius-lg);
  transition: var(--transition);
}

.step-item:hover {
  border-color: rgba(204,0,0,0.2);
  background: var(--black-elevated);
  transform: translateX(6px);
}

.step-item h4 { margin-bottom: 8px; }
.step-item p  { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* ── Image Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

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

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(204,0,0,0.2);
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover::after { opacity: 1; }

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Tag Pills ── */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

.tag {
  font-family: var(--font-alt);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 6px 14px;
  border: 1px solid var(--black-border);
  border-radius: 20px;
  color: var(--text-muted);
  transition: var(--transition);
}

.tag:hover { border-color: var(--ferrari-red); color: var(--ferrari-red-light); }

/* ── Map Box ── */
.map-box {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.map-address {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.map-address strong { color: var(--text-primary); display: block; margin-bottom: 6px; }

/* ============================================================
   RESPONSIVE MEDIA QUERIES
   ============================================================ */
@media (max-width: 1200px) {
  :root { --section-pad: 90px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 70px; --section-pad-sm: 50px; }
  .hero-content { padding: 0 24px; }
  .hero h1 { font-size: 2.4rem; }
  .section-header { margin-bottom: 50px; }
  .article-wrap { padding: 60px 24px; }
  .legal-content { padding: 80px 24px 60px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cinematic-content { padding: 0 24px; }
  .page-hero-content { padding: 0 24px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
}