/* ═══════════════════════════════════════════════════════════════
   Simon Experience Center — marketing site
   Dark motorsport theme · no frameworks · no external fonts
   Accent: racing red
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #0b0b0d;
  --surface: #131316;
  --surface-2: #17171b;
  --border: #26262c;
  --text: #f2f2f0;
  --muted: #9c9ca4;
  --accent: #e10600;
  --accent-hover: #ff2113;
  --radius: 14px;
  --nav-h: 72px;
  --max-w: 1180px;
  --font: "PingFang SC", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ── shared ─────────────────────────────────────────────── */

.accent { color: var(--accent); }

.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}

.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 96px 24px;
}

.section--tint {
  background:
    linear-gradient(180deg, rgba(225, 6, 0, 0.04), transparent 40%),
    var(--surface);
  max-width: none;
  padding: 96px 24px;
}
.section--tint > * { max-width: var(--max-w); margin-left: auto; margin-right: auto; }

.section__head { margin-bottom: 48px; }

.section__title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

/* ── buttons ────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:active { transform: scale(0.97); }

.btn--red {
  background: var(--accent);
  color: #fff;
}
.btn--red:hover { background: var(--accent-hover); }

.btn--ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.btn--ghost:hover { border-color: var(--muted); }

.btn--sm { padding: 9px 20px; font-size: 0.85rem; }
.btn--lg { padding: 16px 36px; font-size: 1rem; }
.btn--block { display: block; text-align: center; width: 100%; }

/* ── nav ────────────────────────────────────────────────── */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 11, 13, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.nav__inner {
  max-width: var(--max-w);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #8c0400);
  color: #fff;
  font-weight: 900;
  font-size: 1.3rem;
  display: grid;
  place-items: center;
  flex: none;
}
.brand__mark--sm { width: 30px; height: 30px; font-size: 1rem; border-radius: 8px; }

.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 800; font-size: 0.82rem; letter-spacing: 0.08em; }
.brand__sub { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.05em; }

.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.2s ease;
  font-weight: 500;
}
.nav__links a:hover { color: var(--text); }

.nav__actions { display: flex; align-items: center; gap: 14px; }

.lang-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: border-color 0.2s ease;
}
.lang-toggle:hover { border-color: var(--accent); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav__burger span {
  width: 22px; height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── hero ───────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("../img/hero.jpg") center 30% / cover no-repeat;
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 4%, rgba(11, 11, 13, 0.55) 35%, rgba(11, 11, 13, 0.15) 65%, rgba(11, 11, 13, 0.35));
}

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

.hero__title {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero__sub {
  max-width: 640px;
  color: #d4d4d8;
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  margin-bottom: 34px;
}

.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 24px; height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
}
.hero__scroll span {
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.6);
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue {
  0%, 100% { transform: translateY(0); opacity: 1; }
  70%      { transform: translateY(10px); opacity: 0; }
}

/* ── stats ──────────────────────────────────────────────── */

.stats {
  border-block: 1px solid var(--border);
  background:
    repeating-conic-gradient(rgba(255,255,255,0.02) 0% 25%, transparent 0% 50%) 0 0 / 28px 28px,
    var(--surface);
}
.stats__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 34px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat { text-align: center; }
.stat__num {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.01em;
}
.stat__unit { font-size: 0.55em; color: var(--accent); margin-left: 2px; }
.stat__label { font-size: 0.8rem; color: var(--muted); }

/* ── experience cards ───────────────────────────────────── */

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-5px); border-color: #3a3a42; }

.card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .card__media img { transform: scale(1.06); }

.card__body { padding: 22px; }
.card__title { font-size: 1.12rem; font-weight: 800; margin-bottom: 8px; }
.card__desc { font-size: 0.88rem; color: var(--muted); margin-bottom: 14px; }

