/* ═══════════════════════════════════════════════════════════════
   COREMETHOD — Main Stylesheet
   Brand: #76871E (Primary Green), #898C8E (Silver), #222222 (Black)
   Font: Open Sans, Poppins
═══════════════════════════════════════════════════════════════ */

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #76871E;   /* Pantone 7496 C */
  --primary-dark:  #5a6617;
  --primary-light: #9aab2a;
  --silver:        #898C8E;   /* Pantone 877 C */
  --silver-light:  #b8bcbe;
  --black:         #222222;   /* Neutral Black C */
  --white:         #ffffff;
  --off-white:     #f7f7f5;
  --light-gray:    #efefed;
  --comp1:         #769D91;   /* Pantone 624 C */
  --comp2:         #6CCA98;   /* Pantone 346 C */
  --comp3:         #595B3C;   /* Pantone 7763 C */

  --font-head:  'Open Sans', sans-serif;
  --font-body:  'Open Sans', sans-serif;
  --font-title: 'Poppins', sans-serif;

  --radius:   12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(34,34,34,.08);
  --shadow-md: 0 8px 30px rgba(34,34,34,.12);
  --shadow-lg: 0 20px 60px rgba(34,34,34,.18);

  --transition: .35s cubic-bezier(.4,0,.2,1);
  --nav-h: 76px;
}

html { 
  scroll-behavior: smooth; 
  font-size: 16px; 
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
  width: 100%;
  overflow: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--light-gray); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ─── SELECTION ─── */
::selection { background: var(--primary); color: var(--white); }

/* ═══════════════════════════ NAVBAR ═══════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  /* background: linear-gradient(135deg, var(--black) 0%, #2d2d1a 40%, var(--comp3) 100%); */
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}



.navbar.non-sticky {
  position: relative !important;
  /*background: var(--white) !important;*/
  background: #000000 !important;
  box-shadow: var(--shadow-sm) !important;
}
.navbar.non-sticky .nav-container { padding: 0 1.25rem !important; }

/* Inner-page header (distinct from home page) */
.inner-header {
  position: relative !important;
  background: linear-gradient(135deg, var(--black) 0%, #2d2d1a 40%, var(--comp3) 100%) !important;
  box-shadow: var(--shadow-sm) !important;
}
.inner-header .nav-container { padding: 0 1.25rem !important; }
.inner-header .logo-img { filter: brightness(0) invert(1) !important; }
.inner-header .nav-link { color: rgba(255,255,255,.85) !important; }
.inner-header .hamburger span { background: var(--white) !important; }
.nav-container {
  width: 100%; max-width: 1280px; margin: auto;
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.logo-img {
  height: 48px; width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}
.navbar.scrolled .logo-img { filter: none; }

.nav-links {
  display: flex; align-items: center; gap: 2rem;
}
.nav-link {
  font-weight: 600; font-size: .9rem; letter-spacing: .04em;
  color: rgba(255,255,255,.85);
  position: relative; padding: .25rem 0;
  transition: color var(--transition);
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--primary-light);
  transition: width var(--transition);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.navbar.scrolled .nav-link { color: var(--silver); }
.navbar.scrolled .nav-link:hover { color: var(--primary); }
.navbar.scrolled .nav-link::after { background: var(--primary); }

.nav-cta {
  background: var(--primary); color: var(--white);
  padding: .6rem 1.5rem; border-radius: 50px;
  font-weight: 700; font-size: .85rem; letter-spacing: .06em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 15px rgba(118,135,30,.4);
}
.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(118,135,30,.5);
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 30px; cursor: pointer;
}
.hamburger span {
  width: 20px; height: 2px; background: var(--white); border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--black); }

