/* ==========================================================
   01. VARIABLES
   ========================================================== */

:root {

    --paper: #f7f6f2;

    --ink: #111315;

    --soft: #656762;

    --accent: #2384bd;

    --line: rgba(17, 19, 21, .14);

    --maxw: 1480px;

    --gutter: clamp(24px, 5vw, 82px);

}


/* ==========================================================
   02. RESET
   ========================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;

    overflow-x: hidden;
}

body {

    margin: 0;

    background: var(--paper);

    color: var(--ink);

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

    -webkit-font-smoothing: antialiased;

    overflow-x: hidden;

}

a {

    color: inherit;

    text-decoration: none;

}

img {

    display: block;

    max-width: 100%;

}


/* ==========================================================
   03. CONTENEDOR
   ========================================================== */

.wrap {

    width: min(100%, var(--maxw));

    margin: 0 auto;

    padding-left: var(--gutter);
    padding-right: var(--gutter);

}


/* ==========================================================
   04. HEADER
   ========================================================== */

#siteHeader {

    position: fixed;

    top: 0;
    left: 0;

    z-index: 100;

    width: 100%;

    background: rgba(247, 246, 242, .96);

    border-bottom: 1px solid rgba(17, 19, 21, .10);

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

}

.header-wrap {

    height: 72px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


/* ==========================================================
   05. LOGO
   ========================================================== */

.brand {

    display: flex;

    align-items: center;

}

.brand img {

    width: auto;

    height: 38px;

}


/* ==========================================================
   06. NAVEGACIÓN
   ========================================================== */

.primary-nav {

    display: flex;

    align-items: center;

    gap: 36px;

}

.primary-nav ul {

    display: flex;

    align-items: center;

    gap: 32px;

    margin: 0;

    padding: 0;

    list-style: none;

}

.primary-nav a {

    position: relative;

    padding: 7px 0;

    font-size: 13px;

    font-weight: 400;

}

.primary-nav a::after {

    content: '';

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 1px;

    background: var(--accent);

    transition: width .25s ease;

}

.primary-nav a:hover::after,
.primary-nav a.active::after {

    width: 100%;

}

.tagline {

    color: #73756f;

    font-family: 'IBM Plex Mono', monospace;

    font-size: 9px;

    letter-spacing: .14em;

    text-transform: uppercase;

    white-space: nowrap;

}


/* =========================================================
   MENÚ MÓVIL
   ========================================================= */

.menu-toggle {
    display: none;
    width: 30px;
    padding: 0;
    border: 0;
    background: transparent;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    margin: 6px auto;
    background: var(--ink);
}

.mobile-panel {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    padding: 25px var(--gutter);
    background: var(--paper);
}

.mobile-panel.open {
    display: block;
}

.mobile-panel ul {
    margin: 80px 0 0;
    padding: 0;
    list-style: none;
}

.mobile-panel li {
    border-bottom: 1px solid var(--line);
}

.mobile-panel a {
    display: block;
    padding: 20px 0;
    font-family: 'Archivo', sans-serif;
    font-size: 2rem;
    font-weight: 500;
}

.mobile-close {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 13px;
}


/* ==========================================================
   08. HERO CONTACTO
   ========================================================== */

.contact-hero {

    position: relative;

    min-height: calc(100svh - 72px);

    margin-top: 72px;

    display: flex;

    align-items: center;

    overflow: hidden;

    color: #fff;

    background-color: #25292c;

    /*
       IMAGEN PRINCIPAL

       Puedes cambiar esta imagen por cualquier otra
       dentro de assets/proyectos/
    */

    background-image:

        linear-gradient(
            90deg,
            rgba(7, 9, 11, .78) 0%,
            rgba(7, 9, 11, .58) 43%,
            rgba(7, 9, 11, .28) 100%
        ),

        url('assets/proyectos/4 Siglos Torre A.png');

    background-size: cover;

    background-position: center;

}


/* ==========================================================
   09. CONTENIDO CONTACTO
   ========================================================== */

.contact-wrap {

    position: relative;

    z-index: 3;

}

.contact-content {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: clamp(45px, 5vw, 75px);

}


/* ==========================================================
   10. ETIQUETA
   ========================================================== */

.contact-label {

    display: block;

    margin-bottom: 25px;

    color: #7fc1e8;

    font-family: 'IBM Plex Mono', monospace;

    font-size: 10px;

    letter-spacing: .18em;

    text-transform: uppercase;

}


/* ==========================================================
   11. TÍTULO
   ========================================================== */

.contact-copy h1 {

    max-width: 520px;

    margin: 0;

    color: #fff;

    font-family: 'Archivo', sans-serif;

    font-size: clamp(2.8rem, 4.5vw, 5rem);

    font-weight: 600;

    line-height: .94;

    letter-spacing: -.055em;

}


/* ==========================================================
   12. DESCRIPCIÓN
   ========================================================== */

.contact-copy p {

    max-width: 430px;

    margin: 22px 0 0;

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

    font-size: 14px;

    line-height: 1.65;

}


/* ==========================================================
   13. BOTÓN
   ========================================================== */

.contact-button {

    display: inline-flex;

    align-items: center;

    gap: 18px;

    flex-shrink: 0;

    padding: 17px 26px;

    background: #fff;

    color: var(--ink);

    font-size: 13px;

    font-weight: 500;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;

}

.contact-button:hover {

    background: var(--accent);

    color: #fff;

    transform: translateY(-2px);

}

.contact-button .arrow {

    font-size: 17px;

    line-height: 1;

}


/* ==========================================================
   14. ESQUINAS TÉCNICAS
   ========================================================== */

.frame-corners span {

    position: absolute;

    width: 22px;

    height: 22px;

    z-index: 4;

    border-color: rgba(255,255,255,.62);

}

.frame-corners .tl {

    top: 26px;
    left: var(--gutter);

    border-top: 1px solid;
    border-left: 1px solid;

}

.frame-corners .tr {

    top: 26px;
    right: var(--gutter);

    border-top: 1px solid;
    border-right: 1px solid;

}

.frame-corners .bl {

    bottom: 26px;
    left: var(--gutter);

    border-bottom: 1px solid;
    border-left: 1px solid;

}

.frame-corners .br {

    right: var(--gutter);
    bottom: 26px;

    border-right: 1px solid;
    border-bottom: 1px solid;

}


/* ==========================================================
   15. FOOTER
   ========================================================== */

footer {

    background: #0d1215;

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

}

.footer-minimal {

    width: min(100%, var(--maxw));

    min-height: 88px;

    margin: 0 auto;

    padding: 0 var(--gutter);

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    font-size: 12px;

    white-space: nowrap;

}

.footer-logo {

    display: flex;

    align-items: center;

}

.footer-logo img {

    width: auto;

    height: 29px;

}

.footer-minimal a {

    transition: color .25s ease;

}

.footer-minimal a:hover {

    color: #fff;

}

.copyright {

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

}


/* ==========================================================
   16. TABLET
   ========================================================== */

@media (max-width: 1000px) {

    .tagline {

        display: none;

    }

    .contact-content {

        justify-content: flex-start;

    }

}


/* ==========================================================
   17. MÓVIL
   ========================================================== */

@media (max-width: 750px) {

    .header-wrap {

        height: 68px;

    }

    .brand img {

        height: 34px;

    }

    .primary-nav {

        display: none;

    }

    .menu-toggle {

        display: block;

    }


    .contact-hero {

        min-height: calc(100svh - 68px);

        margin-top: 68px;

        background-position: 62% center;

    }

    .contact-content {

        flex-direction: column;

        align-items: flex-start;

        justify-content: center;

        gap: 35px;

    }

    .contact-copy h1 {

        max-width: 360px;

        font-size: clamp(3rem, 14vw, 5rem);

    }

    .contact-copy p {

        max-width: 350px;

        font-size: 13px;

    }

    .contact-button {

        padding: 15px 23px;

    }


    /* FOOTER */

    .footer-minimal {

        min-height: auto;

        padding-top: 30px;

        padding-bottom: 30px;

        flex-wrap: wrap;

        justify-content: flex-start;

        gap: 12px 24px;

        white-space: normal;

    }

    .footer-logo {

        width: 100%;

        margin-bottom: 5px;

    }

}


/* ==========================================================
   18. MÓVIL PEQUEÑO
   ========================================================== */

@media (max-width: 430px) {

    .contact-copy h1 {

        font-size: 3.25rem;

    }

    .contact-copy p {

        max-width: 300px;

    }

}