/*
Theme Name: Tema Template nivel 2
Theme URI: http://example.com
Author: Alejandro Cortes
Author URI: http://example.com
Description: Un tema personalizado desde cero
Version: 1.0
*/

/* Estilos principales y x defecto */

:root {
  --main-green-color: #01a499;
  --main-light-green-color: #49beb6;
  --main-lighter-green-color: #f2fbfa;
  --main-darker-green-color: #304f55;
  --main-dark-grey-color: #394049;
  --main-grey-color: #5e6269;
  --main-orange-color: #e37604;
  --variant-green-color: #2b9b7c;
  --main-purple-color: #8C4799;
}

* {
  box-sizing: border-box;
  font-family: "Nunito Sans", sans-serif;
  margin: 0;
  padding: 0;
}

/* Override específico para listas en FAQ - restaurar viñetas */
.faq-answer-content ul,
.faq-answer-content ol,
.texto-adicional-content ul,
.texto-adicional-content ol {
  list-style: revert !important;
  margin: revert !important;
  padding: revert !important;
}

.faq-answer-content ul li,
.texto-adicional-content ul li {
  list-style-type: disc !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.faq-answer-content ol li,
.texto-adicional-content ol li {
  list-style-type: decimal !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

body {
  font-family: "Atkinson Hyperlegible", sans-serif;
  margin: 0;
  background-repeat: no-repeat;
  display: grid;
  min-height: 100dvh;
  width: 100dvw;
  grid-template-columns: 1fr;
  grid-template-rows: min-content 1fr min-content;
  grid-auto-rows: min-content;
}

h1 {
  font-size: 3.2rem; /* 51.2px */
  font-stretch: semi-expanded;
}

h2 {
  font-size: 2.7rem; /* 43.2px */
  font-stretch: semi-expanded;
}

h3 {
  font-size: 2.2rem; /* 35.2px */
  font-stretch: semi-expanded;
}

h4 {
  font-size: 2rem; /* 32px */
}

h5 {
  font-size: 1.7rem; /* 27.2px */
}

h6 {
  font-size: 1.5rem; /* 24px */
  font-family: "Atkinson Hyperlegible", sans-serif;
}

p {
  font-size: 1.35rem; /* 21.6px */
  font-family: "Atkinson Hyperlegible", sans-serif;
}
strong {
  font-family: "Nunito sans", sans-serif;
}
a {
  font-size: 1.35rem; /* 21.6px */
  font-family: "Nunito sans", sans-serif;
  font-weight: bold;
  text-decoration: none;
}
a:hover {
  cursor: pointer;
}
button:hover {
  cursor: pointer;
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem; /* 40px */
  }

  h2 {
    font-size: 2.2rem; /* 35.2px */
  }

  h3 {
    font-size: 1.8rem; /* 28.8px */
  }

  h4 {
    font-size: 1.6rem; /* 25.6px */
    font-family: "Atkinson Hyperlegible", sans-serif;
  }

  h5 {
    font-size: 1.5rem; /* 24px */
    font-family: "Atkinson Hyperlegible", sans-serif;
  }

  h6 {
    font-size: 1.4rem; /* 22.4px */
  }

  p {
    font-size: 1.2rem; /* 19.2px */
  }
  a {
    font-size: 1.2rem; /* 19.2px */
  }
}
/*TODO: EVALUAR SI DEJAR LAS FUENTES EN EL MEDIA QUERY */
li {
  list-style: none;
}
.a-bordered {
  width: fit-content;
  height: fit-content;
  padding: 8px 15px;
  border: 1.5px solid var(--main-purple-color);
  background-color: transparent;
  border-radius: 25px;
  font-size: 1.25rem;
  color: var(--main-purple-color);
  font-weight: 800;
}

.a-bordered-grey {
  color: var(--main-dark-grey-color);
  border-color: var(--main-dark-grey-color);
}

.main-header {
  margin-bottom: 20px;
}

.main-nav {
  z-index: 999;
  background-color: var(--main-green-color);
  margin-bottom:1vw;
  display: flex;
  justify-content: space-between;
  min-height: 120px;
  border-bottom-left-radius: 90px;
  border-bottom-right-radius: 90px;
  overflow: hidden;
  max-width: 100%;
  > a {
    display: grid;
    margin-left: 56px;
  }
  ul{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-right: 36px;
  }
}

.button-test:hover{
  filter: brightness(0.8);
}

.front-nav {
  position: absolute;
  right: 0%;
  left: 0%;
  top: 0%;
}

.main-nav img {
  width: auto;
  height: 80px;
  margin: auto 0px;
}

.main-nav div {
  margin-inline: 10px;
  width: 100%;
  ul {
    height: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: end;
  }
}
.main-nav li {
  width: max-content;
  a {
    display: block;
    color: white;
    padding: 20px;
  }
}
.menu-btn {
  display: none;
}

.slider-nav {
  z-index: -1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
  /* TODO: EVALUAR RESPONSIVE, opciones: min-height, height 70vh, dejar aspect-ratio 
  width fijo y height movil, width movil y heigth fijo, etc... */
  img {
    aspect-ratio: 30/10;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0px 0 5vw 5vw;
  }
}

/* Estilo usado en los pages para que las imagenes mantengan su formato */
.onlyPageContent {
  margin-top: 120px;
  ul {
    height: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: end;
  }
}

.main-nav li {
  width: max-content;
  a {
    display: block;
    color: white;
    padding: 20px;
  }
}
.menu-btn {
  display: none;
}

.slider-nav {
  z-index: -1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
  /* TODO: EVALUAR RESPONSIVE, opciones: min-height, height 70vh, dejar aspect-ratio 
  width fijo y height movil, width movil y heigth fijo, etc... */
  img {
    aspect-ratio: 30/10;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0px 0 5vw 5vw;
  }
}

@media (max-width: 768px) {
  .onlyPageContent {
    margin-top: 0px;
  }
  .main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-radius: 0px;
    grid-template-columns: 1fr min-content;
    height: auto;
    text-align: center;
    position: relative;
    margin: 0vw;
  }
  .logo {
    width: min-content;
    display: flex;
  }
  .main-nav img {
    min-width: 200px;
    width: 50%;
    height: auto;
  }
  .main-nav div {
    display: none;
    flex-direction: column;
    grid-column: 1/-1;
    margin-inline: 0px;
  }

  .main-nav li {
    width: 100%;
    text-align: center;
    a {
      display: block;
      padding: 20px;
    }
  }
  .menu-btn {
    display: grid;
    color: white;
    width: fit-content;
    background-color: transparent;
    cursor: pointer;
    place-self: center;
    border: none;
    text-align: left;
    & span {
      place-self: center;
      grid-column: 1;
      width: 30px;
      margin-right: 10px;
      border: 2px solid white;
    }
    & p {
      font-size: 1.5rem;
      grid-column: 2;
      grid-row: 1/4;
      padding-right: 20px;
    }
  }
  .main-header {
    display: flex;
    flex-direction: column-reverse;
  }
}

