/* =========================================================
HEADER
========================================================= */
.site-header {
    width: 100%;
    background: #f7f6f3;
    /* border-bottom: 1px solid #eeeeee; */
    position: relative;
    z-index: 1000;
}

.site-header .navbar {
    width: 100%;
    padding: 0;
}

.header-container {
    width: 100%;
    max-width: 1440px;
    min-height: 96px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
}


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

.logo-wrapper {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0 !important;
    text-decoration: none !important;
    margin-left: 95px;
}

@media (max-width: 1199.98px) {
    .logo-wrapper {
        margin-left: 0;
    }
}

.logo-icon {
    width: 86px;
    height: 86px;
    flex: 0 0 86px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.logo-icon img {
    display: block;
    max-width: none;
    max-height: none;
    object-fit: contain;
}


/* =========================================================
NAVBAR COLLAPSE
========================================================= */

.navbar-collapse {
    flex: 1 1 auto;
    min-width: 0;
    align-items: center;
}


/* =========================================================
MAIN MENU
========================================================= */
.main-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    min-width: 0;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-menu .nav-item {
    flex: 0 0 auto;
}

.main-menu .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 10px !important;
    color: #222222 !important;
    font-family: "Figtree", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    border-radius: 5px;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.main-menu .nav-link:hover,
.main-menu .nav-link:focus,
.main-menu .nav-link.active {
    color: #c91f29 !important;
}

.main-menu .mega-menu-item.active .mega-menu-title,
.main-menu .dropdown-item.active,
.main-menu .dropdown-item.active .fw-bold {
    color: #c91f29;
}

.main-menu .dropdown-item.active {
    background-color: transparent;
}


/* =========================================================
DROPDOWN ARROW
========================================================= */

.main-menu .dropdown-toggle::after {
    margin-left: 6px;
    border-top-width: 4px;
    border-right-width: 4px;
    border-left-width: 4px;
}


/* =========================================================
SIMPLE DROPDOWN
========================================================= */
.simple-dropdown {
    min-width: 280px;
    margin-top: 10px !important;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.10);
    z-index: 1050;
}

.simple-dropdown .dropdown-item {
    padding: 12px 16px;
    color: #333333;
    font-family: "Figtree", sans-serif;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.simple-dropdown .dropdown-item small {
    font-size: 13px;
    margin-top: 2px;
}

.simple-dropdown .dropdown-item:hover {
    color: #c91f29;
    background: #fff5f5;
}


/* =========================================================
SOLUTIONS MEGA MENU
========================================================= */

.mega-menu-parent {
    position: static;
}

.mega-menu-parent>.mega-menu {
    position: absolute;
    top: calc(100% + -12px);
    left: 50%;
    width: min(720px, calc(100vw - 60px));
    margin: 0 !important;
    padding: 0;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.11);
    transform: translateX(-50%);
    overflow: hidden;
    z-index: 1050;
}


/* =========================================================
MEGA MENU INNER
========================================================= */

.mega-menu-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    padding: 10px;
}


/* =========================================================
MEGA MENU COLUMN
========================================================= */

.mega-menu-column {
    min-width: 0;
}

.mega-menu-column+.mega-menu-column {
    padding-left: 30px;
    border-left: 1px solid #eeeeee;
}


/* =========================================================
MEGA MENU HEADING
========================================================= */

.mega-menu-heading {
    margin: 0 0 14px;
    color: #777777;
    font-family: "Figtree", sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}


/* =========================================================
MEGA MENU ITEM
========================================================= */

.mega-menu-item {
    display: flex;
    align-items: flex-start;
    width: 100%;
    padding: 14px;
    color: #222222;
    text-decoration: none;
    border-radius: 8px;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.mega-menu-item+.mega-menu-item {
    margin-top: 5px;
}

.mega-menu-item:hover,
.mega-menu-item:active {
    background: #fff6f6;
    transform: translateX(2px);
}


/* =========================================================
MEGA MENU ICON
========================================================= */
.mega-menu-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    background: #fff1f1;
    border-radius: 8px;
}


.mega-menu-item:hover .mega-menu-icon,
.mega-menu-icon:active {
    background: #c91f29;
}

.mega-menu-icon img {
    display: block;
    width: 27px;
    height: 27px;
    object-fit: contain;
}


