/* ==========================================================================
   Mixed Martial Arts Academy — Design System
   Theme: Black · Dark Grey · Red · Gold · White
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Core palette */
  --black:        #0a0a0b;
  --ink:          #101012;
  --panel:        #16161a;
  --panel-2:      #1d1d22;
  --grey:         #2a2a30;
  --line:         rgba(255,255,255,.08);

  --red:          #e01e2b;
  --red-dark:     #a90f1b;
  --red-glow:     rgba(224,30,43,.45);

  --gold:         #e6b64c;
  --gold-2:       #d4af37;
  --gold-light:   #f4d888;

  --white:        #ffffff;
  --text:         #ececed;
  --muted:        #a2a2ab;
  --muted-2:      #75757f;

  /* Effects */
  --radius:       14px;
  --radius-lg:    22px;
  --shadow:       0 18px 50px -18px rgba(0,0,0,.75);
  --shadow-red:   0 14px 40px -12px var(--red-glow);
  --ring-gold:    0 0 0 1px rgba(230,182,76,.35);

  --grad-red:     linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  --grad-gold:    linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-2) 100%);
  --grad-dark:    linear-gradient(180deg, var(--ink) 0%, var(--black) 100%);

  --font-display: 'Oswald', 'Arial Narrow', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --max:          1200px;
  --gutter:       clamp(18px, 5vw, 40px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--red); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--white);
}
h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
p  { color: var(--muted); }

.text-gold { color: var(--gold); }
.text-red  { color: var(--red); }
.text-grad-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: .82rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad-gold); }
.center .eyebrow::before { display: none; }

.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 60px); }
.center .section-head { margin-inline: auto; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }

