* {
    margin: 0 auto;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    align-items: center;
    justify-content: center;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
  }

header {
    margin: 0;
    width: 100%;
    height: 100px;
  }

nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: fixed;
    margin: 0;
}

body {
    background-color: green;
}
  
.nav1 {
    margin: 0;
    background: #000;
    height: 100px;
    z-index: 100;
    background-color: #fff;
}

.nav1a {
    padding: 0px 5px 0px 5px;
    color: green;
    font-weight: bold;
    text-decoration: none;
}

.logo img{
    width: 45%;
    height: auto;
}

.treslineas a, .logo2 {
    visibility: hidden;
}

/*Boton popup 1*/

.overlay { 
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 1s;
    visibility: hidden;
    opacity: 0;
    z-index: -100;
  }
  
  .overlay:target{
    visibility: visible;
    opacity: 1;
    z-index: 200;
  }
  
  #popupBody{
    width: 70%;
    padding: 2%;
    border-radius: 15px;
    box-shadow: 0 0 20px yellow;
    background: green;
    position: relative;
    margin: 10% auto;
    transition: all 5s ease-in-out;
  }
  
  .text-nav2 a {
    display: block;
    margin: 20px 0px 10px 0px;
    padding: 2px;
    font-size: 20px;
    text-align: center;
    color: #fff;
    text-decoration: none;
  }
  .text-nav2 a:hover {
    background-color: rgb(255, 255, 0);
    color: green;
  }
  
  #cerrar{
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    transition: .3s ease all;
  }
  
  #cerrar:hover{
    color:rgb(255, 0, 0);
  }

@media screen and (max-width: 480px) {
    .nav1a {
        display: none;
    }
    .logo img {
        display: none;
    }
    .nav1 .treslineas {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100px;
        position: fixed;
        margin: 0;
    }
    .treslineas a {
        visibility: visible;
        font-size: 42px;
        text-decoration: none;
        padding-right: 2%;
    }
    .logo2 {
        visibility: visible;
        width: 45%;
    }
}
@media screen and (min-width: 533px) and (max-width: 603px) {
  .nav1a {
    display: none;
  }
  .logo img {
      display: none;
  }
  .nav1 .treslineas {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100px;
      position: fixed;
      margin: 0;
  }
  .treslineas a {
      visibility: visible;
      font-size: 42px;
      text-decoration: none;
      padding-right: 2%;
  }
  .logo2 {
      visibility: visible;
      width: 35%;
  }
}
@media screen and (min-width: 640px) and (max-width: 768px) {
  .nav1a {
    display: none;
  }
  .logo img {
      display: none;
  }
  .nav1 .treslineas {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100px;
      position: fixed;
      margin: 0;
  }
  .treslineas a {
      visibility: visible;
      font-size: 42px;
      text-decoration: none;
      padding-right: 2%;
  }
  .logo2 {
      visibility: visible;
      width: 30%;
  }
}
@media screen and (min-width: 800px) and (max-width: 960px) {
  .nav1a {
    display: none;
  }
  .logo img {
      display: none;
  }
  .nav1 .treslineas {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100px;
      position: fixed;
      margin: 0;
  }
  .treslineas a {
      visibility: visible;
      font-size: 42px;
      text-decoration: none;
      padding-right: 2%;
  }
  .logo2 {
      visibility: visible;
      width: 25%;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1290px) {
  .nav1a {
    display: none;
  }
  .logo img {
      display: none;
  }
  .nav1 .treslineas {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100px;
      position: fixed;
      margin: 0;
  }
  .treslineas a {
      visibility: visible;
      font-size: 42px;
      text-decoration: none;
      padding-right: 2%;
  }
  .logo2 {
      visibility: visible;
      width: 18%;
  }
}
@media screen and (min-width: 1334px) and (max-width: 1680px) {
  .nav1 {
    margin: 0;
    background: #fff;
    height: 100px;
    z-index: 100;
  }

  .nav1a {
    margin-left: 10px;
    padding: 0px 5px 0px 5px;
    font-size: 100%;
    color: green;
    text-decoration: none;
  }

  .logo img{
    width: 45%;
  }
}

@media screen and (min-width: 1752px) and (max-width: 1920px) {
  .nav1 {
    margin: 0;
    background: #fff;
    height: 100px;
    z-index: 100;
  }

  .nav1a {
    margin-left: 10px;
    padding: 0px 5px 0px 5px;
    font-size: 18px;
    color: green;
    text-decoration: none;
  }

  .logo img{
    width: 45%;
   }
  .treslineas img, a {
    width: 5%;
  }
}

@media screen and (min-width: 2000px) and (max-width: 2280px) {
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 200px;
  }
  .nav1 {
    margin: 0;
    background: #fff;
    height: 200px;
    z-index: 100;
  }

  .nav1a {
    margin-left: 20px;
    padding: 0px 5px 0px 5px;
    font-size: 180%;
    color: green;
    text-decoration: none;
  }

  .logo img{
    width: 80%;
  }

  .nav1a img {
    width: 82px;
  }
}

