/* Custom Elementor Header & Footer
 * Scoped styles only. No global resets, fonts, or third-party dependencies.
 */

.custom-ehf-header,
.custom-ehf-footer {
    box-sizing: border-box;
    width: 100%;
    font-family: inherit;
}

/*
 * Typography isolation layer.
 * Some themes apply very large font sizes to header/footer links using broad
 * selectors (and sometimes !important). These scoped variables keep this
 * plugin predictable without resetting the rest of the site. Elementor writes
 * only the variables below, so responsive font controls remain fully editable.
 */
.custom-ehf-header.custom-ehf-header {
    --custom-ehf-menu-font-size: 15px;
    --custom-ehf-menu-line-height: 1.35;
    --custom-ehf-submenu-font-size: 14px;
    --custom-ehf-cta-font-size: 14px;
    --custom-ehf-cta-line-height: 1.2;
    --custom-ehf-toggle-icon: #fff;
    --custom-ehf-toggle-bg: #e31b16;
    --custom-ehf-toggle-hover-bg: #a71916;
    --custom-ehf-sticky-bg: #fffdf5;
}


.custom-ehf-footer.custom-ehf-footer {
    --custom-ehf-footer-body-size: 15px;
    --custom-ehf-footer-body-line-height: 1.7;
    --custom-ehf-footer-heading-size: 19px;
    --custom-ehf-footer-heading-line-height: 1.45;
    --custom-ehf-footer-heading-font: "El Messiri";
    --custom-ehf-footer-text-font: "Almarai";
    font-family: var(--custom-ehf-footer-text-font, "Almarai"), Tahoma, Arial, sans-serif !important;
}

.custom-ehf-footer.custom-ehf-footer a,
.custom-ehf-footer.custom-ehf-footer button,
.custom-ehf-footer.custom-ehf-footer input,
.custom-ehf-footer.custom-ehf-footer textarea,
.custom-ehf-footer.custom-ehf-footer select {
    font-family: var(--custom-ehf-footer-text-font, "Almarai"), Tahoma, Arial, sans-serif !important;
}

.custom-ehf-header.custom-ehf-header .custom-ehf-header__menu > li > a {
    font-size: var(--custom-ehf-menu-font-size) !important;
    line-height: var(--custom-ehf-menu-line-height) !important;
}

.custom-ehf-header.custom-ehf-header .custom-ehf-header__menu .sub-menu a {
    font-size: var(--custom-ehf-submenu-font-size) !important;
    line-height: var(--custom-ehf-menu-line-height) !important;
}

.custom-ehf-header.custom-ehf-header .custom-ehf-header__cta {
    font-size: var(--custom-ehf-cta-font-size) !important;
    line-height: var(--custom-ehf-cta-line-height) !important;
}

.custom-ehf-header.custom-ehf-header .custom-ehf-header__site-name {
    font-size: 20px !important;
    line-height: 1.2 !important;
}

.custom-ehf-header.custom-ehf-header .custom-ehf-header__editor-note {
    font-size: 13px !important;
    line-height: 1.5 !important;
}

.custom-ehf-footer.custom-ehf-footer .custom-ehf-footer__description,
.custom-ehf-footer.custom-ehf-footer .custom-ehf-footer__menu,
.custom-ehf-footer.custom-ehf-footer .custom-ehf-footer__menu li,
.custom-ehf-footer.custom-ehf-footer .custom-ehf-footer__menu a,
.custom-ehf-footer.custom-ehf-footer .custom-ehf-footer__contact-item,
.custom-ehf-footer.custom-ehf-footer .custom-ehf-footer__contact-item a,
.custom-ehf-footer.custom-ehf-footer .custom-ehf-footer__contact-item span,
.custom-ehf-footer.custom-ehf-footer .custom-ehf-footer__contact-intro,
.custom-ehf-footer.custom-ehf-footer .custom-ehf-footer__contact-label,
.custom-ehf-footer.custom-ehf-footer .custom-ehf-footer__contact-value,
.custom-ehf-footer.custom-ehf-footer .custom-ehf-footer__copyright {
    font-size: var(--custom-ehf-footer-body-size) !important;
    line-height: var(--custom-ehf-footer-body-line-height) !important;
}

