@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');

/* --- SISTEMA DE DISEÑO --- */
:root {
  --color-primary: #132A3E;       /* Azul Profundo */
  --color-accent: #FFDE44;        /* Amarillo Vibrante */
  --color-accent-hover: #ffea70;
  --color-bg-light: #FAF8F5;      /* Blanco Editorial */
  --color-bg-alt: #ECEAE6;        /* Gris suave */
  --color-text-dark: #132A3E;     /* Texto principal en fondo claro */
  --color-text-muted: #5a6e82;    /* Texto secundario */
  --color-text-light: #FAF8F5;    /* Texto en fondos oscuros */
  
  --font-family: 'Source Serif 4', Georgia, serif;
  
  --shadow-sm: 0 2px 4px rgba(19, 42, 62, 0.08);
  --shadow-md: 0 8px 16px rgba(19, 42, 62, 0.12);
  --shadow-lg: 0 16px 32px rgba(19, 42, 62, 0.18);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 12px;
}

/* --- RESET Y ESTILOS GLOBALES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  font-size: 16px;
  color: var(--color-text-dark);
  background-color: var(--color-bg-light);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.15;
  color: var(--color-primary);
}

p {
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--color-text-dark);
}

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

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

/* --- CONTENEDORES --- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 5rem 0;
  position: relative;
}

/* --- SECCIONES CON TEXTURA DE FONDO --- */
.bg-texture-dark {
  background-color: var(--color-primary);
  background-image: linear-gradient(rgba(19, 42, 62, 0.85), rgba(19, 42, 62, 0.95)), url('assets/LM_SUS_Fondo.jpg');
  background-size: cover;
  background-position: center 50%;
  color: var(--color-text-light);
  will-change: background-position;
}

.bg-texture-light {
  background-color: var(--color-bg-light);
  background-image: linear-gradient(rgba(250, 248, 245, 0.92), rgba(250, 248, 245, 0.95)), url('assets/blue-grid-clean.jpg');
  background-repeat: repeat;
  background-size: auto;
  background-position: center 50%;
  will-change: background-position;
}

.bg-grid-paper {
  background-color: var(--color-bg-light);
  background-image: url('assets/blue-grid-clean.jpg');
  background-repeat: repeat;
  background-size: auto;
}

/* --- BOTONES / CTAs --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-weight: 900;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
  text-align: center;
  width: fit-content;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 222, 68, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text-light);
  border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
  background-color: rgba(255, 222, 68, 0.1);
  transform: translateY(-2px);
}

/* --- HERO SECTION --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 0 4rem 0;
  font-family: 'Roca Two', 'Source Serif 4', Georgia, serif;
  color: #000000;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.hero-logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-logo {
  max-width: 320px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
  animation: fadeInDown 1s ease;
}

.hero-sub-logo {
  max-width: 280px;
  height: auto;
  margin-top: -10px;
  animation: fadeIn 1.2s ease;
}

.hero-title {
  font-size: 2.8rem;
  line-height: 1.1;
  color: var(--color-primary); /* Azul profundo de la marca */
  text-shadow: none;
  margin-top: 1rem;
  font-family: 'Roca Two', 'Source Serif 4', Georgia, serif;
}

.hero-title span {
  color: var(--color-primary); /* Azul profundo de la marca en lugar de #ncdsnvld */
}

.hero-subtitle {
  font-size: 1.35rem;
  font-weight: 300;
  max-width: 650px;
  color: #000000;
  font-family: 'Roca Two', 'Source Serif 4', Georgia, serif;
}

.hero p {
  color: #000000;
  font-family: 'Roca Two', 'Source Serif 4', Georgia, serif;
}

