:root {
    --color-primario: #ffffff;
    --color-secundario: #ff0000;

    --fuente-principal: "Lato", sans-serif;
    --fuente-secundaria: "Montserrat", sans-serif;
}

html {
    font-size: 62,5%;
}

body {
    font-size: 16px;
    /* 1rem = 10px */
    font-family: var(--fuente-secundaria);
    max-width: 100%;
    margin: 0 auto;
}

@media (max-width: 900px) {
    body {
        font-size: 16px;
        /* 1rem = 10px */
        font-family: var(--fuente-secundaria);
        width: 100%;
        margin: 0 auto;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        /* Sombra ligera alrededor del body */
    }

}

header {
    width: 100%;
}

a {
    text-decoration: none;
    color: black;
}

p {
    line-height: 1.6;
}

@media (max-width: 900px) {
    body {
        font-size: 16px;
        /* 1rem = 10px */
        font-family: var(--fuente-secundaria);
        margin: 0 auto;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        /* Sombra ligera alrededor del body */

    }

}

.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
    padding: 1rem 0;
    width: 100%;
    background: #cfcdcd;
    transition: background 0.3s, box-shadow 0.3s;
    position: relative;
    /* Cambiará a fixed al hacer scroll */
    max-width: 100%;
}

.menu-inner {
    width: 30%;
    /* padding: 0 2rem; Espaciado interno */
}

.menu-inner svg {
    display: none;
}

@media (max-width: 768px) {
    .menu-inner svg {
        display: block;
    }
}

.enlaces-menu a {
    color: black;
    /* Color inicial de los enlaces */
    transition: color 0.3s;
    position: relative;
    /* Necesario para el ::after */
    text-decoration: none;
    display: inline-block;
    padding-bottom: 10px;
    /* Añade un padding inferior para dar más espacio */
}

.menu.scrolled {
    position: fixed;
    top: 0;
    left: 50%;
    /* Centramos el menú */
    transform: translateX(-50%);
    /* Ajustamos para que quede centrado */
    background: rgba(51, 51, 51, 0.8);
    /* Fondo blanco con transparencia */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Sombra ligera */
    z-index: 1000;
    /* Asegura que el menú esté por encima de otros elementos */
    max-width: 100%;
}

@media (max-width: 500px) {
    .menu.scrolled {
        display: none;
    }
}

.menu.scrolled .enlaces-menu a {
    color: #fff;
    /* Color de los enlaces al hacer scroll */
}

.logo-menu {
    padding: 0 1rem;
    margin: 0;
    width: 12rem;
    max-width: 100%;
    height: auto;
}

.enlaces {
    display: flex;
    flex: 1;
    justify-content: flex-end;
}

.enlaces-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0 2rem;
    height: 100%;
}

.enlaces-menu a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -5px;
    /* Ajusta este valor para aumentar la distancia del borde inferior */
    left: 0;
    background-color: var(--color-secundario);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.enlaces-menu a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Media query para tablet */
@media (max-width: 768px) {
    .menu {
        display: flex;
        flex-direction: column;
        /* Cambia la dirección del flexbox a columna */
        align-items: center;
        /* Centra los elementos horizontalmente */
        height: auto;
        /* Altura automática para ajustarse al contenido */
    }

    .menu-inner {
        width: 100%;
        /* Ancho completo */
        display: flex;
        align-items: center;
        justify-content: space-between;
        /* Centra el contenido horizontalmente */
    }

    .menu-inner a {
        padding-left: 2rem;
    }

    .menu-inner svg {
        padding-right: 2rem;
        color: var(--color-secundario);
    }

    .enlaces {
        width: 100%;
        /* Ancho completo */
        display: flex;
        justify-content: center;
        /* Centra el contenido horizontalmente */
    }

    .enlaces-menu {
        display: flex;
        flex-direction: column;
        /* Coloca los enlaces en columna */
        gap: 1rem;
        /* Espacio entre enlaces */
        text-align: center;
        /* Centra el texto horizontalmente */
    }

    .menu.scrolled {
        display: none;
        height: auto;
        /* Altura automática */
    }

    .menu.scrolled .enlaces-menu {
        display: none;
        /* Oculta los enlaces en el menú fijo */
    }

    .logo-menu {
        width: 12rem;
        height: auto;
        /* Tamaño del logo */
    }
}

@media (max-width: 768px) {
    .enlaces-menu {
        display: none;
    }

    @media (max-width: 500px) {
        .menu {
            padding: 0.5rem 0;
        }

        img.logo-menu {
            width: 100px;
        }
    }

    .menu-inner svg {
        display: block;
        outline: none;
    }

    .enlaces-menu.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: fixed;
        top: 3.5rem;
        width: 100%;
        background-color: rgba(51, 51, 51, 0.9);
        z-index: 1001;
        padding: 1rem 0;
    }

    .enlaces-menu.active a {
        color: var(--color-primario);
    }

    body.no-scroll {
        overflow: hidden;
    }
}

#menu-toggle-nav {
    border: none;
    /* Eliminar cualquier borde */
    background: none;
    /* Eliminar el fondo */
    outline: none;
    /* Eliminar el borde de enfoque */
}


.portada {
    height: 800px;
    overflow: hidden;
    position: relative;
}

@media (max-width:768px) {
    .portada {
        height: 400px;
    }
}

.carrusel {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}

