@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --accent: #2563eb;         /* Royal Blue principal */
  --accent-light: #60a5fa;   /* Azul claro / sky */
  --accent-glow: #3b82f6;    /* Azul brillante */
  --accent-deep: #1e40af;    /* Azul profundo */
  --cyan: #06b6d4;           /* Cian acento */
  --dark: #020818;           /* Fondo principal ultra oscuro */
  --dark2: #030d1f;          /* Fondo secciones alternas */
  --dark3: #061029;          /* Tarjetas */
  --white: #f0f6ff;          /* Blanco azulado */
  --muted: #6b8aad;          /* Texto secundario */
  --border: rgba(37,99,235,0.25);
  --border-glow: rgba(96,165,250,0.4);
  --radius: 12px;
}

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

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

/* ===== TOPBAR ===== */
.topbar-bar {
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  color: #fff;
  text-align: center;
  padding: 9px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.topbar-bar a { color: var(--accent-light); text-decoration: underline; }

/* ===== NAV ===== */
.navbar {
  position: sticky; top: 0; z-index: 1050;
  background: rgba(2,8,24,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 30px;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 6px;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; font-weight: 700;
  color: var(--white); white-space: nowrap;
}
.nav-logo span { color: var(--accent-light); }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--muted);
  font-size: 0.9rem; font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta { display: flex; gap: 12px; align-items: center; }

.btn-outline {
  padding: 9px 20px; border: 1px solid var(--border);
  background: transparent; color: var(--white);
  border-radius: 6px; font-size: 0.88rem; font-weight: 500;
  cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.btn-outline:hover { border-color: var(--accent-light); color: var(--accent-light); }

.btn-gold {
  padding: 9px 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff; border: none;
  border-radius: 6px; font-size: 0.88rem; font-weight: 700;
  cursor: pointer; transition: all 0.25s; text-decoration: none;
  box-shadow: 0 0 18px rgba(37,99,235,0.35);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--accent-glow), var(--accent));
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(37,99,235,0.5);
}

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('/static/skel_hero_bg.webp');
  background-size: cover; background-position: center;
  filter: brightness(0.28) saturate(1.3);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(2,8,24,0.92) 0%,
    rgba(30,64,175,0.35) 60%,
    rgba(2,8,24,0.7) 100%);
}
/* Partículas decorativas de luz */
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 600px 400px at 80% 30%, rgba(37,99,235,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 300px 300px at 20% 70%, rgba(6,182,212,0.08) 0%, transparent 70%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 700px; padding-left: 8vw;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(37,99,235,0.12); border: 1px solid var(--border-glow);
  color: var(--accent-light); padding: 6px 16px; border-radius: 30px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 24px;
}
.hero-tag::before {
  content:''; width:8px; height:8px;
  background: var(--cyan); border-radius:50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 8px var(--cyan);
}
@keyframes pulse { 0%,100%{opacity:1; transform:scale(1)} 50%{opacity:0.4; transform:scale(0.8)} }

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.15; margin-bottom: 20px;
  color: var(--white);
}
.hero h1 em { color: var(--accent-light); font-style: normal; }
.hero p {
  font-size: 1.1rem; color: #8daabf; line-height: 1.7;
  margin-bottom: 36px; max-width: 560px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-hero-primary {
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff; border: none; border-radius: 8px;
  font-size: 0.95rem; font-weight: 700; cursor: pointer;
  transition: all 0.25s; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 24px rgba(37,99,235,0.4);
}
.btn-hero-primary:hover {
  background: linear-gradient(135deg, var(--accent-glow), var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(37,99,235,0.55);
}
.btn-hero-sec {
  padding: 14px 28px; background: transparent;
  color: var(--white); border: 1px solid rgba(96,165,250,0.35);
  border-radius: 8px; font-size: 0.95rem; font-weight: 500;
  cursor: pointer; transition: all 0.25s; text-decoration: none;
}
.btn-hero-sec:hover {
  border-color: var(--accent-light);
  background: rgba(37,99,235,0.1);
  color: var(--accent-light);
}

/* Stats cards */
.hero-stats {
  position: absolute; bottom: 50px; right: 8vw; z-index: 2;
  display: flex; gap: 24px;
}
.stat-card {
  background: rgba(3,13,31,0.75);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  padding: 20px 28px; text-align: center;
  box-shadow: 0 0 30px rgba(37,99,235,0.15);
}
.stat-card .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 700;
  color: var(--accent-light);
  text-shadow: 0 0 20px rgba(96,165,250,0.5);
}
.stat-card .lbl { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }

/* ===== SECTION BASE ===== */
section { padding: 90px 30px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label {
  text-align: center;
  display: inline-block;
  background: rgba(37,99,235,0.1);
  border: 1px solid var(--border-glow);
  color: var(--accent-light);
  padding: 5px 16px; border-radius: 30px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 16px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700; line-height: 1.2; margin-bottom: 16px;
}
.section-title em { color: var(--accent-light); font-style: normal; }
.section-sub { color: var(--muted); font-size: 1rem; line-height: 1.7; max-width: 560px; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ===== SERVICES ===== */
.services { background: var(--dark2); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px; margin-top: 55px;
}
.service-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(37,99,235,0.2);
  border-color: var(--border-glow);
}
.service-img {
  width: 100%; height: 200px; object-fit: cover; display: block;
  filter: brightness(0.8) saturate(1.1);
  transition: filter 0.3s;
}
.service-card:hover .service-img { filter: brightness(0.95) saturate(1.2); }
.service-body { padding: 28px; }
.service-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(37,99,235,0.12); border: 1px solid var(--border-glow);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: var(--accent-light);
}
.service-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.service-body p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

/* ===== HOW IT WORKS ===== */
.how { background: var(--dark); }
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px; margin-top: 60px;
}
.step { text-align: center; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff; font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 0 20px rgba(37,99,235,0.4);
}
.step h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--white); }
.step p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; }