/* SECCION DE NOTICIAS */
.content {
  display: grid;
  gap: 150px;
  padding-bottom: 80px;
}



.section-noticias {
  margin-inline: 7vw;
  display: grid;
  place-items: center;
  min-height: 50vh;
  padding-left: 300px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  height: 100%;
  padding-bottom: 4rem;
}

.card-noticia {
  width: 80%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  gap: 16px;
  padding: 16px;
  background: white;
  border-radius: 12px;
  
  div {
    aspect-ratio: 16/9;
    width: 100%;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 5px 5px 0px 0px var(--main-dark-grey-color);
    
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
  }
  
  p {
    color: var(--main-dark-grey-color);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4.5em;
    text-overflow: ellipsis;
    line-clamp: 3; /* Standard property */
}
  
  .a-bordered {
    margin-top: auto;
    padding: 8px 24px;
    border: 1.5px solid var(--main-purple-color);
    color: var(--main-purple-color);
    border-radius: 25px;
    font-weight: 700;
    transition: all 0.3s ease;
    
    &:hover {
      background-color: var(--main-purple-color);
      color: white;
    }
  }
}


.section-noticias header {
  width: 40vw;
  max-width: 450px;
  min-width: 200px;
  position: absolute;
  left: 0;
  background-color: white;
  z-index: 2;
  transform: translateX(-30%);
  text-align: end;
  padding: 24px;
  
  h2 {
    color: var(--main-purple-color);
    margin: 0;
    font-size: 2.5rem;
  }
}
.circle {
  width: 40vw;
  max-width: 450px;
  min-width: 230px;

  position: absolute;
  aspect-ratio: 1 / 1;
  display: block;
  z-index: -999;
  left: 0%;
  transform: translate(-35%, 0%);
  border-radius: 50%;
  background-size: 100% 100%;
  background-position: 0px 0px;
  background-image: conic-gradient(
    from 0deg at 50% 50%,
    var(--main-purple-color) 5%,
    var(--main-dark-grey-color) 5%,
    var(--main-dark-grey-color) 45%,
    var(--main-purple-color) 45%
  );
  background-repeat: no-repeat;

  &::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    height: 93%;
    width: 93%;
    border-radius: 50%;
    background-color: white;
    transform: translate(-50%, -50%);
    z-index: 1;
  }
}

.pagination {
  text-align: center;
  a {
    color: var(--main-green-color);
  }
  span {
    color: var(--main-green-color);
    font-size: 21px;
    font-weight: 700;
  }
}

@media (max-width: 1200px) {
  .section-noticias {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding-left: 200px;
  }
}

@media (max-width: 768px) {
  .section-noticias {
    padding-left: 24px;
    padding-right: 24px;
    margin-inline: 0;
    grid-template-columns: 1fr;
  }
  
  .section-noticias header {
    position: relative;
    width: 100%;
    transform: none;
    text-align: center;
    margin-bottom: 32px;
    
    h2 {
      font-size: 2rem;
    }
  }
  
  .circle {
    display: none;
  }
  
  .card-noticia {
    max-width: 500px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .section-noticias {
    padding-inline: 16px;
  }
  
  .card-noticia div {
    aspect-ratio: 4/3;
  }
}


@media (max-width: 550px) {
  .content {
    padding-block: 10px;
  }
  .section-noticias {
    padding-left: 150px;
    grid-template-columns: 1fr;
  }
  .section-noticias header {
    width: fit-content;
    transform: translateX(10%);
  }
}

/* SECCION DE GALERIA */

.section-galeria {
  padding: 7vw;
  padding-bottom: 20px;

  display: grid;
  height: 100%;
  width: 100%;
  grid-template-columns: 10fr 13fr 10fr;
  gap: 50px;
  place-items: center;
  background-color: var(--main-lighter-green-color);
  header {
    grid-column: 1/-1;
    place-self: center;
    h2 {
      font-weight: 900;
      color: var(--main-dark-grey-color);
    }
  }
  a {
    grid-column: 1/-1;
  }
}

.section-galeria-2 {
  padding: 7vw;
  padding-bottom: 20px;

  display: grid;
  height: 100%;
  width: 100%;
  grid-template-columns: 8fr 8fr 8fr;
  gap: 50px;
  place-items: center;
  background-color: var(--main-lighter-green-color);
  header {
    grid-column: 1/-1;
    place-self: center;
    h2 {
      font-weight: 900;
      color: var(--main-dark-grey-color);
    }
  }
  a {
    grid-column: 1/-1;
  }
}
.card-galeria {
  width: 100%;
  background-color: white;
  padding: 6%;
  border-radius: calc(5% + 20px);
  -webkit-box-shadow: 0px 0px 25px 7px rgba(0, 0, 0, 0.22);
  -moz-box-shadow: 0px 0px 25px 7px rgba(0, 0, 0, 0.22);
  box-shadow: 0px 0px 25px 7px rgba(0, 0, 0, 0.22);
  div {
    aspect-ratio: 20/19;
    width: 100%;
    height: auto;
    border-radius: 25px;
    a img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 25px;
    }
  }
  p {
    padding: 15px 7px;
    font-size: 140%;
    font-family: "Nunito Sans", sans-serif;
    font-weight: 600;
    text-wrap: pretty;
    line-height: 2rem;
    color: var(--main-dark-grey-color);
  }
}
@media (max-width: 768px) {
  .section-galeria {
    grid-template-columns: 1fr;
  }
  .card-galeria {
    width: 70%;
    padding: 3%;
  }
}

