/* ==========================================================================
   ACADEMIA TENIS RICKY - OFFICIAL STYLESHEET
   Accurate design, modern typography, dynamic animations, & premium aesthetics
   ========================================================================== */

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Primary Brand Palette */
  --primary-lime: #a3cf21;
  --primary-lime-hover: #91ba18;
  --primary-lime-light: #f2f8dd;
  --primary-lime-glow: rgba(163, 207, 33, 0.45);
  --lime-gradient: linear-gradient(135deg, #b0db29 0%, #8fb616 100%);
  --lime-banner-bg: #abce27;

  /* Neutral Tones */
  --bg-page: #fbfbf9;
  --bg-card: #ffffff;
  --text-dark: #12160f;
  --text-body: #494e43;
  --text-muted: #747b6d;
  --kicker-green: #7d9616;
  --border-light: #e6eae0;
  --border-card: #eef2e7;

  /* Shadow & Elevation */
  --shadow-sm: 0 4px 12px rgba(18, 22, 15, 0.04);
  --shadow-md: 0 10px 28px rgba(18, 22, 15, 0.07);
  --shadow-lg: 0 20px 45px rgba(18, 22, 15, 0.12);
  --shadow-lime: 0 14px 35px rgba(163, 207, 33, 0.35);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Global Rules */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Canvas Background for Floating Tennis Atmosphere */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* Typography Utilities */
.serif-italic-highlight {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: #8ea81b;
  display: inline-block;
  letter-spacing: -0.01em;
}

.kicker-tag {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kicker-green);
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.kicker-tag span {
  transition: var(--transition-smooth);
}

.kicker-tag:hover span {
  color: #55670d;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(251, 251, 249, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230, 234, 224, 0.7);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.15rem;
  transition: var(--transition-smooth);
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.logo-circle {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-logo:hover .logo-circle {
  transform: rotate(45deg) scale(1.08);
}

.logo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(163, 207, 33, 0.3);
  display: block;
}

.brand-name {
  font-size: 1.12rem;
  font-weight: 750;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  padding: 0.3rem 0;
  transition: var(--transition-smooth);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary-lime);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--kicker-green);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #151813;
  color: #ffffff;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(21, 24, 19, 0.2);
  transition: var(--transition-smooth);
}

.btn-instagram:hover {
  background-color: #2b3225;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(21, 24, 19, 0.3);
}

.icon-sm {
  width: 16px;
  height: 16px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.3rem;
}

.mobile-drawer {
  display: none;
  flex-direction: column;
  background: #ffffff;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  gap: 1rem;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-link {
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0ec;
}

.mobile-ig-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #151813;
  color: #fff;
  padding: 0.8rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 650;
  margin-top: 0.5rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 5.5rem;
  padding-bottom: 2rem;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-page);
  box-sizing: border-box;
}

.hero-section .container {
  width: 100%;
}

.hero-section.has-bg {
  --hero-bg: url('assets/images/hero-bg.webp');
}

/* Capa base: foto nítida con más contraste/saturación en toda la imagen */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center 68%;
  background-repeat: no-repeat;
  filter: brightness(1.07) contrast(1.13) saturate(1.16);
  z-index: 0;
}

/* Velo + blur solo en mitad izquierda coincidente con degradado (62%) - +30% vs 0.62/0.42/0.14 */
.hero-blur-veil {
  position: absolute;
  inset: 0 auto 0 0;
  width: 62%;
  background: linear-gradient(90deg, rgba(251,251,249,0.81) 0%, rgba(251,251,249,0.55) 42%, rgba(251,251,249,0.18) 72%, transparent 100%);
  backdrop-filter: blur(5px) saturate(1.08);
  -webkit-backdrop-filter: blur(5px) saturate(1.08);
  mask-image: linear-gradient(90deg, black 0%, black 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, black 0%, black 72%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

/* Velo vertical sutil superior/inferior por encima del blur */
.hero-section.has-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(251,251,249,0.04) 0%, transparent 55%, rgba(251,251,249,0.04) 100%);
  z-index: 0;
  pointer-events: none;
}

