

body,header {
    background-color: #ffffff
}

body {
    font-family: "Poppins";
    color: #333;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden
}

header {
    position: fixed;
    width: 100%;
    height: 80px;
    border: 2px;
    border-color: #000;
    color: #ffffff;
    z-index: 1000;
    top: 0;
    left: 0;
    margin-bottom: 60px;
}


:target::before {
    content: "";
    display: block;
    height: 70px;
    margin-top: -60px;
    visibility: hidden
}

.colorgris {
    background-color: #f3f3f3;
    box-sizing: border-box;
    height: auto;
}

.nav-content,nav {
    align-items: center;
    justify-content: space-between
}
iframe {
    border: none;
    width: 100vw;
    height: 100vh;
}
nav {
    padding: 13px 2rem;
    overflow: hidden
}
.login-button{
    color: #32021F;
    display: flex;
    justify-content: center;
    align-items: center;
    background: 0 0;
    text-decoration: none;
    border-radius: 5px;
    transition: color .3s ease;
    font-size: 30px
}

.politicas {
    padding-left: 50px;
    padding-right: 50px;
    text-align: center; /* Centra el texto */
    max-width: 800px; /* Ajusta el ancho máximo del contenido */
    margin: 0 auto; /* Centra el contenedor */
}

.politicas ul {
    list-style: none;
    padding: 0; /* Elimina el padding por defecto */
}

.politicas ul li {
    padding-bottom: 35px;
}

.politicas ul li h1,
.politicas ul li h2,
.politicas ul li p {
    text-align: justify; /* Justifica el texto */
    margin: 0; /* Elimina el margen por defecto */
    line-height: 1.3; /* Ajusta el interlineado */
}

.politicas ul li h1 {
    padding-top: 75px;
}

.politicas ul li p {
    line-height: 1.7;
}

.nav-content {
    flex-direction: column;
    width: 100%
}

.logo,form,nav,nav ul {
    display: flex
}

.logo {
    align-items: center
}

.logo img {
    height: 50px;
    transition: transform 1s
}

.logo:hover {
    transform: scale(1.07)
}

nav ul {
    list-style: none;
    gap: 2rem;
    height: 20px;
    justify-content: center
}

.navbar,.unique-info-column a {
    color: #000;
    text-decoration: none
}

.navbar {
    align-items: center;
    background: 0 0;
    padding: .5rem 1rem;
    border: 1px;
    border-color: #000;
    border-radius: 5px;
    transition: color .3s ease
}

.navbar:hover {
    color: #c6d420
}

.presentacion {
    width: 100%;
    overflow: hidden;
    padding-top: 60px;
    margin: 0;
}

.presentacion video {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.active {
    opacity: 1
}
.content{
    padding-top: 45px;
}
.flexbox {
    display: flex;
    justify-content: space-around;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 5px;
    max-width: 1550px;
    margin: 0 auto;
    gap: 5px;
    flex-wrap: wrap;
    
}

.flexbox div {
    flex: 0 1 33%; /* Por defecto, cada columna ocupa 33% del ancho del contenedor */
    padding: 15px;
    box-sizing: border-box;
    height: auto;
}

.flexbox h3, h4 {
    text-align: center;
}

.flexbox p {
    text-align: justify;
    margin-left: 40px;
    margin-top: 15px;
    margin-right: 40px;
    line-height: 1.7;
}

/* Ajustar el diseño para pantallas más pequeñas */
@media (max-width: 1250px) {
    .flexbox {
        display: flex;
        justify-content: space-around;
        padding-left: 5px;
        padding-right: 5px;
        padding-top: 70px;
        gap: 5px;
        flex-wrap: wrap;
        max-width: 800px; /* Ajusta este valor según el diseño */
        margin: 0 auto; /* Centra el contenedor */
    }
    .flexbox div {
        flex: 0 1 95%;
    }
}

@media (max-width: 768px) {
    .flexbox div {
        flex: 0 1 97%; /* Una columna en pantallas pequeñas */
    }
}


.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-width: 1550px;
    margin: 0 auto;
}

.slides {
    display: flex;
    transition: transform .5s ease
}

.slide {
    flex: 0 0 33.3%;
    box-sizing: border-box
}

.slide img {
    height: 100%;
    width: auto;
}

#lista,nav ul,p {
    align-items: center
}

p,ul,a {
    text-align: justify;
    font-size: 18px
}

#lista {
    display: flex;
    justify-content: center;
    height: 100%
}

#lista ul {
    list-style-type: none;
    padding: 0;
    margin: 0
}

.content {
    padding: 20px
}
.ache2{
    text-align: center;
}
.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    background: 0 0;
    margin-bottom: 20px
}

.image-container img,.slide img {
    width: 100%;
    display: block
}

.cintillo2 {
    width: 100vw;
    height: auto;
    position: relative;
    overflow: hidden;
    max-width: 1550px;
    margin: 0 auto;
}

.cintillo-img,.cintillo2-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: -1
}