.top-wave {
  position: relative;
  overflow: visible;
  &::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 10px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(
      --main-lighter-green-color
    ); /* Color que quieras para el fondo */
    mask-image: url("data:image/svg+xml,%3Csvg%20width%3D%221677%22%20height%3D%22197%22%20viewBox%3D%220%200%201677%20197%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M193%2040C147%2015.6981%20101.5%200.500002%200.5%200.5V179.5L1677%20196V4.99998C1591.5%20-9%201525.53%2020.0328%201472%2047C1406.5%2080%201226.25%20120.893%201035.5%2040C844.5%20-41%20669.5%2025.5%20622%2040C595.284%2048.1554%20463.5%2087.5%20391.5%2086C319.5%2084.5%20267.214%2079.2075%20193%2040Z%22%20fill%3D%22%23ffffff%22%20stroke%3D%22%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    transform: translateY(-100%); /* Ajusta la posición de la onda */
  }
}

/* SECCION DE DESTACADOS */

.top-color {
  position: relative;
  overflow: visible;
  &::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -150px;
    left: 0;
    width: 100%;
    height: 150px;
    background-color: var(--main-lighter-green-color);
  }
}
.back-balls {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  .sphere {
    aspect-ratio: 1/1;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 18%;
    height: auto;
    background-image: linear-gradient(
      165deg,
      var(--main-green-color) 0,
      var(--main-darker-green-color) 100%
    );
    border-radius: 100%;
    filter: blur(0.3rem);
    z-index: -2;
  }
  .sphere:nth-child(1) {
    top: -10px;
    left: -50px;
    border-radius: 0% 0% 100% 0;
  }
  .sphere:nth-child(2) {
    top: auto;
    left: auto;
    bottom: 15%;
    width: 25%;
    right: 0px;
    background-image: linear-gradient(
      200deg,
      var(--main-green-color) 0,
      var(--main-darker-green-color) 100%
    );
    transform: translateX(40%);
    border-radius: 100%;
  }
  .sphere:nth-child(3) {
    top: auto;
    left: 15%;
    bottom: 0%;
    right: auto;
    width: 15%;
    background-image: linear-gradient(
      -17deg,
      var(--main-green-color) 20%,
      var(--main-darker-green-color) 90%
    );
    transform: translateY(30%);
    border-radius: 100%;
  }
  .sphere:nth-child(4) {
    top: 0%;
    left: auto;
    bottom: auto;
    right: 5%;
    width: 14%;
    transform: translateY(-40%);
    background-image: linear-gradient(
      180deg,
      var(--main-green-color) 10%,
      var(--main-darker-green-color) 80%
    );
    border-radius: 100%;
  }
  .sphere:nth-child(5) {
    top: 0%;
    left: auto;
    bottom: auto;
    right: 40%;
    width: 19%;
    transform: translateY(-64%);
    background-image: linear-gradient(
      180deg,
      var(--main-green-color) 10%,
      var(--main-darker-green-color) 80%
    );
    border-radius: 100%;
  }
  .sphere:nth-child(6) {
    top: auto;
    left: 30%;
    bottom: 30%;
    right: auto;
    width: 13%;
    background-image: linear-gradient(
      180deg,
      var(--main-green-color) 10%,
      var(--main-darker-green-color) 80%
    );
    border-radius: 100%;
  }
  .sphere:nth-child(7) {
    top: auto;
    right: 30%;
    bottom: 0%;
    left: auto;
    width: 13%;
    background-image: linear-gradient(
      120deg,
      var(--main-green-color) 0%,
      var(--main-darker-green-color) 100%
    );
    border-radius: 100%;
  }
  .sphere:nth-child(8) {
    display: none;
    top: 30%;
    right: 15%;
    bottom: auto;
    left: auto;
    width: 40%;
    background-image: linear-gradient(
      120deg,
      var(--main-green-color) 20%,
      var(--main-darker-green-color) 50%
    );
    border-radius: 100%;
  }
}
.section-destacados {
  padding: 10vw;
  background: linear-gradient(
    0deg,
    var(--main-green-color) 15%,
    var(--main-darker-green-color) 100%
  );

  position: relative;
  z-index: -1;
  /* Propiedades adicionales */
  background-size: cover;
  background-blend-mode: overlay; /* Permite que los colores se mezclen */
  display: grid;
  min-height: 50dvh;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: min-content;
  grid-auto-rows: 1fr;
  place-items: center;
  gap: 40px;
  header {
    grid-row: 1;
    grid-column: 1/-1;
    padding-bottom: 20px;
    h2 {
      color: white;
    }
  }
  .card-destacado {
    width: 100%;
    height: fit-content;
    div {
      aspect-ratio: 3/2;
      width: 80%;
      height: auto;
      margin: auto;
      border-radius: 20px;
      -webkit-box-shadow: 0px 0px 20px 6px rgba(0, 0, 0, 0.18);
      -moz-box-shadow: 0px 0px 20px 6px rgba(0, 0, 0, 0.18);
      box-shadow: 0px 0px 20px 6px rgba(0, 0, 0, 0.18);
      a img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 25px;
      }
    }
  }
}
@media (max-width: 768px) {
  .back-balls .sphere:nth-child(8) {
    display: initial;
  }
  .section-destacados {
    grid-template-columns: 1fr;
  }
  .card-destacado {
    width: 70%;
  }
}

/* SECCION DE VIDEOS */

.video-adapted {
  height: 100%; /* Asegura que tome toda la altura disponible */
  display: flex;
  flex-direction: column;
  
  p {
    padding-bottom: 5px;
  }
  
  div {
    flex: 1; /* Hace que el div del video tome el espacio restante */
    display: flex;
    flex-direction: column;
    
    iframe {
      width: 100%;
      height: 100%; /* El iframe tomará toda la altura del div padre */
      border-radius: 25px;
      min-height: 300px; /* Asegura una altura mínima */
    }
  }
}

