/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (FUDESIS & estudiar.co)
   ========================================================================== */

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

:root {
  /* Colors */
  --blue-primary: #1A3B8B;
  --blue-dark: #0F255C;
  --blue-light: #EBF1FA;
  --orange-primary: #F37021;
  --orange-dark: #D1560E;
  --orange-light: #FFF5EE;
  --whatsapp-green: #25D366;
  --whatsapp-dark: #128C7E;
  --whatsapp-light: #E8F9EE;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-alt: #F1F5F9;
  --accent-red: #EF4444;
  --accent-yellow: #F59E0B;
  
  /* Layout & Spacing */
  --container-max-width: 1140px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-premium: 0 20px 25px -5px rgba(26, 59, 139, 0.1), 0 10px 10px -5px rgba(26, 59, 139, 0.04);
  --shadow-orange: 0 15px 20px -5px rgba(243, 112, 33, 0.2);
  --shadow-green: 0 15px 20px -5px rgba(37, 211, 102, 0.3);
  
  /* Fonts */
  --font-headings: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transition */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   BASE STYLES & ACCESSIBILITY
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.25;
  color: var(--blue-dark);
}

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

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

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   TYPOGRAPHY & ACCENTS
   ========================================================================== */

.text-center { text-align: center; }
.text-orange { color: var(--orange-primary); }
.text-blue { color: var(--blue-primary); }
.font-bold { font-weight: 700; }

.section-tag {
  display: inline-block;
  background-color: var(--blue-light);
  color: var(--blue-primary);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 15px;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 15px;
  position: relative;
}

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

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 50px auto;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 6px 0;
}

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

.logos-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-link img {
  width: auto;
  object-fit: contain;
}

.logo-estudiar-header {
  height: 60px !important;
}

.logo-fudesis-header {
  height: 42px !important;
}

.logos-separator {
  width: 1px;
  height: 40px;
  background-color: var(--bg-alt);
}

.header-badge {
  background-color: var(--blue-dark);
  color: var(--bg-white);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 8px 14px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}

.header-badge span {
  width: 8px;
  height: 8px;
  background-color: var(--whatsapp-green);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 1.5s infinite;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  padding: 40px 0 60px 0;
  background: radial-gradient(circle at 10% 20%, rgba(248, 250, 252, 1) 0%, rgba(235, 241, 250, 0.4) 100%);
  position: relative;
  overflow: hidden;
}

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

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
  }
}

.hero-tag {
  background-color: var(--orange-light);
  color: var(--orange-dark);
  border: 1px solid rgba(243, 112, 33, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-tag i {
  color: var(--orange-primary);
}

.hero-title {
  font-size: 2.2rem;
  line-height: 1.15;
  color: var(--blue-dark);
  margin-bottom: 20px;
  font-weight: 800;
}

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

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 30px;
  font-weight: 400;
}

/* Badges Visuales */
.hero-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 35px;
}

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

.badge-item {
  background-color: var(--bg-white);
  border: 1px solid var(--bg-alt);
  padding: 12px 8px;
  border-radius: var(--border-radius-sm);
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.badge-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}

.badge-icon {
  font-size: 1.5rem;
}

.badge-text {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-headings);
  color: var(--blue-dark);
}