.cintillo2-img {
    display: none
}

@media (max-width:768px) {
    .cintillo-img,.cintillo2 {
        display: none
    }

    .cintillo1 {
        height: max-content
    }

    .cintillo2-img {
        display: block;
        width: 100%;
        height: auto;
    }
}

.gridvalores {
    display: grid;
    grid-template-columns: repeat(3,auto);
    gap: 15px;
    margin: auto;
    justify-content: center
}

.valores {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    border-radius: 10px;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0,0,0,.445);
    transition: transform .3s,box-shadow .3s;
    cursor: pointer;
    background-color: #fff
}

.disabled:hover,.grid-item:hover,.valores:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,.3)
}

.valores img {
    object-fit: cover;
    display: block;
    transition: transform .3s
}

.certificado-item,.grid-certificados,.valores {
    overflow: hidden;
    justify-content: center
}

.grid-certificados {
    display: grid;
    grid-template-columns: repeat(3,150px);
    grid-template-rows: auto;
    padding-top: 75px;
    padding-bottom: 25px;
}

.certificado-item {
    position: center;
    width: auto;
    height: 150px;
    display: flex;
    align-items: center
}

.certificado-item img,.certificado-item2 img,.valores img {
    height: 100%;
    width: 100%
}

.grid-certificados2 {
    display: grid;
    grid-template-columns: repeat(2,150px);
    grid-template-rows: auto;
    padding-top: 0;
    justify-content: center;
    overflow: hidden;
    padding-bottom: 75px;
}

.certificado-item2 {
    position: center;
    overflow: hidden;
    width: auto;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center
}

@media (max-width:769px) {
    .certificado-item,.certificado-item img,.certificado-item2,.certificado-item2 img {
        height: 100px;
        width: 100px
    }
}

.tituloclientes {
    align-items: center;
    justify-content: center
}

.grid2 {
    display: grid;
    grid-template-columns: repeat(3,320px);
    grid-template-rows: auto;
    gap: 15px;
    margin: auto;
    height: auto;
    padding-bottom: 75px;
    margin-left:100px;
    margin-right: 100px;
    justify-content: center;
}
@media (min-width:769px) and (max-width:1020px) {
    .grid2 {
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: auto;
        margin-left:70px;
        margin-right: 70px;
    }
}

@media (max-width:768px) {
    .grid2 {
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: auto;
        margin-left:50px;
        margin-right: 50px;
    }
}

.clientes {
    display: grid;
    grid-template-columns: repeat(4,150px);
    grid-template-rows: auto;
    gap: 15px;
    padding-top: 75px;
    height: auto;
    margin: auto;
    justify-content: center;
    max-width: 1550px;
    margin: 0 auto;
}

.cliente-item {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    border-radius: 10px;
    align-items: center;
    justify-content: center
}

.cliente-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s
}

@media (min-width:769px) and (max-width:1024px) {
    .clientes {
        grid-template-columns: repeat(4,1fr);
        grid-template-rows: auto;
        padding-left: 25px;
        padding-right: 25px;
    }
}

@media (min-width:481px) and (max-width:768px) {
    .clientes {
        grid-template-columns: repeat(3,1fr);
        grid-template-rows: auto;
        padding-left: 25px;
        padding-right: 25px;
    }
}

@media (max-width:480px) {
    .clientes {
        grid-template-columns: repeat(3,110px);
        grid-template-rows: auto;
        padding-left: 25px;
        padding-right: 25px
    }

    .clientes h2 {
        font-size: small
    }
}

.pequeño {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%
}

.pequeño img {
    width: 70%
}

.pequeño img,.pequeño2 img,.pequeño3 img {
    height: auto;
    object-fit: contain
}

.pequeño2 img {
    width: 60%
}

.pequeño3 img {
    width: 90%
}

.cliente-item img:hover {
    transform: scale(1.05)
}

@media (min-width:1920px) {
    .clientes {
        display: grid;
        grid-template-columns: repeat(9,170px);
        grid-template-rows: repeat(4,170px);
        gap: 10px;
        margin: auto;
        justify-content: center
    }
}

.grid {
    display: grid;
    grid-template-columns: repeat(4,300px);
    grid-template-rows: auto;
    gap: 15px;
    margin: auto;
    height: auto;
    padding-bottom: 75px;
    margin-left: 45px;
    margin-right: 45px;
    justify-content: center
}

.disabled,.grid-item {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,.445);
    transition: transform .3s,box-shadow .3s;
    background-color: #fff
}

.grid-item,form button {
    cursor: pointer
}

.disabled img,.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s
}

@media (min-width:769px) and (max-width:1080px) {
    .grid {
        grid-template-columns: repeat(3,1fr);
        grid-template-rows: auto;
        margin-left:70px;
        margin-right: 70px;
    }
}

@media (max-width:768px) {
    .grid {
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: auto;
    }
}



.contact-section {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 10px
}

.contact-info,.form-container {
    flex: 1;
    max-width: 1fr
}

