:root {

    --black: #11110f;
    --dark: #181815;
    --cream: #e9e5dc;
    --white: #f5f3ee;
    --gray: #99978f;
    --line: rgba(255,255,255,.15);

    --serif: Georgia, "Times New Roman", serif;
    --sans: "DM Sans", sans-serif;

}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    background: var(--black);
    color: var(--white);
    font-family: var(--sans);
    font-weight: 400;
}


img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
textarea,
select {
    font-family: inherit;
}


/* ================= HEADER ================= */

.header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    height: 90px;

    padding: 0 5vw;

    display: flex;

    align-items: center;

    justify-content: space-between;

    z-index: 100;

    border-bottom: 1px solid rgba(255,255,255,.1);

    background: rgba(17,17,15,.45);

    backdrop-filter: blur(12px);

}


.logo {

    display: flex;

    flex-direction: column;

    line-height: 1;

}


.logo span {

    font-family: var(--sans);

    font-size: 20px;

    font-weight: 600;

    letter-spacing: .16em;

}


.logo small {

    margin-top: 6px;

    font-size: 8px;

    letter-spacing: .35em;

    opacity: .55;

}


.nav {

    display: flex;

    gap: 36px;

}


.nav a {

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: .12em;

    opacity: .75;

    transition: .3s;

}


.nav a:hover {

    opacity: 1;

}


.header-button {

    border: 1px solid rgba(255,255,255,.4);

    padding: 13px 22px;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: .12em;

}


.menu-button {

    display: none;

    border: none;

    background: transparent;

    color: white;

    font-size: 25px;

}


/* ================= HERO ================= */

.hero {

    min-height: 100vh;

    position: relative;

    display: flex;

    align-items: center;

    overflow: hidden;

}


.hero-background {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.75),
            rgba(0,0,0,.25)
        ),
        url("images/hero.jpg")
        center / cover;

    transform: scale(1.03);

}


.hero-content {

    position: relative;

    z-index: 2;

    width: min(1100px, 90%);

    margin: auto;

}


.eyebrow,
.section-label {

    font-size: 10px;

    letter-spacing: .3em;

    text-transform: uppercase;

    opacity: .65;

}


.hero h1 {

    margin-top: 25px;

    font-family: var(--serif);

    font-size: clamp(65px, 9vw, 140px);

    line-height: .86;

    font-weight: 400;

    letter-spacing: -.045em;

}


.hero h1 em {

    font-style: italic;

}


.hero-description {

    max-width: 420px;

    margin-top: 35px;

    font-size: 16px;

    line-height: 1.7;

    color: rgba(255,255,255,.75);

}


.hero-actions {

    display: flex;

    align-items: center;

    gap: 30px;

    margin-top: 40px;

}


.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 16px 28px;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: .16em;

    transition: .3s;

}


.button-light {

    background: var(--white);

    color: var(--black);

}


.button-light:hover {

    transform: translateY(-3px);

}


.text-button {

    font-size: 12px;

    letter-spacing: .12em;

}


.hero-bottom {

    position: absolute;

    bottom: 35px;

    left: 5vw;

    right: 5vw;

    display: flex;

    align-items: center;

    gap: 20px;

    font-size: 9px;

    letter-spacing: .2em;

    opacity: .6;

}


.hero-line {

    height: 1px;

    width: 100px;

    background: white;

}


/* ================= GENERAL ================= */

.section {

    padding: 140px 7vw;

}


.intro {

    background: var(--cream);

    color: var(--black);

}


.intro-label {

    display: flex;

    justify-content: space-between;

    font-size: 10px;

    letter-spacing: .25em;

    opacity: .5;

}


.intro-content {

    display: grid;

    grid-template-columns: 1.3fr .7fr;

    gap: 10vw;

    margin-top: 100px;

}


.intro h2 {

    font-family: var(--serif);

    font-size: clamp(50px, 6vw, 90px);

    line-height: .95;

    font-weight: 400;

}


