* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.navbar {
    height: 60px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: black;
    color: white;
    position: fixed;
    z-index: 2;
}

.logoNav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    height: fit-content;
    width: 35%;
}

.logo {
    height: 50px;
    margin: 0px 50px 0px 50px;
}

.balanza {
    height: 100%;
    border-radius: 50%;
}

.menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    height: 50px;
    width: 60%;

}

.links {
    height: 100%;
    width: auto;
    padding: 15px;
    text-decoration: none;
    color: white;
}

.links:hover {
    color: rgb(0, 255, 179);
}

.menu-toggle {
    display: none;
    /* font-size: 28px;
    background: white;
    border: none;
    cursor: pointer;
    color: black; */
}

.oculto {
    height: 60px;
    width: 100%;
    background-color: black;
}

.contenedor1 {
    height: 480px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: stretch;    
    overflow: hidden;
    /* position: relative; */
    background-image: url("../img/negotiate.PNG");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;    
}

.texto1{    
    font-size: 85%;
}

/* .videoContainer2 {
    position: absolute;
    inset: 0;
    top:0; right:0; bottom:0; 
    left:0;
    z-index: 0;
} */

/* .video2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    } */

.section1 {
    max-width: 1200px;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap; 
}

.img {
    height: 90%;
    width: 40%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}


#SobreNosotros,
#queOfrecemos {
    height: 100%;
    width: 100%;
    padding: 30px;
    border-radius: 20px;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
    /* position: relative;
   background-image: url("../img/law.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0; */


/* #queOfrecemos {
    border-radius: 10%;
    height: 100%;
    width: 100%;
    text-align: center;
    padding: 30px;
    text-align: justify;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
} */

#SobreNosotros h2,
div,
p {
    text-align: center;
}

#queOfrecemos h2,
div,
p {
    text-align: center;
}


.button {
    color: white;
    padding: 25px;
    background-color: rgb(93, 95, 233);
    border-radius: 10px;
    cursor: pointer;
}

.button:hover {
    color: black;
    background-color: white;
}

.button:active {
    transform: scale(0.8);
}

.service-card {
    background: linear-gradient(135deg, rgba(58, 57, 55, 0.8), rgba(53, 44, 44, 0.8));
    border: none;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}


.card-title {
    font-weight: 600;
}

.card-text {
    color: white;
}

.valoresTitle {
    margin-top: 30px;
}

.contenedorValores {
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    color: white;
    background-color: black;
}

.cards {
    height: fit-content;
    width: 80vw;
    margin-bottom: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

.card {
    width: 225px;
    height: 250px;
    padding: 10px 30px;
    border: 1px solid #DDDDDD;
    border-radius: 10px;
    margin-top: 30px;
    text-align: center;
}

.card h3 {
    font-weight: 300;
    font-size: 18px;
    margin: 20px 0 -15px;
}

.card p {
    margin-top: 30px;
    font-size: 16px;
    line-height: 22px;
    color: #777;
}

.fotoContainer {
    height: 500px;
    width: 100%;
    /* position: relative; */
    background-image: url("../img/fotoBalanzaMujer.PNG");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.video1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* CLAVE */
    z-index: -1;
}

#Servicios {
    margin-top: 30px;
}

.contenedorServicios {
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    color: white;
    background-color: black;
}

.cardsContenedor {
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    position: relative;
    margin-top: 15px;
    margin-bottom: 15px;
}

.cardContenedor {
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

.cardServicios {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    background: #abdff7;
    border-radius: 12px;
    height: 150px;
    width: 300px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
    color: black;
    margin: 10px 10px 10px 10px;
}

.cardServicios h3 {
    margin-bottom: 15px;
}

.btn-modal {
    cursor: pointer;
    padding: 10px;
    background-color: grey;
    color: white;
    font-weight: bolder;
    border: black 2px solid;
    border-radius: 10px;
}

.btn-modal:active {
    transform: scale(0.9);
}

.modal {
    height: auto;
    width: 100%;
    display: none;
    position: absolute;
    z-index: 1000;
    background-color: rgb(58, 58, 87);
    color: white;
    left: 0;
    top: 0;    
}

.modal-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;        
}
.cerrarModal {
    font-weight: bolder;
    font-size: 25px;
    width: 100%;
    text-align: right;
    padding: 15px;
    cursor: pointer;    
}

.infoCard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
    /* CLAVE */
    margin-top: 15px;
}

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

.contentInfoCard h4 {
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    color: rgb(255, 153, 0);
}

