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

:root {
  --cyan:    #01C2DC;
  --cyan2:   #00c1e5;
  --cyanD:   #0090a8;
  --gold:    #ffca00;
  --goldD:   #e6b600;
  --ink:     #060810;
  --ink2:    #0c0e18;
  --ink3:    #111420;
  --ink4:    #181c2a;
  --ink5:    #1e2335;
  --ink6:    #252b3e;
  --border:  rgba(1,194,220,0.12);
  --borderG: rgba(255,202,0,0.18);
  --t1:      #f0f2ff;
  --t2:      rgba(240,242,255,0.6);
  --t3:      rgba(240,242,255,0.32);
  --t4:      rgba(240,242,255,0.16);
  --ff-title:'Roboto Slab', serif;
  --ff-body: 'Montserrat', sans-serif;
  --ff-mono: 'Space Mono', monospace;
  --ease:    cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--ff-body);
  background: var(--ink);
  color: var(--t1);
  overflow-x: hidden;
  cursor: none;
}

/* Custom cursor is handled globally by main.css */

/* Noise texture overlay */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: 1;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-l { opacity: 0; transform: translateX(-40px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal-l.in { opacity: 1; transform: translateX(0); }
.reveal-r { opacity: 0; transform: translateX(40px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal-r.in { opacity: 1; transform: translateX(0); }

/* Stagger delays */
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }
.d6 { transition-delay: 0.6s; }


/* =============================================
   HERO
   ============================================= */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--ink);
}

/* Blueprint grid */
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(1,194,220,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1,194,220,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* Animated radial glow */
.hero-glow {
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(1,194,220,0.08) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: pulse 8s ease-in-out infinite alternate;
}

.hero-glow2 {
  position: absolute;
  width: 600px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,202,0,0.05) 0%, transparent 70%);
  bottom: 10%; right: 10%;
  animation: pulse2 10s ease-in-out infinite alternate;
}

@keyframes pulse { from { transform: translate(-50%,-50%) scale(0.9); opacity: 0.5; } to { transform: translate(-50%,-50%) scale(1.1); opacity: 1; } }
@keyframes pulse2 { from { transform: scale(0.8); } to { transform: scale(1.2); } }

/* Animated SVG wave (logo motif) */
.hero-wave-bg {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  opacity: 0.06;
}

.hero-wave-bg svg { width: 90%; max-width: 1200px; }

/* Hero content */
.hero-inner {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s var(--ease) forwards;
}

.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}
.hero-eyebrow::after { background: linear-gradient(90deg, var(--cyan), transparent); }

.hero-title {
  font-family: var(--ff-title);
  font-weight: 900;
  font-size: clamp(52px, 8vw, 108px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--t1);
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeUp 0.9s 0.35s var(--ease) forwards;
}

.hero-title .hl {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan2) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-family: var(--ff-title);
  font-weight: 100;
  font-size: clamp(18px, 2.5vw, 28px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--t2);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.9s 0.5s var(--ease) forwards;
}

.hero-desc {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--t2);
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0;
  animation: fadeUp 0.9s 0.65s var(--ease) forwards;
}

.hero-ctas {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.8s var(--ease) forwards;
}

.btn-primary {
  display: inline-flex; 
  align-items: center; 
  gap: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  color: #ffffff; /* <--- Ahora el texto es blanco puro */
  font-family: var(--ff-title);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 16px 36px;
  border-radius: 4px;
  border: none;
  cursor: none;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  box-shadow: 0 8px 32px rgba(1,194,220,0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(1,194,220,0.45);
}

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent;
  color: var(--t1);
  font-family: var(--ff-title);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 15px 36px;
  border-radius: 4px;
  border: 1px solid rgba(240,242,255,0.2);
  cursor: none;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}

.btn-outline:hover {
  border-color: var(--t1);
  background: rgba(240,242,255,0.06);
  transform: translateY(-3px);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--ff-mono); font-size: 9px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--t3);
  opacity: 0; animation: fadeUp 1s 1.2s var(--ease) forwards;
}

.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine { 0%,100% { transform: scaleY(0.3); opacity: 0.3; } 50% { transform: scaleY(1); opacity: 1; } }

