:root {
    --site-footer-ink: #102b3a;
    --site-footer-blue: #008cd7;
    --site-footer-blue-light: #55c1f2;
    --site-footer-text: #d5e3e9;
    --site-footer-muted: #9eb5c0;
    --site-footer-line: rgba(255, 255, 255, 0.14);
    --site-footer-panel: rgba(255, 255, 255, 0.055);
}

#footer-area.site-footer {
    position: relative;
    overflow: hidden;
    color: var(--site-footer-text);
    background:
        radial-gradient(circle at 88% 12%, rgba(0, 140, 215, 0.18), transparent 28%),
        linear-gradient(145deg, #0c2534 0%, #102f40 56%, #0a202c 100%);
    border-top: 5px solid var(--site-footer-blue);
}

#footer-area.site-footer,
#footer-area.site-footer * {
    box-sizing: border-box;
}

#footer-area.site-footer::before {
    position: absolute;
    top: -190px;
    right: -150px;
    width: 430px;
    height: 430px;
    border: 76px solid rgba(255, 255, 255, 0.025);
    content: "";
    pointer-events: none;
    transform: rotate(20deg);
}

#footer-area.site-footer .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
}

#footer-area.site-footer a {
    color: inherit;
}

#footer-area.site-footer a:hover {
    color: #ffffff;
    text-decoration: none;
}

#footer-area.site-footer a:focus-visible {
    outline: 3px solid rgba(85, 193, 242, 0.75);
    outline-offset: 4px;
}

.site-footer__intro {
    border-bottom: 1px solid var(--site-footer-line);
}

.site-footer__intro-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
    align-items: center;
    padding-top: 42px;
    padding-bottom: 42px;
}

.site-footer__intro-copy {
    max-width: 710px;
}

.site-footer__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--site-footer-blue-light);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.site-footer__eyebrow::before {
    width: 28px;
    height: 3px;
    background: var(--site-footer-blue);
    content: "";
}

.site-footer__intro h2 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.08;
}

.site-footer__intro p {
    max-width: 680px;
    margin: 0;
    color: var(--site-footer-text);
    font-size: 15px;
    line-height: 1.7;
}

.site-footer__intro-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.site-footer__button {
    display: inline-flex;
    min-height: 46px;
    padding: 11px 18px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #ffffff !important;
    background: var(--site-footer-blue);
    border: 1px solid var(--site-footer-blue);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.site-footer__button:hover {
    background: #0079ba;
    border-color: #0079ba;
    transform: translateY(-2px);
}

.site-footer__button--secondary {
    color: #ffffff !important;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.42);
}

.site-footer__button--secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.72);
}

.site-footer__main {
    padding: 54px 0 50px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.25fr) minmax(130px, 0.58fr) minmax(170px, 0.72fr) minmax(260px, 1.1fr);
    gap: 44px;
    align-items: start;
}

.site-footer__brand {
    max-width: 355px;
}

.site-footer__logo {
    display: inline-flex;
    margin-bottom: 22px;
}

.site-footer__logo img {
    display: block;
    width: auto;
    max-width: min(100%, 310px);
    height: auto;
}

.site-footer__brand p {
    margin: 0 0 20px;
    color: var(--site-footer-muted);
    font-size: 13px;
    line-height: 1.75;
}

.site-footer__text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--site-footer-blue-light) !important;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-footer__text-link span {
    font-size: 16px;
    transition: transform 160ms ease;
}

.site-footer__text-link:hover span {
    transform: translateX(4px);
}

.site-footer__nav h3,
.site-footer__branches h3 {
    margin: 2px 0 22px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.065em;
    text-transform: uppercase;
}

.site-footer__nav ul,
.site-footer__assurance ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__nav li + li {
    margin-top: 13px;
}

.site-footer__nav a {
    display: inline-flex;
    color: var(--site-footer-muted) !important;
    font-size: 13px;
    line-height: 1.4;
    transition: color 160ms ease, transform 160ms ease;
}

.site-footer__nav a:hover {
    color: #ffffff !important;
    transform: translateX(4px);
}