.galeria-videos {
  padding-top: 0px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}

.bottom-wave {
  position: relative;
  overflow: visible;
  margin-bottom: 200px;
  &::after {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: 0%;
    left: 0%;
    width: 100%;
    height: 100px;
    background-color: var(
      --main-lighter-green-color
    ); /* Color que quieras para el fondo */
    mask-image: url("data:image/svg+xml,%3Csvg%20width%3D%221677%22%20height%3D%22197%22%20viewBox%3D%220%200%201677%20197%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M193%2040C147%2015.6981%20101.5%200.500002%200.5%200.5V179.5L1677%20196V4.99998C1591.5%20-9%201525.53%2020.0328%201472%2047C1406.5%2080%201226.25%20120.893%201035.5%2040C844.5%20-41%20669.5%2025.5%20622%2040C595.284%2048.1554%20463.5%2087.5%20391.5%2086C319.5%2084.5%20267.214%2079.2075%20193%2040Z%22%20fill%3D%22%23ffffff%22%20stroke%3D%22%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    transform: rotateX(180deg) translateY(-100%); /* Ajusta la posición de la onda */
  }
}

@media (max-width: 768px) {
  .galeria-videos {
    grid-template-columns: 1fr;
  }
}

/* SECCION DE BIBLIOTECA DIGITAL */

.section-biblio {
  width: 100%;
  height: 100%;
  padding: 6vw;
  grid-template-columns: 2fr 1fr;
  position: relative;
  overflow-y: visible;
  overflow-x: clip;
  header {
    width: 40vw;
    max-width: 450px;
    min-width: 230px;

    position: absolute;
    aspect-ratio: 1 / 1;
    z-index: 1;
    top: 50%;
    right: 0%;
    transform: translate(30%, -50%);
    border-radius: 50%;
    overflow: visible;
    background-size: 100%;
    background-position: 200% 200%;
    background-image: conic-gradient(
      from 180deg at 50% 50%,
      var(--main-green-color) 5%,
      var(--main-dark-grey-color) 5%,
      var(--main-dark-grey-color) 45%,
      var(--main-green-color) 45%
    );
    background-repeat: no-repeat;
    border: 0px;

    &::after {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      height: 93%;
      width: 93%;
      border-radius: 50%;
      background-color: white;
      transform: translate(-50%, -50%);
      z-index: 1;
    }

    h2 a {
      color: var(--main-green-color);
      display: block;
      position: absolute;
      top: 50%;
      font-weight: 800;
      left: -50px;
      width: 50%;
      transform: translateY(-50%);
      background-color: white;
      z-index: 99;
      font-size: smaller;
    }
  }
}

.section-biblio2 {
  width: 100%;
  height: 100%;
  padding: 6vw;
  grid-template-columns: 2fr 1fr;
  position: relative;
  overflow-y: visible;
  overflow-x: clip;
  header {
    width: 40vw;
    max-width: 450px;
    min-width: 230px;

    position: absolute;
    aspect-ratio: 1 / 1;
    z-index: 1;
    top: 50%;
    right: 0%;
    transform: translate(30%, -50%);
    border-radius: 50%;
    overflow: visible;
    background-size: 100%;
    background-position: 200% 200%;
    background-image: conic-gradient(
      from 180deg at 50% 50%,
      var(--main-green-color) 5%,
      var(--main-dark-grey-color) 5%,
      var(--main-dark-grey-color) 45%,
      var(--main-green-color) 45%
    );
    background-repeat: no-repeat;
    border: 0px;

    &::after {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      height: 93%;
      width: 93%;
      border-radius: 50%;
      background-color: white;
      transform: translate(-50%, -50%);
      z-index: 1;
    }

    h2 {
      color: var(--main-green-color);
      display: block;
      position: absolute;
      top: 50%;
      font-weight: 800;
      left: -50px;
      width: 50%;
      transform: translateY(-50%);
      background-color: white;
      z-index: 99;
    }
  }
}
.pagination {
  text-align: center;
  a {
    color: var(--main-green-color);
  }
  span {
    color: var(--main-green-color);
    font-size: 21px;
    font-weight: 700;
  }
}

.card-biblio-container {
  display: grid;
  width: calc(60vw - 50px);
  min-height: 40vh;
  height: 100%;
  z-index: -999;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  place-items: center;
  gap: 50px;
  grid-template-rows: 1fr;
  grid-auto-rows: 1fr;
  padding-bottom: 40px;
}
.card-biblio {
  display: grid;
  margin: auto;
  width: 100%;
  height: 100%;
  background-color: white;
  border: 1.5px solid var(--main-green-color);
  border-radius: 10px;
  padding-block: 30%;
  text-align: start;
  -webkit-box-shadow: 5px 5px 0px 0px var(--main-green-color);
  -moz-box-shadow: 5px 5px 0px 0px var(--main-green-color);
  box-shadow: 5px 5px 0px 0px var(--main-green-color),
    10px 10px 0px 0px var(--main-light-green-color);
  p {
    display: grid;
    padding-inline: 1.7rem 0.5em;
    align-self: center;
    font-size: 1.7rem;
    font-weight: 500;
    text-wrap: balance;
    color: var(--main-dark-grey-color);
    a strong {
      color: var(--main-green-color);
    }
  }
}

@media (max-width: 768px) {
  .section-biblio {
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    gap: 30px;
    header {
      position: relative;
      grid-column: 1;
    }
  }
  .card-biblio-container {
    grid-template-columns: 1fr;
    width: 80%;
    margin: auto;
  }
  .card-biblio p {
    font-size: 1.5rem;
  }
}

.buton-biblio {
  margin: auto;
  display: block;
}

/* SECCION DE PREGUNTS FRECUENTES */
.section-faq {
  padding-bottom: 50px;
}

.faq {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-block: 20px;
  border-radius: 5px;
  position: relative;
  background-color: white; /* Fondo blanco dentro de la caja */
}

.faq::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  z-index: -2;
  border-radius: 10px;
  background: linear-gradient(
    var(--main-orange-color) 10%,
    var(--main-green-color) 90%
  );
}

