/* ============================================================
   CORSAC FITNESS STUDIO — styles.css
   Dark / premium / high-energy gym theme
   ============================================================ */

:root {
  /* Backgrounds — navy-tinted darks (official Corsac poster palette) */
  --bg:        #090b14;
  --bg-2:      #0d1020;
  --charcoal:  #141830;
  --grey:      #1a1f33;
  --card:      #111527;
  --line:      rgba(255,255,255,.09);

  /* Accents — official blue brand theme */
  --red:    #2e3db3;   /* royal blue (poster header)   */
  --orange: #3b82f6;   /* azure blue (primary accent)  */
  --yellow: #38bdf8;   /* bright cyan (poster PT panel)*/
  --purple: #7c4dd4;   /* poster couple-panel gradient */
  --silver: #c9ced6;
  --ink:    #ffffff;   /* text on blue gradient buttons */

  /* Text */
  --white:  #ffffff;
  --light:  #cdd0d6;
  --steel:  #8a90a3;

  --grad: linear-gradient(100deg, var(--red), var(--orange) 55%, var(--yellow));
  --grad-soft: linear-gradient(100deg, rgba(59,130,246,.18), rgba(124,77,212,.12));

  --r: 16px;
  --shadow: 0 18px 50px rgba(0,0,0,.55);
  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--light);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1,h2,h3,h4 { font-family: 'Oswald', sans-serif; color: var(--white); line-height: 1.05; font-weight: 600; letter-spacing: .5px; }

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Oswald', sans-serif; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; font-size: 15px;
  padding: 15px 30px; border-radius: 50px; border: none; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  position: relative; overflow: hidden; will-change: transform;
}
.btn-sm { padding: 11px 22px; font-size: 13px; }
.btn-accent { background: var(--grad); color: var(--ink); box-shadow: 0 10px 30px rgba(59,130,246,.35); }
.btn-accent:hover { transform: translateY(-3px); box-shadow: 0 16px 42px rgba(59,130,246,.55); }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--white); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--orange); box-shadow: 0 0 24px rgba(59,130,246,.25); }

/* ============================================================
   LOADER
   ============================================================ */
#loader {
  position: fixed; inset: 0; z-index: 9999; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s;
}
#loader.hide { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-logo { width: min(320px, 70vw); margin: 0 auto 26px; filter: drop-shadow(0 0 30px rgba(59,130,246,.25)); animation: pulseGlow 1.6s ease-in-out infinite; }
@keyframes pulseGlow { 0%,100%{ transform: scale(1); opacity:.85 } 50%{ transform: scale(1.04); opacity:1 } }
.loader-bar { width: 220px; height: 4px; background: rgba(255,255,255,.1); border-radius: 4px; margin: 0 auto 16px; overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 0; background: var(--grad); animation: load 1.8s var(--ease) forwards; }
@keyframes load { to { width: 100%; } }
.loader-text { font-family: 'Oswald'; letter-spacing: 5px; font-size: 13px; color: var(--steel); }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background .35s, box-shadow .35s, padding .35s;
  padding: 14px 0;
}
#navbar.scrolled {
  background: rgba(12,12,14,.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 40px rgba(0,0,0,.4);
}
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-logo img { height: 46px; width: auto; filter: drop-shadow(0 0 10px rgba(255,255,255,.08)); transition: transform .3s; }
.nav-logo:hover img { transform: scale(1.05); }
.nav-logo-text { font-family: 'Oswald'; font-weight: 700; font-size: 26px; letter-spacing: 3px; color: var(--white); }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font-family: 'Oswald'; font-weight: 500; font-size: 15px; letter-spacing: .6px;
  color: var(--light); position: relative; padding: 4px 0; transition: color .25s;
}
.nav-links a::after { content:''; position:absolute; left:0; bottom:-2px; width:0; height:2px; background: var(--grad); transition: width .3s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { padding: 11px 24px; font-size: 14px; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; z-index: 1100; }
.hamburger span { width: 26px; height: 2.5px; background: var(--white); border-radius: 3px; transition: transform .35s var(--ease), opacity .25s; }
.hamburger.open span:nth-child(1){ transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity: 0; }
.hamburger.open span:nth-child(3){ transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: -8% 0; z-index: 0;
  background:
    radial-gradient(circle at 25% 20%, rgba(59,130,246,.16), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(59,130,246,.12), transparent 45%),
    url('images/gym/p2261477.jpg') center/cover no-repeat,
    linear-gradient(160deg, #15151a, #08080a);
  will-change: transform; transition: transform .2s linear;
}
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,8,10,.55) 0%, rgba(8,8,10,.7) 55%, var(--bg) 100%); }
.hero-glow-lines { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.hero-glow-lines span {
  position: absolute; width: 200%; height: 1px; left: -50%;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,.5), transparent);
  animation: sweep 7s linear infinite;
}
.hero-glow-lines span:nth-child(1){ top: 30%; animation-delay: 0s; }
.hero-glow-lines span:nth-child(2){ top: 55%; animation-delay: 2.5s; opacity:.6; }
.hero-glow-lines span:nth-child(3){ top: 78%; animation-delay: 4.5s; opacity:.4; }
@keyframes sweep { 0%{ transform: translateX(-15%);} 100%{ transform: translateX(15%);} }

