/* =========================================================
   01. VARIABLES
========================================================= */

:root {
    --gt-dark: #182028;
    --gt-green: #6fa945;
    --gt-white: #ffffff;
    --gt-soft: #f6f7f4;
    --gt-line: rgba(24, 32, 40, 0.12);
    --gt-shadow: 0 20px 60px rgba(24, 32, 40, 0.14);

    --font-heading: "Oswald", sans-serif;
    --font-ui: "Manrope", Arial, sans-serif;
}


/* =========================================================
   02. RESET & BASE
========================================================= */

html {
    scroll-behavior: auto;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: var(--font-ui);
    font-weight: 500;
    color: var(--gt-dark);
    background: var(--gt-white);
}

h1,
h2,
h3,
.home-section-title,
.hero-kicker {
    font-family: var(--font-heading);
}

body.gt-mobile-open,
body.gt-modal-open {
    overflow: hidden;
}


/* =========================================================
   03. HEADER LAYOUT
========================================================= */

.gt-header {
    position: fixed !important;
    inset: 0 0 auto 0 !important;
    z-index: 999999 !important;
    width: 100% !important;
    height: 76px !important;
    background: var(--gt-white) !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.gt-header-inner {
    height: 76px;
    padding: 0 58px;
    display: grid;
    grid-template-columns: 260px 1fr 180px;
    align-items: center;
}

.gt-page {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    padding-top: 76px;
}


/* =========================================================
   04. LOGO
========================================================= */

.gt-logo {
    display: flex;
    align-items: center;
    width: fit-content;
    text-decoration: none;
}

.gt-logo img {
    width: 225px;
    max-height: 52px;
    object-fit: contain;
    display: block;
}


/* =========================================================
   05. DESKTOP NAVIGATION
========================================================= */

.gt-nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 58px;
}

.gt-nav-link {
    position: relative;
    padding: 10px 0;
    border: 0;
    background: transparent;

    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;

    color: #050606;
    text-decoration: none;
    cursor: pointer;
}

.gt-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 3px;
    width: 0;
    height: 2px;
    background: var(--gt-green);
    transition: width .24s ease;
}

.gt-nav-link:hover::after,
.gt-nav-link.active::after {
    width: 100%;
}

.gt-products {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}


/* =========================================================
   06. DESKTOP CTA
========================================================= */

.gt-offer {
    justify-self: end;
    position: relative;

    width: fit-content;
    padding: 6px 0 6px 14px;

    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;

    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;

    color: #050606;
    text-decoration: none;
    cursor: pointer;

    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.gt-offer::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;

    width: 3px;
    height: 22px;

    background: var(--gt-green);
    border-radius: 10px;

    transform: translateY(-50%);
}

.gt-offer-label,
.gt-offer .arrow,
.gt-offer i {
    position: relative;
    z-index: 2;
}

.gt-offer .arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 15px;
    line-height: 1;

    transition: transform .25s ease;
}

.gt-offer:hover .arrow {
    transform: translateX(5px);
}


/* =========================================================
   07. MEGA MENU
========================================================= */

.gt-mega {
    position: absolute;
    top: 100%;
    left: 50%;

    width: min(1120px, calc(100vw - 60px));
    padding-top: 0;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translate(-50%, 16px);

    transition:
        opacity .35s ease,
        transform .35s cubic-bezier(.22, 1, .36, 1),
        visibility .35s;
}

.gt-products:hover .gt-mega,
.gt-products:focus-within .gt-mega,
.gt-mega:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.gt-mega-wrap {
    margin-top: 0;
    padding: 26px;

    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 26px;

    background: rgba(255, 255, 255, .98);
    border: 1px solid rgba(24, 32, 40, .08);
    box-shadow: var(--gt-shadow);
    backdrop-filter: blur(16px);
}

