:root{

    --gold:#c9a86a;

    --black:#0d0d0d;

    --white:#ffffff;
}


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Inter', sans-serif;
    background:#111;
    color:white;
}

h1,
h2,
.hero-title{
    font-family:'Playfair Display', serif;
}

header{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:15px 60px;

    background:rgba(0,0,0,.2);

    backdrop-filter:blur(12px);

    z-index:1000;
}

.logo{

    font-size:2rem;
    font-weight:bold;
}

nav{

    display:flex;
    gap:40px;
}

nav a{

    color:white;
    text-decoration:none;
    font-size:1rem;
    font-weight:500;
}

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    background:
    linear-gradient(
        90deg,
        rgba(0,0,0,.85),
        rgba(0,0,0,.35)
    ),
    url("assets/hero.png");

    background-size:cover;
    background-position:center;
}

.hero-content{

    max-width:800px;
}

.subtitulo{

    color:#c9a86a;

    letter-spacing:3px;

    margin-bottom:20px;
}

.hero h1{

    font-family:'Playfair Display', serif;

    font-size:6rem;

    line-height:1.05;

    font-weight:600;

    margin-bottom:30px;

    max-width:700px;
}

.hero p{

    font-size:1.2rem;

    line-height:1.8;

    margin-bottom:30px;
}

button{

    background:none;

    color:white;

    border:1px solid #c9a86a;

    padding:15px 35px;

    cursor:pointer;
}

.btn-gold{

    display:inline-block;

    padding:15px 42px;

    border:1px solid var(--gold);

    color:white;

    text-decoration:none;

    transition:.3s ease;

    font-size:1rem;

    letter-spacing:1px;

}

.btn-gold:hover{

    background:var(--gold);

    color:black;
}

.logo img{
    height:90px;
}

/* ========================= */
/* QUIENES SOMOS */
/* ========================= */

.quienes{

    padding:120px 100px;

    background:white;

    color:#222;
}

.quienes h2{

    font-size:3rem;

    margin-bottom:30px;
}

.quienes p{

    max-width:900px;

    line-height:1.8;

    margin-bottom:20px;
}

/* ========================= */
/* SERVICIOS */
/* ========================= */

.servicios{

    background:#111;

    padding:120px 100px;
}

.servicios h2{

    text-align:center;

    margin-bottom:60px;
}

.cards{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;
}

.card{

    background:#151515;

    border:1px solid rgba(201,168,106,.15);

    border-radius:12px;

    padding:35px;

    min-height:220px;

    transition:.3s;

    text-align:center;


}

.card i{

    font-size:3rem;

    color:var(--gold);

    margin-bottom:25px;

    display:block;
}

.card:hover{

    transform:translateY(-10px);

    border-color:var(--gold);

    box-shadow:
    0 15px 40px rgba(0,0,0,.3);
}

.card h3{

    color:#c9a86a;

    margin-bottom:20px;
}

/* ========================= */
/* TARJETAS 3D */


.card{

    perspective:1000px;

    min-height:260px;
}

.card-inner{

    position:relative;

    width:100%;

    height:100%;

    transition:transform .7s;

    transform-style:preserve-3d;
}

.card:hover .card-inner{

    transform:rotateY(180deg);
}

.card-front,
.card-back{

    position:absolute;

    width:100%;

    height:100%;

    backface-visibility:hidden;

    border-radius:12px;

    padding:35px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;
}

.card-front{

    background:#151515;
}

.card-back{

    background:#151515;

    transform:rotateY(180deg);
}

.card-back ul{

    list-style:none;

    padding:0;

    margin-top:15px;
}

.card-back li{

    margin-bottom:10px;

    color:#ddd;
}


/* ========================= */
/* CONTACTOS */
/* ========================= */

.contacto{

    background:#f5f5f5;

    color:#222;

    padding:120px 100px;

    text-align:center;
}

.contacto h2{

    margin-bottom:30px;
}

.contacto p{

    margin-bottom:15px;
}

/* ========================= */
/* PIE DE PÁGINA */
/* ========================= */