/* Tech decoration */
.hero-corner {
  position: absolute;
  font-family: var(--ff-mono); font-size: 9px;
  color: var(--t4); letter-spacing: 0.1em;
  line-height: 1.8;
}
.hero-corner.tl { top: 120px; left: 40px; text-align: left; }
.hero-corner.tr { top: 120px; right: 40px; text-align: right; }
.hero-corner.bl { bottom: 40px; left: 40px; text-align: left; }
.hero-corner.br { bottom: 40px; right: 40px; text-align: right; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =============================================
   STATS TICKER
   ============================================= */
.ticker {
  background: var(--ink2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative; z-index: 2;
}

.ticker-inner {
  display: flex;
  animation: ticker 28s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 50px;
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--t3); flex-shrink: 0;
}

.ticker-item strong { color: var(--cyan); font-size: 14px; }
.ticker-item .sep { color: var(--gold); font-size: 16px; }

@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }


/* =============================================
   STATS SECTION
   ============================================= */
#stats {
  padding: 100px 60px;
  position: relative; z-index: 1;
  background: var(--ink);
}

.stats-wrap {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 2px;
}

.stat-card {
  background: var(--ink2);
  border: 1px solid var(--border);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}

.stat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.stat-card:hover { background: var(--ink3); border-color: rgba(1,194,220,0.3); }
.stat-card:hover::before { opacity: 1; }

.stat-num {
  font-family: var(--ff-title);
  font-weight: 900;
  font-size: 64px;
  line-height: 1;
  color: var(--t1);
  display: flex; align-items: flex-start; gap: 0;
}

.stat-num .suffix {
  font-size: 32px;
  color: var(--cyan);
  margin-top: 6px;
}

.stat-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--t3);
  margin-top: 12px;
}

.stat-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--t2);
  margin-top: 6px;
  line-height: 1.5;
}

.stat-decoration {
  position: absolute; bottom: -10px; right: -10px;
  font-size: 80px; opacity: 0.04;
  filter: grayscale(1);
}


/* =============================================
   SECTION SHARED
   ============================================= */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
}

.section-eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--cyan);
}

.section-title {
  font-family: var(--ff-title);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--t1);
  margin-bottom: 20px;
}

.section-title .hl { color: var(--cyan); }
.section-title .hlg { color: var(--gold); }

.section-sub {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--t2);
  max-width: 540px;
}


/* =============================================
   SERVICIOS
   ============================================= */
#servicios {
  padding: 120px 60px;
  background: var(--ink2);
  position: relative; z-index: 1;
  overflow: hidden;
}

/* Diagonal divider top */
#servicios::before {
  content: '';
  position: absolute; top: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%);
}

.servicios-grid {
  max-width: 1200px; margin: 60px auto 0;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 2px;
}

.serv-card {
  background: var(--ink3);
  border: 1px solid var(--border);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  cursor: none;
  transition: all 0.4s var(--ease);
  group: true;
}

.serv-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(1,194,220,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.serv-card:hover {
  background: var(--ink4);
  border-color: rgba(1,194,220,0.35);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(1,194,220,0.15);
}

.serv-card:hover::after { opacity: 1; }

.serv-num {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--t4);
  margin-bottom: 28px;
}

.serv-icon-wrap {
  width: 64px; height: 64px;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin-bottom: 28px;
  position: relative; z-index: 1;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: var(--ink4);
}

.serv-card:hover .serv-icon-wrap {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(1,194,220,0.2);
}

.serv-title {
  font-family: var(--ff-title);
  font-weight: 800;
  font-size: 24px;
  color: var(--t1);
  margin-bottom: 14px;
  position: relative; z-index: 1;
}

.serv-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--t2);
  margin-bottom: 28px;
  position: relative; z-index: 1;
}

.serv-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 32px;
  position: relative; z-index: 1;
}

.serv-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 400; color: var(--t2);
}

.serv-features li::before {
  content: '';
  width: 16px; height: 1px;
  background: var(--cyan);
  flex-shrink: 0;
}

.serv-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  text-decoration: none;
  transition: gap 0.2s;
  position: relative; z-index: 1;
}

.serv-link:hover { gap: 14px; }

.serv-line {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--gold), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.serv-card:hover .serv-line { transform: scaleX(1); }

/* Featured card */
.serv-card.featured {
  background: linear-gradient(160deg, var(--ink4) 0%, rgba(1,194,220,0.06) 100%);
  border-color: rgba(1,194,220,0.25);
}