.custom-ehf-footer.custom-ehf-footer .custom-ehf-footer__title,
.custom-ehf-footer.custom-ehf-footer .custom-ehf-footer__cta-title,
.custom-ehf-footer.custom-ehf-footer .custom-ehf-footer__site-name {
    font-family: var(--custom-ehf-footer-heading-font, "El Messiri"), Tahoma, Arial, sans-serif !important;
}

.custom-ehf-footer.custom-ehf-footer .custom-ehf-footer__title {
    font-size: var(--custom-ehf-footer-heading-size) !important;
    line-height: var(--custom-ehf-footer-heading-line-height) !important;
}

.custom-ehf-footer.custom-ehf-footer .custom-ehf-footer__cta-eyebrow {
    font-size: 13px !important;
    line-height: 1.4 !important;
}

.custom-ehf-footer.custom-ehf-footer .custom-ehf-footer__cta-title {
    font-size: clamp(22px, 2.3vw, 32px) !important;
    line-height: 1.25 !important;
}

.custom-ehf-footer.custom-ehf-footer .custom-ehf-footer__cta-text,
.custom-ehf-footer.custom-ehf-footer .custom-ehf-footer__cta-button,
.custom-ehf-footer.custom-ehf-footer .custom-ehf-footer__cta-button span {
    font-size: 15px !important;
    line-height: 1.55 !important;
}

.custom-ehf-footer.custom-ehf-footer .custom-ehf-footer__cta-button .custom-ehf-footer__cta-arrow {
    font-size: 18px !important;
    line-height: 1 !important;
}

html[dir="ltr"] .custom-ehf-footer__cta-arrow {
    transform: rotate(180deg);
}

.custom-ehf-footer.custom-ehf-footer .custom-ehf-footer__site-name {
    font-size: 22px !important;
    line-height: 1.2 !important;
}

.custom-ehf-footer.custom-ehf-footer .custom-ehf-footer__social-link,
.custom-ehf-footer.custom-ehf-footer .custom-ehf-footer__social-link i {
    font-size: 16px !important;
    line-height: 1 !important;
}

.custom-ehf-header *,
.custom-ehf-header *::before,
.custom-ehf-header *::after,
.custom-ehf-footer *,
.custom-ehf-footer *::before,
.custom-ehf-footer *::after {
    box-sizing: border-box;
}

.custom-ehf-header {
    position: relative;
    z-index: 90;
    border-bottom: 1px solid rgba(227, 27, 22, .12);
    background: #fffdf5;
}

.custom-ehf-header__sticky-spacer {
    width: 100%;
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    pointer-events: none;
}

/*
 * Robust sticky mode.
 * We switch to fixed only after the original header position leaves the viewport.
 * JS keeps a same-height spacer in the flow, so there is no layout jump. This is
 * more reliable inside Elementor templates than CSS position:sticky, which can
 * be clipped by parent overflow settings.
 */