/* Pricing Callout */
.hero-pricing-box {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 20px;
  border: 2px solid var(--orange-light);
  box-shadow: var(--shadow-md);
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.pricing-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.price-before {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-decoration: line-through;
  font-weight: 500;
}

.price-now {
  color: var(--orange-primary);
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 1;
}

.price-discount {
  background-color: var(--orange-primary);
  color: var(--bg-white);
  font-size: 0.75rem;
  font-weight: 800;
  font-family: var(--font-headings);
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
}

.price-urgency {
  font-size: 0.85rem;
  color: var(--accent-red);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Hero Media - Banner Imagen */
.hero-media {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
}

.hero-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.hero-media:hover img {
  transform: scale(1.02);
}

.hero-floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 15px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.floating-badge-icon {
  background-color: var(--blue-light);
  color: var(--blue-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.floating-badge-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-dark);
}

/* ==========================================================================
   BUTTONS & CALLS TO ACTION
   ========================================================================== */

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: var(--bg-white);
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 18px 30px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: var(--shadow-green);
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
  width: 100%;
  max-width: 450px;
  text-align: center;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:active {
  transform: translateY(1px);
}

.btn-subtext {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-subtext i {
  color: var(--whatsapp-green);
}

/* Pulsating Animation for Main CTAs */
.pulse-btn {
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Floating WhatsApp Button */
.whatsapp-floater {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: var(--whatsapp-green);
  color: var(--bg-white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), var(--shadow-green);
  z-index: 99;
  cursor: pointer;
  transition: var(--transition-smooth);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}

.whatsapp-floater.visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.whatsapp-floater:hover {
  background-color: var(--whatsapp-dark);
  transform: scale(1.1);
}

.whatsapp-floater svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  background-color: var(--bg-white);
  color: var(--text-main);
  padding: 10px 16px;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition-smooth);
  border-left: 4px solid var(--whatsapp-green);
}

.whatsapp-floater:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   PROBLEM SECTION (AGITACIÓN DEL DOLOR)
   ========================================================================== */

.problem-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .problem-grid-item.full-width {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .problem-grid-item.full-width {
    grid-column: span 3;
  }
}

.problem-card {
  background-color: var(--bg-white);
  padding: 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--accent-red);
  transition: var(--transition-smooth);
}

.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.problem-card-icon {
  background-color: rgba(239, 68, 68, 0.08);
  color: var(--accent-red);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.problem-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--blue-dark);
}

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

/* ==========================================================================
   SOLUTION SECTION
   ========================================================================== */

.solution-section {
  padding: 80px 0;
  background-color: var(--bg-white);
}

.solution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

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

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

.solution-card {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--bg-alt);
  transition: var(--transition-smooth);
}

.solution-card:hover {
  background-color: var(--bg-white);
  border-color: var(--blue-light);
  box-shadow: var(--shadow-premium);
  transform: translateY(-5px);
}

.solution-card-icon {
  background-color: var(--blue-light);
  color: var(--blue-primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.solution-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--blue-dark);
}

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

/* Inter CTA Block */
.cta-block {
  margin-top: 60px;
  padding: 40px;
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-dark) 100%);
  border-radius: var(--border-radius-lg);
  color: var(--bg-white);
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
}

.cta-block::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background-color: rgba(243, 112, 33, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.cta-block-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.cta-block h3 {
  color: var(--bg-white);
  font-size: 1.6rem;
  max-width: 700px;
}

@media (min-width: 768px) {
  .cta-block h3 {
    font-size: 2rem;
  }
}

.cta-block p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  max-width: 600px;
}

/* ==========================================================================
   WHAT YOU'LL LEARN (TEMARIO DE MÓDULOS)
   ========================================================================== */

.syllabus-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.accordion-container {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--bg-alt);
  transition: var(--transition-smooth);
}

.accordion-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}

.accordion-header {
  padding: 22px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  background-color: var(--bg-white);
  transition: var(--transition-smooth);
}

.accordion-header:hover {
  background-color: var(--bg-light);
}

.accordion-title-flex {
  display: flex;
  align-items: center;
  gap: 15px;
}

.accordion-number {
  background-color: var(--blue-light);
  color: var(--blue-primary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-headings);
  font-size: 0.85rem;
}

.accordion-header h3 {
  font-size: 1.1rem;
  margin: 0;
}

.accordion-arrow {
  color: var(--blue-primary);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: var(--bg-white);
}

.accordion-content-inner {
  padding: 0 25px 25px 25px;
  border-top: 1px solid var(--bg-alt);
}

.accordion-content-inner p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.syllabus-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

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