.site-footer__branch-list {
    display: grid;
    gap: 10px;
}

.site-footer__branch {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    min-width: 0;
    padding: 15px 16px;
    background: var(--site-footer-panel);
    border: 1px solid var(--site-footer-line);
    border-left: 3px solid var(--site-footer-blue);
}

.site-footer__branch strong,
.site-footer__branch span {
    display: block;
}

.site-footer__branch strong {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.25;
}

.site-footer__branch div > span {
    margin-top: 3px;
    color: var(--site-footer-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-footer__branch > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--site-footer-blue-light) !important;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.site-footer__branch--fallback {
    grid-template-columns: 1fr;
}

.site-footer__assurance {
    border-top: 1px solid var(--site-footer-line);
}

.site-footer__assurance ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer__assurance li {
    display: flex;
    min-width: 0;
    padding: 25px 28px;
    align-items: center;
    gap: 15px;
    border-right: 1px solid var(--site-footer-line);
}

.site-footer__assurance li:first-child {
    padding-left: 0;
}

.site-footer__assurance li:last-child {
    padding-right: 0;
    border-right: 0;
}

.site-footer__assurance i {
    color: var(--site-footer-blue-light);
    flex: 0 0 auto;
    font-size: 25px;
}

.site-footer__assurance span,
.site-footer__assurance strong {
    display: block;
}

.site-footer__assurance strong {
    margin-bottom: 3px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.site-footer__assurance span {
    color: var(--site-footer-muted);
    font-size: 11px;
    line-height: 1.45;
}

.site-footer__bottom {
    background: rgba(0, 0, 0, 0.22);
    border-top: 1px solid var(--site-footer-line);
}

.site-footer__bottom-layout {
    display: flex;
    min-height: 70px;
    padding-top: 20px;
    padding-bottom: 20px;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.site-footer__bottom p {
    margin: 0;
    color: var(--site-footer-muted);
    font-size: 11px;
}

.site-footer__bottom p a {
    color: #ffffff !important;
    font-weight: 700;
}

.site-footer__bottom nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 22px;
}

.site-footer__bottom nav a {
    color: var(--site-footer-muted) !important;
    font-size: 11px;
}

.site-footer__bottom nav a:hover {
    color: #ffffff !important;
}

@media only screen and (max-width: 1199px) {
    .site-footer__intro-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .site-footer__intro-actions {
        justify-content: flex-start;
    }

    .site-footer__grid {
        grid-template-columns: minmax(260px, 1.2fr) repeat(2, minmax(150px, 0.65fr));
    }

    .site-footer__branches {
        grid-column: 1 / -1;
    }

    .site-footer__branch-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 767px) {
    .site-footer__intro-layout {
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .site-footer__intro p {
        font-size: 14px;
    }

    .site-footer__main {
        padding: 42px 0 38px;
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px 28px;
    }

    .site-footer__brand,
    .site-footer__branches {
        grid-column: 1 / -1;
        max-width: none;
    }

    .site-footer__assurance ul {
        grid-template-columns: 1fr;
    }

    .site-footer__assurance li,
    .site-footer__assurance li:first-child,
    .site-footer__assurance li:last-child {
        padding: 19px 0;
        border-right: 0;
        border-bottom: 1px solid var(--site-footer-line);
    }

    .site-footer__assurance li:last-child {
        border-bottom: 0;
    }

    .site-footer__bottom-layout {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .site-footer__bottom nav {
        justify-content: flex-start;
    }
}

@media only screen and (max-width: 575px) {
    .site-footer__intro-actions,
    .site-footer__button {
        width: 100%;
    }

    .site-footer__grid,
    .site-footer__branch-list {
        grid-template-columns: 1fr;
    }

    .site-footer__brand,
    .site-footer__branches {
        grid-column: auto;
    }

    .site-footer__branch {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .site-footer__branch > a {
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-footer__button,
    .site-footer__nav a,
    .site-footer__text-link span {
        transition: none;
    }

    .site-footer__button:hover,
    .site-footer__nav a:hover,
    .site-footer__text-link:hover span {
        transform: none;
    }
}