@media screen and (min-width: 2300px) and (max-width: 2496px) {
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 200px;
  }
  .nav1 {
    margin: 0;
    background: #fff;
    height: 200px;
    z-index: 100;
  }

  .nav1a {
    margin-left: 20px;
    padding: 0px 5px 0px 5px;
    font-size: 250%;
    color: green;
    text-decoration: none;
  }

  .logo img{
    width: 80%;
  }

  .nav1a img {
    width: 82px;
  }
}

@media screen and (min-width: 2520px) and (max-width: 2688px) {
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 200px;
  }
  .nav1 {
    margin: 0;
    background: #fff;
    height: 200px;
    z-index: 100;
  }

  .nav1a {
    margin-left: 20px;
    padding: 0px 5px 0px 5px;
    font-size: 240%;
    color: green;
    text-decoration: none;
  }

  .logo img{
    width: 80%;
  }

  .nav1a img {
    width: 82px;
  }
}

@media screen and (min-width: 2700px) and (max-width: 2796px) {
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 250px;
  }
  .nav1 {
    margin: 0;
    background: #fff;
    height: 250px;
    z-index: 100;
  }

  .nav1a {
    margin-left: 20px;
    padding: 0px 5px 0px 5px;
    font-size: 48px;
    color: green;
    text-decoration: none;
  }

  .logo img{
    width: 80%;
  }

  .nav1a img {
    width: 82px;
  }
}

@media screen and (min-width: 2800px) and (max-width: 2960px) {
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 250px;
  }
  .nav1 {
    margin: 0;
    background: #fff;
    height: 250px;
    z-index: 100;
  }

  .nav1a {
    margin-left: 20px;
    padding: 0px 5px 0px 5px;
    font-size: 48px;
    color: green;
    text-decoration: none;
  }

  .logo img{
    width: 80%;
  }

  .nav1a img {
    width: 82px;
  }
}

@media screen and (min-width: 3040px) and (max-width: 3120px) {
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 250px;
  }
  .nav1 {
    margin: 0;
    background: #fff;
    height: 250px;
    z-index: 100;
  }

  .nav1a {
    margin-left: 115px;
    padding: 0px 5px 0px 5px;
    font-size: 240%;
    color: green;
    text-decoration: none;
  }

  .logo img{
    width: 100%;
  }

  .nav1a img {
    width: 82px;
  }
}

@media screen and (min-width: 3200px) and (max-width: 3840px) {
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 250px;
  }
  .nav1 {
    margin: 0;
    background: #fff;
    height: 250px;
    z-index: 100;
  }

  .nav1a {
    margin-left: 115px;
    padding: 0px 5px 0px 5px;
    font-size: 32px;
    color: green;
    text-decoration: none;
  }

  .logo img{
    width: 100%;
  }

  .nav1a img {
    width: 82px;
  }
}
/* ===== FIN HEAD Y GLOBALES ===== */

/* ===== SECCIÓN BANNER ===== */
.slider {
    width: 100vw;
    height: auto;
    margin: auto;
    overflow: hidden;
}

.slider .slide-track {
    display: flex;
    animation: scroll 40s linear infinite;
    -webkit-animation: scroll 40s linear infinite;
    width: calc(720px * 6);
}

.slider .slide {
    width: 720px;
}

.slider .slide img {
    width: 100%;
}

.slide-track:hover {
    animation-play-state: paused;
}

.slide-caption {
    position: absolute;
    bottom: 20%;
    background: rgba(0, 77, 6, 0.6);
    color: white;
    padding: 1rem;
    border-radius: 5px;
    max-width: 80%;
    z-index: 100;
}

.slide-caption h2 {
    font-size: clamp(1.2rem, 3vw, 2rem);
    margin-bottom: 0.5rem;
    color: #fff;
}

.slide-caption p {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    margin: 0;
}

