/*
Theme Name: Tema Template nivel 3
Theme URI: http://example.com
Author: Alejandro Cortes
Author URI: http://example.com
Description: Un tema personalizado desde cero
Version: 1.0.2
*/

/* 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;
}

* {
  box-sizing: border-box;
  font-family: "Nunito Sans", sans-serif;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Nunito sans", 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 */
}

h2 {
  font-size: 2.7rem; /* 43.2px */
}

h3 {
  font-size: 2.2rem; /* 35.2px */
}

h4 {
  font-size: 2rem; /* 32px */
}

h5 {
  font-size: 1.7rem; /* 27.2px */
}

h6 {
  font-size: 1.5rem; /* 24px */
}

p {
  font-size: 1.35rem; /* 21.6px */
}
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 */
  }

  h5 {
    font-size: 1.5rem; /* 24px */
  }

  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-green-color);
  background-color: transparent;
  border-radius: 25px;
  font-size: 1.25rem;
  color: var(--main-green-color);
  font-weight: 800;
}

.a-bordered-grey {
  color: var(--main-dark-grey-color);
  border-color: var(--main-dark-grey-color);
}


.main-nav {
  z-index: 999;
  background-color: var(--main-green-color);
  margin-bottom:2vw;
  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;
  }
  > div > 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: 100px;
  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;
}

/* 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;
}
/* ============================================
   HERO SLIDER - Slider de ancho completo
   ============================================ */

.hero-slider {
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: #f5f5f5;
}

.slider-wrapper-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 400px;
  max-height: 700px;
}

.slider-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide-hero {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.slide-hero.active {
  opacity: 1;
  z-index: 1;
}

.slide-hero img,
.slide-hero a {
  width: 100%;
  height: 100%;
  display: block;
}

.slide-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Flechas de navegación */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(1, 164, 153, 0.8);
  color: white;
  border: none;
  padding: 15px 12px;
  cursor: pointer;
  z-index: 10;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  background-color: rgba(1, 164, 153, 1);
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow-prev {
  left: 20px;
}

.slider-arrow-next {
  right: 20px;
}

/* Indicadores (círculos) */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.slider-dots .dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.slider-dots .dot.active {
  background-color: #01a499;
  border-color: #01a499;
  transform: scale(1.3);
}

/* Responsive */
@media (max-width: 768px) {
  .slider-wrapper-hero {
    height: 40vh;
    min-height: 300px;
  }
  
  .slider-arrow {
    padding: 10px 8px;
  }
  
  .slider-arrow-prev {
    left: 10px;
  }
  
  .slider-arrow-next {
    right: 10px;
  }
  
  .slider-arrow svg {
    width: 20px;
    height: 20px;
  }
  
  .slider-dots {
    bottom: 15px;
    gap: 8px;
  }
  
  .slider-dots .dot {
    width: 10px;
    height: 10px;
  }
  
  .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;
  }
  
  .main-nav .main-option{
    display: none;
  }
  .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;
    }
  }
}

/* SECCION INFORMACION */

.section-info{
  padding-top: 64px;
  display: flex;
  flex-direction: row;
  flex: 1 1 30%;
  justify-content: space-around;
  row-gap: 60px;
  flex-wrap: wrap;
}

.section-info-div{
  border: 1px solid #01a499;
  border-radius: 160px;
  min-width: 280px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  
  &:hover{
    border-color: white;
    background-color: #01a499CA;
    p{
      color:white;
    }
  }
  i{
    display: grid;
    place-content: center;
    color: var(--main-orange-color);
    flex: 2 0 66.6666%;
    width: 100%;
    height: 100%;
  }
  img{
    flex: 2 0 66.6666%;
  }
  p{
    flex: 1 0 33.3333%;
    text-align: center;
    color: #01a499;
    font-size: 24px;
    font-family: "Nunito sans", sans-serif;
    font-weight: 700;
  }
}


/* SECCION DE NOTICIAS
TODO: REVISAR EL GAP
*/
.content {
  display: grid;  
  gap: 100px;
}

/* ============================================
   SECCIÓN NOTICIAS - Página de Inicio
   ============================================ */

.section-noticias {
  min-height: 50vh;
  height: 100%;
  padding-top: 80px; /* Separación del slider */
  margin-bottom: 60px;
}

.section-noticias h2 {
  margin-inline: 7vw;
  color: var(--main-green-color);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 40px;
}

.cuerpo-noticias{
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px,1fr));
  gap: 32px;
  padding-inline: 7vw;
}

/* Formato de fecha personalizado */
.section-date-noticia,
.section-date-noticia-sec {
  font-size: 1.1rem;
  text-align: left;
  color: #01a499;
  font-weight: 400;
  padding-bottom: 16px;
}

.fecha-dia,
.fecha-mes,
.fecha-anio {
  font-size: 1em;
  font-weight: 400;
  text-transform: capitalize;
}

/* Informacion Main noticia */