.gt-mega-categories {
    padding-right: 24px;
    border-right: 1px solid var(--gt-line);

    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gt-mega-category {
    width: 100%;
    padding: 14px 16px;
    border: 0;
    background: transparent;

    text-align: left;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;

    color: var(--gt-dark);
    cursor: pointer;

    transition: background .25s ease, color .25s ease;
}

.gt-mega-category:hover,
.gt-mega-category.active {
    background: var(--gt-dark);
    color: var(--gt-white);
}

.gt-mega-panel {
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.gt-mega-panel.active {
    display: grid;
}

.gt-mega-product {
    min-height: 190px;
    padding: 14px;

    background: #fff;
    border: 1px solid rgba(24, 32, 40, .1);
    color: var(--gt-dark);
    text-decoration: none;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    transition: border-color .25s ease, box-shadow .25s ease;
}

.gt-mega-product:hover {
    border-color: var(--gt-green);
    box-shadow: 0 14px 30px rgba(24, 32, 40, .1);
}

.gt-mega-image {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gt-mega-image img {
    max-width: 100%;
    max-height: 115px;
    object-fit: contain;
}

.gt-mega-title {
    margin-top: 10px;

    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
}

.gt-mega-product.no-image {
    min-height: auto;
    justify-content: center;
}

.gt-mega-product.no-image .gt-mega-title {
    margin: 0;
}

.gt-empty {
    margin: 0;
    color: rgba(24, 32, 40, .6);
}


/* =========================================================
   08. BURGER BUTTON
========================================================= */

.gt-burger {
    position: relative;
    display: none;

    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(24, 32, 40, .08);
    border-radius: 12px;

    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px);

    cursor: pointer;
    overflow: hidden;
    transition: .28s ease;
}

.gt-burger:hover {
    border-color: rgba(111, 169, 69, .35);
    box-shadow: 0 12px 30px rgba(24, 32, 40, .08);
    transform: translateY(-2px);
}

.gt-burger:active {
    transform: scale(.95);
}

.gt-burger span {
    position: absolute;
    left: 50%;

    width: 22px;
    height: 2px;
    border-radius: 10px;

    background: var(--gt-dark);
    transition: .3s cubic-bezier(.4, 0, .2, 1);
}

.gt-burger span:first-child {
    top: 18px;
    transform: translateX(-50%);
}

.gt-burger span:last-child {
    top: 28px;
    transform: translateX(-50%);
}

body.gt-mobile-open .gt-burger {
    border-color: var(--gt-green);
}

body.gt-mobile-open .gt-burger span:first-child {
    top: 23px;
    transform: translateX(-50%) rotate(45deg);
}

body.gt-mobile-open .gt-burger span:last-child {
    top: 23px;
    transform: translateX(-50%) rotate(-45deg);
}


/* =========================================================
   09. MOBILE MENU OVERLAY
========================================================= */

.gt-mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000000;

    background: rgba(24, 32, 40, .48);
    opacity: 0;
    visibility: hidden;

    transition: opacity .35s ease, visibility .35s ease;
}

body.gt-mobile-open .gt-mobile-overlay {
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   10. MOBILE SIDEBAR
========================================================= */

.gt-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000001;

    width: min(420px, 86vw);
    height: 100vh;

    background: #fff;
    box-shadow: 24px 0 60px rgba(0, 0, 0, .18);

    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}

body.gt-mobile-open .gt-mobile-menu {
    transform: translateX(0);
}

.gt-mobile-head {
    height: 86px;
    padding: 0 24px;
    border-bottom: 1px solid var(--gt-line);

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gt-mobile-logo img {
    width: 185px;
    display: block;
}

.gt-mobile-nav {
    padding: 16px 24px 34px;
}

.gt-mobile-nav > * {
    opacity: 0;
    transform: translateX(24px);
    transition: .35s ease;
}

body.gt-mobile-open .gt-mobile-nav > * {
    opacity: 1;
    transform: none;
}

body.gt-mobile-open .gt-mobile-nav > *:nth-child(1) { transition-delay: .10s; }
body.gt-mobile-open .gt-mobile-nav > *:nth-child(2) { transition-delay: .16s; }
body.gt-mobile-open .gt-mobile-nav > *:nth-child(3) { transition-delay: .22s; }
body.gt-mobile-open .gt-mobile-nav > *:nth-child(4) { transition-delay: .28s; }


/* =========================================================
   11. MOBILE NAV LINKS
========================================================= */

.gt-mobile-main,
.gt-mobile-category-button {
    width: 100%;
    padding: 18px 0;
    border: 0;
    border-bottom: 1px solid var(--gt-line);
    background: transparent;

    color: var(--gt-dark);
    text-decoration: none;

    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;

    display: flex;
    align-items: center;
    justify-content: space-between;

    cursor: pointer;
}

.gt-mobile-category-button {
    padding: 14px 0;
    font-size: 14px;
}

.gt-mobile-main span,
.gt-mobile-category-button span {
    color: var(--gt-green);
}

.gt-mobile-drop,
.gt-mobile-products {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .35s ease, opacity .25s ease;
}

.gt-mobile-group.open > .gt-mobile-drop,
.gt-mobile-category.open > .gt-mobile-products {
    max-height: 900px;
    opacity: 1;
}

.gt-mobile-category {
    padding-left: 14px;
    border-left: 2px solid rgba(111, 169, 69, .25);
}

.gt-mobile-products {
    padding: 0 0 14px 12px;
}

.gt-mobile-products a,
.gt-mobile-products span {
    display: block;
    padding: 8px 0;

    color: rgba(24, 32, 40, .72);
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;
}

.gt-mobile-products a:hover {
    color: var(--gt-green);
}


/* =========================================================
   12. MOBILE CTA LINK
========================================================= */

.gt-mobile-offer {
    width: 100% !important;
    min-height: 46px !important;
    margin: 18px 0 0 !important;
    padding: 7px 0 7px 16px !important;

    position: relative !important;

    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 9px !important;

    color: #050606 !important;

    font-family: var(--font-heading) !important;
    font-size: clamp(20px, 5.2vw, 24px) !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: .01em !important;
    text-transform: uppercase !important;
    text-align: left !important;

    cursor: pointer !important;
}

.gt-mobile-offer::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;

    width: 3px !important;
    height: 20px !important;

    background: var(--gt-green) !important;
    border-radius: 10px !important;

    transform: translateY(-50%) !important;
}

.gt-mobile-offer-text,
.gt-mobile-offer-arrow,
.gt-mobile-offer i {
    position: relative !important;
    z-index: 2 !important;
}

.gt-mobile-offer-arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 13px !important;
    line-height: 1 !important;

    transition: transform .28s ease !important;
}

