/* Hide Astra's default builder footer sections; the custom Tifli Radar footer is rendered before them. */
.site-above-footer-wrap,
.site-primary-footer-wrap,
.site-below-footer-wrap {
    display: none !important;
}

.tr-site-footer {
    --tr-footer-navy: #08294f;
    --tr-footer-navy-2: #0f3d6d;
    --tr-footer-red: #ef334f;
    --tr-footer-green: #2e8b3c;
    --tr-footer-muted: #b7c7d9;
    position: relative;
    overflow: hidden;
    margin-top: clamp(48px, 7vw, 90px);
    color: #fff;
    background:
        radial-gradient(circle at 8% 100%, rgba(239,51,79,.35), transparent 26rem),
        radial-gradient(circle at 95% 5%, rgba(212,168,90,.18), transparent 24rem),
        linear-gradient(135deg, var(--tr-footer-navy), var(--tr-footer-navy-2));
}

.tr-site-footer::before {
    content: "";
    position: absolute;
    top: -160px;
    left: -120px;
    width: 360px;
    height: 360px;
    border: 46px solid rgba(255,255,255,.035);
    border-radius: 50%;
}

.tr-footer-shell {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 28px), 1240px);
    margin: 0 auto;
    padding: clamp(34px, 5vw, 64px) 0 18px;
}

.tr-footer-cta {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 22px;
    align-items: center;
    margin-bottom: 42px;
    padding: clamp(24px,4vw,38px);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 26px;
    background: rgba(255,255,255,.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.09);
    backdrop-filter: blur(9px);
}

.tr-footer-cta span {
    font-size: 12px;
    font-weight: 900;
    opacity: .72;
}

.tr-footer-cta h2 {
    margin: 6px 0;
    color: #fff;
    font-size: clamp(25px,3vw,40px);
    line-height: 1.3;
}

.tr-footer-cta p {
    margin: 0;
    color: var(--tr-footer-muted);
}

.tr-footer-cta > a {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 13px;
    color: var(--tr-footer-navy) !important;
    background: #fff;
    font-weight: 900;
    text-decoration: none !important;
}

.tr-footer-grid {
    display: grid;
    grid-template-columns: minmax(280px,1.25fr) repeat(2,minmax(150px,.65fr)) minmax(230px,.8fr);
    gap: clamp(24px,4vw,50px);
    padding-bottom: 38px;
}

.tr-footer-brand p {
    max-width: 420px;
    margin: 16px 0 0;
    color: var(--tr-footer-muted);
    line-height: 1.95;
}

.tr-footer-logo {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 16px;
    background: #fff;
}

.tr-footer-logo img {
    width: min(270px, 66vw);
    height: auto;
}

.tr-footer-grid h3 {
    margin: 0 0 15px;
    color: #fff;
    font-size: 16px;
}

.tr-footer-grid nav {
    display: grid;
    align-content: start;
    gap: 9px;
}

.tr-footer-grid nav a,
.tr-footer-contact a,
.tr-footer-contact > div {
    color: var(--tr-footer-muted) !important;
    text-decoration: none !important;
}

.tr-footer-grid nav a:hover,
.tr-footer-contact a:hover {
    color: #fff !important;
}

.tr-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.tr-footer-socials a {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px;
    color: #fff !important;
    background: rgba(255,255,255,.07);
    transition: transform .16s ease, background .16s ease;
}

.tr-footer-socials a:hover {
    background: rgba(255,255,255,.16);
    transform: translateY(-3px);
}

.tr-footer-socials svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tr-footer-socials a:nth-child(2) svg,
.tr-footer-socials a:nth-child(3) svg,
.tr-footer-socials a:nth-child(4) svg {
    fill: currentColor;
    stroke: none;
}

.tr-footer-contact {
    display: grid;
    align-content: start;
    gap: 10px;
}

.tr-footer-contact > a,
.tr-footer-contact > div {
    display: grid;
    gap: 3px;
    padding: 11px 12px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    background: rgba(255,255,255,.055);
}

.tr-footer-contact span {
    font-size: 10px;
    opacity: .75;
}

.tr-footer-contact strong {
    color: #fff;
    font-size: 13px;
    word-break: break-word;
}

.tr-footer-help {
    display: flex !important;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    color: var(--tr-footer-navy) !important;
    background: #fff !important;
    font-weight: 900;
}

.tr-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0 2px;
    border-top: 1px solid rgba(255,255,255,.12);
}

.tr-footer-bottom p {
    margin: 0;
    color: var(--tr-footer-muted);
    font-size: 12px;
}

.tr-footer-bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.tr-footer-bottom a {
    color: var(--tr-footer-muted) !important;
    font-size: 11px;
    text-decoration: none !important;
}

.tr-footer-bottom a:hover {
    color: #fff !important;
}

@media (max-width: 980px) {
    .tr-footer-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 680px) {
    .tr-footer-cta {
        grid-template-columns: 1fr;
    }

    .tr-footer-cta > a {
        width: 100%;
    }

    .tr-footer-grid {
        grid-template-columns: 1fr;
    }

    .tr-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}
