:root {
  --primary: #2563EB; /* Azul confiable */
  --primary-light: #60A5FA;
  --secondary: #059669; /* Verde crecimiento */
  --accent: #F97316; /* Naranja cálido */
  --accent-light: #FFEDD5;
  --text-dark: #1E293B;
  --text-light: #64748B;
  --bg-color: #F8FAFC;
  --white: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-blob: 40% 60% 70% 30% / 40% 50% 60% 50%;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.2);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.2;
}

h2 { font-size: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

span.section-badge, span.badge {
  display: inline-block;
  background-color: var(--accent-light);
  color: var(--accent);
  padding: 0.25rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h1 span, h2 span { color: var(--primary); }
.text-center { text-align: center; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }

/* Utilities */
.color-blue { color: var(--primary); }
.color-orange { color: var(--accent); }
.color-green { color: var(--secondary); }

.bg-blue { background-color: var(--primary); color: white; }
.bg-orange { background-color: var(--accent); color: white; }
.bg-green { background-color: var(--secondary); color: white; }

.bg-light { background-color: var(--white); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: #1D4ED8;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 1rem 5%;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.75rem 5%;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo i { color: var(--accent); font-size: 1.8rem; }
.logo-accent { color: var(--primary); }

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-light);
  transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: none; border: none;
  font-size: 1.8rem;
  color: var(--text-dark);
  cursor: pointer;
}

/* Base Section */
.section {
  padding: 6rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

/* 1. Hero */
.hero {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding-top: 8rem;
  gap: 3rem;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero .title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero .subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.hero-image-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.blob-bg {
  position: absolute;
  width: 90%;
  height: 90%;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  border-radius: var(--radius-blob);
  z-index: -1;
  animation: blob-float 8s ease-in-out infinite alternate;
}

.hero-image {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  transform: rotate(2deg);
  transition: transform 0.3s ease;
}

.hero-image:hover { transform: rotate(0deg) scale(1.02); }

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Glass Card */
.glass-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glass-card:hover::before { opacity: 1; }

.icon-large {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.section-header {
  max-width: 700px;
  margin: 0 auto 4rem auto;
  text-align: center;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-light);
}

/* 3. Beneficios Hijos */
.beneficios-wrapper {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 4rem;
}

.beneficios-text { flex: 1; }
.beneficios-image { flex: 1; }

.rounded-image {
  width: 100%;
  border-radius: var(--radius-lg);
}

.shadow-large { box-shadow: var(--shadow-lg); }

.beneficios-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.beneficios-list i {
  color: var(--secondary);
  font-size: 1.8rem;
  margin-top: 0.2rem;
}

.beneficios-list strong {
  font-size: 1.2rem;
  font-family: var(--font-heading);
}

/* Carrusel */
.testimonios-container {
  overflow: hidden;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.carrusel { position: relative; margin-top: 2rem; }
.carrusel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonio-card {
  min-width: 100%;
  padding: 2rem;
  background: var(--bg-color);
  border-radius: var(--radius-md);
  text-align: center;
}

.quote-icon i {
  font-size: 2.5rem;
  color: var(--primary-light);
  opacity: 0.5;
  margin-bottom: 1rem;
}

.testimonio-card p {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.author {
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
}

.carrusel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.carrusel-controls button {
  background: var(--white);
  border: none;
  font-size: 1.2rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.carrusel-controls button:hover {
  background: var(--primary);
  color: white;
}

/* 4. y layout col */
.col-layout {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.col-layout.reverse { flex-direction: row-reverse; }
.image-col, .text-col { flex: 1; }

.decorative-image {
  width: 100%;
  border-radius: 50% 50% 10% 10%;
  box-shadow: var(--shadow-md);
}

.feature-box {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background: var(--white);
  padding: 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.feature-box:hover { transform: translateX(10px); }

.icon-box {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* 5. Mitos Accordion */
.mitos {
  background-color: var(--white);
}

.accordion-container { max-width: 800px; margin: 0 auto; }
.accordion-item {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  background: var(--bg-color);
  overflow: hidden;
}

.accordion-header {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: var(--white);
  transition: background 0.3s ease;
}

.accordion-header:hover { background: #fdfdfd; color: var(--primary); }

.accordion-header h3 { font-size: 1.125rem; margin: 0; }
.accordion-header i { transition: transform 0.3s ease; }
.accordion-item.active .accordion-header i { transform: rotate(180deg); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: var(--bg-color);
}

.accordion-item.active .accordion-body {
  max-height: 300px;
  padding: 1.5rem;
}

/* 6. Impacto Social */
.impacto-social { padding-top: 4rem; padding-bottom: 4rem; }
.impacto-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: var(--radius-lg);
  padding: 4rem;
  color: white;
}

.impacto-content h2 { color: white; }
.impacto-content p { font-size: 1.1rem; opacity: 0.9; }
.impact-image img {
  width: 100%; max-width: 400px;
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
}

/* 7. Recursos */
.recurso-card {
  display: block;
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border-top: 4px solid transparent;
}

.recurso-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--primary);
}

.recurso-card i { font-size: 3rem; margin-bottom: 1rem; display: block; }
.link-falso { color: var(--primary); font-weight: 600; margin-top: 1rem; display: inline-block; }

/* 8. Footer CTA */
.footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding-top: 0;
}

.cta-banner {
  background: var(--accent);
  padding: 4rem 5%;
  text-align: center;
  transform: translateY(-50%);
  margin: 0 auto;
  max-width: 1000px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 { color: white; font-size: 2.5rem; }
.cta-banner span { color: var(--text-dark); }

.footer-content {
  padding: 0 5% 4rem 5%;
  max-width: 1200px;
  margin: -2rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.footer-form input {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  border: none;
  font-family: var(--font-body);
}

.footer-form .btn { width: 100%; }

.logo-footer {
  font-family: var(--font-heading);
  font-size: 1.5rem; font-weight: 800; color: white;
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.5rem;
}

.logo-footer i { color: var(--accent); }
.social-links { margin-top: 1.5rem; display: flex; gap: 1rem; }
.social-links a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.1); border-radius: 50%;
  transition: background 0.3s ease;
}
.social-links a:hover { background: var(--primary); }

.footer-bottom {
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem; color: var(--text-light);
}

/* Animations */
@keyframes blob-float {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-20px) scale(1.05); }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content, .beneficios-wrapper, .col-layout { flex-direction: column; text-align: center; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 6rem; padding-bottom: 4rem; }
  .hero .title { font-size: 2.5rem; }
  .impacto-content { flex-direction: column; padding: 2rem; text-align: center; }
}

@media (max-width: 768px) {
  .nav-links, .nav-btn { display: none; }
  .mobile-menu-btn { display: block; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
  .cta-banner { transform: translateY(-20px); padding: 2rem; }
  .cta-banner h2 { font-size: 2rem; }
}
