.pre-footer-why {
    --pre-footer-bg: #071428;
    --pre-footer-bg-mid: #0a1a33;
    --pre-footer-accent: var(--brand-accent, #c59d5f);
    --pre-footer-accent-soft: rgba(197, 157, 95, 0.16);
    --pre-footer-text: rgba(255, 255, 255, 0.94);
    --pre-footer-muted: rgba(255, 255, 255, 0.68);
    --pre-footer-divider: rgba(255, 255, 255, 0.14);
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 55% at 88% 18%, rgba(197, 157, 95, 0.12), transparent 58%),
        radial-gradient(ellipse 55% 45% at 8% 92%, rgba(0, 60, 120, 0.28), transparent 62%),
        linear-gradient(165deg, var(--pre-footer-bg) 0%, var(--pre-footer-bg-mid) 52%, #061122 100%);
    color: var(--pre-footer-text);
    font-family: inherit;
}

.pre-footer-why__inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1rem 2.75rem;
    display: grid;
    gap: 2.25rem;
}

@media (min-width: 1024px) {
    .pre-footer-why__inner {
        padding: 3.75rem 2.5rem 3.25rem;
        grid-template-columns: minmax(280px, 34%) minmax(0, 66%);
        align-items: center;
        gap: 2.75rem 3.25rem;
    }
}

.pre-footer-why__content {
    min-width: 0;
}

@media (min-width: 1024px) {
    .pre-footer-why__content {
        padding-right: 0.25rem;
    }
}

.pre-footer-why__eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--pre-footer-accent);
}

.pre-footer-why__title {
    margin: 0;
    font-family: inherit;
    font-size: clamp(1.9rem, 3vw, 2.95rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #fff;
    text-wrap: balance;
}

@media (min-width: 768px) {
    .pre-footer-why__title {
        white-space: nowrap;
    }
}

.pre-footer-why__description {
    margin: 1.2rem 0 0;
    max-width: 23rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--pre-footer-muted);
}

.pre-footer-why__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.75rem;
    padding: 0.95rem 1.5rem;
    border-radius: 0.55rem;
    background: var(--pre-footer-accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(197, 157, 95, 0.28);
    transition:
        filter 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.pre-footer-why__cta:hover {
    filter: brightness(1.07);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(197, 157, 95, 0.34);
}

.pre-footer-why__cta .material-symbols-outlined {
    font-size: 1.05rem;
    transition: transform 0.2s ease;
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

.pre-footer-why__cta:hover .material-symbols-outlined {
    transform: translateX(3px);
}

.pre-footer-why__aside {
    display: grid;
    gap: 1.5rem;
    min-width: 0;
}

.pre-footer-why__stats {
    margin: 0;
    padding: 0.85rem 0.35rem;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem 0.35rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 640px) {
    .pre-footer-why__stats {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0;
        padding: 1.05rem 0.25rem;
    }
}

.pre-footer-why__stat {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 0 0.5rem;
}

@media (min-width: 640px) {
    .pre-footer-why__stat {
        padding: 0 0.7rem;
    }

    .pre-footer-why__stat + .pre-footer-why__stat::before {
        content: '';
        position: absolute;
        left: 0;
        top: 14%;
        bottom: 14%;
        width: 1px;
        background: linear-gradient(
            180deg,
            transparent 0%,
            var(--pre-footer-divider) 20%,
            var(--pre-footer-divider) 80%,
            transparent 100%
        );
    }
}

.pre-footer-why__stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    margin-bottom: 0.55rem;
    border-radius: 9999px;
    background: var(--pre-footer-accent-soft);
    font-size: 1.35rem;
    line-height: 1;
    color: #fff;
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

.pre-footer-why__stat-value {
    margin: 0;
    font-size: clamp(1.2rem, 1.9vw, 1.6rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    white-space: nowrap;
}

.pre-footer-why__stat-label {
    margin: 0.4rem 0 0;
    max-width: 7.75rem;
    font-size: 0.6875rem;
    line-height: 1.35;
    color: var(--pre-footer-muted);
}

.pre-footer-why__gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .pre-footer-why__gallery {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.85rem;
    }
}

.pre-footer-why__gallery-item {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 1024px) {
    .pre-footer-why__gallery-item {
        aspect-ratio: 5 / 3.6;
        min-height: 6.5rem;
    }
}

.pre-footer-why__gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

@media (hover: hover) {
    .pre-footer-why__gallery-item:hover img {
        transform: scale(1.06);
    }
}

.pre-footer-cta {
    background: linear-gradient(180deg, #ffffff 0%, #f7f8fc 100%);
    border-top: 1px solid #e7e9f3;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.04);
    font-family: inherit;
}

.dark .pre-footer-cta {
    background: linear-gradient(180deg, #141824 0%, #10141e 100%);
    border-color: #2a2e3b;
    box-shadow: none;
}

.pre-footer-cta__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.9rem 1rem;
    display: grid;
    gap: 0.85rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .pre-footer-cta__inner {
        padding: 0.95rem 2.5rem;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 1.25rem;
    }
}

.pre-footer-cta__lead {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.pre-footer-cta__icon-wrap {
    flex-shrink: 0;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 9999px;
    overflow: hidden;
    border: 1px solid #e7e9f3;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.dark .pre-footer-cta__icon-wrap {
    background: #1a1d2d;
    border-color: #2a2e3b;
    box-shadow: none;
}

.pre-footer-cta__icon {
    width: 1.9rem;
    height: 1.9rem;
    object-fit: contain;
}

.pre-footer-cta__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #334155;
}

.dark .pre-footer-cta__text {
    color: rgba(255, 255, 255, 0.82);
}

.pre-footer-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.pre-footer-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.55rem;
    padding: 0.55rem 1rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-decoration: none;
    white-space: nowrap;
    transition:
        filter 0.2s ease,
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.pre-footer-cta__btn:hover {
    transform: translateY(-1px);
}

.pre-footer-cta__btn--zalo {
    background: var(--brand-primary, #001e3c);
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 30, 60, 0.18);
}

.pre-footer-cta__btn--zalo:hover {
    filter: brightness(1.08);
}

.pre-footer-cta__btn--phone {
    background: var(--brand-accent, #c59d5f);
    color: #fff;
    box-shadow: 0 8px 18px rgba(197, 157, 95, 0.28);
}

.pre-footer-cta__btn--phone:hover {
    filter: brightness(1.06);
}

.pre-footer-cta__btn--request {
    background: #fff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.pre-footer-cta__btn--request:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

.dark .pre-footer-cta__btn--request {
    background: transparent;
    color: #fff;
    border-color: #475569;
    box-shadow: none;
}

.pre-footer-cta__btn .material-symbols-outlined {
    font-size: 1.1rem;
}

.pre-footer-cta__btn-icon {
    display: block;
    flex-shrink: 0;
}

@media (max-width: 639px) {
    .pre-footer-why__stat:nth-child(odd)::before {
        display: none;
    }

    .pre-footer-why__stat:nth-child(even)::before {
        content: '';
        position: absolute;
        left: 0;
        top: 12%;
        bottom: 12%;
        width: 1px;
        background: var(--pre-footer-divider);
    }

    .pre-footer-why__stat:nth-child(2n + 1) {
        padding-left: 0;
    }
}

@media (max-width: 767px) {
    .pre-footer-cta__actions {
        width: 100%;
    }

    .pre-footer-cta__btn {
        flex: 1 1 calc(50% - 0.35rem);
        min-width: 0;
        white-space: normal;
        text-align: center;
    }

    .pre-footer-cta__btn--request {
        flex-basis: 100%;
    }
}
