/* ── ROOT VARIABLES ─────────────────────────────── */
:root {
  --black: #0a0a0a;
  --white: #f5f0e8;
  --accent: #ff5c1a;
  --accent2: #f0c040;
  --gray: #1a1a1a;
  --mid: #2a2a2a;
  --text-muted: #888;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--black); color: var(--white); font-family: 'Geologica', sans-serif; overflow-x: hidden; cursor: none; }

/* ── CURSOR ─── */
@media (pointer: coarse) { body { cursor: auto; } #cursor-dot, #cursor-ring { display: none; } }
#cursor-dot { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); transform: translate(-50%, -50%); mix-blend-mode: difference; }
#cursor-ring { position: fixed; top: 0; left: 0; z-index: 9998; pointer-events: none; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--accent); transform: translate(-50%, -50%); transition: width 0.3s, height 0.3s, opacity 0.3s, border-color 0.3s; opacity: 0.7; }
.cursor-trail { position: fixed; pointer-events: none; z-index: 9997; border-radius: 50%; background: var(--accent); transition: opacity 0.6s; }
body:has(a:hover) #cursor-ring, body:has(button:hover) #cursor-ring { width: 60px; height: 60px; opacity: 1; border-color: var(--accent2); }

/* ── NOISE OVERLAY ─── */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.022;
}

/* ── NAV ─── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1rem 3rem; background: rgba(10,10,10,0.9); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,92,26,0.15); transition: padding 0.3s; }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 54px; width: auto; filter: invert(1); }
.nav-links { display: flex; gap: 1.8rem; list-style: none; }
.nav-links a { color: var(--white); text-decoration: none; font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; position: relative; padding-bottom: 4px; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.3s; }
.nav-links a:hover::after { width: 100%; }
.nav-cta { background: var(--accent); color: var(--black) !important; padding: 0.5rem 1.2rem; font-weight: 700; clip-path: polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%); transition: background 0.3s !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--accent2) !important; color: var(--black) !important; }

/* ── MOBILE NAV ─── */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: transform 0.3s, opacity 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; z-index: 99; background: rgba(10,10,10,0.97); backdrop-filter: blur(20px); padding: 2rem; flex-direction: column; gap: 1.5rem; border-bottom: 1px solid rgba(255,92,26,0.2); }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--white); text-decoration: none; font-family: 'Bebas Neue', cursive; font-size: 2rem; letter-spacing: 0.05em; transition: color 0.3s; }
.mobile-menu a:hover { color: var(--accent); }