/* =========================================================
MEGA MENU CONTENT
========================================================= */
.mega-menu-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mega-menu-title {
    color: #222222;
    font-family: "Figtree", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.mega-menu-item:hover .mega-menu-title {
    color: #c91f29;
}

.mega-menu-item:hover .mega-menu-title {
    color: #c91f29;
}

.mega-menu-description {
    margin-top: 5px;
    color: #777777;
    font-family: "Figtree", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}


/* =========================================================
CALLBACK BUTTON
========================================================= */
.header-cta {
    flex: 0 0 auto;
    margin-left: 18px;
}

.callback-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 44px;
    padding: 0 15px;
    color: #ffffff !important;
    background: #c91f29;
    border-radius: 6px;
    text-decoration: none !important;
    font-family: "Figtree", sans-serif;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.callback-btn:hover {
    color: #ffffff !important;
    background: #a91821;
    transform: translateY(-1px);
}


/* =========================================================
HAMBURGER
========================================================= */
.navbar-toggler {
    display: none;
    width: 44px;
    height: 44px;
    padding: 8px;
    margin-left: auto;
    background: #ffffff;
    border: 1px solid #dddddd !important;
    border-radius: 6px;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none !important;
}

.navbar-toggler-icon {
    width: 24px;
    height: 24px;
}


/* =========================================================
LARGE DESKTOP
1400px+
========================================================= */
@media (min-width: 1400px) {
    .header-container {
        max-width: 1440px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .logo-icon {
        width: 88px;
        height: 88px;
        flex-basis: 88px;
    }

    .main-menu .nav-link {
        padding-left: 11px !important;
        padding-right: 11px !important;
        /* font-size: 14px; */
    }

    .header-cta {
        margin-left: 20px;
    }

}


/* =========================================================
DESKTOP / LAPTOP
1200px - 1399px
========================================================= */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .header-container {
        min-height: 90px;
        padding-left: 22px;
        padding-right: 22px;
    }

    .logo-icon {
        width: 76px;
        height: 76px;
        flex-basis: 76px;
    }

    .main-menu .nav-link {
        padding-left: 10px !important;
        padding-right: 10px !important;
        font-size: 15px;
        font-weight: 600;
    }

    .header-cta {
        margin-left: 10px;
    }

    .callback-btn {
        width: 155px;
        height: 42px;
        font-size: 15px !important;
    }

    /* .mega-menu-parent>.mega-menu {
        width: min(850px, calc(100vw - 44px));
    } */
    .mega-menu-parent>.mega-menu {
        position: absolute;
        top: calc(100% + 1px);
        left: 50%;
        width: min(720px, calc(100vw - 60px)) !important;
        margin: 0 !important;
        padding: 0;
        background: #ffffff;
        border: 1px solid #eeeeee;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.11);
        transform: translateX(-50%);
        overflow: hidden;
        z-index: 1050;
    }

    .mega-menu-inner {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px !important;
        padding: 10px !important;
    }

    .mega-menu-item {
        display: flex;
        align-items: flex-start;
        width: 100%;
        padding: 10px !important;
        color: #222222;
        text-decoration: none;
        border-radius: 8px;
        transition: background-color 0.2s ease, transform 0.2s ease;
    }

    .logo-icon img {
        display: block;
        max-width: none;
        max-height: none;
        object-fit: contain;
        width: 230px !important;
    }
}


/* =========================================================
TABLET
768px - 1199px
========================================================= */
@media (max-width: 1199.98px) {
    .header-container {
        min-height: 82px;
        padding-left: 24px;
        padding-right: 24px;
        flex-wrap: wrap;
    }


    /* -----------------------------------------
    LOGO
    ----------------------------------------- */
    .logo-icon {
        width: auto;
        height: 50px;
        flex-basis: auto;
    }

    .logo-icon img {
        width: auto;
        height: 100%;
        object-fit: contain;
    }


    /* -----------------------------------------
    TOGGLE
    ----------------------------------------- */
    .navbar-toggler {
        display: flex;
        align-items: center;
        justify-content: center;
    }


    /*
    Do not use display:none/block here.
    Bootstrap controls the collapse.
    */
    .navbar-collapse {
        width: 100%;
        flex-basis: 100%;
        padding-top: 12px;
        padding-bottom: 20px;
        border-top: 1px solid #eeeeee;
    }


    /* -----------------------------------------
    MENU
    ----------------------------------------- */
    .main-menu {
        display: block;
        width: 100%;
        margin: 0;
    }

    .main-menu .nav-item {
        width: 100%;
    }

    .main-menu .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 46px;
        padding: 12px 10px !important;
        font-size: 15px;
        text-align: left;
        border-radius: 5px;
    }

    .main-menu .nav-link:hover {
        background: #fafafa;
    }


    /* -----------------------------------------
    MEGA MENU
    ----------------------------------------- */
    .mega-menu-parent {
        position: relative;
    }

    .mega-menu-parent>.mega-menu {
        position: static;
        width: 100%;
        margin: 0 !important;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: #fafafa;
        box-shadow: none;
        transform: none;
        overflow: visible;
    }

    .mega-menu-inner {
        display: block;
        padding: 8px 0 8px 12px;
    }

    .mega-menu-column {
        width: 100%;
    }

    .mega-menu-column+.mega-menu-column {
        margin-top: 8px;
        padding: 12px 0 0;
        border-top: 1px solid #eeeeee;
        border-left: 0;
    }

    .mega-menu-heading {
        margin: 5px 8px 6px;
        font-size: 11px;
    }

    .mega-menu-item {
        padding: 11px 10px;
    }

    .mega-menu-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        margin-right: 12px;
    }

    .mega-menu-icon img {
        width: 24px;
        height: 24px;
    }

    .mega-menu-title {
        font-size: 14px;
    }

    .mega-menu-description {
        font-size: 12px;
    }


    /* -----------------------------------------
    SIMPLE DROPDOWN
    ----------------------------------------- */

    .simple-dropdown {
        position: static !important;
        width: 100%;
        margin: 0 !important;
        padding: 4px 0 4px 12px;
        border: 0 !important;
        border-radius: 0 !important;
        background: #fafafa;
        box-shadow: none !important;
    }

    .simple-dropdown .dropdown-item {
        padding: 11px 18px;
        font-size: 14px;
    }


    /* -----------------------------------------
    CTA
    ----------------------------------------- */
    .header-cta {
        width: 100%;
        margin: 14px 0 0;
    }

    .callback-btn {
        width: 100%;
        height: 46px;
    }

}