.contentInfoCard p {
    text-align: left;
    width: 350px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.infoCard2{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.infoPago {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(105, 238, 116);
    padding: 30px;
}

.infoPago p {
    text-align: left;
    width: 350px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.clasePago{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    color: darkgreen;    
    width: 85%;
}

.logoPago{
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;    
}
.contentInfoCard2 {    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;   
    width: 400px;       
}

.contentInfoCard2 h4 {
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    color: rgb(255, 153, 0);
}

.contentInfoCard2 p {
    text-align: left;
    width: 350px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.nota {
    color: red;
    font-weight: bolder;
}

#goTop {
    width: 40px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background-color: #a10000;
    color: #fff;
    border: none;
    margin: auto;
    border-radius: 40%;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s, transform 0.3s;
}

#goTop:hover {
    background-color: #ffb400;
    transform: scale(1.1);
}

#goTop.hide {
    display: none;
}

.foot {
    height: 100px;
    color: white;
    padding: 35px;
    text-align: center;
    font-size: 18px;
    background-color:   black;
}

/* ===== CONTACTO ===== */
.contact-section {
    background-color: rgb(240, 240, 240); /* oscuro elegante */
    padding: 4rem 1rem;
    color:rgb(255, 153, 0);;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    font-weight: 600;
    color: black !important;
}

/* Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

/* Cards */
.contact-card {
    background-color:rgb(34, 31, 31);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Iconos */
.contact-icon {
    width: 50px;
    margin-bottom: 1rem;
}

/* Textos */
.contact-card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-text {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    color: #e5e7eb;
}

/* Links */
.contact-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    text-decoration: underline;
}


/* responsive tablet */

@media (max-width: 998px) {

    .logoNav {
        width: 50%;
    }

    .menu {
        height: auto;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        flex-direction: column;
        background-color: black;
        display: none;
        padding: 20px 0;
        z-index: 100;

    }

    .logo {
        margin: 0 20px;
    }

    .contenedor1 {
        height: auto;
        padding: 30px 0;
    }

    .section1 {
        flex-direction: column;
        gap: 30px;
    }

    .img {
        width: 60%;
        height: auto;
        min-height: 350px;
    }

    #SobreNosotros,
    #queOfrecemos {
        padding: 20px;
    }

    .contenedorValores {
        height: auto;
        padding: 40px 0;
    }

    .cards {
        height: auto;
        gap: 20px;
    }

    .card {
        font-size: 10px;
    }  

    .infoCard{
        display: block;
    }

    .clasePago, .clasePago p{
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }   

    .logoPago, .clasePago p{
        height: 30px;
        font-size: 14px;
    }

    #foot {
        font-size: 11px;
    }
}

/* responsive movil */

@media (max-width: 768px) {

    /* NAVBAR */
    .navbar {
        justify-content: space-between;
        padding: 0 15px;
    }

    .logoNav {
        width: auto;
    }

    .menu-toggle {
        display: block;
        font-size: 28px;
        background: black;
        border: none;
        color: white;
        cursor: pointer;
    }

    .menu {
        height: auto;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        flex-direction: column;
        background-color: black;
        display: none;
        padding: 20px 0;
        z-index: 100;
    }

    .menu.active {
        display: flex;
    }

    .links {
        padding: 15px;
        text-align: center;
        width: 100%;
    }

    /* SECCIÓN PRINCIPAL */
    .contenedor1 {
        height: auto;
        padding: 20px 0;
    }

    .section1 {
        flex-direction: column;
        gap: 20px;
    }

    .img {
        width: 70%;
        height: auto;
        min-height: 350px;
        border-radius: 15px;
    }

    #SobreNosotros,
    #queOfrecemos {
        padding: 20px;
        font-size: 15px;
    }

    h2 {
        font-size: 18px;
    }

    /* BOTÓN */
    .button1 {
        width: 100%;
        padding: 15px;
        font-size: 16px;
    }

    /* VALORES */
    .contenedorValores {
        height: auto;
        padding: 15px 0;
    }

    .cards {
        flex-direction: column;
        height: auto;
        width: 50%;
        gap: 20px;
    }

    .card {
        width: 90%;
        height: auto;
    }

    .card h3 {
        font-size: 16px !important;
        text-align: center !important;
    }

    .card p {
        font-size: 14px;
    }

     .infoCard{
        display: block;
    }

    .clasePago, .clasePago p{
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }   

    .logoPago, .clasePago p, .infoPago h4{
        height: 25px;
        font-size: 14px !important;
    }

    /* .videoContainer {
        display: none;
    } */

    #foot {
        font-size: 11px;
    }
}