.faq::after {
  content: "";
  width: 50px;
  height: 50px;
  transform: rotate(45deg) translateY(50%);
  position: absolute;
  right: 10%;
  bottom: 0%;
  z-index: -1;
  background-color: white;
  border: 5px solid var(--main-green-color);
}

.faq-sombra-1 {
  position: absolute;
  right: 7%;
  top: 10px;
  z-index: -4;
  border-radius: 10px;
  padding-bottom: 25px;
  background: linear-gradient(
    var(--main-orange-color) 10%,
    var(--main-green-color) 90%
  );
  &::after {
    z-index: -6;
  }
  &::before {
    top: 5px;
    bottom: 5px;
    left: 5px;
    right: 5px;
    z-index: -5;
    background: white;
    border-radius: 5px;
  }
}

.faq-sombra-2 {
  position: absolute;
  right: 4.5%;
  top: 25px;
  z-index: -7;
  border-radius: 10px;
  background: linear-gradient(
    var(--main-orange-color) 10%,
    var(--main-green-color) 90%
  );
  &::after {
    z-index: -9;
  }
  &::before {
    top: 5px;
    bottom: 5px;
    left: 5px;
    right: 5px;
    z-index: -5;
    background: white;
    border-radius: 5px;
  }
}

.faq h2 {
  color: var(--main-dark-grey-color);
}

@media (max-width: 768px) {
  .faq h2 {
    font-size: 1.5rem;
  }
}

.back-semisphere {
  position: relative;
}
.back-semisphere::after {
  position: absolute;
  top: -150px;
  bottom: -150px;
  left: 0%;
  width: 100%;
  height: auto;
  content: "";
  overflow: visible;
  border-radius: 50% 50% 0% 0%;
  background-color: var(--main-lighter-green-color);
  z-index: -999;
}

/* SECCION DE INDICADORES */

.section-indicadores {
  position: relative;
  min-height: 50vh;
  z-index: 1;
  padding-inline: 7vw;
  padding-bottom: 100px;
  background-image: linear-gradient(
    180deg,
    var(--main-green-color) 0,
    var(--main-darker-green-color) 80%
  );
  display: grid;
  width: 100%;
  place-items: center;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  header {
    grid-column: 1/-1;
    h2 {
      color: white;
      font-size: 3.2rem;
      font-weight: 800;
      font-stretch: normal;
    }
  }
}

.card-circles-indicator {
  aspect-ratio: 1/1;
  width: 210px;
  background-image: linear-gradient(
    350deg,
    var(--main-light-green-color) 0%,
    var(--main-green-color) 20%,
    var(--main-darker-green-color) 70%
  );
  -webkit-box-shadow: 5px 5px 0px 0px var(--main-dark-grey-color);
  -moz-box-shadow: 5px 5px 0px 0px var(--main-dark-grey-color);
  box-shadow: 3px 3px 20px 2px rgba(54, 51, 51, 0.18);
  border-radius: 100%;
  display: grid;
  gap: 0;
  overflow: clip;
  grid-auto-rows: min-content;
  place-items: center;
  place-content: center;
  text-align: center;
  color: white;
  p {
    font-size: 1.1rem;
    padding-inline: 10px;
    text-wrap: pretty;
  }
}

.top-rounded-color {
  &::before {
    content: "";
    position: absolute;
    top: -69px;
    left: 0%;
    height: 70px;
    width: 100%;
    z-index: -1;
    border-radius: 10rem 10rem 0px 0px;
    background-image: linear-gradient(
      0deg,
      var(--main-green-color) 80%,
      var(--main-light-green-color) 200%
    );
  }
}

.bottom-color {
  position: relative;
  overflow: visible;
  &::after {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: 1%;
    left: 0%;
    width: 100%;
    height: 100px;
    background-image: linear-gradient(
      var(--main-darker-green-color) 20%,
      var(--main-dark-grey-color) 100%
    );
    transform: translateY(100%);
  }
}
.bottom-color-green {
  position: relative;
  overflow: visible;
  &::after {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: 1%;
    left: 0%;
    width: 100%;
    height: 100px;
    background-color: var(--main-lighter-green-color);
    transform: translateY(100%);
  }
}
/* SECCION DE REDES */
.section-redes {
  position: relative;
  padding-inline: 10vw;
  display: flex;
  margin-top: -100px;
  background-color: white;
  justify-content: space-evenly;

  align-items: center;
  z-index: 1;
}
.top-white-rounded {
  &::before {
    z-index: 999;
    background-image: linear-gradient(0deg, white, white);
  }
}
.redes {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
@media (max-width: 768px) {
  .section-indicadores {
    header {
      h2 {
        font-size: 2rem;
      }
    }
  }

  .section-redes {
    padding-inline: 0vw;
  }

  .redes {
    width: 50px;
    height: 50px;
    a {
      font-size: 2rem;
    }
    img {
      place-items: center;
    }
  }
}

/*FOOTER */
.main-footer {
  position: relative;
  overflow: visible;
  margin-top: 75px;
  padding-bottom: 20px;
  min-height: 30vh;
  display: grid;
  max-width: 100%;
  padding-inline: 9vw;
  gap: 50px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  place-items: center;
  place-content: center;
  background-color: var(--main-green-color);
  color: white;
  font-size: 4rem;
  &::before {
    z-index: 1;
  }
}

.footer_img_1 {
  height: auto;
  width: 100%;
}

.footer_img_2 {
  height: auto;
  width: 100%;
}

.footer_img_3 {
  height: auto;
  width: 100%;
}

.logo_redes {
  height: 70px;
  width: 70px;
  border-radius: 100px;
}

@media (max-width: 768px) {
  .logo_redes {
    height: 50px;
    width: 50px;
  }
}

.page-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  section {
    h1 {
      text-align: center;
    }
  }
}

