.golden-footer {
    --footer-gold: #E3BE78;
    --footer-text: #F6F3EC;
    --footer-muted: #D4DDE8;
    --footer-border: rgba(227, 190, 120, .24);

    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 5rem;
    padding-top: clamp(4rem, 7vw, 6.5rem);

    background-color: #14283F;
    background-image:
        linear-gradient(
            90deg,
            rgba(15, 30, 49, .99) 0%,
            rgba(15, 30, 49, .97) 36%,
            rgba(15, 30, 49, .88) 65%,
            rgba(15, 30, 49, .72) 100%
        ),
        url('/assets/images/golden-footer-bg.webp');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--footer-text);
    border-top: 1px solid var(--footer-border);
}

html.dark .golden-footer {
    background-color: #071427;
    background-image:
        linear-gradient(
            90deg,
            rgba(5, 15, 30, .99) 0%,
            rgba(5, 15, 30, .97) 36%,
            rgba(5, 15, 30, .88) 65%,
            rgba(5, 15, 30, .75) 100%
        ),
        url('/assets/images/golden-footer-bg.webp');
}

.golden-footer::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    left: 50%;
    width: min(1180px, calc(100% - 2rem));
    height: 2px;
    transform: translateX(-50%);
    background: linear-gradient(
        90deg,
        transparent,
        #DDB66D 30%,
        #F1D59C 50%,
        #DDB66D 70%,
        transparent
    );
    opacity: .85;
    pointer-events: none;
}

.golden-footer-shell {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 2rem));
    margin-inline: auto;
}

.golden-footer-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.65fr)
        minmax(0, .9fr)
        minmax(0, .35fr)
        minmax(0, 1.35fr);
    gap: clamp(2rem, 3.5vw, 4rem);
    padding-bottom: clamp(4rem, 6vw, 6rem);
}

.golden-footer-grid > * {
    min-width: 0;
}

.golden-footer-brand {
    max-width: 380px;
}

.golden-footer-logo-link {
    display: inline-flex;
    border-radius: 50%;
}

.golden-footer-logo-link img {
    display: block;
    width: 205px;
    height: 205px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 50%;
    filter:
        brightness(1.16)
        contrast(1.08)
        saturate(1.18)
        drop-shadow(0 0 14px rgba(231, 190, 105, .22))
        drop-shadow(0 16px 30px rgba(0, 0, 0, .3));
    transition:
        transform .35s ease,
        filter .35s ease;
}

.golden-footer-logo-link:hover img {
    transform: translateY(-5px) scale(1.025);
    filter:
        brightness(1.22)
        contrast(1.1)
        saturate(1.2)
        drop-shadow(0 0 22px rgba(231, 190, 105, .34))
        drop-shadow(0 18px 32px rgba(0, 0, 0, .32));
}

.golden-footer-description {
    max-width: 40ch;
    margin: 1.65rem 0 0;
    color: var(--footer-muted);
    font-size: .94rem;
    font-weight: 400;
    line-height: 1.95;
}

.golden-footer-heading {
    position: relative;
    margin: .65rem 0 2.25rem;
    padding-bottom: 1.15rem;
    color: var(--footer-text);
    font-family: Inter, system-ui, sans-serif;
    font-size: 1.15rem;
    font-weight: 650;
    letter-spacing: -.015em;
    line-height: 1.4;
}

.golden-footer-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 42px;
    height: 2px;
    background: var(--footer-gold);
}