.hero-content { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 130px 22px 90px; width: 100%; }
.hero-logo { width: min(300px, 64vw); margin-bottom: 18px; filter: drop-shadow(0 0 26px rgba(255,255,255,.1)); }
.hero-eyebrow { font-family: 'Oswald'; letter-spacing: 4px; font-size: 13px; color: var(--orange); margin-bottom: 14px; }
.hero-title { font-family: 'Teko', sans-serif; font-weight: 600; font-size: clamp(48px, 9vw, 110px); line-height: .92; letter-spacing: 1px; }
.hero-title span { display: block; }
.hero-sub { font-size: clamp(15px, 2vw, 19px); color: var(--light); max-width: 620px; margin: 20px 0 32px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; max-width: 860px; }
.stat { padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(255,255,255,.025); backdrop-filter: blur(6px); }
.stat-num { display: block; font-family: 'Teko'; font-size: clamp(26px, 4vw, 40px); line-height: 1; color: var(--white); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 13px; color: var(--steel); letter-spacing: .5px; }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.3); border-radius: 14px; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: var(--orange); border-radius: 3px; animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0%{ opacity:0; top:8px;} 40%{opacity:1;} 80%{ opacity:0; top:24px;} 100%{opacity:0;} }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 100px 0; position: relative; }
section[hidden] { display: none !important; }
.section-alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.kicker { font-family: 'Oswald'; letter-spacing: 4px; font-size: 13px; color: var(--orange); margin-bottom: 12px; text-transform: uppercase; }
.section-head h2 { font-size: clamp(32px, 5vw, 56px); margin-bottom: 16px; }
.section-lead { color: var(--steel); font-size: 17px; }

