/* ==========================================================================
   GODIGI 2.0
   CORE DESIGN SYSTEM — STABLE PREMIUM
   ========================================================================== */

:root {

    /* Core brand */
    --ink: #121513;
    --ink-2: #1d221f;
    --text: #525b56;
    --muted: #7e8782;

    --green: #39b880;
    --green-dark: #247d59;
    --green-deep: #176747;
    --green-soft: #eaf7f1;

    --yellow: #f4dc82;
    --yellow-deep: #e5c95e;
    --yellow-soft: #fff7d6;

    --white: #ffffff;

    /* Surfaces */
    --line: #e3e7e4;
    --line-dark: #cfd6d2;
    --soft: #f5f7f6;
    --soft-2: #edf1ef;

    /* Radius */
    --radius-xs: 8px;
    --radius-sm: 12px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 30px;

    /* Shadows */
    --shadow-xs:
        0 2px 8px rgba(18, 21, 19, .035);

    --shadow-sm:
        0 12px 30px rgba(18, 21, 19, .06);

    --shadow:
        0 18px 44px rgba(18, 21, 19, .08);

    --shadow-lg:
        0 30px 80px rgba(18, 21, 19, .12);

    --ease:
        cubic-bezier(.2, .7, .2, 1);


    /* ----------------------------------------------------------------------
       Compatibility aliases for dashboard/profile/auth/company
       ---------------------------------------------------------------------- */

    --gd-primary: var(--green);
    --gd-primary-dark: var(--green-dark);
    --gd-primary-deep: var(--green-deep);
    --gd-primary-soft: var(--green-soft);

    --gd-yellow: var(--yellow);
    --gd-accent: var(--yellow);

    --gd-ink: var(--ink);
    --gd-text: var(--text);
    --gd-muted: var(--muted);

    --gd-bg: var(--soft);
    --gd-surface: #fff;
    --gd-border: var(--line);

    --gd-radius-sm: var(--radius-sm);
    --gd-radius: var(--radius);
    --gd-radius-lg: var(--radius-lg);

    --gd-shadow: var(--shadow);

    --gd-container: 1220px;
}


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

*,
*::before,
*::after {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    overflow-x: hidden;

    background: #fff;

    color: var(--ink);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: 16px;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


body.admin-bar .site-header {
    top: 32px;
}


img {
    display: block;
    max-width: 100%;
}


svg {
    display: block;
}


a {
    color: inherit;
    text-decoration: none;
}


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


button {
    cursor: pointer;
}


::selection {
    background: var(--yellow);
    color: var(--ink);
}


/* ==========================================================================
   LAYOUT
   ========================================================================== */

.wrap {
    width: min(
        1220px,
        calc(100% - 44px)
    );

    margin: 0 auto;
}


/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--ink);
    font-weight: 850;
}


p {
    margin-top: 0;
}


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

.site-header {
    position: sticky;

    top: 0;

    z-index: 1000;

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

    border-bottom:
        1px solid
        rgba(18, 21, 19, .08);

    backdrop-filter: blur(18px);

    transition:
        box-shadow .22s ease,
        background .22s ease;
}


.site-header.is-scrolled {
    box-shadow:
        0 8px 26px
        rgba(18, 21, 19, .045);
}


.header-inner {
    min-height: 74px;

    display: flex;
    align-items: center;

    gap: 28px;
}


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

.logo {
    display: inline-flex;
    align-items: center;

    flex: 0 0 auto;

    color: var(--ink);

    font-size: 24px;
    font-weight: 900;

    line-height: 1;

    letter-spacing: -.065em;
}


.logo em {
    color: var(--green);
    font-style: normal;
}


.logo img,
.gd-brand-logo {
    width: auto;
    height: 34px;

    max-width: 150px;

    object-fit: contain;
}


/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.nav {
    display: flex;
    align-items: center;

    gap: 30px;

    margin-left: 50px;
}


.nav a {
    position: relative;

    color: #505953;

    font-size: 13px;
    font-weight: 750;

    letter-spacing: -.015em;

    transition:
        color .18s ease;
}


.nav a:hover {
    color: var(--ink);
}


.nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -10px;

    width: 0;
    height: 2px;

    background: var(--green);

    transition:
        width .2s var(--ease);
}


.nav a:hover::after {
    width: 100%;
}


.head-actions {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: 14px;
}


.login-link {
    color: var(--ink);

    font-size: 12px;
    font-weight: 800;
}


/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    padding:
        0
        18px;

    border-radius: 13px;

    font-size: 12px;
    font-weight: 850;

    line-height: 1;

    letter-spacing: -.015em;

    transition:
        transform .2s var(--ease),
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


.btn:hover {
    transform: translateY(-1px);
}


.btn-primary {
    border:
        1px solid
        var(--ink);

    background: var(--ink);

    color: #fff;
}


.btn-primary:hover {
    background: #060806;

    box-shadow:
        0 8px 18px
        rgba(18, 21, 19, .10);
}


.btn-primary .arr {
    width: 27px;
    height: 27px;

    display: grid;
    place-items: center;

    margin-right: -7px;

    border-radius: 8px;

    background: var(--yellow);

    color: var(--ink);

    font-size: 11px;
}


.btn-secondary {
    border:
        1px solid
        var(--line-dark);

    background: #fff;

    color: var(--ink);
}


.btn-secondary:hover {
    border-color: #aeb8b2;

    background: var(--soft);
}


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

.menu-btn {
    display: none;

    margin-left: auto;

    padding: 6px;

    border: 0;

    background: none;

    color: var(--ink);

    font-size: 25px;
    line-height: 1;
}


.mobile-menu {
    display: none;

    padding:
        8px
        22px
        20px;

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

    background: #fff;
}


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


.mobile-menu a {
    min-height: 51px;

    display: flex;
    align-items: center;

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

    color: var(--ink);

    font-size: 14px;
    font-weight: 800;
}


.mobile-menu a:last-child {
    border-bottom: 0;
}


/* ==========================================================================
   KICKER
   ========================================================================== */

.kicker {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    color: var(--green-dark);

    font-size: 10px;
    font-weight: 900;

    line-height: 1;

    letter-spacing: .12em;

    text-transform: uppercase;
}


.kicker::before {
    content: "";

    width: 36px;
    height: 1.5px;

    background: currentColor;
}


/* ==========================================================================
   STANDARD SECTION
   ========================================================================== */

.section {
    padding:
        108px
        0;
}


.section-head {
    display: grid;

    grid-template-columns:
        1.1fr
        .7fr;

    gap: 70px;

    align-items: end;

    margin-bottom: 58px;
}


.section-head h2 {
    margin:
        18px
        0
        0;

    color: var(--ink);

    font-size:
        clamp(
            44px,
            5vw,
            68px
        );

    font-weight: 880;

    line-height: .96;

    letter-spacing: -.07em;
}


.section-head p {
    max-width: 430px;

    margin: 0;

    color: var(--text);

    font-size: 14px;

    line-height: 1.8;
}


/* ==========================================================================
   REVEALS
   ========================================================================== */

[data-reveal] {
    opacity: 1;
    transform: none;
}


@media(prefers-reduced-motion: no-preference) {

    [data-reveal] {
        transition:
            transform .5s var(--ease),
            opacity .5s var(--ease);
    }


    [data-reveal].visible {
        transform: translateY(-2px);
    }

}


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

.site-footer {
    padding:
        76px
        0
        28px;

    border-top:
        1px solid
        #2b312d;

    background: #0c0f0d;

    color: #fff;
}


.footer-top {
    display: grid;

    grid-template-columns:
        1.5fr
        .72fr
        .72fr;

    gap: 70px;

    padding-bottom: 56px;
}


.footer-brand .logo {
    color: #fff;

    font-size: 29px;
}


.footer-brand .logo img {
    max-height: 40px;
}


.footer-brand p {
    max-width: 430px;

    margin:
        20px
        0
        0;

    color: #919b95;

    font-size: 13px;

    line-height: 1.75;
}


.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 12px;
}


.footer-col strong {
    margin-bottom: 6px;

    color: #fff;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: .09em;

    text-transform: uppercase;
}


