/* ==========================================================================
   LYTTA Table Tennis Academy — site.css
   Vanilla CSS, mobile-first. Sporty dark/energetic theme.
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --accent: #e63946;          /* table-tennis red */
  --accent-dark: #c42c39;
  --accent-glow: rgba(230, 57, 70, 0.35);
  --blue: #1d6fb8;            /* table blue */
  --blue-dark: #0f3460;
  --bg: #0c1020;             /* deep navy */
  --bg-2: #121733;
  --surface: #161c38;
  --surface-2: #1d244a;
  --line: rgba(255, 255, 255, 0.10);
  --text: #f4f6fb;
  --muted: #aab2cc;
  --muted-2: #7e87a6;
  --white: #ffffff;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.30);
  --transition: 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1180px;
  --header-h: 78px;

  --font-head: "Anton", "Oswald", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- 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(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; line-height: 1.05; letter-spacing: 0.5px; text-transform: uppercase; }
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 18px; }
.section-intro { color: var(--muted); max-width: 640px; font-size: 1.05rem; }
.text-accent { color: var(--accent); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--alt { background: var(--bg-2); }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-intro { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--accent);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.4px;
  border-radius: 50px;
  background: var(--bg-btn);
  color: var(--white);
  position: relative; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  box-shadow: 0 10px 28px var(--accent-glow);
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 38px var(--accent-glow); }
.btn:active { transform: translateY(-1px) scale(0.99); }
.btn--ghost {
  --bg-btn: transparent;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: none; color: var(--white);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--white); box-shadow: none; }
.btn--blue { --bg-btn: var(--blue); box-shadow: 0 10px 28px rgba(29, 111, 184, 0.35); }
.btn--blue:hover { box-shadow: 0 16px 38px rgba(29, 111, 184, 0.45); }
.btn--lg { padding: 18px 38px; font-size: 1.02rem; }
.btn .arrow { transition: transform var(--transition); }
.btn:hover .arrow { transform: translateX(4px); }
/* ripple */
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255,255,255,0.45); animation: ripple 0.6s linear; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  z-index: 2000; transition: width 0.1s linear;
}

/* ---------- Skip link ---------- */
.skip-to-content {
  position: absolute; left: 16px; top: -60px; z-index: 3000;
  background: var(--accent); color: #fff; padding: 10px 18px; border-radius: 8px;
  transition: top 0.25s ease; font-weight: 600;
}
.skip-to-content:focus { top: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 1000;
  display: flex; align-items: center;
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}
.site-header.scrolled {
  background: rgba(10, 14, 28, 0.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
  border-bottom: 1px solid var(--line);
}
.header-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 1.5rem; letter-spacing: 1px; color: var(--white); }
.logo img { height: 42px; width: 42px; border-radius: 10px; object-fit: cover; }
.logo .logo-accent { color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 10px 16px; font-weight: 600; font-size: 0.95rem; color: var(--muted);
  border-radius: 8px; position: relative; transition: color var(--transition);
}
.main-nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.main-nav a:hover, .main-nav a.active { color: var(--white); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  width: 46px; height: 38px; border-radius: 8px; border: 1px solid var(--line);
  font-weight: 700; font-size: 0.85rem; color: var(--text); transition: all var(--transition);
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }

.mobile-toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.mobile-toggle span { width: 26px; height: 2.5px; background: var(--white); border-radius: 2px; transition: all var(--transition); }
.mobile-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-video, .hero-video video, .hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(8,11,22,0.55) 0%, rgba(8,11,22,0.78) 55%, rgba(8,11,22,0.95) 100%);
}
.hero-overlay::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 75% 30%, var(--accent-glow), transparent 45%);
  opacity: 0.55;
}
.hero-content { position: relative; z-index: 2; max-width: 760px; padding-top: var(--header-h); }
.hero h1 { font-size: clamp(2.8rem, 8vw, 6rem); margin-bottom: 22px; color: var(--white); }
.hero h1 .line { display: block; }
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 56px; }
.hero-stat .num { font-family: var(--font-head); font-size: clamp(2rem, 5vw, 3rem); color: var(--white); line-height: 1; }
.hero-stat .num span { color: var(--accent); }
.hero-stat .label { font-size: 0.85rem; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; margin-top: 6px; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; }
.scroll-cue .mouse { width: 24px; height: 38px; border: 2px solid var(--muted); border-radius: 14px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; background: var(--accent); border-radius: 4px; transform: translateX(-50%); animation: scrollwheel 1.6s ease infinite; }
@keyframes scrollwheel { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + 80px) 0 80px; text-align: center; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--bg-2); z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, var(--accent-glow), transparent 55%); opacity: 0.5; z-index: -1; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); color: var(--white); margin-bottom: 14px; }
.page-hero p { color: var(--muted); max-width: 600px; margin: 0 auto; font-size: 1.08rem; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 0.85rem; color: var(--muted-2); margin-top: 18px; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Feature cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; position: relative; overflow: hidden; transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.card::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity var(--transition); background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(230,57,70,0.12), transparent 60%); pointer-events: none; }
.card:hover { transform: translateY(-6px); border-color: rgba(230,57,70,0.4); box-shadow: var(--shadow-sm); }
.card:hover::before { opacity: 1; }
.card .icon { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); margin-bottom: 20px; box-shadow: 0 8px 20px var(--accent-glow); }
.card .icon svg { width: 28px; height: 28px; stroke: #fff; }
.card h3 { font-size: 1.35rem; margin-bottom: 12px; color: var(--white); }
.card p { color: var(--muted); font-size: 0.97rem; }

/* ---------- About / split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split .media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform 0.6s ease; }
.split .media:hover img { transform: scale(1.05); }
.split .media .badge {
  position: absolute; bottom: 22px; left: 22px; background: var(--accent);
  color: #fff; padding: 14px 22px; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
}
.split .media .badge .big { font-family: var(--font-head); font-size: 1.8rem; line-height: 1; }
.split .media .badge .small { font-size: 0.78rem; letter-spacing: 1px; text-transform: uppercase; opacity: 0.9; }
.feature-list { margin-top: 26px; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.feature-list .check { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: rgba(230,57,70,0.15); display: grid; place-items: center; margin-top: 2px; }
.feature-list .check svg { width: 14px; height: 14px; stroke: var(--accent); }
.feature-list strong { color: var(--white); display: block; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; align-items: stretch; }
.price-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); border-color: rgba(255,255,255,0.2); }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-sm); }
.price-card.featured::after { content: attr(data-tag); position: absolute; top: 18px; right: -38px; transform: rotate(45deg); background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; padding: 6px 44px; text-transform: uppercase; }
.price-card .tier { font-family: var(--font-head); font-size: 1.6rem; color: var(--white); margin-bottom: 6px; }
.price-card .tier-desc { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; min-height: 42px; }
.price-card .schedule { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--blue); background: rgba(29,111,184,0.12); padding: 10px 14px; border-radius: 10px; margin-bottom: 22px; }
.price-card .schedule svg { width: 16px; height: 16px; stroke: var(--blue); flex: 0 0 auto; }
.price-rows { display: grid; gap: 10px; margin-bottom: 24px; }
.price-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.price-row:last-child { border-bottom: none; }
.price-row .freq { color: var(--muted); font-size: 0.95rem; }
.price-row .amt { font-family: var(--font-head); font-size: 1.4rem; color: var(--white); }
.price-row .amt small { font-family: var(--font-body); font-size: 0.7rem; color: var(--muted-2); font-weight: 500; }
.price-row.highlight .amt { color: var(--accent); }
.price-card .foot { margin-top: auto; }
.price-note { font-size: 0.82rem; color: var(--muted-2); margin-top: 14px; }

.mini-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.mini-price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 24px; text-align: center; transition: border-color var(--transition); }
.mini-price:hover { border-color: rgba(230,57,70,0.4); }
.mini-price .amt { font-family: var(--font-head); font-size: 2rem; color: var(--accent); }
.mini-price .lbl { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }

/* ---------- Schedule table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table.schedule-table { width: 100%; border-collapse: collapse; min-width: 540px; background: var(--surface); }
.schedule-table th, .schedule-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.schedule-table th { background: var(--surface-2); font-family: var(--font-head); font-weight: 400; letter-spacing: 0.5px; color: var(--white); font-size: 0.95rem; }
.schedule-table td { color: var(--muted); font-size: 0.95rem; }
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table td strong { color: var(--white); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 16px; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8,11,22,0.7)); opacity: 0; transition: opacity var(--transition); }
.gallery-item .cap { position: absolute; left: 18px; bottom: 16px; z-index: 2; color: #fff; font-weight: 600; opacity: 0; transform: translateY(10px); transition: all var(--transition); }
.gallery-item .zoom { position: absolute; top: 16px; right: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.18); backdrop-filter: blur(6px); display: grid; place-items: center; opacity: 0; transform: scale(0.8); transition: all var(--transition); }
.gallery-item .zoom svg { width: 18px; height: 18px; stroke: #fff; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after, .gallery-item:hover .cap, .gallery-item:hover .zoom { opacity: 1; transform: none; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 5000; background: rgba(6,8,16,0.92); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; animation: fade 0.25s ease; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: 12px; box-shadow: var(--shadow); }
.lightbox .lb-close, .lightbox .lb-nav { position: absolute; background: rgba(255,255,255,0.12); width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.4rem; transition: background var(--transition); }
.lightbox .lb-close:hover, .lightbox .lb-nav:hover { background: var(--accent); }
.lightbox .lb-close { top: 24px; right: 24px; }
.lightbox .lb-nav.prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-nav.next { right: 24px; top: 50%; transform: translateY(-50%); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--blue-dark), var(--accent-dark)); border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 40%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 3rem); color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 540px; margin: 0 auto 30px; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: none; }
.info-row .ic { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px; background: rgba(230,57,70,0.14); display: grid; place-items: center; }
.info-row .ic svg { width: 20px; height: 20px; stroke: var(--accent); }
.info-row .lbl { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted-2); }
.info-row .val { color: var(--white); font-weight: 600; }
.info-row .val a:hover { color: var(--accent); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--muted); }
.form-group label .req { color: var(--accent); }
.form-control {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; color: var(--text); transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control::placeholder { color: var(--muted-2); }
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23aab2cc' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.captcha-group { margin-top: 4px; }
.captcha-error { display: none; color: var(--accent); font-size: 0.85rem; margin-top: 6px; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }

/* honeypot */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* Map */
.map-wrap { margin-top: 26px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 280px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) contrast(1.05); }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; top: 90px; right: 20px; z-index: 6000; display: flex; flex-direction: column; gap: 12px; }
.toast { background: var(--surface-2); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 16px 20px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: flex-start; max-width: 340px; transform: translateX(120%); transition: transform 0.4s cubic-bezier(0.22,1,0.36,1); }
.toast.show { transform: none; }
.toast.success { border-left-color: #2ecc71; }
.toast.error { border-left-color: var(--accent); }
.toast .t-title { font-weight: 700; color: var(--white); }
.toast .t-msg { font-size: 0.9rem; color: var(--muted); }

/* ---------- Coaches ---------- */
.coach-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.coach-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.coach-card .photo { aspect-ratio: 1/1; overflow: hidden; }
.coach-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.coach-card:hover .photo img { transform: scale(1.06); }
.coach-card .body { padding: 22px; }
.coach-card h3 { font-size: 1.2rem; color: var(--white); margin-bottom: 4px; }
.coach-card .role { color: var(--accent); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.coach-card p { color: var(--muted); font-size: 0.9rem; margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: #080b16; border-top: 1px solid var(--line); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 0.95rem; max-width: 320px; }
.footer-col h4 { font-size: 1.05rem; color: var(--white); margin-bottom: 18px; letter-spacing: 0.5px; }
.footer-col a { display: block; color: var(--muted); padding: 6px 0; font-size: 0.94rem; transition: color var(--transition), padding-left var(--transition); }
.footer-col a:hover { color: var(--accent); padding-left: 6px; }
.footer-col .contact-line { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 0.92rem; padding: 6px 0; }
.footer-col .contact-line svg { width: 16px; height: 16px; stroke: var(--accent); flex: 0 0 auto; margin-top: 4px; }
.social { display: flex; gap: 12px; margin-top: 16px; }
.social a { width: 42px; height: 42px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; transition: all var(--transition); }
.social a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.social a svg { width: 18px; height: 18px; stroke: var(--text); }
.social a:hover svg { stroke: #fff; }
.footer-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted-2); font-size: 0.86rem; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Scroll-in animations ---------- */
.animate-on-scroll, .animate-slide-left, .animate-slide-right, .animate-scale-up { opacity: 0; transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1); will-change: opacity, transform; }
.animate-on-scroll { transform: translateY(40px); }
.animate-slide-left { transform: translateX(-50px); }
.animate-slide-right { transform: translateX(50px); }
.animate-scale-up { transform: scale(0.9); }
.visible { opacity: 1 !important; transform: none !important; }
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }

/* ---------- noscript / back-to-top ---------- */
.noscript-banner { background: var(--accent); color: #fff; text-align: center; padding: 12px; font-weight: 600; }
.to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px var(--accent-glow); opacity: 0; pointer-events: none; transform: translateY(20px); transition: all var(--transition); z-index: 900; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { transform: translateY(-4px); }
.to-top svg { width: 22px; height: 22px; stroke: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .mobile-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10,14,28,0.97); backdrop-filter: blur(16px); padding: 16px 24px 28px;
    border-bottom: 1px solid var(--line); transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform var(--transition), opacity var(--transition); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .header-cta-desktop { display: none; }
  .pricing-grid, .grid-2 { grid-template-columns: 1fr; }
  .mini-pricing { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
}
@media (max-width: 540px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-item.wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 38px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .animate-on-scroll, .animate-slide-left, .animate-slide-right, .animate-scale-up { opacity: 1; transform: none; }
}