/* ─── RESPONSIVE NAV (mobile) ─── */
@media (max-width: 880px) {
  /* Make header non-sticky on small screens and use a solid background */
  .navbar {
    position: relative;
    background: var(--white);
    box-shadow: var(--shadow-sm);
  }

  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 1rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    width: 100%;
    transform: translateY(-6px) scale(.995);
    opacity: 0; pointer-events: none;
    transition: opacity .22s var(--transition), transform .22s var(--transition);
    border-radius: 0;
    z-index: 1500;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Mobile slideout brand/logo */
  .nav-links .mobile-brand { display: none; }

  .nav-links.open {
    opacity: 1; transform: translateY(0) scale(1); pointer-events: auto;
  }

  .nav-link { color: var(--black); padding: .55rem 0; font-size: 1rem; }
  .nav-cta { display: inline-block; margin-top: .25rem; }

  /* Mobile CTAs inside the slideout */
  .mobile-ctas { display: flex; flex-direction: column; gap: .5rem; margin-top:.5rem; }
  .mobile-ctas .nav-cta { width: 100%; text-align:center; }

  /* Ensure mobile CTAs always visible inside the slideout when open */
  .nav-links .mobile-ctas { display: flex !important; }
  .nav-links.open .mobile-ctas { display: flex !important; }

  .nav-links .mobile-brand { display: flex; align-items: center; justify-content: flex-start; margin-bottom: .5rem; }
  .mobile-logo { height: 36px; }

  /* Hide desktop CTAs when showing mobile slideout to avoid duplicates */
  .nav-actions .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Mobile logo slightly smaller and use normal color on white header */
  .logo-img { height: 40px; filter: none; }

  /* Ensure hamburger bars are visible on light background */
  .hamburger span { background: var(--black); }
}

/* Hide mobile CTAs on desktop — they should only appear inside the mobile slideout */
.mobile-ctas { display: none; }

/* Hide mobile-only brand/logo on desktop */
.mobile-brand { display: none; }

/* Prevent background scroll when mobile nav is open */
body.nav-open { overflow: hidden; }

/* Mobile slideout close button */
.mobile-close {
  display: none; /* shown in mobile media query */
  position: absolute;
  top: .6rem;
  right: 1rem;
  background: var(--primary);
  border: none;
  color: var(--white);
  font-size: 1.15rem;
  padding: .5rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(118,135,30,.18);
  display: none;
}
.mobile-close span { pointer-events: none; font-size: 1.2rem; color: var(--white); }

@media (max-width: 880px) {
  .mobile-close { display: flex; align-items: center; justify-content: center; }
  .mobile-close:hover { background: var(--primary-dark); }
}

/* Ensure mobile-ctas stay hidden on wide screens only (show on small via media query) */
@media (min-width: 881px) {
  .mobile-ctas { display: none !important; }
}