/* ===== VARIANTE INVERTIDA: fondo negro / texto claro (propuesta) ===== */
.hero-section.hero--inverted {
  background-color: #0d0f0e;
}
.hero-section.hero--inverted .hero-bg {
  filter: brightness(0.92) contrast(1.18) saturate(1.14);
}
.hero-section.hero--inverted .hero-blur-veil {
  background: linear-gradient(90deg, rgba(10,14,12,0.82) 0%, rgba(10,14,12,0.58) 42%, rgba(10,14,12,0.22) 72%, transparent 100%);
  backdrop-filter: blur(6px) saturate(1.05);
  -webkit-backdrop-filter: blur(6px) saturate(1.05);
}
.hero-section.hero--inverted::after {
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, transparent 55%, rgba(0,0,0,0.22) 100%);
}
.hero-section.hero--inverted .hero-title {
  color: #ffffff;
}
.hero-section.hero--inverted .serif-italic-highlight {
  color: #c8ea5a;
}
.hero-section.hero--inverted .hero-description {
  color: rgba(255,255,255,0.82);
}
.hero-section.hero--inverted .kicker-tag {
  color: #b0db29;
}
.hero-section.hero--inverted .badge-text {
  color: rgba(255,255,255,0.92);
}
.hero-section.hero--inverted .badge-text strong {
  color: #ffffff;
}
.hero-section.hero--inverted .feature-pill {
  color: rgba(255,255,255,0.72);
}
.hero-section.hero--inverted .feature-pill:hover {
  color: #ffffff;
}
.hero-section.hero--inverted .pill-icon {
  color: #a3cf21;
}
.hero-section.hero--inverted .btn-secondary {
  background: rgba(255,255,255,0.10);
  color: #ffffff;
  border-color: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
}
.hero-section.hero--inverted .btn-secondary:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.28);
  color: #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
  max-width: 640px;
  margin: 0;
  text-align: left;
  justify-items: start;
  position: relative;
  z-index: 1;
  padding-top: 1.2rem;
  padding-left: 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-description {
  margin-left: 0;
  margin-right: 0;
}

.hero-cta-group {
  justify-content: flex-start;
}

.hero-features {
  justify-content: flex-start;
}

.hero-badge {
  justify-content: flex-start;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 1.3rem;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 520px;
  margin-bottom: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.badge-icon-wrap {
  width: 24px;
  height: 24px;
  background-color: var(--primary-lime);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px var(--primary-lime-glow);
}

.check-icon {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}

.badge-text {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-dark);
}

.badge-text strong {
  font-weight: 800;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

/* Primary Button (Pill Lime Green with Arrow) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--lime-gradient);
  color: #12160f;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-lime);
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(rgba(255,255,255,0.4), transparent);
  transform: rotate(30deg) translateY(-100%);
  transition: transform 0.6s ease;
}

.btn-primary:hover::after {
  transform: rotate(30deg) translateY(100%);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 36px rgba(163, 207, 33, 0.5);
}

.arrow-icon {
  width: 17px;
  height: 17px;
  stroke-width: 2.6;
  transition: transform 0.3s ease;
}

.btn-primary:hover .arrow-icon {
  transform: translate(2px, -2px);
}

/* Secondary Button */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: #f1f3ec;
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  padding: 0.9rem 1.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: #e6eadf;
  transform: translateY(-2px);
  border-color: #d2d8c7;
}

/* Feature Pills Row */
.hero-features {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.feature-pill:hover {
  color: var(--text-dark);
  transform: translateY(-1px);
}

.pill-icon {
  width: 17px;
  height: 17px;
  color: var(--kicker-green);
}



/* ==========================================================================
   SECTION: CONOCÉ A RICKY
   ========================================================================== */
.section-about {
  padding: 5rem 0;
  background-color: #ffffff;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.photo-frame-wrapper {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.3;
}

.coach-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.photo-frame-wrapper:hover .coach-photo {
  transform: scale(1.05);
}

.photo-floating-tag {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(21, 24, 19, 0.88);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.15);
}

.tag-icon {
  width: 17px;
  height: 17px;
  color: var(--primary-lime);
}

.section-title {
  font-size: 2.8rem;
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 1.4rem;
}

.about-paragraph {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-body);
  margin-bottom: 1.2rem;
}

/* 4 Categories Target Icons */
.target-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin: 2.2rem 0;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  padding: 0.8rem 0.4rem;
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.category-item:hover {
  background: #f8faf4;
  transform: translateY(-3px);
}

.cat-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: var(--primary-lime-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--kicker-green);
  transition: var(--transition-bounce);
}