/* ===== FEATURES STRIP ===== */
.features-strip {
  background: var(--dark3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 70px 30px;
}
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px; margin-top: 50px;
}
.feat { display: flex; gap: 14px; align-items: flex-start; }
.feat-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(37,99,235,0.12); border: 1px solid var(--border-glow);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--accent-light);
}
.feat h4 { font-size: 0.92rem; font-weight: 700; margin-bottom: 5px; color: var(--white); }
.feat p { color: var(--muted); font-size: 0.83rem; line-height: 1.5; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--dark2); }
.testi-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; margin-top: 55px;
}
.testi-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 30px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.testi-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 8px 32px rgba(37,99,235,0.15);
}
.stars { color: var(--cyan); font-size: 1rem; margin-bottom: 14px; }
.testi-card p { color: #8daabf; font-size: 0.92rem; line-height: 1.7; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 0.9rem;
  box-shadow: 0 0 12px rgba(37,99,235,0.4);
}
.testi-info strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--white); }
.testi-info span { font-size: 0.78rem; color: var(--muted); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, #020d22 0%, #0a1a40 50%, #020d22 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 800px 400px at 50% 50%, rgba(37,99,235,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 16px;
  position: relative; z-index: 1;
}
.cta-section h2 em { color: var(--accent-light); font-style: normal; }
.cta-section p { color: var(--muted); max-width: 500px; margin: 0 auto 36px; line-height: 1.7; position: relative; z-index: 1; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* Caja de contacto en CTA */
.cta-section .contact-box {
  background: rgba(37,99,235,0.08);
  border: 1px solid var(--border-glow);
  padding: 30px; border-radius: 12px;
  display: inline-block; text-align: left;
  margin-bottom: 40px; position: relative; z-index: 1;
}
.cta-section .contact-box h4 { color: var(--accent-light); margin-bottom: 15px; font-size: 1.2rem; }
.cta-section .contact-box a { color: var(--white); text-decoration: none; }
.cta-section .contact-box a:hover { color: var(--accent-light); }

/* ===== FOOTER ===== */
.footer {
  background: #010610;
  padding: 60px 30px 30px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
}
.footer-brand .logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700; margin-bottom: 12px;
}
.footer-brand .logo-text span { color: var(--accent-light); }
.footer-brand p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; max-width: 280px; }
.footer-col h5 {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent-light); margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--muted); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1200px; margin: 50px auto 0;
  padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: var(--muted); font-size: 0.82rem; }