.serv-badge {
  position: absolute; top: 24px; right: 24px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--ff-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}


/* =============================================
   BENTO — WHY US
   ============================================= */
#whyus {
  padding: 120px 60px;
  background: var(--ink);
  position: relative; z-index: 1;
}

.bento-header {
  max-width: 1200px; margin: 0 auto 60px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end;
}

.bento-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6,1fr);
  grid-template-rows: auto;
  gap: 12px;
}

.bento-cell {
  background: var(--ink2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}

.bento-cell:hover { border-color: rgba(1,194,220,0.3); background: var(--ink3); }

.bento-cell.span2 { grid-column: span 2; }
.bento-cell.span3 { grid-column: span 3; }
.bento-cell.span4 { grid-column: span 4; }
.bento-cell.span6 { grid-column: span 6; }

.bento-icon { font-size: 32px; margin-bottom: 16px; }
.bento-num {
  font-family: var(--ff-title);
  font-weight: 900; font-size: 52px;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1; margin-bottom: 8px;
}
.bento-title { font-family: var(--ff-title); font-weight: 800; font-size: 20px; color: var(--t1); margin-bottom: 10px; }
.bento-text { font-size: 13px; font-weight: 300; line-height: 1.7; color: var(--t2); }

/* Wave decoration in bento */
.bento-cell.wave-cell {
  background: linear-gradient(135deg, rgba(1,194,220,0.06), rgba(255,202,0,0.03));
  border-color: rgba(1,194,220,0.2);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.bento-cell.dark-cell {
  background: var(--ink3);
}


/* =============================================
   PRODUCTOS / TIENDA
   ============================================= */
#productos {
  padding: 120px 60px;
  background: var(--ink2);
  position: relative; z-index: 1;
  overflow: hidden;
}

#productos::before {
  content: '';
  position: absolute; top: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
}

.prod-grid {
  max-width: 1200px; margin: 60px auto 0;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 2px;
}

.prod-card {
  background: var(--ink3);
  border: 1px solid var(--border);
  padding: 0;
  position: relative; overflow: hidden;
  cursor: none;
  transition: all 0.35s var(--ease);
  display: flex; flex-direction: column;
}

.prod-card:hover {
  background: var(--ink4);
  border-color: rgba(1,194,220,0.3);
  transform: translateY(-4px);
}

.prod-card.free { border-color: rgba(255,202,0,0.2); }

.prod-img {
  width: 100%; aspect-ratio: 4/3;
  overflow: hidden; background: var(--ink4); flex-shrink: 0;
}
.prod-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 0.5s var(--ease); display: block;
}
.prod-card:hover .prod-img img { transform: scale(1.05); }

.prod-body {
  padding: 20px 20px 22px;
  display: flex; flex-direction: column; flex: 1;
}

.prod-tag {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 2px; margin-bottom: 12px;
}

.prod-tag.free { background: rgba(255,202,0,0.15); color: var(--gold); }
.prod-tag.paid { background: rgba(1,194,220,0.12); color: var(--cyan); }

.prod-icon { font-size: 36px; margin-bottom: 16px; display: block; }

.prod-name {
  font-family: var(--ff-title);
  font-weight: 800; font-size: 15px;
  color: var(--t1); margin-bottom: 8px; line-height: 1.25;
}

.prod-desc { font-size: 12px; font-weight: 300; color: var(--t2); line-height: 1.6; margin-bottom: 20px; }

.prod-price {
  display: flex; align-items: baseline; gap: 6px;
  font-family: var(--ff-title);
}

.prod-price .amount { font-weight: 900; font-size: 24px; color: var(--t1); }
.prod-price .currency { font-size: 13px; color: var(--t3); font-weight: 300; }
.prod-price.is-free .amount { color: var(--gold); }

.prod-btn {
  display: block; width: 100%; text-align: center;
  margin-top: 16px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--t2);
  font-family: var(--ff-mono);
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
  background: transparent;
  cursor: none;
}

.prod-btn:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(1,194,220,0.06); }
.prod-card.free .prod-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(255,202,0,0.06); }

.prod-strip {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.prod-card:hover .prod-strip { transform: scaleX(1); }


/* =============================================
   CURSOS / EDUCACIÓN
   ============================================= */
#educacion {
  padding: 120px 60px;
  background: var(--ink);
  position: relative; z-index: 1;
}

