/* ==========================================================
   RESET
========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Montserrat',sans-serif;
    background:#FAF8F5;
    color:#3A3A3A;
    overflow-x:hidden;

}

img{

    display:block;
    width:100%;

}

a{

    text-decoration:none;
    color:inherit;

}

ul{

    list-style:none;

}

/* ==========================================================
   VARIABLES
========================================================== */

:root{

    --primary:#2E2E2E;
    --secondary:#8C7455;
    --accent:#D8C5A5;

    --background:#FAF8F5;
    --section:#FFFFFF;

    --text:#444444;
    --light:#777777;

    --border:#E7E1D8;

    --container:1280px;

}

/* ==========================================================
   CONTENEDOR
========================================================== */

.container{

    width:90%;
    max-width:var(--container);
    margin:auto;

}

/* ==========================================================
   BOTONES
========================================================== */

.btn{

    display:inline-block;

    padding:16px 42px;

    border:2px solid var(--secondary);

    color:var(--secondary);

    font-weight:600;

    letter-spacing:1px;

    transition:.35s;

    background:white;

}

.btn:hover{

    background:var(--secondary);

    color:white;

}

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:999;

    transition:.35s;

    background:rgba(255,255,255,.94);

    backdrop-filter:blur(10px);

    border-bottom:1px solid transparent;

}

header.scrolled{

    border-color:var(--border);

    box-shadow:0 5px 25px rgba(0,0,0,.05);

}

header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:90px;

}

.logo{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo img{

    width: 100px;

}

.logo span{

    font-size:1.3rem;

    font-weight:700;

    letter-spacing:2px;

    color:#202020;

}

nav ul{

    display:flex;

    gap:45px;

}

nav a{

    font-weight:600;

    color:#404040;

    position:relative;

}

nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--primary);

    transition:.35s;

}

nav a:hover::after{

    width:100%;

}

.menu-toggle{

    display:none;

}


/* ==========================================================
   HERO
========================================================== */

.hero{

    position:relative;

    height:100vh;

    background:url("../assets/img/fondo.jpg") center center/cover;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

}

.overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.35);

}

.hero-content{

    position:relative;

    z-index:2;

    width:90%;

    max-width:900px;

    color:white;

}

.hero-content span{

    display:inline-block;

    letter-spacing:5px;

    margin-bottom:25px;

    font-weight:600;

    font-size:.9rem;

}

.hero h1{

    font-family:'Cormorant Garamond',serif;

    font-size:6rem;

    font-weight:600;

    margin-bottom:25px;

}

.hero p{

    font-size:1.2rem;

    line-height:2;

    margin-bottom:45px;

}

/* ==========================================================
   HISTORIA
========================================================== */

.history{

    padding:140px 0;

    background:#FFFFFF;

}

.history .container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:100px;

    align-items:center;

}

.history-image{

    overflow:hidden;

    border-radius:8px;

}

.history-image img{

    transition:.6s;

}

.history-image:hover img{

    transform:scale(1.06);

}

.history-content{

    max-width:560px;

}

.history-content span{

    display:inline-block;

    color:var(--secondary);

    font-size:.9rem;

    letter-spacing:4px;

    font-weight:600;

    margin-bottom:20px;

}

.history-content h2{

    font-family:'Cormorant Garamond',serif;

    font-size:3.7rem;

    font-weight:600;

    color:var(--primary);

    line-height:1.15;

    margin-bottom:35px;

}

.history-content p{

    color:var(--light);

    font-size:1.05rem;

    line-height:2;

    margin-bottom:25px;

}

/* ==========================================================
   FILOSOFÍA
========================================================== */

.values{

    padding:140px 0;

    background:var(--background);

}

.section-title{

    max-width:850px;

    margin:auto;

    text-align:center;

    margin-bottom:90px;

}

.section-title span{

    display:inline-block;

    color:var(--secondary);

    letter-spacing:5px;

    font-weight:600;

    margin-bottom:20px;

}

.section-title h2{

    font-family:'Cormorant Garamond',serif;

    font-size:3.8rem;

    color:var(--primary);

    margin-bottom:20px;

}