/* ── HERO ─── */
#hero { min-height: 100vh; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 3rem 5rem; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 70% 40%, #1a0a00 0%, #0a0a0a 60%); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,92,26,0.06) 1px,transparent 1px), linear-gradient(90deg,rgba(255,92,26,0.06) 1px,transparent 1px); background-size: 60px 60px; animation: gridMove 20s linear infinite; }
@keyframes gridMove { from { transform: translateY(0); } to { transform: translateY(60px); } }
.hero-orb { position: absolute; top: 15%; right: 8%; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(255,92,26,0.18) 0%, transparent 70%); animation: pulse 4s ease-in-out infinite; filter: blur(40px); }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.hero-ticker { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg,transparent,var(--accent),var(--accent2),transparent); animation: tickerSlide 3s ease-in-out infinite; }
@keyframes tickerSlide { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.hero-label { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--accent); letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 1.5rem; animation: fadeUp 1s ease both; }
.hero-title { font-family: 'Bebas Neue', cursive; font-size: clamp(4.5rem,13vw,13rem); line-height: 0.88; letter-spacing: -0.02em; animation: fadeUp 1s 0.2s ease both; }
.hero-title span { color: var(--accent); }
.hero-subtitle { font-size: clamp(0.95rem,1.8vw,1.25rem); font-weight: 300; max-width: 520px; color: rgba(245,240,232,0.7); margin: 1.5rem 0 2.5rem; line-height: 1.65; animation: fadeUp 1s 0.4s ease both; }
.hero-ctas { display: flex; gap: 1.2rem; flex-wrap: wrap; animation: fadeUp 1s 0.6s ease both; }
.hero-scroll { position: absolute; bottom: 2rem; right: 3rem; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; letter-spacing: 0.2em; color: var(--text-muted); text-transform: uppercase; animation: fadeUp 1s 1s ease both; }
.scroll-line { width: 1px; height: 60px; background: linear-gradient(var(--accent),transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { opacity:1; transform:scaleY(1); } 50% { opacity:0.4; transform:scaleY(0.6); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

/* ── BUTTONS ─── */
.btn-primary { display: inline-block; padding: 1rem 2.2rem; background: var(--accent); color: var(--black); font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; clip-path: polygon(12px 0,100% 0,calc(100% - 12px) 100%,0 100%); transition: background 0.3s, transform 0.2s; position: relative; overflow: hidden; }
.btn-primary::before { content: ''; position: absolute; inset: 0; background: var(--accent2); transform: scaleX(0); transform-origin: right; transition: transform 0.4s cubic-bezier(.4,0,.2,1); }
.btn-primary:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-primary span { position: relative; z-index: 1; }
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline { display: inline-block; padding: 1rem 2.2rem; border: 1.5px solid rgba(255,255,255,0.3); color: var(--white); font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; clip-path: polygon(12px 0,100% 0,calc(100% - 12px) 100%,0 100%); transition: border-color 0.3s, color 0.3s, transform 0.2s; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ── SECTIONS COMMON ─── */
section { padding: 6rem 3rem; }
.section-label { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--accent); letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 1rem; }
.section-title { font-family: 'Bebas Neue', cursive; font-size: clamp(2.8rem,6.5vw,5.5rem); line-height: 1; margin-bottom: 2rem; }
.reveal { opacity: 0; transform: translateY(50px); transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-60px); transition: opacity 0.8s, transform 0.8s; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(60px); transition: opacity 0.8s, transform 0.8s; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── ABOUT ─── */
#about { background: var(--gray); position: relative; overflow: hidden; }
#about::before { content: 'ЛОВКОСТЬ'; position: absolute; top: -2rem; left: -1rem; font-family: 'Bebas Neue', cursive; font-size: 20vw; color: rgba(255,255,255,0.02); pointer-events: none; line-height: 1; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; max-width: 1300px; margin: 0 auto; }
.about-text p { font-size: 1.05rem; line-height: 1.75; color: rgba(245,240,232,0.8); margin-bottom: 1.2rem; }
.about-text strong { color: var(--accent2); font-weight: 600; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.stat-card { background: var(--mid); padding: 2rem 1.5rem; border-top: 3px solid var(--accent); position: relative; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.stat-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(255,92,26,0.15); }
.stat-number { font-family: 'Bebas Neue', cursive; font-size: 3.5rem; color: var(--accent); line-height: 1; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.3rem; }

/* ── PROGRAMS ─── */
#programs { background: var(--black); }
.programs-header { max-width: 1300px; margin: 0 auto 3rem; }
.programs-grid { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(270px,1fr)); gap: 1.5px; background: rgba(255,92,26,0.15); }
.program-card { background: var(--black); padding: 2.5rem 2rem; position: relative; overflow: hidden; transition: background 0.4s; }
.program-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg,rgba(255,92,26,0.1),transparent); opacity: 0; transition: opacity 0.4s; }
.program-card:hover { background: #111; }
.program-card:hover::before { opacity: 1; }
.program-number { font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; color: var(--accent); letter-spacing: 0.2em; margin-bottom: 1rem; }
.program-icon { font-size: 2.5rem; margin-bottom: 1.2rem; display: block; transition: transform 0.4s cubic-bezier(.34,1.56,.64,1); }
.program-card:hover .program-icon { transform: scale(1.2) rotate(-5deg); }
.program-name { font-family: 'Bebas Neue', cursive; font-size: 1.8rem; margin-bottom: 0.8rem; transition: color 0.3s; }
.program-card:hover .program-name { color: var(--accent); }
.program-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.program-line { position: absolute; bottom: 0; left: 0; height: 2px; background: linear-gradient(90deg,var(--accent),var(--accent2)); width: 0; transition: width 0.5s; }
.program-card:hover .program-line { width: 100%; }

/* ── PRICING ─── */
#pricing { background: var(--gray); }
.pricing-wrap { max-width: 1300px; margin: 0 auto; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.price-card { padding: 3rem 2.5rem; position: relative; background: var(--mid); overflow: hidden; transition: transform 0.4s, box-shadow 0.4s; }
.price-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(0,0,0,0.4); }
.price-card.featured { background: var(--accent); color: var(--black); }
.price-card.featured .price-label, .price-card.featured .price-desc { color: rgba(0,0,0,0.7); }
.price-card::before { content: ''; position: absolute; top: -50%; right: -30%; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,0.04); transition: transform 0.6s; }
.price-card:hover::before { transform: scale(1.5); }
.price-label { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem; }
.price-amount { font-family: 'Bebas Neue', cursive; font-size: clamp(3rem,6vw,4.5rem); line-height: 1; }
.price-amount small { font-family: 'Geologica', sans-serif; font-size: 1rem; font-weight: 300; }
.price-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 1.5rem 0; }
.price-card.featured .price-divider { background: rgba(0,0,0,0.15); }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.price-features li { font-size: 0.9rem; display: flex; align-items: center; gap: 0.6rem; }
.price-features li::before { content: '→'; color: var(--accent2); font-weight: 700; }
.price-card.featured .price-features li::before { color: var(--black); }
.price-desc { font-size: 0.8rem; margin-top: 1.5rem; color: var(--text-muted); }