.intro h2 strong {

    font-style: italic;

    font-weight: 400;

}


.intro-text {

    padding-top: 15px;

}


.intro-text p {

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 25px;

    opacity: .7;

}


.arrow-link {

    display: inline-block;

    margin-top: 20px;

    border-bottom: 1px solid;

    padding-bottom: 8px;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: .15em;

}


/* ================= ABOUT ================= */

.about {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 8vw;

    align-items: center;

}


.about-image {

    height: 700px;

    position: relative;

}


.image-caption {

    position: absolute;

    bottom: 20px;

    left: 20px;

    right: 20px;

    display: flex;

    justify-content: space-between;

    font-size: 9px;

    letter-spacing: .2em;

}


.about-content {

    max-width: 550px;

}


.about-content h2 {

    margin: 30px 0;

    font-family: var(--serif);

    font-size: clamp(45px, 5vw, 75px);

    line-height: .95;

    font-weight: 400;

}


.about-content > p:not(.section-label) {

    color: var(--gray);

    line-height: 1.8;

    margin-bottom: 20px;

}


.about-stats {

    display: flex;

    gap: 50px;

    margin-top: 50px;

    padding-top: 25px;

    border-top: 1px solid var(--line);

}


.about-stats div {

    display: flex;

    flex-direction: column;

    gap: 8px;

}


.about-stats strong {

    font-size: 22px;

    font-weight: 400;

}


.about-stats span {

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: .15em;

    color: var(--gray);

}


/* ================= SERVICES ================= */

.services {

    background: #e4e0d7;

    color: var(--black);

}


.section-heading {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10vw;

    margin-bottom: 90px;

}


.section-heading h2,
.projects-header h2 {

    margin-top: 25px;

    font-family: var(--serif);

    font-weight: 400;

    font-size: clamp(50px, 6vw, 90px);

    line-height: .9;

}


.section-heading > p {

    align-self: end;

    max-width: 420px;

    line-height: 1.7;

    opacity: .65;

}


.services-grid {

    display: grid;

    grid-template-columns: repeat(4,1fr);

    border-top: 1px solid rgba(0,0,0,.2);

}


.service {

    min-height: 370px;

    padding: 35px 30px;

    border-right: 1px solid rgba(0,0,0,.2);

    display: flex;

    flex-direction: column;

}


.service:first-child {

    border-left: 1px solid rgba(0,0,0,.2);

}


.service-number {

    font-size: 10px;

    opacity: .5;

}


.service h3 {

    margin-top: auto;

    font-family: var(--serif);

    font-size: 35px;

    font-weight: 400;

}


.service p {

    margin-top: 20px;

    line-height: 1.7;

    font-size: 14px;

    opacity: .65;

}


.service a {

    margin-top: 30px;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: .15em;

}


/* ================= PROJECTS ================= */

.projects {

    background: var(--dark);

}


.projects-header {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    margin-bottom: 80px;

}


.projects-counter {

    font-family: var(--serif);

    font-size: 25px;

}


.projects-grid {

    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 70px 30px;

}


.project-image {

    height: 550px;

    position: relative;

    overflow: hidden;

}


.project-image img {

    transition: transform .8s cubic-bezier(.2,.7,.2,1);

}


.project:hover img {

    transform: scale(1.05);

}


.project-image > span {

    position: absolute;

    top: 20px;

    right: 20px;

    font-size: 10px;

    letter-spacing: .15em;

}


.project-info {

    padding-top: 20px;

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

}


.project-info h3 {

    font-family: var(--serif);

    font-size: 28px;

    font-weight: 400;

}


.project-info p {

    margin-top: 7px;

    font-size: 10px;

    letter-spacing: .15em;

    text-transform: uppercase;

    color: var(--gray);

}


/* ================= LOCATIONS ================= */

.locations {

    display: grid;

    grid-template-columns: .8fr 1.2fr;

    gap: 10vw;

    background: var(--cream);

    color: var(--black);

}