form {
    flex-direction: column
}

form label {
    margin-bottom: 5px
}

form input,form textarea {
    margin-bottom: 10px;
    padding: 8px
}

form button {
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: 0
}

@media (max-width:869px) {
    .contact-section {
        flex-direction: column;
        align-items: center
    }

    .contact-info {
        display: none
    }

    .form-container {
        width: 70%
    }
}

.unique-footer,.unique-footer-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.unique-footer {
    background-color: #f3f3f3;
    color: #000;
    bottom: 0;
    left: 0;
    padding: 10px 20px;
    box-sizing: border-box;
    z-index: 1050
}

.unique-footer-content {
    max-width: 1200px
}

.unique-logo img {
    height: 30px;
    transition: transform 1s
}

.unique-footer-info {
    display: flex;
    justify-content: center;
    flex: 1;
    gap: 10px
}

.unique-info-column {
    display: flex;
    align-items: center;
    margin: 0 auto;
}

.unique-info-column a {
    font-size: 12px
}

.unique-info-column a:hover {
    text-decoration: underline;
    color: #c6d420
}

.unique-logo {
    display: flex;
    align-items: left;
    margin-bottom: 10px
}

.texto h3,.texto ul li {
    font-size: 16px;
    color: #ccc;
    font-weight: 900;
    font-style: italic
}

.texto ul li {
    font-size: 14px
}

.iconos {
    align-items: right;
    justify-content: center
}

.icon {
    margin: auto;
    width: 50px
}

.contact-button,.whatsapp-button {
    display: flex;
    justify-content: center;
    align-items: center;
    background: 0 0;
    text-decoration: none;
    border-radius: 5px;
    transition: color .3s ease;
    font-size: 30px
}

.whatsapp-button {
    color: #3dd600
}

.contact-button {
    color: #585899
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: right;
    cursor: pointer;
    z-index: 2000;
    background-color: #fff
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 4px 0;
    transition: .4s
}

.contactlist {
    display: none
}

@media (max-width:768px) {
    .menu-toggle {
        display: none;
        justify-content: right
    }

    .nav-list {
        display: none
    }

    .contactlist {
        display: flex
    }
}

.titulo {
    padding-top: 45px
}

.subtitulo {
    padding: 15px
}

.estilo,.gridestilo1 {
    justify-content: center
}

.gridestilo1 {
    display: grid;
    grid-template-columns: repeat(4,280px);
    grid-template-rows: repeat(3,140px);
    gap: 15px;
    margin: auto
}

.estilo {
    position: relative;
    overflow: hidden;
    display: flex;
    border-radius: 10px;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0,0,0,.445);
    transition: transform .3s,box-shadow .3s;
    cursor: pointer;
    background-color: #fff
}

.estilo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,.3)
}

.estilo,.estilo img,.modal {
    width: 100%;
    height: 100%
}

.estilo img {
    object-fit: cover;
    display: block;
    transition: transform .3s
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    overflow: auto;
    background-color: #000;
    background-color: rgba(0,0,0,.8)
}

#gallery-modal,.modal-content {
    display: flex;
    align-items: center
}

.modal-content {
    justify-content: space-between;
    position: relative;
    margin: auto;
    max-width: 90%;
    max-height: 80%
}

.modal-image {
    object-fit: contain;
    margin: auto;
    display: block;
    width: 100%;
    height: 90%;
}

.modal-caption {
    max-width: 35%;
    padding: 0;
    color: #fff;
    background: rgba(0,0,0,.5);
    overflow: auto;
    text-align: left
}

.close,.next,.prev {
    color: #fff;
    position: absolute
}

.close {
    top: 0;
    right: 25px;
    font-size: 30px;
    font-weight: bolder;
    z-index: 9000
}

.next,.prev {
    background-color: rgba(0,0,0,.7);
    border: 0;
    cursor: pointer;
    font-size: 24px;
    padding: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1
}

.prev {
    left: 0
}

.next {
    right: 0
}

#gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.8);
    z-index: 1000;
    overflow: auto;
    display: none;
    justify-content: center;
    flex-direction: column
}

#modal-img {
    width: 43%;
    max-height: 60%;
    object-fit: cover;
    padding-top: 75px
}

@media (max-width:700px) {
    #modal-img {
        align-items: center;
        justify-content: center;
        width: 75%;
        max-height: 60%;
        padding-top: 200px
    }

    .next,.prev {
        background-color: rgba(0,0,0,.7);
        border: 0;
        cursor: pointer;
        font-size: 24px;
        padding-top: 10px;
        top: 77%;
        transform: translateY(-50%);
        z-index: 1
    }
}

.disabled {
    cursor: default
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0,0,0,.3);
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,.3);
    transition: background-color .3s ease;
    z-index: 1250
}

.scroll-to-top:hover {
    background-color: #05050588
}

.scroll-to-top::before {
    content: "↑";
    font-size: 18px;
    margin-right: 8px
}