/* ── TRAINER ─── */
#trainer { background: var(--black); overflow: hidden; }
.trainer-inner { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.trainer-visual { position: relative; aspect-ratio: 1/1; max-width: 480px; overflow: hidden; clip-path: polygon(0 0,100% 0,100% 85%,85% 100%,0 100%); }
.trainer-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; filter: grayscale(20%) contrast(1.05); transition: transform 0.6s, filter 0.6s; }
.trainer-visual:hover img { transform: scale(1.04); filter: grayscale(0%) contrast(1.1); }
.trainer-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg,rgba(255,92,26,0.08) 0%,transparent 60%); pointer-events: none; }
.trainer-badge { position: absolute; bottom: 2rem; left: -1rem; background: var(--accent); color: var(--black); padding: 0.8rem 1.5rem; font-weight: 700; font-size: 0.85rem; clip-path: polygon(0 0,100% 0,calc(100% - 8px) 100%,0 100%); z-index: 2; }
.trainer-name { font-family: 'Bebas Neue', cursive; font-size: clamp(2.5rem,4.5vw,3.8rem); line-height: 1; margin-bottom: 1.5rem; }
.trainer-name span { color: var(--accent); }
.trainer-bio p { font-size: 0.95rem; line-height: 1.75; color: rgba(245,240,232,0.8); margin-bottom: 1rem; }
.trainer-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.tag { background: var(--mid); padding: 0.4rem 1rem; font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; letter-spacing: 0.1em; color: var(--accent2); border: 1px solid rgba(240,192,64,0.2); clip-path: polygon(6px 0,100% 0,calc(100% - 6px) 100%,0 100%); transition: background 0.3s, border-color 0.3s; }
.tag:hover { background: rgba(240,192,64,0.1); border-color: var(--accent2); }

/* ── SCHEDULE ─── */
#schedule { background: var(--gray); }
.schedule-wrap { max-width: 1300px; margin: 0 auto; }
.schedule-highlight { background: var(--mid); border-left: 4px solid var(--accent); padding: 2.5rem 3rem; margin-top: 1rem; display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; position: relative; overflow: hidden; }
.schedule-highlight::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(255,92,26,0.05),transparent); pointer-events: none; }
.schedule-day { font-family: 'Bebas Neue', cursive; font-size: 5rem; color: var(--accent); line-height: 1; }
.schedule-details { flex: 1; min-width: 220px; }
.schedule-time { font-family: 'Bebas Neue', cursive; font-size: 2.8rem; line-height: 1; }
.schedule-desc { font-size: 0.95rem; color: rgba(245,240,232,0.7); margin-top: 0.5rem; line-height: 1.6; }
.schedule-note { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.8rem; }
.schedule-cta { margin-top: 2.5rem; }