.edu-layout {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}

.edu-visual {
  position: relative;
  padding-bottom: 100px;
}

.edu-main-card {
  background: var(--ink2);
  border: 1px solid rgba(1,194,220,0.2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
}

.edu-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--ink3) 0%, var(--ink4) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 64px;
  position: relative;
  overflow: hidden;
}

.edu-card-img::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(1,194,220,0.08), rgba(255,202,0,0.04));
}

.edu-play {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: rgba(1,194,220,0.15);
  border: 2px solid var(--cyan);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  position: relative; z-index: 1;
  transition: all 0.3s;
  cursor: none;
}

.edu-play:hover { background: var(--cyan); transform: scale(1.1); }

.edu-card-body { padding: 28px; }

.edu-card-tag {
  display: inline-block;
  background: rgba(255,202,0,0.1);
  color: var(--gold);
  font-family: var(--ff-mono);
  font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 2px; margin-bottom: 12px;
}

.edu-card-title {
  font-family: var(--ff-title);
  font-weight: 800; font-size: 22px;
  color: var(--t1); margin-bottom: 8px;
}

.edu-card-meta {
  display: flex; gap: 16px;
  font-family: var(--ff-mono); font-size: 10px;
  color: var(--t3); letter-spacing: 0.08em;
}

/* Tarjetas flotantes con mayor desplazamiento para evitar traslapes */
.edu-mini-card {
  position: absolute;
  background: var(--ink2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  width: 200px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  z-index: 5; /* Asegura que se mantengan en su capa */
}

/* Aumentamos el valor negativo para alejarlas del centro */
.edu-mini-card.top { 
  top: -50px; 
  right: -60px; 
}

.edu-mini-card.bot { 
  bottom: -80px; 
  right: -40px; 
  left: auto; 
}

/* IMPORTANTE: Evitar que en tablets/móviles sigan flotando y tapen todo */
@media (max-width: 1200px) {
  .edu-mini-card.top, 
  .edu-mini-card.bot {
    right: -20px;
    left: -20px;
    width: 180px;
  }
}

/* En móviles pequeños lo mejor es ocultarlas o integrarlas al flujo */
@media (max-width: 900px) {
  .edu-mini-card {
    display: none; /* Limpieza visual en móviles para priorizar el texto */
  }
}

/* Text side */
.edu-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 0;
  margin-top: 36px;
}

.edu-item {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  cursor: none;
  transition: padding-left 0.2s;
  text-decoration: none; color: inherit;
}

.edu-item:hover { padding-left: 8px; }

.edu-item-num {
  font-family: var(--ff-mono);
  font-size: 11px; color: var(--t4); letter-spacing: 0.08em;
  min-width: 30px; flex-shrink: 0;
}

.edu-item-title {
  font-family: var(--ff-title);
  font-weight: 800; font-size: 16px;
  color: var(--t1); flex: 1;
}

.edu-item-arrow { color: var(--t4); font-size: 18px; transition: color 0.2s, transform 0.2s; }
.edu-item:hover .edu-item-arrow { color: var(--cyan); transform: translateX(4px); }


/* =============================================
   TESTIMONIAL
   ============================================= */
#testimonial {
  padding: 120px 60px;
  background: var(--ink2);
  position: relative; z-index: 1;
  overflow: hidden;
}

#testimonial::before {
  content: '"';
  position: absolute;
  font-family: var(--ff-title);
  font-size: 600px; font-weight: 900;
  color: rgba(1,194,220,0.03);
  top: -100px; left: -40px;
  line-height: 1;
  pointer-events: none;
}

.test-inner {
  max-width: 900px; margin: 0 auto;
  text-align: center;
}

.test-quote {
  font-family: var(--ff-title);
  font-weight: 300;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.5;
  color: var(--t1);
  margin-bottom: 40px;
  position: relative; z-index: 1;
}

.test-quote em { font-style: normal; color: var(--cyan); }

.test-person {
  display: flex; align-items: center; justify-content: center; gap: 16px;
}

.test-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-title); font-weight: 800; font-size: 16px;
  color: var(--ink);
}

.test-name { font-family: var(--ff-title); font-weight: 800; font-size: 16px; color: var(--t1); }
.test-role { font-size: 12px; color: var(--t3); margin-top: 2px; font-family: var(--ff-mono); letter-spacing: 0.08em; }