.gt-mobile-offer:hover .gt-mobile-offer-arrow {
    transform: translateX(5px) !important;
}

.gt-mobile-offer:focus-visible {
    outline: 2px solid var(--gt-green) !important;
    outline-offset: 4px !important;
}


/* =========================================================
   13. CONTACT MODAL BASE
========================================================= */

.gt-contact-modal {
    position: fixed;
    inset: 0;
    z-index: 2000000;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity .3s ease, visibility .3s ease;
}

body.gt-modal-open .gt-contact-modal {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.gt-contact-modal-overlay {
    position: absolute;
    inset: 0;

    background: rgba(52, 61, 70, .58);
    backdrop-filter: blur(8px);

    opacity: 0;
    transition: opacity .8s ease-in-out;
}

body.gt-modal-open .gt-contact-modal-overlay {
    opacity: 1;
}


/* =========================================================
   14. CONTACT MODAL BOX
========================================================= */

.gt-contact-modal-box {
    position: relative;

    width: min(520px, calc(100% - 32px));
    margin: 110px auto 0;
    padding: 42px;

    background: #fff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .24);

    transform: translateY(24px);
    transition: transform .35s ease;
}

body.gt-modal-open .gt-contact-modal-box {
    transform: translateY(0);
}

.gt-contact-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;

    border: 0;
    background: transparent;

    color: var(--gt-dark);
    font-size: 34px;
    line-height: 1;

    cursor: pointer;
}

.gt-modal-kicker {
    margin: 0 0 12px;

    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;

    color: var(--gt-green);
}

.gt-contact-modal-box h2 {
    margin: 0 0 26px;

    font-family: var(--font-heading);
    font-size: 42px;
    line-height: 1;
    text-transform: uppercase;

    color: var(--gt-dark);
}


/* =========================================================
   15. CONTACT FORM
========================================================= */

.gt-contact-form {
    display: grid;
    gap: 14px;
}

.gt-contact-form input,
.gt-contact-form textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid rgba(24, 32, 40, .14);

    font-family: var(--font-ui);
    font-size: 14px;

    outline: none;
}

.gt-contact-form textarea {
    min-height: 120px;
    resize: none;
}

.gt-contact-form input:focus,
.gt-contact-form textarea:focus {
    border-color: var(--gt-green);
}


/* =========================================================
   16. CONTACT FORM BUTTON
========================================================= */

.gt-contact-form button {
    position: relative;
    overflow: hidden;
    z-index: 1;

    margin-top: 8px;
    height: 54px;
    border: 0;
    border-radius: 6px;

    background: var(--gt-green);
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;

    cursor: pointer;
    transition: box-shadow .35s ease;
}

.gt-contact-form button::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;

    background: var(--gt-dark);
    transform: translateX(-100%);
    transition: transform .35s ease;
}

.gt-contact-form button span,
.gt-contact-form button i {
    position: relative;
    z-index: 2;
}