/* ── ATHLETES ─── */
#athletes { background: var(--black); overflow: hidden; position: relative; }
.athletes-inner { max-width: 1300px; margin: 0 auto; }
.athletes-text { max-width: 700px; }
.athletes-text p { font-size: 1.05rem; line-height: 1.75; color: rgba(245,240,232,0.8); margin-bottom: 1.2rem; }
.sports-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(150px,1fr)); gap: 1rem; margin-top: 2.5rem; }
.sport-item { background: var(--gray); padding: 1.2rem 1rem; text-align: center; transition: transform 0.3s, background 0.3s, box-shadow 0.3s; border-bottom: 2px solid transparent; }
.sport-item:hover { transform: translateY(-5px); background: var(--mid); border-color: var(--accent); box-shadow: 0 15px 30px rgba(255,92,26,0.1); }
.sport-emoji { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.sport-name { font-size: 0.8rem; color: rgba(245,240,232,0.7); }

/* ── CONTACT ─── */
#contact { background: var(--black); overflow: hidden; }
.contact-inner { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.contact-details { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1.2rem; align-items: flex-start; }
.contact-icon { width: 44px; height: 44px; background: var(--gray); border-top: 2px solid var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; transition: background 0.3s; }
.contact-item:hover .contact-icon { background: rgba(255,92,26,0.1); }
.contact-item-label { font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; color: var(--text-muted); letter-spacing: 0.2em; text-transform: uppercase; }
.contact-item-value { font-size: 0.95rem; margin-top: 0.2rem; }
.contact-item-value a { color: var(--white); text-decoration: none; }
.contact-item-value a:hover { color: var(--accent); }
.socials { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.social-link { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-family: 'JetBrains Mono', monospace; text-decoration: none; color: var(--white); transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.2s; }
.social-link:hover { background: var(--accent); border-color: var(--accent); color: var(--black); transform: translateY(-3px); }
.map-preview { background: var(--gray); height: 180px; margin-top: 2rem; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; cursor: pointer; border-top: 2px solid var(--accent); transition: filter 0.3s; }
.map-preview:hover { filter: brightness(1.25); }
.map-preview::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg,rgba(255,92,26,0.05),transparent); }
.map-text { font-family: 'Bebas Neue', cursive; font-size: 1.2rem; color: var(--accent); text-align: center; }

/* ── FORM ─── */
.form-title { font-family: 'Bebas Neue', cursive; font-size: 2rem; margin-bottom: 2rem; }
.form-group { margin-bottom: 1.5rem; position: relative; }
.form-group label { display: block; font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; color: var(--text-muted); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.5rem; }
.form-group input,
.form-group textarea,
.form-group select { width: 100%; background: var(--gray); border: none; border-bottom: 2px solid rgba(255,255,255,0.1); color: var(--white); padding: 0.9rem 0; font-family: 'Geologica', sans-serif; font-size: 0.95rem; outline: none; transition: border-color 0.3s; -webkit-appearance: none; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); }
.form-group textarea { height: 110px; resize: none; }
.form-group select { background: var(--gray) !important; cursor: pointer; }
.form-group select option { background: var(--gray); }
.form-focus-line { position: absolute; bottom: 0; left: 0; height: 2px; background: var(--accent); width: 0; transition: width 0.4s; }
.form-group:focus-within .form-focus-line { width: 100%; }
.form-submit { width: 100%; }
.form-note { font-size: 0.72rem; color: var(--text-muted); margin-top: 1rem; line-height: 1.5; }