.card-main-noticia{
  flex: 1 0 350px;
  display: flex;
  flex-direction: column;
  max-width: 550px;
  margin: auto;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.card-main-noticia:hover {
  transform: translateY(-5px);
}

.img-main-noticia{
  overflow: hidden;
  flex: 1 1 60%;
  background-color: #01a499;
  margin: 20px 22px 0px 22px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  aspect-ratio: 16/9;
}

.img-main-noticia img{
  object-fit: cover;
  height: 100%;
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.card-main-noticia:hover .img-main-noticia img {
  transform: scale(1.05);
}

.info-main-noticia{
  flex: 1 1 30%;
  padding: 24px;
  border: 1px solid #01a499;
  border-radius: 16px;
  background-color: white;
  margin-inline: 8px;
}

.info-main-noticia .section-bajada-noticia{
  font-size: 1.25rem;
  text-align: left;
  padding-bottom: 24px;
  color: #394049;
  font-weight: 400;
  line-height: 1.4;
}

.info-main-noticia a{
  border: 2px solid var(--main-green-color);
  border-radius: 8px;
  padding: 8px 20px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--main-green-color);
  transition: all 0.3s ease;
  display: inline-block;
}

.info-main-noticia a:hover{
  background-color: var(--main-green-color);
  color: white;
  transform: translateX(5px);
}

/* Informacion de noticias secundarias*/

.noticias-secundarias{
  flex: 0 0 40%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  margin: auto;
  max-width: 632px;
}

.card-noticias-secundaria{
  display: grid;
  grid-template-columns: 4fr 3fr;
  grid-template-rows: 10px 1fr 10px;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.card-noticias-secundaria:hover {
  transform: translateY(-3px);
}

.img-sec-noticia{
  overflow: hidden;
  grid-row: 2;
  flex: 1 1 50%;
  background-color: #01a499;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  margin: 8px 0px 8px 8px;
  aspect-ratio: 16/9;
  margin-block: auto;
}

.img-sec-noticia img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.card-noticias-secundaria:hover .img-sec-noticia img {
  transform: scale(1.05);
}

.info-sec-noticia{
  grid-row: 1 / -1;
  grid-column: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  flex: 1 0 50%;
  border: 1px solid #01a499;
  border-radius: 12px;
  padding: 16px;
  background-color: white;
}

.info-sec-noticia .section-bajada-noticia-sec{
  font-size: 1.1rem;
  text-align: left;
  padding-bottom: 16px;
  color: #394049;
  font-weight: 400;
  line-height: 1.3;
}

.info-sec-noticia div a{
  border: 2px solid #01a499;
  border-radius: 8px;
  padding: 6px 16px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--main-green-color);
  transition: all 0.3s ease;
  display: inline-block;
}

.info-sec-noticia div a:hover{
  background-color: var(--main-green-color);
  color: white;
  transform: translateX(5px);
}

.noti-title{
  color: var(--main-green-color);
}

.boton-noticia {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 40px;
}

.boton-noticia a {
  display: inline-block;
  background-color: var(--main-green-color);
  color: white;
  padding: 14px 40px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.boton-noticia a:hover {
  background-color: #018a80;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(1, 164, 153, 0.3);
}

/* Responsive Noticias Inicio */
@media (max-width: 1024px) {
  .cuerpo-noticias {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 40px auto 0;
  }
  
  .noticias-secundarias {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .section-noticias {
    padding-top: 60px;
  }
  
  .section-noticias h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .cuerpo-noticias {
    padding-inline: 5vw;
  }
  
  .card-noticias-secundaria {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  
  .img-sec-noticia {
    grid-row: 1;
    grid-column: 1;
    border-radius: 8px 8px 0 0;
    margin: 8px 8px 0 8px;
    aspect-ratio: 16/9;
  }
  
  .info-sec-noticia {
    grid-row: 2;
    grid-column: 1;
    border-radius: 0 0 12px 12px;
  }
  
  .boton-noticia a {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .section-noticias h2 {
    font-size: 1.5rem;
  }
  
  .info-main-noticia .section-bajada-noticia,
  .info-sec-noticia .section-bajada-noticia-sec {
    font-size: 1rem;
  }
  
  .info-main-noticia a,
  .info-sec-noticia div a {
    font-size: 0.85rem;
    padding: 6px 14px;
  }
}

/* ============================================
   ARCHIVO DE NOTICIAS (archive-noticia.php)
   ============================================ */

.back-semisphere-noti {
  position: relative;
}

.back-semisphere-noti::after {
  position: absolute;
  aspect-ratio:11/4;
  bottom: -200px;
  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;
  margin-bottom: 100px;
}

.boton-noticia{
  margin-top: 40px;
  text-align: center;
  a{
    border: 1px solid #01a499;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 18px;
    font-weight: 900;
    
    color:#f2fbfa;
    background-color: #01a499;
  }

  &:hover{
    a{
      filter: saturate(200%);
    }
  }

}

.content-page {
  display: grid;
  gap: 150px;
  padding-bottom: 80px;
}

@media (max-width: 550px) {
  .cuerpo-noticias{
    grid-template-columns: 1fr;
  }
  .img-sec-noticia{
    border-top-right-radius: 8px;
    border-bottom-left-radius:0px;
    aspect-ratio: 16/9;
    width: 88%;
    height: auto;
    margin: auto;
  }
  .card-noticias-secundaria{
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
    div{
      grid-row: auto;
      grid-column: auto;
    }
  }
  .card-main-noticia{
    flex-basis: 90%;
  }
  .content {
    padding-block: 10px;
  }
  .section-noticias header {
    width: fit-content;
    transform: translateX(10%);
  }

  .card-noticias-secundaria{
    margin-inline: 8px;
  }

  .noticias-secundarias{
    grid-template-columns: 40px;
    padding-right: 0px;
    padding-top: 32px;
    margin: auto;
    height: auto;
  }
}
/* PAGINA DE NOTICIAS */

/* ============================================
   ARCHIVO DE NOTICIAS (archive-noticia.php)
   ============================================ */

.archive-noticias-container {
  padding: 60px 7vw 80px;
  background: #ffffff;
}

.archive-noticias-header {
  text-align: center;
  margin-bottom: 0;
  position: relative;
}

.archive-noticia-title {
  font-size: 3rem;
  color: var(--main-green-color);
  font-weight: 700;
  margin-bottom: 0;
  text-transform: capitalize;
  letter-spacing: 0;
}

.archive-separator {
  display: none;
}

.section-noticias-page {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.card-noticia-page {
  background: white;
  border: 1px solid var(--main-green-color);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-noticia-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f5f5f5;
  position: relative;
}

.card-noticia-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-noticia-content {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-noticia-date {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 400;
  margin-top: auto;
  padding-top: 12px;
  text-transform: capitalize;
  order: 3;
}

.card-noticia-title {
  font-size: 1.35rem;
  color: var(--main-green-color);
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  order: 1;
}

.card-noticia-excerpt {
  font-size: 18px;
  color: #374151;
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: justify;
  order: 2;
}

.card-noticia-excerpt p {
  font-size: 18px !important;
  margin: 0;
}

.card-noticia-link {
  display: inline-block;
  align-self: flex-start;
  padding: 10px 28px;
  background-color: transparent;
  color: var(--main-green-color);
  border: 2px solid var(--main-green-color);
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  order: 2;
  margin-bottom: 8px;
}

.card-noticia-link:hover {
  background-color: var(--main-green-color);
  color: white;
}

.pagination-wrapper {
  grid-column: 1 / -1;
  margin-top: 40px;
}

.pagination-wrapper ul {
  display: flex;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination-wrapper li {
  margin: 0;
}

.pagination-wrapper a,
.pagination-wrapper span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 45px;
  padding: 0 12px;
  border: 2px solid var(--main-green-color);
  border-radius: 8px;
  color: var(--main-green-color);
  font-weight: 600;
  transition: all 0.3s ease;
}

.pagination-wrapper a:hover {
  background-color: var(--main-green-color);
  color: white;
  transform: translateY(-2px);
}

.pagination-wrapper .current {
  background-color: var(--main-green-color);
  color: white;
  border-color: var(--main-green-color);
}

.no-noticias {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 1.3rem;
  color: #6b7280;
  padding: 60px 20px;
}

/* Responsive Archive */
@media (max-width: 768px) {
  .archive-noticia-title {
    font-size: 2.2rem;
  }

  .archive-noticias-header {
    margin-bottom: 0;
  }
  
  .section-noticias-page {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .archive-noticias-container {
    padding: 40px 5vw 60px;
  }

  .card-noticia-title {
    font-size: 1.1rem;
  }

  .card-noticia-excerpt {
    font-size: 0.9rem;
  }
}

.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-green-color) 5%,
    var(--main-dark-grey-color) 5%,
    var(--main-dark-grey-color) 45%,
    var(--main-green-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;
  }
}

/* SECCION DE VIDEOS */

.section-galeria-video {
  min-height: 100vh;

  padding: 7vw;
  padding-bottom: 20px;
  position: relative;
  overflow: hidden;
  display: grid;
  height: 100%;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  place-items: center;
  header {
    grid-column: 1/-1;
    place-self: baseline;
    h2 {
      font-weight: 900;
      color:#e37604;
    }
  }
  a {
    grid-column: 1/-1;
  }
  p{
    grid-column: 1/-1;
    text-align: center;
  }
}
/* Contenedor principal para las esferas */
.esferas {
  top: 50%;
  transform: translateY(-50%);
  height: 100%;
  width: 100%;
  position: absolute;
  display: flex;
  justify-content: space-between;
  align-items: center;
  left: 0;
  width: 100%;
  z-index: -1;
}

/* Estilos individuales para las esferas */
.esfera {
  aspect-ratio: 1/1;
  width: 400px;
  height: 400px;
  background-color: rgb(255, 249, 238);
  border-radius: 50%;
}

/* Especificaciones individuales */
.esfera:first-child {
  margin-left: 0; /* Alineada a la izquierda */
}

.esfera:nth-child(2) {
  margin: 0 auto; /* Centrada horizontalmente */
}

.esfera:last-child {
  margin-right: 0; /* Alineada a la derecha */
}


.video-adapted {
  p {
    padding-bottom: 5px;
  }
  div {
    aspect-ratio: auto;
    iframe {
      width: 100%;
      border-radius: 15px;
    }
  }
}

.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 */
  }
}

.card-galeria-video {
  width: 70%;
  background-color: white;
  padding: 20px;
  border-radius: 35px;
  border: 1px solid #e37604;
  div {
    aspect-ratio: 28.5 / 32;
    width: 100%;
    height: auto;
    border-radius: 15px;
    iframe {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 15px;
    }
  }
  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);
  }
}


.boton-video{
  border: 1px solid #e37604;
  padding: 6px 12px;
  font-size: 18px;
  font-weight: 900;
  border-radius: 8px;
  
  color:#f2fbfa;
  background-color: #e37604;
  &:hover{
    filter: saturate(150%);
  }
}




@media (max-width: 768px) {
  .galeria-videos {
    grid-template-columns: 1fr;
  }
  .esferas{
    flex-direction: column;
  }
  .esfera:first-child {
    margin: auto;
  }
  
  .esfera:nth-child(2) {
    margin: auto;
  }
  
  .esfera:last-child {
    margin: auto;
  }
}



/* SECCION DE GALERIA */

.section-galeria {
  padding: 7vw;
  padding-bottom: 20px;

  display: grid;
  height: 100%;
  width: 100%;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px;
  place-items: center;
  header {
    grid-column: 1/-1;
    place-self: baseline;
    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;
  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: 80%;
  background-color: white;
  padding: 20px;
  border: 1px solid #01a499;
  border-radius: 40px;
  div {
    aspect-ratio: 20/19;
    width: 100%;
    height: auto;
    a img {
      display: block;
      aspect-ratio: 20/19;
      width: 100%;
      height: auto;
      object-fit: cover;
      border-radius: 20px;
    }
  }
  p {
    word-break: break-word;
    padding: 15px 7px;
    font-size: 1.25rem;
    font-weight: 600;
    text-wrap: pretty;
    color: #474d56;
  }
}

.boton-galeria{
  border: 1px solid #01a499;
  padding: 6px 12px;
  font-size: 18px;
  font-weight: 900;
  border-radius: 8px;
  color:#f2fbfa;
    background-color: #01a499;
  &:hover{
    filter: saturate(150%);
  }
}
@media (max-width: 1024px) {
  .section-galeria {
    grid-template-columns: 1fr 1fr;
  }
  .card-galeria {
    width: 70%;
    padding: 3%;
  }
}

@media (max-width: 768px) {
  .section-galeria {
    grid-template-columns: 1fr;
  }
  .card-galeria {
    width: 70%;
    padding: 3%;
  }
}


.back-semisphere-galeria {
  position: relative;
}
.back-semisphere-galeria::after {
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0%;
  width: 100%;
  height: 50%;
  content: "";
  overflow: visible;
  border-radius: 0% 0% 50% 50% ;
  background-color: var(--main-lighter-green-color);
  z-index: -999;
}



.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;
  }
}
.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 {
    margin-right: auto;
    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 {
        display: block;
        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 ACTIVIDADES */

.actividades{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 48px;
  padding-inline: 3vw;
}

.act-logo{
  flex: 1 0 40%;
  border: 1.3px solid #01a499;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 50% 50% 50% 0%;
  aspect-ratio: 1/1;
  max-width: 560px;
  background-color: #fff;
  .act-imagen{
    flex: 0 0 50%;
    align-self: center  ;
  }
  .act-nombre{
    flex: 0 0 30%;
    align-self: center;
    font-size: 48px;
    font-weight: 700;
    color: #01a499;
  }
}



.act-agenda{
  gap: 80px;
  flex: 0 0  50%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.card-agenda{
  background-color: #fff;
  display: grid;
  grid-template-columns: 2fr 5fr;

  border: 1.3px solid #01a499;
  border-radius: 150px 150px 0 150px;
  padding: 32px 32px 32px 52px;
  align-items: center;
  gap: 32px;
  max-height: 200px;
  max-width: 800px;
  .act-fecha{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-right: 32px;
    border-right: 0.4mm solid var(--main-green-color);
    .dia{
      color: #01a499;
      font-size: 4.5rem;
      font-weight: 600;
      align-self: auto;
    }
    .mes{
      text-align: center;
      color: #01a499;
      font-size: 20px;
      font-weight: 700;   
    }
  }
  .act-info{
    flex: 1 1 40%;
    color: #3a414a;
    font-size: 24px;
    font-weight: 500;

  }
}

@media (max-width: 768px) {
  .act-logo{
    margin: auto;
    .act-nombre{
      padding-inline: 40px;
      font-size: 32px;
      font-weight: 700;
    }
  }
  .card-agenda{
    flex-direction: column;
    max-height: none;
  }
}

.back-semisphere-act {
  position: relative;
}
.back-semisphere-act::after {
  position: absolute;
  top: -480px;
  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;
  margin-bottom: 100px;
}


/* SECCION DE ALIANZAS O INDEXACIONES */


.alianzas{
  .ali-title{
    color: #01a499;
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    padding-bottom: 40px;
  }
  .ali-slider{
    display: flex;
    justify-content: space-between;
    .ali-buton{
      background-color: #01a499;
      color: #FFF;
      border-radius: 50%;
      padding: 4px 16px 4px 16px;
      font-weight:700;
      font-size: 32px;
    }
    .imagenes-ali{
      .ali-img{
        background-color: #01a499;
      }
    }
  }
}




/* SECCION DE REDES */
.section-redes {
  position: relative;
  padding-inline: 10vw;
  display: flex;
  margin-top: -100px;
  max-width: 100vw;
  overflow: clip;
  background-color: #f2fbfa;
  justify-content: space-evenly;
  padding-bottom: 56px;
  padding-top: 56px;
  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;
  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_info {
  text-align: center;
  color: white;
  padding: 15px;
}

.footer_info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
  color: white;
}

.footer_info p {
  font-size: 0.85rem;
  font-weight: 400;
  margin-bottom: 4px;
  line-height: 1.3;
  color: white;
}

.footer_img_3 {
  height: auto;
  width: 100%;
}

.logo_redes {
  height: 70px;
  width: 70px;
  border-radius: 100px;
}

@media (max-width: 768px) {
  .main-footer {
    padding-inline: 4vw;
    gap: 30px;
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 30px;
  }

  .footer_info {
    padding: 10px;
  }

  .footer_info h3 {
    font-size: 0.9rem;
    margin-bottom: 6px;
  }

  .footer_info p {
    font-size: 0.75rem;
    margin-bottom: 3px;
  }

  .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-fill, minmax(250px, 1fr));

  gap: 50px;
  height: 100%;
}

/* ============================================
   SINGLE NOTICIA (single-noticia.php)
   ============================================ */

.single-noticia-container {
  background: #ffffff;
  padding: 40px 0 60px;
}

.single-noticia-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 7vw;
}

.single-noticia {
  background: white;
}

.single-noticia-header {
  padding: 0 0 30px;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 40px;
}

.title-noticia {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--main-green-color);
  line-height: 1.3;
  margin-bottom: 20px;
  font-family: "Nunito Sans", sans-serif;
}

.bajada-noticia {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #6b7280;
  font-weight: 400;
  margin-bottom: 20px;
  text-align: center;
}

.date-noticia {
  font-size: 1rem;
  color: var(--main-green-color);
  font-weight: 400;
  margin: 0;
  text-transform: capitalize;
}

.content-noticia {
  padding: 0;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #374151;
  max-width: 100%;
}

.content-noticia p {
  margin-bottom: 20px;
  text-align: justify;
}

.content-noticia h2,
.content-noticia h3,
.content-noticia h4 {
  color: #111827;
  margin-top: 32px;
  margin-bottom: 16px;
  font-weight: 600;
}

.content-noticia h2 {
  font-size: 1.8rem;
}

.content-noticia h3 {
  font-size: 1.5rem;
}

.content-noticia ul,
.content-noticia ol {
  margin: 20px 0;
  padding-left: 32px;
}

.content-noticia li {
  margin-bottom: 10px;
}

.content-noticia a {
  color: var(--main-green-color);
  text-decoration: underline;
  font-weight: 500;
}

.content-noticia a:hover {
  color: #018a80;
}

/* Responsive Single Noticia */
@media (max-width: 768px) {
  .single-noticia-content {
    padding: 0 5vw;
  }

  .title-noticia {
    font-size: 1.8rem;
  }
  
  .bajada-noticia {
    font-size: 1rem;
  }
  
  .content-noticia {
    font-size: 1rem;
  }
}

/* Estilos Para el carrusel*/

.container-carousel {
  position: relative;
  width: 100%;
  height: 60dvh;
  overflow: hidden;
}

.carruseles {
  width: 1000%;
  height: 100%;
  display: flex;
  overflow: hidden;
}

/* Estilos Para el Slider del inicio*/

.slider-section {
  background-color: white;
  height: 100%;
  overflow: hidden;
  border-radius: 0px 0 5vw 5vw;
}

.slider-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.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;
  }
}

