  @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Playfair+Display:wght@600&display=swap');
    :root {
      --morado-principal: #926399;
      --rosa-brillante: #ff4081;
      --rosa-oscuro: #f50057;
      --fondo-claro: #fff;
      --texto-principal: #333;
      --blanco: #fff;
      --fondo-degradado-claro: linear-gradient(145deg, #fce4ec, #f3e5f5); /* rosa pálido a lila claro */
--fondo-seccion-claro: linear-gradient(to bottom right, #ffffff, #fdf1fa, #f1e4f9); /* secciones */
    }
    body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--fondo-degradado-claro); /* NUEVO fondo más claro */
  color: var(--texto-principal);
  line-height: 1.7;
  font-size: 16px;
  letter-spacing: 0.2px;
  position: relative;
}
    a {
      text-decoration: none;
      color: inherit;
    }

   header {
  background-color: var(--morado-principal);
  color: var(--blanco);
  padding: 2rem 1rem; /* Aumenta el alto */
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px; /* Altura fija opcional */
}
    @keyframes zoomBrillo {
      0%, 100% {
        transform: scale(1);
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4), 0 0 10px var(--rosa-brillante), 0 0 20px var(--rosa-brillante);
      }
      50% {
        transform: scale(1.05);
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 15px var(--rosa-brillante), 0 0 30px var(--rosa-brillante);
      }
    }
    h1, h2 {
      font-family: 'Playfair Display', serif;
      text-align: center;
      margin: 20px 0;
      text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4), 0 0 10px var(--rosa-brillante), 0 0 20px var(--rosa-brillante);
      transition: all 0.3s ease;
      animation: zoomBrillo 3s ease-in-out infinite;
      transition: all 0.3s ease;
    }
    h1 {
      font-size: 2rem;
      color: #fff;
    }
    h2 {
      font-size: 1.6rem;
      color: var(--morado-principal);
    }
    h1.glosario {
  margin-top: 100px; /* Asegura que esté debajo de decorativas y título */
  font-size: 2.5rem;
  color: #fff;
  text-align: center;
  font-family: 'Playfair Display', serif;
  animation: zoomBrillo 3s ease-in-out infinite;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 12px var(--rosa-brillante), 0 0 25px var(--rosa-brillante);
  border-bottom: 3px solid var(--rosa-brillante);
  display: block;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 0.5rem;
}
    .hamburguesa {
      position: fixed;
      top: 20px;
      left: 2px;
      font-size: 1rem;
      background: var(--morado-principal);
      border: none;
      color: var(--blanco);
      border-radius: 10px;
      padding: 0.5rem 0.7rem;
      cursor: pointer;
      z-index: 1100;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
      font-weight: 600;
    }
    .hamburguesa:hover {
      background: var(--rosa-brillante);
    }
    nav {
      position: fixed;
      top: 0;
      left: -220px;
      width: 200px;
      height: 100vh;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(12px);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 1.2rem;
      transition: left 0.3s ease;
      z-index: 1050;
    }
    nav.mostrar {
      left: 0;
    }
    nav a {
      background: var(--rosa-brillante);
      color: var(--blanco);
      padding: 0.6rem 1.2rem;
      border-radius: 20px;
      font-weight: 500;
      transition: all 0.3s ease;
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
      font-size: 1rem;
    }
    nav a:hover {
      transform: scale(1.05);
      background: var(--rosa-oscuro);
    }
    .seccion {
      max-width: 1100px;
      margin: 2rem auto;
      padding: 1rem 2rem;
      background: linear-gradient(to bottom right, #ffffff, #f5f5f5, #eaeaea);
      border-radius: 20px;
      box-shadow: 0 0 25px rgba(0, 0, 0, 0.05);
    }
    .bloque {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 2rem;
      gap: 1.5rem;
      flex-wrap: wrap;
      opacity: 0;
      animation: fadeSlideIn 1s ease forwards;
    }
    .bloque:nth-child(1) { animation-delay: 0.3s; }
    .bloque:nth-child(2) { animation-delay: 0.6s; }
    .bloque:nth-child(3) { animation-delay: 0.9s; }
    .bloque:nth-child(4) { animation-delay: 1.2s; }
    .bloque:nth-child(even) {
      flex-direction: row-reverse;
    }
    @keyframes flotarYrotar {
      0% { transform: rotate(0deg) translateY(0); }
      25% { transform: rotate(2deg) translateY(-3px); }
      50% { transform: rotate(0deg) translateY(0); }
      75% { transform: rotate(-2deg) translateY(-3px); }
      100% { transform: rotate(0deg) translateY(0); }
    }
    .bloque img {
      width: 100%;
      max-width: 500px;
      border-radius: 20px;
      box-shadow: 0 10px 20px rgba(0,0,0,0.3);
      object-fit: contain;
      transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
      animation: flotarYrotar 4s ease-in-out infinite;
    }
    .bloque img:hover {
      transform: scale(1.04);
      filter: drop-shadow(0 0 6px var(--rosa-brillante));
    }
    .bloque img:active {
      box-shadow: 0 0 20px var(--rosa-brillante), 0 0 40px var(--morado-principal), 0 0 60px white;
      transform: scale(0.97) rotate(-1deg);
    }
    .texto {
      flex: 1;
      text-align: justify;
      font-size: 1.05rem;
      color: #444;
      min-width: 280px;
      font-family: 'Poppins', sans-serif;
    }
    @keyframes fadeSlideIn {
      0% {
        opacity: 0;
        transform: translateY(40px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }
    .bloque {
      opacity: 0;
      transform: translateY(40px);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .bloque.visible {
      opacity: 1;
      transform: translateY(0);
      animation: fadeSlideIn 1s ease forwards;
    }
    @media screen and (max-width: 768px) {
      .bloque, .bloque:nth-child(even) {
        flex-direction: column;
        text-align: center;
      }
      .decorativas {
        display: none;
      }
      h1 {
        font-size: 1.6rem;
      }
      h2 {
        font-size: 1.4rem;
      }
      .texto {
        font-size: 1rem;
      }
    }
    .decorativas {
      position: fixed;
      top: 10px;
      left: 100px;
      display: flex;
      gap: 12px;
      z-index: 1100;
      align-items: center;
    }
    .circulo {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
      border: 2px solid var(--morado-principal);
    }
    .circulo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .titulo-inmujer {
      color: var(--blanco);
      font-weight: bold;
      font-size: 1.3rem;
      animation: brilloInmujer 2.5s infinite ease-in-out;
      transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
      cursor: pointer;
    }
    .titulo-inmujer:hover {
      color: var(--rosa-brillante);
      transform: scale(1.1);
      text-shadow: 0 0 12px var(--rosa-brillante), 0 0 24px var(--rosa-oscuro), 0 0 36px #fff;
    }
    @keyframes brilloInmujer {
      0%, 100% {
        text-shadow: 0 0 4px var(--rosa-brillante), 0 0 8px var(--rosa-oscuro);
        transform: scale(1);
      }
      50% {
        text-shadow: 0 0 14px var(--rosa-brillante), 0 0 28px var(--rosa-oscuro), 0 0 32px white;
      }
    }
    h1, h2 {
      font-family: 'Playfair Display', serif;
      text-align: center;
      margin: 2.5rem auto 1.5rem;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 12px var(--rosa-brillante), 0 0 25px var(--rosa-brillante);
      transition: all 0.3s ease;
      max-width: 900px;
      font-weight: 700;
      padding-bottom: 0.5rem;
      border-bottom: 2px solid var(--rosa-brillante);
    }
    h1 {
      font-size: 3rem;
      color: #fff;
      left: 140px;
    }
    h2 {
      font-size: 2.2rem;
      color: var(--morado-principal);
    }
    .hero {
      background: url("img/mujeres-felices-tiro-medio-posando-playa_23-2149313109.jpg") no-repeat center center/cover;
      color: #fff;
      text-align: center;
      padding: 6rem 2rem;
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      min-height: 70vh;
      overflow: hidden;
      margin-top: 0;
      border: none;
    }
    .hero::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(74, 20, 140, 0.5);
      z-index: 1;
    }
    .hero-content {
      position: relative;
      z-index: 2;
    }
    .tarjetas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: auto;
}

.tarjeta {
  background: var(--fondo-claro);
  color: var(--texto-principal);
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  width: 240px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

.tarjeta:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.tarjeta h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--morado-principal);
  margin-bottom: 0.8rem;
}

.tarjeta p {
  font-size: 0.95rem;
  color:whitesmoke;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 1200;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 20, 0.7);
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(6px);
}