/* Non-sticky header variant used on standalone pages */
.site-header {
  position: relative;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: var(--white);
  z-index: 50;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.site-header .nav-container { padding: 0 1.25rem; }
.site-header .nav-links { position: static; display: flex; gap: 1rem; background: transparent; box-shadow: none; padding: 0; transform: none; opacity: 1; pointer-events: auto; }
.site-header .hamburger { display: none; }
.site-header .logo-img { filter: none; }
.site-header .nav-link { color: var(--black); }
.site-header .nav-link:hover { color: var(--primary); }
.site-header .nav-actions .nav-cta { display: inline-block !important; }

/* Mobile styles for site-header */
@media (max-width: 880px) {
  .site-header .hamburger { display: flex; }
  .site-header .nav-actions .nav-cta { display: none; }
}

/* ═══════════════════════════ HERO ═══════════════════════════ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--black) 0%, #2d2d1a 40%, var(--comp3) 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(118,135,30,.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(118,135,30,.1) 0%, transparent 40%);
  animation: pulseGlow 6s ease-in-out infinite alternate;
}
@keyframes pulseGlow {
  from { opacity: .6; }
  to   { opacity: 1; }
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 1280px; margin: auto;
  padding: 6rem 2rem 4rem;
  flex: 1;
}

.hero-eyebrow {
  font-size: .85rem; font-weight: 700; letter-spacing: .2em;
  color: var(--primary-light); text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 800; line-height: 1.1;
  color: var(--white);
  margin-bottom: 1rem;
}
.hero-highlight { color: var(--primary-light); }

.hero-sub {
  font-size: 1rem; font-weight: 600; letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--silver-light);
  margin-bottom: 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--primary); color: var(--white);
  padding: .85rem 2rem; border-radius: 50px;
  font-weight: 700; font-size: .9rem; letter-spacing: .05em;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(118,135,30,.4);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(118,135,30,.5);
}
.btn-primary.full { width: 100%; justify-content: center; }

.btn-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 2px solid rgba(255,255,255,.4); color: var(--white);
  padding: .85rem 2rem; border-radius: 50px;
  font-weight: 700; font-size: .9rem; letter-spacing: .05em;
  transition: var(--transition);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.08);
  transform: translateY(-3px);
}

.hero-logo-mark {
  position: absolute; right: 5%; top: 50%;
  transform: translateY(-50%);
  width: clamp(300px, 38vw, 560px);
  opacity: .7;
  z-index: 1;
  pointer-events: none;
}
.hero-logo-mark img { width: 100%; }

/* Spin animation */
.spin-slow { animation: spinSlow 30s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.5); font-size: .75rem; letter-spacing: .1em;
  text-transform: uppercase;
  animation: scrollBob 2s ease-in-out infinite;
}
.scroll-indicator span {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.4));
}
@keyframes scrollBob {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ═══════════════════════════ STATS STRIP ═══════════════════════════ */
.stats-strip {
  background: var(--primary);
  padding: 2.5rem 2rem;
}
.stats-container {
  max-width: 1100px; margin: auto;
  display: flex; align-items: center; justify-content: space-around;
  flex-wrap: wrap; gap: 1.5rem;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-title);
  font-size: 2.8rem; font-weight: 900;
  color: var(--white); line-height: 1;
}
.stat-symbol { font-size: 2rem; font-weight: 900; color: rgba(255,255,255,.7); }
.stat-label { font-size: .8rem; font-weight: 600; letter-spacing: .08em;
  color: rgba(255,255,255,.75); text-transform: uppercase; margin-top: .3rem; }
.stat-divider { width: 1px; height: 50px; background: rgba(255,255,255,.25); }

/* ═══════════════════════════ SECTION COMMONS ═══════════════════════════ */
.section-container {
  max-width: 1280px; margin: auto;
  padding: 6rem 2rem;
  display: flex; gap: 5rem; align-items: center;
}
.section-container.column { flex-direction: column; gap: 3rem; }

.section-header { text-align: center; max-width: 640px; margin: auto; }

.section-eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: .75rem;
}
.section-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800; line-height: 1.2;
  color: var(--black);
  margin-bottom: 1rem;
}
.section-title span { color: var(--primary); }
.section-title.center { text-align: center; }
.section-title.white { color: var(--white); }
.section-subtitle { color: var(--silver); font-size: 1rem; line-height: 1.7; }
.section-subtitle.white { color: rgba(255,255,255,.7); }
.section-body { color: #555; font-size: 1rem; line-height: 1.8; margin-bottom: 1rem; }
.section-body strong { color: var(--primary-dark); }

/* ═══════════════════════════ NOSOTROS ═══════════════════════════ */
.nosotros { background: var(--off-white); }

.nosotros-visual { flex: 0 0 420px; position: relative; }
.nos-card-main {
  width: 380px; height: 380px;
  background: linear-gradient(135deg, var(--black) 0%, var(--comp3) 100%);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.nos-pattern-bg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.nos-mark { width: 280px; opacity: .8; }

.nos-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--primary);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700; font-size: .85rem;
  display: flex; align-items: center; gap: .5rem;
  box-shadow: var(--shadow-md);
}
.nos-badge i { font-size: 1.1rem; }