@keyframes slide {
  0%{
    transform: translateX(0);
  }100%{
    transform: translateX(calc(-100%));
  }
}
.alianzas-section{
  width: 100vw;
  overflow: hidden;
}
.logos {
  overflow: hidden;
  padding: 60px 0;
  background: white;
  white-space: nowrap;
  position: relative;
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
  pointer-events: none;
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0) 70%, white);
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 70%, white);
}

.logos:hover .logos-slide {
  animation-play-state: paused;
}

.logos-slide {
  display: inline-block;
  animation: 10s slide infinite linear;
}

.logos-slide img{
  aspect-ratio: 16/9;
  width: 300px;
  height: auto;
  object-fit: cover;
  margin: 0 50px;
}

/* --- SUBMENÚS DEL MENÚ PRINCIPAL (ESCRITORIO) --- */
nav.main-nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav.main-nav ul > li {
    position: relative;
}

nav.main-nav ul ul {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 180px;
    background: var(--main-green-color);
    z-index: 1000;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 0;
}

nav.main-nav ul > li:hover > ul,
nav.main-nav ul > li:focus-within > ul {
    display: block;
}

nav.main-nav ul ul li {
    display: block;
    width: 100%;
}

nav.main-nav ul ul li a {
    color: #fff;
    padding: 12px 24px;
    font-weight: 400;
    background: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background 0.2s, color 0.2s;
}

nav.main-nav ul ul li:last-child a {
    border-bottom: none;
}

nav.main-nav ul ul li a:hover,
nav.main-nav ul ul li a:focus {
    background: var(--main-light-green-color);
    color: #fff;
}

@media (max-width: 900px) {
  nav.main-nav ul ul {
    position: static;
    min-width: 100%;
    box-shadow: none;
    border-radius: 0;
  }
}


/* ESTILOS PARA PAGE-CONTACTO.PHP */

/* Contenedor principal de contacto */
.page-content.bottom-color-green {
  position: relative;
  overflow: hidden;
}

.title-page {
  background: linear-gradient(135deg, var(--main-green-color) 0%, var(--main-darker-green-color) 100%);
  padding: 80px 7vw 60px 7vw;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

.title-page::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(135deg, var(--main-green-color) 0%, var(--main-darker-green-color) 100%);
  border-radius: 0 0 50% 50%;
  z-index: -1;
}

.title-page h1 {
  color: white;
  text-align: center;
  margin: 0;
  font-weight: 800;
  font-size: 3.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Contenido principal con fondo y elementos decorativos */
.body-page {
  background-color: var(--main-lighter-green-color);
  position: relative;
  padding: 100px 7vw 80px 7vw;
  margin-top: 0;
}

/* Elementos decorativos de fondo */
.body-page::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -100px;
  width: 300px;
  height: 300px;
  background: linear-gradient(45deg, var(--main-light-green-color), var(--main-green-color));
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
}

.body-page::after {
  content: "";
  position: absolute;
  bottom: 20%;
  left: -150px;
  width: 400px;
  height: 400px;
  background: linear-gradient(-45deg, var(--main-orange-color), var(--main-green-color));
  border-radius: 50%;
  opacity: 0.08;
  z-index: 0;
}

/* Contenido de la página */
.body-page > * {
  position: relative;
  z-index: 1;
}

/* Sección del directorio */
.directorio-section {
  margin: 50px 0;
  padding: 40px 0;
  background: white;
  border-radius: 25px;
  box-shadow: 0 6px 25px rgba(1, 164, 153, 0.08);
  position: relative;
  overflow: hidden;
}

.directorio-section::before {
  content: "";
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100px;
  height: 100px;
  background: var(--main-orange-color);
  border-radius: 50%;
  opacity: 0.05;
  z-index: 0;
}

.title-directorio {
  text-align: center;
  color: var(--main-orange-color);
  font-size: 2rem;
  margin-bottom: 30px;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.title-directorio::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--main-orange-color), var(--main-green-color));
  border-radius: 2px;
}

.directorio-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 0 15px;
  max-width: 1000px;
  margin: 0 auto;
}

.directorio-card {
  background: white;
  border: 2px solid var(--main-green-color);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(1, 164, 153, 0.1);
  padding: 20px 18px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.directorio-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, var(--main-light-green-color), var(--main-green-color));
  border-radius: 50%;
  opacity: 0.05;
  z-index: 0;
}

.directorio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(1, 164, 153, 0.15);
  border-color: var(--main-orange-color);
}

.directorio-nombre {
  color: var(--main-orange-color);
  font-size: 1.2rem;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.directorio-telefono, 
.directorio-email, 
.directorio-direccion {
  font-size: 0.95rem;
  color: var(--main-dark-grey-color);
  margin-bottom: 8px;
  font-family: 'Nunito Sans', sans-serif;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.directorio-telefono strong, 
.directorio-email strong, 
.directorio-direccion strong {
  color: var(--main-green-color);
  font-weight: 600;
  margin-right: 6px;
}

.directorio-vacio {
  text-align: center;
  color: var(--main-grey-color);
  font-size: 1rem;
  margin-top: 30px;
  font-style: italic;
}

/* Sección "Encuéntranos en" */
.encuentranos-section {
  margin: 50px 0 40px 0;
  padding: 40px 25px;
  background: linear-gradient(135deg, var(--main-green-color) 0%, var(--main-darker-green-color) 100%);
  border-radius: 25px;
  position: relative;
  overflow: hidden;
}

.encuentranos-section::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -60px;
  width: 150px;
  height: 150px;
  background: white;
  border-radius: 50%;
  opacity: 0.05;
  z-index: 0;
}

.encuentranos-section::after {
  content: "";
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: var(--main-orange-color);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
}

.encuentranos-titulo {
  text-align: center;
  color: white;
  font-size: 2rem;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.encuentranos-titulo::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--main-orange-color);
  border-radius: 2px;
}

.encuentranos-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.encuentranos-card {
  background: white;
  border: none;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  padding: 20px 18px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.encuentranos-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.encuentranos-card-titulo {
  color: var(--main-green-color);
  font-size: 1.1rem;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--main-light-green-color);
  padding-bottom: 6px;
}

.encuentranos-card-texto {
  font-size: 0.95rem;
  color: var(--main-dark-grey-color);
  margin-bottom: 6px;
  font-family: 'Nunito Sans', sans-serif;
  line-height: 1.5;
}

.encuentranos-vacio {
  text-align: center;
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-top: 30px;
  font-style: italic;
}

/* ===== RESPONSIVE DESIGN PARA PÁGINAS ESPECÍFICAS ===== */

@media (max-width: 768px) {
  .title-page {
    padding: 60px 5vw 40px 5vw;
  }
  
  .title-page h1 {
    font-size: 2.5rem;
  }
  
  .body-page {
    padding: 60px 5vw 60px 5vw;
  }
  
  .body-page::before,
  .body-page::after {
    display: none;
  }
  
  .directorio-section,
  .encuentranos-section {
    border-radius: 20px;
    margin: 30px 0;
    padding: 30px 15px;
  }
  
  .title-directorio {
    font-size: 1.7rem;
    margin-bottom: 25px;
  }
  
  .encuentranos-titulo {
    font-size: 1.7rem;
    margin-bottom: 25px;
  }
  
  .directorio-container,
  .encuentranos-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .directorio-card,
  .encuentranos-card {
    padding: 15px 12px;
  }
}

@media (max-width: 480px) {
  .title-page h1 {
    font-size: 2rem;
  }
  
  .title-directorio,
  .encuentranos-titulo {
    font-size: 1.5rem;
  }
  
  .directorio-nombre {
    font-size: 1.1rem;
  }
  
  .encuentranos-card-titulo {
    font-size: 1rem;
  }
  
  .directorio-telefono, 
  .directorio-email, 
  .directorio-direccion,
  .encuentranos-card-texto {
    font-size: 0.9rem;
  }
}

/* ESTILOS PARA PÁGINAS ESPECÍFICAS */

/* ===== ESTILOS PARA PAGE-DOCUMENTOS.PHP ===== */

/* Contenedor principal de documentos */
.page-content.bottom-color-green {
  position: relative;
  overflow: hidden;
}

.title-page {
  background: linear-gradient(135deg, var(--main-green-color) 0%, var(--main-darker-green-color) 100%);
  padding: 50px 7vw 40px 7vw;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

.title-page::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(135deg, var(--main-green-color) 0%, var(--main-darker-green-color) 100%);
  border-radius: 0 0 50% 50%;
  z-index: -1;
}

.title-page h1 {
  color: white;
  text-align: center;
  margin: 0;
  font-weight: 800;
  font-size: 2.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Contenido principal con fondo y elementos decorativos */
.body-page {
  background-color: var(--main-lighter-green-color);
  position: relative;
  padding: 60px 7vw 30px 7vw;
  margin-top: 0;
}

/* Elementos decorativos de fondo */
.body-page::before {
  content: "";
  position: absolute;
  top: 15%;
  right: -80px;
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, var(--main-orange-color), var(--main-green-color));
  border-radius: 50%;
  opacity: 0.06;
  z-index: 0;
}

.body-page::after {
  content: "";
  position: absolute;
  bottom: 10%;
  left: -100px;
  width: 250px;
  height: 250px;
  background: linear-gradient(-45deg, var(--main-light-green-color), var(--main-darker-green-color));
  border-radius: 50%;
  opacity: 0.05;
  z-index: 0;
}

/* Contenido de la página */
.body-page > * {
  position: relative;
  z-index: 1;
}

/* Sección principal de documentos */
.documentos-listado {
  margin: 60px 0;
  padding: 50px 0;
  background: white;
  border-radius: 25px;
  box-shadow: 0 10px 35px rgba(1, 164, 153, 0.12);
  position: relative;
  overflow: hidden;
}

/* Elementos decorativos para la sección de documentos */
.documentos-listado::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 250px;
  height: 250px;
  background: linear-gradient(45deg, var(--main-light-green-color), var(--main-green-color));
  border-radius: 50%;
  opacity: 0.05;
  z-index: 0;
}

.documentos-listado::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: var(--main-orange-color);
  border-radius: 50%;
  opacity: 0.06;
  z-index: 0;
}

/* Títulos de secciones de documentos */
.documentos-titulo-acf {
  text-align: center;
  color: var(--main-orange-color);
  font-size: 2.5rem;
  margin-bottom: 50px;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  position: relative;
  z-index: 1;
  padding: 0 30px;
}

.documentos-titulo-acf:first-of-type {
  margin-top: 0;
}

.documentos-titulo-acf::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--main-orange-color), var(--main-green-color));
  border-radius: 2px;
}

/* Grid de documentos */
.documentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 0 30px;
}

/* Enlaces de documentos */
.documento-link-card {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.3s ease;
}

/* Cards de documentos */
.documento-card {
  background: white;
  border-radius: 15px;
  border: 2px solid var(--main-green-color);
  box-shadow: 0 4px 15px rgba(1, 164, 153, 0.1);
  padding: 15px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 250px;
  cursor: pointer;
}

.documento-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, var(--main-light-green-color), var(--main-green-color));
  border-radius: 50%;
  opacity: 0.05;
  z-index: 0;
  transition: all 0.3s ease;
}

.documento-link-card:hover .documento-card {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(1, 164, 153, 0.15);
  border-color: var(--main-orange-color);
}

.documento-link-card:hover .documento-card::before {
  opacity: 0.08;
  transform: scale(1.2);
}

/* Miniatura del documento */
.documento-thumb {
  width: 120px;
  height: 150px;
  background: var(--main-lighter-green-color);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(1, 164, 153, 0.1);
  border: 2px solid var(--main-light-green-color);
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.documento-link-card:hover .documento-thumb {
  border-color: var(--main-orange-color);
  box-shadow: 0 5px 15px rgba(227, 118, 4, 0.15);
}

.documento-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  background: white;
}

/* Ícono por defecto cuando no hay imagen */
.documento-thumb .dashicons {
  font-size: 40px;
  color: var(--main-green-color);
  opacity: 0.6;
}