.section-title p{

    color:var(--light);

    line-height:2;

}

.values-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:45px;

}

.value-card{

    background:white;

    padding:60px 45px;

    border:1px solid var(--border);

    transition:.35s;

}

.value-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 50px rgba(0,0,0,.08);

}

.value-card h3{

    font-family:'Cormorant Garamond',serif;

    font-size:2rem;

    color:var(--primary);

    margin-bottom:20px;

}

.value-card p{

    color:var(--light);

    line-height:2;

}

/* ==========================================================
   PROYECTOS
========================================================== */

.projects{

    padding:160px 0;

    background:#FFFFFF;

}

.project{

    display:grid;

    grid-template-columns:55% 45%;

    align-items:center;

    gap:90px;

    margin-bottom:160px;

}

.project.reverse .project-image{

    order:2;

}

.project.reverse .project-content{

    order:1;

}

.project-image{

    overflow:hidden;

    border-radius:12px;

    position:relative;

}

.project-image img{

    transition:.7s;

}

.project:hover .project-image img{

    transform:scale(1.08);

}

.project-content{

    max-width:520px;

}

.project-content span{

    display:inline-block;

    color:var(--secondary);

    letter-spacing:4px;

    font-weight:600;

    margin-bottom:20px;

    text-transform:uppercase;

}

.project-content h3{

    font-family:'Cormorant Garamond',serif;

    font-size:3rem;

    font-weight:600;

    margin-bottom:30px;

    color:var(--primary);

}

.project-content p{

    color:var(--light);

    line-height:2;

    margin-bottom:40px;

    font-size:1.05rem;

}

.project-content .btn{

    background:transparent;

    color:var(--secondary);

    border:2px solid var(--secondary);

}

.project-content .btn:hover{

    background:var(--secondary);

    color:white;

}

.project:last-child{

    margin-bottom:0;

}

/* ==========================================================
   CTA
========================================================== */

.cta{

    padding:25px 0;

    background:linear-gradient(
        rgba(32,32,32,.65),
        rgba(32,32,32,.65)
    ),
    url("../assets/img/cta.jpg") center center/cover;

    text-align:center;

    color:white;

}

.cta .container{

    max-width:850px;

}

.cta h2{

    font-family:'Cormorant Garamond',serif;

    font-size:4.5rem;

    font-weight:600;

    line-height:1.2;

    margin-bottom:30px;

}

.cta p{

    font-size:1.15rem;

    line-height:2;

    margin-bottom:45px;

    color:rgba(255,255,255,.9);

}

.cta .btn{

    background:white;

    color:var(--primary);

    border:none;

    padding:18px 45px;

}

.cta .btn:hover{

    background:var(--secondary);

    color:white;

}

/* ==========================================================
   TRANSICIONES
========================================================== */

.hero,
.history,
.values,
.projects,
.cta{

    transition:.4s;

}

img{

    transition:.6s;

}

::selection{

    background:var(--secondary);

    color:white;

}

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#F3F0EB;

}

::-webkit-scrollbar-thumb{

    background:var(--secondary);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#7A654A;

}

.section-title h2::after{

    content:"";

    display:block;

    width:90px;

    height:2px;

    background:var(--secondary);

    margin:25px auto 0;

}

.history-content h2::after{

    content:"";

    display:block;

    width:80px;

    height:2px;

    background:var(--secondary);

    margin-top:25px;

}

/*==========================================================
FOOTER
==========================================================*/

footer{

    background:#1E1E1E;

    color:white;

    padding:80px 0 40px;

}

footer .container{

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:25px;

}

.footer-logo{

    display:flex;

    align-items:center;

    gap:15px;

}

.footer-logo img{

    width:45px;

}

.footer-logo span{

    font-size:1.4rem;

    font-weight:700;

    letter-spacing:3px;

}

footer p{

    color:#BDBDBD;

    text-align:center;

    max-width:700px;

    line-height:1.9;

}

footer nav{

    display:flex;

    gap:35px;

}

footer nav a{

    transition:.3s;

}

footer nav a:hover{

    color:var(--primary);

}

footer small{

    color:#8A8A8A;

}