.slide {
    min-width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

.slide img,
.slide picture {
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 768px) {

    .slide img,
    .slide picture {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 150%;
    }
}

@media (max-width: 500px) {

    .slide img,
    .slide picture {
        width: 190%;
    }
}



.slide.active {
    display: flex;
    opacity: 1;
}

.slide.prev,
.slide.next {
    display: flex;
    opacity: 0;
}

.indicadores {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.indicador {
    width: 10px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.indicador.active {
    background-color: #ffffff;
}

.planes-slider {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1000;
}

.planes-slider img,
.planes-slider picture {
    height: 10rem;
    width: auto;
}

@media (max-width: 768px) {

    .planes-slider img,
    .planes-slider picture {
        height: 6rem;
        width: auto;
    }
}

@media (max-width: 500px) {

    .planes-slider img,
    .planes-slider picture {
        height: 6rem;
        width: auto;
    }
}

.index-principal {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    background-color: #cfcdcd;
}

.titulo-index p {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 1.3rem;
}

.titulo-index h3 {
    margin-bottom: 0;
    margin-top: 0;
    color: var(--color-secundario);
    font-weight: bold;
    font-size: 2rem;
    text-transform: uppercase;
}

@media (max-width: 500px) {
    .titulo-index p {
        font-size: 1rem;
    }

    .titulo-index h3 {
        font-size: 1.5rem;
    }
}

.mini-carteles {
    margin-top: 4rem;
}

.carteles {
    display: flex;
    width: 1200px;
    justify-content: space-between;
    margin: 0 2rem 3rem;
}

@media (max-width: 768px) {
    .carteles {
        display: flex;
        flex-direction: column;
        width: 90%;
        gap: 4rem;
        justify-content: space-between;
        margin: 0 2rem 3rem;
    }
}

.m-cartel {
    position: relative;
    width: auto;
    height: auto;
}

.svg-cartel {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    border: 1px solid --color-primario;
    border-radius: 50%;
    background-color: var(--color-primario);
    color: var(--color-secundario);
}

.svg-cartel img {
    border-radius: 50%;
}

.text-m-cartel {
    width: 300px;
    height: 300px;
    background-color: #e2dfdf;
    border: 1px solid #cfcdcd;
    color: black;
    box-sizing: border-box;
    padding: 50px 1rem 10px;
    border-radius: .5rem;
    font-size: 15px;
}

.text-m-cartel h3 {
    text-transform: uppercase;
    margin: 0;
    text-align: center;
}

.text-m-cartel p {
    font-size: 18px;
    text-align: left;
}

.bienvenida {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: auto;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    /* -webkit-box-shadow: 8px 8px 18px -2px rgba(66, 68, 90, 1);
    -moz-box-shadow: 8px 8px 18px -2px rgba(66, 68, 90, 1);
    box-shadow: 8px 8px 18px -2px rgba(66, 68, 90, 1);
    padding: 0 2rem 1rem 2rem; */
    margin-bottom: 0;
}

.bienvenida h1 {
    padding: 2rem 0;
    text-align: center;
    color: var(--color-secundario);
    text-transform: uppercase;

}

.bienvenida img {
    width: 200px;
}

.arriba {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1400px;
    /* padding: 0 3rem; */
    gap: 1rem;
}

.arriba p {
    flex: 1;
    text-align: left;
    margin-right: 2rem;
    font-size: larger;
}

.arriba span {
    text-transform: uppercase;
    font-weight: bold;
    color: var(--color-secundario);
}

.arriba img {
    flex: 1;
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    /* Bordes levemente circulares */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Sombra leve */
    filter: blur(0.5px);
    /* Bordes difuminados */
}

.abajo {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    margin: 2rem;
}

.abajo p {
    font-size: larger;
    max-width: 1000px;
}

.abajo span {
    text-transform: uppercase;
    color: var(--color-secundario);
    font-weight: bold;
}

@media (max-width: 768px) {
    .arriba {
        flex-direction: column;
        align-items: center;
    }

    .arriba p {
        text-align: center;
        margin-right: 0;
    }

    .arriba img {
        width: 600px;
    }
}

@media (max-width: 500px) {
    .bienvenida h1 {
        padding: 0;
        max-width: 90%;
        font-size: 1.7rem;
    }

    .arriba {
        width: 90%;
        gap: 0;
    }

    .arriba img {
        width: 90%;
        height: auto;
    }

    .abajo {
        width: 90%;
        margin: 0;
    }
}

.banner {
    position: relative;
    background-image: url('../img/banners/banner_textura_planifkt.png');
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
}

@supports (background-image: url('../img/banners/banner_textura_planifkt.webp')) {
    .banner {
        background-image: url('../img/banners/banner_textura_planifkt.webp');
    }
}

.lider {
    display: flex;
    max-width: 1600px;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin-bottom: 2rem;
}

.lider-texto {
    padding: 4rem;
    color: var(--color-primario);
    text-align: center;
}

.lider-texto p {
    font-size: larger;
}

.lider-texto a {
    color: var(--color-primario);
    font-weight: bold;
}

.button {
    display: inline-block;
    padding: 1rem 0 1rem 2rem;
    background-color: var(--color-secundario);
    color: var(--color-primario);
    text-align: center;
    border: none;
    cursor: pointer;
    border-radius: 1rem;
    position: relative;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #c82333;
    padding-right: 1rem;
}

.button::after {
    content: '\2192';
    /* position: absolute; */
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--color-primario);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.button:hover::after {
    opacity: 1;
}

.video-youtube {
    padding: 4rem;
}

.video-youtube iframe{
    border-radius: 5px;
}

@media (max-width: 768px) {
    .lider.banner-content {
        display: flex;
        flex-direction: column-reverse;
        padding-top: 2rem;
    }

    .lider-texto {
        padding: 0;
        margin-bottom: 2rem;
    }

    .lider-texto svg {
        display: none;
    }

    .video-youtube {
        padding: 0;
    }

    .video-youtube iframe {
        width: 100%;
        height: 100%;
    }

}


@media (max-width: 500px) {
    .lider.banner-content {
        display: flex;
        flex-direction: column-reverse;
        padding-top: 2rem;
        margin-bottom: 0;
    }

    .lider-texto {
        padding: 0;
        margin-bottom: 2rem;
    }

    .lider-texto svg {
        display: none;
    }

    .video-youtube {
        padding: 0;
    }

    .video-youtube iframe {
        width: 100%;
        height: 100%;
    }

}

@media (max-width: 768px) {
    .banner-content {
        display: flex;
        flex-direction: column;
    }
}

.planes {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1rem 0 2rem 0;
    box-sizing: border-box;
}

.planes h3 {
    margin: 0;
    color: var(--color-secundario);
    font-weight: bold;
    font-size: 2rem;
}

.planes p {
    margin-top: 0;
    font-weight: bold;
    font-size: 1.5rem;
}

@media (max-width: 500px) {
    .planes h3 {
        font-size: 1.5rem;
    }

    .planes p {
        margin-top: 0;
        font-weight: bold;
        font-size: 1.3rem;
    }
}

.carteles-planes-wrapper {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

.carteles-planes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0, 5rem;
}

@media (max-width: 500px) {
    .carteles-planes {
        display: flex;
        flex-direction: column;
    }
}

.plan {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    border-radius: 1rem;
    overflow: hidden;
}

.plan img,
.plan picture {
    width: 90%;
    height: auto;
    border-radius: 0.5rem;
    padding: 1rem;
}



.plan img:hover {
    transform: scale(1.1);
}

.clientes p {
    margin-bottom: 0;
    font-weight: bold;
    font-size: 1.5rem;
}

.clientes h3 {
    margin-bottom: 2rem;
    margin-top: 0;
    color: var(--color-secundario);
    font-weight: bold;
    font-size: 2rem;
    text-transform: uppercase;
}

.clientes {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1rem 0 2rem 0;
    box-sizing: border-box;
}

.carteles-clientes-wrapper {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
    margin-bottom: 1rem;
}

.carteles-clientes {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0, 5rem;
}

@media (max-width: 768px) {
    .carteles-clientes .cliente {
        display: none;
    }

    .carteles-clientes .cliente:nth-child(-n+3) {
        display: block;
    }

    .carteles-clientes {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 500px) {
    .carteles-clientes .cliente {
        display: none;
    }

    .carteles-clientes .cliente:nth-child(-n+4) {
        display: block;
    }

    .carteles-clientes {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cliente {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    border-radius: 1rem;
    overflow: hidden;
}

.cliente img {
    width: 90%;
    height: auto;
    border-radius: 0.5rem;
    padding: 1rem;
}

.cliente img:hover {
    transform: scale(1.1);
}

footer {
    background-color: #fff8f8;

}

.footer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 100%;
    justify-items: end;
    align-items: center;
    height: auto;
    margin: 0;
    margin-bottom: 1.5rem;
    margin-top: 0;
    padding: 0.5rem;
}

.footer-izquierda,
.footer-centro,
.footer-derecha {
    border-left: 1px solid #ddd;
    /* Borde izquierdo para todos los divs */
}

.footer-izquierda {
    display: flex;
    flex-direction: column;
    border-left: none;
    width: 100%;
    height: 90%;
    align-items: center;
    justify-content: flex-start;
}

.footer-izquierda a {
    width: 80%;
}

.footer-izquierda p {
    width: 90%;
    font-size: 1rem;
}

.logo-footer {
    max-width: 240px;
    height: auto;
}

.redes-sociales {
    width: 90%;
}

@media (max-width: 768px) {
    .logo-footer {
        max-width: 200px;
    }

    .clientes-adjudicados {
        width: 400px;
        height: auto;
    }

    .button {
        width: 90%;
        padding: 1rem 0.5rem;
    }

    .button:hover {
        background-color: #c82333;
    }

    .button::after {
        content: '\2192';
        /* position: absolute; */
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.4rem;
        color: var(--color-primario);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .button:hover::after {
        opacity: 1;
    }

}

@media (max-width: 500px) {

    .clientes-adjudicados {
        width: 400px;
        height: auto;
        margin-bottom: 2rem;
    }

    .button {
        width: 90%;
        padding: 1rem 0.5rem;
    }

    .button:hover {
        background-color: #c82333;
    }

    .button::after {
        content: '\2192';
        /* position: absolute; */
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.4rem;
        color: var(--color-primario);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .button:hover::after {
        opacity: 1;
    }

}

.redes-sociales p {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.redes-sociales h3 {
    margin-bottom: 0.8rem;
    margin-top: 0;
    color: var(--color-secundario);
    font-weight: bold;
    font-size: 1.3rem;
    text-transform: uppercase;
}

.logos-rs {
    display: ruby-text;
}

.logos-rs a {
    transition: color 0.3s ease;
    color: currentColor;
    /* Asegúrate de que el color inicial esté definido */
}

.logos-rs a:hover {
    color: var(--color-secundario);
}

.footer-centro {
    display: flex;
    flex-direction: column;
    padding: 0;
    width: 100%;
    height: 90%;
    align-items: center;
    justify-content: flex-start;
}

.enlaces-footer {
    width: 90%;
}

.area-clientes {
    width: 90%;
}

.area-clientes h4 {
    margin-bottom: 0;
}

.enlaces-footer h4 {
    text-transform: uppercase;
}

.enlaces-footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.enlaces-footer a:hover {
    color: var(--color-secundario);
}

.footer-derecha {
    display: flex;
    flex-direction: column;
    padding: 0;
    width: 100%;
    height: 90%;
    align-items: center;
    justify-content: flex-start;
}

.oficina {
    width: 90%;
}

.footer-derecha:last-of-type {
    border-right: none;
    /* Sin borde derecho para el último div */
}

.build-matriz {
    display: flex;
    gap: 1rem;
    width: 90%;
}

.titulo h2 {
    text-transform: uppercase;
    color: var(--color-secundario);
    margin-bottom: 0;
}

.oficina h4 {
    margin: 1rem 0;
}

.logos-contacto {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
    max-height: 3rem;
}

.footer-final {
    background-color: #333;
    color: var(--color-primario);
    margin: 0;
    height: 2rem;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
}


@media (max-width: 768px) {
    .footer {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        height: auto;
        padding: 0;
    }

    .footer-izquierda,
    .footer-centro {
        padding: 0 1rem;
    }

    .footer-derecha {
        padding: 1rem;
    }


}

@media (max-width: 500px) {

    .footer {
        display: flex;
        flex-direction: column;
        width: 90%;
        height: auto;
        padding: 0;
        margin-bottom: 1rem;
        align-items: flex-start;
    }


    .footer .footer-izquierda a {
        display: none;
    }

    .footer .footer-izquierda p {
        display: none;
    }

    .footer .footer-derecha {
        display: none;
    }

    .footer .footer-izquierda .redes-sociales p {
        display: inline;
    }

    .footer .footer-izquierda .redes-sociales a {
        display: inline;
    }

    .footer .footer-izquierda .redes-sociales .logos-rs {
        margin-bottom: 1rem;
    }


    .footer-derecha {
        padding: 0 1rem;
        border: none;

    }

    .oficina {
        margin: 0;
    }

    .footer-centro {
        padding: 0 1rem;
        border: none;
        border-top: 1px solid #ddd;
    }

    .enlaces-footer {
        margin-bottom: 1rem;
    }

}

/* fin footer */

/* inicio Nosotros */
.nosotros {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: auto;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    /* -webkit-box-shadow: 8px 8px 18px -2px rgba(66, 68, 90, 1);
    -moz-box-shadow: 8px 8px 18px -2px rgba(66, 68, 90, 1);
    box-shadow: 8px 8px 18px -2px rgba(66, 68, 90, 1);
    padding: 0 2rem 1rem 2rem; */
    margin-bottom: 0;
}

.nosotros h1 {
    padding: 0;
    text-align: center;
    color: var(--color-secundario);
    text-transform: uppercase;

}

.arriba-nosotros {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 1400px;
}

.arriba-nosotros p {
    flex: 1;
    text-align: left;
    margin-right: 2rem;
    font-size: larger;
}

@media (max-width:500px) {
    .arriba-nosotros {
        margin-top: 1rem;
        width: 90%;
    }


    .nosotros h1 {
        width: 90%;
        font-size: 1.3rem;
    }

    .arriba-nosotros p {
        margin: 0;
        padding-bottom: 1rem;
        font-size: 1.1rem;
        text-align: justify;
    }
}

.mision-vision {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 0;
    background-color: #e2dfdf;
}

.mision {
    padding: 2rem;
}

.mision p {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 1.3rem;
}

.mision h3 {
    margin-bottom: 2rem;
    margin-top: 0;
    color: var(--color-secundario);
    font-weight: bold;
    font-size: 2rem;
    text-transform: uppercase;
}

.vision {
    padding: 2rem;
}

.vision p {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 1.3rem;
}

.vision h3 {
    margin-bottom: 2rem;
    margin-top: 0;
    color: var(--color-secundario);
    font-weight: bold;
    font-size: 2rem;
    text-transform: uppercase;
}

.valores {
    display: flex;
    flex-direction: column;
    background-color: #cfcdcd;
    padding: 2rem;
    align-items: center;

}

.nuestros-valores {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nuestros-valores p {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: normal;
    font-size: 1.3rem;
}

.nuestros-valores h3 {
    margin-bottom: 0;
    margin-top: 0;
    color: var(--color-secundario);
    font-weight: bold;
    font-size: 2rem;
    text-transform: uppercase;
}

.texto-valores {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: normal;
    font-size: 1.3rem;
}

.iconos-valores {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
}

.icon-valores {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-secundario);
    padding: 1rem;
}

.icon-valores p {
    font-weight: bold;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .iconos-valores {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 500px) {
    .iconos-valores {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}


.a-un-clic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: center;
}

.texto-clic {
    grid-column: span 3;
    padding: 2rem 6rem;
    color: var(--color-primario);
    text-align: center;
}

.whatsapp-link {
    grid-column: span 1;
}

.whatsapp-link-button a {

    display: inline-block;
    padding: 10px 20px;
    color: var(--color-primario);
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
}

.whatsapp-link-button a:hover {
    color: #25D366;
}

@media (max-width: 768px) {
    .a-un-clic {
        display: flex;
    }
}

@media (max-width: 500px) {
    .a-un-clic {
        display: flex;
        flex-direction: column;
    }

    .texto-clic {
        grid-column: span 3;
        padding: 0;
        color: var(--color-primario);
        text-align: center;
        width: 90%;
    }

    .texto-clic h2 {
        margin-bottom: 0;
        font-size: 1.3rem;
    }

    .texto-clic p {
        margin-bottom: 0;
        font-size: 0.8rem;
    }
}

@media (max-width: 500px) {
    .whatsapp-link svg {
        height: 50px;
        width: 50px;
    }

    .a-un-clic {
        gap: 0;
    }
}

/* fin nosotros */



/* fin nosotros */
/* Inicio compra */
.como-funciona {
    padding: 0 2rem;
    margin-top: 4rem;
}

.como-funciona p {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 1.3rem;
}

.como-funciona h3 {
    margin-bottom: 2rem;
    margin-top: 0;
    color: var(--color-secundario);
    font-weight: bold;
    font-size: 2rem;
    text-transform: uppercase;
}

.person-icon {
    display: block;
    height: 50%;
    width: 100%;
    padding: 1rem 0 2rem;
}

.mision-vision {
    gap: 2rem;
    padding: 2rem;
}

.mision-vision .pasos {
    padding: 20px;
    border-radius: 10px;
    margin: 10px 0;
    background-color: #cfcdcd;
    /* Color de fondo más oscuro */
}


.pasos {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 20px;
}

.pasos h3 {
    margin: 0;
    font-size: 4rem;
    color: var(--color-secundario);
}

.texto-mision {
    margin: 10px 0;
    max-width: 600px;
}

@media (max-width: 500px) {
    .como-funciona {
        margin-top: 2rem;
    }

    .mision-vision .pasos {
        width: 90%;
        padding: 0;
    }

    .pasos h3 {
        margin-top: 1rem;
        font-size: 2rem;
    }

    .pasos .texto-mision p {
        font-size: 1rem;
        padding: 0 1rem;
        text-align: justify;
    }

    .pasos .person-icon {
        margin: 0;
        margin-top: 0;
    }

    .pasos .person-icon svg {
        width: 4rem;
        height: 4rem;
    }

    .valores .nuestros-valores h3 {
        margin-top: 1rem;
    }

    .valores .texto-recuerde p {
        width: 90%;
        font-size: 1rem;
        text-align: justify;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .mision-vision {
        display: flex;
        flex-direction: column;
    }

    .mision {
        padding: 0;
    }

    .vision {
        padding: 0;
    }
}

@media (max-width: 500px) {
    .mision-vision {
        justify-content: center;
        align-items: center;
        padding: 0;
        gap: 0;
    }

    .mision {
        width: 90%;
        padding: 0;
    }

    .mision h3 {
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }

    .mision p {
        font-size: 1.3rem;
    }

    .texto-mision p {
        font-size: 1.1rem;
        text-align: justify;
    }

    .vision {
        width: 90%;
        padding: 0;
    }

    .mision {
        width: 90%;
        padding: 0;
    }

    .vision h3 {
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }

    .vision p {
        font-size: 1.3rem;
        text-align: justify;
    }

    .texto-vision p {
        font-size: 1.1rem;
        padding-bottom: 1rem;
    }

    .valores {
        padding: 0;
        align-items: center;

    }

    .nuestros-valores {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nuestros-valores p {
        margin-top: 1rem;
        font-size: 1.1rem;
    }

    .nuestros-valores h3 {
        font-size: 1.3rem;

    }

    .texto-valores {
        width: 90%;
        font-size: 1.1rem;
    }

    .texto-valores p {
        text-align: justify;
    }

    .iconos-valores {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        width: 90%;
        height: auto;
    }

    .icon-valores {
        width: 90%;
        height: auto;
        padding: 0;
    }

    .icon-valores p {
        font-weight: bold;
        text-transform: uppercase;
        font-size: 0.8rem;
    }

    .icon-valores svg {
        width: 50px;
        height: 50px;
    }
}

.texto-mision p {
    margin: 0;
}

.person-icon {
    margin-top: 20px;
    color: var(--color-secundario);

}

.person-icon svg {
    height: 100px;
    width: 100px;
}

.texto-recuerde {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: normal;
    font-size: 1.3rem;
    text-align: center;
}

/* fin compra */
/* Inicio Productos */
.portada-productos {
    display: flex;
    height: 500px;
    /* Fija la altura deseada */
    overflow: hidden;
    /* Oculta cualquier contenido que sobresalga */
    position: relative;
    /* Asegura que los elementos posicionados dentro respeten este contenedor */
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
}

.portada-productos img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    padding: 0;
}

@media (max-width: 768px) {
    .portada-productos {
        height: 250px;
    }
}

/* Inicio productos */
.texto-vivienda {
    display: flex;
    flex-direction: column;
    max-width: 90%;
}

.texto-vivienda p {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 1.3rem;
    padding-left: 2rem;
}

.texto-vivienda h3 {
    margin-bottom: 2rem;
    margin-top: 0;
    color: var(--color-secundario);
    font-weight: bold;
    font-size: 2rem;
    text-transform: uppercase;
    padding-left: 2rem;
}

.contenedor-producto {
    display: flex;
    max-width: 100%;
}

.contenedor-producto img {
    max-width: 100%;
    width: 2000px;
    height: auto;
}

.texto-p {
    padding-right: 2rem;
}

.ajustar-auto-titulo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.titulo-auto {
    padding-left: 3rem;
}

.portada-nosotros {
    display: flex;
    height: 500px;
    /* Fija la altura deseada */
    overflow: hidden;
    /* Oculta cualquier contenido que sobresalga */
    position: relative;
    /* Asegura que los elementos posicionados dentro respeten este contenedor */
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    max-width: 100%;
}

.portada-nosotros img,
.portada-nosotros picture {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
}

@media (max-width: 768px) {
    .portada-nosotros {
        height: 200px;
        /* Fija la altura deseada */
    }

    .portada-nosotros img,
    .portada-nosotros picture {
        width: 100%;
    }
}

.texto-sobre-imagen {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Centra el texto */
    color: var(--color-secundario);
    text-align: center;
    background-color: rgba(0, 0, 0, 0.8);
    /* Fondo semi-transparente para mejorar la legibilidad */
    padding: 2rem 0;
    border-radius: 10px;
    width: 1600px;
}

.texto-sobre-imagen h1 {
    margin: 0;
    font-size: 2rem;
    text-transform: uppercase;
    padding: 0;
}

.productos {
    display: flex;
    padding: 2rem;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .productos {
        display: block;
        padding: 0;

    }

    .contenedor-producto {
        display: flex;
        flex-direction: column;
        padding: 2rem;
    }
}

@media (max-width: 500px) {
    .vivienda {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
    }

    .productos {
        width: 90%;
    }

    .texto-vivienda p {
        padding-left: 0;
        font-size: 1.3rem;
    }

    .texto-vivienda h3 {
        padding-left: 0;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .contenedor-producto {
        padding: 0;
    }

    .texto-p {
        padding-right: 0;
    }

    .texto-p p {
        margin-top: 0;
        margin-bottom: 1rem;
        font-size: 1.1rem;
        text-align: justify;
    }

}

/* fin de productos */

/* Inicio de Noticias */

.titulo-noticias {
    padding: 0 2rem;
    margin-top: 4rem;
}

.titulo-noticias p {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 1.3rem;
}

.titulo-noticias h3 {
    margin-bottom: 2rem;
    margin-top: 0;
    color: var(--color-secundario);
    font-weight: bold;
    font-size: 2rem;
    text-transform: uppercase;
}

@media (max-width: 500px) {
    .titulo-noticias {
        margin-top: 2rem;
    }

    .titulo-noticias h3 {
        margin-bottom: 1rem;
    }

    .titulo-boletin {
        padding: 1rem 2rem 0;
    }

    .titulo-boletin .boletin-h3 h3 {
        font-size: 1.5rem;
    }
}

.titulo-boletin {
    display: flex;
    flex-direction: column;
    background-color: #e2dfdf;
    padding: 2rem 2rem 0;
    align-items: center;

}

.boletin-h3 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.boletin-h3 h3 {
    margin-bottom: 0;
    margin-top: 0;
    color: var(--color-secundario);
    font-weight: bold;
    font-size: 2rem;
    text-transform: uppercase;
}

.adjudicados {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 0;
    background-color: #e2dfdf;
    gap: 2rem;
    padding: 2rem;
}

.adjudicados .comunicado {
    padding: 20px;
    border-radius: 10px;
    margin: 0;
    background-color: #cfcdcd;
    position: relative;
    overflow: hidden; /* Para ocultar el contenido que sobresale durante la animación */
}

.comunicado {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 20px;
    position: relative;
}

.comunicado img,
.comunicado picture {
    max-width: 100%;
    height: auto;
}

.comunicado::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background-color: var(--color-secundario);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.9s ease;
    z-index: 0;
}

.comunicado:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.comunicado a {
    position: relative;
    z-index: 1; /* Asegura que el contenido del enlace esté por encima del pseudo-elemento */
}

.comunicados-inf {
    display: flex;
    margin-bottom: 0;
    background-color: #e2dfdf;
    gap: 2rem;
    padding: 0 2rem 0 2rem;
    max-height: 60%;
}

.comunicados-inf .comunicado-inf {
    padding: 0;
    border-radius: 10px;
    margin: 10px 0;
    /* background-color: #cfcdcd; Color de fondo más oscuro */
}

.comunicado-inf {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 20px;
    justify-content: center;
}

.comunicado-inf h3 {
    margin: 0;
    font-size: 4rem;
    color: var(--color-secundario);
}

.comunicado-inf img {
    max-width: 100%;
    max-height: 60%;
    height: auto;
    border-radius: 2rem;
}

@media (max-width: 768px) {
    .adjudicados {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin: 0;
    }

    .comunicado {
        padding: 0;
        margin: 0;
    }
}

@media (max-width: 500px) {
    .adjudicados {
        padding: 1rem;
        gap: 0.5rem;
    }

    .adjudicados .comunicado {
        padding: 0;
    }

    .titulo-boletin {
        padding: 1rem 2rem 0;
    }
}




/* fin noticias */

.portada-contacto {
    display: flex;
    /* height: 250px; */
    overflow: hidden;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    max-width: 100%;
}

.portada-contacto img,
.portada picture {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    padding: 0;
}

.contactos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: auto;
    max-width: 100%;
    background-color: #e2dfdf;
    margin: 0 auto;
    text-align: left;
    margin-bottom: 0;
}

.contenedor-contacto {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    max-width: 900px;
}

@media (max-width: 500px) {
    .contacto {
        padding: 1rem 0 1rem 1rem;
        padding-bottom: 0;
    }
}

.contacto {
    max-width: 900px;
    height: auto;
    padding-top: 1rem;
}

.contacto p {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 1.3rem;
    margin-top: 0;
}

.contacto h3 {
    margin-bottom: 1rem;
    margin-top: 0;
    color: var(--color-secundario);
    font-weight: bold;
    font-size: 2rem;
    text-transform: uppercase;
}

.texto-contacto {
    margin: 10px 0;
    max-width: 600px;
}

.texto-contacto p {
    margin: 0;
    font-size: 1rem;
}

.texto-contacto span {
    font-weight: bold;
}

.texto-contacto h3 {
    margin-bottom: 0;
    margin-top: 0;
    color: var(--color-secundario);
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
    padding-left: 0;
}

.maps {
    width: 400px;
    height: 200px;
}

.map img {
    width: 400px;
    height: 200px;
}

.map-horizontal {
    display: flex;
    gap: 2rem;
}

.banner-contacto {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background-color: #cfcdcd;
    padding: 2rem 0;
    align-items: center;
    width: 100%;
}


.banner-contact {
    padding-left: 0.5rem;
}

.icon-contact {
    gap: 1rem;
}

.only-icono svg {
    width: 100%;
    height: 100%;
}

.icon-contact {
    display: flex;
    justify-content: center;
    align-items: center;
}

.texto-icon h4 {
    margin: 0;
}

.texto-icon p {
    margin: 0;
}

@media (max-width: 500px) {
    .banner-contacto {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 0;
    }

    .banner-contact {
        text-align: left;
        margin-bottom: 1rem;
    }


}

/* Media Queries */
@media (max-width: 768px) {


    .map-horizontal {
        flex-direction: column;
        max-width: 768px;
    }

    .texto-icon p {
        margin: 0;
        font-size: 0.8rem;
    }
}


/* fin contacto */

/* Inicio Preguntas */

.preguntas {
    padding: 0 2rem;
    margin-top: 4rem;
}

.preguntas p {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 1.3rem;
}

.preguntas h3 {
    margin-bottom: 2rem;
    margin-top: 0;
    color: var(--color-secundario);
    font-weight: bold;
    font-size: 2rem;
    text-transform: uppercase;
}

.pregunta {
    gap: 2rem;
    padding: 2rem;
    max-width: 90%;
    justify-content: center;
    padding: 20px;
    border-radius: 10px;
    margin: 10px 0;
    margin-left: 2rem;
    background-color: #cfcdcd;
    /* Color de fondo más oscuro */
}

.preg {
    display: flex;
    align-items: left;
    text-align: left;
    margin: 0;
    align-items: center;
    cursor: pointer;
}

.icon-preg svg {
    align-items: center;
}

.preg h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--color-secundario);
}

.texto-pregunta {
    width: 100%;
}

.texto-respuesta {
    margin: 0 2rem;
    max-width: 90%;
}

.texto-respuesta p {
    margin: 0;
}


.respuesta {
    display: none;
    max-width: 90%;
}

@media (max-width: 500px) {
    .preguntas {
        margin-top: 2rem;
    }

    .pregunta {
        margin-left: 0;
        max-width: 80%;
        margin: 1rem 1rem;
    }

    .texto-pregunta h3 {
        font-size: 1rem;
    }

    .texto-respuesta {
        margin-right: 0;
    }

    .texto-respuesta p {
        font-size: 0.8rem;
        text-align: justify;
    }
}

/* Fin Preguntas */

/* Inicio Testimonios */

.titulo-testimonios {
    padding: 0 2rem;
    margin-top: 4rem;
}

.titulo-testimonios p {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 1.3rem;
}

.titulo-testimonios h3 {
    margin-bottom: 2rem;
    margin-top: 0;
    color: var(--color-secundario);
    font-weight: bold;
    font-size: 2rem;
    text-transform: uppercase;
}

.video {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 20px;
}

.video h3 {
    margin: 0;
    font-size: 4rem;
    color: var(--color-secundario);
}

.video img {
    max-width: 100%;
    height: auto;
}

.video-testimonio {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    justify-content: center;
    margin-bottom: 0;
    background-color: #e2dfdf;
    gap: 0;
    padding: 0;
}

.video {
    flex: 1 1 200px;
    cursor: pointer;
}



video,
img {
    width: 100%;
    height: auto;
}

.video img {
    height: 340px;
    width: 340px;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#overlay.active {
    display: flex;
}

.video-container {
    position: relative;
    width: 30%;
    max-width: 800px;
    max-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#videoPlayer {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    z-index: 1001;
}


@media (max-width: 768px) {
    .video-testimonio {
        grid-template-columns: repeat(3, 1fr);
    }

    .video img {
        height: 240px;
        width: 240px;
    }

    .video-container {
        width: 80%;
    }
}

@media (max-width: 500px) {
    .video img {
        height: 140px;
        width: 140px;
    }

    .video-container {
        width: 100%;
    }
}

/* FIN DE TESTIMONIOS */

/* iNICIO CALENDARIO */

.calendario {
    padding: 0 2rem;
    margin-top: 4rem;
    text-align: center;
}

.calendario p {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 1.3rem;
}

.calendario h3 {
    margin-bottom: 2rem;
    margin-top: 0;
    color: var(--color-secundario);
    font-weight: bold;
    font-size: 2rem;
    text-transform: uppercase;
}

.tabla-calendario {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 4rem;
    max-width: 90%;
    margin: 0;
    /* Centra la sección horizontalmente */
}

.calendario-table {
    width: 60%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

@media (max-width: 500px) {
    .tabla-calendario {
        padding: 0;
        /* Reduce el padding para móviles */
        margin-left: 1rem;
    }

    .calendario-table {
        width: 1000%;
        /* Asegura que la tabla ocupe todo el ancho disponible */
        height: auto;
        font-size: 0.7rem;
        /* Ajuste del tamaño de la fuente para móviles */
    }

    .calendario-table th,
    .calendario-table td {
        padding: 0;
        /* Reduce el padding de las celdas para móviles */
    }

    td.mes,
    td.dia {
        padding-left: 1rem;
        /* Ajuste del padding para móviles */
    }
}

.calendario-table th,
.calendario-table td {
    border: 1px solid #dddddd;
    text-align: center;
    padding: 8px;
    text-transform: uppercase;
}

td.mes,
td.dia {
    text-align: left;
    padding-left: 2rem;
}

.calendario-table th {
    background-color: rgba(51, 51, 51, 0.8);
    font-weight: bold;
    color: var(--color-primario);
}

.calendario-table tr {
    background-color: #cfcdcd;
}

.calendario-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.requisitos {
    align-items: left;
    text-align: left;
    max-width: 90%;
    margin-left: 12.5%;
}

p.recuerde-bold {
    color: var(--color-secundario);
    font-weight: bold;
    font-size: 2rem;
}

.requisitos p {
    max-width: 90%;
}

@media (max-width: 500px) {
    .calendario {
        margin-top: 2rem;
    }

    .valores .texto-recuerde {
        width: 90%;
    }

    .requisitos {
        margin-left: 0;
    }

    .requisitos li {
        font-size: 1rem;
    }
}

/* FIN  */

/* INCIO GALERIA */

.galeria {
    display: flex;
    width: 100%;
    height: 530px;
}

.galeria img {
    width: 0px;
    flex-grow: 1;
    object-fit: cover;
    opacity: .8;
    transition: .5s ease;
}

.galeria img:hover {
    cursor: pointer;
    width: 430px;
    opacity: 1;
    filter: contrast(110%);
}


@media (max-width: 500px) {
    .galeria img:nth-child(n+4) {
        display: none;

    }

    .galeria {
        width: 100%;
        height: 250px;
    }

    .galeria img:hover {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .galeria img:nth-child(n+6) {
        display: none;

    }

    .galeria {
        width: 100%;
        height: 280px;
    }

    .galeria img:hover {
        width: 300px;
    }
}

/* inicio galeria-clientes */

.galeria-clientes {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
    .galeria-clientes {
        width: 100%;
        margin: 0;
    }
}

.thumbnail-container-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

@media (max-width: 768px) {
    .thumbnail-container-wrapper {
        width: 90%;
        margin: 0;
    }
}

.arrow {
    cursor: pointer;
    font-size: 2rem;
    user-select: none;
    padding: 0 1rem;
    z-index: 1;
}

.thumbnail-container {
    overflow: hidden;
    width: 650px;
    height: auto;
    display: flex;
}

.thumbnail-inner-container {
    display: flex;
    transition: transform 0.5s ease;
}

@media (max-width: 500px) {
    .thumbnail-inner-container {
        height: 100px;
    }
}

.thumbnail {
    width: 200px;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s;
    border-radius: 8px;
}

.thumbnail:hover {
    transform: scale(1.1);
}

.main-image-container {
    width: 400px;
    height: 400px;
    margin-top: 1rem;
    display: none;
    /* Ocultar por defecto */
}

@media (max-width: 768px) {

    .thumbnail {
        width: 150px;
        height: 150px;
    }

    .arrow svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 500px) {
    .main-image-container {
        width: 200px;
        height: 200px;
    }

    .thumbnail {
        width: 100px;
        height: 100px;
    }

    .arrow svg {
        width: 20px;
        height: 20px;
    }
}

.main-image-container.active {
    display: block;
    /* Mostrar cuando se hace clic en una miniatura */
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.arrow svg:hover {
    color: var(--color-secundario);
}

/* Inicio Blog */

.titulo-blog {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    margin-top: 4rem;
}

.titulo-blog p {
    display: flex;
    width: 1400px;
    margin-bottom: 0;
    font-weight: normal;
    font-size: 1.3rem;
}

.titulo-blog h3 {
    display: flex;
    width: 1400px;
    margin-bottom: 2rem;
    margin-top: 0;
    color: var(--color-secundario);
    font-weight: bold;
    font-size: 2rem;
    text-transform: uppercase;
}

.contenedor-blog {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
}

.contenido-blog {
    max-width: 1400px;
    display: flex;
    gap: 2rem;
}

@media (max-width: 1400px) {
    .contenido-blog {
        max-width: 1200px;
        display: flex;
        gap: 2rem;
    }

    .titulo-blog p,
    .titulo-blog h3 {
        max-width: 1200px;
    }
}

.blog {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.texto-blog {
    margin-bottom: 2rem;
}

.imagen-blog {
    height: auto;
    width: 550px;
    margin: 1rem;
}

.imagen-blog img {
    border-radius: .5rem;
}

.redes-sociales-blog {
    width: 90%;
}

.logos-rs-blog {
    display: flex;
    gap: 1rem;
}

.logos-rs-blog a {
    transition: color 0.3s ease;
    color: currentColor;
    /* Asegúrate de que el color inicial esté definido */
}

.logos-rs-blog a:hover {
    color: var(--color-secundario);
}

.creado {
    font-size: .8rem;
}

.creado-bold {
    font-weight: bold;
}


.side-publi {
    width: 80%;
    height: auto;
}

.publicidad iframe {
    border-radius: .5rem;
}

.list-sidebar li a:hover {
    color: var(--color-secundario);
}

.pagination {
    text-align: center;
    margin: 20px 0;
    /* Espacio arriba y abajo */
}

.pagination a {
    padding: 8px 16px;
    text-decoration: none;
    color: black;
    border: 1px solid #ddd;
    margin: 0 4px;
    display: inline-block;
}

.pagination a.active {
    background-color: #4CAF50;
    color: white;
}

.pagination a:hover {
    background-color: #ddd;
}

@media (max-width: 500px) {
    .pagination a:nth-child(n+6):not(.prev):not(.next) {
        display: none;
    }
}

/* Estilos para pantallas de tablet con un ancho máximo de 768px */
@media (max-width: 768px) {
    .titulo-blog {
        padding: 0 1rem;
        margin-top: 2rem;
    }

    .titulo-blog p {
        width: 100%;
        font-size: 1.1rem;
    }

    .titulo-blog h3 {
        width: 100%;
        margin-bottom: 1.5rem;
        font-size: 1.8rem;
    }

    .contenedor-blog {
        flex-direction: column;
        align-items: flex-start;
    }

    .contenido-blog {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .blog {
        width: 100%;
        margin-bottom: 1rem;
    }

    .texto-blog {
        margin-bottom: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
        text-align: justify;
    }

    .imagen-blog {
        width: 100%;
        margin: 0;
    }

    .redes-sociales-blog {
        width: 100%;
    }

    .logos-rs-blog {
        justify-content: left;
        padding-left: 1rem;
        padding-top: 1rem;
    }

    .side-publi {
        display: flex;
        width: 90%;
        padding-left: 1rem;
        gap: 2rem;
    }

    .pagination {
        margin: 10px 0;
    }

    .pagination a {
        padding: 6px 12px;
        margin: 0 2px;
    }
}

.extra-items {
    display: none;
}

.show-more:hover {
    color: var(--color-secundario);
}

@media (max-width: 500px) {
    .titulo-blog {
        margin-top: 2rem;
    }

    .titulo-blog h3 {
        margin-bottom: 1rem;
    }

    .side-publi {
        flex-direction: column;
    }

    .extra-items {
        display: none;
    }

    .show-more {
        display: block;
        text-align: left;
        margin-top: 10px;
    }

}

.container-pagos {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container-pagos h1 {
    text-align: center;
    color: #343a40;
}

.container-pagos h2 {
    color: #495057;
}

.container-pagos ul {
    list-style-type: none;
    padding: 0 2rem;
}

.container-pagos li {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.container-pagos .payment-options img {
    width: 50px;
    height: auto;
    margin-right: 10px;
}

.transfer img {
    width: 150px;
}

.pronto{
    border-radius: 1rem;
}

/* Estilos generales */
body.modal-open {
    overflow: hidden;
}

/* Estilos del modal */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.5); 
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto; 
    padding: 20px;
    border: 1px solid #888;
    width: 80%; 
    max-width: 600px; 
    text-align: center; 
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: flex-end;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 100%;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

.button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    cursor: not-allowed; /* Inicialmente deshabilitado */
}

.button:disabled {
    background-color: #aaa; /* Color del botón deshabilitado */
}

.button:hover:disabled {
    background-color: #aaa; /* Mantener color deshabilitado en hover */
}

.button:hover {
    background-color: var(--color-secundario); /* Cambiar color en hover */
    cursor: pointer;
}