.gt-contact-form button .arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .35s ease;
}

.gt-contact-form button:hover::before {
    transform: translateX(0);
}

.gt-contact-form button:hover {
    box-shadow: 0 16px 34px rgba(24, 32, 40, .18);
}

.gt-contact-form button:hover .arrow {
    transform: translateX(5px);
}


/* =========================================================
   17. RESPONSIVE
========================================================= */

@media (max-width: 1180px) {
    .gt-header-inner {
        padding: 0 32px;
        grid-template-columns: 230px 1fr 170px;
    }

    .gt-nav {
        gap: 34px;
    }

    .gt-logo img {
        width: 200px;
    }

    .gt-offer {
        font-size: 16px;
        gap: 8px;
    }

    .gt-offer .arrow {
        font-size: 13px;
    }
}

@media (max-width: 900px) {
    .gt-header {
        height: 74px !important;
    }

    .gt-header-inner {
        height: 74px;
        padding: 0 18px;

        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .gt-logo img {
        width: 178px;
    }

    .gt-nav,
    .gt-offer {
        display: none !important;
    }

    .gt-burger {
        display: flex !important;
    }

    .gt-page {
        padding-top: 74px;
    }
}

@media (max-width: 760px) {
    .gt-contact-modal-box {
        margin-top: 86px;
        padding: 34px 24px;
    }

    .gt-contact-modal-box h2 {
        font-size: 34px;
    }
}

@media (max-width: 520px) {
    .gt-mobile-menu {
        width: 88vw;
    }

    .gt-mobile-head {
        height: 78px;
        padding: 0 20px;
    }

    .gt-mobile-logo img {
        width: 168px;
    }

    .gt-mobile-nav {
        padding: 14px 22px 30px;
    }

    .gt-mobile-main,
    .gt-mobile-category-button {
        font-size: 15px;
        padding: 16px 0;
    }

    .gt-mobile-offer {
        min-height: 44px !important;
        margin-top: 16px !important;
        padding-left: 15px !important;
        font-size: clamp(19px, 5vw, 22px) !important;
        gap: 8px !important;
    }

    .gt-mobile-offer::before {
        height: 18px !important;
    }

    .gt-mobile-offer-arrow {
        font-size: 12px !important;
    }
}

@media (max-width: 390px) {
    .gt-mobile-offer {
        min-height: 42px !important;
        font-size: 18px !important;
        gap: 7px !important;
    }

    .gt-mobile-offer::before {
        height: 17px !important;
    }
}


/* =========================================================
   18. TOASTS FORMULAR
========================================================= */

.gt-form-toast {
    position: fixed;
    top: 96px;
    right: 28px;
    z-index: 3000000;

    padding: 16px 22px;
    border-radius: 8px;

    background: #fff;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .18);

    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 700;

    opacity: 0;
    transform: translateX(40px) scale(.96);
    animation: gtToast 4.6s cubic-bezier(.22, 1, .36, 1) forwards;

    overflow: hidden;
}

.gt-form-toast::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    height: 3px;
    width: 100%;

    background: currentColor;
    transform-origin: left;
    animation: gtToastProgress 2s linear forwards;
    opacity: .25;
}

.gt-form-toast.success {
    color: #2d7a2d;
    border-left: 4px solid var(--gt-green);
}

.gt-form-toast.error {
    color: #b92f2f;
    border-left: 4px solid #d83b3b;
}

@keyframes gtToast {
    0% {
        opacity: 0;
        transform: translateX(40px) scale(.96);
    }

    12% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    82% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-14px) scale(.96);
        visibility: hidden;
    }
}

@keyframes gtToastProgress {
    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}


/* =========================================================
   19. FIELD ERRORS
========================================================= */

.gt-field-error {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 8px;

    margin-top: -6px;
    margin-bottom: 2px;
    padding: 9px 12px;

    border-left: 3px solid #d83b3b;
    border-radius: 8px;

    background: rgba(216, 59, 59, .08);
    color: #9f1f1f;

    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.gt-field-error::before {
    content: "!";
    flex: 0 0 18px;

    width: 18px;
    height: 18px;
    border-radius: 50%;

    background: #d83b3b;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.gt-contact-form input:has(+ .gt-field-error),
.gt-contact-form textarea:has(+ .gt-field-error) {
    border-color: #d83b3b;
    background: rgba(216, 59, 59, .035);
}

.gt-mobile-close {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--gt-dark);
    font-size: 34px;
    line-height: 1;

    cursor: pointer;
}