.category-item:hover .cat-icon-circle {
  background-color: var(--primary-lime);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 6px 16px var(--primary-lime-glow);
}

.cat-icon {
  width: 24px;
  height: 24px;
  stroke-width: 2.2;
}

.cat-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
}

.about-action {
  margin-top: 1rem;
}

/* ==========================================================================
   SECTION: ENTRENAMIENTOS (6 Programs Grid)
   ========================================================================== */
.section-programs {
  padding: 6rem 0;
  background-color: var(--bg-page);
}

.section-header {
  margin-bottom: 3.5rem;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.2rem;
}

.program-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 2.2rem 1.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-bounce);
  position: relative;
}

.program-card:hover {
  transform: translateY(-8px);
  border-color: #c4e460;
  box-shadow: 0 16px 36px rgba(163, 207, 33, 0.18);
}

.program-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-lime-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--kicker-green);
  margin-bottom: 1.4rem;
  transition: var(--transition-bounce);
}

.program-card:hover .program-icon-box {
  background: var(--lime-gradient);
  color: #12160f;
  transform: scale(1.15) rotate(8deg);
  box-shadow: 0 8px 20px var(--primary-lime-glow);
}

.program-icon {
  width: 26px;
  height: 26px;
  stroke-width: 2.2;
}

.program-title {
  font-size: 0.92rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.program-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.program-action-link {
  background: none;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--kicker-green);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.program-action-link:hover {
  color: var(--text-dark);
}

.icon-tiny {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   SECTION: MI MÉTODO (Split Card Banner)
   ========================================================================== */
.section-method {
  padding: 3rem 0 6rem;
}

.method-banner-card {
  background: #a9d026;
  background: linear-gradient(135deg, #aed428 0%, #95bc18 100%);
  border-radius: 32px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  box-shadow: var(--shadow-lg);
}

.method-content-side {
  padding: 3.5rem 3.5rem 3.5rem 4rem;
  color: #151813;
}

.method-kicker {
  color: #2b3905;
  font-weight: 850;
  text-align: center;
}

.method-title {
  font-size: 2.6rem;
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #151813;
  margin-bottom: 2.5rem;
  text-align: center;
}

.method-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pillar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pillar-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #151813;
  margin-bottom: 0.8rem;
  margin-left: auto;
  margin-right: auto;
  transition: var(--transition-bounce);
}

.pillar-col:hover .pillar-icon-wrap {
  background: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.pillar-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2.4;
}

.pillar-head {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  white-space: nowrap;
  margin-bottom: 0.4rem;
  justify-content: center;
}

.pillar-num {
  font-size: 1.15rem;
  font-weight: 850;
  color: #1a2307;
  line-height: 1;
}

.pillar-name {
  font-size: 0.88rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  color: #151813;
  line-height: 1;
}

.pillar-desc {
  font-size: 0.82rem;
  line-height: 1.45;
  color: #2b3512;
  text-align: center;
}

.method-image-side {
  position: relative;
  overflow: hidden;
}

.method-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.method-banner-card:hover .method-photo {
  transform: scale(1.06);
}

.method-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(149, 188, 24, 0.4) 0%, transparent 40%);
  pointer-events: none;
}

/* ==========================================================================
   SECTION: EXPERIENCIA (Interactive Timeline & Credentials)
   ========================================================================== */
.section-experience {
  padding: 5rem 0 6rem;
  background-color: #ffffff;
}

.timeline-container {
  position: relative;
  margin: 4.5rem 0 3.5rem;
}

.timeline-bar {
  position: absolute;
  top: 8px;
  left: 5%;
  right: 5%;
  height: 3px;
  background: #d4e4aa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-lime);
  box-shadow: 0 0 0 4px #ffffff, 0 0 0 6px #d4e4aa;
  transition: var(--transition-smooth);
}

.timeline-center-node {
  width: 20px;
  height: 20px;
  opacity: 0;
}

.timeline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 120px 1fr 1fr;
  gap: 1.8rem;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.timeline-item {
  padding-top: 1.8rem;
  transition: var(--transition-smooth);
}

.timeline-item:hover {
  transform: translateY(-4px);
}

.timeline-date-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--kicker-green);
  margin-bottom: 0.6rem;
}

.cal-icon {
  width: 14px;
  height: 14px;
}