.nosotros-text { flex: 1; }
.nos-features {
  display: flex; flex-direction: column; gap: .75rem;
  margin: 1.5rem 0 2rem;
}
.nos-features li {
  display: flex; align-items: center; gap: .75rem;
  color: #444; font-size: .95rem;
}
.nos-features li i { color: var(--primary); font-size: 1rem; }

/* ═══════════════════════════ TEAM ═══════════════════════════ */
.team { background: var(--white); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; width: 100%;
}

.team-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--light-gray);
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.team-img-wrap { position: relative; }
.team-img-placeholder {
  height: 220px;
  display: flex; align-items: center; justify-content: center;
}
.team-img-placeholder i { font-size: 4rem; color: rgba(255,255,255,.5); }
.t1 { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); }
.t2 { background: linear-gradient(135deg, var(--comp3), var(--comp1)); }
.t3 { background: linear-gradient(135deg, var(--black), #3a3a1a); }
.t4 { background: linear-gradient(135deg, var(--comp1), var(--comp2)); }

.team-badge {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(0,0,0,.6); color: var(--white);
  padding: .25rem .75rem; border-radius: 50px;
  font-size: .75rem; font-weight: 700; letter-spacing: .06em;
  backdrop-filter: blur(6px);
}

.team-info { padding: 1.25rem; }
.team-info h3 { font-family: var(--font-title); font-weight: 700; margin-bottom: .25rem; font-size: 1rem; }
.team-info p  { font-size: .85rem; color: var(--silver); margin-bottom: .75rem; }
.team-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.team-tags span {
  background: rgba(118,135,30,.12); color: var(--primary-dark);
  padding: .2rem .6rem; border-radius: 50px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
}

/* ═══════════════════════════ CLASES ═══════════════════════════ */
.clases {
  background: linear-gradient(160deg, var(--black) 0%, #1a1a0d 60%, var(--comp3) 100%);
  position: relative; overflow: hidden;
}
.clases-bg-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 70% 30%, rgba(118,135,30,.12) 0%, transparent 50%);
  pointer-events: none;
}

.clases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; width: 100%;
}

.clase-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  backdrop-filter: blur(4px);
}
.clase-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,.08);
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.clase-card.featured {
  background: var(--primary);
  border-color: var(--primary-light);
  box-shadow: 0 10px 40px rgba(118,135,30,.4);
}
.clase-card.featured:hover {
  background: var(--primary-dark);
  box-shadow: 0 20px 60px rgba(118,135,30,.5);
}

.clase-icon {
  width: 52px; height: 52px;
  background: rgba(255,255,255,.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.clase-icon i { font-size: 1.4rem; color: var(--white); }
.clase-card.featured .clase-icon { background: rgba(255,255,255,.2); }

.clase-badge {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: rgba(255,255,255,.15); color: rgba(255,255,255,.9);
  padding: .2rem .7rem; border-radius: 50px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
}
.clase-badge.popular {
  background: var(--white); color: var(--primary-dark);
}

.clase-card h3 {
  font-family: var(--font-title);
  font-size: 1.2rem; font-weight: 700;
  color: var(--white); margin-bottom: .75rem;
}
.clase-card p { color: rgba(255,255,255,.65); font-size: .9rem; line-height: 1.7; margin-bottom: 1.25rem; }
.clase-card.featured p { color: rgba(255,255,255,.85); }

.clase-meta {
  display: flex; gap: 1rem;
  color: rgba(255,255,255,.5); font-size: .82rem;
  margin-bottom: 1.5rem;
}
.clase-meta i { margin-right: .3rem; color: var(--primary-light); }
.clase-card.featured .clase-meta i { color: rgba(255,255,255,.7); }

.clase-btn {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,.3);
  color: var(--white);
  padding: .6rem 1.5rem; border-radius: 50px;
  font-weight: 700; font-size: .85rem;
  transition: var(--transition);
}
.clase-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateX(4px);
}
.clase-card.featured .clase-btn {
  background: var(--white); color: var(--primary-dark);
  border-color: var(--white);
}
.clase-card.featured .clase-btn:hover {
  background: rgba(255,255,255,.9);
  transform: translateX(4px);
}