.footer-col a {
    color: #aeb6b1;

    font-size: 13px;

    transition: color .18s ease;
}


.footer-col a:hover {
    color: #fff;
}


.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-top: 25px;

    border-top:
        1px solid
        #292e2b;

    color: #78817c;

    font-size: 10px;
}


.footer-line {
    position: relative;

    width: 82px;
    height: 5px;

    flex: 0 0 auto;

    border-radius: 999px;

    background: var(--green);
}


.footer-line::after {
    content: "";

    position: absolute;

    left: 88px;
    top: 0;

    width: 28px;
    height: 5px;

    border-radius: 999px;

    background: var(--yellow);
}


/* ==========================================================================
   BASIC WP FALLBACK CONTENT
   ========================================================================== */

.gd-site-main {
    min-height: 60vh;
}


.gd-content-card {
    padding: 36px;

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

    border-radius: var(--radius-lg);

    background: #fff;
}


/* ==========================================================================
   RESPONSIVE — TABLET
   ========================================================================== */

@media(max-width: 980px) {

    .nav,
    .head-actions {
        display: none;
    }


    .menu-btn {
        display: block;
    }


    .section-head {
        grid-template-columns: 1fr;

        gap: 18px;

        align-items: start;
    }


    .footer-top {
        grid-template-columns:
            1fr
            1fr;
    }


    .footer-brand {
        grid-column:
            1 / -1;
    }

}


/* ==========================================================================
   RESPONSIVE — MOBILE
   ========================================================================== */

@media(max-width: 782px) {

    body.admin-bar .site-header {
        top: 46px;
    }

}


@media(max-width: 720px) {

    .wrap {
        width:
            calc(
                100%
                -
                28px
            );
    }


    .header-inner {
        min-height: 64px;
    }


    .logo {
        font-size: 21px;
    }


    .logo img,
    .gd-brand-logo {
        height: 30px;
    }


    .section {
        padding:
            74px
            0;
    }


    .section-head {
        margin-bottom: 38px;
    }


    .section-head h2 {
        font-size: 39px;
    }


    .footer-top {
        grid-template-columns: 1fr;

        gap: 38px;

        padding-bottom: 42px;
    }


    .footer-brand {
        grid-column: auto;
    }


    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

}


/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

.screen-reader-text {
    position: absolute !important;

    width: 1px;
    height: 1px;

    overflow: hidden;

    clip: rect(1px, 1px, 1px, 1px);

    white-space: nowrap;
}


:focus-visible {
    outline:
        3px solid
        rgba(57, 184, 128, .32);

    outline-offset: 3px;
}
/* ========================================================================== 
   LANGUAGE SWITCH — EN / SR
   ========================================================================== */

.gd-language-switch {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 7px;
    border: 1px solid var(--gd-line, #e1e6e3);
    border-radius: 10px;
    background: #fff;
    color: var(--gd-muted, #7f8983);
    box-shadow: 0 5px 18px rgba(16,19,17,.035);
    white-space: nowrap;
}

.gd-language-switch > span {
    width: 1px;
    height: 12px;
    background: var(--gd-line, #e1e6e3);
}

.gd-language-switch a {
    min-width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    color: inherit;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .05em;
}

.gd-language-switch a:hover,
.gd-language-switch a.is-active {
    background: var(--gd-black, #101311);
    color: #fff;
}

.gd-auth-language,
.gd-public-language,
.gd-company-language {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 1200;
}

body.admin-bar .gd-public-language,
body.admin-bar .gd-company-language {
    top: 50px;
}

.gd-dashboard-language {
    flex: 0 0 auto;
}

@media (max-width: 782px) {
    .gd-auth-language,
    .gd-public-language,
    .gd-company-language {
        top: 12px;
        right: 12px;
    }

    body.admin-bar .gd-public-language,
    body.admin-bar .gd-company-language {
        top: 58px;
    }
}


/* 2.8.4 — Public language switch consistency */
.gd-public-language,
.gd-company-language{
    top:18px!important;
    right:18px!important;
}
@media(max-width:782px){
    .gd-public-language,
    .gd-company-language{
        top:12px!important;
        right:12px!important;
    }
}