/* ---------- Horizontal swipe rows ---------- */
.hs-row { display: flex; align-items: center; gap: 12px; }
.hs-row .hs-scroll { flex: 1; min-width: 0; }
.hs-scroll {
  display: grid; grid-auto-flow: column; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 14px 2px 18px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.hs-scroll::-webkit-scrollbar { display: none; }
.hs-scroll > * { scroll-snap-align: start; }
.hs-btn {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--line); color: var(--white);
  font-size: 24px; cursor: pointer; display: grid; place-items: center;
  transition: background .3s, transform .3s, border-color .3s, opacity .3s;
}
.hs-btn:hover { background: var(--grad); color: var(--ink); transform: scale(1.08); border-color: transparent; }
.hs-btn.disabled { opacity: .3; pointer-events: none; }
@media (max-width: 600px) {
  .hs-btn { display: none; }
  .hs-row { gap: 0; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   WHY CARDS
   ============================================================ */
.why-grid { grid-auto-columns: min(285px, 80vw); }
.why-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 26px; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
  position: relative; overflow: hidden;
}
.why-card::before { content:''; position:absolute; inset:0; background: var(--grad-soft); opacity:0; transition: opacity .35s; }
.why-card:hover { transform: translateY(-8px); border-color: rgba(59,130,246,.5); box-shadow: 0 20px 50px rgba(59,130,246,.12); }
.why-card:hover::before { opacity: 1; }
.why-icon { font-size: 34px; margin-bottom: 16px; position: relative; filter: drop-shadow(0 0 16px rgba(59,130,246,.4)); }
.why-card h3 { font-size: 20px; margin-bottom: 8px; position: relative; }
.why-card p { font-size: 15px; position: relative; }

/* ============================================================
   PROGRAMS
   ============================================================ */
.programs-grid { grid-auto-columns: min(310px, 84vw); }
.program-card {
  position: relative; border-radius: var(--r); overflow: hidden; min-height: 230px;
  background: var(--card); border: 1px solid var(--line); padding: 28px;
  display: flex; flex-direction: column; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
  cursor: default;
}
.program-card:hover { transform: translateY(-8px); border-color: rgba(59,130,246,.55); box-shadow: 0 22px 55px rgba(0,0,0,.5); }
.program-icon { font-size: 38px; margin-bottom: 14px; filter: drop-shadow(0 0 16px rgba(59,130,246,.35)); }
.program-card h3 { font-size: 22px; margin-bottom: 8px; }
.program-card .pc-desc { font-size: 14.5px; color: var(--steel); }
.pc-reveal {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .45s var(--ease), opacity .35s, margin .35s;
}
.program-card:hover .pc-reveal { max-height: 200px; opacity: 1; margin-top: 12px; }
.pc-reveal p { font-size: 14px; color: var(--light); margin-bottom: 14px; }
.program-card .btn { align-self: flex-start; }
.pc-glow { position: absolute; top:-40%; right:-30%; width: 220px; height: 220px; background: radial-gradient(circle, rgba(59,130,246,.22), transparent 70%); opacity:0; transition: opacity .4s; pointer-events:none; }
.program-card:hover .pc-glow { opacity: 1; }

/* ============================================================
   CALCULATOR
   ============================================================ */
.calc-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: stretch; }
.calc-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-family: 'Oswald'; font-size: 13px; letter-spacing: 1px; color: var(--steel); text-transform: uppercase; }
.field input, .field select, .field textarea {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px;
  color: var(--white); font-family: 'Inter'; font-size: 15px; transition: border-color .25s, box-shadow .25s, transform .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.field textarea { resize: vertical; }
.field select option { background: var(--charcoal); }

.calc-result { background: linear-gradient(160deg, var(--charcoal), var(--card)); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; display: flex; align-items: center; justify-content: center; text-align: center; }
.calc-result-empty { color: var(--steel); }
.calc-ring {
  width: 130px; height: 130px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; font-family: 'Oswald'; letter-spacing: 2px; color: var(--steel);
  background: conic-gradient(var(--orange) 0deg, rgba(255,255,255,.08) 0deg);
  position: relative;
}
.calc-ring::before { content:''; position:absolute; inset:10px; border-radius:50%; background: var(--card); }
.calc-ring span, .calc-ring b { position: relative; z-index: 1; }
.calc-out { animation: fadeUp .5s var(--ease); width: 100%; }
.calc-out .bmi-val { font-family: 'Teko'; font-size: 58px; line-height: 1; color: var(--white); }
.calc-out .bmi-cat { font-family: 'Oswald'; letter-spacing: 1px; margin: 4px 0 16px; }
.calc-out .rec { background: var(--grad-soft); border: 1px solid rgba(59,130,246,.3); border-radius: 12px; padding: 14px; margin-bottom: 18px; font-size: 15px; color: var(--white); }
.cat-under { color: #ffd34d; } .cat-normal { color: #8be83a; } .cat-over { color: #ff9f43; } .cat-obese { color: #ff5252; }
@keyframes fadeUp { from{ opacity:0; transform: translateY(16px);} to{opacity:1; transform:none;} }

/* ============================================================
   FACILITIES
   ============================================================ */
.facilities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 18px; }
.facility {
  position: relative; border-radius: var(--r); overflow: hidden; min-height: 210px;
  border: 1px solid var(--line); display: flex; align-items: flex-end; padding: 22px;
  background: var(--card); transition: transform .4s var(--ease), box-shadow .4s;
}
.facility-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s var(--ease); z-index: 0; }
.facility::after { content:''; position:absolute; inset:0; z-index:1; background: linear-gradient(180deg, rgba(10,10,12,.1), rgba(10,10,12,.9)); }
.facility-body { position: relative; z-index: 2; }
.facility-body .fic { font-size: 28px; margin-bottom: 6px; display:block; }
.facility h3 { font-size: 19px; }
.facility p { font-size: 13.5px; color: var(--light); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s var(--ease), opacity .35s, margin .35s; }
.facility:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(0,0,0,.55); }
.facility:hover .facility-img { transform: scale(1.12); }
.facility:hover p { max-height: 80px; opacity: 1; margin-top: 6px; }
.facility { background: linear-gradient(135deg, #1a1a20, #101013); }
/* animated gradient border */
.facility:hover { border-color: transparent; }
.facility::before {
  content:''; position:absolute; inset:0; z-index:3; border-radius: var(--r); padding:1px;
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity:0; transition: opacity .4s;
}
.facility:hover::before { opacity: 1; }

/* ============================================================
   MEMBERSHIP
   ============================================================ */
.billing-toggle { position: relative; display: flex; width: max-content; max-width: 100%; gap: 4px; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 50px; margin: 0 auto 44px; }
.billing-toggle button { position: relative; z-index: 2; background: none; border: none; color: var(--steel); font-family: 'Oswald'; font-size: 15px; letter-spacing: 1px; padding: 10px 26px; border-radius: 50px; cursor: pointer; transition: color .3s; }
.billing-toggle button.active { color: var(--ink); }
.toggle-pill { position: absolute; z-index: 1; top: 6px; bottom: 6px; left: 6px; width: 100px; background: var(--grad); border-radius: 50px; transition: transform .35s var(--ease), width .35s var(--ease); }

.admission-banner {
  max-width: 720px; margin: 0 auto 34px; text-align: center; padding: 14px 24px;
  border: 1px dashed rgba(59,130,246,.5); border-radius: 14px;
  background: rgba(59,130,246,.08); color: var(--white);
  font-family: 'Oswald'; letter-spacing: 1px; font-size: 15px;
}
.admission-banner b { color: var(--yellow); }
.plans-note { text-align: center; color: var(--steel); font-size: 14px; margin-top: 26px; }

.plans-grid { grid-auto-columns: min(285px, 84vw); padding-top: 24px; align-items: stretch; }
.plan {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 34px 28px;
  display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s;
}
.plan:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.plan.popular { border-color: transparent; }
.plan.popular::before {
  content:''; position:absolute; inset:0; border-radius:20px; padding:1.5px;
  background: var(--grad); background-size: 200% 200%; animation: borderFlow 4s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
@keyframes borderFlow { 0%{background-position:0% 50%} 100%{background-position:200% 50%} }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: var(--ink); font-family: 'Oswald'; font-size: 12px; letter-spacing: 1.5px; padding: 6px 18px; border-radius: 50px; text-transform: uppercase; }
.plan h3 { font-size: 26px; margin-bottom: 4px; }
.plan .plan-price { font-family: 'Teko'; font-size: 40px; color: var(--white); line-height: 1.1; }
.plan .plan-price small { font-size: 15px; color: var(--steel); font-family: 'Inter'; }
.plan ul { margin: 20px 0 26px; display: grid; gap: 11px; }
.plan li { font-size: 15px; padding-left: 26px; position: relative; }
.plan li::before { content:'✓'; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.plan .btn { margin-top: auto; }

/* ============================================================
   CAROUSEL (transformations + testimonials)
   ============================================================ */
.carousel { position: relative; display: flex; align-items: center; gap: 12px; max-width: 1000px; margin: 0 auto; }
.car-viewport { overflow: hidden; flex: 1; border-radius: var(--r); }
.car-track { display: flex; transition: transform .6s var(--ease); }
.car-btn { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); color: var(--white); font-size: 26px; cursor: pointer; transition: background .3s, transform .3s, border-color .3s; display: grid; place-items: center; }
.car-btn:hover { background: var(--grad); color: var(--ink); transform: scale(1.08); border-color: transparent; }
.car-dots { display: flex; gap: 8px; justify-content: center; margin-top: 26px; }
.car-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255,255,255,.2); cursor: pointer; transition: width .3s, background .3s; }
.car-dots button.active { width: 28px; border-radius: 6px; background: var(--grad); }