.card__list { display: flex; flex-direction: column; gap: 7px; }
.card__list li {
  font-size: 0.82rem;
  color: #c8c8cc;
  padding-left: 18px;
  position: relative;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 2px;
  background: var(--accent);
}

/* ── packages ───────────────────────────────────────────── */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.plan {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan--featured {
  border-color: var(--accent);
  background:
    linear-gradient(180deg, rgba(225, 6, 0, 0.08), transparent 45%),
    var(--surface-2);
}

.plan__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan__name { font-size: 1.25rem; font-weight: 800; }
.plan__tagline { font-size: 0.86rem; color: var(--muted); margin: 4px 0 18px; }
.plan__price { font-size: 1.5rem; font-weight: 900; color: var(--text); margin-bottom: 18px; }

.plan__list { flex: 1; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.plan__list li {
  font-size: 0.88rem;
  color: #c8c8cc;
  padding-left: 22px;
  position: relative;
}
.plan__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

/* ── gallery ────────────────────────────────────────────── */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery__item {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery__item:hover img { transform: scale(1.07); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 5, 6, 0.94);
  display: grid;
  place-items: center;
  padding: 5vw;
}
.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 8px;
}
.lightbox__close {
  position: absolute;
  top: 20px; right: 28px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 2.6rem;
  cursor: pointer;
  line-height: 1;
}

/* ── about ──────────────────────────────────────────────── */

.about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about__text p { color: #c8c8cc; margin-bottom: 24px; }

.about__facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 30px;
  justify-content: start;
}
.about__facts li { display: flex; flex-direction: column; }
.about__facts strong { font-size: 1.3rem; font-weight: 900; color: var(--accent); }
.about__facts span { font-size: 0.78rem; color: var(--muted); }

.about__media img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* ── booking ────────────────────────────────────────────── */

.book {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}

.book__sub { color: var(--muted); font-size: 0.95rem; margin: 10px 0 32px; }

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }

.field__label { font-size: 0.8rem; color: var(--muted); font-weight: 600; letter-spacing: 0.03em; }

.field input,
.field select,
.field textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.92rem;
  transition: border-color 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field input::placeholder,
.field textarea::placeholder { color: #5b5b63; }
.field input[type="date"] { color-scheme: dark; }
.field select { appearance: none; }

.form__hint { font-size: 0.78rem; color: #6d6d75; margin-top: 14px; }

/* contact side */
.book__contact {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.contact__title { font-size: 1.05rem; font-weight: 800; margin-bottom: 20px; }

.qr { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.qr__box {
  width: 108px; height: 108px;
  flex: none;
  border: 1px dashed var(--border);
  border-radius: 10px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px;
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.4;
}
.qr__id { font-size: 0.85rem; color: #c8c8cc; }

.contact__list { display: flex; flex-direction: column; gap: 14px; }
.contact__list li { display: flex; flex-direction: column; gap: 2px; }
.contact__key {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.contact__list a { color: var(--text); }
.contact__list a:hover { color: var(--accent); }
.contact__list span:not(.contact__key) { font-size: 0.9rem; color: #c8c8cc; }

/* ── footer ─────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.08em; }
.footer__note { color: var(--muted); font-size: 0.8rem; }
.footer__copy { margin-left: auto; color: #6d6d75; font-size: 0.8rem; }

/* ── reveal animation ───────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── responsive ─────────────────────────────────────────── */

@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .book { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 68px 20px; }
  .section--tint { padding: 68px 20px; }
  .plans { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .form__grid { grid-template-columns: 1fr; }
  .footer__copy { margin-left: 0; }

  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    background: rgba(11, 11, 13, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 18px 24px 26px;
    gap: 18px;
    transform: translateY(-130%);
    transition: transform 0.25s ease;
    margin-left: 0;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { font-size: 1rem; }
  .nav__burger { display: flex; }
  .nav .btn--sm { display: none; }
}

@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .hero__content { padding-bottom: 90px; }
  .brand__sub { display: none; }
}
