/* ============================================================
   MUSCLE MANSION GYM — style.css
   Dark, high-energy landing theme. Mobile-first.
   ============================================================ */

:root {
  --bg: #0a0a0d;
  --bg-2: #0f0f14;
  --card: #15151c;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f4f4f6;
  --muted: #a5a5b0;
  --red: #e0263c;
  --red-dark: #b3152a;
  --gold: #f0b429;
  --green: #22b457;
  --nav-h: 72px;
  --radius: 16px;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
}

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

.container { width: min(1180px, 92%); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-display); text-transform: uppercase; line-height: 1.08; letter-spacing: 0.5px; }

h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 span, h1 span { color: var(--red); }

.muted { color: var(--muted); font-size: 0.9em; }

.ico { width: 1em; height: 1em; fill: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  padding: 0.85em 1.7em; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.3px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 24px rgba(224, 38, 60, 0.35); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 8px 24px rgba(34, 180, 87, 0.3); }
.btn-green:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, 0.35); color: #fff; backdrop-filter: blur(4px); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
.btn-outline { border: 1.5px solid var(--red); color: #ff6b7d; background: rgba(224, 38, 60, 0.08); }
.btn-outline:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 0.55em 1.2em; font-size: 0.85rem; }
.btn-lg { padding: 1em 2.1em; font-size: 1.05rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 5vw, 60px); }
.section-kicker {
  color: var(--red); font-weight: 700; letter-spacing: 3.5px;
  font-size: 0.78rem; margin-bottom: 12px; text-transform: uppercase;
}
.section-sub { color: var(--muted); margin-top: 14px; }
.section-sub a { color: var(--text); font-weight: 600; border-bottom: 1px solid var(--red); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
  background: linear-gradient(to bottom, rgba(6,6,9,0.7), rgba(6,6,9,0));
}
.navbar.scrolled {
  height: 62px;
  background: rgba(9, 9, 13, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand-badge { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6)); }