.timeline-club-title {
  font-size: 1.05rem;
  font-weight: 850;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.timeline-club-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Center Emblem on Timeline */
.timeline-center-emblem-wrap {
  display: flex;
  justify-content: center;
  transform: translateY(-20px);
}

.center-seal-logo {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #ffffff;
  padding: 4px;
  box-shadow: 0 8px 24px rgba(163, 207, 33, 0.3);
  border: 2px solid #e2f0a5;
  transition: transform 0.6s ease;
}

.timeline-center-emblem-wrap:hover .center-seal-logo {
  transform: scale(1.15) rotate(25deg);
}

.seal-img-mini {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* Credential Banner Card */
.credential-card {
  background: #f7f9f2;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 1.6rem 2.2rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: 3rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.credential-card:hover {
  background: #ffffff;
  box-shadow: var(--shadow-md);
  border-color: #d6e8a8;
}

.credential-left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
}

.cred-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--lime-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--primary-lime-glow);
}

.cred-icon {
  width: 26px;
  height: 26px;
}

.cred-main-title {
  font-size: 1.05rem;
  font-weight: 850;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}

.cred-sub-title {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

.credential-divider {
  width: 1px;
  height: 48px;
  background-color: #dce3d3;
}

.credential-right {
  flex-grow: 1;
}

.cred-statement {
  font-size: 0.92rem;
  color: var(--text-body);
  font-weight: 550;
}

/* ==========================================================================
   SECTION: CTA & CONTACT BANNER
   ========================================================================== */
.section-cta-footer {
  padding: 4rem 0 5rem;
}

.cta-banner-card {
  background: linear-gradient(135deg, #aed428 0%, #95bc18 100%);
  border-radius: 32px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.cta-card-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.cta-photo-box {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  border: 4px solid #ffffff;
}

.cta-coach-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.cta-photo-box:hover .cta-coach-img {
  transform: scale(1.08);
}

.cta-content-box {
  color: #151813;
}

.cta-heading {
  font-size: 2.4rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  color: #151813;
  margin-bottom: 0.8rem;
}

.cta-text {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #242f0c;
  margin-bottom: 1.6rem;
  max-width: 440px;
}

/* WhatsApp CTA Button */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #12150e;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.95rem 1.8rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: var(--transition-bounce);
  white-space: nowrap;
}

.btn-whatsapp:hover {
  background-color: #262c1d;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.wa-icon {
  width: 20px;
  height: 20px;
  color: var(--primary-lime);
}

/* Contact Info Details */
.cta-contact-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
}

.contact-info-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  text-decoration: none;
  color: #151813;
  transition: var(--transition-smooth);
}

.contact-info-row:hover {
  transform: translateX(4px);
}

.contact-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #12150e;
  flex-shrink: 0;
  transition: var(--transition-bounce);
}

.contact-info-row:hover .contact-icon-wrap {
  background: #ffffff;
  color: var(--kicker-green);
  transform: scale(1.1);
}

.c-icon {
  width: 20px;
  height: 20px;
}

.contact-text-wrap {
  display: flex;
  flex-direction: column;
}

.c-label {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #2a3809;
}

.c-val {
  font-size: 0.95rem;
  font-weight: 750;
  color: #12150e;
}

/* Footer Bottom Note */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border-light);
  background: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links-tiny a {
  color: var(--kicker-green);
  text-decoration: none;
  font-weight: 700;
}

.footer-links-tiny a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON & MODAL
   ========================================================================== */
.floating-wa-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 99;
  text-decoration: none;
  transition: var(--transition-bounce);
  animation: floatPulse 3s infinite ease-in-out;
}

.floating-wa-btn:hover {
  transform: scale(1.12) rotate(8deg);
  background: #20ba59;
}

.wa-floating-icon {
  width: 30px;
  height: 30px;
}

.wa-floating-tooltip {
  position: absolute;
  right: 70px;
  background: #11140f;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: var(--transition-smooth);
}

.floating-wa-btn:hover .wa-floating-tooltip {
  opacity: 1;
  transform: translateX(0);
}

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