.modal-content {
   background: linear-gradient(145deg,#898ac4,#b13bff,#a2aadb,  #926399);
  padding: 2rem;
  border-radius: 20px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  animation: fadeModal 0.4s ease;
  text-align: center;
}

.modal-content h2 {
  color: #6617ee;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.modal-content p {
  color:rgb(23, 22, 22);
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  line-height: 1.5;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: linear-gradient(45deg, var(--morado-principal), var(--rosa-brillante));
  color: var(--blanco);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  width: 32px;
  height: 32px;
  cursor: pointer;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}

.close-btn:hover {
  transform: scale(1.1);
}

@keyframes fadeModal {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* RESPONSIVE TARJETAS */
@media (max-width: 600px) {
  .tarjetas {
    flex-direction: column;
    align-items: center;
  }
}
.tarjeta {
    background: var(--fondo-claro);
  border: 3px solid transparent;
  background-clip: padding-box;
  position: relative;
  z-index: 1;
}

.tarjeta::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(135deg, var(--morado-principal), var(--fondo-claro));
  border-radius: 20px;
  z-index: -1;
  opacity: 0.6;
  filter: blur(5px);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.tarjeta:hover::before {
  opacity: 1;
  filter: blur(8px);
}
.tarjeta h3 {
  font-size: 1.3rem;
  color: var(--morado-principal);
  margin-bottom: 0.8rem;
  position: relative;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
  text-shadow: 0 0 1px var(--morado-principal); /* Contorno suave */
}

.tarjeta h3::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background-color: var(--rosa-brillante);
  border-radius: 2px;
}
.tarjeta:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow:
    0 12px 25px rgba(0, 0, 0, 0.3),
    0 0 15px var(--rosa-brillante),
    0 0 25px var(--rosa-brillante);
}