/* transformation slide */
.tf-slide { min-width: 100%; padding: 6px; }
.tf-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.tf-imgs { display: grid; grid-template-columns: 1fr 1fr; }
.tf-imgs figure { position: relative; margin: 0; }
.tf-imgs img { width: 100%; height: 320px; object-fit: cover; }
.tf-imgs figcaption { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,.6); color: #fff; font-family:'Oswald'; font-size: 11px; letter-spacing: 1px; padding: 4px 10px; border-radius: 20px; }
.tf-imgs figcaption.after { background: var(--grad); color:var(--ink); left: auto; right: 10px; }
.tf-info { padding: 30px; display: flex; flex-direction: column; justify-content: center; }
.tf-info h3 { font-size: 26px; }
.tf-meta { display: flex; gap: 18px; margin: 10px 0 16px; flex-wrap: wrap; }
.tf-meta span { font-size: 13px; color: var(--steel); }
.tf-meta b { color: var(--orange); font-family:'Oswald'; display:block; font-size: 16px; }
.tf-info blockquote { font-style: italic; color: var(--light); border-left: 3px solid var(--orange); padding-left: 14px; }

/* testimonial slide */
.ts-slide { min-width: 100%; padding: 6px; }
.ts-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 44px; text-align: center; max-width: 760px; margin: 0 auto; }
.ts-quote { font-size: clamp(19px, 2.6vw, 26px); color: var(--white); font-family: 'Oswald'; font-weight: 400; line-height: 1.4; }
.ts-quote::before { content:'“'; color: var(--orange); font-size: 50px; line-height: 0; vertical-align: -16px; margin-right: 6px; }
.ts-author { margin-top: 22px; }
.ts-author .av { width: 52px; height: 52px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-family:'Oswald'; color:var(--ink); font-size: 20px; margin: 0 auto 8px; }
.ts-author b { color: var(--white); font-family:'Oswald'; letter-spacing: 1px; }
.ts-author span { display: block; font-size: 13px; color: var(--steel); }
.ts-stars { color: #ffc94d; margin-top: 6px; letter-spacing: 2px; }

/* ============================================================
   TRAINERS
   ============================================================ */
.trainers-grid { grid-auto-columns: min(260px, 78vw); }
.trainer {
  position: relative; border-radius: var(--r); overflow: hidden; min-height: 360px;
  border: 1px solid var(--line); display: flex; align-items: flex-end;
  cursor: pointer; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.trainer-img { position: absolute; inset: 0; background-size: cover; background-position: center top; transition: transform .6s var(--ease); }
.trainer::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, transparent 30%, rgba(8,8,10,.95)); }
.trainer:hover, .trainer:focus-visible { transform: translateY(-8px); box-shadow: 0 26px 60px rgba(0,0,0,.55); border-color: rgba(59,130,246,.5); }
.trainer:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.trainer:hover .trainer-img { transform: scale(1.1); }
.trainer-body { position: relative; z-index: 2; padding: 22px; width: 100%; }
.trainer-body h3 { font-size: 22px; }
.trainer-spec { color: var(--orange); font-family:'Oswald'; font-size: 13.5px; letter-spacing: .5px; display: block; margin-top: 2px; }
.trainer-view { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-family:'Oswald'; font-size: 13px; letter-spacing: 1px; color: var(--white); opacity: .85; transition: gap .3s, opacity .3s; }
.trainer:hover .trainer-view { gap: 10px; opacity: 1; }

