/* ==========================================================
   URISTST — MODERN FOOTER
   ========================================================== */

.uristst-footer-panel {
    position: relative;

    background: #172231;

    color: rgba(255,255,255,.72);

    border-top: 2px solid #9A503F;
}

.uristst-footer-panel__inner {
    display: grid;

    grid-template-columns:
        minmax(300px, 1.35fr)
        minmax(180px, .65fr)
        minmax(260px, 1fr);

    gap: 64px;

    width: min(1180px, calc(100% - 48px));

    margin: 0 auto;

    padding: 58px 0 50px;
}


/* BRAND */

.uristst-footer-brand__kicker {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 13px;

    color: #C77A68;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .16em;

    text-transform: uppercase;
}

.uristst-footer-brand__kicker::before {
    content: "";

    width: 28px;
    height: 1px;

    background: #9A503F;
}

.uristst-footer-brand__name {
    margin: 0 0 13px;

    color: #FFFFFF;

    font-size: clamp(25px, 2.4vw, 34px);
    font-weight: 700;
    line-height: 1.15;

    letter-spacing: -.025em;
}

.uristst-footer-brand__text {
    max-width: 430px;

    margin: 0 0 25px;

    color: rgba(255,255,255,.62);

    font-size: 14px;
    line-height: 1.65;
}

.uristst-footer-brand__phone {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    color: #FFFFFF !important;

    font-size: 20px;
    font-weight: 700;

    text-decoration: none !important;

    transition: color 180ms ease;
}

.uristst-footer-brand__phone::after {
    content: "→";

    color: #C77A68;

    transition: transform 180ms ease;
}

.uristst-footer-brand__phone:hover {
    color: #C77A68 !important;
}

.uristst-footer-brand__phone:hover::after {
    transform: translateX(4px);
}


/* COLUMNS */

.uristst-footer-column__title {
    margin: 2px 0 19px;

    color: #FFFFFF;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;
}

.uristst-footer-column__title::after {
    content: "";

    display: block;

    width: 28px;
    height: 2px;

    margin-top: 10px;

    background: #9A503F;
}


/* LINKS */

.uristst-footer-links {
    margin: 0;
    padding: 0;

    list-style: none;
}

.uristst-footer-links li {
    margin: 0;
}

.uristst-footer-links li + li {
    margin-top: 10px;
}

.uristst-footer-panel a {
    color: rgba(255,255,255,.72);

    text-decoration: none;

    transition:
        color 180ms ease,
        transform 180ms ease;
}

.uristst-footer-links a {
    display: inline-block;

    font-size: 14px;
    line-height: 1.45;
}

.uristst-footer-links a:hover {
    color: #FFFFFF;

    transform: translateX(2px);
}


/* CONTACTS */

.uristst-footer-contact {
    display: grid;

    gap: 13px;

    margin-bottom: 23px;
}

.uristst-footer-contact__item {
    display: grid;

    grid-template-columns: 18px 1fr;

    gap: 9px;

    align-items: start;

    color: rgba(255,255,255,.68);

    font-size: 14px;
    line-height: 1.55;
}

.uristst-footer-contact__mark {
    color: #C77A68;

    font-weight: 700;
}

.uristst-footer-contact a:hover {
    color: #FFFFFF;
}


/* LEGAL */

.uristst-footer-legal {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 7px;

    padding-top: 19px;

    border-top: 1px solid rgba(255,255,255,.09);
}

.uristst-footer-legal a {
    color: rgba(255,255,255,.52);

    font-size: 12px;
    line-height: 1.45;
}

.uristst-footer-legal a:hover {
    color: #C77A68;
}


/*
 * Connect Astra's remaining copyright strip visually
 * to our footer.
 */

.site-footer,
.site-below-footer-wrap {
    background: #172231 !important;
}

.site-below-footer-wrap {
    border-top:
        1px solid rgba(255,255,255,.08) !important;
}

.site-below-footer-wrap
.ast-builder-grid-row-container-inner {
    max-width: 1180px;
}

.site-footer .ast-footer-copyright,
.site-footer .ast-footer-copyright p {
    color: rgba(255,255,255,.42) !important;

    font-size: 12px !important;
}

.site-footer .ast-footer-copyright a {
    color: rgba(255,255,255,.50) !important;
}

.site-footer .ast-footer-copyright a:hover {
    color: #C77A68 !important;
}


/* TABLET */

@media (max-width: 920px) {

    .uristst-footer-panel__inner {
        grid-template-columns:
            minmax(0, 1.25fr)
            minmax(0, .75fr);

        gap: 42px;

        padding:
            46px 0
            42px;
    }

    .uristst-footer-panel__contact-column {
        grid-column: 1 / -1;

        padding-top: 32px;

        border-top:
            1px solid rgba(255,255,255,.08);
    }
}


/* MOBILE */

@media (max-width: 640px) {

    .uristst-footer-panel__inner {
        display: block;

        width: min(
            100% - 40px,
            1180px
        );

        padding:
            38px 0
            34px;
    }

    .uristst-footer-brand,
    .uristst-footer-column {
        margin-bottom: 34px;
    }

    .uristst-footer-panel__contact-column {
        padding-top: 28px;
    }

    .uristst-footer-brand__phone {
        font-size: 18px;
    }
}


/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

    .uristst-footer-panel a,
    .uristst-footer-brand__phone::after {
        transition: none !important;
    }

    .uristst-footer-panel a:hover {
        transform: none !important;
    }
}

/* URISTST HIDE NATIVE ASTRA FOOTER START */

/*
 * Custom .uristst-footer-panel completely replaces
 * Astra's native footer rows.
 */

.site-footer .site-above-footer-wrap,
.site-footer .site-primary-footer-wrap,
.site-footer .site-below-footer-wrap {
    display: none !important;
}

/* Prevent an empty Astra footer shell from creating space */
.site-footer {
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/* URISTST HIDE NATIVE ASTRA FOOTER END */