.body-page {
  font-family: "Nunito Sans", sans-serif;
  background-color: var(--main-lighter-green-color);
  flex-grow: 1;
  margin-top: 150px;
  padding-top: 40px;
  padding-inline: 8vw;
  padding-bottom: 80px;
  p {
    background-color: var(--main-lighter-green-color);
  }
}

@media (max-width: 1550px) {
  .body-page {
    padding-inline: 6vw;
  }
}

@media (max-width: 1365px) {
  .body-page {
    padding-inline: 7vw;
  }
}
@media screen and (max-width: 800px) {
  .page-content h1 {
    padding-top: 20px;
  }
}

.archive-noticia {
  text-align: center;
  margin-bottom: 16px;
}
.ver-mas:hover {
  background-color: #01a499;
  color: #f2fbfa;
}

.card-noticia-ind {
  margin-bottom: 100px;
  padding-left: 0 !important;
}

.section-noticias-2 {
  margin-inline: 7vw;
  display: grid;
  place-items: center;
  min-height: 50vh;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

  gap: 50px;
  height: 100%;
}

.title-noticia {
  text-align: left;
  font-size: 56px;
  font-family: "Nunito Sans", sans-serif;
  margin-left: 160px;
  margin-right: 160px;
  margin-bottom: 16px;
  font-weight: 650;
  color: #111827;
}

.date-noticia {
  text-align: center;
  margin-bottom: 32px;
}

.bajada-noticia {
  text-align: left;
  font-size: 32px;
  margin-left: 160px;
  margin-right: 160px;
  margin-bottom: 32px;
  color: #4b5563;
}

.images-noticia {
  display: flex;
  width: 100%;
  height: auto;
  justify-content: center;
}

.image-noticia {
  img {
    width: 800px;
    height: auto;
  }
}

@media (max-width: 950px) {
  .image-noticia {
    img {
      width: 600px;
    }
  }
}

@media (max-width: 750px) {
  .image-noticia {
    img {
      width: 400px;
    }
  }
}

.content-noticia {
  margin-top: 80px;
  margin-left: 160px;
  margin-bottom: 160px;
  margin-right: 160px;
  p {
    font-size: 24px;
    color: #1f2937;
  }
}

.title-otras-noticias {
  h2 {
    text-align: center;
  }
}

/* Estilos Para el carrusel optimizado*/

.container-carousel {
  position: relative;
  width: 100%;
  height: 60dvh;
  overflow: hidden;
  background: linear-gradient(135deg, #f2fbfa, #e8f8f7);
}

.carruseles {
  width: 1000%;
  height: 100%;
  display: flex;
  overflow: hidden;
  will-change: transform;
}

/* Estilos Para el Slider del inicio*/

.slider-section {
  background-color: #f8f9fa;
  height: 100%;
  overflow: hidden;
  border-radius: 0px 0 5vw 5vw;
  position: relative;
}

/* Skeleton loader para imágenes no cargadas */
.slider-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    #f0f0f0 25%,
    #e0e0e0 50%,
    #f0f0f0 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  z-index: 1;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.slider-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
  position: relative;
  z-index: 2;
}

/* Ocultar skeleton cuando la imagen está cargada */
.slider-section img.priority-load,
.slider-section img.loaded {
  opacity: 1;
}

.slider-section img.priority-load + ::before,
.slider-section img.loaded + ::before {
  display: none;
}

/* Estados de carga para imágenes */
.slider-image {
  background-color: #f8f9fa;
  min-height: 100%;
}

.slider-image.lazy-slider {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slider-image.loaded,
.slider-image.priority-load {
  opacity: 1;
}

/* Estilos para enlaces del slider */
.slider-link {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.slider-link:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
  cursor: pointer;
}

.slider-link img {
  transition: inherit;
}

/* Optimización para dispositivos con conexión lenta */
@media (prefers-reduced-data: reduce) {
  .slider-section::before {
    animation-duration: 2s;
  }
}

.btn-left,
.btn-right {
  position: absolute;
  top: 50%;
  font-size: 3rem;
  background-color: #3b3a3a85;
  border-radius: 5px;
  transform: translate(0, 100%);
  cursor: pointer;
  color: white;
  height: 50px;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 2px;
  transition: 0.5s ease;
  user-select: none;
}

.btn-left:hover,
.btn-right:hover {
  background-color: #333333ed;
  color: #fff;
}

.btn-left {
  left: 10px;
  padding-right: 2px;
}

.btn-right {
  right: 10px;
  padding-left: 2px;
}

@media (max-width: 768px) {
  .container-carousel{
    height: 30dvh;
  }
  .btn-left,
  .btn-right {
    transform: translate(0, -50%);
    font-size: 2rem;
    height: 30px;
    width: 30px;
  }

  .btn-left {
    padding-right: 0px;
  }

  .btn-right {
    padding-left: 0px;
  }
}

/* SECCION INFORMACION */

.section-info {
  padding: 80px 3rem 40px 3rem;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: flex-start;
  gap: 50px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.section-info-div {
  border: 1px solid #01a499;
  border-radius: 20px;
  flex: 1;
  min-width: 320px;
  max-width: 350px;
  height: auto;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  gap: 20px;
  
  &:hover {
    border-color: #01a499;
    background-color: rgba(1, 164, 153, 0.05);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(1, 164, 153, 0.15);
    svg path {
      fill: #01a499;
    }
    .info-tarjeta-imagen {
      transform: scale(1.08);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }
    p {
      color: #304f55;
      transform: translateY(-2px);
    }
  }

  svg {
    width: 300px;
    height: 300px;
    max-width: 100%;
    max-height: 300px;
  }

  svg path {
    fill: #EA7600;
    transition: fill 0.3s ease;
  }

  /* Estilos para imágenes personalizadas de 300x300 */
  .info-tarjeta-imagen {
    width: 300px;
    height: 300px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }

  p {
    margin: 0;
    color: #01a499;
    font-size: 18px;
    font-family: "Nunito sans", sans-serif;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    max-width: 280px;
  }
}

@media (max-width: 1400px) {
  .section-info-div {
    min-width: 300px;
    max-width: 320px;
    min-height: 380px;
    
    svg {
      width: 280px;
      height: 280px;
    }
    
    .info-tarjeta-imagen {
      width: 280px;
      height: 280px;
    }
  }
}

@media (max-width: 1200px) {
  .section-info {
    padding-inline: 2rem;
    gap: 40px;
  }
  
  .section-info-div {
    min-width: 280px;
    max-width: 300px;
    min-height: 360px;
    
    svg {
      width: 260px;
      height: 260px;
    }
    
    .info-tarjeta-imagen {
      width: 260px;
      height: 260px;
    }
    
    p {
      font-size: 17px;
    }
  }
}

@media (max-width: 992px) {
  .section-info {
    flex-direction: column;
    align-items: center;
    gap: 35px;
    justify-content: center;
  }
  
  .section-info-div {
    min-width: 300px;
    max-width: 400px;
    width: 100%;
    
    svg {
      width: 250px;
      height: 250px;
    }
    
    .info-tarjeta-imagen {
      width: 250px;
      height: 250px;
    }
  }
}

@media (max-width: 768px) {
  .section-info {
    padding-inline: 1.5rem;
    gap: 25px;
  }

  .section-info-div {
    min-width: 280px;
    max-width: 350px;
    min-height: 320px;
    padding: 25px 15px;
    gap: 15px;
    
    &:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(1, 164, 153, 0.12);
      
      .info-tarjeta-imagen {
        transform: scale(1.05);
      }
    }
    
    svg {
      width: 200px;
      height: 200px;
    }

    .info-tarjeta-imagen {
      width: 200px;
      height: 200px;
      border-radius: 10px;
    }
    
    p {
      font-size: 16px;
      max-width: 240px;
    }
  }
}

@media (max-width: 480px) {
  .section-info {
    padding-inline: 1rem;
    gap: 20px;
  }
  
  .section-info-div {
    min-width: 260px;
    max-width: 300px;
    min-height: 280px;
    padding: 20px 15px;
    
    &:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(1, 164, 153, 0.1);
      
      .info-tarjeta-imagen {
        transform: scale(1.03);
      }
    }
    
    svg {
      width: 160px;
      height: 160px;
    }

    .info-tarjeta-imagen {
      width: 160px;
      height: 160px;
      border-radius: 8px;
    }
    
    p {
      font-size: 15px;
      max-width: 200px;
    }
  }
}