/* ---------- Trainer profile modal ---------- */
.trainer-modal { position: fixed; inset: 0; z-index: 2000; background: rgba(5,5,7,.92); display: none; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(6px); }
.trainer-modal.open { display: flex; animation: fadeUp .3s; }
.tm-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); max-width: 760px; width: 100%; max-height: 86vh; overflow-y: auto; display: grid; grid-template-columns: 240px 1fr; box-shadow: var(--shadow); }
.tm-photo { background-size: cover; background-position: center top; min-height: 260px; }
.tm-body { padding: 30px; }
.tm-body h3 { font-size: 26px; }
.tm-title { color: var(--orange); font-family:'Oswald'; letter-spacing: .5px; font-size: 14px; display: block; margin: 4px 0 20px; }
.tm-section { margin-bottom: 18px; }
.tm-section:last-of-type { margin-bottom: 22px; }
.tm-section h4 { font-family:'Oswald'; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--steel); margin-bottom: 9px; }
.tm-section ul { display: grid; gap: 7px; }
.tm-section li { font-size: 14.5px; color: var(--light); padding-left: 20px; position: relative; }
.tm-section li::before { content: '✓'; position: absolute; left: 0; color: var(--orange); font-weight: 700; font-size: 12px; top: 2px; }
.tm-pending { color: var(--steel); font-size: 15px; margin-bottom: 22px; line-height: 1.6; }
@media (max-width: 640px) {
  .tm-card { grid-template-columns: 1fr; max-height: 90vh; }
  .tm-photo { min-height: 200px; }
}