.syllabus-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-main);
}

.syllabus-list-item i {
  color: var(--orange-primary);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* Accordion Active States */
.accordion-item.active {
  border-color: rgba(26, 59, 139, 0.3);
  box-shadow: var(--shadow-md);
}

.accordion-item.active .accordion-header {
  background-color: var(--blue-light);
}

.accordion-item.active .accordion-header h3 {
  color: var(--blue-dark);
}

.accordion-item.active .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-item.active .accordion-content {
  max-height: 500px; /* Adjust dynamically with JS */
}

/* ==========================================================================
   FOR WHOM SECTION
   ========================================================================== */

.for-whom-section {
  padding: 80px 0;
  background-color: var(--bg-white);
}

.for-whom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .for-whom-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.for-whom-card {
  background-color: var(--bg-light);
  border: 1px solid var(--bg-alt);
  padding: 25px 15px;
  border-radius: var(--border-radius-md);
  text-align: center;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.for-whom-card:hover {
  transform: translateY(-5px);
  background-color: var(--bg-white);
  border-color: var(--orange-light);
  box-shadow: var(--shadow-premium);
}

.for-whom-icon {
  font-size: 2.2rem;
}

.for-whom-card h3 {
  font-size: 1rem;
  color: var(--blue-dark);
}

/* ==========================================================================
   BENEFITS SECTION
   ========================================================================== */

.benefits-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.benefits-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .benefits-layout {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.benefit-list-item {
  background-color: var(--bg-white);
  padding: 16px 20px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--whatsapp-green);
  transition: var(--transition-smooth);
}

.benefit-list-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.benefit-check {
  color: var(--whatsapp-green);
  font-size: 1.2rem;
  margin-top: 2px;
}

.benefit-text-box h4 {
  font-size: 1.05rem;
  color: var(--blue-dark);
  margin-bottom: 4px;
}

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

/* Seal representation */
.benefits-seal-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--bg-alt);
  text-align: center;
  position: relative;
}

.benefits-seal-card::before {
  content: '⭐ ⭐ ⭐ ⭐ ⭐';
  display: block;
  font-size: 1.2rem;
  color: var(--accent-yellow);
  margin-bottom: 15px;
}