.brand-text { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; letter-spacing: 2px; }
.brand-text em { font-style: normal; color: var(--red); }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links > a {
  font-size: 0.86rem; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
  color: #d4d4da; position: relative; padding: 6px 0;
}
.nav-links > a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--red); transition: width 0.25s ease;
}
.nav-links > a:not(.nav-cta):hover { color: #fff; }
.nav-links > a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { white-space: nowrap; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 120; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: url("../assets/img/hero-gym.jpg") center 30% / cover no-repeat;
  animation: heroZoom 22s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.09); } }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(10, 10, 13, 0.55) 34%, rgba(10, 10, 13, 0.25) 60%, rgba(10, 10, 13, 0.55) 100%),
    radial-gradient(80% 60% at 20% 45%, rgba(0, 0, 0, 0.35), transparent);
}
.hero-content { position: relative; z-index: 2; padding-top: calc(var(--nav-h) + 24px); }
.hero-kicker {
  display: inline-block; color: #ffd7dc; letter-spacing: 4px; font-size: clamp(0.68rem, 1.6vw, 0.85rem);
  font-weight: 700; border-left: 3px solid var(--red); padding-left: 12px; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(3.2rem, 10vw, 7rem); font-weight: 700; letter-spacing: 2px;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.65);
}
.hero-sub { max-width: 560px; color: #e6e6ec; margin: 20px 0 30px; font-size: clamp(0.98rem, 2vw, 1.1rem); text-shadow: 0 2px 12px rgba(0,0,0,0.7); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats { position: relative; z-index: 2; margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid rgba(255, 255, 255, 0.16); background: rgba(8, 8, 11, 0.55); backdrop-filter: blur(8px); }
.hero-stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 20px 0; }
.stat { text-align: center; padding: 4px 8px; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(1rem, 2.4vw, 1.5rem); letter-spacing: 1.5px; color: #fff; }
.stat span { font-size: clamp(0.62rem, 1.4vw, 0.78rem); color: var(--muted); letter-spacing: 0.4px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 14px 0; }
.marquee-strip { background: var(--red); transform: rotate(-1deg) scale(1.03); padding: 12px 0; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.marquee-track { display: flex; gap: 34px; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-weight: 600; letter-spacing: 3px; color: #fff; font-size: 0.95rem; white-space: nowrap; }
.marquee-track i { color: rgba(255, 255, 255, 0.6); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--bg); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }

.about-media { position: relative; }
.about-media img { border-radius: var(--radius); object-fit: cover; }
.about-media img:first-child { width: 88%; aspect-ratio: 1/1.05; }
.about-media img:nth-child(2) {
  position: absolute; right: 0; bottom: -9%; width: 55%; aspect-ratio: 1/1;
  border: 6px solid var(--bg); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
}
.about-badge {
  position: absolute; top: -18px; right: 4%;
  background: var(--red); color: #fff; font-family: var(--font-display);
  padding: 14px 20px; border-radius: 14px; letter-spacing: 2px; font-size: 1.05rem;
  box-shadow: 0 12px 30px rgba(224, 38, 60, 0.4);
}
.about-badge strong { font-size: 1.3rem; margin-right: 6px; }

.about-copy h2 { margin-bottom: 20px; }
.about-copy p { color: #cfcfd8; margin-bottom: 16px; }
.about-copy strong { color: #fff; }

.checklist { margin: 8px 0 28px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: #d8d8e0; }
.checklist li::before {
  content: "✓"; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(224, 38, 60, 0.15); color: var(--red); font-weight: 700; font-size: 0.8rem;
  display: grid; place-items: center; margin-top: 3px;
}

/* ============================================================
   WHY US
   ============================================================ */
.why { background: var(--bg-2); }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(224, 38, 60, 0.5); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4); }
.card-ico { font-size: 1.9rem; margin-bottom: 14px; }
.card h3 { font-size: 1.12rem; letter-spacing: 1px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.93rem; }

.equip-strip {
  margin-top: 46px; display: grid; grid-template-columns: repeat(4, 1fr) 1.6fr;
  gap: 16px; align-items: center;
}
.equip-strip img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff; padding: 10px;
}
.equip-caption { padding: 8px 4px 8px 12px; border-left: 3px solid var(--red); }
.equip-caption strong { display: block; font-family: var(--font-display); letter-spacing: 1px; text-transform: uppercase; font-size: 1.05rem; }
.equip-caption span { color: var(--muted); font-size: 0.88rem; }

/* ============================================================
   TEAM
   ============================================================ */
.team { background: var(--bg); }
.team-main { align-items: start; margin-top: clamp(40px, 6vw, 64px); }
.team-photos { position: relative; display: grid; gap: 16px; }
.team-photos img { border-radius: var(--radius); object-fit: cover; }
.tp-main { width: 78%; aspect-ratio: 4/5; }
.tp-medal {
  position: absolute; top: 8%; right: 0; width: 46%; aspect-ratio: 3/4;
  border: 5px solid var(--bg); box-shadow: 0 22px 46px rgba(0, 0, 0, 0.6);
}
.stage-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 6px; }
.stage-stack img { aspect-ratio: 1; transition: transform 0.25s ease; }
.stage-stack img:hover { transform: scale(1.04); }

.team-copy h2 { margin-bottom: 10px; }
.team-tagline { color: var(--gold); font-style: italic; margin-bottom: 24px; font-size: 0.95rem; }

.medals { display: grid; gap: 14px; margin-bottom: 24px; }
.medals li {
  display: flex; gap: 14px; align-items: flex-start; background: var(--card);
  border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
}
.medal { font-size: 1.5rem; line-height: 1; margin-top: 2px; }
.medals strong { display: block; font-size: 0.95rem; }
.medals span:not(.medal) { color: var(--muted); font-size: 0.82rem; }
.team-copy > p { color: #cfcfd8; margin-bottom: 26px; }

.founder-card {
  display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 40px); align-items: center;
  background: linear-gradient(120deg, rgba(224, 38, 60, 0.12), rgba(224, 38, 60, 0.02) 55%);
  border: 1px solid rgba(224, 38, 60, 0.35); border-radius: var(--radius); padding: clamp(22px, 3vw, 30px);
}
.founder-photos { position: relative; padding: 0 16px 22px 0; }
.fp-main { width: 100%; aspect-ratio: 1/1.02; object-fit: cover; border-radius: 14px; }
.fp-event {
  position: absolute; right: 0; bottom: 0; width: 58%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 12px; border: 4px solid var(--bg); box-shadow: 0 18px 36px rgba(0, 0, 0, 0.55);
}
.founder-copy h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: 10px; letter-spacing: 1px; }
.founder-copy h3 span { color: var(--red); }
.founder-line { color: #cfcfd8; font-size: 0.95rem; margin-bottom: 18px; max-width: 560px; }
.founder-line strong { color: #fff; }
.founder-highlights { display: grid; gap: 12px; }
.founder-highlights li {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(10, 10, 14, 0.55); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px;
}
.founder-highlights .medal { font-size: 1.4rem; line-height: 1; margin-top: 2px; }
.founder-highlights strong { display: block; font-size: 0.93rem; }
.founder-highlights span:not(.medal) { color: var(--muted); font-size: 0.82rem; }
.founder-highlights a { color: var(--red); font-weight: 600; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { background: var(--bg-2); }
.gallery-grid { columns: 3; column-gap: 14px; }
.g-item { break-inside: avoid; margin-bottom: 14px; border-radius: 14px; overflow: hidden; position: relative; cursor: zoom-in; }
.g-item img { width: 100%; transition: transform 0.35s ease; }
.g-item::after {
  content: "⤢"; position: absolute; right: 12px; bottom: 10px; font-size: 1.1rem; color: #fff;
  background: rgba(0, 0, 0, 0.45); width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; opacity: 0; transition: opacity 0.25s ease;
}
.g-item:hover img { transform: scale(1.05); }
.g-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(5, 5, 8, 0.94);
  display: none; align-items: center; justify-content: center; padding: 4vh 4vw;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.8); }
.lb-close { position: absolute; top: 18px; right: 26px; font-size: 2.4rem; color: #fff; line-height: 1; }
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 2rem; color: #fff; padding: 18px; background: rgba(255,255,255,0.08); border-radius: 50%;
}
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lb-prev:hover, .lb-next:hover, .lb-close:hover { background: var(--red); }

/* ============================================================
   REELS
   ============================================================ */
.reels { background: var(--bg); }
.reels-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.reel { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); }
.reel video { width: 100%; aspect-ratio: 9/16; object-fit: cover; display: block; }
.reel-btn {
  position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%;
  background: rgba(224, 38, 60, 0.92); color: #fff; font-size: 1.3rem;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, opacity 0.25s ease;
}
.reel-btn:hover { transform: scale(1.08); }
.reel.playing .reel-btn { opacity: 0; pointer-events: none; }
.reel p { padding: 12px 14px 14px; font-size: 0.85rem; color: #d8d8e0; background: var(--card); }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews { background: var(--bg-2); }
.review-carousel { max-width: 860px; margin: 0 auto; position: relative; }
.review-track { position: relative; min-height: 300px; }
.review-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateX(30px);
  text-align: center; padding: 0 clamp(4px, 4vw, 40px);
}
.review-slide.active {
  opacity: 1; visibility: visible; transform: translateX(0); position: relative;
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.review-stars { color: var(--gold); letter-spacing: 4px; font-size: 1.1rem; margin-bottom: 18px; }
.review-quote { font-size: clamp(1rem, 2.2vw, 1.25rem); color: #e8e8ee; font-weight: 400; line-height: 1.75; margin-bottom: 22px; }
.review-quote::before { content: "“"; color: var(--red); font-size: 1.6em; line-height: 0; vertical-align: -0.3em; margin-right: 4px; }
.review-author { font-family: var(--font-display); letter-spacing: 1.5px; text-transform: uppercase; font-size: 1.02rem; }
.review-author small { display: block; color: var(--muted); font-family: var(--font-body); text-transform: none; letter-spacing: 0.3px; font-size: 0.8rem; margin-top: 4px; }
.review-nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 30px; }
.rev-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.04); color: #fff; font-size: 1.15rem; transition: background 0.2s ease, border-color 0.2s ease; }
.rev-arrow:hover { background: var(--red); border-color: var(--red); }
.review-dots { display: flex; gap: 9px; }
.review-dots button { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); transition: background 0.2s ease, transform 0.2s ease; }
.review-dots button.active { background: var(--red); transform: scale(1.3); }

