:root {
  --bg: #0b0f1a;
  --bg-2: #11172a;
  --surface: #161d33;
  --text: #f4f5fa;
  --muted: #9ba3b8;
  --accent: #ffb347;
  --accent-2: #ff6b6b;
  --red: #e10600;
  --blue: #0bb1e8;
  --gold: #ffcc4d;
  --radius: 20px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 28px 6vw 60px;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255, 179, 71, 0.18), transparent 60%),
    radial-gradient(1000px 500px at -10% 20%, rgba(11, 177, 232, 0.18), transparent 60%),
    linear-gradient(180deg, #0b0f1a 0%, #131a30 100%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255, 107, 107, 0.08), transparent 30%),
    radial-gradient(circle at 80% 60%, rgba(255, 204, 77, 0.08), transparent 35%);
  pointer-events: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 5;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 28px;
  font-weight: 500;
  font-size: 15px;
}
.nav-links a {
  color: var(--muted);
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: #0b0f1a;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 179, 71, 0.35);
}

.hero-content {
  margin: auto 0;
  max-width: 760px;
  position: relative;
  z-index: 4;
  padding: 80px 0 40px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 0%, #ffd28a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 36px;
}

.hero-cta {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #0b0f1a;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 12px 30px rgba(255, 107, 107, 0.3);
}
.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(255, 107, 107, 0.45);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 4;
}
.hero-stats > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-stats strong {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.hero-stats span {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 500;
}

/* ---------- Parks section ---------- */
.parks {
  padding: 120px 6vw 80px;
  background: linear-gradient(180deg, #131a30 0%, #0b0f1a 100%);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-head h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.section-sub {
  color: var(--muted);
  font-size: 17px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  max-width: 1320px;
  margin: 0 auto;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.card:hover .card-media img { transform: scale(1.06); }

.card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 15, 26, 0.7) 100%);
  pointer-events: none;
}

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: #0b0f1a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  z-index: 2;
}
.badge-red { background: var(--red); color: #fff; }
.badge-blue { background: var(--blue); color: #fff; }

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

.card-body h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.tagline {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

.desc {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 22px;
}

.specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px 0;
  margin-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.specs li {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.specs span {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}

.cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #0b0f1a;
  font-weight: 700;
  font-size: 15px;
  border-radius: 14px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.25);
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255, 107, 107, 0.4);
}
.cta svg { transition: transform .25s ease; }
.cta:hover svg { transform: translateX(4px); }

/* Per-park accents */
.card[data-park="ferrari"] .tagline { color: #ff4040; }
.card[data-park="ferrari"] .specs span { color: #ff5252; }
.card[data-park="ferrari"] .cta {
  background: linear-gradient(135deg, var(--red) 0%, #ff3333 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(225, 6, 0, 0.35);
}
.card[data-park="ferrari"] .cta:hover {
  box-shadow: 0 14px 32px rgba(225, 6, 0, 0.5);
}

.card[data-park="caribe"] .tagline { color: var(--blue); }
.card[data-park="caribe"] .specs span { color: #5dd4ff; }
.card[data-park="caribe"] .cta {
  background: linear-gradient(135deg, var(--blue) 0%, #0989b4 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(11, 177, 232, 0.35);
}
.card[data-park="caribe"] .cta:hover {
  box-shadow: 0 14px 32px rgba(11, 177, 232, 0.5);
}

/* ---------- Why section ---------- */
.why {
  padding: 100px 6vw;
  background: var(--bg-2);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.why-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px 24px;
  border-radius: var(--radius);
  text-align: center;
  transition: transform .3s ease, background .3s ease;
}
.why-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
}
.why-icon {
  font-size: 38px;
  margin-bottom: 16px;
}
.why-item h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.why-item p {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- CTA Band ---------- */
.cta-band {
  padding: 100px 6vw;
  text-align: center;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(255, 179, 71, 0.15), transparent 60%),
    linear-gradient(180deg, #0b0f1a 0%, #1a1228 100%);
}
.cta-band h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 18px;
  letter-spacing: -1px;
}
.cta-band p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 32px;
}
.cta-band-btn {
  display: inline-block;
  padding: 18px 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #0b0f1a;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.5px;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 14px 36px rgba(255, 107, 107, 0.35);
}
.cta-band-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 50px rgba(255, 107, 107, 0.5);
}

/* ---------- Footer ---------- */
.footer {
  padding: 40px 6vw;
  text-align: center;
  background: #06080f;
  color: var(--muted);
  font-size: 13px;
}
.footer .muted {
  margin-top: 8px;
  opacity: 0.7;
  font-size: 12px;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
  .nav-links { display: none; }
  .hero-content { padding: 40px 0 30px; }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 22px;
  }
  .parks { padding: 80px 5vw 60px; }
  .cards { gap: 24px; }
  .card-body { padding: 24px 22px 26px; }
  .why { padding: 70px 5vw; }
  .cta-band { padding: 70px 5vw; }
}

@media (max-width: 420px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .specs { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .specs span { font-size: 18px; }
}