footer{

    background:black;

    color:white;

    text-align:center;

    padding:30px;
}

section{

    padding:120px 8%;
}

/* ========================= */
/* QUIENES SOMOS 2 */
/* ========================= */

.quienes{

    background:white;

    color:#222;
}

.quienes-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:80px;

    align-items:center;
}

.quienes-texto h2{

    font-size:3rem;

    margin:20px 0;
}

.quienes-texto p{

    line-height:1.9;

    margin-bottom:20px;
}

.section-tag{

    color:var(--gold);

    letter-spacing:3px;

    font-size:.9rem;
}

.quienes-imagen img{

    width:100%;

    border-radius:16px;

    box-shadow:
    0 20px 50px rgba(0,0,0,.15);
}

/* ========================= */
/* ENFOQUE */
/* ========================= */

.enfoque{

    background:#f7f7f7;

    text-align:center;
}

.enfoque h2{

    color:#222;

    font-size:3rem;

    margin-bottom:60px;
}

.enfoque-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:40px;

    max-width:1400px;

    margin:0 auto;
}

.enfoque-item{

    background:white;

    padding:50px 40px;

    border-radius:12px;

    color:#222;

    transition:.3s;

    min-height:320px;

}

.enfoque-item:hover{

    transform:translateY(-8px);

    box-shadow:
    0 15px 40px rgba(0,0,0,.1);
}

.enfoque-item i{

    font-size:3rem;

    color:var(--gold);

    margin-bottom:25px;
}

.enfoque-item{

    background:white;

    padding:40px;

    border-radius:12px;

    color:#222;
}

.enfoque-item h3{

    color:#111;

    margin-bottom:15px;
}

.enfoque-item p{

    color:#555;

    line-height:1.7;
}

.quienes .btn-gold{

    color:#222;
}

.hero-content{

    max-width:800px;

    margin-left:80px;
}



/* ========================= */
/* PROYECTOS */
/* ========================= */

.proyectos{

    background:#0f0f0f;

    color:white;

    padding:120px 8%;
}

.section-header{

    margin-bottom:60px;
}

.section-header h2{

    font-size:3rem;

    margin-top:15px;
}

.projects-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;
}

.proyecto-card{

    background:#151515;

    border-radius:16px;

    overflow:hidden;

    transition:.4s ease;

    border:1px solid rgba(201,168,106,.15);

    position:relative;

}

.proyecto-card:hover{

    transform:translateY(-12px);

    border-color:var(--gold);

    box-shadow:
    0 25px 60px rgba(0,0,0,.25);
}

.proyecto-card img{

    width:100%;

    height:260px;

    object-fit:cover;

    display:block;

    transition:.6s ease;

    filter:brightness(.9);

}

.proyecto-card:hover img{

    transform:scale(1.05);
}

.proyecto-info{

    padding:25px;
}

.proyecto-info h3{

    color:var(--gold);

    margin-bottom:10px;
}

.proyecto-info p{

    color:#ddd;

    line-height:1.7;
}

.proyecto-tag{

    display:inline-block;

    color:var(--gold);

    font-size:.8rem;

    letter-spacing:2px;

    margin-bottom:12px;
}

.proyecto-meta{

    display:flex;

    gap:15px;

    margin-top:20px;

    color:#999;

    font-size:.9rem;
}

.proyecto-link{

    display:inline-block;

    margin-top:25px;

    color:var(--gold);

    text-decoration:none;

    font-weight:600;
}

/* ========================= */
/* ESTADÍSTICAS */
/* ========================= */

.stats{

    background:#f7f7f7;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:40px;

    padding:120px 8%;
}

.stat h2{

    color:var(--gold);

    font-size:4rem;

    margin-bottom:10px;
}

.stat p{

    color:#ddd;

    letter-spacing:1px;
}

.stat{

    background:#151515;

    border:1px solid rgba(201,168,106,.15);

    border-radius:20px;

    padding:50px 25px;

    text-align:center;

    transition:.3s ease;
}

.stat:hover{

    transform:translateY(-8px);

    border-color:var(--gold);

    box-shadow:
    0 20px 40px rgba(0,0,0,.15);
}