/* Estilos para la página Quiénes Somos */
.quienes-somos-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background-color: white;
}

.quienes-somos-intro {
  margin-bottom: 4rem;
}

.quienes-somos-intro h1 {
  color: var(--main-green-color);
  font-size: 3rem;
  margin-bottom: 2rem;
  font-weight: 700;
  text-align: center;
}

.quienes-somos-intro p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--main-dark-grey-color);
  text-align: justify;
  margin-bottom: 1.5rem;
}

/* Estilos para las secciones de equipo */
.equipo-seccion {
  margin-bottom: 5rem;
}

.seccion-titulo {
  color: var(--main-green-color);
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: 700;
  border-bottom: 2px solid var(--main-lighter-green-color);
  padding-bottom: 1rem;
}

.miembros-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.miembro-card {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.miembro-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.miembro-imagen {
  overflow: hidden;
  position: relative;
  padding-top: 2rem;
  display: flex;
  justify-content: center;
}

.miembro-imagen img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--main-lighter-green-color);
}

.miembro-info {
  padding: 1.5rem;
  text-align: center;
}

.miembro-nombre {
  color: var(--main-green-color);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.miembro-profesion {
  color: var(--main-dark-grey-color);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.miembro-cargo {
  color: var(--main-orange-color);
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 1100px) {
  .miembros-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .quienes-somos-container {
      padding: 2rem 1rem;
  }
  
  .quienes-somos-intro h1 {
      font-size: 2.5rem;
  }
  
  .seccion-titulo {
      font-size: 2rem;
  }
  
  .miembros-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
  }
  
  .miembro-imagen img {
      width: 150px;
      height: 150px;
  }
}

@media (max-width: 480px) {
  .quienes-somos-intro h1 {
      font-size: 2rem;
  }
  
  .seccion-titulo {
      font-size: 1.8rem;
  }
  
  .miembro-nombre {
      font-size: 1.3rem;
  }
  
  .miembro-profesion,
  .miembro-cargo {
      font-size: 1rem;
  }
}

/* ==========================================
   SECCIÓN FAQ OPTIMIZADA
   ========================================== */

/* Sección FAQ en la página de inicio - limpia sin efectos */
.section-faq {
  background: none;
  position: relative;
}

.faq-image-link {
  display: block;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  text-decoration: none;
  border: none;
  background: none;
  padding: 0;
}

.faq-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.faq-image-link:hover .faq-image {
  transform: scale(1.05);
}

/* Remover overlay - solo mostrar la imagen limpia */
.faq-overlay {
  display: none !important;
}

/* ==========================================
   PÁGINA DE PREGUNTAS FRECUENTES
   ========================================== */

.preguntas-frecuentes-page {
  min-height: 80vh;
  background: linear-gradient(135deg, #f8f9fa 0%, var(--main-lighter-green-color) 100%);
}

.container-preguntas {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.faq-header {
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 3px solid var(--main-green-color);
}

.faq-header h1 {
  color: var(--main-darker-green-color);
  font-size: 3.5rem;
  margin-bottom: 15px;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 700;
}

.faq-subtitle {
  color: var(--main-grey-color);
  font-size: 1.3rem;
  font-weight: 500;
  margin: 0;
}

/* Acordeón de preguntas */
.faq-accordion {
  margin-bottom: 40px;
}

.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 25px rgba(1, 164, 153, 0.15);
  transform: translateY(-2px);
}

.faq-item.active {
  box-shadow: 0 8px 25px rgba(1, 164, 153, 0.2);
  border: 2px solid var(--main-light-green-color);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 25px 30px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
}

.faq-question:hover {
  background: linear-gradient(90deg, var(--main-lighter-green-color), transparent);
}

.faq-item.active .faq-question {
  background: linear-gradient(90deg, var(--main-lighter-green-color), rgba(1, 164, 153, 0.05));
  border-bottom: 1px solid #e8f4f3;
}

.faq-question-text {
  color: var(--main-darker-green-color);
  font-size: 1.4rem;
  font-weight: 600;
  font-family: "Nunito Sans", sans-serif;
  line-height: 1.4;
  flex: 1;
  margin-right: 20px;
}

.faq-icon {
  color: var(--main-green-color);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 30px 30px 30px;
  background: white;
}

.faq-answer-content {
  color: var(--main-dark-grey-color);
  font-size: 1.1rem;
  line-height: 1.7;
  font-family: "Atkinson Hyperlegible", sans-serif;
  text-align: justify;
}

.faq-answer-content p {
  margin-bottom: 15px;
}

.faq-answer-content p:last-child {
  margin-bottom: 0;
}

.faq-answer-content ul,
.faq-answer-content ol {
  margin: 15px 0;
  padding-left: 40px;
  list-style-position: outside;
  list-style: initial !important;
}

.faq-answer-content ul {
  list-style-type: disc !important;
  list-style: disc !important;
}

.faq-answer-content ol {
  list-style-type: decimal !important;
  list-style: decimal !important;
}

.faq-answer-content li {
  margin-bottom: 8px;
  color: var(--main-dark-grey-color);
  display: list-item !important;
  text-align: justify;
  list-style: inherit !important;
  position: relative;
}

.faq-answer-content li::marker {
  color: var(--main-green-color);
  font-weight: bold;
}

.faq-answer-content a {
  color: var(--main-green-color);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.faq-answer-content a:hover {
  color: var(--main-darker-green-color);
}

/* Texto adicional */
.faq-texto-adicional {
  background: white;
  border-radius: 16px;
  padding: 40px;
  margin: 40px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-left: 5px solid var(--main-orange-color);
}

.texto-adicional-content {
  color: var(--main-dark-grey-color);
  font-size: 1.1rem;
  line-height: 1.7;
  font-family: "Atkinson Hyperlegible", sans-serif;
  text-align: justify;
}

.texto-adicional-content ul,
.texto-adicional-content ol {
  margin: 15px 0;
  padding-left: 40px;
  list-style-position: outside;
  list-style: initial !important;
}

.texto-adicional-content ul {
  list-style-type: disc !important;
  list-style: disc !important;
}

.texto-adicional-content ol {
  list-style-type: decimal !important;
  list-style: decimal !important;
}

.texto-adicional-content li {
  margin-bottom: 8px;
  color: var(--main-dark-grey-color);
  display: list-item !important;
  text-align: justify;
  list-style: inherit !important;
  position: relative;
}

.texto-adicional-content li::marker {
  color: var(--main-green-color);
  font-weight: bold;
}

.texto-adicional-content a {
  color: var(--main-green-color);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.texto-adicional-content a:hover {
  color: var(--main-darker-green-color);
}

.texto-adicional-content h2,
.texto-adicional-content h3,
.texto-adicional-content h4 {
  color: var(--main-darker-green-color);
  margin-top: 20px;
  margin-bottom: 15px;
}

.texto-adicional-content h2 {
  font-size: 2.2rem;
}

.texto-adicional-content h3 {
  font-size: 1.8rem;
}

/* Estado sin preguntas */
.no-faqs {
  text-align: center;
  padding: 80px 40px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.no-faqs-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.6;
}

.no-faqs h2 {
  color: var(--main-darker-green-color);
  margin-bottom: 15px;
  font-size: 2.2rem;
}

.no-faqs p {
  color: var(--main-grey-color);
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.btn-admin {
  display: inline-block;
  background: var(--main-green-color);
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-admin:hover {
  background: var(--main-darker-green-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(1, 164, 153, 0.3);
}

/* Navegación */
.faq-navigation {
  text-align: center;
  margin-top: 50px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--main-green-color);
  color: white;
  padding: 15px 30px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(1, 164, 153, 0.2);
}

.btn-back:hover {
  background: var(--main-darker-green-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(1, 164, 153, 0.3);
  color: white;
}

/* ==========================================
   RESPONSIVE FAQ
   ========================================== */

@media (max-width: 768px) {
  .section-faq {
    padding: 20px 1.5rem;
  }
  
  .faq-image-link {
    height: auto;
  }
  
  .faq-overlay h2 {
    font-size: 2.2rem;
  }
  
  .faq-overlay p {
    font-size: 1rem;
  }
  
  .container-preguntas {
    padding: 30px 15px;
  }
  
  .faq-header h1 {
    font-size: 2.8rem;
  }
  
  .faq-subtitle {
    font-size: 1.1rem;
  }
  
  .faq-question {
    padding: 20px;
  }
  
  .faq-question-text {
    font-size: 1.2rem;
    margin-right: 15px;
  }
  
  .faq-answer {
    padding: 0 20px 25px 20px;
  }
  
  .faq-answer-content {
    font-size: 1rem;
  }
  
  .faq-answer-content a {
    font-size: 1rem;
  }
  
  .texto-adicional-content a {
    font-size: 1rem;
  }
  
  .faq-texto-adicional {
    padding: 25px;
    margin: 30px 0;
  }
  
  .no-faqs {
    padding: 60px 20px;
  }
  
  .no-faqs h2 {
    font-size: 1.8rem;
  }
  
  .btn-back {
    padding: 12px 20px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .faq-image-link {
    height: auto;
  }
  
  .faq-overlay {
    padding: 20px;
  }
  
  .faq-overlay h2 {
    font-size: 1.8rem;
  }
  
  .faq-header h1 {
    font-size: 2.4rem;
  }
  
  .faq-question {
    padding: 15px;
  }
  
  .faq-question-text {
    font-size: 1.1rem;
  }
  
  .faq-answer {
    padding: 0 15px 20px 15px;
  }
  
  .faq-texto-adicional {
    padding: 20px;
  }
}