/* ── FOOTER ─── */
footer { background: var(--gray); padding: 2.5rem 3rem; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-inner { max-width: 1300px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-logo img { height: 44px; width: auto; filter: invert(1) opacity(0.4); }
.footer-copy { font-size: 0.75rem; color: var(--text-muted); }
.footer-copy a { color: var(--accent); text-decoration: none; }
.footer-tagline { font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; color: rgba(255,255,255,0.2); letter-spacing: 0.05em; }

/* ── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .about-grid, .trainer-inner, .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .pricing-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .trainer-visual { max-width: 100%; aspect-ratio: 16/10; }
  .trainer-visual img { object-position: center 20%; }
}
@media (max-width: 768px) {
  nav { padding: 0.9rem 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  section { padding: 4rem 1.5rem; }
  #hero { padding: 0 1.5rem 4rem; }
  .hero-orb { width: 280px; height: 280px; right: -5%; }
  .hero-title { font-size: clamp(3.5rem,18vw,6rem); }
  .hero-scroll { display: none; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 2.8rem; }
  .programs-grid { grid-template-columns: 1fr; gap: 0; }
  .schedule-highlight { padding: 2rem 1.5rem; gap: 1.5rem; }
  .schedule-day { font-size: 4rem; }
  .schedule-time { font-size: 2.2rem; }
  .sports-grid { grid-template-columns: repeat(2,1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .trainer-visual { aspect-ratio: 1/1; }
  footer { padding: 2rem 1.5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; }
}
@media (max-width: 480px) {
  .about-stats { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .stat-card { padding: 1.5rem 1rem; }
  .stat-number { font-size: 2.4rem; }
  .sports-grid { grid-template-columns: repeat(2,1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { padding: 2rem 1.5rem; }
  .trainer-tags { gap: 0.5rem; }
  .socials { gap: 0.7rem; }
}

/* ── GALLERY ──────────────────────────────────────── */
#gallery { background: var(--black); padding: 6rem 0; overflow: hidden; }
.gallery-header { padding: 0 3rem; margin-bottom: 3rem; }

/* Track wrapper — clips the scrolling strip */
.gallery-track-outer {
  position: relative;
  overflow: hidden;
  /* soft fade edges */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image:         linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

/* The moving strip — duplicated for seamless loop */
.gallery-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: galleryScroll 40s linear infinite;
  will-change: transform;
}
.gallery-track:hover { animation-play-state: paused; }
@keyframes galleryScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Individual thumbnail */
.gallery-item {
  flex-shrink: 0;
  width: 280px;
  height: 200px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border-top: 2px solid transparent;
  transition: border-color 0.3s;
}
.gallery-item:hover { border-color: var(--accent); }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1), filter 0.4s;
  filter: grayscale(15%) brightness(0.88);
}
.gallery-item:hover img {
  transform: scale(1.07);
  filter: grayscale(0%) brightness(1);
}
/* click overlay icon */
.gallery-item::after {
  content: '⊕';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: rgba(255,255,255,0);
  background: rgba(255,92,26,0);
  transition: color 0.3s, background 0.3s;
  font-style: normal;
}
.gallery-item:hover::after {
  color: rgba(255,255,255,0.9);
  background: rgba(255,92,26,0.25);
}

/* ── LIGHTBOX ─────────────────────────────────────── */
#lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(12px);
  align-items: center; justify-content: center;
  flex-direction: column;
}
#lightbox.open { display: flex; }

#lightbox-img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  display: block;
  border-top: 3px solid var(--accent);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
  animation: lbIn 0.3s cubic-bezier(.4,0,.2,1) both;
}
@keyframes lbIn {
  from { opacity: 0; transform: scale(0.93); }
  to   { opacity: 1; transform: scale(1); }
}

/* counter */
#lightbox-counter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.2em;
  color: var(--text-muted); margin-top: 1rem;
}

/* nav buttons */
.lb-btn {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,92,26,0.15); border: 1px solid rgba(255,92,26,0.3);
  color: var(--white); font-size: 1.6rem; padding: 0.8rem 1rem;
  cursor: pointer; transition: background 0.3s, border-color 0.3s;
  z-index: 10001; line-height: 1;
  -webkit-user-select: none; user-select: none;
}
.lb-btn:hover { background: var(--accent); border-color: var(--accent); }
#lb-prev { left: 1.5rem; }
#lb-next { right: 1.5rem; }

/* close */
#lb-close {
  position: fixed; top: 1.5rem; right: 1.5rem;
  background: none; border: 1px solid rgba(255,255,255,0.2);
  color: var(--white); font-size: 1.4rem; width: 44px; height: 44px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, border-color 0.3s;
  z-index: 10002;
}
#lb-close:hover { background: var(--accent); border-color: var(--accent); }

/* swipe hint on mobile */
#lb-swipe-hint {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem; letter-spacing: 0.15em;
  color: rgba(255,255,255,0.2);
  margin-top: 0.5rem;
  display: none;
}
@media (pointer: coarse) {
  #lb-swipe-hint { display: block; }
  .lb-btn { display: none; }
  #lightbox-img { max-width: 96vw; max-height: 78vh; }
}
@media (max-width: 768px) {
  .gallery-item { width: 220px; height: 160px; }
  .gallery-header { padding: 0 1.5rem; }
}