.custom-ehf-header--sticky.is-fixed {
    position: fixed;
    inset-inline: 0;
    top: 0;
    width: 100%;
    z-index: 9998;
    background: var(--custom-ehf-sticky-bg, #fffdf5);
    animation: customEHFHeaderIn .18s ease both;
}

.custom-ehf-header--sticky-shadow.is-fixed {
    box-shadow: 0 10px 34px rgba(48, 34, 25, .13);
}

.custom-ehf-header--sticky-compact.is-fixed .custom-ehf-header__inner {
    min-height: 66px;
}

.custom-ehf-header--sticky-compact.is-fixed .custom-ehf-header__logo img {
    max-height: 56px;
}

.admin-bar .custom-ehf-header--sticky.is-fixed {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .custom-ehf-header--sticky.is-fixed {
        top: 46px;
    }
}

@keyframes customEHFHeaderIn {
    from { opacity: .96; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.custom-ehf-header__inner {
    width: 100%;
    max-width: 1280px;
    min-height: 78px;
    margin-inline: auto;
    padding-inline: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 24px;
}

.custom-ehf-header__logo {
    display: inline-flex;
    justify-self: start;
    min-width: 0;
    align-items: center;
    line-height: 1;
    text-decoration: none;
}

.custom-ehf-header__logo img {
    display: block;
    width: 74px;
    max-width: 100%;
    max-height: 68px;
    height: auto;
    object-fit: contain;
}

.custom-ehf-header__site-name {
    color: #e31b16;
    font-weight: 800;
    font-size: 20px;
}

.custom-ehf-header__nav {
    min-width: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-ehf-header__actions {
    justify-self: end;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.custom-ehf-header__menu {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.custom-ehf-header__menu li {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.custom-ehf-header__menu a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 44px;
    color: #3c3028;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
    transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.custom-ehf-header__menu > li > a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: #f5cf24;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .18s ease;
}

.custom-ehf-header__menu > li > a:hover::after,
.custom-ehf-header__menu > li > a:focus::after,
.custom-ehf-header__menu > .current-menu-item > a::after,
.custom-ehf-header__menu > .current-menu-ancestor > a::after {
    transform: scaleX(1);
}

.custom-ehf-header__menu a:hover,
.custom-ehf-header__menu a:focus,
.custom-ehf-header__menu .current-menu-item > a,
.custom-ehf-header__menu .current-menu-ancestor > a {
    color: #e31b16;
}

.custom-ehf-header__menu .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-start: 0;
    z-index: 50;
    min-width: 220px;
    margin: 0;
    padding: 8px;
    list-style: none;
    border: 1px solid rgba(35, 29, 25, .08);
    border-top: 3px solid #f5cf24;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(36, 28, 22, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .16s ease, visibility .16s ease, transform .16s ease;
}

.custom-ehf-header__menu .sub-menu .sub-menu {
    top: 0;
    inset-inline-start: 100%;
}

.custom-ehf-header__menu li:hover > .sub-menu,
.custom-ehf-header__menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-ehf-header__menu .sub-menu a {
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 8px;
    white-space: normal;
}

.custom-ehf-header__menu .sub-menu a:hover,
.custom-ehf-header__menu .sub-menu a:focus {
    background: rgba(245, 207, 36, .12);
}

.custom-ehf-header__cta {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 20px;
    border-radius: 10px;
    background: #e31b16;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 8px 22px rgba(227, 27, 22, .18);
    transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.custom-ehf-header__cta--mobile {
    display: none;
}

.custom-ehf-header__cta:hover,
.custom-ehf-header__cta:focus {
    background: #c81310;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(227, 27, 22, .24);
}

/* Mobile hamburger: deliberately isolated from Elementor's global button rules. */
.custom-ehf-header.custom-ehf-header .custom-ehf-header__toggle {
    display: none;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 11px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    border: 2px solid var(--custom-ehf-toggle-bg) !important;
    border-radius: 14px !important;
    outline: 0;
    position: relative !important;
    z-index: 120 !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: var(--custom-ehf-toggle-bg) !important;
    color: var(--custom-ehf-toggle-icon) !important;
    font: inherit !important;
    font-size: 0 !important;
    line-height: 1 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    box-shadow: 0 8px 20px rgba(227, 27, 22, .20) !important;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

.custom-ehf-header.custom-ehf-header .custom-ehf-header__toggle:hover,
.custom-ehf-header.custom-ehf-header .custom-ehf-header__toggle:focus,
.custom-ehf-header.custom-ehf-header .custom-ehf-header__toggle:active {
    border-color: var(--custom-ehf-toggle-hover-bg) !important;
    background: var(--custom-ehf-toggle-hover-bg) !important;
    color: var(--custom-ehf-toggle-icon) !important;
    box-shadow: 0 10px 24px rgba(167, 25, 22, .24) !important;
}

.custom-ehf-header.custom-ehf-header .custom-ehf-header__toggle:active {
    transform: scale(.97);
}

.custom-ehf-header.custom-ehf-header .custom-ehf-header__toggle:focus-visible {
    outline: 3px solid #f5cf24 !important;
    outline-offset: 3px !important;
}

.custom-ehf-header.custom-ehf-header .custom-ehf-header__toggle span {
    display: block;
    width: 100%;
    height: 3px;
    margin: 4px 0;
    border-radius: 999px;
    background: var(--custom-ehf-toggle-icon) !important;
    opacity: 1;
    transition: transform .18s ease, opacity .18s ease;
}

.custom-ehf-header.is-open .custom-ehf-header__toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.custom-ehf-header.is-open .custom-ehf-header__toggle span:nth-child(2) {
    opacity: 0;
}

.custom-ehf-header.is-open .custom-ehf-header__toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.custom-ehf-header__editor-note {
    padding: 10px 14px;
    border: 1px dashed rgba(227, 27, 22, .35);
    border-radius: 8px;
    color: #7b2621;
    font-size: 13px;
}

@media (max-width: 1024px) {
    .custom-ehf-header--break-tablet .custom-ehf-header__inner {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .custom-ehf-header--break-tablet .custom-ehf-header__actions {
        grid-column: 2;
    }

    .custom-ehf-header--break-tablet .custom-ehf-header__cta--desktop {
        display: none;
    }

    .custom-ehf-header--break-tablet .custom-ehf-header__toggle {
        display: block !important;
    }

    .custom-ehf-header--break-tablet .custom-ehf-header__nav {
        position: absolute;
        top: 100%;
        right: 12px;
        left: 12px;
        z-index: 100;
        max-height: min(72vh, 640px);
        margin: 0;
        padding: 14px;
        display: none;
        overflow: auto;
        border: 1px solid rgba(35, 29, 25, .08);
        border-top: 3px solid #f5cf24;
        border-radius: 0 0 16px 16px;
        background: #fffdf5;
        box-shadow: 0 18px 48px rgba(36, 28, 22, .14);
    }

    .custom-ehf-header--break-tablet.is-open .custom-ehf-header__nav {
        display: block;
        animation: customEHFMenuIn .16s ease both;
    }

    .custom-ehf-header--break-tablet .custom-ehf-header__menu {
        display: block;
    }

    .custom-ehf-header--break-tablet .custom-ehf-header__menu > li {
        border-bottom: 1px solid rgba(35, 29, 25, .07);
    }

    .custom-ehf-header--break-tablet .custom-ehf-header__menu > li:last-child {
        border-bottom: 0;
    }

    .custom-ehf-header--break-tablet .custom-ehf-header__menu a {
        min-height: 46px;
        padding: 8px 6px;
        white-space: normal;
    }

    .custom-ehf-header--break-tablet .custom-ehf-header__menu > li > a::after {
        display: none;
    }

    .custom-ehf-header--break-tablet .custom-ehf-header__menu .sub-menu,
    .custom-ehf-header--break-tablet .custom-ehf-header__menu .sub-menu .sub-menu {
        position: static;
        min-width: 0;
        margin: 0 12px 8px;
        padding: 0 12px;
        border: 0;
        border-inline-start: 2px solid #f5cf24;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .custom-ehf-header--break-tablet .custom-ehf-header__cta--mobile {
        display: flex;
        width: 100%;
        margin-top: 12px;
    }
}

@media (max-width: 767px) {
    .admin-bar .custom-ehf-header--sticky {
        top: 46px;
    }

    .custom-ehf-header__inner {
        column-gap: 14px;
    }

    .custom-ehf-header--break-mobile .custom-ehf-header__inner {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .custom-ehf-header--break-mobile .custom-ehf-header__actions {
        grid-column: 2;
    }

    .custom-ehf-header--break-mobile .custom-ehf-header__cta--desktop {
        display: none;
    }

    .custom-ehf-header--break-mobile .custom-ehf-header__toggle {
        display: block !important;
    }

    .custom-ehf-header--break-mobile .custom-ehf-header__nav {
        position: absolute;
        top: 100%;
        right: 12px;
        left: 12px;
        z-index: 100;
        max-height: min(72vh, 640px);
        margin: 0;
        padding: 14px;
        display: none;
        overflow: auto;
        border: 1px solid rgba(35, 29, 25, .08);
        border-top: 3px solid #f5cf24;
        border-radius: 0 0 16px 16px;
        background: #fffdf5;
        box-shadow: 0 18px 48px rgba(36, 28, 22, .14);
    }

    .custom-ehf-header--break-mobile.is-open .custom-ehf-header__nav {
        display: block;
        animation: customEHFMenuIn .16s ease both;
    }

    .custom-ehf-header--break-mobile .custom-ehf-header__menu {
        display: block;
    }

    .custom-ehf-header--break-mobile .custom-ehf-header__menu > li {
        border-bottom: 1px solid rgba(35, 29, 25, .07);
    }

    .custom-ehf-header--break-mobile .custom-ehf-header__menu > li:last-child {
        border-bottom: 0;
    }

    .custom-ehf-header--break-mobile .custom-ehf-header__menu a {
        min-height: 46px;
        padding: 8px 6px;
        white-space: normal;
    }

    .custom-ehf-header--break-mobile .custom-ehf-header__menu > li > a::after {
        display: none;
    }

    .custom-ehf-header--break-mobile .custom-ehf-header__menu .sub-menu,
    .custom-ehf-header--break-mobile .custom-ehf-header__menu .sub-menu .sub-menu {
        position: static;
        min-width: 0;
        margin: 0 12px 8px;
        padding: 0 12px;
        border: 0;
        border-inline-start: 2px solid #f5cf24;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .custom-ehf-header--break-mobile .custom-ehf-header__cta--mobile {
        display: flex;
        width: 100%;
        margin-top: 12px;
    }
}

@keyframes customEHFMenuIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer */
.custom-ehf-footer {
    position: relative;
    overflow: hidden;
    border-top: 3px solid #e31b16;
    background:
        radial-gradient(circle at 8% 16%, rgba(245, 207, 36, .055), transparent 25%),
        radial-gradient(circle at 92% 78%, rgba(227, 27, 22, .075), transparent 28%),
        linear-gradient(135deg, #211f1d 0%, #28231f 58%, #2c211e 100%);
    color: #f2ede7;
}

.custom-ehf-footer::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 207, 36, .35), transparent);
    pointer-events: none;
}

.custom-ehf-footer::after {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    bottom: -245px;
    inset-inline-start: -165px;
    border: 1px solid rgba(245, 207, 36, .06);
    border-radius: 50%;
    pointer-events: none;
}

.custom-ehf-footer__cta-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 24px 0;
}

.custom-ehf-footer__cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    padding: 24px 26px;
    border: 1px solid rgba(245, 207, 36, .24);
    border-radius: 20px;
    background: linear-gradient(135deg, #a71916, #e31b16);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .16);
}

.custom-ehf-footer__cta::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 190px;
    height: 190px;
    top: -118px;
    inset-inline-end: -48px;
    border: 30px solid rgba(245, 207, 36, .16);
    border-radius: 50%;
}

.custom-ehf-footer__cta::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 74px;
    height: 74px;
    bottom: -43px;
    inset-inline-start: 34%;
    border: 15px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
}

.custom-ehf-footer__cta-content {
    min-width: 0;
    max-width: 760px;
}

.custom-ehf-footer__cta-eyebrow {
    display: inline-block;
    margin-bottom: 6px;
    color: #f5cf24;
    font-weight: 800;
    letter-spacing: .01em;
}

.custom-ehf-footer__cta-title {
    margin: 0;
    color: #fff;
    font-weight: 900;
}

.custom-ehf-footer__cta-text {
    max-width: 680px;
    margin: 7px 0 0;
    color: #fff;
    opacity: .92;
}

.custom-ehf-footer__cta-button {
    flex: 0 0 auto;
    min-height: 48px;
    padding: 11px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 13px;
    background: #f5cf24;
    color: #2b211b !important;
    font-weight: 900;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.custom-ehf-footer__cta-button:hover,
.custom-ehf-footer__cta-button:focus-visible {
    color: #2b211b !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
    filter: brightness(1.04);
}

.custom-ehf-footer__cta-arrow {
    line-height: 1 !important;
}

.custom-ehf-footer__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding: 36px 24px 28px;
    display: grid;
    grid-template-columns: minmax(250px, .92fr) minmax(500px, 1.85fr) minmax(300px, 1.08fr);
    grid-template-areas: "brand nav contact";
    align-items: stretch;
    gap: 18px;
}

.custom-ehf-footer__brand,
.custom-ehf-footer__column,
.custom-ehf-footer__navigation {
    min-width: 0;
}

.custom-ehf-footer__brand-panel,
.custom-ehf-footer__navigation,
.custom-ehf-footer__contact {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    border: 1px solid rgba(255, 255, 255, .075);
    border-radius: 22px;
    background: rgba(255, 255, 255, .035);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 14px 32px rgba(0, 0, 0, .055);
}

.custom-ehf-footer__brand-panel::before,
.custom-ehf-footer__navigation::before,
.custom-ehf-footer__contact::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline-start: 22px;
    width: 54px;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, #e31b16 0 58%, #f5cf24 58% 100%);
}

.custom-ehf-footer__brand-panel {
    grid-area: brand;
    padding: 24px;
}

.custom-ehf-footer__navigation {
    grid-area: nav;
    padding: 24px;
    display: grid;
    grid-template-columns: minmax(150px, .72fr) minmax(290px, 1.55fr);
    gap: 26px;
}

.custom-ehf-footer__contact {
    grid-area: contact;
    padding: 24px;
}

.custom-ehf-footer__links-column {
    min-width: 0;
}

.custom-ehf-footer__links-column--services {
    padding-inline-start: 22px;
    border-inline-start: 1px solid rgba(255, 255, 255, .07);
}

.custom-ehf-footer__logo {
    width: 104px;
    min-height: 104px;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin-bottom: 16px;
    border: 1px solid rgba(245, 207, 36, .22);
    border-radius: 22px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
    text-decoration: none;
}

.custom-ehf-footer__logo img {
    display: block;
    width: 88px;
    max-width: 100%;
    max-height: 88px;
    height: auto;
    object-fit: contain;
}

.custom-ehf-footer__site-name {
    color: #a71916;
    font-weight: 900;
    text-align: center;
}

.custom-ehf-footer__description {
    max-width: 360px;
    margin: 0;
    color: #f2ede7;
}

.custom-ehf-footer__title {
    position: relative;
    margin: 0 0 18px;
    padding-bottom: 11px;
    color: #f5cf24;
    font-weight: 900;
}

.custom-ehf-footer__title::after {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 42px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #e31b16 0 64%, #f5cf24 64% 100%);
}

.custom-ehf-footer__menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.custom-ehf-footer__menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.custom-ehf-footer a {
    color: #fff;
    text-decoration: none;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.custom-ehf-footer__menu a {
    width: 100%;
    min-width: 0;
    min-height: 34px;
    padding: 5px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #f7f3ef;
    white-space: normal;
}

.custom-ehf-footer__menu a::before {
    content: "";
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    border-radius: 50%;
    background: #f5cf24;
    box-shadow: 0 0 0 3px rgba(245, 207, 36, .08);
}

.custom-ehf-footer__menu a:hover,
.custom-ehf-footer__menu a:focus-visible {
    color: #fff;
    border-color: rgba(245, 207, 36, .15);
    background: rgba(255, 255, 255, .05);
    transform: translateY(-1px);
}

.custom-ehf-footer__menu--quick {
    display: grid;
    gap: 3px;
}

.custom-ehf-footer__menu--dense,
.custom-ehf-footer__menu--services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 2px;
}

.custom-ehf-footer__menu--dense li,
.custom-ehf-footer__menu--services li {
    min-width: 0;
}

.custom-ehf-footer__contact-intro {
    margin: -4px 0 16px;
    color: #ded7d0;
}

.custom-ehf-footer__contact-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.custom-ehf-footer__contact-card--address {
    grid-column: 1 / -1;
}

.custom-ehf-footer__contact-card {
    min-width: 0;
    min-height: 66px;
    padding: 10px 11px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, .075);
    border-radius: 14px;
    background: rgba(255, 255, 255, .045);
    color: #fff;
}

.custom-ehf-footer a.custom-ehf-footer__contact-card:hover,
.custom-ehf-footer a.custom-ehf-footer__contact-card:focus-visible {
    border-color: rgba(245, 207, 36, .28);
    background: rgba(255, 255, 255, .075);
    color: #fff;
    transform: translateY(-1px);
}

.custom-ehf-footer__contact-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(245, 207, 36, .16);
    border-radius: 11px;
    background: rgba(245, 207, 36, .10);
    color: #f5cf24;
}

.custom-ehf-footer__contact-icon svg {
    display: block;
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.custom-ehf-footer__contact-copy {
    min-width: 0;
    flex: 1 1 auto;
    display: grid;
    gap: 1px;
}

.custom-ehf-footer__contact-label {
    color: #c8c0b9;
    font-weight: 700;
}

.custom-ehf-footer__contact-value {
    color: #fff;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.custom-ehf-footer__contact-card--address .custom-ehf-footer__contact-value {
    font-weight: 600;
}

.custom-ehf-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.custom-ehf-footer__social-link {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.custom-ehf-footer__social-link:hover,
.custom-ehf-footer__social-link:focus-visible {
    border-color: rgba(245, 207, 36, .32);
    background: rgba(245, 207, 36, .10);
    color: #f5cf24;
    transform: translateY(-2px);
}

.custom-ehf-footer__social-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.custom-ehf-footer__bottom {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, .06);
    background: rgba(15, 14, 13, .58);
}

.custom-ehf-footer__bottom-inner {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding: 14px 24px;
}

.custom-ehf-footer__bottom-mark {
    position: absolute;
    top: -2px;
    left: 50%;
    width: 68px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #e31b16 0 58%, #f5cf24 58% 100%);
    transform: translateX(-50%);
}

.custom-ehf-footer__copyright {
    margin: 0;
    color: #e8e1da;
    text-align: center;
}

@media (max-width: 1150px) {
    .custom-ehf-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "brand contact"
            "nav nav";
        gap: 18px;
    }

    .custom-ehf-footer__navigation {
        grid-template-columns: minmax(160px, .62fr) minmax(360px, 1.55fr);
    }
}

@media (max-width: 767px) {
    .custom-ehf-footer__cta-wrap {
        padding: 22px 14px 0;
    }

    .custom-ehf-footer__cta {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
        padding: 22px 18px;
        border-radius: 18px;
        text-align: center;
    }

    .custom-ehf-footer__cta-button {
        width: 100%;
    }

    .custom-ehf-footer__inner {
        width: min(100%, 620px);
        grid-template-columns: 1fr;
        grid-template-areas:
            "brand"
            "nav"
            "contact";
        gap: 14px;
        padding: 28px 14px 24px;
    }

    .custom-ehf-footer__brand-panel,
    .custom-ehf-footer__navigation,
    .custom-ehf-footer__contact {
        width: 100%;
        margin-inline: auto;
        border-radius: 18px;
        text-align: center;
    }

    .custom-ehf-footer__brand-panel,
    .custom-ehf-footer__contact,
    .custom-ehf-footer__navigation {
        padding: 20px 16px;
    }

    .custom-ehf-footer__navigation {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .custom-ehf-footer__links-column--services {
        padding-inline-start: 0;
        padding-top: 20px;
        border-inline-start: 0;
        border-top: 1px solid rgba(255, 255, 255, .07);
    }

    .custom-ehf-footer__brand-panel::before,
    .custom-ehf-footer__navigation::before,
    .custom-ehf-footer__contact::before {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .custom-ehf-footer__logo {
        margin-inline: auto;
    }

    .custom-ehf-footer__description,
    .custom-ehf-footer__contact-intro {
        margin-inline: auto;
    }

    .custom-ehf-footer__title::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .custom-ehf-footer__menu--quick {
        width: min(100%, 360px);
        margin-inline: auto;
    }

    .custom-ehf-footer__menu--services,
    .custom-ehf-footer__menu--dense {
        width: min(100%, 540px);
        margin-inline: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px 8px;
    }

    .custom-ehf-footer__menu a {
        justify-content: center;
        text-align: center;
    }

    .custom-ehf-footer__contact-list {
        width: min(100%, 480px);
        margin-inline: auto;
        grid-template-columns: 1fr;
    }

    .custom-ehf-footer__contact-card--address {
        grid-column: auto;
    }

    .custom-ehf-footer__contact-copy {
        text-align: center;
    }

    .custom-ehf-footer__social {
        justify-content: center;
    }

    .custom-ehf-footer__bottom-inner {
        padding: 14px 16px;
    }
}

@media (max-width: 480px) {
    .custom-ehf-footer__menu--services,
    .custom-ehf-footer__menu--dense {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 4px;
    }

    .custom-ehf-footer__menu a {
        min-height: 36px;
        padding-inline: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .custom-ehf-header *,
    .custom-ehf-footer * {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