/* Carrusel centrado con transición suave */
.carrusel {
  width: 100%;
  max-width: 600px;
  height: 300px;
  margin: 40px auto;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.carrusel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carrusel-track img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* Asegura que se expande completamente */
  height: 100%; /* Llena la altura del carrusel */
  object-fit: contain; /* Mantiene la proporción y recorta lo que sobra */
  background-color :var(--fondo-degradado-claro);
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
  border-radius: 20px; /* Opcional: para mantener las esquinas redondeadas */
}

.carrusel-track img.activa {
  opacity: 1;
  z-index: 1;
}
.tarjeta h3 {
  font-size: 1.3rem;
  color: var(--morado-principal);
  margin-bottom: 0.8rem;
  position: relative;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
  text-shadow: 0 0 1px var(--morado-principal); /* Contorno suave */
}

.tarjeta h3::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background-color: var(--rosa-brillante); /* Línea rosa debajo */
  border-radius: 2px;
}

.tarjeta:hover h3 {
  transform: scale(1.1);
  text-shadow:
    0 0 4px var(--rosa-brillante),
    0 0 10px var(--rosa-brillante),
    0 0 15px var(--rosa-brillante); /* Efecto de brillo rosa */
}
@media screen and (max-width: 600px) {
  html {
    font-size: 100%; /* Escala general */
  }

  body {
    padding: 0;
    margin: 0;
    font-size: 0.95rem;
  }

  header {
    height: auto;
    padding: 1rem;
    flex-direction: column;
  }

  .hamburguesa {
    top: 12px;
    left: 12px;
    font-size: 0.85rem;
    padding: 0.4rem 0.7rem;
  }

  .decorativas {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
  }

  .circulo {
    width: 60px;
    height: 60px;
  }

  .titulo-inmujer {
    font-size: 1.1rem;
    text-align: center;
  }

  h1, h1.glosario {
    font-size: 2rem;
    padding: 0 1rem;
    margin-top: 130px;
  }

  h2 {
    font-size: 1.3rem;
  }

  .hero {
    padding: 3rem 1rem;
    min-height: 50vh;
    background-position: center center;
  }

  .bloque {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .bloque:nth-child(even) {
    flex-direction: column;
  }

  .bloque img {
    width: 90%;
    max-width: 100%;
  }

  .texto {
    font-size: 1rem;
    padding: 0 1rem;
    text-align: justify;
  }

  .seccion {
    padding: 1rem;
    margin: 1rem;
    border-radius: 16px;
  }

  .tarjetas {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem 1rem;
  }

  .tarjeta {
    width: 90%;
    padding: 1rem;
    max-width: 320px;
  }

  .modal-content {
    width: 90%;
    padding: 1.2rem;
    border-radius: 16px;
  }

  .carrusel {
    max-width: 100%;
    height: 220px;
    margin: 2rem auto;
  }

  .carrusel-track img {
    object-fit: cover;
    border-radius: 16px;
  }

  nav {
    width: 180px;
  }

  nav a {
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
  }
}