/* Site-wide footer + newsletter — Ghasum 2026 */

:root {
    --gh-red: #e11d2e;
    --gh-red-dark: #b91220;
    --gh-ink: #0e1014;
    --gh-mute: #5a616c;
    --gh-line: #d5d9e0;
    --gh-white: #ffffff;
    --gh-display: "Barlow Condensed", "Spartan", sans-serif;
    --gh-body: "Manrope", "Spartan", sans-serif;
}

.gh-footer-wrap,
.gh-footer-wrap * { box-sizing: border-box; }
.gh-footer-wrap a { color: inherit; text-decoration: none; }
.gh-footer-wrap img { display: block; max-width: 100%; }

.gh-container {
    width: min(100% - 48px, 1180px);
    margin-inline: auto;
}

.gh-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Newsletter band */
.gh-newsletter {
    color: var(--gh-white);
    background:
        linear-gradient(135deg, #0e1014 0%, #1a1f28 55%, #12151c 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.gh-newsletter__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    padding: 48px 0;
}
.gh-newsletter__eyebrow {
    margin: 0 0 10px;
    font-family: var(--gh-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ff7a84;
}
.gh-newsletter__copy h2 {
    margin: 0 0 10px;
    max-width: 22ch;
    font-family: var(--gh-display);
    font-size: clamp(28px, 3.5vw, 40px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--gh-white);
}
.gh-newsletter__copy p {
    margin: 0;
    max-width: 42ch;
    color: rgba(255, 255, 255, 0.62);
    font-family: var(--gh-body);
    font-size: 15px;
    line-height: 1.65;
}
.gh-newsletter__form {
    width: 100%;
    max-width: 520px;
    margin-left: auto;
}
.gh-newsletter__field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 2px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}
.gh-newsletter__form input[type="email"],
.gh-newsletter__field input[type="email"] {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 52px !important;
    height: 52px !important;
    padding: 0 18px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--gh-white) !important;
    font-family: var(--gh-body) !important;
    font-size: 15px !important;
    line-height: 52px !important;
    display: block !important;
    position: static !important;
    box-shadow: none !important;
}
.gh-newsletter__form input[type="email"]::placeholder,
.gh-newsletter__field input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
}
.gh-newsletter__form input[type="email"]:focus,
.gh-newsletter__field input[type="email"]:focus {
    outline: none !important;
    background: rgba(255, 255, 255, 0.06) !important;
}
.gh-newsletter__form input[type="submit"],
.gh-newsletter__field input[type="submit"] {
    width: auto !important;
    min-width: 130px !important;
    max-width: none !important;
    min-height: 52px !important;
    height: 52px !important;
    padding: 0 24px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--gh-red) !important;
    color: var(--gh-white) !important;
    font-family: var(--gh-display) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    line-height: 52px !important;
    cursor: pointer !important;
    position: static !important;
    display: inline-block !important;
    transition: background .2s ease;
    box-shadow: none !important;
}
.gh-newsletter__form input[type="submit"]:hover,
.gh-newsletter__field input[type="submit"]:hover {
    background: var(--gh-red-dark) !important;
}
.gh-newsletter__form input[type="submit"]:disabled,
.gh-newsletter__field input[type="submit"]:disabled {
    opacity: 0.7;
    cursor: wait;
}

/* Footer */
.gh-footer {
    color: rgba(255, 255, 255, 0.62);
    background: #0a0b0e;
    font-family: var(--gh-body);
}
.gh-footer__top {
    padding: 72px 0 56px;
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 40px;
}
.gh-footer__brand img {
    width: 168px;
    height: auto;
    margin-bottom: 22px;
}
.gh-footer__brand p,
.gh-footer__top > div:last-child p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
}
.gh-footer h3 {
    margin: 0 0 18px;
    color: var(--gh-white);
    font-family: var(--gh-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.gh-footer__top > div:not(.gh-footer__brand) > a {
    display: block;
    margin: 0 0 12px;
    font-size: 13px;
    transition: color .2s ease;
}
.gh-footer__top a:hover { color: var(--gh-white); }
.gh-footer__social {
    display: flex;
    gap: 8px;
    margin-top: 22px;
}
.gh-footer__social a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    color: var(--gh-white);
}
.gh-footer__social a:hover {
    background: var(--gh-red);
    border-color: var(--gh-red);
}
.gh-footer__bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.gh-footer__bottom .gh-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gh-whatsapp {
    position: fixed;
    z-index: 120;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--gh-white) !important;
    background: #1fae5b;
    font-size: 24px;
    box-shadow: 0 8px 24px rgba(14, 16, 20, 0.18);
    transition: transform .25s ease, box-shadow .25s ease;
}
.gh-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(14, 16, 20, 0.22);
}