@keyframes scroll {
    0%{
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100%{
        -webkit-transform: translateX(calc(-720px * 3));
        transform: translateX(calc(-720px * 3));
    }
}

@media screen and (min-width: 2000px) and (max-width: 2280px) {
    .slider {
        margin-top: 100px;
    }
  }
  @media screen and (min-width: 2300px) and (max-width: 2496px) {
    .slider {
        margin-top: 100px;
    }
  }
  @media screen and (min-width: 2520px) and (max-width: 2688px) {
    .slider {
        margin-top: 100px;
    }
    .slider .slide-track {
        display: flex;
        animation: scroll 40s linear infinite;
        -webkit-animation: scroll 40s linear infinite;
        width: calc(1024px * 6);
    }
    .slider .slide {
        width: 1024px;
    }
    .slide-track:hover {
        animation-play-state: paused;
    }
    @keyframes scroll {
        0%{
            -webkit-transform: translateX(0);
            transform: translateX(0);
        }
        100%{
            -webkit-transform: translateX(calc(-1024px * 3));
            transform: translateX(calc(-1024px * 3));
        }
    }
  }

@media screen and (min-width: 2700px) and (max-width: 2796px) {
    .slider {
        margin-top: 150px;
    }
    .slider .slide-track {
        display: flex;
        animation: scroll 40s linear infinite;
        -webkit-animation: scroll 40s linear infinite;
        width: calc(1024px * 6);
    }
    .slider .slide {
        width: 1024px;
    }
    .slide-track:hover {
        animation-play-state: paused;
    }
    @keyframes scroll {
        0%{
            -webkit-transform: translateX(0);
            transform: translateX(0);
        }
        100%{
            -webkit-transform: translateX(calc(-1024px * 3));
            transform: translateX(calc(-1024px * 3));
        }
    }
  }

  @media screen and (min-width: 2800px) and (max-width: 2960px) {
    .slider {
        margin-top: 150px;
    }
    .slider .slide-track {
        display: flex;
        animation: scroll 40s linear infinite;
        -webkit-animation: scroll 40s linear infinite;
        width: calc(1024px * 6);
    }
    .slider .slide {
        width: 1024px;
    }
    .slide-track:hover {
        animation-play-state: paused;
    }
    @keyframes scroll {
        0%{
            -webkit-transform: translateX(0);
            transform: translateX(0);
        }
        100%{
            -webkit-transform: translateX(calc(-1024px * 3));
            transform: translateX(calc(-1024px * 3));
        }
    }
  }

  @media screen and (min-width: 3040px) and (max-width: 3120px) {
    .slider {
        margin-top: 150px;
    }
    .slider .slide-track {
        display: flex;
        animation: scroll 40s linear infinite;
        -webkit-animation: scroll 40s linear infinite;
        width: calc(1024px * 6);
    }
    .slider .slide {
        width: 1024px;
    }
    .slide-track:hover {
        animation-play-state: paused;
    }
    @keyframes scroll {
        0%{
            -webkit-transform: translateX(0);
            transform: translateX(0);
        }
        100%{
            -webkit-transform: translateX(calc(-1024px * 3));
            transform: translateX(calc(-1024px * 3));
        }
    }
  }

@media screen and (min-width: 3200px) and (max-width: 3840px) {
    .slider {
        margin-top: 150px;
    }
    .slider .slide-track {
        display: flex;
        animation: scroll 40s linear infinite;
        -webkit-animation: scroll 40s linear infinite;
        width: calc(1024px * 6);
    }
    .slider .slide {
        width: 1024px;
    }
    .slide-track:hover {
        animation-play-state: paused;
    }
    @keyframes scroll {
        0%{
            -webkit-transform: translateX(0);
            transform: translateX(0);
        }
        100%{
            -webkit-transform: translateX(calc(-1024px * 3));
            transform: translateX(calc(-1024px * 3));
        }
    }
  }
/* ===== FIN SECCIÓN BANNER ===== */

/* ===== SECCIÓN NOSOTROS ===== */
.nosotros {
    width: 100%;
    background-color: #fff;
    padding: 2rem 0;
}

.nosotros-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.nosotros-divider {
    height: 4px;
    width: 15%;
    max-width: 150px;
    border: none;
    background-color: var(--color-primary, green);
    margin: 0 1rem;
}

.nosotros h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    color: #fff;
    background-color: var(--color-primary, green);
    padding: 0.5rem 2rem;
    border-radius: 50px;
    margin: 0;
}

.nosotros-contenido {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.nosotros-imagen {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nosotros-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.nosotros-imagen:hover .nosotros-img {
    transform: scale(2.03);
}
/*INICIO - EFECTO HOVER PARA PANTALLAS TACTILES*/
.nosotros-imagen:active .nosotros-img {
    transform: scale(2.03);
}
/*FIN - EFECTO HOVER PARA PANTALLAS TACTILES*/

.nosotros-texto {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.nosotros-texto p {
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #333;
}

.nosotros-texto strong {
    color: var(--color-primary, green);
    font-weight: 600;
}

.nosotros-logros {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.logro-item {
    text-align: center;
    min-width: 100px;
}

.logro-cifra {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary, green);
    line-height: 1;
}

.logro-texto {
    display: block;
    font-size: 0.9rem;
    color: #666;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nosotros-header {
        flex-direction: column;
    }
    
    .nosotros-divider {
        width: 50%;
        margin: 0.5rem 0;
    }
    
    .nosotros-contenido {
        flex-direction: column;
        padding: 0 1rem;
    }
    
    .nosotros-imagen {
        max-width: 100%;
    }
    
    .nosotros-logros {
        justify-content: center;
    }
    
    .logro-item {
        flex: 1;
        min-width: calc(33% - 1rem);
    }
}

@media (max-width: 480px) {
    .logro-item {
        min-width: 100%;
        margin-bottom: 1rem;
    }
    
    .nosotros h1 {
        padding: 0.5rem 1rem;
    }
}
/* ===== FIN SECCIÓN NOSOTROS ===== */

/* ===== SECCIÓN PERFILES Y TARJETAS ===== */
.menuletra {
    width: 100%;
    background-color: #fff;
}

.menuletra h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    text-align: center;
    color: #fff;
    background-color: green;
    padding: 10px;
}
.menuletra hr {
    height: 10px;
    border: none;
    background-color: green;
}

iframe { /*Agregado*/
    margin: 0 auto;
    border: none;
    background-color: green;    
}

.menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-top: 2%;
    padding-bottom: 2%;
    background-color: green;
    font-family: Arial, Helvetica, sans-serif; /*Agregado*/
}