/* =========================================================
MOBILE
576px - 767px
========================================================= */
@media (max-width: 767.98px) {
    .header-container {
        min-height: 74px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .logo-icon {
        width: auto;
        height: 46px;
        flex-basis: auto;
    }

    .logo-icon img {
        width: 250px !important;
        height: 100%;
        object-fit: contain;
    }

    .navbar-toggler {
        width: 42px;
        height: 42px;
        padding: 7px;
    }

    .navbar-collapse {
        padding-top: 10px;
        padding-bottom: 18px;
    }

    .main-menu .nav-link {
        min-height: 44px;
        padding: 11px 7px !important;
        font-size: 15px;
    }


    .mega-menu-inner {
        padding-left: 4px;
    }

    .mega-menu-item {
        padding: 10px 6px;
    }

    .site-header .navbar {
        width: 100%;
        padding: 0;
        margin-top: 25px !important;
    }

}


/* =========================================================
SMALL MOBILE
421px - 575px
========================================================= */
@media (max-width: 575.98px) {

    .header-container {
        min-height: 70px;
        padding-left: 13px;
        padding-right: 13px;
    }


    .logo-icon {
        width: auto;
        height: 42px;
        flex-basis: auto;
    }

    .logo-icon img {
        width: 250px !important;
        height: 100%;
        object-fit: contain;
    }

    .navbar-toggler {
        width: 41px;
        height: 41px;
    }


    .mega-menu-title {
        font-size: 14px;
    }

    .mega-menu-description {
        font-size: 11.5px;
    }

    .site-header .navbar {
        width: 100%;
        padding: 0;
        margin-top: 25px !important;
    }

}


/* =========================================================
VERY SMALL MOBILE
350px - 420px
========================================================= */

@media (max-width: 420px) {
    .header-container {
        min-height: 66px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .logo-icon {
        width: auto;
        height: 40px;
        flex-basis: auto;
    }

    .navbar-toggler {
        width: 39px;
        height: 39px;
        padding: 6px;
    }

    .navbar-toggler-icon {
        width: 22px;
        height: 22px;
    }

    .main-menu .nav-link {
        font-size: 14px;
    }

    .mega-menu-item {
        padding: 9px 4px;
    }

    .mega-menu-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        margin-right: 10px;
    }

    .mega-menu-icon img {
        width: 22px;
        height: 22px;
    }


    .mega-menu-title {
        font-size: 13px;
    }

    .mega-menu-description {
        font-size: 11px;
        line-height: 1.4;
    }

}


/* =========================================================
EXTREMELY SMALL MOBILE
<= 350px
========================================================= */
@media (max-width: 350px) {
    .header-container {
        padding-left: 8px;
        padding-right: 8px;
    }

    .logo-icon {
        width: auto;
        height: 38px;
        flex-basis: auto;
    }

    .navbar-toggler {
        width: 37px;
        height: 37px;
        padding: 5px;
    }

    .main-menu .nav-link {
        font-size: 16px;
    }

    .mega-menu-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        margin-right: 8px;
    }

    .mega-menu-icon img {
        width: 19px;
        height: 19px;
    }

    .mega-menu-title {
        font-size: 15px;
    }

    .mega-menu-description {
        font-size: 13px;
    }

    .logo-icon img {
        width: auto;
        height: 100%;
        object-fit: contain;
    }
}

