/* General Styles */
body {
    font-family: Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #151e38 !important;
    display: flex;
    flex-direction: column;
}

.d-flex {
    display: flex;
}

.colum {
    flex-direction: column;
}

.d-row {
    flex-direction: row;
}

.jc-center {
    justify-content: center;
}

nav {
    display: flex;
    flex-direction: row;
    justify-content: end;
    margin-right: 100px;
}

a {
    text-decoration: none;
    color: white !important;
}

a:hover {
    text-decoration: none !important;
}

nav ul {
    display: flex;
    flex-direction: row;
    gap: 30px;
    list-style: none;
    justify-content: end;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1.6rem;
}


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

h1,
h2,
h3,
.banner-principal .btn a {
    color: white;
}

p {
    color: white;
    line-height: 1.6;
    font-size: 1.8rem;
}

/* Header */
.header {
    color: #fff;
    text-align: end;
    padding: 20px 20px;
    width: 100%;
}

.bg-img {
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

/* Bqnner principal */
.banner-principal {
    background-image: url(fondo-bannerpp.png);
    min-height: 700px;
    flex-wrap: wrap;
    align-items: center;
    padding: 20px 80px 100px 80px;
    justify-content: center;
}

.banner-principal .logo-corjuridico {
    position: absolute;
    top: 10%;
    left: 10%;
}

.banner-principal .btn,
.about .btn,
.btn-more-info {
    display: inline-block;
    padding: 10px 20px;
    background: #F7AD48 !important;
    border: #F7AD48;
    border-radius: 5px;
    transition: background 0.3s;
}
.banner-principal .btn:hover,
.about .btn:hover,
.btn-more-info:hover {
    scale: 1.01;
}

.banner-principal .btn:hover a,
.about .btn:hover a,
.btn-more-info:hover a {
    color: #ffffff ;
    text-decoration: none;
    font-weight: bold;
}
.cont_bannerpp{
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cont_bannerpp .derecha{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.cont_bannerpp .izquierda p{
    text-align: justify;
}

.just-text{
    text-align: justify;
}

@media (min-width: 1880px) {
    .banner-principal{
        height: 780px;
    }
    .banner-principal .derecha {
        width: 30%;
    }
    .banner-principal .izquierda {
        width: 30%;
    }
}

/* Valores corporativos Sección */
.valores_corporativos {
    width: fit-content;
    padding: 20px 80px;
    background-color: white;
    border-radius: 20px;
    align-self: center;
    margin-bottom: -50px;
    z-index: 1;
}

.valores_corporativos img {
    width: 20px;
    margin-right: 5px;
}

.valores_corporativos ul {
    display: flex;
    flex-direction: row;
    gap: 30px;
    list-style: none;
    padding-left: 0px;
}

.valores_corporativos ul li {
    font-size: 2rem;
}

.contenedor_valores {
    margin-top: 20px;
}

.valores_corporativos h2 {
    margin-top: 0;
}

/* About Section */
.about {
    background: #f4f4f4;
    padding: 50px 80px;
    min-height: 550px;
    background-image: url(banner-seccion2.png);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.about h2 {
    margin-bottom: 20px;
}

/* documentos para tramites */
.documentos_para_tramites {
    width: 100%;
    padding: 20px 80px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contenedor_documentos {
    align-self: center;
    width: 60%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.contenedor_documentos div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border: solid 1px #F7AD48;
    border-radius: 15px;
    color: black;
}

.contenedor_documentos img {
    width: 80px;
}

/* tarifas Section */
.tarifas {
    padding: 50px 20px;
    color: white;
}

.tarifas-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.service {
    background: #fff;
    border-radius: 10px;
    text-align: center;
    width: calc(25% - 20px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service .cont_text {
    padding: 20px;
    color: black;
    text-align: start;
}

.service p {
    color: #F7AD48;
    font-size: 2.5rem;
}

.service img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 10px 10px 0px 0px;
}

.service:hover {
    transform: translateY(-5px);
}

/* Sección ventajas */
.ventajas {
    padding: 50px 80px;
    min-height: 550px;
    background-image: url(fondo_seccion_ventajas@2x.png);
    display: flex;
    justify-content: center;
    color: white;
}

.cont_ventajas img {
    width: 15px;
}

.cont_ventajas span {
    color: #F7AD48;
    margin-left: 5px;
}

.cont_ventajas ul {
    list-style: none;
    padding-left: 10px;
    margin-bottom: 30px;
}

.cont_ventajas ul li {
    margin-bottom: 8px;
    font-size: 1.6rem;
    font-weight: 300;
}

/* seccion de servicios */
.servicio p {
    color: grey;
    font-size: 1.5rem;
}

.servicio .img_serv img {
    width: 100%;
    height: 400px;
}

.servicio .img_serv {
    margin: 0;
    padding: 0;
    z-index: 1;
}

.servicio h2 {
    margin-top: 0;
}

.servicio .serv_der {
    padding: 10px 20px 10px 45px;
    border: #F7AD48 1px solid;
    border-radius: 0px 10px 10px 0px;
    margin-top: 20px;
    margin-left: -20px;
    z-index: 0;
    height: 380px;
    display: flex;
    justify-content: space-evenly;

}

.contenedor_servicios {
    padding: 20px 0px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}


/* sección teams */
.cont_teams{
    width: 80%;
    align-self: center;
    margin-top: 20px;
}

.team_pp {
    display: flex;
    align-items: center;
    padding: 20px;
    border: #F7AD48 1px solid;
    border-radius: 15px;
    width: fit-content;
}
.team_pp .cont_text  h3{
    background-color: #F7AD48;
    color: white;
    width: fit-content;
    padding: 2px;
    font-weight: 300;
}
.team_pp img{
    width: 200px;
}
.team{
    background: #fff;
    border-radius: 10px;
    text-align: center;
    width: calc(33.33% - 20px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    color: black;
    padding: 20px;
    border: #F7AD48 1px solid;
}
.team p{
    color: black;
    font-weight: 300;
}
.team-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}
.team img{
    width: 100px;
}

/* Aliados */
.aliados {
    width: 100%;
    padding: 20px 80px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contenedor_aliados {
    align-self: center;
    width: 60%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.contenedor_aliados div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border: solid 1px #F7AD48;
    border-radius: 15px;
}
.contenedor_aliados img{
    width: 100%;
}


/* Contact Section */
.contact {
    background: #f9f9f9;
    padding: 50px 20px;
    text-align: center;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact form input,
.contact form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact form button {
    padding: 10px 20px;
    background: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact form button:hover {
    background: #0056b3;
}

/* Footer */
.footer {
    background: #F0B793;
    color: #fff;
    text-align: start;
    padding: 20px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer .cont_top{
    display: flex;
    flex-direction: row;
    min-height: 100px;
    width: 100%;
}
.footer a{
    color: white;
    font-weight: bold;
}
.footer .cont_copyr p{
 font-size: 1.3rem;
 margin: 0;
}
.footer .cont_copyr{
    border-top: 1px solid;
    border-color: white;
    width: 400px;
    padding: 10px 10px 0px 10px;
    text-align: center;
}
.footer .izq img{
    width: 30px;
}
.footer .izq ul{
    list-style: none;
    list-style-type: none;
}
.footer .izq ul li{
    float: left;
    margin-right: 10px;
}
.footer .izq{
    display: flex;
    flex-direction: row-reverse;
}
.mobile{
    display: none;
}


/* Responsive Design */
@media (max-width: 768px) {
    h2{
        font-size: 2.4rem !important;
    }
    .desktop {
        display: none;
    }
    .mobile{
        display: block;
    }

    .banner-principal {
        padding: 20px;
    }
    .banner-principal .menu{
        margin: 0px;
    }
    .banner-principal .menu ul{
        padding: 0px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .logo-corjuridico-mob{
        width: 210px !important;
        margin-bottom: 30px;
    }
    .cont_bannerpp{
        flex-direction: column-reverse;
    }
    .banner-principal .derecha img{
        width: 100%;
        margin-bottom: 30px;
    }
    .valores_corporativos{
        width: 100%;
        padding: 20px;
        justify-content: center;
        margin-top: 20px;
    }
    .valores_corporativos ul{
        flex-wrap: wrap;
        justify-content: left;
    }
    .about{
        padding: 20px;
    }
    .documentos_para_tramites{
        padding: 20px
    }
    .contenedor_documentos .tramite{
        margin: 0px !important;
    }
    .contenedor_documentos{
        /* flex-direction: column; */
        gap: 20px;
    }
    .tarifas{
        padding: 20px;
    }
    .tarifas .container{
        padding: 10px;
    }
    .service img {
        margin-bottom: 0px;
    }
    .service h3{
        margin-top: 0px;
    }
    .tarifas-grid {
        flex-direction: column;
        gap: 20px;
    }
    .ventajas{
        padding: 20px;
    }

    .service {
        width: 100%;
    }
    .servicio .img_serv img{
        height: auto;
    }
    .servicio .serv_der{
        padding: 45px 10px 10px 10px;  
        height: auto;
        margin-top: -20px;
        margin-left: 0px;
        border-radius: 0px 0px 10px 10px;
    }
    .team_pp{
        flex-direction: column;
    }
    .team-grid{
        flex-direction: column;
        gap: 20px;
    }
    .team-grid .team{
        width: 100%;
    }

    .aliados{
        padding: 20px;
    }
    .contenedor_aliados{
        flex-direction: column;
        gap: 20px;
        margin: 0;
    }
    .footer{
        padding: 20px;
    }
    .footer .izq ul li {
        margin-top: 5px;
    }

}