.menu .card {
    width: 320px;
    height: 350px;
    margin: 20px;
}

.menu .card .face {
    position: absolute;
    width: 320px;
    height: 350px;
    backface-visibility: hidden;
    border-radius: 10px; /*Opcional*/
    overflow: hidden;
    transition: .5s;
}

.menu .card .front {
    transform: perspective(600px) rotateY(0deg);
    box-shadow: 0 5px 10px #000;
    background-color: #d9ff00;
}

.menu .card .front img {
    position: absolute;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.menu .card .front h3 {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 45px;
    line-height: 45px;
    color: #fff;
    background: green;
    text-align: center;
}

.menu .card .back {
    transform: perspective(600px) rotateY(180deg);
    background: rgb(3, 35, 54);
    padding: 15px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    box-shadow: 0 5px 10px #000;
}

.menu .card .back .link {
    border-top: solid 1px #fff;
    height: 50px;
    line-height: 50px;
    padding: 10px; /*Agregado por JAGM*/
}

.menu .card .back .link a {
    color: #fff;
    padding: 0px 10px 0px 10px;
}

.menu .card .back h3 {
    font-size: 30px;
    margin-top: 10px;
    letter-spacing: 2px;
}

.menu .card .back h2 {
    margin-bottom: 1px;
    letter-spacing: 2px;
}

.menu .card .back p {
    letter-spacing: 1px;
}

.menu .card:hover .front {
    transform: perspective(600px) rotateY(180deg);
}

.menu .card:hover .back {
    transform: perspective(600px) rotateY(360deg);
}

/*INICIO - EFECTO HOVER PARA PANTALLAS TACTILES*/
.menu .card:active .front {
    transform: perspective(600px) rotateY(180deg);
}

.menu .card:active .back {
    transform: perspective(600px) rotateY(360deg);
}
/*FIN - EFECTO HOVER PARA PANTALLAS TACTILES*/

@media screen and (max-width: 480px) {
    .menuletra h2 {
        font-size: 30px;
    }
}

@media screen and (min-width: 2000px) and (max-width: 2280px) {
    form label {
        font-size: 20px;
    }
    form input {
        font-size: 20px;
    }
    iframe { /*Agregado*/
        height: 700px;  
    }
    .menu .card {
        width: 340px;
        height: 370px;
        margin: 20px;
    }
    
    .menu .card .face {
        position: absolute;
        width: 340px;
        height: 370px;
        backface-visibility: hidden;
        border-radius: 10px; /*Opcional*/
        overflow: hidden;
        transition: .5s;
    }
        
    .menu .card .front h3 {
        position: absolute;
        bottom: 0;
        width: 100%;
        height: auto;
        line-height: 45px;
        color: #fff;
        background: green;
        text-align: center;
        font-size: 24px;
    }
    
    .menu .card .back h3 {
        font-size: 24px;
        margin-top: 20px;
        letter-spacing: 2px;
    }
    
    .menu .card .back h2 {
        margin-bottom: 1px;
        letter-spacing: 2px;
        font-size: 24px;
    }
    
    .menu .card .back p {
        letter-spacing: 1px;
        font-size: 20px;
    }
}

@media screen and (min-width: 2300px) and (max-width: 2496px) {
    form label {
        font-size: 24px;
    }
    form input {
        font-size: 24px;
    }
    iframe { /*Agregado*/
        height: 800px;  
    }
    .menu .card {
        width: 360px;
        height: 390px;
        margin: 20px;
    }
    
    .menu .card .face {
        position: absolute;
        width: 360px;
        height: 390px;
        backface-visibility: hidden;
        border-radius: 10px; /*Opcional*/
        overflow: hidden;
        transition: .5s;
    }

    .menu .card .back .link img {
        width: 12%;
    }
        
    .menu .card .front h3 {
        position: absolute;
        bottom: 0;
        width: 100%;
        height: auto;
        line-height: 45px;
        color: #fff;
        background: green;
        text-align: center;
        font-size: 24px;
    }
    
    .menu .card .back h3 {
        font-size: 24px;
        margin-top: 20px;
        letter-spacing: 2px;
    }
    
    .menu .card .back h2 {
        margin-bottom: 1px;
        letter-spacing: 2px;
        font-size: 24px;
    }
    
    .menu .card .back p {
        letter-spacing: 1px;
        font-size: 20px;
    }
}

@media screen and (min-width: 2520px) and (max-width: 2688px) {
    form label {
        font-size: 24px;
    }
    form input {
        font-size: 24px;
    }
    iframe { /*Agregado*/
        height: 850px;  
    }
    .menu .card {
        width: 380px;
        height: 410px;
        margin: 20px;
    }
    
    .menu .card .face {
        position: absolute;
        width: 380px;
        height: 410px;
        backface-visibility: hidden;
        border-radius: 10px; /*Opcional*/
        overflow: hidden;
        transition: .5s;
    }

    .menu .card .back .link img {
        width: 12%;
    }
        
    .menu .card .front h3 {
        position: absolute;
        bottom: 0;
        width: 100%;
        height: auto;
        line-height: 45px;
        color: #fff;
        background: green;
        text-align: center;
        font-size: 24px;
    }
    
    .menu .card .back h3 {
        font-size: 24px;
        margin-top: 20px;
        letter-spacing: 2px;
    }
    
    .menu .card .back h2 {
        margin-bottom: 1px;
        letter-spacing: 2px;
        font-size: 24px;
    }
    
    .menu .card .back p {
        letter-spacing: 1px;
        font-size: 20px;
    }
}

@media screen and (min-width: 2700px) and (max-width: 2796px) {
    form label {
        font-size: 28px;
    }
    form input {
        font-size: 28px;
    }
    iframe { /*Agregado*/
        height: 900px;  
    }
    .menu .card {
        width: 420px;
        height: 450px;
        margin: 20px;
    }
    
    .menu .card .face {
        position: absolute;
        width: 420px;
        height: 450px;
        backface-visibility: hidden;
        border-radius: 10px; /*Opcional*/
        overflow: hidden;
        transition: .5s;
    }

    .menu .card .back .link img {
        width: 12%;
    }
        
    .menu .card .front h3 {
        position: absolute;
        bottom: 0;
        width: 100%;
        height: auto;
        line-height: 45px;
        color: #fff;
        background: green;
        text-align: center;
        font-size: 24px;
    }
    
    .menu .card .back h3 {
        font-size: 24px;
        margin-top: 20px;
        letter-spacing: 2px;
    }
    
    .menu .card .back h2 {
        margin-bottom: 1px;
        letter-spacing: 2px;
        font-size: 24px;
    }
    
    .menu .card .back p {
        letter-spacing: 1px;
        font-size: 20px;
    }
}

@media screen and (min-width: 2800px) and (max-width: 2960px) {
    form label {
        font-size: 28px;
    }
    form input {
        font-size: 28px;
    }
    iframe { /*Agregado*/
        height: 900px;  
    }
    .menuletra h2 {
        font-size: 64px;
    }
    .menu .card {
        width: 440px;
        height: 470px;
        margin: 20px;
    }
    
    .menu .card .face {
        position: absolute;
        width: 440px;
        height: 470px;
        backface-visibility: hidden;
        border-radius: 10px; /*Opcional*/
        overflow: hidden;
        transition: .5s;
    }

    .menu .card .back .link img {
        width: 12%;
    }
        
    .menu .card .front h3 {
        position: absolute;
        bottom: 0;
        width: 100%;
        height: auto;
        line-height: 45px;
        color: #fff;
        background: green;
        text-align: center;
        font-size: 28px;
    }
    
    .menu .card .back h3 {
        font-size: 28px;
        margin-top: 20px;
        letter-spacing: 2px;
    }
    
    .menu .card .back h2 {
        margin-bottom: 1px;
        letter-spacing: 2px;
        font-size: 28px;
    }
    
    .menu .card .back p {
        letter-spacing: 1px;
        font-size: 24px;
    }
}

@media screen and (min-width: 3040px) and (max-width: 3120px) {
    form label {
        font-size: 28px;
    }
    form input {
        font-size: 28px;
    }
    iframe { /*Agregado*/
        height: 1000px;  
    }
    .menuletra h2 {
        font-size: 64px;
    }
    .menu .card {
        width: 470px;
        height: 500px;
        margin: 20px;
    }
    
    .menu .card .face {
        position: absolute;
        width: 470px;
        height: 500px;
        backface-visibility: hidden;
        border-radius: 10px; /*Opcional*/
        overflow: hidden;
        transition: .5s;
    }

    .menu .card .back .link img {
        width: 12%;
    }
        
    .menu .card .front h3 {
        position: absolute;
        bottom: 0;
        width: 100%;
        height: auto;
        line-height: 45px;
        color: #fff;
        background: green;
        text-align: center;
        font-size: 28px;
    }
    
    .menu .card .back h3 {
        font-size: 28px;
        margin-top: 20px;
        letter-spacing: 2px;
    }
    
    .menu .card .back h2 {
        margin-bottom: 1px;
        letter-spacing: 2px;
        font-size: 28px;
    }
    
    .menu .card .back p {
        letter-spacing: 1px;
        font-size: 24px;
    }
}

@media screen and (min-width: 3200px) and (max-width: 3840px) {
    form label {
        font-size: 32px;
    }
    form input {
        font-size: 32px;
    }
    iframe { /*Agregado*/
        height: 1000px;  
    }
    .menuletra h2 {
        font-size: 64px;
    }
    .menu .card {
        width: 520px;
        height: 550px;
        margin: 20px;
    }
    
    .menu .card .face {
        position: absolute;
        width: 520px;
        height: 550px;
        backface-visibility: hidden;
        border-radius: 10px; /*Opcional*/
        overflow: hidden;
        transition: .5s;
    }

    .menu .card .back .link img {
        width: 12%;
    }
        
    .menu .card .front h3 {
        position: absolute;
        bottom: 0;
        width: 100%;
        height: auto;
        line-height: 45px;
        color: #fff;
        background: green;
        text-align: center;
        font-size: 32px;
    }
    
    .menu .card .back h3 {
        font-size: 32px;
        margin-top: 20px;
        letter-spacing: 2px;
    }
    
    .menu .card .back h2 {
        margin-bottom: 1px;
        letter-spacing: 2px;
        font-size: 32px;
    }
    
    .menu .card .back p {
        letter-spacing: 1px;
        font-size: 28px;
    }
}

.paginador{
    padding-top: 20px;
    width: 100%;
    margin-top: 15px;
    background-color: green;
  }
  .paginador div {
    display: inline-block;
  }
  .paginador a, .seleccionado {
    color: #fff;
    background: rgb(17, 0, 255);
    border: 1px solid rgb(17, 0, 255);
    padding: 5px;
    display: inline-block;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    width: 35px;
  }
  .paginador a:hover{
    color: #fff;
    border: 1px solid rgb(51, 224, 255);
    background: rgb(51, 224, 255);
  }
  .seleccionado {
    color: #fff;
    border: 1px solid rgb(255, 0, 0);
    background: rgb(255, 0, 0);
  }

  form {
    padding-top: 20px;
    font-family: Arial, Helvetica, sans-serif;
    margin-left: 10%;
  }
  form label {
    color: #fff;
  }
  form .btnbuscar {
    margin-left: 5px;
    background: #fff;
    color: rgb(125, 0, 0);
    font-weight: bolder;
  }

  @media screen and (min-width: 2000px) and (max-width: 2280px) {
    .paginador a, .seleccionado {
      font-size: 20px;
    }
  }
  @media screen and (min-width: 2300px) and (max-width: 2496px) {
    .paginador a, .seleccionado {
      font-size: 24px;
    }
  }
  @media screen and (min-width: 2520px) and (max-width: 2688px) {
    .paginador a, .seleccionado {
      font-size: 24px;
    }
  }
  @media screen and (min-width: 2700px) and (max-width: 2796px) {
    .paginador a, .seleccionado {
      font-size: 28px;
    }
  }
  @media screen and (min-width: 2800px) and (max-width: 2960px) {
    .paginador a, .seleccionado {
      font-size: 28px;
    }
  }
  @media screen and (min-width: 3040px) and (max-width: 3120px) {
    .paginador a, .seleccionado {
      font-size: 28px;
    }
  }
  @media screen and (min-width: 3200px) and (max-width: 3840px) {
    .paginador a, .seleccionado {
      font-size: 32px;
    }
  }
/* ===== FIN SECCIÓN PERFILES Y TARJETAS ===== */

/* ===== SECCIÓN QUIMICA SANGUINEA ===== */
.menu .cara h3 {
    width: 320px;
    background-color: #fff;
    padding: 5px;
    margin: 5px;
}

@media screen and (max-width: 480px) {
    .menu .cara h3 {
        width: 320px;
        background-color: #fff;
        font-size: 20px;
        padding: 5px;
        margin: 5px;
    }
}

@media screen and (min-width: 2000px) and (max-width: 2280px) {
    
}

@media screen and (min-width: 2300px) and (max-width: 2496px) {
    form label {
        font-size: 24px;
    }
    form input {
        font-size: 24px;
    }
    iframe { /*Agregado*/
        height: 800px;  
    }
    .menu .cara h3 {
        width: 320px;
        background-color: #fff;
        font-size: 30px;
        padding: 5px;
        margin: 5px;
    }
}

@media screen and (min-width: 2520px) and (max-width: 2688px) {
    form label {
        font-size: 24px;
    }
    form input {
        font-size: 24px;
    }
    iframe { /*Agregado*/
        height: 850px;  
    }
    .menu .cara h3 {
        width: 320px;
        background-color: #fff;
        font-size: 30px;
        padding: 5px;
        margin: 5px;
    }
}

@media screen and (min-width: 2700px) and (max-width: 2796px) {
    form label {
        font-size: 28px;
    }
    form input {
        font-size: 28px;
    }
    iframe { /*Agregado*/
        height: 900px;  
    }
    .menu .cara h3 {
        width: 320px;
        background-color: #fff;
        font-size: 30px;
        padding: 5px;
        margin: 5px;
    }
}

@media screen and (min-width: 2800px) and (max-width: 2960px) {
    form label {
        font-size: 28px;
    }
    form input {
        font-size: 28px;
    }
    iframe { /*Agregado*/
        height: 900px;  
    }
    .menuletra h2 {
        font-size: 64px;
    }
    .menu .cara h3 {
        width: 320px;
        background-color: #fff;
        font-size: 30px;
        padding: 5px;
        margin: 5px;
    }
}

@media screen and (min-width: 3040px) and (max-width: 3120px) {
    form label {
        font-size: 28px;
    }
    form input {
        font-size: 28px;
    }
    iframe { /*Agregado*/
        height: 800px;  
    }
    .menuletra h2 {
        font-size: 64px;
    }
    .menu .cara h3 {
        width: 320px;
        background-color: #fff;
        font-size: 32px;
        padding: 5px;
        margin: 5px;
    }
}

@media screen and (min-width: 3200px) and (max-width: 3840px) {
    form label {
        font-size: 32px;
    }
    form input {
        font-size: 32px;
    }
    iframe { /*Agregado*/
        height: 800px;  
    }
    .menuletra h2 {
        font-size: 64px;
    }
    .menu .cara h3 {
        width: 320px;
        background-color: #fff;
        font-size: 32px;
        padding: 5px;
        margin: 5px;
    }
}

.paginador{
    padding-top: 20px;
    width: 100%;
    margin-top: 15px;
    background-color: green;
  }
  .paginador div {
    display: inline-block;
  }
  .paginador a, .seleccionado {
    color: #fff;
    background: rgb(17, 0, 255);
    border: 1px solid rgb(17, 0, 255);
    padding: 5px;
    display: inline-block;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    width: 35px;
  }
  .paginador a:hover{
    color: #fff;
    border: 1px solid rgb(51, 224, 255);
    background: rgb(51, 224, 255);
  }
  .seleccionado {
    color: #fff;
    border: 1px solid rgb(255, 0, 0);
    background: rgb(255, 0, 0);
  }

  form {
    padding-top: 20px;
    font-family: Arial, Helvetica, sans-serif;
    margin-left: 10%;
  }
  form label {
    color: #fff;
  }
  form .btnbuscar {
    margin-left: 5px;
    background: #fff;
    color: rgb(125, 0, 0);
    font-weight: bolder;
  }

  @media screen and (min-width: 2000px) and (max-width: 2280px) {
    .paginador a, .seleccionado {
      font-size: 20px;
    }
  }
  @media screen and (min-width: 2300px) and (max-width: 2496px) {
    .paginador a, .seleccionado {
      font-size: 24px;
    }
  }
  @media screen and (min-width: 2520px) and (max-width: 2688px) {
    .paginador a, .seleccionado {
      font-size: 24px;
    }
  }
  @media screen and (min-width: 2700px) and (max-width: 2796px) {
    .paginador a, .seleccionado {
      font-size: 28px;
    }
  }
  @media screen and (min-width: 2800px) and (max-width: 2960px) {
    .paginador a, .seleccionado {
      font-size: 28px;
    }
  }
  @media screen and (min-width: 3040px) and (max-width: 3120px) {
    .paginador a, .seleccionado {
      font-size: 28px;
    }
  }
  @media screen and (min-width: 3200px) and (max-width: 3840px) {
    .paginador a, .seleccionado {
      font-size: 32px;
    }
  }
/* ===== FIN SECCIÓN PERFILES Y TARJETAS ===== */


/* ===== SECCIÓN CONTACTO ===== */
.contacto-contenido {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    padding: 2rem 5%;
    background: #fff;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contactoimg {
    width: 100%;
    max-width: 500px;
    height: auto;
    padding: 1rem 0;
}

.im {
    width: 80px;
    height: auto;
    transition: transform 0.3s ease;
    margin: 0 0.5rem;
}

.im:hover {
    transform: scale(1.1);
}

.horario-atencion {
    text-align: center;
    padding: 1rem;
}

.horario-titulo {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

/* ===== SECCIÓN PREGUNTAS FRECUENTES ===== */
.faq-section {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.faq-titulo {
    text-align: center;
    color: var(--color-primary, #ffffff);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 2rem;
    position: relative;
}

.faq-titulo::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: var(--color-primary, #ffffff);
    margin: 0.5rem auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 1);
}

.faq-pregunta {
    background-color: var(--color-primary, white);
    color: black;
    padding: 1rem 1.5rem;
    margin: 0;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-pregunta:hover {
    background-color: #00331b;
    color: white;
}

.faq-pregunta::after {
    content: "+";
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-pregunta::after {
    content: "-";
}

.faq-respuesta {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #f9f9f9;
}

.faq-item.active .faq-respuesta {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-respuesta p {
    margin: 0;
    line-height: 1.6;
    color: #333;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .contacto-contenido {
        flex-direction: column;
        text-align: center;
    }
    
    .im {
        width: 60px;
        margin: 0 0.3rem;
    }
    
    .faq-section {
        padding: 0 1rem;
    }
    
    .faq-pregunta {
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }
    
    .faq-respuesta p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .im {
        width: 50px;
    }
    
    .faq-pregunta {
        padding-right: 2.5rem;
    }
    
    .faq-pregunta::after {
        right: 1rem;
    }
}

/* ===== SECCIÓN UBICACION ===== */
.contacto-contenido {
    display: flex;
    padding-top: 2%;
    background: #fff;
}
.contactoimg {
    width: 600px;
    padding: 20px 0px 20px 0px;
}
.im {
    width: 100px;
    padding-left: 10px;
}

@media screen and (max-width: 430px) {
    .contacto-contenido {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    .contactoimg {
        width: 300px;
    }
    .im {
        width: 50px;
    }
    .text-contacto p {
        font-size: 12px;
    }
}
@media screen and (min-width: 480px) and (max-width: 599px) {
    .contacto-contenido {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    .contactoimg {
        width: 350px;
    }
    .im {
        width: 50px;
    }
}

@media screen and (min-width: 600px) and (max-width: 768px) {
    .contacto-contenido {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    .contactoimg {
        width: 400px;
    }
    .im {
        width: 60px;
    }
}

@media screen and (min-width: 800px) and (max-width: 960px) {
    .contacto-contenido {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    .contactoimg {
        width: 500px;
    }
    .im {
        width: 70px;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1290px) {
    .contacto-contenido {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    .contactoimg {
        width: 500px;
    }
    .im {
        width: 80px;
    }
}

@media screen and (min-width: 1334px) and (max-width: 1680px) {
    .contacto-contenido {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    .contactoimg {
        width: 400px;
    }
    .im {
        width: 70px;
    }
}
@media screen and (min-width: 1752px) and (max-width: 1920px) {
    .contacto-contenido {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    .contactoimg {
        width: 600px;
    }
    .im {
        width: 90px;
    }
}

@media screen and (min-width: 2000px) and (max-width: 2280px) {
    .contacto-contenido {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    .contactoimg {
        width: 800px;
    }
    .im {
        width: 100px;
    }
    .text-contacto p {
        font-size: 24px;
    }
    .contacto-contenido p {
        font-size: 20px;
    }
}

@media screen and (min-width: 2300px) and (max-width: 2496px) {
    .contacto-contenido {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    .contactoimg {
        width: 800px;
    }
    .im {
        width: 110px;
    }
    .text-contacto p {
        font-size: 24px;
    }
    .contacto-contenido p {
        font-size: 20px;
    }
}

@media screen and (min-width: 2560px) and (max-width: 2688px) {
    .contacto-contenido {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    .contactoimg {
        width: 800px;
    }
    .im {
        width: 150px;
    }
    .text-contacto p {
        font-size: 32px;
    }
    .contacto-contenido p {
        font-size: 24px;
    }
}

@media screen and (min-width: 2700px) and (max-width: 2796px) {
    .contacto-contenido {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    .contactoimg {
        width: 800px;
    }
    .im {
        width: 150px;
    }
    .text-contacto p {
        font-size: 32px;
    }
    .contacto-contenido p {
        font-size: 32px;
    }
}

@media screen and (min-width: 2800px) and (max-width: 2960px) {
    .contacto-contenido {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    .contactoimg {
        width: 800px;
    }
    .im {
        width: 150px;
    }
    .text-contacto p {
        font-size: 36px;
    }
    .contacto-contenido p {
        font-size: 36px;
    }
}

@media screen and (min-width: 3040px) and (max-width: 3120px) {
    .contacto-contenido {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    .contactoimg {
        width: 800px;
    }
    .im {
        width: 150px;
    }
    .text-contacto p {
        font-size: 36px;
    }
    .contacto-contenido p {
        font-size: 36px;
    }
}

@media screen and (min-width: 3200px) and (max-width: 3840px) {
    .contacto-contenido {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    .contactoimg {
        width: 1000px;
    }
    .im {
        width: 180px;
    }
    .text-contacto p {
        font-size: 48px;
    }
    .contacto-contenido p {
        font-size: 36px;
    }
}
/* ===== FIN SECCIÓN UBICACION ===== */