/*==================================================
DEMO & ASOCIADOS
Premium Landing
Author: DVRKLEX
==================================================*/


/*=========================
GOOGLE FONTS
=========================*/

:root{

    --background:#F7F5F2;
    --surface:#ffffff;

    --primary:#181818;
    --secondary:#5E5E5E;

    --gold:#A9854F;
    --gold-light:#C7A873;

    --border:#E9E3DA;

    --radius:18px;

    --shadow:
        0 20px 70px rgba(0,0,0,.08);

    --container:1220px;

    --transition:.45s cubic-bezier(.22,.61,.36,1);

}



/*=========================
RESET
=========================*/

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

html{

    scroll-behavior:smooth;

}

body{

    background:var(--background);

    color:var(--primary);

    font-family:"Inter",sans-serif;

    overflow-x:hidden;

    -webkit-font-smoothing:antialiased;

}

img{

    display:block;

    width:100%;

}

a{

    color:inherit;

    text-decoration:none;

}

button{

    font-family:inherit;

}

.container{

    width:min(92%,var(--container));

    margin:auto;

}



/*=========================
TYPOGRAPHY
=========================*/

h1,
h2,
h3{

    font-family:"Cormorant Garamond",serif;

    font-weight:600;

    line-height:1.05;

}

h1{

    font-size:clamp(3.5rem,7vw,6rem);

}

h2{

    font-size:clamp(2.4rem,5vw,4.4rem);

}

h3{

    font-size:2rem;

}

p{

    color:var(--secondary);

    line-height:1.9;

    font-size:1.05rem;

}

.section-tag{

    display:inline-flex;

    padding:10px 18px;

    border:1px solid rgba(169,133,79,.25);

    color:var(--gold);

    border-radius:100px;

    letter-spacing:3px;

    font-size:.75rem;

    margin-bottom:28px;

}

.eyebrow{

    display:inline-block;

    margin-bottom:25px;

    letter-spacing:4px;

    color:var(--gold);

    font-size:.8rem;

}



/*=========================
BUTTONS
=========================*/

.button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:17px 34px;

    border-radius:999px;

    background:var(--primary);

    color:white;

    transition:var(--transition);

    border:none;

    cursor:pointer;

    font-weight:600;

}

.button:hover{

    transform:translateY(-3px);

    /* box-shadow:0 15px 35px rgba(0,0,0,.18); */

}

.button-secondary{

    background:transparent;

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

    color:var(--primary);

}

.button-secondary:hover{

    background:white;

}

.button-outline{

    background:white;

    color:var(--primary);

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

}



/*=========================
HEADER
=========================*/

.header{

    position:fixed;

    top:0;

    width:100%;

    z-index:999;

    transition:.4s;

}

.header.scrolled{

    backdrop-filter:blur(18px);

    background:rgba(247,245,242,.85);

    border-bottom:1px solid rgba(0,0,0,.06);

}

.header .container{

    height:92px;

    display:flex;

    align-items:center;

    justify-content:space-between;

}

.logo{

    display:flex;

    align-items:center;

    gap:16px;

}

.logo-mark{

    width:54px;

    height:54px;

    border-radius:50%;

    border:1px solid rgba(169,133,79,.3);

    display:grid;

    place-items:center;

    font-family:"Cormorant Garamond";

    font-size:1.8rem;

    color:var(--gold);

}

.logo-text{

    display:flex;

    flex-direction:column;

}

.logo-text span{

    font-weight:700;

    font-size:1.05rem;

}

.logo-text small{

    color:var(--secondary);

}

nav{

    display:flex;

    gap:45px;

}

nav a{

    position:relative;

    color:#555;

    transition:.3s;

}

nav a:hover{

    color:black;

}

nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--gold);

    transition:.35s;

}

nav a:hover::after{

    width:100%;

}



/*=========================
HERO
=========================*/

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

}

.hero-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:90px;

    align-items:center;

}

.hero-content p{

    margin:35px 0 45px;

    max-width:620px;

}