/* Back-to-top + WhatsApp — aligned vertical stack */
body.footer_sticky_body:has(.gh-whatsapp) .prgoress_indicator {
    right: 20px;
    bottom: calc(20px + 50px + 12px);
    width: 50px;
    height: 50px;
    z-index: 100000;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(14, 16, 20, 0.12), inset 0 0 0 2px rgba(225, 29, 46, 0.28);
}

body.footer_sticky_body:has(.gh-whatsapp) .prgoress_indicator::after,
body.footer_sticky_body:has(.gh-whatsapp) .prgoress_indicator::before {
    width: 50px;
    height: 50px;
    line-height: 50px;
    color: #e11d2e;
}

body.footer_sticky_body:has(.gh-whatsapp) .prgoress_indicator svg.progress-circle {
    width: 50px;
    height: 50px;
}

body.footer_sticky_body:has(.gh-whatsapp) .prgoress_indicator.active-progress {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Creote pages: offset sticky theme footer overlap */
body.footer_sticky_body .gh-footer-wrap {
    position: relative;
    z-index: 2;
}

@media (max-width: 1100px) {
    .gh-newsletter__inner { grid-template-columns: 1fr; gap: 28px; }
    .gh-footer__top { grid-template-columns: 1.3fr repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .gh-newsletter__inner { padding: 40px 0; }
    .gh-newsletter__form { max-width: none; margin-left: 0; }
    .gh-newsletter__field {
        grid-template-columns: 1fr;
        border: 0;
        background: transparent;
        gap: 10px;
        overflow: visible;
    }
    .gh-newsletter__form input[type="email"],
    .gh-newsletter__field input[type="email"] {
        border: 1px solid rgba(255, 255, 255, 0.18) !important;
        border-radius: 2px !important;
        background: rgba(255, 255, 255, 0.04) !important;
    }
    .gh-newsletter__form input[type="submit"],
    .gh-newsletter__field input[type="submit"] {
        width: 100% !important;
        border-radius: 2px !important;
    }
    .gh-footer { padding-bottom: 70px; }
    .gh-footer__top {
        padding-block: 56px 44px;
        grid-template-columns: repeat(2, 1fr);
        gap: 36px 20px;
    }
    .gh-footer__brand { grid-column: 1 / -1; }
    .gh-footer__bottom .gh-container {
        display: grid;
        text-align: center;
    }
    .gh-whatsapp {
        right: 16px;
        bottom: 16px;
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    body.footer_sticky_body:has(.gh-whatsapp) .prgoress_indicator {
        right: 16px;
        bottom: calc(16px + 48px + 10px);
        width: 46px;
        height: 46px;
    }

    body.footer_sticky_body:has(.gh-whatsapp) .prgoress_indicator::after,
    body.footer_sticky_body:has(.gh-whatsapp) .prgoress_indicator::before {
        width: 46px;
        height: 46px;
        line-height: 46px;
    }

    body.footer_sticky_body:has(.gh-whatsapp) .prgoress_indicator svg.progress-circle {
        width: 46px;
        height: 46px;
    }

    body.footer_sticky_body:has(.gh-mobile-cta) .gh-whatsapp {
        bottom: calc(16px + 58px);
    }

    body.footer_sticky_body:has(.gh-mobile-cta) .prgoress_indicator {
        bottom: calc(16px + 58px + 48px + 10px);
    }
}

@media (max-width: 480px) {
    .gh-footer__top { grid-template-columns: 1fr; }
}