/* ═══════════════════════════ HORARIO ═══════════════════════════ */
.horario { background: var(--off-white); }

.schedule-wrap { width: 100%; overflow-x: auto; }
.schedule-table { min-width: 700px; border-radius: var(--radius-lg); overflow: hidden; }

.sch-head, .sch-row {
  display: grid;
  grid-template-columns: 80px repeat(6, 1fr);
}
.sch-head {
  background: var(--black); color: var(--white);
  font-weight: 700; font-size: .8rem; letter-spacing: .06em;
  text-transform: uppercase;
}
.sch-head > div { padding: .85rem .5rem; text-align: center; }
.sch-row { border-bottom: 1px solid rgba(0,0,0,.06); }
.sch-row:last-child { border-bottom: none; }
.sch-time {
  background: var(--light-gray);
  font-weight: 700; font-size: .82rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--silver);
}
.sch-slot {
  padding: .6rem .4rem; text-align: center;
  font-size: .78rem; font-weight: 600;
  background: var(--white); color: transparent;
  transition: var(--transition);
}
.sch-slot.green  { background: rgba(118,135,30,.12); color: var(--primary-dark); }
.sch-slot.olive  { background: rgba(89,91,60,.12); color: var(--comp3); }
.sch-slot.dark   { background: rgba(34,34,34,.08); color: var(--black); }

.sch-legend {
  display: flex; gap: 1.5rem; margin-top: 1rem; flex-wrap: wrap;
}
.leg {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 600;
}
.leg::before { content: ''; width: 16px; height: 16px; border-radius: 4px; display: inline-block; }
.leg.green::before  { background: rgba(118,135,30,.2); border: 1.5px solid var(--primary); }
.leg.olive::before  { background: rgba(89,91,60,.2); border: 1.5px solid var(--comp3); }
.leg.dark::before   { background: rgba(34,34,34,.12); border: 1.5px solid var(--black); }

/* ═══════════════════════════ PAQUETES ═══════════════════════════ */
.paquetes { background: var(--white); }

.pricing-toggle {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1rem;
}
.toggle-label { font-weight: 600; color: var(--silver); font-size: .9rem; transition: var(--transition); }
.toggle-label.active { color: var(--primary-dark); }
.save-badge {
  background: var(--comp2); color: var(--black);
  padding: .1rem .5rem; border-radius: 50px;
  font-size: .72rem; font-weight: 700; font-style: normal;
}

/* Toggle switch */
.switch { position: relative; width: 52px; height: 28px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; inset: 0;
  background: var(--light-gray);
  border-radius: 50px; cursor: pointer;
  transition: var(--transition);
}
.slider::before {
  content: ''; position: absolute;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  top: 4px; left: 4px;
  transition: var(--transition);
}
input:checked + .slider { background: var(--primary); }
input:checked + .slider::before { transform: translateX(24px); }

.paquetes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; width: 100%; align-items: start;
}