.mega-menu-icon-origination {
    background-image: url("/images/icons/dark-icon/origination-tpo-intake.webp");
    background-size: inherit;
    background-repeat: no-repeat;
    background-position: center;
}

.mega-menu-item:hover .mega-menu-icon-origination {
    background-image: url("/images/icons/light-icon/origination-tpo-intake.webp");
    background-size: inherit;
    background-repeat: no-repeat;
    background-position: center;
}


.mega-menu-icon-closing-post-closing {
    background-image: url("/images/icons/dark-icon/closing-post-closing.webp");
    background-size: inherit;
    background-repeat: no-repeat;
    background-position: center;
}

.mega-menu-item:hover .mega-menu-icon-closing-post-closing {
    background-image: url("/images/icons/light-icon/closing-post-closing.webp");
    background-size: inherit;
    background-repeat: no-repeat;
    background-position: center;
}


.mega-menu-icon-title-settlement-support {
    background-image: url("/images/icons/dark-icon/title-settlement-support.webp");
    background-size: inherit;
    background-repeat: no-repeat;
    background-position: center;
}

.mega-menu-item:hover .mega-menu-icon-title-settlement-support {
    background-image: url("/images/icons/light-icon/title-settlement-support.webp");
    background-size: inherit;
    background-repeat: no-repeat;
    background-position: center;
}


.mega-menu-icon-bi-analytics {
    background-image: url("/images/icons/dark-icon/bi-analytics.webp");
    background-size: inherit;
    background-repeat: no-repeat;
    background-position: center;
}

.mega-menu-item:hover .mega-menu-icon-bi-analytics {
    background-image: url("/images/icons/light-icon/bi-analytics.webp");
    background-size: inherit;
    background-repeat: no-repeat;
    background-position: center;
}


.mega-menu-icon-underwriting-loan-processing {
    background-image: url("/images/icons/dark-icon/underwriting-loan-processing.webp");
    background-size: inherit;
    background-repeat: no-repeat;
    background-position: center;
}

.mega-menu-item:hover .mega-menu-icon-underwriting-loan-processing {
    background-image: url("/images/icons/light-icon/underwriting-loan-processing.webp");
    background-size: inherit;
    background-repeat: no-repeat;
    background-position: center;
}


.mega-menu-icon-qaqc-compliance {
    background-image: url("/images/icons/dark-icon/qaqc-compliance.webp");
    background-size: inherit;
    background-repeat: no-repeat;
    background-position: center;
}

.mega-menu-item:hover .mega-menu-icon-qaqc-compliance {
    background-image: url("/images/icons/light-icon/qaqc-compliance.webp");
    background-size: inherit;
    background-repeat: no-repeat;
    background-position: center;
}


.mega-menu-icon-appraisal-support {
    background-image: url("/images/icons/dark-icon/appraisal-support.webp");
    background-size: inherit;
    background-repeat: no-repeat;
    background-position: center;
}

.mega-menu-item:hover .mega-menu-icon-appraisal-support {
    background-image: url("/images/icons/light-icon/appraisal-support.webp");
    background-size: inherit;
    background-repeat: no-repeat;
    background-position: center;
}


/* separator + view-all footer */
.dd-footer {
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 1px solid rgba(81, 82, 87, 0.2);
    display: flex;
    justify-content: center;
}