/* ============================================================
   JOIN CTA
   ============================================================ */
.join {
  background:
    linear-gradient(rgba(9, 9, 13, 0.88), rgba(9, 9, 13, 0.94)),
    url("../assets/img/community-flag.jpg") center 30% / cover fixed;
  text-align: center; padding: clamp(70px, 10vw, 120px) 0;
}
.join h2 { font-size: clamp(2rem, 5.5vw, 3.4rem); margin-bottom: 16px; }
.join p { max-width: 560px; margin: 0 auto 34px; color: #d8d8e0; }
.join-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg); }
.contact-grid { align-items: stretch; }
.contact-cards { display: grid; gap: 18px; align-content: center; }
.ccard {
  display: flex; gap: 18px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px; transition: border-color 0.25s ease, transform 0.25s ease;
}
.ccard:hover { border-color: rgba(224, 38, 60, 0.5); transform: translateX(4px); }
.ccard-ico { font-size: 1.5rem; }
.ccard h3 { font-size: 1rem; letter-spacing: 1px; margin-bottom: 6px; }
.ccard p { color: #cfcfd8; font-size: 0.92rem; }
.ccard a { color: var(--red); font-weight: 600; }

.map-wrap {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); min-height: 460px; background: #0c0e13;
}
.map-art { position: absolute; inset: 0; overflow: hidden; }
.map-art::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 74px, rgba(255, 255, 255, 0.045) 74px 76px),
    repeating-linear-gradient(90deg, transparent 0 110px, rgba(255, 255, 255, 0.045) 110px 112px);
}
.map-road { position: absolute; background: rgba(255, 255, 255, 0.09); }
.map-road.r1 { left: -10%; right: -10%; top: 34%; height: 14px; transform: rotate(-8deg); }
.map-road.r2 { left: -10%; right: -10%; top: 72%; height: 10px; transform: rotate(5deg); }
.map-road.r3 { top: -10%; bottom: -10%; left: 62%; width: 12px; transform: rotate(9deg); }
.map-block { position: absolute; border-radius: 6px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.05); }
.map-block.b1 { width: 26%; height: 24%; left: 8%; top: 10%; }
.map-block.b2 { width: 20%; height: 18%; right: 6%; top: 44%; }
.map-block.b3 { width: 24%; height: 22%; left: 12%; bottom: 8%; }
.map-park { position: absolute; width: 150px; height: 110px; right: 10%; bottom: 6%; border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%; background: rgba(74, 158, 88, 0.16); }
.map-pin { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -100%); filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.55)); animation: pinFloat 2.6s ease-in-out infinite; }
@keyframes pinFloat { 0%, 100% { transform: translate(-50%, -100%); } 50% { transform: translate(-50%, -108%); } }
.map-pulse {
  position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%);
  width: 22px; height: 22px; border-radius: 50%; background: rgba(224, 38, 60, 0.55);
  animation: pinPulse 2.2s ease-out infinite;
}
@keyframes pinPulse { 0% { box-shadow: 0 0 0 0 rgba(224, 38, 60, 0.5); } 100% { box-shadow: 0 0 0 34px rgba(224, 38, 60, 0); } }
.map-card {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: min(420px, calc(100% - 32px));
  background: rgba(12, 12, 17, 0.88); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; text-align: center;
}
.map-card h3 { font-size: 1.05rem; letter-spacing: 1px; margin-bottom: 6px; }
.map-card p { color: var(--muted); font-size: 0.88rem; margin-bottom: 16px; }
.map-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #07070a; border-top: 1px solid var(--line); padding: 48px 0 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-bottom: 34px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { border-radius: 50%; }
.footer-name { font-family: var(--font-display); font-weight: 700; letter-spacing: 2px; font-size: 1.3rem; }
.footer-name em { font-style: normal; color: var(--red); }
.footer-tag { color: var(--muted); font-size: 0.72rem; letter-spacing: 2.4px; margin-top: 4px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: #c9c9d2; font-size: 0.88rem; }
.footer-links a:hover { color: var(--red); }
.footer-social { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-social a {
  font-size: 0.82rem; font-weight: 600; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line); color: #d8d8e0; transition: border-color 0.2s ease, color 0.2s ease;
}
.footer-social a:hover { border-color: var(--red); color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding: 18px 0 22px;
  color: var(--muted); font-size: 0.8rem;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff;
  font-size: 1.2rem; box-shadow: 0 10px 26px rgba(224, 38, 60, 0.45);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }
.reveal.d4 { transition-delay: 0.48s; }
.reveal.d5 { transition-delay: 0.6s; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .reels-grid { grid-template-columns: repeat(2, 1fr); }
  .equip-strip { grid-template-columns: repeat(4, 1fr); }
  .equip-caption { grid-column: 1 / -1; border-left: 0; border-top: 3px solid var(--red); padding: 14px 4px 0; text-align: center; }
  .gallery-grid { columns: 2; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 0; z-index: 110;
    flex-direction: column; justify-content: center; gap: 30px;
    background: rgba(7, 7, 10, 0.97); backdrop-filter: blur(14px);
    transform: translateX(100%); transition: transform 0.35s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links > a { font-size: 1.25rem; }
  .nav-cta { font-size: 1.05rem; }
  .grid-2 { grid-template-columns: 1fr; }
  .about-media { order: -1; margin-bottom: 10px; }
  .about-media img:first-child { width: 100%; }
  .about-media img:nth-child(2) { width: 46%; bottom: -6%; }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .join { background-attachment: scroll; }
}

@media (max-width: 640px) {
  .cards-3 { grid-template-columns: 1fr; }
  .card { padding: 26px 22px 30px; }
  .reels-grid { grid-template-columns: 1fr; }
  .reel video { aspect-ratio: 9/14; }
  .gallery-grid { columns: 2; column-gap: 10px; }
  .g-item { margin-bottom: 10px; }
  .team-photos .tp-main { width: 100%; }
  .tp-medal { width: 44%; top: auto; bottom: -24px; }
  .stage-stack { margin-top: 34px; }
  .founder-card { grid-template-columns: 1fr; text-align: center; }
  .founder-photos { max-width: 320px; margin: 0 auto; padding-right: 24px; }
  .fp-event { width: 54%; right: 8px; }
  .founder-line { margin-inline: auto; }
  .founder-highlights { text-align: left; }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .map-wrap { min-height: 440px; }
  .map-pin { top: 24%; }
  .map-card { bottom: 14px; padding: 16px 14px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-brand { flex-direction: column; }
  .footer-bottom { justify-content: center; text-align: center; }
  .to-top { right: 14px; bottom: 14px; width: 42px; height: 42px; }
}
