:root {
  --buda-violeta: #6742A6;
  --buda-violeta-claro: #B2A6E3;
  --buda-celeste: #A0B9D9;
  --buda-verde-agua: #99CECA;
  --buda-oscuro: #232323;
  --buda-claro: #F9F9F9;
  --buda-coral: #E84568;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Epilogue', sans-serif;
  background: #fff;
  color: var(--buda-oscuro);
  font-weight: 300;
}

h1 { font-weight: 800; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1; }
h2 { font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.1rem); }
h3 { font-weight: 700; font-size: 1.15rem; }
p  { font-weight: 300; line-height: 1.75; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 6%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(103,66,166,0.1);
}

nav.nav-dark {
  background: rgba(35,35,35,0.92);
  border-bottom-color: rgba(255,255,255,0.08);
}
nav.nav-dark ul li a { color: rgba(255,255,255,0.85); }
nav.nav-dark ul li a:hover { color: #fff; }

nav .logo img { height: 46px; transition: height 0.25s; }

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}
nav ul li a {
  text-decoration: none;
  color: var(--buda-oscuro);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}
nav ul li a:hover { color: var(--buda-violeta); }

.nav-cta {
  background: var(--buda-violeta) !important;
  color: #fff !important;
  padding: 0.5rem 1.4rem;
  border-radius: 999px;
  font-weight: 600 !important;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85 !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--buda-oscuro); border-radius: 2px; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #7B5BB5;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/fondos/fondo-18.jpg');
  background-size: cover;
  background-position: center top;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(80,40,140,0.55) 0%, rgba(80,40,140,0.1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 6% 8rem;
  color: #fff;
  max-width: 1040px;
}

.hero-content .tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 0.35rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.hero-content h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); max-width: 560px; }

.hero-content h1 .highlight {
  background: var(--buda-violeta-claro);
  color: var(--buda-oscuro);
  padding: 0 0.28em;
  border-radius: 10px;
  white-space: nowrap;
}

.hero-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 1.2rem 0 2rem;
  font-weight: 300;
  max-width: 480px;
}

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

.hero-paths { display: flex; gap: 1rem; width: 100%; }

.hero-path {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: 14px;
  padding: 0.6rem 1.1rem 0.6rem 0.6rem;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(35,20,70,0.18);
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-path:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(35,20,70,0.24); }

.hero-path-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-path-icon svg { width: 30px; height: 30px; display: block; }

.hero-path-icon--violeta { background: var(--buda-violeta-claro); }
.hero-path-icon--celeste { background: var(--buda-celeste); }
.hero-path-icon--verde { background: var(--buda-verde-agua); }

.hero-path-text { flex: 1; display: flex; flex-direction: column; gap: 0.15rem; }
.hero-path-text strong { color: var(--buda-oscuro); font-size: 0.92rem; font-weight: 700; line-height: 1.25; }
.hero-path-text small { color: rgba(35,35,35,0.65); font-size: 0.8rem; font-weight: 300; line-height: 1.35; }

.hero-path-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--buda-violeta);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.hero-path-arrow svg { width: 13px; height: 13px; display: block; }
.hero-path:hover .hero-path-arrow { transform: translateX(3px); }

@media (max-width: 700px) {
  .hero-paths { flex-direction: column; }
}

/* Decorative connector-dot motif in hero background */
.hero-deco {
  position: absolute;
  right: -30px;
  bottom: -10px;
  width: 30vw;
  max-width: 460px;
  min-width: 300px;
  height: auto;
  z-index: 1;
  opacity: 0.16;
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero-deco { display: none; }
}

/* Wave separator after hero */
.wave-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -2px;
}
.wave-divider svg { display: block; width: 100%; }

/* ── BOTONES ── */
.btn {
  display: inline-block;
  padding: 0.8rem 2.2rem;
  border-radius: 999px;
  font-family: 'Epilogue', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.2s;
}
.btn:hover { opacity: 0.85; transform: translateY(-2px); }