.hero-buttons{

    display:flex;

    gap:20px;

}

.hero-image{

    position:relative;

}

.hero-image img{

    height:760px;

    object-fit:cover;

    border-radius:26px;

    box-shadow:var(--shadow);

}

.hero-image::before{

    content:"";

    position:absolute;

    inset:-30px;

    border:1px solid rgba(169,133,79,.15);

    border-radius:34px;

    z-index:-1;

}

.floating-card{

    position:absolute;

    left:-70px;

    bottom:50px;

    background:white;

    border-radius:22px;

    box-shadow:var(--shadow);

    display:flex;

    padding:28px 36px;

    gap:45px;

}

.floating-card strong{

    display:block;

    font-size:2rem;

    font-family:"Cormorant Garamond";

    margin-bottom:8px;

}

.floating-card span{

    color:var(--secondary);

    font-size:.9rem;

}



/*=========================
ABOUT
=========================*/

.about{

    padding:180px 0;

}

.split{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:100px;

    align-items:center;

}

.split-image{

    position:relative;

}

.split-image img{

    border-radius:24px;

    height:720px;

    object-fit:cover;

    box-shadow:var(--shadow);

}

.split-image::after{

    content:"";

    position:absolute;

    width:220px;

    height:220px;

    border:1px solid rgba(169,133,79,.25);

    right:-35px;

    bottom:-35px;

    z-index:-1;

}

.split-content p{

    margin:28px 0 50px;

}

.about-values{

    display:grid;

    gap:40px;

}

.about-values h3{

    margin-bottom:10px;

    font-size:2rem;

}



/*=========================
NUMBERS
=========================*/

.numbers{

    background:#181818;

    padding:140px 0;

}

.numbers .container{

    display:grid;

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

    gap:50px;

    text-align:center;

}

.number{

    color:white;

}

.number h2{

    color:var(--gold-light);

    font-size:4rem;

    margin-bottom:15px;

}

.number p{

    color:#BBBBBB;

}
/*==================================================
SERVICES
==================================================*/

.services{
    padding:180px 0;
}

.section-header{
    margin-bottom:80px;
}

.section-header span{
    display:block;
    color:var(--gold);
    letter-spacing:4px;
    font-size:.8rem;
    margin-bottom:20px;
}

.section-header h2{
    max-width:700px;
}

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

    padding:45px 0;

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

    transition:var(--transition);

    cursor:pointer;
}

.service:first-of-type{
    border-top:1px solid var(--border);
}

.service:hover{
    padding-left:30px;
}

.service:hover h3{
    color:var(--gold);
}

.service h3{
    transition:var(--transition);
    margin-bottom:10px;
}

.service p{
    max-width:550px;
}

.service span{
    font-size:2rem;
    color:var(--gold);
    transition:var(--transition);
}

.service:hover span{
    transform:translateX(10px);
}



/*==================================================
QUOTE
==================================================*/

.quote{

    padding:220px 0;

    background:#181818;

    text-align:center;

}

.quote h2{

    color:white;

    max-width:900px;

    margin:auto;

    font-size:clamp(3rem,6vw,5.5rem);

    line-height:1.15;

}

.quote::before{

    content:"“";

    display:block;

    color:rgba(255,255,255,.08);

    font-size:12rem;

    margin-bottom:-50px;

}



/*==================================================
CASES
==================================================*/

.cases{

    padding:180px 0;

}

.cases-grid{

    display:grid;

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

    gap:40px;

}

.cases-grid article{

    background:white;

    border-radius:22px;

    padding:45px;

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

    transition:var(--transition);

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

}

.cases-grid article:hover{

    transform:translateY(-10px);

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

}

.cases-grid h3{

    margin-bottom:20px;

}



/*==================================================
TESTIMONIALS
==================================================*/

.testimonials{

    padding:120px 0 180px;

}

.testimonial{

    background:white;

    max-width:900px;

    margin:auto;

    text-align:center;

    padding:70px;

    border-radius:30px;

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

    box-shadow:var(--shadow);

}