.lead { font-size: 1.15rem; color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  border-radius: 50px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--grad-red); color: #fff; box-shadow: var(--shadow-red); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 46px -12px var(--red-glow); }
.btn--gold { background: var(--grad-gold); color: #1a1200; box-shadow: 0 14px 36px -14px rgba(230,182,76,.6); }
.btn--gold:hover { transform: translateY(-3px); }
.btn--ghost { background: rgba(255,255,255,.04); color: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn--sm { padding: 11px 22px; font-size: .82rem; }
.btn--block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(10,10,11,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 12px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; overflow: hidden;
  background: #000 url("../assets/logo.jpg") center/cover;
  box-shadow: var(--shadow-red), inset 0 0 0 1px rgba(255,255,255,.14);
}
.brand__mark svg { display: none; }
.brand__name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; line-height: 1; letter-spacing: .5px; }
.brand__name b { display: block; font-size: 1.05rem; color: #fff; }
.brand__name span { font-size: .62rem; letter-spacing: 3px; color: var(--gold); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative;
  font-family: var(--font-display); font-weight: 500; font-size: .86rem;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--muted); padding: 8px 12px; border-radius: 8px;
  transition: color .2s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--grad-gold); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px auto; border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1200px 600px at 75% 10%, rgba(224,30,43,.22), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(230,182,76,.12), transparent 60%),
    var(--grad-dark);
}
/* Swap in a real photo/video: set background-image on .hero__photo */
.hero__photo {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(90deg, rgba(10,10,11,.94) 0%, rgba(10,10,11,.72) 45%, rgba(10,10,11,.4) 100%),
    url("../assets/hero.jpg");
  background-size: cover; background-position: center right;
  opacity: .9;
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 70% 40%, #000 0%, transparent 70%);
}
.hero__inner { max-width: 760px; }
.hero .tagline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 50px;
  background: rgba(224,30,43,.12); box-shadow: inset 0 0 0 1px rgba(224,30,43,.4);
  font-family: var(--font-display); letter-spacing: 2px; font-size: .78rem; text-transform: uppercase;
  color: #ff8a92; margin-bottom: 26px;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .stroke {
  color: transparent; -webkit-text-stroke: 1.5px var(--gold);
}
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--text); max-width: 560px; margin-bottom: 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 54px; }
.hero__stats .num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: #fff; line-height: 1; }
.hero__stats .num span { color: var(--gold); }
.hero__stats .lbl { font-size: .8rem; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-size: .72rem; letter-spacing: 3px; text-transform: uppercase; color: var(--muted-2);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-cue::after { content: ""; width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0%,100% { opacity:.3; transform: scaleY(.6);} 50% { opacity:1; transform: scaleY(1);} }

/* ---------- Marquee ---------- */
.marquee { background: var(--grad-red); overflow: hidden; padding: 16px 0; }
.marquee__track { display: flex; gap: 48px; white-space: nowrap; width: max-content; animation: slide 26s linear infinite; }
.marquee__track span { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 3px; font-weight: 600; color: #fff; display: inline-flex; align-items: center; gap: 48px; }
.marquee__track span::after { content: "✦"; color: var(--gold-light); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.about-media { position: relative; }
.about-media .frame {
  aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden;
  background:
    linear-gradient(180deg, transparent 40%, rgba(10,10,11,.85)),
    url("../assets/about.jpg") center/cover,
    var(--grad-red);
  box-shadow: var(--shadow);
}
.about-media .badge {
  position: absolute; bottom: -24px; right: -12px;
  background: var(--panel); border-radius: var(--radius); padding: 20px 26px;
  box-shadow: var(--shadow), var(--ring-gold); text-align: center;
}
.about-media .badge b { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold); display: block; line-height: 1; }
.about-media .badge span { font-size: .74rem; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.about-list { display: grid; gap: 14px; margin-top: 26px; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.about-list svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }

/* ---------- Cards / Programs ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: var(--panel); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad-red); opacity: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity .3s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }

.prog-card .ico {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(224,30,43,.12); box-shadow: inset 0 0 0 1px rgba(224,30,43,.3);
  margin-bottom: 22px;
}
.prog-card .ico svg { width: 30px; height: 30px; color: var(--red); }
.prog-card h3 { margin-bottom: 10px; }
.prog-card .tag { font-family: var(--font-display); font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.prog-card .arrow { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: .82rem; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); transition: gap .25s ease, color .25s ease; }
.card:hover .arrow { gap: 14px; color: var(--gold); }

/* Feature (why choose us) */
.feature { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s ease, box-shadow .3s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--ring-gold); }
.feature .ico { width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: var(--grad-red); }
.feature .ico svg { width: 24px; height: 24px; color: #fff; }
.feature h4 { font-size: 1.02rem; color: #fff; margin-bottom: 4px; text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-weight: 700; }
.feature p { font-size: .9rem; }

/* ---------- Instructors ---------- */
.instructor {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--panel); box-shadow: inset 0 0 0 1px var(--line);
}
.instructor .photo { aspect-ratio: 3/3.4; background: var(--grad-dark) center/cover; position: relative; }
.instructor .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, var(--panel)); }
.instructor .info { padding: 22px 24px 26px; position: relative; margin-top: -60px; }
.instructor .role { font-family: var(--font-display); font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.instructor h3 { margin: 6px 0 8px; }
.instructor .belt { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--text); }
.instructor .belt::before { content: ""; width: 26px; height: 8px; border-radius: 3px; background: var(--grad-red); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }

/* ---------- Timings ---------- */
.timing-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 30px; border-radius: var(--radius); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.timing-card .batch { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1px; color: #fff; font-size: 1.15rem; }
.timing-card .batch span { display: block; font-size: .74rem; letter-spacing: 2px; color: var(--gold); }
.timing-card .time { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold); white-space: nowrap; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid .tile {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1;
  background: var(--grad-dark); box-shadow: inset 0 0 0 1px var(--line);
  display: grid; place-items: center; text-align: center;
  transition: transform .3s ease;
}
.gallery-grid .tile.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery-grid .tile.wide { grid-column: span 2; aspect-ratio: auto; }
.gallery-grid .tile:hover { transform: scale(1.02); }
.gallery-grid .tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(224,30,43,.25)); opacity: 0; transition: .3s; }
.gallery-grid .tile:hover::after { opacity: 1; }
.tile .cap { position: relative; z-index: 1; padding: 16px; }
.tile .cap svg { width: 34px; height: 34px; color: var(--muted-2); margin-bottom: 8px; }
.tile .cap b { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; color: var(--muted); }