.btn-primary   { background: #fff; color: var(--buda-violeta); }
.btn-secondary { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.65); }
.btn-violeta   { background: var(--buda-violeta); color: #fff; }
.btn-outline   { background: transparent; color: var(--buda-violeta); border: 2px solid var(--buda-violeta); }

/* ── SECCIONES ── */
section { padding: 5rem 6%; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--buda-violeta);
  margin-bottom: 0.6rem;
}

.section-header { max-width: 580px; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.7rem; }
.section-header p  { opacity: 0.65; }

/* ── SERVICIOS CARDS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.6rem;
}

.service-card {
  background: #fff;
  border-radius: 24px;
  padding: 2.4rem;
  box-shadow: 0 2px 20px rgba(103,66,166,0.07), 0 8px 32px rgba(103,66,166,0.04);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(103,66,166,0.06);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(103,66,166,0.14);
}

.card-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-icon img { width: 72px; height: 72px; object-fit: contain; }

.service-card h3 { font-size: 1.15rem; line-height: 1.3; }
.service-card p  { font-size: 0.9rem; opacity: 0.65; flex: 1; }

.card-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--buda-violeta);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  margin-top: 0.3rem;
  letter-spacing: 0.02em;
}
.card-link::after { content: '→'; transition: transform 0.2s; }
.service-card:hover .card-link::after { transform: translateX(5px); }

/* ── SOBRE BUDA ── */
.about-section {
  background-image: url('assets/fondos/fondo-22.jpg');
  background-size: cover;
  background-position: center;
  padding: 6rem 6%;
  position: relative;
}
.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(35,35,35,0.72);
}
.about-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-text .section-label { color: var(--buda-verde-agua); }
.about-text h2 { color: #fff; margin-bottom: 1.2rem; }
.about-text p  { color: rgba(255,255,255,0.75); margin-bottom: 1.2rem; }

.about-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pillar {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 1.4rem;
}
.pillar-icon {
  width: 44px; height: 44px;
  margin-bottom: 0.7rem;
}
.pillar-icon img { width: 44px; height: 44px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.85; }
.pillar h4 { font-size: 0.88rem; font-weight: 700; color: var(--buda-violeta-claro); margin-bottom: 0.3rem; }
.pillar p  { font-size: 0.8rem; opacity: 0.55; color: #fff; }

/* ── HERO MINI (páginas internas) ── */
.hero-mini {
  position: relative;
  overflow: hidden;
  padding: 9rem 6% 5rem;
  background-color: #7B5BB5;
}
.hero-mini-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/fondos/fondo-18.jpg');
  background-size: cover;
  background-position: center top;
  z-index: 0;
}
.hero-mini-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(70,35,130,0.65), rgba(70,35,130,0.2));
  z-index: 1;
}
.hero-mini-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 620px;
}
.hero-mini-content .tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 0.35rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero-mini-content h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 0.9rem; }
.hero-mini-content p  { font-size: 1.05rem; opacity: 0.85; }

/* Mini hero variants */
.hero-mini.celeste .hero-mini-bg { background-image: url('assets/fondos/fondo-20.jpg'); }
.hero-mini.celeste .hero-mini-overlay { background: linear-gradient(to right, rgba(30,70,110,0.55), rgba(30,70,110,0.15)); }
.hero-mini.verde .hero-mini-bg { background-image: url('assets/fondos/fondo-22.jpg'); }
.hero-mini.verde .hero-mini-overlay { background: linear-gradient(to right, rgba(35,35,35,0.7), rgba(35,35,35,0.2)); }