.testimonial{

    font-size:1.5rem;

    color:var(--gold);

}

.testimonial p{

    font-size:1.3rem;

    line-height:1.8;

    color:var(--primary);

    margin:30px auto;

    max-width:650px;

}

.testimonial strong{

    display:block;

    color:var(--secondary);

    font-weight:500;

}



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

.cta{

    padding:220px 0;

    position:relative;

    overflow:hidden;

    text-align:center;

    color:white;

}

.cta::before{

    content:"";

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            rgba(0,0,0,.55),
            rgba(0,0,0,.55)
        ),
        url("images/office.jpg");

    background-size:cover;

    background-position:center;

    z-index:-2;

}

.cta::after{

    content:"";

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            135deg,
            rgba(169,133,79,.18),
            transparent
        );

    z-index:-1;

}

.cta span{

    display:block;

    color:var(--gold-light);

    letter-spacing:4px;

    margin-bottom:20px;

}

.cta h2{

    max-width:800px;

    margin:0 auto 30px;

}

.cta p{

    color:rgba(255,255,255,.75);

    max-width:650px;

    margin:0 auto 45px;

}



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

footer{

    background:#121212;

    color:white;

    padding:100px 0;

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:60px;

}

footer h3{

    margin-bottom:20px;

}

footer h4{

    margin-bottom:20px;

    font-family:"Inter";

    color:var(--gold);

}

footer p{

    color:#B8B8B8;

}

footer a{

    display:block;

    color:#B8B8B8;

    margin-bottom:15px;

    transition:.3s;

}

footer a:hover{

    color:white;

}



/*==================================================
ANIMATIONS
==================================================*/

.reveal{

    opacity:0;

    transform:translateY(50px);

    transition:
        opacity .9s ease,
        transform .9s ease;

}

.reveal.active{

    opacity:1;

    transform:translateY(0);

}

.fade-left{

    opacity:0;

    transform:translateX(-60px);

    transition:1s;

}

.fade-left.active{

    opacity:1;

    transform:translateX(0);

}

.fade-right{

    opacity:0;

    transform:translateX(60px);

    transition:1s;

}

.fade-right.active{

    opacity:1;

    transform:translateX(0);

}



/*==================================================
SCROLLBAR
==================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#EEE8DF;

}

::-webkit-scrollbar-thumb{

    background:var(--gold);

    border-radius:100px;

}



/*==================================================
RESPONSIVE
==================================================*/

@media (max-width:1100px){

    .hero-grid,
    .split{

        grid-template-columns:1fr;

    }

    .floating-card{

        left:20px;
        right:20px;
        bottom:-40px;

        justify-content:space-around;
    }

    .cases-grid{

        grid-template-columns:1fr;

    }

    .numbers .container{

        grid-template-columns:1fr 1fr;

    }

    .footer-grid{

        grid-template-columns:1fr;

    }

}



@media (max-width:768px){

    nav{

        display:none;

    }

    .button-outline{

        display:none;

    }

    .hero{

        padding-top:140px;

        min-height:auto;
    }

    .hero-buttons{

        flex-direction:column;
    }

    .floating-card{

        position:relative;

        left:auto;
        right:auto;
        bottom:auto;

        margin-top:20px;

        flex-direction:column;

        gap:25px;
    }

    .split-image img{

        height:450px;
    }

    .hero-image img{

        height:500px;
    }

    .numbers .container{

        grid-template-columns:1fr;
    }

    .service{

        flex-direction:column;

        align-items:flex-start;

        gap:20px;
    }

    .testimonial{

        padding:40px;
    }

    .quote{

        padding:140px 0;
    }

    .cta{

        padding:160px 0;
    }

}



@media (max-width:480px){

    h1{

        font-size:3rem;
    }

    h2{

        font-size:2.2rem;
    }

    .hero{

        padding-top:120px;
    }

    .about,
    .services,
    .cases{

        padding:120px 0;
    }

}