/* Información del documento */
.documento-info {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Nombre del archivo */
.archivo-nombre-unico {
  color: var(--main-dark-grey-color);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  font-family: "Nunito Sans", sans-serif;
  letter-spacing: 0.3px;
  line-height: 1.3;
  word-break: break-word;
  overflow-wrap: break-word;
  text-align: center;
  padding: 0 8px;
}

.documento-link-card:hover .archivo-nombre-unico {
  color: var(--main-green-color);
}

/* Mensaje cuando no hay documentos */
.documentos-vacio {
  text-align: center;
  color: var(--main-grey-color);
  font-size: 1.1rem;
  margin: 40px 0;
  font-style: italic;
  font-family: "Nunito Sans", sans-serif;
}

/* Separador entre secciones */
.documentos-titulo-acf + .documentos-grid {
  margin-top: 20px;
  position: relative;
}

.documentos-titulo-acf + .documentos-grid::before {
  content: "";
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--main-light-green-color), transparent);
  opacity: 0.3;
}

/* ===== ANIMACIONES ===== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.documentos-listado {
  animation: fadeInUp 0.8s ease-out;
}

.documento-card {
  animation: fadeInUp 0.6s ease-out;
}

.documento-card:nth-child(even) {
  animation-delay: 0.1s;
}

/* ===== RESPONSIVE DESIGN PARA PÁGINAS ESPECÍFICAS ===== */

@media (max-width: 768px) {
  .documentos-listado {
    margin: 40px 0;
    padding: 40px 0;
    border-radius: 20px;
  }
  
  .documentos-titulo-acf {
    font-size: 2rem;
    margin-bottom: 40px;
    padding: 0 20px;
  }
  
  .documentos-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    padding: 0 20px;
  }
  
  .documento-card {
    padding: 12px 10px;
    min-height: 220px;
  }
  
  .documento-thumb {
    width: 100px;
    height: 120px;
  }
  
  .archivo-nombre-unico {
    font-size: 0.8rem;
  }
  
  /* Ocultar elementos decorativos en móvil */
  .documentos-listado::before,
  .documentos-listado::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .documentos-titulo-acf {
    font-size: 1.7rem;
    margin-bottom: 30px;
  }
  
  .documentos-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
  }
  
  .documento-card {
    min-height: 200px;
  }
  
  .documento-thumb {
    width: 90px;
    height: 110px;
  }
  
  .archivo-nombre-unico {
    font-size: 0.75rem;
  }
}

/* ===== RESPONSIVE DESIGN PARA PÁGINAS ESPECÍFICAS ===== */

/* Responsive Design para documentos */
@media (max-width: 1200px) {
  .documentos-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    padding: 0 20px;
  }
  
  .documento-thumb {
    width: 110px;
    height: 140px;
  }
  
  .documentos-titulo-acf {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .title-page {
    padding: 40px 5vw 30px 5vw;
  }
  
  .title-page h1 {
    font-size: 2rem;
  }
  
  .body-page {
    padding: 40px 5vw 25px 5vw;
  }
  
  .body-page::before,
  .body-page::after {
    display: none;
  }
  
  /* Estilos responsive para documentos */
  .documentos-listado {
    border-radius: 20px;
    margin: 30px auto 40px auto;
    padding: 30px 3vw 25px 3vw;
  }
  
  .documentos-titulo-acf {
    font-size: 1.7rem;
    margin: 30px 0 20px 0;
  }
  
  .documentos-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    margin-bottom: 35px;
  }
  
  .documento-card {
    padding: 12px 10px;
    min-height: 220px;
  }
  
  .documento-thumb {
    width: 100px;
    height: 120px;
  }
  
  .archivo-nombre-unico {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .title-page h1 {
    font-size: 1.8rem;
  }
  
  /* Estilos responsive para documentos */
  .documentos-titulo-acf {
    font-size: 1.5rem;
  }
  
  .documentos-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
  }
  
  .documento-card {
    min-height: 200px;
  }
  
  .documento-thumb {
    width: 90px;
    height: 110px;
  }
  
  .archivo-nombre-unico {
    font-size: 0.75rem;
  }
}

/* ===== ESTILOS PARA PAGE-INVESTIGACION.PHP ===== */

/* Sección de información destacada */
.info-destacada {
  margin: 60px 0;
  padding: 50px 0;
  background: white;
  border-radius: 25px;
  box-shadow: 0 10px 35px rgba(1, 164, 153, 0.12);
  position: relative;
  overflow: hidden;
}

/* Elementos decorativos de fondo para información */
.info-destacada::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 250px;
  height: 250px;
  background: linear-gradient(45deg, var(--main-light-green-color), var(--main-green-color));
  border-radius: 50%;
  opacity: 0.05;
  z-index: 0;
}

.info-destacada::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 200px;
  height: 200px;
  background: var(--main-orange-color);
  border-radius: 50%;
  opacity: 0.06;
  z-index: 0;
}

.info-destacada-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 0 30px;
}

.info-izquierda {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 30px;
  background: white;
  border-radius: 25px;
  box-shadow: 0 12px 35px rgba(1, 164, 153, 0.12);
  border: 2px solid var(--main-light-green-color);
  position: relative;
  overflow: hidden;
}

.info-izquierda::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: var(--main-orange-color);
  border-radius: 50%;
  opacity: 0.05;
  z-index: 0;
}

.info-derecha {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, var(--main-green-color) 0%, var(--main-darker-green-color) 100%);
  padding: 40px 35px;
  border-radius: 25px;
  color: white;
  box-shadow: 0 12px 40px rgba(1, 164, 153, 0.2);
  position: relative;
  overflow: hidden;
}

.info-derecha::before {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 180px;
  height: 180px;
  background: white;
  border-radius: 50%;
  opacity: 0.05;
  z-index: 0;
}

.info-titulo {
  font-size: 2.2rem;
  font-family: "Nunito Sans", sans-serif;
  color: var(--main-green-color);
  margin-bottom: 15px;
  font-weight: 800;
  text-align: center;
  position: relative;
  z-index: 1;
}

.info-subtitulo {
  font-size: 1.3rem;
  font-weight: 600;
  font-family: "Nunito Sans", sans-serif;
  color: var(--main-orange-color);
  margin-bottom: 25px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.info-imagen {
  position: relative;
  z-index: 1;
}

.info-imagen img {
  width: 100%;
  max-width: 300px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(1, 164, 153, 0.15);
  border: 3px solid var(--main-light-green-color);
  transition: transform 0.3s ease;
}

.info-imagen img:hover {
  transform: scale(1.02);
}

.info-parrafo-container {
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.info-parrafo {
  font-size: 1.05rem;
  font-family: "Nunito Sans", sans-serif;
  color: white;
  text-align: justify;
  line-height: 1.7;
  margin: 0;
}

.info-parrafo-container:last-child {
  margin-bottom: 0;
}

/* Sección de investigadores */
.investigadores-container {
  margin: 60px 0;
  padding: 50px 0;
  background: white;
  border-radius: 25px;
  box-shadow: 0 10px 35px rgba(1, 164, 153, 0.12);
  position: relative;
  overflow: hidden;
}

/* Elementos decorativos para investigadores */
.investigadores-container::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 250px;
  height: 250px;
  background: linear-gradient(45deg, var(--main-light-green-color), var(--main-green-color));
  border-radius: 50%;
  opacity: 0.05;
  z-index: 0;
}

.investigadores-container::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: var(--main-orange-color);
  border-radius: 50%;
  opacity: 0.06;
  z-index: 0;
}

.investigadores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 0 30px;
}

.investigador-columna {
  background: white;
  border-radius: 20px;
  padding: 30px 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 2px solid var(--main-light-green-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.investigador-columna::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, var(--main-orange-color), var(--main-green-color));
  border-radius: 50%;
  opacity: 0.05;
  z-index: 0;
}

.investigador-columna:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  border-color: var(--main-orange-color);
}

.investigador-columna h2 {
  text-align: center;
  font-size: 1.5rem;
  color: var(--main-orange-color);
  font-family: 'Nunito Sans', sans-serif;
  margin-bottom: 25px;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.investigador-columna h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--main-orange-color), var(--main-green-color));
  border-radius: 2px;
}

.investigadores-listado {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}

.investigador-item {
  padding: 12px 15px;
  border-bottom: 1px solid var(--main-lighter-green-color);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--main-dark-grey-color);
  display: flex;
  align-items: center;
  transition: background-color 0.2s ease;
}

.investigador-item:hover {
  background-color: var(--main-lighter-green-color);
}

.investigador-item:last-child {
  border-bottom: none;
}

.investigador-nombre {
  color: var(--main-green-color);
  font-weight: 600;
}

/* Sección I+D */
.i-d-listado {
  margin: 60px 0;
  padding: 50px 0;
  background: white;
  border-radius: 25px;
  box-shadow: 0 10px 35px rgba(1, 164, 153, 0.12);
  position: relative;
  overflow: hidden;
}

/* Elementos decorativos para I+D */
.i-d-listado::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 250px;
  height: 250px;
  background: linear-gradient(45deg, var(--main-light-green-color), var(--main-green-color));
  border-radius: 50%;
  opacity: 0.05;
  z-index: 0;
}

.i-d-listado::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: var(--main-orange-color);
  border-radius: 50%;
  opacity: 0.06;
  z-index: 0;
}

.title-contactos {
  text-align: center;
  color: var(--main-orange-color);
  font-size: 2.5rem;
  margin-bottom: 50px;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  position: relative;
  z-index: 1;
  padding: 0 30px;
}

.title-contactos::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--main-orange-color), var(--main-green-color));
  border-radius: 2px;
}

.i-d-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 0 30px;
}

.i-d-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(1, 164, 153, 0.12);
  border: 2px solid var(--main-green-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.i-d-card::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, var(--main-orange-color), var(--main-green-color));
  border-radius: 50%;
  opacity: 0.05;
  z-index: 0;
}

.i-d-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(1, 164, 153, 0.18);
  border-color: var(--main-orange-color);
}

.i-d-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--main-orange-color);
  font-family: "Nunito Sans", sans-serif;
  position: relative;
  z-index: 1;
}

.i-d-foto {
  position: relative;
  z-index: 1;
}

.i-d-foto img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(1, 164, 153, 0.15);
  border: 2px solid var(--main-light-green-color);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.i-d-card:hover .i-d-foto img {
  transform: scale(1.05);
  border-color: var(--main-orange-color);
}

/* ===== ESTILOS UNIFICADOS PARA LISTADO DE MIEMBROS ===== */

/* Sección de miembros - Estilo unificado para todas las páginas */
.miembros-listado {
  background: linear-gradient(135deg, var(--main-green-color) 0%, var(--main-darker-green-color) 100%);
  padding: 80px 7vw 60px 7vw;
  position: relative;
  overflow: hidden;
  border-radius: 25px;
  margin-top: 40px;
}

/* Elementos decorativos para miembros */
.miembros-listado::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -80px;
  width: 250px;
  height: 250px;
  background: white;
  border-radius: 50%;
  opacity: 0.04;
  z-index: 0;
}

.miembros-listado::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: var(--main-orange-color);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
}

.miembros-listado .title-contactos {
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  position: relative;
  z-index: 1;
}

.miembros-listado .title-contactos::after {
  background: var(--main-orange-color);
}

.miembros-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.miembro-card {
  background: white;
  border: 2px solid var(--main-light-green-color);
  border-radius: 20px;
  padding: 25px 20px;
  width: 320px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.miembro-card::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, var(--main-orange-color), var(--main-green-color));
  border-radius: 50%;
  opacity: 0.05;
  z-index: 0;
}

.miembro-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  border-color: var(--main-orange-color);
}

.miembro-foto {
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.miembro-foto img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--main-green-color);
  object-fit: cover;
  margin: 0 auto;
  display: block;
  transition: border-color 0.3s ease;
}

.miembro-card:hover .miembro-foto img {
  border-color: var(--main-orange-color);
}

