@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,700&display=swap');

/* ================================================
   VARIABLES
================================================ */
:root {
  --primary: #ff3400;
  --primary-dark: #e02e00;
  --secondary: #fbaa19;
  --dark: #111111;
  --neutral: #f7f7f7;
  --white: #ffffff;
  --muted: #888888;
  --border: #e8e8e8;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
  --radius: 14px;
  --radius-sm: 8px;
}

/* ================================================
   BASE
================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ================================================
   TYPOGRAPHY
================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ================================================
   NAVBAR
================================================ */
.oly-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: padding 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  padding: 20px 0;
}

.oly-nav.scrolled {
  padding: 12px 0;
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.oly-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.oly-nav .nav-logo img {
  height: 45px;
  display: block;
}

.oly-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.oly-nav .nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

.oly-nav .nav-links a:hover { color: var(--primary); }

.oly-nav .nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 0;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  padding: 12px 24px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 16px;
  transition: color 0.2s;
}
.nav-mobile-menu a:hover { color: var(--primary); }
.nav-mobile-menu .btn-primary-oly {
  margin: 12px 24px 0;
  text-align: center;
}

@media (max-width: 768px) {
  .oly-nav .nav-links,
  .oly-nav .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

/* ================================================
   BUTTONS
================================================ */
.btn-primary-oly {
  display: inline-block;
  background: var(--primary);
  color: var(--white) !important;
  border-radius: 12px;
  padding: 13px 26px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  line-height: 1;
}
.btn-primary-oly:hover {
  background: var(--primary-dark);
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(255, 52, 0, 0.35);
}

.btn-outline-oly {
  display: inline-block;
  background: transparent;
  color: var(--dark) !important;
  border-radius: 12px;
  padding: 13px 26px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid var(--dark);
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
}
.btn-outline-oly:hover {
  background: var(--dark);
  color: var(--white) !important;
  transform: scale(1.02);
}

.btn-white-oly {
  display: inline-block;
  background: var(--white);
  color: var(--dark) !important;
  border-radius: 12px;
  padding: 13px 26px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  line-height: 1;
}
.btn-white-oly:hover {
  background: #f0f0f0;
  transform: scale(1.02);
}

/* ================================================
   STORE BADGES
================================================ */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: -6px;
}
.store-badges > * {
  margin: 6px;
}

.badge-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--dark);
  color: var(--white);
  border-radius: 12px;
  padding: 10px 18px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.15);
  transition: all 0.2s;
}
.badge-store:hover {
  background: #222;
  transform: scale(1.02);
  border-color: rgba(255,255,255,0.3);
}
.badge-store svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  min-width: 22px;
}
.badge-store-text { display: flex; flex-direction: column; }
.badge-store-text span:first-child {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.75;
  line-height: 1;
}
.badge-store-text span:last-child {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.badge-store.light {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
}
.badge-store.light:hover {
  background: rgba(255,255,255,0.22);
}

/* ================================================
   HERO
================================================ */
.hero {
  background: linear-gradient(145deg, #111111 0%, #1a0800 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,52,0,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(251,170,25,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,52,0,0.15);
  color: var(--primary);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(255,52,0,0.25);
}
.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.hero h1 {
  font-size: 2.8rem;
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.08;
}

.hero h1 em {
  font-style: italic;
  color: var(--primary);
}

.hero p.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-phone {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

.hero-phone img {
  max-height: 560px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(255, 52, 0, 0.25));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@media (max-width: 991px) {
  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero-phone { margin-top: 40px; }
  .hero-phone img { max-height: 360px; }
  .hero p.hero-sub { max-width: 100%; }
}

/* ================================================
   SECTION COMMONS
================================================ */
section { padding: 96px 0; }

.section-neutral { background: var(--neutral); }
.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.2rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ================================================
   FEATURE CARDS
================================================ */
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,52,0,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.7;
}

/* ================================================
   HOW IT WORKS — STEPS
================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.67% + 20px);
  right: calc(16.67% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  z-index: 0;
}

.step {
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 4px 16px rgba(255,52,0,0.3);
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 768px) {
  section { padding: 64px 0; }

  .cta-band { padding: 56px 0; }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .steps-grid::before { display: none; }
}

@media (max-width: 576px) {
  section { padding: 48px 0; }

  .hero { padding: 100px 0 48px; }

  .hero h1 { font-size: 2rem; }

  .section-title { font-size: 1.6rem; }

  .cta-band { padding: 48px 0; }
  .cta-band h2 { font-size: 1.6rem; }

  .feature-card { padding: 24px 20px; }

  .store-badges { gap: 8px; }

  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ================================================
   TESTIMONIALS
================================================ */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  height: 100%;
}

.testimonial-stars {
  color: var(--secondary);
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--neutral);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}

.testimonial-author-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
}

.testimonial-author-info span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ================================================
   CTA BAND
================================================ */
.cta-band {
  background: var(--primary);
  padding: 80px 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  font-size: 2.2rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

/* ================================================
   GYM PAGE - B2B
================================================ */
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}

.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255,52,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.benefit-item h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.benefit-item p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

/* Contact/Demo Form */
.form-oly .form-control {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--white);
}
.form-oly .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,52,0,0.12);
  outline: none;
}
.form-oly label {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--dark);
}

/* ================================================
   EVENTS PAGE
================================================ */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.filter-tab {
  padding: 8px 18px;
  border-radius: 100px;
  border: 2px solid var(--border);
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
  color: var(--dark);
}
.filter-tab:hover,
.filter-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.event-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.event-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.event-card-img {
  width: 100%;
  min-height: 160px;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a0800, #111);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}

.event-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,52,0,0.12);
  color: var(--primary);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.event-card-body {
  padding: 20px;
}

.event-card-body h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.event-meta span {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.event-price {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
}

/* ================================================
   COVERAGE / MAP SECTION
================================================ */
.city-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-radius: 100px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(255,255,255,0.12);
}
.city-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* ================================================
   FOOTER
================================================ */
footer {
  background: var(--dark);
  padding: 64px 0 32px;
  color: rgba(255,255,255,0.6);
}

.footer-logo {
  height: 30px;
  display: block;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

footer h5 {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 40px 0 24px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

/* ================================================
   SCROLL REVEAL
================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ================================================
   UTILITIES
================================================ */
.text-primary-oly { color: var(--primary) !important; }
.text-muted-oly { color: var(--muted) !important; }
.bg-neutral { background: var(--neutral); }

/* ================================================
   LEGACY SUPPORT (términos, privacidad)
================================================ */
.olypia-white { color: #E8EBF3; }
.olympiaLogoFooter {
  display: block;
  width: 100px;
  margin-bottom: 13px;
}
ul.footerListOfLinks {
  margin: 0; padding: 0;
  list-style: none;
}
ul.footerListOfLinks > li > a {
  text-decoration: none;
  color: rgba(255,255,255,0.55);
  font-size: 14px;
}
ul.footerListOfLinks > li > a:hover { color: var(--white); }