.seal-icon {
  font-size: 4rem;
  color: var(--orange-primary);
  margin-bottom: 20px;
  display: block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.benefits-seal-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.benefits-seal-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* ==========================================================================
   ABOUT FUDESIS & ESTUDIAR.CO
   ========================================================================== */

.about-section {
  padding: 80px 0;
  background-color: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

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

.about-card {
  background-color: var(--bg-light);
  border: 1px solid var(--bg-alt);
  padding: 40px 30px;
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-logo-wrapper {
  height: 170px;
  display: flex;
  align-items: center;
}

.about-logo-wrapper img {
  width: auto;
  object-fit: contain;
}

.logo-estudiar-about {
  height: 170px !important;
}

.logo-fudesis-about {
  height: 130px !important;
}

.about-card h3 {
  font-size: 1.25rem;
  color: var(--blue-dark);
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.alliance-highlight {
  grid-column: span 1;
  background-color: var(--blue-light);
  border: 1px solid rgba(26, 59, 139, 0.1);
  padding: 30px;
  border-radius: var(--border-radius-md);
  text-align: center;
}

@media (min-width: 768px) {
  .alliance-highlight {
    grid-column: span 2;
  }
}

.alliance-highlight h4 {
  color: var(--blue-primary);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.alliance-highlight p {
  font-size: 0.95rem;
  max-width: 800px;
  margin: 0 auto;
  color: var(--blue-dark);
  font-weight: 500;
}

/* ==========================================================================
   OFFER SECTION & TESTIMONIALS
   ========================================================================== */

.offer-section {
  padding: 80px 0;
  background: radial-gradient(circle at 50% 50%, rgba(243, 112, 33, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
  border-top: 1px solid var(--bg-alt);
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: stretch;
}

@media (min-width: 992px) {
  .offer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Premium Pricing Box */
.offer-box {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  border: 3px solid var(--orange-primary);
  padding: 40px 30px;
  box-shadow: var(--shadow-orange);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.offer-box::before {
  content: '50% DTO';
  position: absolute;
  top: 25px;
  right: -35px;
  background-color: var(--orange-primary);
  color: var(--bg-white);
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 8px 40px;
  transform: rotate(45deg);
  box-shadow: var(--shadow-sm);
}

.offer-tag {
  align-self: flex-start;
  background-color: var(--orange-light);
  color: var(--orange-dark);
  font-size: 0.75rem;
  font-family: var(--font-headings);
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 50px;
  text-transform: uppercase;
}

.offer-prices {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 15px 0;
}

.offer-price-old {
  color: var(--text-muted);
  font-size: 1.1rem;
  text-decoration: line-through;
  font-weight: 500;
}

.offer-price-new {
  color: var(--orange-primary);
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1;
}

.offer-price-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.offer-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.offer-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
}

.offer-feature-item i {
  color: var(--whatsapp-green);
  font-size: 1.1rem;
}

.seats-counter-box {
  background-color: var(--bg-alt);
  border-radius: var(--border-radius-sm);
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.seats-badge {
  background-color: var(--accent-red);
  color: var(--bg-white);
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 4px;
  animation: pulse-dot 1s infinite alternate;
}

.seats-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Testimonial container */
.testimonials-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.testimonial-card {
  background-color: var(--bg-white);
  padding: 25px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--bg-alt);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-card::after {
  content: '“';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  color: rgba(26, 59, 139, 0.05);
  font-family: var(--font-headings);
  line-height: 1;
}

.testimonial-stars {
  color: var(--accent-yellow);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--blue-light);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.9rem;
}

.author-info h4 {
  font-size: 0.85rem;
  color: var(--blue-dark);
  margin-bottom: 2px;
}

.author-info p {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-sm);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-header {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-header h3 {
  font-size: 1rem;
  color: var(--blue-dark);
}

.faq-arrow {
  color: var(--blue-primary);
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content-inner {
  padding: 0 25px 20px 25px;
  border-top: 1px solid var(--bg-alt);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Active FAQ states */
.faq-item.active .faq-header {
  background-color: var(--blue-light);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-item.active .faq-content {
  max-height: 250px;
}

/* ==========================================================================
   CTA FINAL SECTION
   ========================================================================== */

.cta-final-section {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--blue-dark) 0%, #071233 100%);
  color: var(--bg-white);
  text-align: center;
}

.cta-final-section h2 {
  color: var(--bg-white);
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.cta-final-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 40px auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
  background-color: #071233;
  color: rgba(255, 255, 255, 0.6);
  padding: 50px 0 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-col h4 {
  color: var(--bg-white);
  font-size: 0.95rem;
  font-family: var(--font-headings);
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-logos img {
  width: auto;
  filter: brightness(0) invert(1) opacity(0.8);
}

.logo-estudiar-footer {
  height: 130px !important;
}

.logo-fudesis-footer {
  height: 90px !important;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--orange-primary);
}

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 25px;
  text-align: center;
  line-height: 1.5;
}

/* ==========================================================================
   HELPER UTILITIES & KEYFRAMES
   ========================================================================== */

@keyframes pulse-dot {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.15);
    opacity: 1;
  }
}

/* Responsive Utilities */
.hidden-mobile {
  display: none !important;
}

@media (min-width: 768px) {
  .hidden-mobile {
    display: flex !important;
  }
}
.hidden-desktop {
  display: flex !important;
}
@media (min-width: 768px) {
  .hidden-desktop {
    display: none !important;
  }
}


/* ==========================================================================
   WHATSAPP CARD LINKS LAYOUT SPECIFICS (CRO OPTIMIZATION)
   ========================================================================== */
.whatsapp-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
}