.miembro-nombre {
  font-size: 1.2rem;
  color: var(--main-green-color);
  margin: 15px 0 10px 0;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.miembro-cargo, 
.miembro-sub-cargo {
  font-size: 1rem;
  font-style: italic;
  font-weight: 600;
  color: var(--main-orange-color);
  margin-bottom: 10px;
  font-family: "Nunito Sans", sans-serif;
  position: relative;
  z-index: 1;
}

.miembro-datos p {
  font-size: 0.9rem;
  color: var(--main-dark-grey-color);
  font-family: "Nunito Sans", sans-serif;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

/* Asegurar que no hay fondos blancos no deseados */
.info-derecha *,
.info-derecha *::before,
.info-derecha *::after {
  background: transparent !important;
}


/* Excepción para mantener los fondos necesarios */
.info-derecha {
  background: linear-gradient(135deg, var(--main-green-color) 0%, var(--main-darker-green-color) 100%) !important;
}

.investigadores-container {
  background: linear-gradient(135deg, var(--main-green-color) 0%, var(--main-darker-green-color) 100%) !important;
}

.miembros-listado {
  background: linear-gradient(135deg, var(--main-green-color) 0%, var(--main-darker-green-color) 100%) !important;
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 1200px) {
  .info-destacada-content {
    gap: 40px;
  }
  
  .investigadores-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
  }
  
  .i-d-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 20px;
  }
  
  .miembros-listado {
    padding: 60px 5vw 50px 5vw;
  }
}

@media (max-width: 768px) {
  .info-destacada,
  .investigadores-container,
  .i-d-listado {
    margin: 40px 0;
    padding: 40px 0;
    border-radius: 20px;
  }
  
  .miembros-listado {
    padding: 60px 5vw 50px 5vw;
  }
  
  .info-destacada-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
    padding: 0 20px;
  }
  
  .info-izquierda,
  .info-derecha {
    padding: 30px 25px;
  }
  
  .info-titulo {
    font-size: 1.8rem;
  }
  
  .info-subtitulo {
    font-size: 1.1rem;
  }
  
  .investigador-columna h2 {
    font-size: 1.3rem;
  }
  
  .title-contactos {
    font-size: 2rem;
    margin-bottom: 40px;
    padding: 0 20px;
  }
  
  .i-d-card {
    padding: 30px 25px;
  }
  
  .i-d-foto img {
    max-width: 400px;
  }
  
  .miembros-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
  .miembro-card {
    width: 100%;
    max-width: 350px;
  }
  
  .miembros-listado {
    padding: 60px 5vw 50px 5vw;
  }
  
  /* Ocultar elementos decorativos en móvil */
  .info-destacada::before,
  .info-destacada::after,
  .investigadores-container::before,
  .investigadores-container::after,
  .i-d-listado::before,
  .i-d-listado::after,
  .miembros-listado::before,
  .miembros-listado::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .investigador-columna,
  .miembro-card {
    padding: 25px 20px;
  }
  
  .i-d-card {
    padding: 25px 20px;
  }
  
  .i-d-foto img {
    max-width: 350px;
  }
  
  .miembro-card {
    max-width: 300px;
  }
  
  .miembro-foto img {
    width: 100px;
    height: 100px;
    border-width: 3px;
  }
}

@media (max-width: 480px) {
  .info-titulo {
    font-size: 1.5rem;
  }
  
  .info-subtitulo {
    font-size: 1rem;
  }
  
  .title-contactos {
    font-size: 1.7rem;
  }
  
  .i-d-title {
    font-size: 1.2rem;
  }
  
  .i-d-foto img {
    max-width: 300px;
  }
  
  .miembro-card {
    width: 95%;
    max-width: 280px;
  }
}

/* ===== ANIMACIONES ===== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.info-izquierda {
  animation: slideInLeft 0.8s ease-out;
}

.info-derecha {
  animation: slideInRight 0.8s ease-out 0.2s both;
}

.investigador-columna,
.i-d-card,
.miembro-card {
  animation: fadeInUp 0.6s ease-out;
}

.investigador-columna:nth-child(2) {
  animation-delay: 0.1s;
}

.investigador-columna:nth-child(3) {
  animation-delay: 0.2s;
}

.i-d-card:nth-child(even),
.miembro-card:nth-child(even) {
  animation-delay: 0.1s;
}
/* ===== ESTILOS DEL LOGO Y NAVEGACIÓN ===== */

/* Estilos solo para el logo de CECTA */
body nav.main-nav .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
  margin-left: 150px;
}

body nav.main-nav .logo:hover {
  transform: scale(1.02);
}

body nav.main-nav .logo img {
  max-height: 100px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

body nav.main-nav .logo img:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Responsive para el logo */
@media (max-width: 768px) {
  body nav.main-nav .logo img {
    max-height: 65px;
  }
}

/* Mantener estilos originales del navbar */
body nav.main-nav {
  overflow: visible !important;
}

body nav.main-nav ul ul {
  display: none !important;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 200px;
  background: #01a499;
  z-index: 1000;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  padding: 0;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  display: flex;
  flex-direction: column;
  gap: 0;
}

body nav.main-nav ul > li {
  position: relative !important;
}

body nav.main-nav ul > li:hover > ul,
body nav.main-nav ul > li:focus-within > ul {
  display: flex !important;
}

body nav.main-nav ul ul li {
  width: 100%;
}

body nav.main-nav ul ul li a {
  color: #fff !important;
  padding: 16px 32px !important;
  font-family: "Nunito Sans", sans-serif !important;
  font-size: 1.35rem !important;
  font-weight: bold !important;
  background: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s, color 0.2s;
  box-shadow: none;
  text-decoration: none;
  display: block;
}

body nav.main-nav ul ul li:last-child a {
  border-bottom: none;
}

body nav.main-nav ul ul li a:hover,
body nav.main-nav ul ul li a:focus {
  background: #01a499 !important;
  color: #fff !important;
}

/* ===== ESTILOS PARA PAGE-QUIENES-SOMOS.PHP ===== */

/* Sección de descripción de CECTA */
.cecta-description {
  margin: 50px 0;
  padding: 50px 0;
  background: white;
  border-radius: 25px;
  box-shadow: 0 8px 30px rgba(1, 164, 153, 0.1);
  position: relative;
  overflow: hidden;
}

/* Elementos decorativos para CECTA */
.cecta-description::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, var(--main-orange-color), var(--main-green-color));
  border-radius: 50%;
  opacity: 0.06;
  z-index: 0;
}

.cecta-description::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 180px;
  height: 180px;
  background: var(--main-light-green-color);
  border-radius: 50%;
  opacity: 0.08;
  z-index: 0;
}

.cecta-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cecta-col.izquierda {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, var(--main-green-color) 0%, var(--main-darker-green-color) 100%);
  border-radius: 20px;
  color: white;
  box-shadow: 0 10px 25px rgba(1, 164, 153, 0.15);
  position: relative;
  overflow: hidden;
}

.cecta-col.izquierda::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: white;
  border-radius: 50%;
  opacity: 0.05;
  z-index: 0;
}

.cecta-col.derecha {
  background: var(--main-lighter-green-color);
  padding: 40px 35px;
  border-radius: 20px;
  border: 2px solid var(--main-light-green-color);
  box-shadow: 0 6px 20px rgba(1, 164, 153, 0.08);
  position: relative;
  z-index: 1;
}

.titulo-cecta {
  font-size: 2.2rem;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  position: relative;
  z-index: 1;
}

.sigla-cecta {
  font-size: 1.5rem;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  color: var(--main-orange-color);
  margin: 0;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  letter-spacing: 2px;
}

.contenido-cecta {
  font-size: 1.1rem;
  font-family: "Nunito Sans", sans-serif;
  color: var(--main-dark-grey-color);
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.contenido-cecta:last-child {
  margin-bottom: 0;
}

/* Sección de Misión y Visión */
.mision-vision-container {
  margin: 60px 0;
  position: relative;
}

.mision-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.mision-vision-card {
  background: linear-gradient(135deg, var(--main-green-color) 0%, var(--main-darker-green-color) 100%);
  padding: 40px 30px;
  border-radius: 25px;
  color: white;
  box-shadow: 0 12px 35px rgba(1, 164, 153, 0.2);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mision-vision-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: white;
  border-radius: 50%;
  opacity: 0.05;
  z-index: 0;
}

.mision-vision-card::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 100px;
  height: 100px;
  background: var(--main-orange-color);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
}

.mision-vision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(1, 164, 153, 0.25);
}

.mision-vision-title {
  font-size: 1.8rem;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  position: relative;
  z-index: 1;
}

.mision-vision-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--main-orange-color);
  border-radius: 2px;
}

.mision-vision-texto {
  font-size: 1.1rem;
  font-family: "Nunito Sans", sans-serif;
  line-height: 1.7;
  text-align: justify;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Sección del organigrama */
.organigrama-container {
  margin: 60px 0 40px 0;
  padding: 40px 30px;
  background: white;
  border-radius: 25px;
  box-shadow: 0 8px 30px rgba(1, 164, 153, 0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.organigrama-container::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -40px;
  width: 120px;
  height: 120px;
  background: linear-gradient(45deg, var(--main-green-color), var(--main-orange-color));
  border-radius: 50%;
  opacity: 0.04;
  z-index: 0;
}

.title-organigrama {
  font-size: 2rem;
  color: var(--main-orange-color);
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.title-organigrama::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--main-orange-color), var(--main-green-color));
  border-radius: 2px;
}

.organigrama-descarga {
  position: relative;
  z-index: 1;
}

.organigrama-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 25px 30px;
  background: var(--main-lighter-green-color);
  border: 2px solid var(--main-green-color);
  border-radius: 20px;
  transition: all 0.3s ease;
  max-width: 300px;
}

.organigrama-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(1, 164, 153, 0.15);
  border-color: var(--main-orange-color);
  background: white;
}

.organigrama-thumb {
  width: 120px;
  height: 150px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(1, 164, 153, 0.1);
  margin-bottom: 15px;
  object-fit: cover;
  border: 2px solid var(--main-light-green-color);
  transition: border-color 0.3s ease;
}

.organigrama-link:hover .organigrama-thumb {
  border-color: var(--main-orange-color);
}

.icono-pdf {
  font-size: 4rem;
  color: var(--main-green-color);
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.organigrama-link:hover .icono-pdf {
  color: var(--main-orange-color);
}

.organigrama-texto {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--main-green-color);
  font-family: "Nunito Sans", sans-serif;
  text-align: center;
  transition: color 0.3s ease;
}

.organigrama-link:hover .organigrama-texto {
  color: var(--main-orange-color);
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 1200px) {
  .cecta-grid {
    gap: 40px;
    padding: 0 20px;
  }
  
  .mision-vision-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .cecta-description,
  .mision-vision-container,
  .organigrama-container {
    margin: 40px 0;
    border-radius: 20px;
  }
  
  .cecta-description,
  .organigrama-container {
    padding: 30px 20px;
  }
  
  .cecta-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 15px;
  }
  
  .cecta-col.izquierda,
  .cecta-col.derecha {
    padding: 25px 20px;
  }
  
  .titulo-cecta {
    font-size: 1.8rem;
  }
  
  .sigla-cecta {
    font-size: 1.3rem;
    padding: 8px 15px;
  }
  
  .contenido-cecta {
    font-size: 1rem;
    text-align: left;
  }
  
  .mision-vision-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .mision-vision-card {
    padding: 30px 25px;
  }
  
  .mision-vision-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
  .mision-vision-texto {
    font-size: 1rem;
    text-align: left;
  }
  
  .title-organigrama {
    font-size: 1.7rem;
    margin-bottom: 25px;
  }
  
  .organigrama-link {
    max-width: 250px;
    padding: 20px 25px;
  }
  
  .organigrama-thumb {
    width: 100px;
    height: 120px;
  }
  
  .organigrama-texto {
    font-size: 1rem;
  }
  
  /* Ocultar elementos decorativos en móvil */
  .cecta-description::before,
  .cecta-description::after,
  .organigrama-container::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .cecta-col.izquierda,
  .cecta-col.derecha,
  .mision-vision-card,
  .organigrama-container {
    padding: 20px 15px;
  }
  
  .titulo-cecta {
    font-size: 1.5rem;
  }
  
  .sigla-cecta {
    font-size: 1.1rem;
  }
  
  .mision-vision-title {
    font-size: 1.3rem;
  }
  
  .title-organigrama {
    font-size: 1.5rem;
  }
  
  .organigrama-link {
    max-width: 220px;
    padding: 15px 20px;
  }
  
  .organigrama-thumb {
    width: 90px;
    height: 110px;
  }
  
  .icono-pdf {
    font-size: 3rem;
  }
}