/* Interactive Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 22, 15, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: #ffffff;
  border-radius: 28px;
  max-width: 500px;
  width: 100%;
  padding: 2.2rem;
  position: relative;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-backdrop.open .modal-box {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  background: #f1f3ec;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.modal-close:hover {
  background: #e2e8d8;
  transform: rotate(90deg);
}

.modal-header {
  text-align: center;
  margin-bottom: 1.8rem;
}

.modal-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--lime-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.9rem;
  box-shadow: 0 6px 18px var(--primary-lime-glow);
}

.modal-header h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.modal-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text-dark);
  background: #fbfbf9;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-lime);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(163, 207, 33, 0.2);
}

.btn-whatsapp-submit {
  width: 100%;
  background: #25d366;
  color: #ffffff;
  border: none;
  padding: 0.95rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
  transition: var(--transition-bounce);
  margin-top: 0.5rem;
}

.btn-whatsapp-submit:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE BREAKPOINTS)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.2rem;
    white-space: nowrap;
  }
  
  .programs-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .method-banner-card {
    grid-template-columns: 1fr;
  }

  .method-image-side {
    height: 280px;
  }

  .timeline-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .timeline-center-emblem-wrap,
  .timeline-bar {
    display: none;
  }

  .cta-card-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

.cta-photo-box {
    max-width: 280px;
    margin: 0 auto;
    width: 100%;
  }

  .cta-coach-img {
    max-width: 100%;
    height: auto;
  }

  .cta-button-row {
    justify-content: flex-start;
  }

  .cta-contact-details {
    align-items: flex-start;
  }

  .contact-info-row {
    justify-content: flex-start;
  }

  .cta-content-box {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .btn-instagram {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-left: 0;
    max-width: 100%;
    justify-items: center;
    text-align: center;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-cta-group {
    justify-content: center;
    align-items: center;
  }

  .hero-features {
    justify-content: center;
    align-items: center;
  }

  .hero-badge {
    justify-content: center;
  }

  .about-action {
    display: flex;
    justify-content: center;
  }

  .hero-blur-veil {
    width: 100%;
    backdrop-filter: blur(3px) saturate(1.05);
    -webkit-backdrop-filter: blur(3px) saturate(1.05);
    background: linear-gradient(180deg, rgba(251,251,249,0.32) 0%, rgba(251,251,249,0.18) 50%, rgba(251,251,249,0.08) 100%);
    mask-image: none;
    -webkit-mask-image: none;
  }

  .hero-section {
    min-height: 72vh;
  }

  .hero-title {
    font-size: 2.7rem;
    white-space: nowrap;
  }

  .hero-badge {
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
  }

  .badge-icon-wrap {
    margin-bottom: 0.2rem;
  }

  .badge-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .badge-sep {
    display: none;
  }

  .cta-contact-details {
    align-items: flex-start;
  }

  .contact-info-row {
    justify-content: flex-start;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .method-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
  }

  .method-content-side {
    padding: 2.2rem 1.8rem;
    text-align: center;
  }

  .method-kicker {
    justify-content: center;
    text-align: center;
  }

  .method-title {
    text-align: center;
    font-size: clamp(1.35rem, 4.1vw, 2.0rem);
    line-height: 1.12;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    white-space: normal;
    letter-spacing: -0.02em;
  }

  .method-title br {
    display: none;
  }

  .pillar-col {
    align-items: center;
    text-align: center;
  }

  .pillar-icon-wrap {
    margin: 0 auto 0.8rem;
  }

  .credential-card {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
    gap: 1.2rem;
  }

  .credential-left {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
  }

  .credential-divider {
    width: 60px;
    height: 1px;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .method-title {
    font-size: clamp(1.15rem, 4.3vw, 1.45rem);
    max-width: 100%;
    white-space: normal;
  }

  .hero-title {
    font-size: 2.4rem;
    white-space: nowrap;
  }

  .hero-badge {
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
  }

  .badge-icon-wrap {
    margin-bottom: 0.2rem;
  }

  .badge-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .badge-sep {
    display: none;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .target-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .method-pillars-grid {
    grid-template-columns: 1fr;
  }

  .pillar-col {
    align-items: center;
    text-align: center;
  }

  .pillar-icon-wrap {
    margin: 0 auto 0.8rem;
  }

  .cta-contact-details {
    align-items: flex-start;
  }

  .contact-info-row {
    justify-content: flex-start;
  }

  .timeline-grid {
    grid-template-columns: 1fr;
  }
}

/* Móviles muy pequeños (iPhone SE, Android compactos) */
@media (max-width: 375px) {
  .container {
    padding: 0 clamp(0.75rem, 2vw, 1rem);
  }

  .cta-banner-card {
    padding: clamp(1rem, 3vw, 1.5rem);
  }
}