.hero-price-badge {
  background-color: rgba(19, 42, 62, 0.06);
  border: 1px dashed var(--color-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: pulse 2s infinite;
  font-family: 'Roca Two', 'Source Serif 4', Georgia, serif;
}

.hero-price-badge strong {
  font-size: 1.4rem;
}

/* --- PROPUESTA DE VALOR (MANIFIESTO) --- */
.manifesto {
  text-align: center;
  border-bottom: 1px solid var(--color-bg-alt);
}

.manifesto-title {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.manifesto-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

.manifesto-text {
  max-width: 750px;
  margin: 0 auto;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-text-dark);
  line-height: 1.8;
}

/* --- EL CICLO DE LECTURA --- */
.ciclo {
  background-color: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.3rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

.ciclo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.ciclo-card {
  background-color: var(--color-bg-light);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  transition: var(--transition-normal);
  border: 1px solid rgba(19, 42, 62, 0.05);
}

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

.ciclo-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.ciclo-card h3 {
  font-size: 1.4rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

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

/* --- QUE INCLUYE LA CUOTA --- */
.features-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

.features-image-wrapper::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--color-accent);
  border-radius: var(--border-radius);
  top: 15px;
  left: 15px;
  z-index: 1;
}

.features-img {
  width: 100%;
  border-radius: var(--border-radius);
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--color-primary);
  transition: opacity 0.5s ease-in-out;
}

.features-list-wrapper h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.features-intro {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  background-color: rgba(19, 42, 62, 0.05);
  color: var(--color-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.feature-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

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

/* --- CRONOGRAMA ANUAL (GRID INTERACTIVO) --- */
.cronograma {
  background-color: var(--color-bg-light);
}

.cronograma-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.cronograma-card {
  background-color: var(--color-bg-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(19, 42, 62, 0.08);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
}

.cronograma-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.cronograma-card::after {
  content: 'Ver Detalles';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-primary);
  color: var(--color-accent);
  text-align: center;
  padding: 0.5rem 0;
  font-weight: 700;
  font-size: 0.9rem;
  transform: translateY(100%);
  transition: var(--transition-fast);
}

.cronograma-card:hover::after {
  transform: translateY(0);
}

.card-img-container {
  height: 250px;
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg-alt);
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%) contrast(1.1);
  transition: var(--transition-normal);
}

.cronograma-card:hover .card-img {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.05);
}

.card-badge-month {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--color-primary);
  color: var(--color-accent);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-sm);
  z-index: 10;
}

.card-badge-tag {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background-color: rgba(250, 248, 245, 0.9);
  color: var(--color-primary);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid var(--color-primary);
}

.card-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
  border-top: 1px solid rgba(19, 42, 62, 0.05);
}

.card-author {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
  font-weight: 700;
}

.card-title {
  font-size: 1.35rem;
  color: var(--color-primary);
  font-weight: 900;
  line-height: 1.2;
}