/* ===== ANIMACIONES ===== */

/* Asegurar que no hay fondos blancos no deseados */
.mision-vision-card *,
.mision-vision-card *::before,
.mision-vision-card *::after {
  background: transparent !important;
}

.cecta-col.izquierda *,
.cecta-col.izquierda *::before,
.cecta-col.izquierda *::after {
  background: transparent !important;
}

/* Excepción para los elementos que SÍ deben tener fondo */
.cecta-col.izquierda {
  background: linear-gradient(135deg, var(--main-green-color) 0%, var(--main-darker-green-color) 100%) !important;
}

.mision-vision-card {
  background: linear-gradient(135deg, var(--main-green-color) 0%, var(--main-darker-green-color) 100%) !important;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.cecta-col.izquierda {
  animation: slideInLeft 0.8s ease-out;
}

.cecta-col.derecha {
  animation: slideInRight 0.8s ease-out 0.2s both;
}

.mision-vision-card {
  animation: fadeInUp 0.6s ease-out;
}

.mision-vision-card:nth-child(even) {
  animation-delay: 0.2s;
}

.organigrama-container {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* ===== ESTILOS PARA PAGE-CALIDAD.PHP ===== */

/* Sección principal de contenidos de calidad */
.contenidos-calidad {
  margin: 60px 0;
  padding: 50px 0;
  background: white;
  border-radius: 25px;
  box-shadow: 0 10px 35px rgba(1, 164, 153, 0.12);
  position: relative;
  overflow: hidden;
}

/* Elementos decorativos para contenidos de calidad */
.contenidos-calidad::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 250px;
  height: 250px;
  background: linear-gradient(45deg, var(--main-light-green-color), var(--main-green-color));
  border-radius: 50%;
  opacity: 0.05;
  z-index: 0;
}

.contenidos-calidad::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: var(--main-orange-color);
  border-radius: 50%;
  opacity: 0.06;
  z-index: 0;
}

/* Título principal de la sección */
.contenidos-titulo-seccion {
  font-size: 2.5rem;
  color: var(--main-orange-color);
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.contenidos-titulo-seccion::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--main-orange-color), var(--main-green-color));
  border-radius: 2px;
}

/* Grid de contenidos */
.contenidos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 1;
}

/* Cards de contenido */
.contenidos-card {
  background: linear-gradient(135deg, var(--main-green-color) 0%, var(--main-darker-green-color) 100%);
  padding: 40px 35px;
  border-radius: 25px;
  color: white;
  box-shadow: 0 12px 35px rgba(1, 164, 153, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

/* Elementos decorativos para las cards */
.contenidos-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 150px;
  height: 150px;
  background: white;
  border-radius: 50%;
  opacity: 0.05;
  z-index: 0;
  transition: all 0.3s ease;
}

.contenidos-card::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 120px;
  height: 120px;
  background: var(--main-orange-color);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
  transition: all 0.3s ease;
}

.contenidos-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(1, 164, 153, 0.25);
  border-color: var(--main-orange-color);
}

.contenidos-card:hover::before {
  opacity: 0.08;
  transform: scale(1.1);
}

.contenidos-card:hover::after {
  opacity: 0.15;
  transform: scale(1.1);
}

/* Títulos de las cards */
.contenido-title {
  font-size: 1.8rem;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  margin-bottom: 25px;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  position: relative;
  z-index: 1;
  color: white;
}

.contenido-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--main-orange-color);
  border-radius: 2px;
}

/* Texto de contenido */
.contenido-texto {
  font-size: 1.1rem;
  font-family: "Nunito Sans", sans-serif;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  color: white;
}

.contenido-texto:last-child {
  margin-bottom: 0;
}

/* Asegurar que no hay fondos blancos no deseados */
.contenidos-card *,
.contenidos-card *::before,
.contenidos-card *::after {
  background: transparent !important;
}

/* Excepción para mantener el fondo de las cards */
.contenidos-card {
  background: linear-gradient(135deg, var(--main-green-color) 0%, var(--main-darker-green-color) 100%) !important;
}



/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 1200px) {
  .contenidos-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
  }
  
  .contenidos-titulo-seccion {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .contenidos-calidad {
    margin: 40px 0;
    padding: 40px 0;
    border-radius: 20px;
  }
  
  .contenidos-titulo-seccion {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  
  .contenidos-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 15px;
  }
  
  .contenidos-card {
    padding: 30px 25px;
  }
  
  .contenido-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  .contenido-texto {
    font-size: 1rem;
    text-align: left;
  }
  
  .miembros-listado {
    padding: 60px 5vw 50px 5vw;
  }
  
  /* Ocultar elementos decorativos en móvil */
  .contenidos-calidad::before,
  .contenidos-calidad::after,
  .miembros-listado::before,
  .miembros-listado::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .contenidos-titulo-seccion {
    font-size: 1.7rem;
    margin-bottom: 30px;
  }
  
  .contenidos-card {
    padding: 25px 20px;
  }
  
  .contenido-title {
    font-size: 1.3rem;
  }
  
  .contenido-texto {
    font-size: 0.95rem;
  }
}

/* ===== ANIMACIONES ===== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.contenidos-card:nth-child(1) {
  animation: slideInLeft 0.8s ease-out;
}

.contenidos-card:nth-child(2) {
  animation: slideInRight 0.8s ease-out 0.2s both;
}

.contenidos-titulo-seccion {
  animation: fadeInUp 0.6s ease-out;
}

/* Efectos de brillo sutil en hover */
.contenidos-card:hover {
  background: linear-gradient(135deg, 
    var(--main-light-green-color) 0%, 
    var(--main-green-color) 50%, 
    var(--main-darker-green-color) 100%) !important;
}

/* ===== ESTILOS PARA PAGE-CAPACITACION.PHP ===== */

/* Contenedor principal de descripción de capacitación */
.capacitacion-description {
  margin: 60px 0;
  padding: 50px 0;
  background: white;
  border-radius: 25px;
  box-shadow: 0 10px 35px rgba(1, 164, 153, 0.12);
  position: relative;
  overflow: hidden;
}

/* Elementos decorativos para capacitación */
.capacitacion-description::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 250px;
  height: 250px;
  background: linear-gradient(45deg, var(--main-orange-color), var(--main-green-color));
  border-radius: 50%;
  opacity: 0.06;
  z-index: 0;
}

.capacitacion-description::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 200px;
  height: 200px;
  background: linear-gradient(-45deg, var(--main-light-green-color), var(--main-darker-green-color));
  border-radius: 50%;
  opacity: 0.05;
  z-index: 0;
}

/* Container general */
.capacitacion-description .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 1;
}

/* Grid de capacitación */
.capacitacion-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: center;
}

/* Columna izquierda - Título */
.capacitacion-col.izquierda {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 30px;
  background: linear-gradient(135deg, var(--main-green-color) 0%, var(--main-darker-green-color) 100%);
  border-radius: 25px;
  color: white;
  box-shadow: 0 12px 30px rgba(1, 164, 153, 0.15);
  position: relative;
  overflow: hidden;
}

/* Elementos decorativos para columna izquierda */
.capacitacion-col.izquierda::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: white;
  border-radius: 50%;
  opacity: 0.05;
  z-index: 0;
}

.capacitacion-col.izquierda::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 100px;
  height: 100px;
  background: var(--main-orange-color);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
}

/* Título de capacitación */
.titulo-capacitacion {
  font-size: 2.2rem;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  position: relative;
  z-index: 1;
  color: white;
}

/* Columna derecha - Contenido */
.capacitacion-col.derecha {
  background: var(--main-lighter-green-color);
  padding: 40px 35px;
  border-radius: 20px;
  border: 2px solid var(--main-light-green-color);
  box-shadow: 0 8px 25px rgba(1, 164, 153, 0.1);
  position: relative;
  overflow: hidden;
}

/* Elementos decorativos para columna derecha */
.capacitacion-col.derecha::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -40px;
  width: 120px;
  height: 120px;
  background: linear-gradient(45deg, var(--main-green-color), var(--main-orange-color));
  border-radius: 50%;
  opacity: 0.04;
  z-index: 0;
}

/* Texto de capacitación */
.texto-capacitacion {
  font-size: 1.15rem;
  font-family: "Nunito Sans", sans-serif;
  color: var(--main-dark-grey-color);
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
  position: relative;
  z-index: 1;
}

.texto-capacitacion:last-child {
  margin-bottom: 0;
}

/* Asegurar que no hay fondos blancos no deseados */
.capacitacion-col.izquierda *,
.capacitacion-col.izquierda *::before,
.capacitacion-col.izquierda *::after {
  background: transparent !important;
}

/* Excepción para mantener el fondo de la columna izquierda */
.capacitacion-col.izquierda {
  background: linear-gradient(135deg, var(--main-green-color) 0%, var(--main-darker-green-color) 100%) !important;
}



/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 1200px) {
  .capacitacion-grid {
    gap: 40px;
  }
  
  .capacitacion-description .container {
    padding: 0 25px;
  }
  
  .titulo-capacitacion {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .capacitacion-description {
    margin: 40px 0;
    padding: 40px 0;
    border-radius: 20px;
  }
  
  .capacitacion-description .container {
    padding: 0 20px;
  }
  
  .capacitacion-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .capacitacion-col.izquierda,
  .capacitacion-col.derecha {
    padding: 30px 25px;
  }
  
  .titulo-capacitacion {
    font-size: 1.8rem;
  }
  
  .texto-capacitacion {
    font-size: 1.05rem;
    text-align: left;
  }
  
  .miembros-listado {
    padding: 60px 5vw 50px 5vw;
  }
  
  /* Ocultar elementos decorativos en móvil */
  .capacitacion-description::before,
  .capacitacion-description::after,
  .miembros-listado::before,
  .miembros-listado::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .capacitacion-description .container {
    padding: 0 15px;
  }
  
  .capacitacion-col.izquierda,
  .capacitacion-col.derecha {
    padding: 25px 20px;
  }
  
  .titulo-capacitacion {
    font-size: 1.6rem;
  }
  
  .texto-capacitacion {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .capacitacion-col.izquierda,
  .capacitacion-col.derecha {
    padding: 20px 15px;
  }
  
  .titulo-capacitacion {
    font-size: 1.4rem;
  }
  
  .texto-capacitacion {
    font-size: 0.95rem;
  }
}

/* ===== ANIMACIONES ===== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.capacitacion-col.izquierda {
  animation: slideInLeft 0.8s ease-out;
}

.capacitacion-col.derecha {
  animation: slideInRight 0.8s ease-out 0.2s both;
}

.capacitacion-description {
  animation: fadeInUp 0.6s ease-out;
}

/* Efectos hover */
.capacitacion-col.izquierda:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(1, 164, 153, 0.2);
}

.capacitacion-col.derecha:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(1, 164, 153, 0.15);
  border-color: var(--main-orange-color);
}

/* ===== ESTILOS PARA PAGE-ASISTENCIA-TECNICA.PHP ===== */

/* Sección principal de laboratorios */
.laboratorios-listado {
  margin: 60px 0;
  padding: 50px 0;
  background: white;
  border-radius: 25px;
  box-shadow: 0 10px 35px rgba(1, 164, 153, 0.12);
  position: relative;
  overflow: hidden;
}

/* Elementos decorativos para laboratorios */
.laboratorios-listado::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 300px;
  height: 300px;
  background: linear-gradient(45deg, var(--main-orange-color), var(--main-green-color));
  border-radius: 50%;
  opacity: 0.06;
  z-index: 0;
}