.golden-footer-links {
    display: grid;
    gap: 1.1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.golden-footer-links a {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    color: var(--footer-muted);
    font-size: .92rem;
    line-height: 1.65;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.golden-footer-link-mark {
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    border: 1px solid var(--footer-gold);
    transform: rotate(45deg);
}

.golden-footer-links a:hover {
    color: var(--footer-gold);
    transform: translateX(4px);
}

.golden-footer-office-heading {
    margin: 0 0 1rem;
    color: var(--footer-gold);
    font-size: .78rem;
    font-weight: 750;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.golden-footer-company-name {
    margin: 0 0 1.8rem;
    color: var(--footer-text);
    font-size: .96rem;
    font-weight: 650;
    line-height: 1.75;
}

.golden-footer-contact-items {
    display: grid;
    gap: 1.25rem;
}

.golden-footer-contact-link {
    display: inline-flex;
    align-items: flex-start;
    gap: .9rem;
    color: var(--footer-muted);
    font-size: .93rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
    text-decoration: none;
    transition: color .2s ease;
}

.golden-footer-contact-link:hover {
    color: var(--footer-gold);
}

.golden-footer-contact-link svg {
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    margin-top: 3px;
    fill: none;
    stroke: var(--footer-gold);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.golden-footer-cta {
    justify-self: start;
    align-items: center;
    margin-top: .7rem;
    padding: .85rem 1.3rem;
    border: 1px solid var(--footer-gold);
    border-radius: 4px;
    color: var(--footer-gold);
    font-size: .88rem;
    font-weight: 650;
    letter-spacing: .01em;
    transition:
        background-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.golden-footer-cta svg {
    margin-top: 0;
    stroke: currentColor;
    transition: transform .2s ease;
}

.golden-footer-cta:hover {
    background-color: var(--footer-gold);
    color: #0B1B30;
    transform: translateY(-2px);
}

.golden-footer-cta:hover svg {
    transform: translateX(3px);
}

.golden-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    padding: 1.8rem 0;
    border-top: 1px solid var(--footer-border);
}

.golden-footer-copyright,
.golden-footer-developer-credit {
    margin: 0;
    color: var(--footer-muted);
    font-size: .79rem;
    line-height: 1.8;
}

.golden-footer-developer-credit {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .35rem;
}

.golden-footer-developer-credit a {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    color: var(--footer-gold);
    font-weight: 650;
    text-decoration: none;
}

.golden-footer-developer-credit a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.golden-footer-developer-credit svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.golden-footer a:focus-visible {
    outline: 2px solid var(--footer-gold);
    outline-offset: 5px;
    border-radius: 3px;
}

@media (max-width: 1050px) {
    .golden-footer-grid {
        grid-template-columns:
            minmax(0, 1.15fr)
            minmax(0, 1fr);
        gap: 3.5rem;
    }

    .golden-footer-reserved {
        display: none;
    }
}

@media (max-width: 640px) {
    .golden-footer {
        margin-top: 3.5rem;
        padding-top: 4rem;
        background-position: 65% center;
    }

    .golden-footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 3rem;
        padding-bottom: 3.5rem;
    }

    .golden-footer-logo-link img {
        width: 165px;
        height: 165px;
    }

    .golden-footer-description {
        max-width: 48ch;
    }

    .golden-footer-heading {
        margin-bottom: 1.7rem;
    }

    .golden-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: .65rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .golden-footer *,
    .golden-footer *::before,
    .golden-footer *::after {
        transition: none !important;
        animation: none !important;
    }
}


/* Seamless transition between Premium CTA and Footer */
.premium-cta + .golden-footer {
    margin-top: 0;
}

/* GOLDEN FOOTER RESPONSIVE REFINEMENT START */

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

.golden-footer-grid > * {
    min-width: 0;
}

@media (min-width: 641px) and (max-width: 1050px) {
    .golden-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: clamp(24px, 4vw, 48px);
        row-gap: 42px;
    }

    .golden-footer-reserved {
        display: none;
    }
}

@media (max-width: 640px) {
    .golden-footer {
        margin-top: 0;
        padding-top: 42px;
        background-position: center;
        background-size: cover;
    }

    .golden-footer-shell {
        width: calc(100% - 40px);
        max-width: 100%;
        margin-inline: auto;
    }

    .golden-footer .golden-footer-grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding-bottom: 32px;
    }

    .golden-footer .golden-footer-reserved {
        display: none;
    }

    .golden-footer .golden-footer-brand,
    .golden-footer .golden-footer-navigation,
    .golden-footer .golden-footer-contact {
        display: block;
        position: relative;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        flex: none;
        float: none;
        margin: 0;
        padding: 0;
        text-align: left;
    }

    .golden-footer .golden-footer-brand {
        order: 1;
    }

    .golden-footer .golden-footer-navigation {
        order: 2;
        margin-top: 34px;
    }

    .golden-footer .golden-footer-contact {
        order: 3;
        margin-top: 38px;
    }

    .golden-footer-logo-link {
        display: inline-flex;
        width: auto;
        max-width: 100%;
    }

    .golden-footer-logo-link img {
        display: block;
        width: 145px;
        height: 145px;
        object-fit: contain;
    }

    .golden-footer-description {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 18px 0 0;
        font-size: .92rem;
        line-height: 1.8;
        overflow-wrap: anywhere;
    }

    /*
     * The navigation itself must be block-level.
     * Its heading and list must occupy separate rows.
     */
    .golden-footer nav.golden-footer-navigation {
        display: block !important;
        flex-direction: initial !important;
        align-items: initial !important;
        justify-content: initial !important;
        grid-template-columns: none !important;
        column-count: 1;
    }

    .golden-footer .golden-footer-navigation
    > h2.golden-footer-heading,
    .golden-footer .golden-footer-contact
    > h2.golden-footer-heading {
        display: block !important;
        position: relative;
        width: 100%;
        max-width: 100%;
        margin: 0 0 20px;
        padding: 0 0 14px;
        text-align: left;
        font-size: 1.15rem;
        line-height: 1.4;
        float: none;
        clear: both;
    }

    .golden-footer .golden-footer-heading::after {
        left: 0;
        right: auto;
        bottom: 0;
    }

    .golden-footer .golden-footer-navigation
    > ul.golden-footer-links {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        grid-template-columns: none !important;
        width: 100%;
        max-width: 100%;
        gap: 12px;
        margin: 0;
        padding: 0;
        list-style: none;
        float: none;
        clear: both;
    }

    .golden-footer .golden-footer-links > li {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .golden-footer .golden-footer-links a {
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        width: auto;
        max-width: 100%;
        min-height: 30px;
        gap: 12px;
        font-size: .92rem;
        line-height: 1.5;
        text-align: left;
    }

    .golden-footer-office-heading {
        display: block;
        margin: 0 0 12px;
        font-size: .72rem;
    }

    .golden-footer-company-name {
        display: block;
        margin: 0 0 20px;
        font-size: .94rem;
        line-height: 1.65;
    }

    .golden-footer-contact-items {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 17px;
    }

    .golden-footer-contact-link {
        align-items: center;
        gap: 12px;
        font-size: .91rem;
        overflow-wrap: anywhere;
    }

    .golden-footer-contact-link svg {
        margin-top: 0;
    }

    .golden-footer-cta {
        width: fit-content;
        min-height: 48px;
        margin-top: 8px;
        padding: 12px 18px;
    }

    .golden-footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 9px;
        padding: 22px 0 110px;
    }

    .golden-footer-copyright,
    .golden-footer-developer-credit {
        display: block;
        max-width: 100%;
        margin: 0;
        font-size: .77rem;
        line-height: 1.75;
    }

    .golden-footer-developer-credit a {
        display: inline-flex;
        vertical-align: middle;
    }

    .golden-footer,
    html.dark .golden-footer,
    html[data-theme="dark"] .golden-footer {
        background-image:
            linear-gradient(
                90deg,
                rgba(7, 20, 38, .97),
                rgba(7, 20, 38, .92)
            ),
            url('/assets/images/golden-footer-bg.webp');
    }
}

@media (max-width: 360px) {
    .golden-footer-shell {
        width: calc(100% - 32px);
    }

    .golden-footer-logo-link img {
        width: 128px;
        height: 128px;
    }

    .golden-footer-description {
        font-size: .87rem;
    }
}

/* GOLDEN FOOTER RESPONSIVE REFINEMENT END */

/* GOLDEN FOOTER MOBILE FINISH START */

@media (max-width: 640px) {

    /* Center only the footer logo. */
    .golden-footer .golden-footer-logo-link {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-inline: auto;
    }

    .golden-footer .golden-footer-logo-link img {
        display: block;
        width: 150px;
        height: 150px;
        margin-inline: auto;
        object-fit: contain;
    }

    /* Preserve left-aligned description. */
    .golden-footer .golden-footer-description {
        width: 100%;
        text-align: left;
    }

    /* Compact copyright and developer credit. */
    .golden-footer .golden-footer-bottom {
        gap: 5px;
        padding-top: 18px;
        padding-bottom: 24px;
        margin-bottom: 0;
        min-height: 0;
    }

    .golden-footer .golden-footer-copyright,
    .golden-footer .golden-footer-developer-credit {
        margin: 0;
        padding: 0;
        line-height: 1.6;
    }

    .golden-footer {
        padding-bottom: 0;
    }
}

@media (max-width: 360px) {
    .golden-footer .golden-footer-logo-link img {
        width: 135px;
        height: 135px;
    }
}

/* GOLDEN FOOTER MOBILE FINISH END */