/* ── LISTA DE SERVICIOS (consultoria) ── */
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.service-item {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 2px 20px rgba(103,66,166,0.06);
  border-left: 4px solid var(--buda-violeta);
  border-top: 1px solid rgba(103,66,166,0.08);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.service-item .s-icon { width: 56px; height: 56px; }
.service-item .s-icon img { width: 56px; height: 56px; object-fit: contain; }
.service-item h3 { font-size: 1.05rem; }
.service-item p  { font-size: 0.9rem; opacity: 0.65; }

/* ── METODOLOGÍA pasos ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--buda-violeta), var(--buda-celeste));
  z-index: 0;
}
.step {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 56px; height: 56px;
  background: var(--buda-violeta);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 20px rgba(103,66,166,0.3);
}
.step h3 { font-size: 0.95rem; color: var(--buda-violeta); margin-bottom: 0.4rem; }
.step p  { font-size: 0.82rem; opacity: 0.6; }

/* ── CURSOS ── */
.cursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.curso-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(103,66,166,0.07);
  border: 1px solid rgba(103,66,166,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.curso-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(103,66,166,0.13); }

.curso-thumb {
  height: 150px;
  background: linear-gradient(135deg, var(--buda-violeta) 0%, var(--buda-celeste) 100%);
  display: flex; align-items: center; justify-content: center;
}
.curso-thumb img { width: 70px; height: 70px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.9; }

.curso-body { padding: 1.6rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.curso-body .nivel {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--buda-violeta);
}
.curso-body h3 { font-size: 1rem; }
.curso-body p  { font-size: 0.85rem; opacity: 0.6; flex: 1; }
.curso-footer {
  padding: 1rem 1.6rem;
  border-top: 1px solid rgba(0,0,0,0.05);
  display: flex; justify-content: space-between; align-items: center;
}
.curso-footer .precio { font-weight: 800; font-size: 1.1rem; color: var(--buda-violeta); }
.curso-footer .btn { padding: 0.45rem 1.2rem; font-size: 0.82rem; }

/* ── FILTROS ── */
.filtros { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filtro-btn {
  padding: 0.5rem 1.3rem;
  border-radius: 999px;
  border: 1.5px solid rgba(103,66,166,0.22);
  background: #fff;
  color: var(--buda-oscuro);
  font-family: 'Epilogue', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.filtro-btn.active, .filtro-btn:hover {
  background: var(--buda-violeta);
  border-color: var(--buda-violeta);
  color: #fff;
}

/* ── CONTACTO ── */
.contact-section { background: var(--buda-claro); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p  { opacity: 0.65; margin-bottom: 2rem; }
.contact-detail { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; font-size: 0.9rem; }
.contact-detail .d-icon { width: 36px; height: 36px; flex-shrink: 0; }
.contact-detail .d-icon img { width: 36px; height: 36px; object-fit: contain; }
.contact-detail .d-icon svg { width: 36px; height: 36px; }

form { display: flex; flex-direction: column; gap: 1.1rem; }
form label { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.3rem; display: block; }
form input, form select, form textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid rgba(103,66,166,0.18);
  border-radius: 14px;
  font-family: 'Epilogue', sans-serif;
  font-size: 0.95rem;
  background: #fff;
  color: var(--buda-oscuro);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
form input:focus, form select:focus, form textarea:focus {
  border-color: var(--buda-violeta);
  box-shadow: 0 0 0 3px rgba(103,66,166,0.1);
}
form textarea { resize: vertical; min-height: 130px; }

.form-success {
  display: none;
  background: rgba(153,206,202,0.2);
  border: 1px solid var(--buda-verde-agua);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  color: #2a6b68;
  margin-top: 0.5rem;
}

.form-error {
  display: none;
  background: rgba(232,69,104,0.1);
  border: 1px solid var(--buda-coral);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  color: #a12c46;
  margin-top: 0.5rem;
}

/* ── CTA BANNER ── */
.cta-banner {
  position: relative;
  overflow: hidden;
  background-image: url('assets/fondos/fondo-19.jpg');
  background-size: cover;
  background-position: center bottom;
  border-radius: 24px;
  margin: 0 6% 5rem;
  padding: 4rem 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(103,66,166,0.88), rgba(103,66,166,0.55));
  border-radius: 24px;
}
.cta-banner-content { position: relative; z-index: 1; color: #fff; }
.cta-banner-content h2 { font-size: 1.7rem; max-width: 460px; margin-bottom: 0.5rem; }
.cta-banner-content p  { opacity: 0.8; }
.cta-banner .btn { position: relative; z-index: 1; }

.cta-banner.dark {
  background-image: none;
  background: linear-gradient(120deg, #1B1230 0%, #2E1B54 40%, #6742A6 100%);
}
.cta-banner.dark::before { background: none; }

/* ── FOOTER ── */
footer {
  background: var(--buda-oscuro);
  color: #fff;
  padding: 4rem 6% 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand img { height: 40px; margin-bottom: 1.2rem; }
.footer-brand p { font-size: 0.88rem; opacity: 0.45; max-width: 280px; line-height: 1.7; }

.footer-social { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.footer-social a:hover { background: var(--buda-violeta); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; display: block; }

.footer-col h4 {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--buda-violeta-claro);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col ul li a {
  text-decoration: none;
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem;
  opacity: 0.3;
}

/* ── WHATSAPP FLOTANTE ── */
.wa-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 200;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  text-decoration: none;
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ── LOGO GRANDE HOME HERO ── */
.hero-logo-mark { height: 118px; margin-bottom: 2.1rem; }

/* ── VARIANTE CORPORATE (empresas: consultoría / academia business) ── */
.hero-mini.corporate {
  background:
    radial-gradient(circle at 88% 18%, rgba(160,185,217,0.18) 0%, rgba(160,185,217,0) 45%),
    linear-gradient(120deg, #1B1230 0%, #2E1B54 38%, #6742A6 100%);
}
.hero-mini.corporate .hero-mini-bg {
  background-image:
    linear-gradient(120deg, rgba(27,18,48,0.94) 0%, rgba(46,27,84,0.88) 40%, rgba(103,66,166,0.75) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 64px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 64px);
  background-size: cover, 64px 64px, 64px 64px;
}
.hero-mini.corporate .hero-mini-overlay { background: none; }
.hero-mini.corporate .hero-mini-content .tag {
  background: rgba(160,185,217,0.15);
  border-color: rgba(160,185,217,0.4);
  color: var(--buda-celeste);
}
.hero-mini.corporate::after {
  content: '';
  position: absolute;
  right: 6%;
  bottom: 0;
  width: 1px;
  height: 60%;
  background: linear-gradient(to top, rgba(255,255,255,0.25), transparent);
  display: none;
}
@media (min-width: 901px) { .hero-mini.corporate::after { display: block; } }

/* Divisor angular (reemplaza la ola en secciones "empresas": más serio) */
.angle-divider {
  display: block; width: 100%; overflow: hidden; line-height: 0; margin-top: -2px;
}
.angle-divider svg { display: block; width: 100%; }

/* ── STATS ROW ── */
.stats-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.12);
  margin: 0 6%;
  transform: translateY(-2.6rem);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(27,18,48,0.25);
}
.stat-item {
  background: #1B1230;
  padding: 1.8rem 1.4rem;
  text-align: center;
}
.stat-item .stat-num {
  font-family: 'Epilogue', sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: #fff;
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-item .stat-label {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.03em;
}

/* ── SPLIT FEATURE (foto + texto) ── */
.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-feature.reverse .split-photo { order: 2; }
.split-feature.reverse .split-text { order: 1; }
.split-photo {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 4/3.2;
  box-shadow: 0 20px 50px rgba(103,66,166,0.18);
}
.split-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split-text .section-label { margin-bottom: 0.6rem; }
.split-text h2 { margin-bottom: 1rem; }
.split-text p { opacity: 0.68; margin-bottom: 1.2rem; }

.mini-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.mini-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(103,66,166,0.07);
  border: 1px solid rgba(103,66,166,0.15);
  color: var(--buda-violeta);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ── HERO AVENTURA (academia comunidad) ── */
.hero-adventure {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
}
.hero-adventure-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}
.hero-adventure-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,35,45,0.92) 0%, rgba(20,35,45,0.55) 40%, rgba(20,50,60,0.05) 75%);
  z-index: 1;
}
.hero-adventure-content {
  position: relative; z-index: 2;
  color: #fff;
  padding: 8rem 6% 4rem;
  max-width: 720px;
}
.hero-adventure-content .tag {
  display: inline-block;
  background: rgba(153,206,202,0.18);
  border: 1px solid rgba(153,206,202,0.5);
  color: var(--buda-verde-agua);
  border-radius: 999px;
  padding: 0.35rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.hero-adventure-content h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.hero-adventure-content p { font-size: 1.08rem; opacity: 0.88; max-width: 560px; margin-bottom: 1.6rem; }

.trail-badges { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2rem; position: relative; z-index: 2; }
.trail-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ── BADGES DE NIVEL (altitud) ── */
.nivel-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.nivel-badge.principiante { background: rgba(153,206,202,0.18); color: #2a6b68; }
.nivel-badge.intermedio   { background: rgba(160,185,217,0.22); color: #3c5a80; }
.nivel-badge.avanzado     { background: rgba(103,66,166,0.14); color: var(--buda-violeta); }

/* ── CTA AVENTURA (foto de fondo, ya trae su propio mensaje) ── */
.cta-adventure {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  margin: 0 6% 5rem;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}
.cta-adventure-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,25,20,0.85) 0%, rgba(20,25,20,0.05) 55%);
}
.cta-adventure-inner {
  position: relative; z-index: 1;
  padding: 3rem 3rem 2.6rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  width: 100%;
}
.cta-adventure-inner p { color: rgba(255,255,255,0.85); max-width: 380px; }

/* ── SUMMIT / LOGROS STRIP ── */
.summit-section {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  margin: 0 6%;
  padding: 4.5rem 3.5rem;
  background-size: cover;
  background-position: center;
}
.summit-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(20,30,40,0.88) 0%, rgba(20,30,40,0.55) 55%, rgba(20,30,40,0.25) 100%);
}
.summit-inner { position: relative; z-index: 1; color: #fff; max-width: 620px; }
.summit-inner .section-label { color: var(--buda-verde-agua); }
.summit-inner h2 { color: #fff; margin-bottom: 0.8rem; }
.summit-inner p { color: rgba(255,255,255,0.78); margin-bottom: 1.8rem; }
.summit-stats { display: flex; gap: 2.2rem; flex-wrap: wrap; }
.summit-stats .stat-num { color: var(--buda-verde-agua); font-weight: 800; font-size: 1.8rem; display: block; }
.summit-stats .stat-label { color: rgba(255,255,255,0.65); font-size: 0.8rem; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }
  .split-feature { grid-template-columns: 1fr; gap: 2rem; }
  .split-feature.reverse .split-photo { order: 1; }
  .split-feature.reverse .split-text { order: 2; }
  .split-photo { aspect-ratio: 16/10; }
  .stats-row { transform: translateY(-1.8rem); grid-template-columns: 1fr 1fr; }
  .summit-section { padding: 3rem 1.8rem; }
}

@media (max-width: 768px) {
  nav ul {
    display: none; position: absolute; top: 65px; left: 0; right: 0;
    background: #fff; flex-direction: column;
    padding: 1.5rem 6%; gap: 1rem;
    border-bottom: 1px solid rgba(103,66,166,0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  nav ul.open { display: flex; }
  .hamburger { display: flex; }
  .hero-content { padding: 4.5rem 6% 6rem; }
  .about-pillars { grid-template-columns: 1fr 1fr; }
  .cta-banner { margin: 0 0 3rem; border-radius: 0; padding: 3rem 6%; }
  section { padding: 3.5rem 6%; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  nav .logo img { height: 38px; }
  .hero-logo-mark { height: 80px; margin-bottom: 1.5rem; }
  .hero-adventure-content { padding: 6.5rem 6% 3rem; }
  .cta-adventure-inner { padding: 2.2rem 1.6rem; }
  .cta-adventure { margin: 0 0 3rem; border-radius: 0; }
  .summit-section { margin: 0; border-radius: 0; }
}
