/* Dhani Finance premium responsive footer */
:root {
    --ft-blue: #263f7a;
    --ft-blue-dark: #172b5f;
    --ft-blue-deep: #10224f;
    --ft-gold: #ffc400;
    --ft-red: #a80000;
    --ft-green: #36b64b;
    --ft-orange: #f5822a;
    --ft-white: #ffffff;
    --ft-soft: rgba(255, 255, 255, 0.74);
    --ft-line: rgba(255, 255, 255, 0.16);
    --ft-shadow: 0 20px 50px rgba(8, 18, 46, 0.28);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.footer-shell {
    width: min(1160px, calc(100% - 32px));
    margin-inline: auto;
}

.site-footer {
    position: relative;
    overflow: hidden;
    color: var(--ft-white);
    background:
        radial-gradient(circle at 8% 16%, rgba(255, 196, 0, 0.16), transparent 26%),
        radial-gradient(circle at 96% 86%, rgba(255, 255, 255, 0.13), transparent 28%),
        linear-gradient(145deg, var(--ft-blue-dark), var(--ft-blue) 48%, var(--ft-blue-deep));
    font-family: Arial, Helvetica, sans-serif;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.18;
    background-image: radial-gradient(rgba(255, 255, 255, 0.52) 1px, transparent 1px);
    background-size: 17px 17px;
    mask-image: linear-gradient(120deg, transparent 0%, #000 26%, #000 72%, transparent 100%);
}

.footer-cta,
.footer-main,
.footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-cta {
    padding: 28px 0;
    border-bottom: 1px solid var(--ft-line);
}

.footer-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--ft-line);
    border-radius: 8px;
    box-shadow: var(--ft-shadow);
    backdrop-filter: blur(10px);
}

.footer-eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--ft-gold);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.footer-cta h2 {
    max-width: 640px;
    margin: 0;
    color: #fff;
    font-size: 25px;
    line-height: 1.28;
}

.footer-cta__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.footer-call-btn,
.footer-apply-btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border-radius: 6px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.footer-call-btn {
    color: var(--ft-blue-deep);
    background: #fff;
}

.footer-apply-btn {
    color: #fff;
    background: linear-gradient(180deg, #c40000, var(--ft-red));
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.footer-call-btn:hover,
.footer-call-btn:focus-visible,
.footer-apply-btn:hover,
.footer-apply-btn:focus-visible {
    transform: translateY(-1px);
    outline: 0;
}

.footer-main {
    padding: 48px 0 44px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 1.05fr 0.85fr 1.35fr;
    gap: 34px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    background: #fff;
    border-radius: 8px;
    text-decoration: none;
}

.footer-logo img {
    width: 128px;
    height: 48px;
    display: block;
    object-fit: contain;
}

.footer-brand p {
    margin: 18px 0 18px;
    color: var(--ft-soft);
    font-size: 14.5px;
    line-height: 1.7;
}

.footer-contact-list {
    display: grid;
    gap: 10px;
}

.footer-contact-list a {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.footer-column h3,
.footer-info h3 {
    position: relative;
    margin: 0 0 25px;
    color: #fff;
    font-size: 18px;
    line-height: 1.2;
}

.footer-column h3::after,
.footer-info h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 86px;
    height: 2px;
    background: linear-gradient(90deg, var(--ft-gold) 0 42%, rgba(255, 255, 255, 0.24) 42% 100%);
}

.footer-column ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 14.5px;
    line-height: 1.35;
    text-decoration: none;
    transition: color 160ms ease, transform 160ms ease;
}

.footer-column a::before {
    content: ">";
    color: var(--ft-gold);
    font-size: 13px;
    font-weight: 900;
}

.footer-column a:hover,
.footer-column a:focus-visible {
    color: #fff;
    transform: translateX(3px);
    outline: 0;
}

.footer-info {
    min-width: 0;
}

.footer-info-card {
    position: relative;
    padding-left: 24px;
}

.footer-info-card+.footer-info-card {
    margin-top: 18px;
}

.footer-info-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 12px;
    height: 12px;
    border: 3px solid var(--ft-gold);
    border-radius: 999px;
}

.footer-info-card h4 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 14.5px;
    line-height: 1.25;
}

.footer-info-card p {
    margin: 0;
    color: var(--ft-soft);
    font-size: 14px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

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

.footer-bottom__inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    line-height: 1.5;
}

.footer-floating-actions {
    position: fixed;
    right: 0;
    top: 50%;
    z-index: 9990;
    display: grid;
    gap: 6px;
    transform: translateY(-50%);
}

.float-action {
    width: 44px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 6px 0 0 6px;
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(18, 24, 38, 0.18);
}

.float-action--call {
    background: var(--ft-orange);
}

.float-action--status {
    background: #1f2937;
}

.float-action--apply {
    background: var(--ft-green);
}

.footer-back-top {
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 9991;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--ft-blue);
    background: #fff;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 14px 34px rgba(18, 24, 38, 0.24);
    font-size: 22px;
    font-weight: 900;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

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

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

    .footer-brand,
    .footer-info {
        grid-column: span 2;
    }
}

@media (max-width: 820px) {
    .footer-cta__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-cta h2 {
        font-size: 22px;
    }

    .footer-cta__actions {
        width: 100%;
    }

    .footer-call-btn,
    .footer-apply-btn {
        flex: 1 1 0;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 24px;
    }

    .footer-brand,
    .footer-info {
        grid-column: 1 / -1;
    }

    .footer-services ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 18px;
    }

    .footer-bottom__inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 16px 0;
    }
}

@media (max-width: 560px) {
    .footer-shell {
        width: min(100% - 24px, 1160px);
    }

    .footer-cta {
        padding: 20px 0;
    }

    .footer-cta__inner {
        padding: 20px;
    }

    .footer-cta h2 {
        font-size: 20px;
    }

    .footer-cta__actions,
    .footer-grid,
    .footer-services ul {
        grid-template-columns: 1fr;
    }

    .footer-cta__actions {
        display: grid;
    }

    .footer-main {
        padding: 36px 0 34px;
    }

    .footer-grid {
        display: grid;
        gap: 30px;
    }

    .footer-logo img {
        width: 116px;
        height: 44px;
    }

    .footer-floating-actions {
        top: auto;
        right: 12px;
        bottom: 82px;
        gap: 8px;
        transform: none;
    }

    .float-action {
        width: 42px;
        height: 42px;
        border-radius: 999px;
    }

    .footer-back-top {
        right: 12px;
        bottom: 24px;
        width: 44px;
        height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}