.laboratorios-listado::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 250px;
  height: 250px;
  background: linear-gradient(-45deg, var(--main-light-green-color), var(--main-darker-green-color));
  border-radius: 50%;
  opacity: 0.05;
  z-index: 0;
}

/* Título principal de laboratorios */
.title-laboratorios {
  font-size: 2.5rem;
  color: var(--main-orange-color);
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.title-laboratorios::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--main-orange-color), var(--main-green-color));
  border-radius: 2px;
}

/* Container de laboratorios */
.laboratorios-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 1;
}

/* Card individual de laboratorio */
.laboratorio-card {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  background: var(--main-lighter-green-color);
  border-radius: 25px;
  padding: 40px 35px;
  border: 2px solid var(--main-light-green-color);
  box-shadow: 0 8px 25px rgba(1, 164, 153, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  align-items: start;
}

/* Elementos decorativos para cada card */
.laboratorio-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: linear-gradient(45deg, var(--main-green-color), var(--main-orange-color));
  border-radius: 50%;
  opacity: 0.04;
  z-index: 0;
}

.laboratorio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(1, 164, 153, 0.18);
  border-color: var(--main-orange-color);
}

/* Imagen del laboratorio */
.laboratorio-img {
  position: relative;
  z-index: 1;
}

.laboratorio-img img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(1, 164, 153, 0.15);
  border: 2px solid var(--main-light-green-color);
  transition: all 0.3s ease;
}

.laboratorio-card:hover .laboratorio-img img {
  border-color: var(--main-orange-color);
  transform: scale(1.02);
}

/* Información del laboratorio */
.laboratorio-info {
  position: relative;
  z-index: 1;
}

.laboratorio-titulo {
  font-size: 1.8rem;
  color: var(--main-green-color);
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  margin-bottom: 20px;
}

.laboratorio-descripcion {
  font-size: 1.1rem;
  color: var(--main-dark-grey-color);
  font-family: "Nunito Sans", sans-serif;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
}

/* Descripción extra */
.laboratorio-desc-extra {
  margin-bottom: 25px;
}

.laboratorio-desc1,
.laboratorio-desc2 {
  font-size: 1rem;
  color: var(--main-dark-grey-color);
  font-family: "Nunito Sans", sans-serif;
  line-height: 1.6;
  margin-bottom: 15px;
  text-align: justify;
}

.laboratorio-desc2:last-child {
  margin-bottom: 0;
}

/* Box de servicios */
.laboratorio-servicios-box {
  background: white;
  padding: 25px 20px;
  border-radius: 15px;
  border: 2px solid var(--main-green-color);
  box-shadow: 0 4px 15px rgba(1, 164, 153, 0.08);
  transition: all 0.3s ease;
}

.laboratorio-card:hover .laboratorio-servicios-box {
  border-color: var(--main-orange-color);
  box-shadow: 0 6px 20px rgba(1, 164, 153, 0.12);
}

.laboratorio-servicios-titulo {
  font-size: 1.3rem;
  color: var(--main-orange-color);
  font-family: "Nunito Sans", sans-serif;
  font-weight: 700;
  margin-bottom: 15px;
  text-align: center;
}

.laboratorio-servicios-titulo::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--main-orange-color);
  margin: 8px auto 0;
  border-radius: 1px;
}

/* Lista de áreas */
.laboratorio-areas {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.laboratorio-areas li {
  padding: 8px 0;
  color: var(--main-dark-grey-color);
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--main-lighter-green-color);
  position: relative;
  padding-left: 20px;
}

.laboratorio-areas li:last-child {
  border-bottom: none;
}

.laboratorio-areas li::before {
  content: "▸";
  color: var(--main-green-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 8px;
}

/* Texto y contacto adicional */
.laboratorio-texto,
.laboratorio-contacto {
  font-size: 0.95rem;
  color: var(--main-dark-grey-color);
  font-family: "Nunito Sans", sans-serif;
  line-height: 1.5;
  margin-bottom: 10px;
}

.laboratorio-contacto {
  font-weight: 600;
  color: var(--main-green-color);
  margin-bottom: 0;
}

/* Sección de descripción-asistencia extra */
.descripcion-asistencia-extra {
  margin: 60px 0;
  padding: 40px 35px;
  background: linear-gradient(135deg, var(--main-green-color) 0%, var(--main-darker-green-color) 100%);
  border-radius: 25px;
  color: white;
  box-shadow: 0 12px 35px rgba(1, 164, 153, 0.2);
  position: relative;
  overflow: hidden;
}

/* Elementos decorativos para descripción extra */
.descripcion-asistencia-extra::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: white;
  border-radius: 50%;
  opacity: 0.05;
  z-index: 0;
}

.descripcion-asistencia-extra::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 120px;
  height: 120px;
  background: var(--main-orange-color);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
}

.descripcion-asistencia-desc1,
.descripcion-asistencia-desc2 {
  font-size: 1.1rem;
  font-family: "Nunito Sans", sans-serif;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
  position: relative;
  z-index: 1;
  color: white;
}

.descripcion-asistencia-desc2:last-child {
  margin-bottom: 0;
}



/* Asegurar que no hay fondos blancos no deseados */
.descripcion-asistencia-extra *,
.descripcion-asistencia-extra *::before,
.descripcion-asistencia-extra *::after {
  background: transparent !important;
}

/* Excepción para mantener los fondos necesarios */
.descripcion-asistencia-extra {
  background: linear-gradient(135deg, var(--main-green-color) 0%, var(--main-darker-green-color) 100%) !important;
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 1200px) {
  .laboratorios-container {
    padding: 0 25px;
  }
  
  .laboratorio-card {
    gap: 30px;
  }
  
  .title-laboratorios {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .laboratorios-listado {
    margin: 40px 0;
    padding: 40px 0;
    border-radius: 20px;
  }
  
  .laboratorios-container {
    padding: 0 20px;
  }
  
  .title-laboratorios {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  
  .laboratorio-card {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 30px 25px;
  }
  
  .laboratorio-img img {
    height: 200px;
  }
  
  .laboratorio-titulo {
    font-size: 1.5rem;
    text-align: center;
  }
  
  .laboratorio-descripcion,
  .laboratorio-desc1,
  .laboratorio-desc2 {
    font-size: 1rem;
    text-align: left;
  }
  
  .laboratorio-servicios-box {
    padding: 20px 15px;
  }
  
  .descripcion-asistencia-extra {
    margin: 40px 0;
    padding: 30px 25px;
  }
  
  .descripcion-asistencia-desc1,
  .descripcion-asistencia-desc2 {
    font-size: 1rem;
    text-align: left;
  }
  
  .miembros-listado {
    padding: 60px 5vw 50px 5vw;
  }
  
  /* Ocultar elementos decorativos en móvil */
  .laboratorios-listado::before,
  .laboratorios-listado::after,
  .descripcion-asistencia-extra::before,
  .descripcion-asistencia-extra::after,
  .miembros-listado::before,
  .miembros-listado::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .laboratorios-container {
    padding: 0 15px;
  }
  
  .laboratorio-card {
    padding: 25px 20px;
  }
  
  .laboratorio-img img {
    height: 180px;
  }
  
  .laboratorio-servicios-titulo {
    font-size: 1.1rem;
  }
  
  .laboratorio-areas li {
    font-size: 0.9rem;
  }
  
  .descripcion-asistencia-extra {
    padding: 25px 20px;
  }
}

@media (max-width: 480px) {
  .title-laboratorios {
    font-size: 1.7rem;
    margin-bottom: 30px;
  }
  
  .laboratorio-card {
    padding: 20px 15px;
  }
  
  .laboratorio-titulo {
    font-size: 1.3rem;
  }
  
  .laboratorio-img img {
    height: 160px;
  }
  
  .laboratorio-servicios-box {
    padding: 15px 12px;
  }
  
  .descripcion-asistencia-desc1,
  .descripcion-asistencia-desc2 {
    font-size: 0.95rem;
  }
}

/* ===== ANIMACIONES ===== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.title-laboratorios {
  animation: fadeInUp 0.6s ease-out;
}

.laboratorio-card:nth-child(odd) .laboratorio-img {
  animation: slideInLeft 0.8s ease-out;
}

.laboratorio-card:nth-child(even) .laboratorio-img {
  animation: slideInRight 0.8s ease-out;
}

.laboratorio-card:nth-child(odd) .laboratorio-info {
  animation: slideInRight 0.8s ease-out 0.2s both;
}

.laboratorio-card:nth-child(even) .laboratorio-info {
  animation: slideInLeft 0.8s ease-out 0.2s both;
}

.descripcion-asistencia-extra {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Efectos adicionales en hover */
.laboratorio-card:hover .laboratorio-titulo {
  color: var(--main-orange-color);
  transition: color 0.3s ease;
}

.laboratorio-card:hover .laboratorio-areas li::before {
  color: var(--main-orange-color);
  transition: color 0.3s ease;
}

/* ===== ESTILOS PARA PAGE-ACTIVIDADES.PHP ===== */

/* Sección principal de estadísticas generales */
.estadisticas-generales {
  margin: 60px 0;
  padding: 50px 0;
  background: white;
  border-radius: 25px;
  box-shadow: 0 10px 35px rgba(1, 164, 153, 0.12);
  position: relative;
  overflow: hidden;
}

/* Elementos decorativos para estadísticas */
.estadisticas-generales::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: linear-gradient(45deg, var(--main-orange-color), var(--main-green-color));
  border-radius: 50%;
  opacity: 0.04;
  z-index: 0;
}

.estadisticas-generales::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 350px;
  height: 350px;
  background: linear-gradient(-45deg, var(--main-light-green-color), var(--main-darker-green-color));
  border-radius: 50%;
  opacity: 0.05;
  z-index: 0;
}

/* Título principal */
.estadisticas-titulo-principal {
  font-size: 2.5rem;
  color: var(--main-orange-color);
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
  letter-spacing: 1px;
  padding: 0 30px;
}

.estadisticas-titulo-principal::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--main-orange-color), var(--main-green-color));
  border-radius: 2px;
}

/* Container de cards */
.estadisticas-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 0 30px;
}

/* Card base de estadística */
.estadistica-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px 40px;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 3px solid transparent;
  cursor: default;
  min-height: 280px;
}

/* Elementos decorativos para cada card */
.estadistica-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
  transition: all 0.4s ease;
}

.estadistica-card::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -30%;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  opacity: 0.08;
  z-index: 0;
  transition: all 0.4s ease;
}

/* Efectos hover base */
.estadistica-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.estadistica-card:hover::before {
  opacity: 0.15;
  transform: scale(1.3);
}

.estadistica-card:hover::after {
  opacity: 0.12;
  transform: scale(1.2);
}