/* --- TESTIMONIOS (COMUNIDAD) --- */
.comunidad {
  background-color: var(--color-bg-alt);
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.testimonio-card {
  background-color: var(--color-bg-light);
  padding: 3rem 2rem 2rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(19, 42, 62, 0.03);
}

.testimonio-card::before {
  content: '“';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 5rem;
  color: rgba(19, 42, 62, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonio-text {
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.testimonio-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonio-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.testimonio-info h4 {
  font-size: 1.05rem;
  color: var(--color-primary);
}

.testimonio-info span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* --- FAQ / PREGUNTAS FRECUENTES --- */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background-color: var(--color-bg-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(19, 42, 62, 0.05);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.5rem;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--color-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  outline: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-primary);
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding-bottom: 1.5rem;
  transition: max-height 0.5s ease-in-out;
}

.faq-answer p {
  font-size: 1rem;
  color: var(--color-text-muted);
}

/* --- CTA FINAL / CIERRE --- */
.cta-cierre {
  text-align: center;
}

.cta-cierre-content {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.cta-cierre-content h2 {
  font-size: 2.5rem;
  color: var(--color-text-light);
}

.cta-cierre-content p {
  font-size: 1.2rem;
  color: rgba(250, 248, 245, 0.85);
}

.cta-cierre-extra {
  font-size: 0.95rem;
  color: rgba(250, 248, 245, 0.7);
  margin-top: 1rem;
}

/* --- FOOTER --- */
footer {
  background-color: #0b1a27;
  color: rgba(250, 248, 245, 0.6);
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid rgba(250, 248, 245, 0.1);
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  max-width: 150px;
  filter: brightness(0) saturate(100%) invert(87%) sepia(35%) saturate(1478%) hue-rotate(343deg) brightness(104%) contrast(104%);
}

/* --- STICKY CTA (BARRA FLOTANTE MÓVIL) --- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-primary);
  border-top: 2px solid var(--color-accent);
  padding: 0.85rem 1rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
  transform: translateY(105%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-info {
  display: flex;
  flex-direction: column;
  color: var(--color-text-light);
}

.sticky-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.sticky-price {
  font-size: 1.15rem;
  font-weight: 900;
}

.sticky-btn {
  padding: 0.65rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 900;
  border-radius: 50px;
  background-color: var(--color-accent);
  color: var(--color-primary);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  text-transform: uppercase;
}

/* --- MODAL ELEGANTE --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(19, 42, 62, 0.85);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background-color: var(--color-bg-light);
  width: 90%;
  max-width: 850px;
  max-height: 90vh;
  border-radius: var(--border-radius);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-primary);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: grid;
  grid-template-columns: 380px 1fr;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  background-color: rgba(19, 42, 62, 0.08);
  border: none;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-accent);
}

.modal-image-side {
  height: 100%;
  position: relative;
  background-color: var(--color-bg-alt);
}

.modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(100%) contrast(1.05);
}

.modal-badge-month {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--color-primary);
  color: var(--color-accent);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  overflow-y: auto;
}

.modal-header-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.modal-meta-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.modal-meta-tag {
  background-color: rgba(19, 42, 62, 0.05);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.modal-author {
  font-size: 1rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.modal-title {
  font-size: 2.2rem;
  color: var(--color-primary);
  font-weight: 900;
  line-height: 1.15;
}

.modal-sinopsis {
  font-size: 1rem;
  color: var(--color-text-dark);
  line-height: 1.6;
}

.modal-encuentro-box {
  background-color: var(--color-bg-alt);
  border-left: 4px solid var(--color-primary);
  padding: 1rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
}

.modal-encuentro-box strong {
  color: var(--color-primary);
  display: block;
  margin-bottom: 0.25rem;
}

.modal-checkout-section {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid rgba(19, 42, 62, 0.1);
  padding-top: 1.5rem;
}

.modal-checkout-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

/* Estilo contenedor paypal */
.paypal-button-wrapper {
  min-height: 45px;
}

/* --- ANIMACIONES --- */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 222, 68, 0.4);
  }
  70% {
    transform: scale(1.02);
    box-shadow: 0 0 0 10px rgba(255, 222, 68, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 222, 68, 0);
  }
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
  .ciclo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cronograma-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .features-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .features-image-wrapper {
    order: 2;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .modal-container {
    grid-template-columns: 1fr;
    max-width: 550px;
  }
  
  .modal-image-side {
    height: 250px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .cronograma-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .testimonios-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.15rem;
  }
  
  .btn {
    padding: 0.85rem 2rem;
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  .ciclo-grid {
    grid-template-columns: 1fr;
  }

  .cronograma-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
  
  .hero-logo {
    max-width: 250px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 560px) {
  .ciclo-grid {
    grid-template-columns: 1fr;
  }
}

/* --- BLOBS DE FONDO DECORATIVOS --- */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12; /* Muy sutil para elegancia */
  pointer-events: none;
  z-index: 0;
  animation: floatBlob 20s infinite alternate ease-in-out;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background-color: var(--color-accent); /* Amarillo de la marca */
  top: 10%;
  left: -10%;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background-color: var(--color-primary); /* Azul de la marca */
  bottom: -10%;
  right: -10%;
  animation-delay: -5s;
}

@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(40px, -60px) scale(1.1);
  }
  100% {
    transform: translate(-30px, 50px) scale(0.9);
  }
}

/* --- BOTÓN FLOTANTE DE WHATSAPP --- */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 998;
  background-color: #25D366;
  color: #FFFFFF;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, background-color 0.2s ease;
  animation: pulseWhatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
}

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

/* --- REDES SOCIALES EN FOOTER --- */
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: rgba(250, 248, 245, 0.6);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.social-link:hover {
  color: var(--color-accent);
  transform: translateY(-2px);
}

.social-link svg {
  fill: currentColor;
}

/* Adaptación responsive para evitar colisiones con Sticky CTA */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 80px; /* Sube la posición del botón para no tapar el CTA móvil */
  }
  .footer-socials {
    gap: 1.5rem;
    flex-wrap: wrap;
  }
}
