/* =========================
   SECCIONES GENERALES
========================= */
.section {
  padding: 100px 0;
  position: relative;
}

/* Secciones con imagen de fondo */
.section-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Secciones con fondo degradado o sólido */
.section-gradient {
  background: linear-gradient(135deg, #5a2d82, #8e44ad);
  color: #ffffff;
}

/* =========================
   HEADER / MENÚ
========================= */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #ffffff;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.header-content {
  height: 80px;
}

/* Logo */
.header-logo img {
  max-height: 55px;
}

/* Navegación desktop */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  color: #333;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #8e44ad;
}

/* Botón hamburguesa (oculto en desktop) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background-color: #333;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Menú móvil */
.mobile-nav {
  display: none;
  background-color: #ffffff;
  width: 100%;
  position: absolute;
  top: 60px;
  left: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  height: calc(100vh - 60px);
}

.mobile-nav ul {
display: flex;
  flex-direction: column; 
  align-items: center;
  gap: 20px;
  padding: 20px 0;
}

.mobile-nav li {
  margin: 0;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.mobile-nav a {
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
}

/* Estado activo */
.mobile-nav.active {
  display: block;
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  min-height: 100vh;
  background-image: url('../img/hero-desktop.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
}

/* Logos */
.hero-logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 25px;
}

.hero-logos img {
  height: 80px;
  width: auto;
}

/* Frase */
.hero-content {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
}

.hero-frase {
  max-width: 450px;
  color: #5a2d82;
  font-size: 3rem;
  font-weight: 700;
}

/* =========================
   CINTILLO HERO
========================= */
.hero-cintillo {
  background: linear-gradient(90deg, #d34681, #431043);
  padding: 10px 0;
  color: #ffffff;
}

.cintillo-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Lado izquierdo */
.cintillo-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cintillo-mapa {
  height: 80%;
  max-height: 90px;
  width: auto;
}

.cintillo-texto {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.cintillo-capitulo {
  font-size: 1.05rem;
  font-weight: 600;
}

.cintillo-periodo {
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0.9;
}

/* Redes sociales */
.cintillo-social a {
  display: inline-block;
  margin-left: 15px;
}

.cintillo-social img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s ease;
}

.cintillo-social a:hover img {
  opacity: 0.7;
}

/* =========================
   NOSOTROS
========================= */
.nosotros {
  position: relative;
  background-image: url('../img/nosotros-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.nosotros-content {
  min-height: 80vh;
  position: relative;
}

/* Logo */
.nosotros-logo {
  height: 100px;
  width: auto;
}

/* Texto */
.nosotros-texto {
  max-width: 580px;
  margin-left: auto;
  padding: 0px 0px 0px 20px;
  text-align: right;
}

.nosotros-texto h2 {
  color: #5a2d82;
  margin-bottom: 20px;
}

.nosotros-texto p {
  margin-bottom: 15px;
  color: #2e2967;
  font-size: 15px;
}

/* Botón WhatsApp */
.nosotros-texto .btn-whatsapp {
  margin-top: 25px;
  margin-bottom: 25px;
}

/* =========================
   BENEFICIOS
========================= */
.beneficios {
  background-image: url('../img/beneficios-bg.jpg');
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
}

.beneficios-content {
  min-height: 80vh;
}

/* Texto */
.beneficios-texto {
  max-width: 600px;
  padding: 40px 20px;
}

/* Título */
.beneficios-texto h2 {
  color: #5a2d82;
  margin-bottom: 30px;
}

/* Lista con línea vertical */
.beneficios-lista {
  position: relative;
  padding-left: 25px;
  margin-bottom: 35px;
}

.beneficios-lista::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  border-radius: 20px;
  background-color: #942064;
}

.beneficios-lista ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.beneficios-lista li {
  margin-bottom: 15px;
  color: #000;
  font-size: 1.5rem;
  line-height: 1.5;
}

/* Botón */
.btn-beneficios {
  display: inline-block;
  margin-left: auto;
}

/* =========================
   SOCIAS
========================= */
.socias {
  background: linear-gradient(135deg, #431043, #d34681);
  color: #ffffff;
}

.socias-content {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Texto */
.socias-texto {
  max-width: 480px;
}

.socias-texto h2 {
  margin-bottom: 30px;
  color: #ffffff;
}

/* Imagen teléfono */
.socias-imagen img {
  max-width: 100%;
  max-height: 360px;
  width: auto;
  height: auto;
}

/* =========================
   EVENTO
========================= */
.evento {
  background-image: url('../img/evento-bg.jpg');
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
}

.evento-content {
  min-height: 80vh;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
}

/* Lado izquierdo */
.evento-left {
  max-width: 720px;
  padding: 120px 0px 0px 0px;
}

/* Logo evento */
.evento-logo {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.evento-logo img {
  width: 100px;
  height: auto;
}

/* Texto logo */
.evento-texto-logo {
  line-height: 1.1;
  color: #002376;
}

.evento-linea-1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.evento-foro {
  font-size: 2rem;
}

.evento-edicion {
  font-size: 1.3rem;
  font-weight: 700;
}

.evento-linea-2 {
  font-size: 2rem;
}

.evento-linea-2 span {
  font-weight: 400;
}

/* Botones */
.evento-botones .btn {
  display: block;
  margin-bottom: 35px;
}

/* Lado derecho */
.evento-right {
  padding: 40px 0px 0px;
  text-align: right;
}

.evento-right h2 {
  color: #5a2d82;
  font-weight: 700;
}

/* =========================
   AFÍLIATE
========================= */
.afiliate {
  background: linear-gradient(135deg, #431043, #d34681);
  color: #ffffff;
}

.afiliate-content {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Imagen */
.afiliate-imagen {
  position: absolute;
  bottom: 0;
  left: -100px;
}
.afiliate-imagen img {
  max-height: 420px;
  width: auto;
  height: auto;
}

/* Texto */
.afiliate-texto {
  margin-left: auto;
  max-width: 520px;
  text-align: right;
}

.afiliate-texto h2 {
  margin-bottom: 30px;
  color: #ffffff;
}

/* Botones */
.afiliate-botones .btn {
  display: block;
  margin-bottom: 15px;
}

/* Contacto */
.afiliate-contacto p {
  margin-top: 25px;
  font-size: 0.95rem;
}

.afiliate-contacto a {
  color: #ffffff;
  text-decoration: underline;
}

.afiliate-contacto a:hover {
  opacity: 0.7;
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background-color: #2b0d2f;
  color: #ffffff;
  padding-top: 60px;
}

/* Contenido principal */
.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
}

/* Columnas */
.footer-col h4 {
  margin-bottom: 15px;
  font-size: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
}

.footer-col a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Logos */
.footer-logos {
    display: flex;
    flex-direction: column;
    align-items: center;

}
.footer-logos img {
  display: block;
  margin-bottom: 20px;
  height: 65px;
  width: auto;
}

/* Columna descriptiva */
.footer-about p {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 260px;
}

/* Contacto */
.footer-contacto p {
  margin-bottom: 15px;
}

/* Redes */
.footer-social a {
  display: inline-block;
  margin-right: 12px;
}

.footer-social img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

/* Parte legal */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: #ffffff;
  text-decoration: underline;
}

/* =========================
   MODAL FORMULARIO
========================= */
.modal-content {
  border-radius: 20px;
}

.form-msg {
  margin-top: 15px;
  font-weight: 600;
  text-align: center;
}

.modal-dialog {
  max-width: 720px;
}

/* ==========================
BOOSTRAP RESPONSIVE
=========================== */
@media (max-width: 768px) {
/*  HEADER - RESPONSIVE */
  .header-content {
    height: 60px;
  }

/* Mostrar hamburguesa */
  .menu-toggle {
    display: block;
  }

/* Ocultar menú normal */
    .main-nav {
    display: none;
    background-color: #ffffff;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
  }

/* Estado activo del menú */
  .main-nav.active {
    display: block;
  }

/*  HERO - RESPONSIVE */
  .hero {
    background-image: url('../img/hero-mobile.jpg');
  }

  .hero-frase span {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 8px;
  color: #5a2d82;
}

  .hero-logos,
  .hero-content {
    position: relative;
    z-index: 2;
  }

  .hero-logos img {
    height: 48px;
  }

  .hero-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
    text-align: center;
	padding-top: 10vh;
  }

  .hero-frase {
    color: #5a2d82;
    font-size: 2rem;
  }

/*  CINTILLO HERO - RESPONSIVE */
  .cintillo-content {
    flex-direction: column;
    gap: 0px;
    text-align: center;
  }

  .cintillo-left {
    justify-content: center;
    gap: 0px;
  }

  .cintillo-social a {
    margin: 0 10px;
  }

/*  NOSOTROS - RESPONSIVE */
  .nosotros {
    background-position: left center;
  }

  .nosotros-content {
    min-height: auto;
  }

  .nosotros-logo {
    position: static;
    margin: 0px auto 0;
    display: block;
    height: 70px;
  }

  .nosotros-texto {
    margin: 0 auto;
    padding: 0px;
    text-align: center;
  }

  .nosotros-movil {
  display: inline-block;
  background: rgba(255, 255, 255, 0.70);
  padding: 12px 18px;
  border-radius: 8px;
  color: #c17aff;
  }

/*  BENEFICIOS - RESPONSIVE */
  .beneficios {
    background-position: left center;
  }

  .beneficios-content {
    min-height: auto;
  }

  .beneficios-texto {
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
  }

  .beneficios-lista {
    padding-left: 20px;
    text-align: left;
  }

  .beneficios-lista::before {
    left: 0;
    top: 0px;
    height: calc(100% - 0px);
    width: 4px;
    border-radius: 10px;
  }

  .beneficios-lista li {
    font-size: 0.95rem;
  }

  .btn-beneficios {
    margin: 0px auto 0;
  }

/*  SOCIAS - RESPONSIVE */
  .socias-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 40px 25px;
  }

  .socias-texto {
    max-width: 100%;
  }

  .btn-descarga {
    justify-content: center;
    text-align: center;
  }

  .socias-imagen img {
    max-height: 280px;
  }

/*  EVENTO - RESPONSIVE */
  .evento {
    background-position: left;
  }
  
  .evento-content {
    flex-direction: column;
  }

  .evento-right {
    padding: 40px 20px 0px 20px;
  }

  .evento-right {
    order: -1;
  }

  .evento-right h2 {
    text-align: center;
  }

  .evento-left {
  padding: 40px 20px;
  }

  .evento-logo img {
  max-width: 70px;
  height: auto;
  }

/*  AFILIATE - RESPONSIVE */
  .afiliate-content {
    flex-direction: column-reverse;
    text-align: center;
    gap: 0px;
  }

  .afiliate-texto {
    text-align: center;
    padding: 40px 20px 0px 20px;
  }

  .afiliate-imagen {
    position: inherit;
  }

  .afiliate-imagen img {
    max-width: 100%;
  }

  .afiliate-botones .btn {
    margin: 12px auto;
  }

  .afiliate-contacto p {
    text-align: center;
  }

/*  FOOTER - RESPONSIVE */
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-about p {
  max-width: 520px;
}
  .footer-logos img {
    margin: 0 auto 15px;
  }

  .footer-social a {
    margin: 0 8px;
  }
	
/*  MODAL - RESPONSIVE */
  .modal-dialog {
    margin: 20px;
  }
}

/* ==========================
BOOSTRAP RESPONSIVE HORIZONTAL
=========================== */
@media (min-width: 640px) and (max-width: 767px) {
  
/*  HERO - HORIZONTAL */
  .hero {
    background-image: url('../img/hero-mobile.jpg');
  }

  .hero-frase span {
  display: inline-block;
  padding: 0px 18px;
  border-radius: 8px;
  color: #5a2d82;
  max-width: 100%;
}

  .hero-logos,
  .hero-content {
    position: relative;
    z-index: 2;
    padding-top: 10px;
  }

  .hero-logos img {
    height: 48px;
  }

  .hero-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
  text-align: center;
	padding-top: 0;
  }

  .hero-frase {
    color: #5a2d82;
    font-size: 2rem;
    max-width: 100%;
  }

/*  AFILIATE - HORIZONTAL */
  .afiliate-imagen {
    display: none;
  }
}