.footer-bottom a { color: var(--muted); text-decoration: none; font-size: 0.82rem; }

/* ===== MOBILE ===== */
.hamburger {
  display: none; background: none; border: none; color: var(--white); cursor: pointer;
  padding: 10px; z-index: 1100;
  min-width: 44px; min-height: 44px;
}
.mobile-menu-overlay {
position: fixed; inset: 0; background: rgba(0,0,0,0.65);
backdrop-filter: blur(8px); z-index: 1000;
opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mobile-menu-overlay.active { opacity: 1; pointer-events: auto; }

@media (max-width: 768px) {
  section { padding: 60px 20px !important; }
  .nav-inner { padding: 0 20px; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
    background: rgba(2, 8, 24, 0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center; align-items: center; padding: 40px; gap: 25px;
    transition: right 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
  }
  .nav-links.active { right: 0; }
  .nav-links a { font-size: 1.5rem; font-weight: 600; color: var(--white); transition: all 0.3s ease; }
  .nav-links a:hover { color: var(--accent-light); transform: scale(1.05); }
  .nav-cta {
    display: none !important;
  }
  .mobile-cta {
    display: block !important;
  }
  .mobile-cta .btn-outline, .mobile-cta .btn-gold {
    width: 90%; max-width: 320px; margin: 0 auto; padding: 14px; font-size: 1.1rem; border-radius: 30px; text-align: center;
  }
  .mobile-cta .btn-outline { border-color: var(--accent-light); color: var(--white); background: rgba(37, 99, 235, 0.1); }
  .mobile-cta .btn-gold { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff; border: none; box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3); }
  
  .hamburger { display: block; }
  .hamburger.active svg line:nth-child(1) { transform: translateY(6px) rotate(45deg); transform-origin: center; }
  .hamburger.active svg line:nth-child(2) { opacity: 0; }
  .hamburger.active svg line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); transform-origin: center; }
  
  .hero { min-height: 80vh; padding-top: 60px; }
  .hero-content { padding: 0 15px; text-align: center; }
  .hero-tag { margin-bottom: 20px; font-size: 0.75rem; }
  .hero h1 { font-size: 2rem; }
  .hero p { margin: 0 auto 30px; font-size: 0.95rem; }
  .hero-btns { justify-content: center; gap: 10px; }
  .hero-btns a { font-size: 0.85rem; padding: 12px 20px; }
  .hero-stats { display: none; }
  
  .services-grid, .steps, .features-grid, .testi-grid, .courses-grid, .smart-features-grid { 
    grid-template-columns: 1fr; gap: 24px; 
  }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .formacion-logo { max-height: 120px; }
}

/* =========================================
   FORMACIN SECTION (SMART STYLE)
   ========================================= */
.formacion-section {
    padding: 100px 0;
    background: var(--dark);
    position: relative;
    border-top: 1px solid var(--border);
}

.formacion-header {
    text-align: center;
    margin-bottom: 60px;
}

.formacion-logo {
    max-width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: contain;
    margin-bottom: 20px;
}

.smart-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.smart-feature {
    background: var(--dark2);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
}

.smart-feature:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.smart-feature svg {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.smart-feature h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text);
}

