
:root {

    --primary: #0c513f;
    --primary-dark: #07372b;

    --gold: #c49a54;
    --gold-dark: #a77e3e;

    --dark: #18201d;
    --text: #555e58;
    --muted: #89918c;

    --background: #f5f6f3;
    --white: #ffffff;

    --border: #e2e5e1;

    --container: 1200px;

}


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

* {
    margin: 0;
    padding: 0;

    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    min-height: 100vh;

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    color: var(--text);

    background: var(--white);

    line-height: 1.6;

}


img {
    max-width: 100%;

    display: block;
}


a {
    color: inherit;

    text-decoration: none;
}


button,
input,
textarea,
select {
    font-family: inherit;
}


/* =====================================================
   CONTAINER
   ===================================================== */

.header-container,
.footer-container {

    width: 100%;

    max-width: var(--container);

    margin: auto;

    padding-left: 25px;
    padding-right: 25px;

}


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

.site-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(255, 255, 255, .97);

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

    backdrop-filter:
        blur(10px);

}


.header-container {

    min-height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


/* =====================================================
   LOGO
   ===================================================== */

.site-logo,
.footer-logo {

    display: flex;

    align-items: center;

    gap: 10px;

}


.logo-mark {

    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    flex-shrink: 0;

    color: white;

    background: var(--primary);

    border-radius: 3px;

    font-family:
        Georgia,
        serif;

    font-size: 24px;

}


.logo-text strong {

    display: block;

    color: var(--dark);

    font-family:
        Georgia,
        serif;

    font-size: 18px;

    letter-spacing: 2px;

    line-height: 1;

}


.logo-text small {

    display: block;

    margin-top: 4px;

    color: var(--gold);

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 1.2px;

    line-height: 1;

}


/* =====================================================
   DESKTOP NAV
   ===================================================== */

.main-nav {

    display: flex;

    align-items: center;

    gap: 32px;

}


.main-nav a {

    position: relative;

    padding: 28px 0;

    color: #4d5651;

    font-size: 13px;

    font-weight: 600;

}


.main-nav a::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: 20px;

    height: 2px;

    transform:
        scaleX(0);

    background: var(--gold);

    transition:
        transform .2s ease;

}


.main-nav a:hover {

    color: var(--primary);

}


.main-nav a:hover::after {

    transform:
        scaleX(1);

}


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

.header-actions {

    display: flex;

    align-items: center;

    gap: 18px;

}


.header-phone {

    color: var(--primary);

    font-size: 12px;

    font-weight: 700;

}


.header-button {

    padding: 11px 18px;

    color: white;

    background: var(--primary);

    border-radius: 3px;

    font-size: 11px;

    font-weight: 700;

    transition:
        background .2s ease;

}


.header-button:hover {

    background:
        var(--primary-dark);

}


/* =====================================================
   MOBILE MENU
   ===================================================== */

.mobile-menu-button {

    width: 40px;
    height: 40px;

    display: none;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 5px;

    border: 0;

    background: transparent;

    cursor: pointer;

}


.mobile-menu-button span {

    width: 22px;
    height: 2px;

    background: var(--dark);

    transition:
        .2s ease;

}


.mobile-menu-button.open span:nth-child(1) {

    transform:
        translateY(7px)
        rotate(45deg);

}


.mobile-menu-button.open span:nth-child(2) {

    opacity: 0;

}


.mobile-menu-button.open span:nth-child(3) {

    transform:
        translateY(-7px)
        rotate(-45deg);

}


.mobile-nav {

    display: none;

}


/* =====================================================
   MESSAGES
   ===================================================== */

.messages-container {

    position: fixed;

    top: 95px;

    right: 25px;

    z-index: 2000;

    width: min(
        400px,
        calc(100% - 40px)
    );

}


.message {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding: 14px 16px;

    margin-bottom: 10px;

    color: white;

    background: var(--primary);

    border-radius: 5px;

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

    font-size: 12px;

}


.message-error {

    background: #9c3b3b;

}


.message-warning {

    background: #9a762e;

}


.message-close {

    color: white;

    background: transparent;

    border: 0;

    cursor: pointer;

    font-size: 20px;

}


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

.site-footer {

    margin-top: 80px;

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

    background:
        var(--primary-dark);

}


.footer-container {

    display: grid;

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

    gap: 60px;

    padding-top: 65px;

    padding-bottom: 55px;

}


.footer-logo .logo-mark {

    color: white;

    background: var(--gold);

}


.footer-logo .logo-text strong {

    color: white;

}


.footer-company > p {

    max-width: 330px;

    margin-top: 20px;

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

    font-size: 12px;

    line-height: 1.8;

}


.footer-socials {

    display: flex;

    gap: 15px;

    margin-top: 25px;

}


.footer-socials a {

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

    font-size: 10px;

}


.footer-socials a:hover {

    color: var(--gold);

}


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

.footer-column {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 9px;

}


.footer-column h3 {

    margin-bottom: 10px;

    color: white;

    font-family:
        Georgia,
        serif;

    font-size: 16px;

}


.footer-column a,
.footer-column p {

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

    font-size: 11px;

}


.footer-column a:hover {

    color: var(--gold);

}


.footer-whatsapp {

    margin-top: 8px;

    padding: 9px 13px;

    color: white !important;

    background: var(--gold);

    border-radius: 3px;

}


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

.footer-bottom {

    width: 100%;

    max-width: var(--container);

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin: auto;

    padding:
        20px 25px;

    border-top:
        1px solid
        rgba(255,255,255,.1);

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

    font-size: 10px;

}


.footer-bottom > div:last-child {

    display: flex;

    gap: 20px;

}


.footer-bottom a:hover {

    color: white;

}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 900px) {


    .main-nav,
    .header-actions {

        display: none;

    }


    .mobile-menu-button {

        display: flex;

    }


    .mobile-nav {

        display: none;

        flex-direction: column;

        padding:
            10px 25px 25px;

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

        background: white;

    }


    .mobile-nav.open {

        display: flex;

    }


    .mobile-nav a {

        padding: 14px 0;

        color: var(--dark);

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

        font-size: 13px;

        font-weight: 600;

    }


    .mobile-nav-button {

        margin-top: 10px;

        padding: 13px !important;

        color: white !important;

        background: var(--primary);

        border: 0 !important;

        text-align: center;

    }


    .footer-container {

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

        gap: 40px;

    }

}


@media (max-width: 600px) {


    .header-container {

        min-height: 70px;

        padding-left: 15px;

        padding-right: 15px;

    }


    .logo-mark {

        width: 37px;
        height: 37px;

        font-size: 21px;

    }


    .logo-text strong {

        font-size: 15px;

    }


    .footer-container {

        grid-template-columns: 1fr;

        gap: 35px;

        padding-top: 45px;

    }


    .footer-bottom {

        align-items: flex-start;

        flex-direction: column;

    }


    .footer-bottom > div:last-child {

        flex-direction: column;

        gap: 8px;

    }


    .messages-container {

        top: 80px;

        right: 15px;

        width:
            calc(100% - 30px);

    }

}