.stat i{

    color:var(--gold);

    font-size:2rem;

    margin-bottom:20px;
}

/* ========================= */
/* TESTIMONIOS */
/* ========================= */

.testimonios{

    background:#f7f7f7;

    color:#222;

    padding:120px 8%;
}

.testimonios-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:40px;

    margin-top:60px;
}

.testimonio{

    background:#f8f8f8;

    padding:40px;

    border-radius:16px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.08);
}

.stars{

    color:var(--gold);

    font-size:1.4rem;

    margin-bottom:30px;
}

.testimonio p{

    line-height:1.8;

    margin-bottom:30px;
}

.testimonio h4{

    margin-bottom:5px;
}

.testimonio span{

    color:#666;
}

/* ========================= */
/* CTA */
/* ========================= */

.cta{

    background:linear-gradient(
        135deg,
        #111,
        #1a1a1a
    );

    text-align:center;

    padding:140px 8%;
}

.cta h2{

    font-size:3rem;

    margin-bottom:25px;
}

.cta p{

    max-width:700px;

    margin:0 auto 40px auto;

    color:#ddd;
}

.cta-links{

    margin-top:25px;
}

.cta-links a{

    color:var(--gold);

    text-decoration:none;
}


/* ========================= */
/* SOLICITAR ASESORAMIENTO */
/* ========================= */

.contact-modal{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.75);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:5000;
}

.contact-modal.active{

    display:flex;
}

.modal-content{

    background:#181818;

    padding:40px;

    border-radius:18px;

    min-width:350px;

    text-align:center;

    position:relative;

    border:1px solid rgba(201,168,106,.3);
}

.modal-content h3{

    margin-bottom:30px;

    color:white;
}

.contact-option{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    text-decoration:none;

    color:white;

    padding:15px;

    margin-bottom:15px;

    border:1px solid rgba(201,168,106,.25);

    border-radius:10px;

    transition:.3s;
}

.contact-option:hover{

    background:var(--gold);

    color:black;
}

.close-modal{

    position:absolute;

    top:15px;

    right:20px;

    font-size:1.8rem;

    cursor:pointer;

    color:white;
}



.project-modal{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.85);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:9999;
}

.project-modal.active{

    display:flex;
}

.project-modal-content{

    width:95%;

    max-width:1500px;

    min-height:700px;

    background:#181818;

    border-radius:24px;

    overflow:hidden;

    display:grid;

    grid-template-columns:55% 45%;
}

.project-modal-content img{

    width:100%;

    height:700px;

    object-fit:cover;


}

.project-details{

    display:flex;

    flex-direction:column;

    justify-content:center;

    padding:70px;
}

.project-details h2{

    font-size:3rem;

    margin:25px 0;
}

.project-details p{

    line-height:1.8;

    margin-bottom:30px;
}

.project-close{

    position:absolute;

    top:25px;

    right:35px;

    font-size:2rem;

    color:white;

    cursor:pointer;
}

.project-meta{

    display:flex;

    gap:25px;

    margin:30px 0 40px;

    color:#bbb;
}

/* ========================= */
/* RESPONSIVE MÓVIL */
/* ========================= */

@media (max-width:768px){

    section{
        padding:80px 25px;
    }

    header{

        padding:15px 20px;

        flex-direction:row;

        gap:15px;

        width:100%;

        justify-content:space-between;
    }

    .logo img{
        height:60px;
    }

    .hamburger{
        display:block !important;
    }

    nav{

        display:none;

        position:absolute;

        top:100%;

        left:0;

        width:100%;

        background:#111;

        flex-direction:column;

        padding:20px;

        gap:20px;

        text-align:center;
    }

    nav.active{

        display:flex;
    }

    .hero{

        min-height:90vh;
    }

    .hero h1{

        font-size:3.2rem;

        line-height:1.05;
    }

    .hero-content{

        max-width:100%;
    }

    .quienes-grid{
        grid-template-columns:1fr !important;
    }

   .cards{
        grid-template-columns:1fr !important;
    }

    .enfoque-grid{
        grid-template-columns:1fr !important;
    }

    .projects-grid{
        grid-template-columns:1fr !important;
    }

    .stats{
        grid-template-columns:1fr 1fr !important;
    }

    .testimonios-grid{
        grid-template-columns:1fr !important;
    }

    .project-modal-content{

        grid-template-columns:1fr;

        width:95%;
    }

}