.smart-feature p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.course-card {
    background: #000000;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.course-img-wrapper {
    height: 180px;
    background: #000000;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-img-wrapper svg {
    width: 60px;
    height: 60px;
    color: white;
    opacity: 0.8;
    z-index: 2;
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-light);
    color: var(--dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
}

.course-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 15px;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-body h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.course-body p {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 25px;
    flex: 1;
}

.course-actions-wrapper {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 10px;
}

.course-action-btn {
    flex: 1;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-report {
    background: rgba(96, 165, 250, 0.08);
    color: var(--accent-light);
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.btn-report:hover {
    background: rgba(96, 165, 250, 0.18);
    border-color: var(--accent-light);
    color: white;
}

.btn-access {
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-access:hover {
    background: linear-gradient(135deg, var(--accent-glow), var(--accent));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* Light theme overrides */
body.light-theme .btn-report {
    background: rgba(37, 99, 235, 0.05);
    color: var(--accent);
    border-color: rgba(37, 99, 235, 0.2);
}

body.light-theme .btn-report:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-deep);
    border-color: var(--accent);
}

body.light-theme .btn-access {
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

body.light-theme .btn-access:hover {
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}


/* ===== LIGHT THEME (SKEL GLOBAL) ===== */
body.light-theme {
  --dark: #f8fafc;           /* Fondo principal blanco/gris muy claro */
  --dark2: #ffffff;          /* Fondo alterno blanco */
  --dark3: #f1f5f9;          /* Tarjetas gris claro */
  --white: #0f172a;          /* Texto principal oscuro */
  --muted: #475569;          /* Texto secundario gris oscuro */
  --border: rgba(37,99,235,0.15);
  --border-glow: rgba(37,99,235,0.25);
}

/* Ajustes específicos para Light Theme */
body.light-theme .navbar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
}

body.light-theme .nav-links a {
  color: #334155;
}
body.light-theme .nav-links a:hover {
  color: var(--accent);
}

body.light-theme .nav-logo {
  color: #0f172a;
}

body.light-theme .hero-bg {
  /* Hacemos que el hero tenga una superposición más clara si usan la imagen de fondo */
  opacity: 0.1;
}
body.light-theme .hero-overlay {
  background: linear-gradient(to bottom, rgba(248,250,252,0.6) 0%, rgba(248,250,252,1) 100%);
}

body.light-theme .stat-card, body.light-theme .service-card, body.light-theme .module-card, body.light-theme .review-card {
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

body.light-theme .btn-outline {
  color: var(--accent);
  border-color: var(--accent);
}

body.light-theme .accordion-header {
  background: #ffffff;
}

body.light-theme .footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
}

/* ===== EMERALD THEME ===== */
body.emerald-theme {
  --accent: #10b981;
  --accent-light: #34d399;
  --accent-glow: #059669;
  --accent-deep: #047857;
  --cyan: #059669;
  --dark: #022c22;
  --dark2: #064e3b;
  --dark3: #134e4a;
  --border: rgba(16,185,129,0.25);
  --border-glow: rgba(52,211,153,0.4);
}
body.emerald-theme .hero-overlay {
  background: linear-gradient(135deg, rgba(2,44,34,0.92) 0%, rgba(4,120,87,0.35) 60%, rgba(2,44,34,0.7) 100%);
}

/* ===== OCEAN THEME ===== */
body.ocean-theme {
  --accent: #0ea5e9;
  --accent-light: #38bdf8;
  --accent-glow: #0284c7;
  --accent-deep: #0369a1;
  --cyan: #22d3ee;
  --dark: #082f49;
  --dark2: #0c4a6e;
  --dark3: #075985;
  --border: rgba(14,165,233,0.25);
  --border-glow: rgba(56,189,248,0.4);
}
body.ocean-theme .hero-overlay {
  background: linear-gradient(135deg, rgba(8,47,73,0.92) 0%, rgba(3,105,161,0.35) 60%, rgba(8,47,73,0.7) 100%);
}