.dd-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Figtree', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #c31e25;
    letter-spacing: -0.32px;
    white-space: nowrap;
    text-decoration: none;
}

.dd-view-all:hover {
    text-decoration: underline;
    color: #c31e25;
}

/* FOOTER */

.site-footer {
    width: 100%;
    background: var(--footer-bg);
    color: var(--text);
    padding: 64px 0 25px;
    --footer-bg: #211e1f;
    --text: #f2f0f0;
    --muted: #9d999a;
    --border: #3b3839;
    --red: #ed1b2f;
}

.site-footer .container {
    width: 100%;
}


/* BRAND */

.footer-brand {
    padding-right: 40px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #ffffff;
    text-decoration: none;
}

.brand-name-footer {
    font-size: 21px;
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -0.4px;
}

.brand-tagline {
    margin-top: 4px;
    color: #c4c0c1;
    font-size: 11px;
    letter-spacing: 0.2px;
}

.brand-tagline b {
    color: var(--red);
}


/* LOGO */

.brand-icon {
    position: relative;
    width: 57px;
    height: 43px;
    flex: 0 0 57px;
}

.brand-icon span {
    position: absolute;
    width: 27px;
    height: 31px;
    top: 8px;
    border: 4px solid var(--red);
    border-radius: 3px 3px 5px 5px;
}

.brand-icon span:first-child {
    left: 1px;
    transform: skewY(-35deg);
}

.brand-icon span:last-child {
    right: 1px;
    transform: skewY(35deg);
}


/* DESCRIPTION */

.brand-description {
    max-width: 290px;
    margin: 27px 0 0;

    color: var(--muted);

    font-size: 13.5px;
    line-height: 1.5;
    font-family: 'Figtree', sans-serif;
}


/* SOCIAL ICONS */

.social-label {
    margin: 54px 0 12px;

    color: rgba(255, 255, 255, 0.6);

    font-size: 14px;
    font-weight: 500;
    font-family: 'Figtree', sans-serif;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: auto;
    height: 36px;
    padding: 0 16px;
    gap: 8px;

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

    border: 1px solid #454142;
    border-radius: 8px;

    color: #f0eeee;
    text-decoration: none;

    font-size: 14px;
    font-family: 'Figtree', sans-serif;

    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
    border: 1px solid #ed1b2f;
}


/* FOOTER HEADINGS */

.footer-heading {
    position: relative;

    margin: 0 0 13px;
    padding-bottom: 15px;

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

    font-size: 17px;
    line-height: 1;
    font-weight: 600;
}

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

    position: absolute;
    left: 0;
    bottom: -1px;

    width: 43px;
    height: 2px;

    background: var(--red);
}

.email a {
    color: #9d999a;
    text-decoration: none;
}

.phone a {
    color: #9d999a;
    text-decoration: none;
}


/* FOOTER LINKS */

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 13px;
}

.footer-column li a {
    color: rgba(255, 255, 255, 0.6);

    font-size: 13.5px;
    line-height: 1.35;

    text-decoration: none;

    transition: color 0.2s ease;
    font-family: 'Figtree', sans-serif;
}

.footer-column li a:hover,
.footer-column li a.active {
    color: #ffffff;
}


/* CONTACT */

.contact-item {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin-bottom: 20px;

    color: var(--muted);
}

.contact-icon {
    width: 17px;

    flex-shrink: 0;

    color: var(--red);

    font-size: 17px;
    line-height: 1.25;
}

.contact-item strong {
    display: block;

    margin-bottom: 3px;

    color: #eeeeee;

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

.contact-item p {
    margin: 0;

    color: var(--muted);

    font-size: 13.5px;
    line-height: 1.45;
    font-family: 'Figtree', sans-serif;
}


/* LICENSE */

.license-section {
    margin-top: 66px;
    padding-top: 23px;

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

.license-section p {
    margin: 0;

    color: #aaa5a6;

    font-size: 12.5px;
    line-height: 1.75;
    font-family: 'Figtree', sans-serif;
}

.license-section strong {
    color: #f0eeee;
    font-weight: 500;
}

.license-section a {
    color: #aaa5a6;
    text-decoration: underline;
}

.license-section a:hover {
    color: #ffffff;
}


/* BOTTOM FOOTER */

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

    gap: 20px;

    margin-top: 19px;
    padding-top: 25px;

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

    color: #999496;

    font-size: 12.5px;
    font-family: 'Figtree', sans-serif;
}

.legal-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    flex-wrap: wrap;

    gap: 7px;
}