.pkg-card {
  background: var(--off-white);
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.pkg-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.pkg-card.featured {
  background: var(--black);
  border-color: var(--primary);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}
.pkg-card.featured:hover { transform: scale(1.04) translateY(-6px); }

.pkg-popular {
  background: var(--primary); color: var(--white);
  padding: .3rem 1rem; border-radius: 50px;
  font-size: .75rem; font-weight: 700; letter-spacing: .08em;
  text-align: center; margin-bottom: 1.5rem;
}

.pkg-name {
  font-family: var(--font-title); font-size: 1.4rem; font-weight: 800;
  color: var(--black); margin-bottom: .5rem;
}
.pkg-card.featured .pkg-name { color: var(--white); }

.pkg-price {
  display: flex; align-items: flex-start; gap: .1rem;
  margin-bottom: 1.5rem;
}
.currency { font-size: 1.2rem; font-weight: 700; color: var(--primary); padding-top: .5rem; }
.amount {
  font-family: var(--font-title); font-size: 3rem; font-weight: 900;
  color: var(--black); line-height: 1;
}
.pkg-card.featured .amount { color: var(--white); }
.amount.hidden { display: none; }
.period { font-size: .85rem; color: var(--silver); align-self: flex-end; padding-bottom: .4rem; margin-left: .3rem; }

.pkg-features { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2rem; }
.pkg-features li {
  display: flex; align-items: center; gap: .75rem;
  font-size: .9rem; color: #444;
}
.pkg-card.featured .pkg-features li { color: rgba(255,255,255,.7); }
.pkg-features li i { color: var(--primary); }
.pkg-features li.disabled { color: #bbb; }
.pkg-features li.disabled i { color: #ccc; }

.pkg-btn {
  display: block; text-align: center;
  padding: .85rem 1.5rem; border-radius: 50px;
  font-weight: 700; font-size: .9rem; letter-spacing: .04em;
  transition: var(--transition);
}
.pkg-btn.outline {
  border: 2px solid var(--primary); color: var(--primary);
}
.pkg-btn.outline:hover {
  background: var(--primary); color: var(--white);
  transform: translateY(-2px);
}
.pkg-btn.solid {
  background: var(--primary); color: var(--white);
  box-shadow: 0 4px 20px rgba(118,135,30,.4);
  margin: 20px 0px 0px 0px;
}
.pkg-btn.solid:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(118,135,30,.5);
}

/* ═══════════════════════════ TESTIMONIOS ═══════════════════════════ */
.testimonios { background: var(--off-white); overflow: hidden; }

.testi-slider { width: 100%; overflow: hidden; position: relative; }
.testi-track {
  display: flex; gap: 1.5rem;
  width: max-content;
  animation: autoScroll 22s linear infinite;
}
.testi-track:hover { animation-play-state: paused; }

@keyframes autoScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - .75rem)); }
}

/* Duplicate cards handled via JS */
.testi-card {
  min-width: 350px; max-width: 350px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.testi-stars { color: var(--primary); font-size: 1.1rem; margin-bottom: .75rem; letter-spacing: .05em; }
.testi-card > p { color: #555; font-size: .95rem; line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: .75rem; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; flex-shrink: 0;
}
.testi-author strong { display: block; font-size: .9rem; }
.testi-author span { font-size: .8rem; color: var(--silver); }

.testi-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.5rem; }
.testi-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--light-gray); border: none; cursor: pointer;
  transition: var(--transition);
}
.testi-dot.active { background: var(--primary); width: 24px; border-radius: 4px; }

/* ═══════════════════════════ CONTACTO ═══════════════════════════ */
.contacto {
  background: linear-gradient(135deg, var(--black) 0%, #1c1c0e 60%, var(--comp3) 100%);
  position: relative; overflow: hidden;
}
.contact-bg-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 10% 80%, rgba(118,135,30,.15) 0%, transparent 45%);
  pointer-events: none;
}