.test-stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; margin-bottom: 32px; }


/* =============================================
   CTA FINAL
   ============================================= */
#cta {
  padding: 160px 60px;
  background: var(--ink);
  position: relative; z-index: 1;
  overflow: hidden;
  text-align: center;
}

.cta-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(1,194,220,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1,194,220,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta-glow {
  position: absolute;
  width: 800px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(1,194,220,0.1) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}

.cta-inner { position: relative; z-index: 2; }

.cta-title {
  font-family: var(--ff-title);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.cta-sub {
  font-size: 17px; font-weight: 300;
  color: var(--t2); margin-bottom: 48px; line-height: 1.7;
}

.cta-btns { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* WhatsApp button */
.btn-wa {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366;
  color: #fff;
  font-family: var(--ff-title);
  font-weight: 800; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 16px 32px; border-radius: 4px;
  border: none; cursor: none; text-decoration: none;
  transition: all 0.3s var(--ease);
  box-shadow: 0 8px 28px rgba(37,211,102,0.25);
}

.btn-wa:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(37,211,102,0.4); }

.cta-note {
  margin-top: 28px;
  font-family: var(--ff-mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--t4);
}


/* =============================================
   FULL-SCREEN & RESPONSIVE
   ============================================= */

/* Todas las secciones 100% ancho */
#hero, #stats, #servicios, #whyus, #productos,
#educacion, #testimonial, #cta { width: 100%; box-sizing: border-box; }

/* Hero siempre ocupa el viewport completo */
#hero { min-height: 100svh; }

/* Padding horizontal fluido con clamp */
#stats, #servicios, #whyus, #productos,
#educacion, #testimonial, #cta {
  padding-left:  clamp(16px, 4vw, 60px);
  padding-right: clamp(16px, 4vw, 60px);
}

/* Títulos fluidos */
.hero-title  { font-size: clamp(36px, 7.5vw, 108px); }
.section-title { font-size: clamp(28px, 4.5vw, 64px); }
.cta-title   { font-size: clamp(32px, 6vw, 80px); }

/* ── Tablet ancho (1100px) ── */
@media (max-width: 1100px) {
  .stats-wrap { grid-template-columns: repeat(2, 1fr); }
  .prod-grid  { grid-template-columns: repeat(2, 1fr); }
  .bento-cell.span4 { grid-column: span 3; }
}

/* ── Tablet (900px) ── */
@media (max-width: 900px) {
  .hero-corner { display: none; }
  .servicios-grid { grid-template-columns: 1fr; }
  .bento-header { grid-template-columns: 1fr; gap: 20px; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-cell.span2, .bento-cell.span3,
  .bento-cell.span4, .bento-cell.span6 { grid-column: span 2; }
  .edu-layout { grid-template-columns: 1fr; gap: 40px; }
  .edu-mini-card { display: none; }
  .stat-num { font-size: 48px; }
  #servicios, #whyus, #productos, #educacion,
  #testimonial { padding-top: 80px; padding-bottom: 80px; }
  #cta { padding-top: 100px; padding-bottom: 100px; }
}

/* ── Móvil (600px) ── */
@media (max-width: 600px) {
  .stats-wrap { grid-template-columns: 1fr; }
  .prod-grid  { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-cell.span2, .bento-cell.span3,
  .bento-cell.span4, .bento-cell.span6 { grid-column: span 1; }
  .hero-tagline  { font-size: clamp(12px, 4vw, 20px); letter-spacing: 0.18em; }
  .hero-desc     { font-size: 14px; }
  .hero-eyebrow  { font-size: 9px; }
  .hero-ctas     { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-outline, .btn-wa { width: 100%; justify-content: center; text-align: center; }
  .serv-card     { padding: 32px 20px; }
  .bento-cell    { padding: 24px 18px; }
  .stat-card     { padding: 28px 20px; }
  .stat-num      { font-size: 52px; }
  .test-quote    { font-size: clamp(16px, 4.5vw, 24px); }
  .cta-sub       { font-size: 14px; }
}

/* ── Móvil pequeño (400px) ── */
@media (max-width: 400px) {
  .stat-num  { font-size: 40px; }
  .bento-num { font-size: 36px; }
  .serv-title { font-size: 20px; }
}