.legal-links a {
    color: #aaa5a6;
    text-decoration: none;

    transition: color 0.2s ease;
}

.legal-links a:hover,
.legal-links a.active {
    color: #ffffff;
}

.legal-links span {
    color: #666263;
}

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


@media (min-width: 992px) and (max-width: 1024px) {
    .site-footer {
        padding: 50px 82px 17px;
    }
}

/* TABLET 768px - 991px */

@media (max-width: 991.98px) {

    .site-footer {
        padding: 50px 0 25px;
    }

    .footer-brand {
        padding-right: 15px;
    }

    .social-label {
        margin-top: 24px;
    }

    .license-section {
        margin-top: 40px;
    }

}


/* SMALL TABLET 576px - 767px */

@media (max-width: 767.98px) {

    .site-footer {
        padding: 45px 0 25px;
    }

    .footer-main {
        row-gap: 30px;
    }

    .footer-brand {
        padding-right: 0;
    }

    .brand-description {
        max-width: 420px;
        margin-top: 20px;
        font-family: 'Figtree', sans-serif;
    }

    .social-label {
        margin-top: 20px;
    }

    .footer-column {
        margin-bottom: 10px;
    }

    .license-section {
        margin-top: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        font-family: 'Figtree', sans-serif;
    }

    .legal-links {
        justify-content: flex-start;
    }

}


/* MOBILE 0px - 575px */

@media (max-width: 575.98px) {

    .site-footer {
        padding: 40px 18px 22px;
    }

    .footer-main {
        row-gap: 28px;
    }

    .brand-name-footer {
        font-size: 19px;
    }

    .brand-icon {
        transform: scale(0.9);
        transform-origin: left center;
        margin-right: -5px;
    }

    .brand-tagline {
        font-size: 10px;
    }

    .brand-description {
        max-width: 100%;
        margin-top: 20px;

        font-size: 13px;
    }

    .footer-heading {
        font-size: 16px;
    }

    .footer-column li {
        margin-bottom: 11px;
    }

    .footer-column li a {
        font-size: 12.5px;
    }

    .contact-item p {
        font-size: 12.5px;
        font-family: 'Figtree', sans-serif;
    }

    .license-section {
        margin-top: 10px;
        padding-top: 20px;
    }

    .license-section p {
        font-size: 12px;
        line-height: 1.7;
        font-family: 'Figtree', sans-serif;
    }

    .footer-bottom {
        margin-top: 18px;
        padding-top: 20px;

        text-align: center;

        align-items: center;
        font-family: 'Figtree', sans-serif;
    }

    .copyright {
        width: 100%;
    }

    .legal-links {
        justify-content: center;

        font-size: 12px;

        line-height: 1.8;
    }

}


/* VERY SMALL MOBILE 0px - 380px */

@media (max-width: 380px) {

    .site-footer {
        padding-left: 15px;
        padding-right: 15px;
    }

    .brand-name-footer {
        font-size: 18px;
    }

    .footer-heading {
        font-size: 15px;
    }

    .footer-column li a {
        font-size: 12px;
    }

    .legal-links {
        gap: 5px;
    }

}

/* Transparent header over hero background */
.header-over-hero .site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    border-bottom: 0;
    z-index: 1000;
}

.header-over-hero .site-header .navbar {
    background: transparent;
}

@media (max-width: 1199.98px) {
    .header-over-hero .site-header .navbar-collapse {
        background: #f7f6f3;
        border-radius: 12px;
        padding: 1rem;
        margin-top: 0.5rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    .header-over-hero .site-header .navbar-toggler {
        background: #ffffff;
        border: 1px solid #dddddd;
    }
}

/* =========================================================
BREADCRUMB
========================================================= */
.breadcum-wrapper {
    padding: 10px 0 8px;
    font-size: 14px;
    color: #555;
}

.breadcum-nav {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.breadcum-link {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcum-link:hover {
    color: #c8102e;
    text-decoration: underline;
}

.breadcum-separator {
    color: #c8102e;
    font-size: 14px;
    margin: 0 6px;
}

.breadcum-current {
    color: #c8102e;
    font-weight: 600;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #c91f29;
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #a91821;
}

@media (max-width: 576px) {
    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}