:root {
  --black: #070707;
  --panel: #111214;
  --panel-soft: #181a1d;
  --red: #ef233c;
  --orange: #ff7a1a;
  --smoke: #f4f2ed;
  --muted: #aeb3ba;
  --steel: #5f6872;
  --line: rgba(244, 242, 237, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: var(--black);
  color: var(--smoke);
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(7, 7, 7, 0.68);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: 0.25s ease;
}
.site-header.scrolled { background: rgba(7, 7, 7, 0.94); border-color: var(--line); box-shadow: 0 18px 55px rgba(0, 0, 0, 0.34); }
.nav { width: min(1200px, calc(100% - 32px)); margin: 0 auto; height: 76px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: 0; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; background: linear-gradient(135deg, var(--red), var(--orange)); color: #fff; box-shadow: 0 12px 35px rgba(239, 35, 60, 0.35); }
.nav-menu { margin-left: auto; display: flex; align-items: center; gap: 22px; color: rgba(244, 242, 237, 0.82); font-size: 0.94rem; }
.nav-menu a:hover { color: #fff; }
.nav-cta, .btn, .program-card a, .plan-card button {
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.nav-cta { padding: 12px 18px; background: var(--smoke); color: #090909; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; }
.btn-primary { background: linear-gradient(135deg, var(--red), var(--orange)); color: #fff; box-shadow: 0 18px 44px rgba(239, 35, 60, 0.34); }
.btn-secondary { border: 1px solid var(--line); background: rgba(255, 255, 255, 0.06); color: var(--smoke); }
.btn:hover, .nav-cta:hover, .program-card a:hover, .plan-card button:hover { transform: translateY(-2px); }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,0.06); }
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: #fff; }

.hero { position: relative; min-height: 100vh; padding: 142px 0 74px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(circle at 72% 25%, rgba(255, 122, 26, 0.24), transparent 32%), linear-gradient(135deg, #070707 0%, #151515 45%, #25090d 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 150px; background: linear-gradient(transparent, var(--black)); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 54px; align-items: center; }
.badge, .eyebrow { display: inline-flex; align-items: center; width: fit-content; border: 1px solid rgba(255, 122, 26, 0.42); border-radius: 999px; padding: 8px 13px; color: #ffd5bf; background: rgba(239, 35, 60, 0.12); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; letter-spacing: 0; line-height: 0.98; text-transform: uppercase; }
h1 { font-size: clamp(3.2rem, 9vw, 7.6rem); margin-bottom: 24px; max-width: 760px; }
h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); margin-bottom: 18px; }
h3 { line-height: 1.18; }
.hero-copy p { color: var(--muted); max-width: 610px; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0; }
.hero-proof { display: inline-flex; gap: 10px; align-items: baseline; color: var(--muted); }
.hero-proof strong { color: var(--smoke); font-size: 1.6rem; }
.hero-media { position: relative; min-height: 560px; }
.hero-media img { width: 100%; height: 620px; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); filter: saturate(1.08) contrast(1.05); }
.trial-card { position: absolute; left: -22px; bottom: 34px; padding: 20px; border-radius: 8px; background: rgba(12, 12, 12, 0.86); border: 1px solid var(--line); box-shadow: var(--shadow); }
.trial-card span { display: block; color: var(--muted); font-weight: 700; }
.trial-card strong { display: block; font-size: 1.85rem; color: #fff; }

section { padding: 96px 0; }
section[id] { scroll-margin-top: 88px; }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading p, .split-copy p, .faq-grid p, .contact-info p, .final-box p { color: var(--muted); }
.compact { max-width: 640px; }
.problem-grid, .benefit-grid, .program-grid, .plan-grid, .testimonial-grid, .stats { display: grid; gap: 18px; }
.problem-grid { grid-template-columns: repeat(5, 1fr); }
.problem-grid article, .benefit-grid article, .story-steps article, .process-line article, .testimonial-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
  padding: 24px;
  transition: 0.25s ease;
}
.problem-grid article:hover, .benefit-grid article:hover, .program-card:hover, .plan-card:hover, .testimonial-grid article:hover { transform: translateY(-5px); border-color: rgba(255, 122, 26, 0.42); }
.problem-grid span, .story-steps span, .process-line span { color: var(--orange); font-weight: 900; }
.problem-grid p, .benefit-grid p, .story-steps p, .process-line p, .program-card p, .plan-card p, .testimonial-grid p { color: var(--muted); }

.solution, .plans, .faq { background: linear-gradient(180deg, #0b0b0c, #121315); }
.split-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; }
.image-panel img { width: 100%; height: 640px; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }
.feature-list { display: grid; gap: 14px; margin-top: 28px; }
.feature-list div { padding: 18px; border-left: 3px solid var(--orange); background: rgba(255,255,255,0.045); border-radius: 8px; }
.feature-list strong, .feature-list span { display: block; }
.feature-list span { color: var(--muted); }

.benefit-grid { grid-template-columns: repeat(4, 1fr); }
.icon { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 8px; background: rgba(239, 35, 60, 0.16); }
.program-grid { grid-template-columns: repeat(3, 1fr); }
.program-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); transition: 0.25s ease; }
.program-card img { width: 100%; height: 210px; object-fit: cover; }
.program-card div { padding: 22px; }
.program-card small { display: block; color: #ffd5bf; margin: 14px 0; font-weight: 800; }
.program-card a, .plan-card button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 0 16px; background: rgba(255, 122, 26, 0.14); color: #fff; border: 1px solid rgba(255, 122, 26, 0.36); }

.story-band { padding: 42px; border-radius: 8px; background: linear-gradient(135deg, rgba(239,35,60,0.18), rgba(255,122,26,0.08)), url("assets/img/gimnasio-interior.jpg") center/cover; position: relative; overflow: hidden; }
.story-band::before { content: ""; position: absolute; inset: 0; background: rgba(7,7,7,0.72); }
.story-band > * { position: relative; z-index: 1; }
.story-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.process-line { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.process-line article span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--orange)); color: #fff; margin-bottom: 14px; }

.plan-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.plan-card { position: relative; padding: 30px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); transition: 0.25s ease; }
.plan-card.featured, .plan-card.selected { border-color: var(--orange); box-shadow: 0 22px 70px rgba(239, 35, 60, 0.18); background: linear-gradient(180deg, rgba(239,35,60,0.18), rgba(255,255,255,0.035)); }
.popular { position: absolute; right: 20px; top: 20px; padding: 7px 10px; border-radius: 999px; background: var(--orange); color: #111; font-size: 0.75rem; font-weight: 900; }
.price { font-size: 2.5rem; color: #fff; font-weight: 900; margin-bottom: 8px; }
.price span { font-size: 1rem; color: var(--muted); }
.plan-card ul { padding-left: 20px; color: var(--muted); margin: 22px 0; }
.plan-card button { width: 100%; }

.conversion { background: linear-gradient(135deg, #ef233c, #ff7a1a); color: #fff; }
.conversion .eyebrow { background: rgba(0,0,0,0.18); border-color: rgba(255,255,255,0.3); color: #fff; }
.conversion-grid { display: grid; grid-template-columns: 1fr 0.95fr; gap: 40px; align-items: center; }
.stats { grid-template-columns: repeat(3, 1fr); }
.stats article { padding: 24px; border-radius: 8px; background: rgba(0,0,0,0.22); }
.stats strong { display: block; font-size: 2rem; }
.stats span { color: rgba(255,255,255,0.78); }

.testimonial-grid { grid-template-columns: repeat(3, 1fr); }
.testimonial-grid strong, .testimonial-grid span { display: block; }
.testimonial-grid span { color: var(--muted); font-size: 0.92rem; }
.faq-grid, .contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.accordion { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,0.04); overflow: hidden; }
.faq-item button { width: 100%; padding: 20px; border: 0; background: transparent; color: #fff; text-align: left; font-weight: 900; font-size: 1rem; cursor: pointer; }
.faq-item button::after { content: "+"; float: right; color: var(--orange); }
.faq-item.active button::after { content: "-"; }
.faq-item p { max-height: 0; overflow: hidden; margin: 0; padding: 0 20px; transition: 0.25s ease; }
.faq-item.active p { max-height: 140px; padding: 0 20px 20px; }

.contact { background: #0a0a0b; }
.contact-cards { display: grid; gap: 12px; margin: 24px 0; }
.contact-cards a, .contact-cards span { padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,0.045); color: var(--muted); }
.map-mock { min-height: 210px; border-radius: 8px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(239,35,60,0.16), rgba(255,122,26,0.1)), repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 22px); display: grid; place-items: center; text-align: center; }
.map-mock span, .map-mock strong { display: block; }
.contact-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: var(--shadow); }
.contact-form label { display: grid; gap: 8px; color: #fff; font-weight: 800; }
.contact-form label:nth-last-of-type(1), .contact-form button { grid-column: 1 / -1; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: rgba(0,0,0,0.32); color: #fff; padding: 14px; font: inherit; }
textarea { resize: vertical; }

.final-cta { padding-top: 110px; }
.final-box { padding: 56px; border-radius: 8px; background: linear-gradient(135deg, rgba(239,35,60,0.24), rgba(255,122,26,0.12)); border: 1px solid rgba(255,122,26,0.24); text-align: center; }
.final-box .hero-actions { justify-content: center; }
.footer { padding: 42px 0; border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: center; }
.footer-links { display: flex; gap: 16px; }

.section-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.section-reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .nav-menu { position: fixed; inset: 76px 16px auto; display: none; flex-direction: column; align-items: stretch; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: rgba(7,7,7,0.96); }
  .nav-menu.open { display: flex; }
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
  .hero-grid, .split-grid, .conversion-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { min-height: auto; }
  .hero-media img, .image-panel img { height: 430px; }
  .problem-grid, .benefit-grid, .program-grid, .plan-grid, .testimonial-grid, .story-steps, .process-line, .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .nav { width: min(100% - 24px, 1200px); height: 70px; }
  .brand span:last-child { max-width: 150px; }
  .hero { padding-top: 112px; }
  h1 { font-size: 3.35rem; }
  section { padding: 72px 0; }
  .hero-media img, .image-panel img { height: 360px; }
  .trial-card { left: 12px; right: 12px; bottom: 14px; }
  .problem-grid, .benefit-grid, .program-grid, .plan-grid, .testimonial-grid, .story-steps, .process-line, .stats, .contact-form { grid-template-columns: 1fr; }
  .story-band, .final-box { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
}
