/* ==========================================================================
   MUNDO BILINGÜE - HIGH PERFORMANCE & HIGH CONVERSION (CRO) LANDING PAGE
   GFK-Boutique Tech Architecture | Native HTML5 & CSS3
   ========================================================================== */

/* --- CSS Variables & Design System --- */
:root {
  /* Color Palette (GFK-Boutique Tech Guidelines) */
  --bg-dark: #020617;          /* Navy ultra-dark accent */
  --bg-slate: #1e293b;         /* Slate dark card/section bg */
  --bg-pale: #dbeafe;          /* Pale Blue light section bg */
  --bg-light: #f8fafc;         /* Ultra-clean off-white bg */
  --surface-card: #ffffff;     /* White card bg */
  
  --text-main: #0f172a;        /* High contrast dark text */
  --text-muted: #475569;       /* Muted Slate text */
  --text-light: #f8fafc;       /* Light text for dark sections */
  --text-light-muted: #94a3b8; /* Muted light text */
  
  --primary-blue: #3b82f6;     /* Main CTA Blue */
  --primary-hover: #2563eb;    /* Primary Hover */
  --whatsapp-green: #22c55e;   /* WhatsApp CTA Green */
  --whatsapp-hover: #16a34a;   /* WhatsApp Hover */
  --accent-gold: #f59e0b;      /* Stars & accents */
  
  --border-light: #e2e8f0;
  --border-dark: #334155;
  
  /* Container & Spacing */
  --max-width: 1200px;
  --header-height: 72px;
  
  /* Shadows & Elevation */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 25px rgba(59, 130, 246, 0.25);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

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

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color: var(--text-main);
  background-color: var(--bg-light);
}

body {
  overflow-x: hidden;
  padding-bottom: 70px; /* Space for Mobile Floating CTA bar */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- Layout Containers --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section-padding {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }
}

/* --- Section Titles & Typography --- */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-blue);
  background-color: rgba(59, 130, 246, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.section-title.text-white {
  color: #ffffff;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0.75rem auto 0;
}

.section-subtitle.text-muted-light {
  color: var(--text-light-muted);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

/* --- Buttons & CTAs --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  text-align: center;
  line-height: 1.2;
}

.btn-lg {
  padding: 1.125rem 2.25rem;
  font-size: 1.125rem;
  border-radius: 0.625rem;
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}

.btn-whatsapp:hover, .btn-whatsapp:focus {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.45);
}

.btn-primary {
  background-color: var(--primary-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-outline-white {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover, .btn-outline-white:focus {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-phone-header {
  background-color: var(--bg-slate);
  color: #ffffff;
  font-size: 0.875rem;
  padding: 0.6rem 1.125rem;
  border-radius: 9999px;
  border: 1px solid var(--border-dark);
}

.btn-phone-header:hover {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-full {
  width: 100%;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  fill: currentColor;
  flex-shrink: 0;
}

/* --- 1. HEADER --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-blue), #1d4ed8);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  font-size: 1.25rem;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.4);
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.logo-text span {
  color: var(--primary-blue);
}

/* --- 2. HERO SECTION --- */
.hero {
  background: radial-gradient(circle at 50% 20%, #0f172a 0%, var(--bg-dark) 100%);
  color: var(--text-light);
  padding-top: 3rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

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

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.hero-badge-floating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bg-pale);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: 2.125rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.hero-title span {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-light-muted);
  margin-bottom: 2rem;
}

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

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.hero-image-wrapper {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.hero-image-wrapper img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.hero-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.95), transparent);
  padding: 1.5rem;
  color: #ffffff;
}

.hero-stat-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

/* --- 3. SECCIÓN: PLANES DE ESTUDIO --- */
.section-planes {
  background-color: var(--bg-light);
}

.planes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .planes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .planes-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.plan-card {
  background-color: var(--surface-card);
  border-radius: 1rem;
  border: 1px solid var(--border-light);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-blue);
}

.plan-card.featured {
  border: 2px solid var(--primary-blue);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15);
}

.plan-badge-allin {
  display: inline-block;
  align-self: flex-start;
  background-color: var(--bg-pale);
  color: #1e40af;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.plan-schedule {
  font-size: 0.875rem;
  color: var(--text-muted);
  min-height: 2.75rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.plan-price-wrapper {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-light);
}

.plan-price {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--text-main);
}

.plan-period {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-card-action {
  margin-top: 1.25rem;
}

/* --- 4. SECCIÓN: PAQUETES POR NIVELES --- */
.section-paquetes {
  background-color: var(--bg-slate);
  color: var(--text-light);
  position: relative;
}

.paquetes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 992px) {
  .paquetes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.paquete-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-dark);
  border-radius: 1.25rem;
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(6px);
  transition: all var(--transition-normal);
}

.paquete-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.paquete-card.highlight {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 2px solid var(--primary-blue);
}

.paquete-tag {
  position: absolute;
  top: -0.875rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-blue);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.paquete-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.paquete-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.paquete-subtitle {
  font-size: 0.875rem;
  color: var(--text-light-muted);
}

.paquete-levels-list {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.paquete-levels-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.925rem;
  color: var(--bg-pale);
}

.paquete-levels-list li svg {
  color: var(--whatsapp-green);
}

.paquete-pricing {
  background: rgba(2, 6, 23, 0.5);
  border-radius: 0.75rem;
  padding: 1.25rem;
  text-align: center;
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.paquete-investment-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-light-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.paquete-per-level {
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
}

.paquete-total {
  font-size: 0.875rem;
  color: var(--primary-blue);
  font-weight: 700;
  margin-top: 0.25rem;
}

/* --- 5. SECCIÓN: NOTA IMPORTANTE --- */
.section-compromiso {
  background-color: var(--bg-pale);
}

.compromiso-box {
  background-color: #ffffff;
  border-radius: 1.25rem;
  padding: 2.25rem;
  border-left: 6px solid var(--primary-blue);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .compromiso-box {
    grid-template-columns: repeat(2, 1fr);
    padding: 3rem;
  }
}

.compromiso-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.compromiso-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.compromiso-desc {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- 6. SECCIÓN: TESTIMONIOS --- */
.section-testimonios {
  background-color: var(--bg-light);
}

.testimonios-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .testimonios-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonio-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.testimonio-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.testimonio-rating {
  display: flex;
  gap: 0.25rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.testimonio-quote {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonio-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.testimonio-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-blue);
}

.testimonio-info {
  display: flex;
  flex-direction: column;
}

.testimonio-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
}

.testimonio-role {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-blue);
}

/* --- 7. FOOTER --- */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding-top: 4rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-light-muted);
  line-height: 1.6;
  max-width: 320px;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-light-muted);
}

.footer-contact-item svg {
  color: var(--primary-blue);
  margin-top: 0.15rem;
}

.footer-contact-item a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-slate);
  color: #ffffff;
  padding: 0.65rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--border-dark);
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  background: #1877f2; /* Facebook Blue */
  border-color: #1877f2;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
  text-align: center;
}

.gfk-signature {
  font-size: 0.775rem;
  color: var(--text-light-muted);
  letter-spacing: 0.02em;
}

.gfk-signature strong {
  color: var(--bg-pale);
}

/* --- MOBILE STICKY FLOATING BOTTOM BAR (CRO Power Tool) --- */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  gap: 0.75rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.mobile-sticky-bar .btn {
  flex: 1;
  padding: 0.75rem 0.5rem;
  font-size: 0.9rem;
}