/* ============================================================
   SCHEDULE
   ============================================================ */
.schedule-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px; }
.schedule-tabs button {
  background: var(--card); border: 1px solid var(--line); color: var(--light);
  font-family:'Oswald'; letter-spacing: 1px; padding: 11px 22px; border-radius: 50px; cursor: pointer;
  transition: all .3s var(--ease);
}
.schedule-tabs button.active { background: var(--grad); color:var(--ink); border-color: transparent; transform: translateY(-2px); }
.schedule-panel { max-width: 720px; margin: 0 auto; }
.sch-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 34px; text-align: center; animation: fadeUp .45s var(--ease); }
.sch-card .sch-day { font-family:'Oswald'; color: var(--orange); letter-spacing: 2px; font-size: 14px; }
.sch-card h3 { font-size: clamp(28px,5vw,44px); margin: 6px 0 18px; }
.sch-detail { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.sch-detail div span { display:block; font-size: 12px; color: var(--steel); letter-spacing:1px; text-transform: uppercase; }
.sch-detail div b { font-family:'Oswald'; color: var(--white); font-size: 18px; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.gallery-filters button { background: var(--card); border: 1px solid var(--line); color: var(--light); font-family:'Oswald'; letter-spacing:1px; padding: 9px 20px; border-radius: 50px; cursor: pointer; transition: all .3s; }
.gallery-filters button.active { background: var(--grad); color:var(--ink); border-color: transparent; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 14px; }
.gal-item { position: relative; border-radius: 14px; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; border: 1px solid var(--line); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gal-item::after { content:'🔍'; position:absolute; inset:0; display:grid; place-items:center; background: rgba(10,10,12,.55); opacity:0; transition: opacity .35s; font-size: 26px; }
.gal-item:hover img { transform: scale(1.14); }
.gal-item:hover::after { opacity: 1; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 26px; }
.contact-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-quick { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.contact-quick .btn { flex: 1; min-width: 130px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; margin-bottom: 20px; }
.contact-logo { width: 180px; margin-bottom: 16px; }
.contact-card h3 { font-size: 24px; margin-bottom: 12px; }
.contact-line { margin-bottom: 10px; font-size: 15px; }
.contact-line a:hover { color: var(--orange); }
.contact-note { color: var(--steel); font-size: 14px; margin-top: 12px; }
.map-embed { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); height: 280px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) invert(.92) hue-rotate(180deg) contrast(.9); }

/* ============================================================
   FOOTER
   ============================================================ */
#footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.footer-brand img { width: 200px; margin-bottom: 14px; }
.footer-tag { font-family:'Oswald'; letter-spacing: 1px; color: var(--light); margin-bottom: 18px; }
.footer-col h4 { font-size: 17px; margin-bottom: 16px; letter-spacing: 1px; }
.footer-col a, .footer-col p { display: block; color: var(--steel); font-size: 14.5px; margin-bottom: 10px; transition: color .25s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { text-align: center; padding: 22px; border-top: 1px solid var(--line); color: var(--steel); font-size: 14px; }

/* ============================================================
   VIDEOS & SOCIAL
   ============================================================ */
.yt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 18px; margin-bottom: 44px; }
.yt-card {
  position: relative; aspect-ratio: 16/9; background: #0a0d1c;
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; cursor: pointer;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.yt-card:hover { transform: translateY(-6px); border-color: rgba(59,130,246,.55); box-shadow: 0 20px 50px rgba(59,130,246,.15); }
.yt-card img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .4s, transform .5s var(--ease); }
.yt-card:hover img { opacity: 1; transform: scale(1.06); }
.yt-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(180deg, transparent 20%, rgba(5,8,20,.85));
  pointer-events: none;
}
.yt-play {
  width: 62px; height: 62px; border-radius: 50%; background: var(--grad);
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(59,130,246,.5);
  transition: transform .3s var(--ease);
}
.yt-card:hover .yt-play { transform: scale(1.12); }
.yt-play svg { fill: #fff; margin-left: 3px; }
.yt-overlay p { font-family: 'Oswald'; color: #fff; font-size: 15px; letter-spacing: .6px; padding: 0 16px; text-align: center; }
.yt-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.social-bar { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.soc-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 26px; border-radius: 50px;
  font-family: 'Oswald'; letter-spacing: 1px; font-size: 15px;
  border: 1px solid var(--line); background: var(--card); color: #fff;
  transition: transform .3s var(--ease), background .3s, border-color .3s;
}
.soc-btn svg { width: 20px; height: 20px; fill: currentColor; stroke: currentColor; }
.soc-btn:hover { transform: translateY(-3px); }
.soc-yt:hover { background: #f00; border-color: #f00; }
.soc-ig:hover { background: linear-gradient(45deg,#f09433,#dc2743,#bc1888); border-color: transparent; }
.soc-fb:hover { background: #1877f2; border-color: #1877f2; }

.ig-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 12px; }
.ig-item { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.ig-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ig-item:hover img { transform: scale(1.1); }
.ig-ov {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(8,10,25,.6); opacity: 0; transition: opacity .3s;
  color: #fff; font-family: 'Oswald'; letter-spacing: 1px; font-size: 13px;
}
.ig-item:hover .ig-ov { opacity: 1; }
.ig-ov svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  display: flex; align-items: center; gap: 0; height: 60px; padding: 0 16px;
  background: #25d366; color: #fff; border-radius: 50px;
  box-shadow: 0 10px 30px rgba(37,211,102,.45); overflow: hidden;
  transition: padding .35s var(--ease), box-shadow .3s;
  animation: waPulse 2.4s infinite;
}
@keyframes waPulse { 0%,100%{ box-shadow: 0 10px 30px rgba(37,211,102,.45);} 50%{ box-shadow: 0 10px 38px rgba(37,211,102,.75);} }
.wa-float svg { flex-shrink: 0; }
.wa-label { font-family:'Oswald'; letter-spacing: .5px; max-width: 0; opacity: 0; white-space: nowrap; overflow: hidden; transition: max-width .4s var(--ease), opacity .3s, margin .3s; }
.wa-float:hover { padding-right: 22px; }
.wa-float:hover .wa-label { max-width: 200px; opacity: 1; margin-left: 10px; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(5,5,7,.94); display: none; align-items: center; justify-content: center; backdrop-filter: blur(6px); }
.lightbox.open { display: flex; animation: fadeUp .3s; }
.lb-stage img { max-width: 86vw; max-height: 82vh; border-radius: 12px; box-shadow: var(--shadow); }
.lb-close { position: absolute; top: 20px; right: 26px; font-size: 40px; background: none; border: none; color: #fff; cursor: pointer; line-height: 1; }
.lb-nav { background: rgba(255,255,255,.08); border: 1px solid var(--line); color:#fff; width: 52px; height: 52px; border-radius: 50%; font-size: 28px; cursor: pointer; margin: 0 14px; transition: background .3s; }
.lb-nav:hover { background: var(--grad); color:var(--ink); }

/* ============================================================
   TOAST
   ============================================================ */
.toast { position: fixed; bottom: 96px; left: 50%; transform: translateX(-50%) translateY(20px); z-index: 3000; background: var(--charcoal); border: 1px solid rgba(59,130,246,.4); color: #fff; padding: 14px 24px; border-radius: 50px; font-size: 15px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   MOBILE MENU OVERLAY
   ============================================================ */
@media (max-width: 980px) {
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw); flex-direction: column;
    background: rgba(14,14,17,.97); backdrop-filter: blur(18px); padding: 100px 32px 40px;
    gap: 8px; transform: translateX(100%); transition: transform .4s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,.5); z-index: 1050;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .calc-wrap { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .tf-card { grid-template-columns: 1fr; }
  .tf-imgs img { height: 240px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 70px 0; }
  .billing-toggle { width: 100%; }
  .billing-toggle button { flex: 1; padding: 10px 8px; font-size: 13px; letter-spacing: .5px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 38px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .calc-form, .contact-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-quick .btn { min-width: 100%; }
  .wa-label { display: none; }
  .tf-imgs img { height: 200px; }
}

/* Touch devices: no hover, so keep program details & CTA visible */
@media (hover: none) {
  .pc-reveal { max-height: 220px; opacity: 1; margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