.locations h2 {

    margin-top: 30px;

    font-family: var(--serif);

    font-size: clamp(50px,5vw,75px);

    line-height: .95;

    font-weight: 400;

}


.locations-list {

    border-top: 1px solid rgba(0,0,0,.2);

}


.location {

    min-height: 150px;

    display: grid;

    grid-template-columns: 50px 1fr 30px;

    gap: 25px;

    align-items: center;

    border-bottom: 1px solid rgba(0,0,0,.2);

}


.location > span {

    font-size: 10px;

    opacity: .5;

}


.location h3 {

    font-family: var(--serif);

    font-size: 30px;

    font-weight: 400;

}


.location p {

    margin-top: 8px;

    font-size: 13px;

    opacity: .6;

}


/* ================= CTA ================= */

.cta {

    min-height: 80vh;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    overflow: hidden;

}


.cta-background {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            rgba(0,0,0,.5),
            rgba(0,0,0,.6)
        ),
        url("images/proyecto-4.jpg")
        center / cover;

}


.cta-content {

    position: relative;

    z-index: 2;

}


.cta-content > p {

    font-size: 10px;

    letter-spacing: .3em;

    margin-bottom: 30px;

}


.cta h2 {

    font-family: var(--serif);

    font-size: clamp(70px,10vw,150px);

    line-height: .8;

    font-weight: 400;

    margin-bottom: 60px;

}


/* ================= CONTACT ================= */

.contact {

    display: grid;

    grid-template-columns: .8fr 1.2fr;

    gap: 10vw;

    background: var(--cream);

    color: var(--black);

}


.contact-intro h2 {

    margin: 30px 0;

    font-family: var(--serif);

    font-size: clamp(50px,5vw,75px);

    line-height: .9;

    font-weight: 400;

}


.contact-intro > p:last-child {

    max-width: 380px;

    line-height: 1.7;

    opacity: .6;

}


.contact-form {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 35px 25px;

}


.form-group {

    display: flex;

    flex-direction: column;

    gap: 12px;

}


.form-group.full {

    grid-column: 1 / -1;

}


.form-group label {

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: .2em;

    opacity: .6;

}


.form-group input,
.form-group textarea,
.form-group select {

    border: none;

    border-bottom: 1px solid rgba(0,0,0,.25);

    background: transparent;

    padding: 12px 0;

    font-size: 15px;

    outline: none;

    color: var(--black);

}


.form-group textarea {

    resize: vertical;

}


.submit-button {

    border: none;

    background: var(--black);

    color: white;

    padding: 18px 30px;

    cursor: pointer;

    text-transform: uppercase;

    letter-spacing: .15em;

    font-size: 10px;

}


/* ================= FOOTER ================= */

.footer {

    padding: 80px 7vw 30px;

    background: var(--black);

}


.footer-top {

    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 80px;

}


.footer-brand p {

    margin-top: 25px;

    max-width: 280px;

    color: var(--gray);

    line-height: 1.7;

    font-size: 13px;

}


.footer-column > span {

    font-size: 9px;

    letter-spacing: .2em;

    opacity: .5;

}


.footer-column p {

    margin-top: 20px;

    line-height: 2;

    font-size: 12px;

    color: var(--gray);

}


.footer-bottom {

    padding-top: 25px;

    border-top: 1px solid var(--line);

    display: flex;

    justify-content: space-between;

    font-size: 9px;

    letter-spacing: .1em;

    color: var(--gray);

}


/* ================= MOBILE ================= */

