/* GOKU GYM — gokugym.mn. Dark ground, gold accent (same palette as the member app). */
:root {
  --bg: #0E0F13;
  --bg-2: #121319;
  --surface: #181A20;
  --line: #22252D;
  --line-2: #2A2D36;
  --gold: #F3BB40;
  --gold-deep: #E08A1E;
  --on-gold: #1B1B1B;
  --text: #FFFFFF;
  --text-2: #C9CCD3;
  --muted: #9AA0AC;
  --faint: #6B7080;
  --green: #3DDC97;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--gold); }
a:hover { color: #FFD56A; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.display { font-family: Oswald, Impact, "Arial Narrow", sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; }
.section { padding: 80px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.section h2 { font-size: 40px; line-height: 1.05; }
.section .sub { color: var(--muted); font-size: 15px; margin: 6px 0 0; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: #FFD56A; color: var(--on-gold); }
.btn-ghost { border-color: #3A3E48; color: var(--text); }
.btn-ghost:hover { border-color: #5A5F6B; color: var(--text); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(14, 15, 19, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.logo img { height: 38px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: 12px; }
.nav a { color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 0; }
.nav a:hover { color: var(--gold); }
.header-cta { margin-left: auto; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid #3A3E48; color: var(--text); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }

/* Hero */
.hero { position: relative; border-bottom: 1px solid var(--line); background: #0A0B0E; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.38; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,15,19,0.95) 0%, rgba(14,15,19,0.75) 50%, rgba(14,15,19,0.35) 100%); }
.hero .wrap { position: relative; padding-top: 110px; padding-bottom: 90px; max-width: var(--max); }
.hero-inner { max-width: 620px; display: flex; flex-direction: column; gap: 22px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.hero h1 { font-size: 76px; line-height: 1.0; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p { margin: 0; font-size: 18px; color: var(--text-2); max-width: 500px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.stats { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 10px; }
.stat b { display: block; font-family: Oswald, Impact, sans-serif; font-weight: 600; font-size: 36px; color: var(--gold); line-height: 1.1; }
.stat span { font-size: 13px; color: var(--muted); }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 6px; box-shadow: 0 0 0 0 rgba(61,220,151,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,151,.5); } 70% { box-shadow: 0 0 0 8px rgba(61,220,151,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,151,0); } }

/* Cards & grids */
.grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 18px; font-weight: 700; }
.card p { margin: 0; font-size: 14px; color: var(--muted); }
.card .icon { color: var(--gold); }
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Branches */
.branch { background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.branch .photo { height: 160px; background: var(--line); object-fit: cover; width: 100%; }
.branch .photo.empty { display: flex; align-items: center; justify-content: center; color: var(--faint); font-size: 13px; }
.branch .body { padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.branch .name { font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.branch .meta { font-size: 13px; color: var(--muted); }
.branch .links { display: flex; gap: 16px; margin-top: 6px; font-size: 13px; font-weight: 600; }
.branch .links a { text-decoration: none; }
.tag { font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(243,187,64,.15); color: var(--gold); white-space: nowrap; }
.occ { font-size: 12px; color: var(--green); }

/* Prices */
.plan { position: relative; }
.plan.featured { border: 2px solid var(--gold); }
.plan .badge { position: absolute; top: -12px; left: 24px; background: var(--gold); color: var(--on-gold); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan .term { font-size: 14px; color: var(--muted); font-weight: 600; }
.plan .price { font-family: Oswald, Impact, sans-serif; font-weight: 600; font-size: 44px; line-height: 1; }
.plan .price small { font-size: 18px; color: var(--muted); margin-left: 4px; }
.plan .was { font-size: 14px; color: var(--faint); text-decoration: line-through; }
.plan ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.8; color: var(--text-2); }
.plan .btn { margin-top: auto; }
.switch { display: inline-flex; background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px; gap: 4px; }
.switch button { background: none; border: 0; color: var(--muted); font-weight: 600; font-size: 14px; padding: 8px 18px; border-radius: 999px; cursor: pointer; min-height: 40px; }
.switch button[aria-pressed="true"] { background: var(--gold); color: var(--on-gold); }

/* Price table */
.price-table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; }
.price-table { width: 100%; border-collapse: collapse; min-width: 420px; }
.price-table th, .price-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table th { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; background: rgba(255,255,255,.02); }
.price-table th .th-sub { display: block; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--faint); }
.price-table tr:last-child td { border-bottom: 0; }
.price-table .term { font-weight: 700; font-size: 16px; white-space: nowrap; }
.price-table .price-cell b { font-family: Oswald, Impact, sans-serif; font-weight: 600; font-size: 26px; letter-spacing: .3px; }
.price-table .price-cell .was { display: block; font-size: 13px; color: var(--faint); text-decoration: line-through; }
.price-table .price-cell.empty { color: var(--faint); }
.price-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px; }

/* Schedule */
.sched { display: grid; gap: 10px; }
.sess { display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: 14px 18px; }
.sess .day { font-weight: 700; color: var(--gold); }
.sess .what { font-weight: 700; }
.sess .where { font-size: 13px; color: var(--muted); }
.sess .time { font-weight: 700; font-family: Oswald, sans-serif; font-size: 18px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { background: var(--surface); border: 1px solid var(--line-2); color: var(--text-2); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer; min-height: 40px; }
.chip[aria-pressed="true"] { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }

/* Coaches */
.coach { text-align: center; }
.coach img, .coach .avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; background: var(--line); }
.coach .avatar { display: flex; align-items: center; justify-content: center; color: var(--faint); font-weight: 700; font-size: 28px; }
.coach .name { font-weight: 700; }
.coach .role { font-size: 13px; color: var(--muted); }

/* App */
.app { background: linear-gradient(135deg, #2E2513 0%, #121319 70%); border-top: 1px solid var(--line); }
.app .grid-2 { align-items: center; gap: 48px; }
.phone { width: 260px; height: 520px; margin: 0 auto; border-radius: 36px; background: var(--bg); border: 6px solid var(--line-2); display: flex; align-items: center; justify-content: center; color: var(--faint); font-size: 13px; text-align: center; overflow: hidden; }
.phone img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone .ph { display: none; padding: 20px; }
.phone.empty .ph { display: block; }
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 16px; color: var(--text-2); }
.steps li { display: flex; gap: 12px; }
.steps b { color: var(--gold); font-family: Oswald, sans-serif; font-weight: 600; min-width: 28px; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.stores a { border: 1px solid #3A3E48; color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px; padding: 12px 18px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #0A0B0E; font-size: 14px; color: var(--muted); }
.site-footer .cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 48px 0 32px; }
.site-footer .col { display: flex; flex-direction: column; gap: 8px; }
.site-footer .col b { color: var(--text); }
.site-footer a { text-decoration: none; }
.site-footer .social { display: flex; gap: 12px; margin-top: 6px; }
.site-footer .social img { width: 22px; height: 22px; }
.site-footer .erp { display: inline-flex; align-items: center; gap: 8px; }
.site-footer .copy { padding-bottom: 28px; font-size: 12px; color: var(--faint); }

/* States */
.loading { color: var(--faint); font-size: 14px; padding: 24px 0; }
.error { color: var(--muted); font-size: 14px; padding: 24px 0; }
.hidden { display: none !important; }

/* Responsive */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero h1 { font-size: 60px; }
}
@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .section h2 { font-size: 32px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { padding-top: 72px; padding-bottom: 56px; }
  .hero h1 { font-size: 46px; }
  .hero p { font-size: 16px; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .sess { grid-template-columns: 1fr; gap: 4px; }
  .site-footer .cols { grid-template-columns: minmax(0, 1fr); }
  .phone { width: 220px; height: 440px; }
}