/* ---------- Membership ---------- */
.plan {
  position: relative; background: var(--panel); border-radius: var(--radius-lg); padding: 34px 30px;
  box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.plan:hover { transform: translateY(-6px); }
.plan.featured { box-shadow: var(--ring-gold), var(--shadow); background: linear-gradient(180deg, var(--panel-2), var(--panel)); }
.plan.featured::before { content: "Most Popular"; position: absolute; top: 18px; right: 18px; font-family: var(--font-display); font-size: .68rem; letter-spacing: 2px; text-transform: uppercase; color: #1a1200; background: var(--grad-gold); padding: 6px 14px; border-radius: 50px; }
.plan .p-name { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1px; color: var(--gold); font-size: 1rem; }
.plan .price { font-family: var(--font-display); font-size: 3rem; color: #fff; line-height: 1; margin: 14px 0 4px; }
.plan .price small { font-size: 1rem; color: var(--muted); font-weight: 400; }
.plan .p-dur { font-size: .82rem; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.plan ul { display: grid; gap: 12px; margin: 24px 0 28px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--text); }
.plan li svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.plan .btn { margin-top: auto; }

/* ---------- Testimonials ---------- */
.quote { background: var(--panel); border-radius: var(--radius-lg); padding: 30px; box-shadow: inset 0 0 0 1px var(--line); }
.quote .stars { display: flex; gap: 3px; margin-bottom: 16px; }
.quote .stars svg { width: 18px; height: 18px; color: var(--gold); }
.quote p { color: var(--text); font-size: 1rem; margin-bottom: 20px; }
.quote .who { display: flex; align-items: center; gap: 14px; }
.quote .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-red); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; }
.quote .who b { display: block; color: #fff; font-size: .95rem; }
.quote .who span { font-size: .8rem; color: var(--muted); }

/* ---------- Blog ---------- */
.post { background: var(--panel); border-radius: var(--radius-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s ease, box-shadow .3s ease; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post .thumb { aspect-ratio: 16/10; background: var(--grad-dark); position: relative; display: grid; place-items: center; }
.post .thumb .cat { position: absolute; top: 14px; left: 14px; font-family: var(--font-display); font-size: .68rem; letter-spacing: 1.5px; text-transform: uppercase; background: var(--grad-red); color: #fff; padding: 5px 12px; border-radius: 50px; }
.post .thumb svg { width: 40px; height: 40px; color: var(--muted-2); }
.post .body { padding: 24px; }
.post .meta { font-size: .78rem; letter-spacing: 1px; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.post h3 { font-size: 1.2rem; margin-bottom: 10px; text-transform: none; letter-spacing: 0; line-height: 1.3; }
.post p { font-size: .9rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(40px, 6vw, 70px); text-align: center; background: var(--grad-red); box-shadow: var(--shadow); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 20% 0%, rgba(255,255,255,.18), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 560px; margin: 14px auto 30px; }
.cta-band .btn--gold { color: #3a0006; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-item .ico { width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: rgba(224,30,43,.12); box-shadow: inset 0 0 0 1px rgba(224,30,43,.3); }
.info-item .ico svg { width: 22px; height: 22px; color: var(--red); }
.info-item h4 { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: .82rem; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.info-item a, .info-item p { color: #fff; font-size: 1.02rem; }

.form { background: var(--panel); border-radius: var(--radius-lg); padding: 30px; box-shadow: inset 0 0 0 1px var(--line); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .8rem; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-family: var(--font-display); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 10px;
  background: var(--ink); color: #fff; font-family: inherit; font-size: .95rem;
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; box-shadow: inset 0 0 0 1px var(--gold); }
.field textarea { resize: vertical; min-height: 120px; }

.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; filter: grayscale(.3) contrast(1.05); }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: 160px 0 60px; position: relative; text-align: center; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 400px at 50% -10%, rgba(224,30,43,.25), transparent 60%), var(--grad-dark); }
.page-hero .crumbs { font-family: var(--font-display); font-size: .78rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.page-hero .crumbs a:hover { color: var(--gold); }

/* ---------- Auth (login) ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-visual { position: relative; padding: 60px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(160deg, rgba(224,30,43,.25), transparent), var(--grad-dark); overflow: hidden; }
.auth-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(circle at 30% 40%, #000, transparent 70%); }
.auth-form-side { display: grid; place-items: center; padding: 40px var(--gutter); background: var(--black); }
.auth-card { width: 100%; max-width: 400px; }
.auth-card h2 { margin-bottom: 8px; }
.auth-tabs { display: flex; gap: 8px; background: var(--ink); padding: 6px; border-radius: 12px; margin: 24px 0; }
.auth-tabs button { flex: 1; padding: 10px; border-radius: 8px; font-family: var(--font-display); letter-spacing: 1px; text-transform: uppercase; font-size: .78rem; color: var(--muted); }
.auth-tabs button.active { background: var(--grad-red); color: #fff; }
.auth-row { display: flex; align-items: center; justify-content: space-between; font-size: .85rem; margin: 4px 0 22px; }
.auth-row label { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.auth-row a { color: var(--gold); }
.badge-soon { font-size: .64rem; letter-spacing: 1px; text-transform: uppercase; background: rgba(230,182,76,.14); color: var(--gold); padding: 3px 8px; border-radius: 50px; box-shadow: inset 0 0 0 1px rgba(230,182,76,.3); }

/* ---------- Classes (online) ---------- */
.class-row { display: flex; align-items: center; gap: 20px; padding: 18px 22px; border-radius: var(--radius); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s ease; }
.class-row:hover { box-shadow: var(--ring-gold); }
.class-row .thumb { width: 120px; aspect-ratio: 16/10; border-radius: 10px; background: var(--grad-dark); flex-shrink: 0; display: grid; place-items: center; position: relative; overflow: hidden; }
.class-row .thumb svg { width: 34px; height: 34px; color: var(--white); }
.class-row .thumb::after { content: ""; position: absolute; inset: 0; background: rgba(224,30,43,.2); }
.class-row .c-body { flex: 1; min-width: 0; }
.class-row .c-body .lvl { font-family: var(--font-display); font-size: .68rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.class-row .c-body h4 { font-family: var(--font-body); text-transform: none; letter-spacing: 0; color: #fff; font-size: 1.05rem; margin: 4px 0; }
.class-row .c-body p { font-size: .85rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); border-top: 1px solid var(--line); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-grid p { font-size: .92rem; margin-top: 18px; max-width: 300px; }
.footer-col h4 { font-family: var(--font-display); font-size: .9rem; letter-spacing: 2px; color: #fff; margin-bottom: 20px; }
.footer-col a { display: block; color: var(--muted); font-size: .92rem; padding: 6px 0; transition: color .2s ease, padding .2s ease; }
.footer-col a:hover { color: var(--gold); padding-left: 6px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: .25s; }
.socials a:hover { background: var(--grad-red); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; color: #fff; }
.footer-bottom { border-top: 1px solid var(--line); padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: .84rem; margin: 0; }
.footer-bottom .links { display: flex; gap: 20px; }
.footer-bottom .links a { font-size: .84rem; color: var(--muted); }
.footer-bottom .links a:hover { color: var(--gold); }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); transition: transform .25s ease; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; gap: 4px;
    background: rgba(12,12,14,.98); backdrop-filter: blur(20px);
    padding: 100px 24px 30px; transform: translateY(-100%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
    box-shadow: 0 20px 50px -10px #000; z-index: 99;
  }
  .nav-links.open { display: flex; transform: translateY(0); }
  .nav-links a { width: 100%; padding: 14px; font-size: 1rem; text-align: center; }
  .nav-links a::after { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 420px; margin-inline: auto; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero__stats { gap: 26px; }
  .hero__stats .num { font-size: 1.9rem; }
  .timing-card { flex-direction: column; text-align: center; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .tile.wide, .gallery-grid .tile.tall { grid-column: auto; grid-row: auto; aspect-ratio: 1; }
  .class-row { flex-wrap: wrap; }
  .class-row .thumb { width: 100%; }
}

/* ==========================================================================
   ENHANCEMENTS v2 — real imagery + richer motion
   ========================================================================== */

/* ---- Scroll progress bar (injected by JS) ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  z-index: 200; background: var(--grad-gold);
  box-shadow: 0 0 12px rgba(230,182,76,.7);
  transition: width .1s linear;
}

/* ---- Animated gold gradient text ---- */
.text-grad-gold {
  background: linear-gradient(120deg, var(--gold-2) 0%, var(--gold-light) 25%, #fff7e0 50%, var(--gold-light) 75%, var(--gold-2) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 7s linear infinite;
}
@keyframes shine { to { background-position: 220% center; } }

/* ---- Button shine sweep ---- */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-22deg); transition: left .65s ease; pointer-events: none;
}
.btn:hover::after { left: 150%; }

/* ---- HERO: real photo + Ken Burns ---- */
.hero__photo {
  inset: -6%; opacity: 1;
  background-image:
    linear-gradient(90deg, rgba(10,10,11,.94) 0%, rgba(10,10,11,.66) 45%, rgba(10,10,11,.34) 100%),
    url("../assets/train-1.jpg");
  background-size: cover; background-position: center 30%;
  animation: kenburns 24s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.03) translate(0, 0); }
  to   { transform: scale(1.17) translate(-2%, -1.5%); }
}
.hero .tagline { animation: pulseGlow 3.2s ease-in-out infinite; }
@keyframes pulseGlow {
  0%,100% { box-shadow: inset 0 0 0 1px rgba(224,30,43,.4), 0 0 0 rgba(224,30,43,0); }
  50%     { box-shadow: inset 0 0 0 1px rgba(224,30,43,.7), 0 0 22px rgba(224,30,43,.35); }
}
.brand__mark { animation: markGlow 4s ease-in-out infinite; }
@keyframes markGlow {
  0%,100% { box-shadow: var(--shadow-red), inset 0 0 0 1px rgba(255,255,255,.12); }
  50%     { box-shadow: 0 0 26px rgba(224,30,43,.6), inset 0 0 0 1px rgba(255,255,255,.2); }
}

/* ---- ABOUT: real photo + floating badge ---- */
.about-media .frame {
  background:
    linear-gradient(180deg, transparent 45%, rgba(10,10,11,.75)),
    url("../assets/train-3.jpg") center 20%/cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.about-media:hover .frame { transform: translateY(-6px) scale(1.01); }
.about-media .badge { animation: floaty 4.5s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---- Interior page-hero: real photo ---- */
.page-hero__bg {
  background:
    radial-gradient(900px 400px at 50% -10%, rgba(224,30,43,.35), transparent 60%),
    linear-gradient(180deg, rgba(10,10,11,.82) 0%, rgba(10,10,11,.95) 100%),
    url("../assets/train-2.jpg") center 25%/cover;
}

/* ---- Reusable image layer via --img custom property ---- */
.has-img { position: relative; overflow: hidden; }
.has-img::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--img); background-size: cover; background-position: center;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}

/* ---- PROGRAM cards with image header ---- */
.prog-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.prog-card .prog-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.prog-card .prog-media::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--img); background-size: cover; background-position: center;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.prog-card .prog-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,.05) 0%, rgba(22,22,26,.55) 55%, var(--panel) 100%);
}
.prog-card:hover .prog-media::before { transform: scale(1.09); }
.prog-card .ico { position: absolute; left: 22px; bottom: -28px; z-index: 2; margin: 0; }
.prog-card .prog-body { padding: 42px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.prog-card .prog-body .arrow { margin-top: auto; }

/* ---- INSTRUCTOR photo zoom ---- */
.instructor .photo { transition: transform .6s cubic-bezier(.2,.7,.2,1); background-size: cover; background-position: center top; }
.instructor:hover .photo { transform: scale(1.06); }

/* ---- GALLERY tiles with photos ---- */
.gallery-grid .tile { place-items: stretch; }
.gallery-grid .tile::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--img); background-size: cover; background-position: center;
  transition: transform .8s cubic-bezier(.2,.7,.2,1); z-index: 0;
}
.gallery-grid .tile:hover::before { transform: scale(1.12); }
.gallery-grid .tile::after {
  opacity: 1; z-index: 1;
  background: linear-gradient(180deg, transparent 30%, rgba(10,10,11,.9));
  transition: background .35s ease;
}
.gallery-grid .tile:hover::after { background: linear-gradient(180deg, rgba(224,30,43,.28) 0%, rgba(10,10,11,.92)); }
.gallery-grid .tile .cap { position: absolute; left: 16px; bottom: 12px; z-index: 2; padding: 0; text-align: left; }
.gallery-grid .tile .cap svg { display: none; }
.gallery-grid .tile .cap b { color: #fff; }

/* ---- BLOG thumbnails with photos ---- */
.post .thumb::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--img); background-size: cover; background-position: center;
  transition: transform .6s cubic-bezier(.2,.7,.2,1); z-index: 0;
}
.post:hover .thumb::before { transform: scale(1.08); }
.post .thumb::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 35%, rgba(22,22,26,.55));
}
.post .thumb svg { display: none; }
.post .thumb .cat { z-index: 2; }