/* Card con enlace */
.estadistica-card-link {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.estadistica-card-link:hover {
  text-decoration: none;
  color: inherit;
}

/* Variantes de color para las cards */

/* Verde */
.estadistica-card.verde {
  background: linear-gradient(135deg, var(--main-green-color) 0%, var(--main-darker-green-color) 100%);
  color: white;
  border-color: var(--main-light-green-color);
}

.estadistica-card.verde::before {
  background: white;
}

.estadistica-card.verde::after {
  background: var(--main-orange-color);
}

.estadistica-card.verde:hover {
  background: linear-gradient(135deg, var(--main-light-green-color) 0%, var(--main-green-color) 100%);
  border-color: var(--main-orange-color);
}

/* Morado */
.estadistica-card.morado {
  background: linear-gradient(135deg, #8B5A96 0%, #5D4E75 100%);
  color: white;
  border-color: #A569BD;
}

.estadistica-card.morado::before {
  background: white;
}

.estadistica-card.morado::after {
  background: var(--main-orange-color);
}

.estadistica-card.morado:hover {
  background: linear-gradient(135deg, #A569BD 0%, #8B5A96 100%);
  border-color: var(--main-orange-color);
}

/* Naranja */
.estadistica-card.naranjo {
  background: linear-gradient(135deg, var(--main-orange-color) 0%, #C0392B 100%);
  color: white;
  border-color: #F39C12;
}

.estadistica-card.naranjo::before {
  background: white;
}

.estadistica-card.naranjo::after {
  background: var(--main-green-color);
}

.estadistica-card.naranjo:hover {
  background: linear-gradient(135deg, #F39C12 0%, var(--main-orange-color) 100%);
  border-color: var(--main-green-color);
}

/* Título de la estadística */
.estadistica-titulo {
  font-size: 1.5rem;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  position: relative;
  z-index: 1;
  line-height: 1.3;
}

/* Valor de la estadística */
.estadistica-valor {
  font-size: 3rem;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 900;
  text-shadow: 0 3px 15px rgba(0,0,0,0.4);
  position: relative;
  z-index: 1;
  letter-spacing: 1px;
}

/* Asegurar que no hay fondos blancos no deseados */
.estadistica-card *,
.estadistica-card *::before,
.estadistica-card *::after {
  background: transparent !important;
}

/* Excepción para mantener los fondos de las cards */
.estadistica-card.verde {
  background: linear-gradient(135deg, var(--main-green-color) 0%, var(--main-darker-green-color) 100%) !important;
}

.estadistica-card.morado {
  background: linear-gradient(135deg, #8B5A96 0%, #5D4E75 100%) !important;
}

.estadistica-card.naranjo {
  background: linear-gradient(135deg, var(--main-orange-color) 0%, #C0392B 100%) !important;
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 1200px) {
  .estadisticas-generales {
    padding: 60px 5vw 50px 5vw;
  }
  
  .estadisticas-cards {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
  }
  
  .estadisticas-titulo-principal {
    font-size: 2.5rem;
    margin-bottom: 50px;
  }
}

@media (max-width: 768px) {
  .estadisticas-generales {
    margin: 40px 0;
    padding: 40px 0;
    border-radius: 20px;
  }
  
  .estadisticas-titulo-principal {
    font-size: 2rem;
    margin-bottom: 40px;
    padding: 0 20px;
  }
  
  .estadisticas-cards {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
  }
  
  .estadistica-card {
    padding: 40px 30px;
    min-height: 240px;
  }
  
  .estadistica-titulo {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }
  
  .estadistica-valor {
    font-size: 2.5rem;
  }
  
  /* Ocultar elementos decorativos en móvil */
  .estadisticas-generales::before,
  .estadisticas-generales::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .estadisticas-generales {
    padding: 40px 3vw 35px 3vw;
  }
  
  .estadistica-card {
    padding: 35px 25px;
    min-height: 220px;
  }
  
  .estadistica-titulo {
    font-size: 1.2rem;
  }
  
  .estadistica-valor {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .estadisticas-titulo-principal {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  
  .estadistica-card {
    padding: 30px 20px;
    min-height: 200px;
  }
  
  .estadistica-titulo {
    font-size: 1.1rem;
  }
  
  .estadistica-valor {
    font-size: 2rem;
  }
}

/* ===== ANIMACIONES ===== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInScale {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(30px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.estadisticas-titulo-principal {
  animation: fadeInUp 0.8s ease-out;
}

.estadistica-card {
  animation: slideInScale 0.6s ease-out;
}

.estadistica-card:nth-child(1) {
  animation-delay: 0.1s;
}

.estadistica-card:nth-child(2) {
  animation-delay: 0.2s;
}

.estadistica-card:nth-child(3) {
  animation-delay: 0.3s;
}

.estadistica-card:nth-child(4) {
  animation-delay: 0.4s;
}

.estadistica-card:nth-child(5) {
  animation-delay: 0.5s;
}

.estadistica-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* Efectos de pulsación para cards con enlace */
.estadistica-card-link:active .estadistica-card {
  transform: translateY(-8px) scale(0.98);
  transition: transform 0.1s ease;
}

/* Efecto de brillo sutil en hover */
.estadistica-card:hover .estadistica-valor {
  text-shadow: 0 0 20px rgba(255,255,255,0.3), 0 3px 15px rgba(0,0,0,0.4);
}

.estadistica-card:hover .estadistica-titulo {
  text-shadow: 0 0 15px rgba(255,255,255,0.2), 0 2px 8px rgba(0,0,0,0.3);
}

/* ===== ESTILOS PARA PAGE-GALERIA.PHP ===== */

/* Sección principal de galería */
.galeria-main-section {
  margin: 60px 0;
  padding: 60px 7vw 50px 7vw;
  background-color: var(--main-lighter-green-color);
  position: relative;
  overflow: hidden;
}

/* Elementos decorativos para la sección principal */
.galeria-main-section::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: linear-gradient(45deg, var(--main-orange-color), var(--main-green-color));
  border-radius: 50%;
  opacity: 0.05;
  z-index: 0;
}

.galeria-main-section::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 350px;
  height: 350px;
  background: linear-gradient(-45deg, var(--main-light-green-color), var(--main-darker-green-color));
  border-radius: 50%;
  opacity: 0.06;
  z-index: 0;
}

/* Card contenedora principal */
.galeria-section {
  background: white;
  border-radius: 25px;
  box-shadow: 0 15px 45px rgba(1, 164, 153, 0.15);
  padding: 50px 40px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Elementos decorativos para la card */
.galeria-section::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -80px;
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, var(--main-green-color), var(--main-orange-color));
  border-radius: 50%;
  opacity: 0.04;
  z-index: 0;
}

/* Contenedor de títulos */
.galeria-titulos-flex {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.galeria-titulo-fotos,
.galeria-titulo-videos {
  flex: 1;
  text-align: center;
}

.titulo-fotos {
  font-size: 2.2rem;
  color: var(--main-orange-color);
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  margin: 0;
  position: relative;
}

.titulo-fotos::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--main-orange-color), var(--main-green-color));
  border-radius: 2px;
}

/* Contenedor principal de contenido */
.galeria-flex-pro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* ===== SECCIÓN DE SLIDER DE FOTOS ===== */

.galeria-slider-pro {
  position: relative;
}

.mi-slider {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(1, 164, 153, 0.2);
  border: 3px solid var(--main-light-green-color);
}

.mi-slider-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.mi-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.mi-slide.active {
  opacity: 1;
}

/* Botones del slider */
.mi-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(1, 164, 153, 0.8);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mi-slider-btn:hover {
  background: var(--main-green-color);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.mi-slider-prev {
  left: 15px;
}

.mi-slider-next {
  right: 15px;
}

/* ===== SECCIÓN DE VIDEOS ===== */

.galeria-videos-pro {
  position: relative;
}

.videos-content {
  position: relative;
  z-index: 1;
}

.videos-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Wrapper para cada video con esferas decorativas */
.video-circulo-wrapper {
  position: relative;
}

/* Esferas decorativas detrás de videos */
.esferas-video-detras {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.esfera-video {
  position: absolute;
  width: 150px;
  height: 150px;
  background: linear-gradient(45deg, var(--main-light-green-color), var(--main-green-color));
  border-radius: 50%;
  opacity: 0.1;
  top: -30px;
  right: -30px;
  z-index: 0;
}

/* Card de video */
.card-galeria-video {
  background: white;
  padding: 25px;
  border-radius: 20px;
  border: 2px solid var(--main-green-color);
  box-shadow: 0 10px 30px rgba(1, 164, 153, 0.15);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.card-galeria-video:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(1, 164, 153, 0.2);
  border-color: var(--main-orange-color);
}

.card-galeria-video div {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(1, 164, 153, 0.1);
  margin-bottom: 15px;
}

.card-galeria-video iframe {
  width: 100%;
  height: 200px;
  border: none;
  border-radius: 15px;
}

/* Ajustes para video adaptado */
.video-adapted div {
  aspect-ratio: 16/9;
  margin-bottom: 0;
}

.video-adapted iframe {
  height: 100%;
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 1200px) {
  .galeria-main-section {
    padding: 50px 5vw 40px 5vw;
  }
  
  .galeria-section {
    padding: 40px 30px;
  }
  
  .galeria-flex-pro {
    gap: 40px;
  }
  
  .mi-slider {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .galeria-main-section {
    margin: 40px 0;
    padding: 40px 4vw 35px 4vw;
  }
  
  .galeria-section {
    padding: 30px 25px;
    border-radius: 20px;
  }
  
  .galeria-titulos-flex {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .titulo-fotos {
    font-size: 1.8rem;
  }
  
  .galeria-flex-pro {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .mi-slider {
    height: 300px;
  }
  
  .mi-slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .mi-slider-prev {
    left: 10px;
  }
  
  .mi-slider-next {
    right: 10px;
  }
  
  .card-galeria-video {
    padding: 20px;
  }
  
  .card-galeria-video iframe {
    height: 180px;
  }
  
  .videos-list {
    gap: 25px;
  }
  
  /* Ocultar elementos decorativos en móvil */
  .galeria-main-section::before,
  .galeria-main-section::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .galeria-section {
    padding: 25px 20px;
  }
  
  .titulo-fotos {
    font-size: 1.6rem;
  }
  
  .mi-slider {
    height: 250px;
  }
  
  .card-galeria-video {
    padding: 15px;
  }
  
  .card-galeria-video iframe {
    height: 160px;
  }
  
  .esfera-video {
    width: 100px;
    height: 100px;
    top: -20px;
    right: -20px;
  }
}

@media (max-width: 480px) {
  .galeria-main-section {
    padding: 30px 3vw 25px 3vw;
  }
  
  .galeria-section {
    padding: 20px 15px;
  }
  
  .titulo-fotos {
    font-size: 1.4rem;
  }
  
  .galeria-flex-pro {
    gap: 25px;
  }
  
  .mi-slider {
    height: 220px;
    border-width: 2px;
  }
  
  .mi-slider-btn {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .card-galeria-video iframe {
    height: 140px;
  }
  
  .videos-list {
    gap: 20px;
  }
}

/* ===== ANIMACIONES ===== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.galeria-section {
  animation: fadeInUp 0.8s ease-out;
}

.galeria-slider-pro {
  animation: slideInLeft 0.8s ease-out 0.2s both;
}

.galeria-videos-pro {
  animation: slideInRight 0.8s ease-out 0.4s both;
}

.card-galeria-video {
  animation: scaleIn 0.6s ease-out;
}

.card-galeria-video:nth-child(1) {
  animation-delay: 0.6s;
}

.card-galeria-video:nth-child(2) {
  animation-delay: 0.8s;
}

/* Efectos especiales para esferas */
@keyframes floatingSphere {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(180deg);
  }
}

.esfera-video {
  animation: floatingSphere 6s ease-in-out infinite;
}

/* Efectos de brillo en hover del slider */
.mi-slider:hover {
  box-shadow: 0 15px 45px rgba(1, 164, 153, 0.25);
  border-color: var(--main-orange-color);
}

/* Transición suave para slides */
.mi-slide {
  transform: scale(1.1);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.mi-slide.active {
  transform: scale(1);
}

/* Cards de estadísticas más pequeñas */
.estadistica-card {
  padding: 25px 18px !important;
  min-height: 140px !important;
}

/* Título de la estadística (texto de abajo) más pequeño */
.estadistica-titulo {
  font-size: 1rem !important;
  margin-bottom: 10px !important;
}

/* Valor de la estadística un poco más pequeño si lo deseas */
.estadistica-valor {
  font-size: 2rem !important;
}

/* --- AJUSTE GALERÍA VIDEO IGUAL SLIDER --- */
.galeria-flex-pro {
  align-items: center;
}
.galeria-videos-pro {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.card-galeria-video.video-adapted {
  width: 100%;
  max-width: 100%;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}
.card-galeria-video.video-adapted div {
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-galeria-video.video-adapted iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  max-height: 400px;
  border-radius: 20px;
}
.galeria-titulo-videos {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --- AJUSTE GALERÍA VIDEO MÁS ANCHO --- */
.card-galeria-video.video-adapted {
  width: 100%;
  height: 400px;
  max-width: none;
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 0;
}
.card-galeria-video.video-adapted div {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}
.card-galeria-video.video-adapted iframe {
  width: 100%;
  height: 100%;
  min-height: unset;
  max-height: unset;
  aspect-ratio: 16/9;
  border-radius: 20px;
}