.contact-info { flex: 1; position: relative; z-index: 1; }
.contact-body { color: rgba(255,255,255,.65); font-size: 1rem; line-height: 1.8; margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon {
  width: 42px; height: 42px;
  background: rgba(118,135,30,.2);
  border: 1px solid rgba(118,135,30,.3);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon i { color: var(--primary-light); font-size: .95rem; }
.contact-item strong { display: block; color: var(--white); font-size: .85rem; margin-bottom: .15rem; }
.contact-item p { color: rgba(255,255,255,.55); font-size: .9rem; }

.social-row { display: flex; gap: 1rem; }
.social-btn {
  width: 46px; height: 46px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.1rem;
  transition: var(--transition);
}
.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
}

/* Contact Visual */
.contact-image-wrap {
  flex: 0 0 480px;
  position: relative;
  z-index: 1;
  min-height: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
}
.contact-demo-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ═══════════════════════════ FOOTER ═══════════════════════════ */
.footer {
  background: var(--black);
  color: rgba(255,255,255,.6);
  padding: 4rem 2rem 0;
}
.footer-container {
  max-width: 1280px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo { height: 42px; width: auto; margin-bottom: .75rem; }
.footer-brand p { font-size: .85rem; color: var(--silver); margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: .75rem; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.06);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); font-size: 1rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }

.footer-links h4, .footer-contact h4 {
  font-family: var(--font-title); font-size: .9rem; font-weight: 700;
  color: var(--white); margin-bottom: 1.25rem; letter-spacing: .04em;
}
.footer-links ul { display: flex; flex-direction: column; gap: .65rem; }
.footer-links ul li a {
  color: rgba(255,255,255,.5); font-size: .88rem;
  transition: color var(--transition);
}
.footer-links ul li a:hover { color: var(--primary-light); }

.footer-contact p {
  font-size: .85rem; margin-bottom: .65rem;
  display: flex; align-items: flex-start; gap: .6rem;
}
.footer-contact i { color: var(--primary); margin-top: .15rem; flex-shrink: 0; }

.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  padding: 1.5rem 0;
  text-align: center; font-size: .8rem; color: rgba(255,255,255,.3);
}

.footer-bottom .powered { display:block; margin-top:.45rem; font-size:.75rem; color: rgba(255,255,255,.25); }

/* ═══════════════════════════ BACK TO TOP ═══════════════════════════ */
.back-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 48px; height: 48px;
  background: var(--primary);
  color: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(118,135,30,.4);
  transition: var(--transition);
  opacity: 0; pointer-events: none; z-index: 999;
  transform: translateY(12px);
}
.back-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ═══════════════════════════ ANIMATIONS ═══════════════════════════ */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
  transition-delay: var(--delay, 0s);
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1; transform: translate(0);
}

/* ═══════════════════════════ RESPONSIVE ═══════════════════════════ */
@media (max-width: 1100px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .clases-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .nosotros-visual { flex: 0 0 360px; }
  .nos-card-main { width: 340px; height: 340px; }
}

@media (max-width: 900px) {
  .section-container { flex-direction: column !important; gap: 3rem; padding: 4rem 1.5rem; }
  .nosotros-visual { flex: none; width: 100%; display: flex; justify-content: center; }
  .nos-card-main { width: 300px; height: 300px; }
  .contact-image-wrap { flex: none; width: 100%; min-height: 380px; }
  .paquetes-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pkg-card.featured { transform: scale(1); }
  .pkg-card.featured:hover { transform: translateY(-6px); }
  .clases-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; gap: 1rem; }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(34, 34, 34, .97);
    z-index: 999;
    align-items: center;
    justify-content: flex-start;
    backdrop-filter: blur(12px);
    padding: 50px 0px !important;
    /* gap: 50px !important; */
  }
  .nav-links.open .nav-link { color: var(--white); font-size: 1.3rem; }
  .nav-links.open .nav-cta { font-size: 1.1rem; }
  .hamburger { display: flex; z-index: 1000; }

  .hero-logo-mark { display: none; }
  .hero-title { font-size: clamp(2rem, 7vw, 3rem); }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-container { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .stats-strip .stat-divider { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; justify-content: center; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
  .testi-card { min-width: 280px; }
  .section-container { padding: 3rem 1rem; }
}
@media (min-width: 880px) {
header.navbar.non-sticky.inner-navbar {
    background: black !important;
}
}