/* ========================= */
/* MÓVIL FINO */
/* ========================= */

@media (max-width:768px){

    /* HERO */

    .hero-content{
        margin-left:0;
        padding-top:80px;
    }

    .hero h1{
        font-size:3rem;
    }

    .hero p{
        font-size:1rem;
    }

    /* QUIÉNES SOMOS */

    .quienes-texto h2{
        font-size:2.3rem;
    }

    /* SERVICIOS */

    .cards{
        gap:20px;
    }

    .card{
        min-height:auto;
        padding:30px;
    }

    .card.active .card-inner{

        transform:rotateY(180deg);
    }

    .card{

        min-height:380px;
    }

    .card-inner{

        height:380px;
    }

    .card-front,
    .card-back{

        height:380px;
    }

    /* ENFOQUE */

    .enfoque h2{
        font-size:2.3rem;
    }

    /* PROYECTOS */

    .section-header h2{
        font-size:2.4rem;
    }

    .proyecto-card img{
        height:220px;
    }

    /* ESTADÍSTICAS */

    .stats{
        gap:25px;
    }

    .stat h2{
        font-size:2.5rem;
    }

    /* TESTIMONIOS */

    .testimonio{
        padding:25px;
    }

    /* CTA */

    .cta h2{
        font-size:2.4rem;
    }

    /* MODAL PROYECTOS */

    .project-modal-content{

        width:95%;

        max-height:90vh;

        overflow-y:auto;

        grid-template-columns:1fr;
    }

    .project-modal-content img{

        height:300px;
    }

    .project-details{

        padding:30px;
    }

    .project-details h2{

        font-size:2rem;
    }

    .project-meta{

        flex-direction:column;

        gap:10px;
    }

    .project-meta{

        flex-direction:column;

        gap:10px;
    }



    /* NUESTRO ENFOQUE */


    .enfoque-item .details{

        display:none;

        max-height:0;

        overflow:hidden;

        opacity:0;

        transition:.3s;
    }

    .enfoque-item.active .details{

        display:block;

        max-height:500px;

        opacity:1;
    }

    .enfoque-item:hover .details{

        opacity:0;

        max-height:0;
    }

    .enfoque-item.active .details{

        opacity:1;

        max-height:500px;

        margin-top:20px;
    }



}

/* ========================= */
/* TABLET */
/* ========================= */

@media (min-width:769px) and (max-width:1100px){

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

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

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

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

    .quienes-grid{
        grid-template-columns:1fr;
    }

}

/* ========================= */
/* MENÚ HAMBURGUESA */
/* ========================= */

html{
    scroll-behavior:smooth;
}


header.scrolled{

    background:#111;

    box-shadow:0 5px 25px rgba(0,0,0,.3);
}

.hamburger{

    display:none;

    background:none;

    border:none;

    color:white;

    font-size:1.8rem;

    cursor:pointer;

    padding:0;
}

/* ========================= */
/* NUESTRO ENFOQUE PREMIUM */
/* ========================= */

.enfoque-item .details{

    margin-top:20px;

    border-top:1px solid rgba(201,168,106,.2);

    padding-top:20px;
}

.enfoque-item .details ul{

    list-style:none;
}

.enfoque-item .details li{

    margin-bottom:12px;

    color:#555;
}

.enfoque-item{

    position:relative;

    overflow:hidden;
}

.enfoque-item .details{

    opacity:0;

    max-height:0;

    transition:.4s ease;
}

.enfoque-item:hover .details{

    opacity:1;

    max-height:250px;

    margin-top:20px;
}


/* ========================= */
/* FOOTER */
/* ========================= */

.footer-content{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:25px;

    font-size:.95rem;
}