/* ---- Tilt (set by JS) ---- */
.tilt { transform-style: preserve-3d; will-change: transform; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__photo { transform: none; }
}

/* ==========================================================================
   INTERACTIONS v3 — modals, toasts, lightbox, carousel, dashboard
   ========================================================================== */

/* ---- Modal ---- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300; padding: 20px;
  background: rgba(5,5,7,.84); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  position: relative; width: 100%; max-width: 860px; max-height: 92vh; overflow: auto;
  background: var(--panel); border-radius: var(--radius-lg); box-shadow: var(--shadow), var(--ring-gold);
  transform: translateY(24px) scale(.97); transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.modal-overlay.open .modal { transform: none; }
.modal--sm { max-width: 480px; }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0,0,0,.55); color: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: .2s;
}
.modal__close:hover { background: var(--red); transform: rotate(90deg); }
.modal__close svg { width: 20px; height: 20px; }
.modal__video { aspect-ratio: 16/9; background: #000; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; }
.modal__video iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal__body { padding: 24px 28px 30px; }
.modal__body .lvl { font-family: var(--font-display); font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.modal__body h3 { margin: 6px 0 10px; text-transform: none; letter-spacing: 0; }

/* ---- Lightbox ---- */
.lightbox .modal { max-width: none; width: auto; background: transparent; box-shadow: none; overflow: visible; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.lightbox__cap { text-align: center; color: #fff; margin-top: 14px; font-family: var(--font-display); letter-spacing: 2px; text-transform: uppercase; font-size: .85rem; }
.lightbox__nav {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0,0,0,.5); color: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: .2s;
}
.lightbox__nav:hover { background: var(--red); }
.lightbox__nav svg { width: 24px; height: 24px; }
.lightbox__nav.prev { left: 20px; } .lightbox__nav.next { right: 20px; }
.gallery-grid .tile { cursor: pointer; }

/* ---- Toasts ---- */
.toast-wrap { position: fixed; left: 20px; bottom: 20px; z-index: 400; display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
.toast {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 12px;
  background: var(--panel-2); box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
  transform: translateX(-120%); opacity: 0; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .45s;
}
.toast.show { transform: none; opacity: 1; }
.toast .ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.toast .ic svg { width: 17px; height: 17px; }
.toast.success .ic { background: rgba(230,182,76,.18); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(230,182,76,.4); }
.toast.info .ic { background: rgba(224,30,43,.18); color: #ff8a92; box-shadow: inset 0 0 0 1px rgba(224,30,43,.4); }
.toast b { font-size: .9rem; color: #fff; display: block; }
.toast small { font-size: .8rem; color: var(--muted); }

/* ---- Billing toggle (membership) ---- */
.billing-toggle { display: inline-flex; align-items: center; gap: 14px; justify-content: center; margin-bottom: 40px; }
.billing-toggle .lab { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1px; color: var(--muted); transition: color .2s; font-size: .9rem; }
.billing-toggle .lab.active { color: #fff; }
.switch { width: 60px; height: 32px; border-radius: 50px; background: var(--ink); box-shadow: inset 0 0 0 1px var(--line); position: relative; cursor: pointer; flex-shrink: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: var(--grad-red); transition: transform .3s cubic-bezier(.2,.8,.2,1), background .3s; }
.switch.annual::after { transform: translateX(28px); background: var(--grad-gold); }
.billing-toggle .save { font-size: .68rem; background: rgba(230,182,76,.15); color: var(--gold); padding: 4px 10px; border-radius: 50px; box-shadow: inset 0 0 0 1px rgba(230,182,76,.3); font-family: var(--font-display); letter-spacing: 1px; text-transform: uppercase; }
.plan .price .amt { display: inline-block; transition: opacity .25s ease, transform .25s ease; }
.plan .price.flip .amt { opacity: 0; transform: translateY(-6px); }

/* ---- FAQ accordion ---- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--panel); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: box-shadow .25s; }
.faq-item.open { box-shadow: var(--ring-gold); }
.faq-q { width: 100%; text-align: left; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .5px; color: #fff; font-size: 1rem; }
.faq-q .pm { width: 24px; height: 24px; flex-shrink: 0; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--gold); border-radius: 2px; }
.faq-q .pm::before { top: 11px; left: 3px; right: 3px; height: 2px; }
.faq-q .pm::after { left: 11px; top: 3px; bottom: 3px; width: 2px; transition: transform .3s ease; }
.faq-item.open .pm::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 24px 22px; font-size: .95rem; }

/* ---- Testimonials carousel ---- */
.tcar { max-width: 760px; margin: 0 auto; position: relative; overflow: hidden; }
.tcar__track { display: flex; transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.tcar__slide { flex: 0 0 100%; padding: 6px; }
.tcar__slide .quote { text-align: center; padding: 40px 34px; }
.tcar__slide .quote .stars { justify-content: center; }
.tcar__slide .quote p { font-size: 1.15rem; }
.tcar__slide .quote .who { justify-content: center; }
.tcar__ctrl { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 24px; }
.tcar__arrow { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: .2s; }
.tcar__arrow:hover { background: var(--grad-red); transform: translateY(-2px); }
.tcar__arrow svg { width: 20px; height: 20px; color: #fff; }
.tcar__dots { display: flex; gap: 8px; }
.tcar__dots button { width: 10px; height: 10px; border-radius: 50%; background: var(--grey); transition: .25s; }
.tcar__dots button.active { background: var(--grad-gold); width: 28px; border-radius: 50px; }

/* ---- Class row: make clearly clickable ---- */
.class-row { cursor: pointer; }
.class-row .thumb .play-badge { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; }
.class-row .thumb .play-badge span { width: 40px; height: 40px; border-radius: 50%; background: rgba(224,30,43,.9); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.4); transition: transform .25s; }
.class-row:hover .thumb .play-badge span { transform: scale(1.12); }
.class-row .thumb .play-badge svg { width: 18px; height: 18px; color: #fff; margin-left: 2px; }

/* ---- Back to top ---- */
.to-top { position: fixed; right: 22px; bottom: 90px; z-index: 89; width: 46px; height: 46px; border-radius: 12px; background: var(--panel-2); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--grad-red); }
.to-top svg { width: 20px; height: 20px; color: #fff; }

/* ==========================================================================
   STUDENT DASHBOARD
   ========================================================================== */
.dash { min-height: 100vh; background:
  radial-gradient(800px 400px at 100% 0%, rgba(224,30,43,.12), transparent 60%),
  var(--black); }
.dash-top { position: sticky; top: 0; z-index: 50; background: rgba(10,10,11,.9); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.dash-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.dash-user { display: flex; align-items: center; gap: 12px; }
.dash-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-red); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; box-shadow: var(--shadow-red); }
.dash-user b { display: block; color: #fff; font-family: var(--font-display); letter-spacing: .5px; }
.dash-user span { font-size: .78rem; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; }
.dash-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.dash-card { background: var(--panel); border-radius: var(--radius-lg); padding: 24px; box-shadow: inset 0 0 0 1px var(--line); }
.dash-card h3 { font-size: 1.05rem; text-transform: none; letter-spacing: 0; margin-bottom: 4px; }
.dash-card .card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.col-3 { grid-column: span 3; } .col-4 { grid-column: span 4; } .col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; } .col-7 { grid-column: span 7; } .col-8 { grid-column: span 8; } .col-12 { grid-column: span 12; }
.welcome-band { position: relative; overflow: hidden; background: linear-gradient(120deg, rgba(224,30,43,.9), rgba(169,15,27,.9)); border-radius: var(--radius-lg); padding: 30px 34px; box-shadow: var(--shadow); }
.welcome-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 200px at 90% -20%, rgba(255,255,255,.2), transparent 60%); }
.welcome-band h2 { position: relative; color: #fff; }
.welcome-band p { position: relative; color: rgba(255,255,255,.9); margin-top: 6px; }
.stat-tile { text-align: center; }
.stat-tile .big { font-family: var(--font-display); font-size: 2.2rem; color: var(--gold); line-height: 1; }
.stat-tile .lbl { font-size: .74rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-top: 6px; }
.ring { width: 130px; height: 130px; border-radius: 50%; margin: 4px auto 0; display: grid; place-items: center; position: relative; background: conic-gradient(var(--gold) calc(var(--val,0) * 1%), var(--grey) 0); transition: background 1.2s ease; }
.ring::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--panel); }
.ring b { position: relative; font-family: var(--font-display); font-size: 1.7rem; color: #fff; }
.ring b small { font-size: .9rem; color: var(--muted); }
.prog-row { margin-bottom: 16px; }
.prog-row .top { display: flex; justify-content: space-between; font-size: .88rem; margin-bottom: 8px; }
.prog-row .top b { color: #fff; font-weight: 600; } .prog-row .top span { color: var(--gold); }
.progress { height: 8px; border-radius: 50px; background: var(--ink); overflow: hidden; }
.progress > i { display: block; height: 100%; width: 0; border-radius: 50px; background: var(--grad-red); transition: width 1.3s cubic-bezier(.2,.8,.2,1); }
.dash-list { display: grid; gap: 12px; }
.dash-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; background: var(--ink); }
.dash-row .dot { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; background: rgba(224,30,43,.14); box-shadow: inset 0 0 0 1px rgba(224,30,43,.3); }
.dash-row .dot svg { width: 20px; height: 20px; color: var(--red); }
.dash-row .rb { flex: 1; min-width: 0; }
.dash-row .rb b { color: #fff; font-size: .95rem; display: block; }
.dash-row .rb span { color: var(--muted); font-size: .82rem; }
.dash-row .rt { font-family: var(--font-display); color: var(--gold); font-size: .9rem; white-space: nowrap; }
.pill { font-size: .68rem; text-transform: uppercase; letter-spacing: 1px; padding: 4px 10px; border-radius: 50px; font-family: var(--font-display); }
.pill.green { background: rgba(52,211,102,.15); color: #34d366; box-shadow: inset 0 0 0 1px rgba(52,211,102,.3); }
.pill.gold { background: rgba(230,182,76,.15); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(230,182,76,.3); }
.notif { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.notif:last-child { border-bottom: none; }
.notif .nd { width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-top: 6px; flex-shrink: 0; box-shadow: 0 0 8px var(--red-glow); }
.notif b { color: #fff; font-size: .9rem; display: block; } .notif span { color: var(--muted); font-size: .8rem; }
.dl-btn { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--ink); box-shadow: inset 0 0 0 1px var(--line); transition: .2s; }
.dl-btn:hover { box-shadow: inset 0 0 0 1px var(--gold); transform: translateY(-2px); }
.dl-btn svg { width: 18px; height: 18px; color: var(--gold); }
.dl-btn span { font-size: .9rem; color: #fff; }

@media (max-width: 920px) {
  .col-3, .col-4, .col-5 { grid-column: span 6; }
  .col-6, .col-7, .col-8 { grid-column: span 12; }
}
@media (max-width: 560px) {
  .dash-grid > * { grid-column: span 12 !important; }
  .lightbox__nav.prev { left: 8px; } .lightbox__nav.next { right: 8px; }
  .tcar__slide .quote p { font-size: 1rem; }
  .hide-sm { display: none; }
}

/* ==========================================================================
   ADMIN PANEL
   ========================================================================== */
.admin { background: var(--black); }
.admin-layout { display: grid; grid-template-columns: 262px 1fr; min-height: 100vh; }
.admin-side { background: var(--ink); border-right: 1px solid var(--line); padding: 22px 16px; position: sticky; top: 0; height: 100vh; overflow: auto; }
.admin-side .brand { margin: 4px 0 24px 8px; }
.admin-nav { display: grid; gap: 4px; }
.admin-nav button { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 11px 14px; border-radius: 10px; color: var(--muted); font-family: var(--font-display); letter-spacing: .5px; text-transform: uppercase; font-size: .82rem; transition: background .2s, color .2s; }
.admin-nav button svg { width: 18px; height: 18px; flex-shrink: 0; }
.admin-nav button:hover { color: #fff; background: var(--panel); }
.admin-nav button.active { color: #fff; background: var(--grad-red); box-shadow: var(--shadow-red); }
.admin-nav .nav-label { font-size: .68rem; letter-spacing: 2px; color: var(--muted-2); padding: 16px 14px 6px; }
.admin-main { display: flex; flex-direction: column; min-width: 0; }
.admin-top { position: sticky; top: 0; z-index: 20; background: rgba(10,10,11,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding: 13px 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.admin-top h1 { font-size: 1.3rem; }
.admin-content { padding: 26px; }
.adm-pane { display: none; }
.adm-pane.active { display: block; animation: admFade .4s ease; }
@keyframes admFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.adm-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.adm-bar p { font-size: .92rem; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); }
table.data { width: 100%; border-collapse: collapse; min-width: 640px; }
table.data th { text-align: left; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1px; font-size: .72rem; color: var(--muted); padding: 14px 18px; background: var(--panel-2); white-space: nowrap; }
table.data td { padding: 13px 18px; border-top: 1px solid var(--line); color: var(--text); font-size: .9rem; vertical-align: middle; }
table.data tbody tr { transition: background .15s; }
table.data tbody tr:hover td { background: var(--panel); }
.cellname { display: flex; align-items: center; gap: 10px; }
.mini-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--grad-red); display: grid; place-items: center; font-family: var(--font-display); font-size: .78rem; color: #fff; flex-shrink: 0; }
.row-act { display: flex; gap: 8px; }
.icon-btn { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: var(--ink); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); transition: .2s; }
.icon-btn:hover { box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold); }
.icon-btn.danger:hover { box-shadow: inset 0 0 0 1px var(--red); color: var(--red); }
.icon-btn svg { width: 16px; height: 16px; }
.yt-input { width: 100%; min-width: 200px; padding: 9px 12px; border-radius: 8px; background: var(--ink); color: #fff; font-family: monospace; font-size: .85rem; box-shadow: inset 0 0 0 1px var(--line); }
.yt-input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--gold); }

.adm-stat { background: var(--panel); border-radius: var(--radius-lg); padding: 22px; box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden; }
.adm-stat .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(224,30,43,.14); box-shadow: inset 0 0 0 1px rgba(224,30,43,.3); margin-bottom: 16px; }
.adm-stat .ic svg { width: 22px; height: 22px; color: var(--red); }
.adm-stat .big { font-family: var(--font-display); font-size: 2rem; color: #fff; line-height: 1; }
.adm-stat .lbl { font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-top: 6px; }
.adm-stat .trend { position: absolute; top: 22px; right: 22px; font-size: .74rem; font-family: var(--font-display); color: #34d366; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.uploader { border: 2px dashed var(--line); border-radius: var(--radius); padding: 30px; text-align: center; transition: .2s; cursor: pointer; }
.uploader:hover { border-color: var(--gold); background: var(--panel); }
.uploader svg { width: 30px; height: 30px; color: var(--gold); margin-bottom: 10px; }
.gal-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.gal-admin .g { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background-size: cover; background-position: center; }
.gal-admin .g button { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 8px; background: rgba(0,0,0,.6); color: #fff; display: grid; place-items: center; opacity: 0; transition: .2s; }
.gal-admin .g:hover button { opacity: 1; }
.gal-admin .g button:hover { background: var(--red); }
.gal-admin .g button svg { width: 15px; height: 15px; }

.admin-side__close { display: none; }
@media (max-width: 900px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; border-right: none; border-bottom: 1px solid var(--line); }
  .admin-nav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; gap: 6px; padding-bottom: 6px; }
  .admin-nav .nav-label { display: none; }
  .admin-nav button { white-space: nowrap; }
}

/* ---- Print/screenshot mode (deterministic heights for full-page capture) ---- */
.printmode .hero { min-height: 760px; }
.printmode .scroll-cue { display: none; }
.printmode .auth-wrap { min-height: 820px; }
.printmode .dash, .printmode .admin-layout { min-height: 0; }
.printmode .admin-side { height: auto; position: static; }