@media (max-width: 900px) {

    .header {

        height: 75px;

    }


    .nav,
    .header-button {

        display: none;

    }


    .menu-button {

        display: block;

    }


    .nav.active {

        display: flex;

        position: absolute;

        top: 75px;

        left: 0;

        right: 0;

        background: var(--black);

        padding: 30px;

        flex-direction: column;

        gap: 25px;

    }


    .hero h1 {

        font-size: 65px;

    }


    .intro-content,
    .about,
    .locations,
    .contact {

        grid-template-columns: 1fr;

    }


    .intro-content {

        margin-top: 60px;

    }


    .about-image {

        height: 500px;

    }


    .services-grid {

        grid-template-columns: 1fr 1fr;

    }


    .service {

        min-height: 320px;

    }


    .projects-grid {

        grid-template-columns: 1fr;

    }


    .project-image {

        height: 450px;

    }


    .section-heading {

        grid-template-columns: 1fr;

        gap: 30px;

    }


    .locations-list {

        margin-top: 30px;

    }


    .contact-form {

        margin-top: 30px;

    }


    .footer-top {

        grid-template-columns: 1fr 1fr;

    }

}


@media (max-width: 600px) {

    .section {

        padding: 90px 6vw;

    }


    .hero-content {

        width: 88%;

    }


    .hero h1 {

        font-size: 55px;

    }


    .hero-description {

        font-size: 14px;

    }


    .services-grid {

        grid-template-columns: 1fr;

    }


    .service {

        border-left: 1px solid rgba(0,0,0,.2);

    }


    .contact-form {

        grid-template-columns: 1fr;

    }


    .form-group.full {

        grid-column: auto;

    }


    .footer-top {

        grid-template-columns: 1fr;

    }


    .footer-bottom {

        flex-direction: column;

        gap: 10px;

    }

}


/* ================= WHATSAPP ================= */

.whatsapp-float {

    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 60px;

    height: 60px;

    background: #25D366;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 9999;

    text-decoration: none;

    box-shadow: 0 6px 20px rgba(0,0,0,.25);

    animation: whatsappFloat 3s ease-in-out infinite;

}


.whatsapp-icon {
    width: 31px;
    height: 31px;
    fill: white;
}


@keyframes whatsappFloat {

    0%,
    100% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-8px);

    }

}


.whatsapp-float:hover {

    transform: scale(1.08);

    animation-play-state: paused;

}


@media (max-width: 600px) {

    .whatsapp-float {

        width: 55px;

        height: 55px;

        right: 18px;

        bottom: 18px;

    }


    .whatsapp-icon {

        font-size: 25px;

    }

}
/* =========================
   CÓMO TRABAJAMOS
========================= */

.process {
    background: var(--dark);
    color: var(--white);
}

.process-header {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 90px;
}

.process-header h2 {
    margin: 20px 0 0;
    font-family: var(--serif);
    font-size: clamp(55px, 6vw, 90px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.process-header > p {
    max-width: 420px;
    margin: 0 0 8px;
    color: var(--gray);
    font-size: 16px;
    line-height: 1.7;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid var(--line);
}

.process-step {
    min-height: 270px;
    padding: 32px 28px 32px 0;
    margin-right: 28px;
    border-right: 1px solid var(--line);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.process-step:last-child {
    border-right: none;
    margin-right: 0;
}

.process-step > span {
    color: var(--gray);
    font-size: 13px;
    letter-spacing: 0.08em;
}

.process-step h3 {
    margin: 0 0 14px;
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 400;
}

.process-step p {
    max-width: 220px;
    margin: 0;
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .process-header {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-bottom: 60px;
    }

    .process-header > p {
        max-width: 600px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-step {
        min-height: 240px;
        margin-right: 0;
        padding-right: 30px;
    }

    .process-step:nth-child(2) {
        border-right: none;
    }

    .process-step:nth-child(3),
    .process-step:nth-child(4),
    .process-step:nth-child(5) {
        border-top: 1px solid var(--line);
    }

}


@media (max-width: 600px) {

    .process-header {
        margin-bottom: 50px;
    }

    .process-header h2 {
        font-size: 52px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-step,
    .process-step:nth-child(2),
    .process-step:nth-child(3),
    .process-step:nth-child(4),
    .process-step:nth-child(5) {
        min-height: auto;
        padding: 28px 0;
        margin: 0;
        border-right: none;
        border-top: 1px solid var(--line);
    }

    .process-step:first-child {
        border-top: none;
    }

    .process-step p {
        max-width: 100%;
    }

}
