.footer-modern {
    --footer-ink: #f8fbff;
    --footer-muted: rgba(226, 232, 240, .76);
    --footer-line: rgba(255, 255, 255, .11);
    position: relative;
    isolation: isolate;
    margin-top: clamp(3.5rem, 7vw, 6.5rem);
    padding-top: clamp(2.4rem, 5vw, 4.5rem);
    color: var(--footer-ink);
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 18%, rgba(13, 148, 136, .24), transparent 25rem),
        radial-gradient(circle at 91% 22%, rgba(249, 115, 22, .20), transparent 23rem),
        linear-gradient(145deg, #07131e 0%, #092332 48%, #07131e 100%);
}

.footer-modern::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: .34;
    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, #000, transparent 75%);
}

.footer-modern::after {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 24px;
    z-index: -1;
    background: linear-gradient(90deg, #f97316, #fbbf24 38%, #14b8a6 72%, #0f766e);
    clip-path: polygon(0 0, 100% 0, 100% 18%, 78% 72%, 54% 28%, 27% 86%, 0 30%);
}

.footer-modern__glow {
    position: absolute;
    z-index: -1;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    filter: blur(85px);
    opacity: .18;
    pointer-events: none;
}

.footer-modern__glow--one { top: 20%; left: -8rem; background: #2dd4bf; }
.footer-modern__glow--two { right: -8rem; bottom: 8%; background: #fb923c; }

.footer-modern__journey {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .65fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 4.5rem);
    padding: clamp(1.6rem, 3.5vw, 2.7rem);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: clamp(1.5rem, 3vw, 2.25rem);
    background:
        linear-gradient(120deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .035)),
        rgba(4, 22, 32, .76);
    box-shadow: 0 28px 75px rgba(0, 0, 0, .25), inset 0 1px rgba(255, 255, 255, .12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.footer-modern__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: .8rem;
    color: #99f6e4;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.footer-modern__eyebrow i { color: #fb923c; }

.footer-modern__journey h2 {
    max-width: 46rem;
    margin: 0;
    color: #fff;
    font-size: clamp(1.65rem, 3.3vw, 3.15rem);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.footer-modern__journey p {
    max-width: 43rem;
    margin: .9rem 0 0;
    color: var(--footer-muted);
    font-size: clamp(.98rem, 1.4vw, 1.08rem);
    line-height: 1.72;
}

.footer-modern__journey-actions { display: grid; gap: .75rem; }

.footer-modern__button {
    min-height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    padding: .85rem 1.1rem;
    border: 1px solid transparent;
    border-radius: 1rem;
    font-weight: 850;
    text-align: center;
    transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.footer-modern__button:hover { transform: translateY(-2px); }
.footer-modern__button--light { color: #092332; background: #fff; box-shadow: 0 14px 30px rgba(0, 0, 0, .18); }
.footer-modern__button--light:hover { color: #092332; box-shadow: 0 18px 36px rgba(0, 0, 0, .24); }
.footer-modern__button--whatsapp { color: #fff; border-color: rgba(74, 222, 128, .38); background: rgba(22, 163, 74, .17); }
.footer-modern__button--whatsapp:hover { color: #fff; background: rgba(22, 163, 74, .29); }

.footer-modern__trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
    padding-top: 1rem;
}

.footer-modern__trust span {
    min-height: 3.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .75rem .9rem;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: .9rem;
    color: rgba(255, 255, 255, .86);
    background: rgba(255, 255, 255, .045);
    font-size: .86rem;
    font-weight: 750;
    text-align: center;
}

.footer-modern__trust i { color: #5eead4; }

.footer-modern__grid {
    display: grid;
    grid-template-columns: minmax(15rem, 1.35fr) minmax(10rem, .8fr) minmax(11rem, .9fr) minmax(16rem, 1.15fr);
    gap: clamp(1.5rem, 3.4vw, 3.5rem);
    padding-top: clamp(3rem, 6vw, 5.25rem);
    padding-bottom: clamp(2.7rem, 5vw, 4.5rem);
}

.footer-modern__brand { align-self: start; }

.footer-modern__logo {
    width: min(15rem, 100%);
    display: block;
    margin-bottom: 1.5rem;
}

.footer-modern__logo img { width: 100%; height: auto; display: block; object-fit: contain; }
.footer-modern__brand h2 { margin: 0; color: #fff; font-size: 1.35rem; letter-spacing: -.025em; }
.footer-modern__brandline { margin: .35rem 0 0; color: #99f6e4; font-weight: 750; }
.footer-modern__description { max-width: 30rem; margin: 1.15rem 0 0; color: var(--footer-muted); line-height: 1.75; }

.footer-modern__socials { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.4rem; }
.footer-modern__socials a {
    width: 2.85rem;
    height: 2.85rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: .95rem;
    color: #fff;
    background: rgba(255, 255, 255, .06);
    transition: transform .2s ease, color .2s ease, background-color .2s ease;
}
.footer-modern__socials a:hover { transform: translateY(-3px) rotate(-2deg); color: #082f49; background: #99f6e4; }

.footer-modern__column h3,
.footer-modern__contact h3 {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin: 0 0 1.25rem;
    color: #fff;
    font-size: 1rem;
    line-height: 1.35;
}

.footer-modern__column-icon {
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(94, 234, 212, .25);
    border-radius: .7rem;
    color: #5eead4;
    background: rgba(20, 184, 166, .10);
}

.footer-modern__column ul,
.footer-modern__contact ul { display: grid; gap: .45rem; padding: 0; margin: 0; list-style: none; }
.footer-modern__column a {
    min-height: 2.35rem;
    display: inline-flex;
    align-items: center;
    color: var(--footer-muted);
    line-height: 1.45;
    transition: color .2s ease, transform .2s ease;
}
.footer-modern__column a::before { content: ""; width: 0; height: 1px; margin-right: 0; background: #fb923c; transition: width .2s ease, margin .2s ease; }
.footer-modern__column a:hover { color: #fff; transform: translateX(2px); }
.footer-modern__column a:hover::before { width: .8rem; margin-right: .45rem; }

.footer-modern__contact {
    padding: 1.35rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, .055);
}
.footer-modern__contact > p { margin: -.25rem 0 1.15rem; color: var(--footer-muted); line-height: 1.65; }
.footer-modern__contact li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); align-items: center; gap: .7rem; padding: .65rem 0; border-top: 1px solid rgba(255, 255, 255, .07); }
.footer-modern__contact li > span { width: 2.35rem; height: 2.35rem; display: grid; place-items: center; border-radius: .8rem; color: #fdba74; background: rgba(249, 115, 22, .12); }
.footer-modern__contact li div { min-width: 0; display: grid; gap: .15rem; }
.footer-modern__contact small { color: rgba(226, 232, 240, .6); font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.footer-modern__contact strong,
.footer-modern__contact a { color: #fff; font-size: .84rem; white-space: nowrap; }
.footer-modern__contact a:hover { color: #99f6e4; }

.footer-modern__bottom { border-top: 1px solid var(--footer-line); background: rgba(0, 0, 0, .13); }
.footer-modern__bottom-inner { min-height: 5.2rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem 2rem; padding-top: 1rem; padding-bottom: 1rem; }
.footer-modern__bottom p { margin: 0; color: rgba(226, 232, 240, .67); font-size: .82rem; }
.footer-modern__legal { display: flex; justify-content: center; flex-wrap: wrap; gap: .35rem 1rem; }
.footer-modern__legal a,
.footer-modern__credit a,
.footer-modern__credit strong { color: rgba(255, 255, 255, .82); font-size: .82rem; }
.footer-modern__legal a:hover,
.footer-modern__credit a:hover { color: #fff; text-decoration: underline; }

html[dir="rtl"] .footer-modern__column a::before { margin-right: 0; margin-left: 0; }
html[dir="rtl"] .footer-modern__column a:hover { transform: translateX(-2px); }
html[dir="rtl"] .footer-modern__column a:hover::before { margin-right: 0; margin-left: .45rem; }

@media (max-width: 1100px) {
    .footer-modern__journey { grid-template-columns: minmax(0, 1fr) minmax(16rem, .5fr); }
    .footer-modern__trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-modern__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-modern__brand { padding-right: 2rem; }
    .footer-modern__bottom-inner { grid-template-columns: 1fr auto; }
    .footer-modern__legal { order: 3; grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 720px) {
    .footer-modern { margin-top: 3.5rem; padding-top: 2.8rem; padding-bottom: 5.5rem; }
    .footer-modern__journey { grid-template-columns: 1fr; gap: 1.4rem; padding: 1.35rem; border-radius: 1.5rem; }
    .footer-modern__journey h2 { font-size: clamp(1.55rem, 8vw, 2.2rem); }
    .footer-modern__journey-actions { grid-template-columns: 1fr; }
    .footer-modern__trust { grid-template-columns: 1fr 1fr; }
    .footer-modern__trust span { min-height: 4rem; flex-direction: column; gap: .3rem; padding: .7rem .45rem; font-size: .76rem; }
    .footer-modern__grid { grid-template-columns: 1fr; gap: 1.15rem; padding-top: 2.8rem; padding-bottom: 2.5rem; }
    .footer-modern__brand { padding: 0 0 1.2rem; text-align: center; }
    .footer-modern__logo { width: min(13rem, 70vw); margin-right: auto; margin-left: auto; }
    .footer-modern__description { margin-right: auto; margin-left: auto; }
    .footer-modern__socials { justify-content: center; }
    .footer-modern__column,
    .footer-modern__contact { padding: 1.15rem; border: 1px solid rgba(255, 255, 255, .09); border-radius: 1.25rem; background: rgba(255, 255, 255, .04); }
    .footer-modern__column ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem .8rem; }
    .footer-modern__column a { min-height: 2.75rem; font-size: .9rem; }
    .footer-modern__bottom-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-top: 1.4rem; padding-bottom: 1.4rem; }
    .footer-modern__legal { grid-column: auto; justify-content: center; }
}

@media (max-width: 390px) {
    .footer-modern__trust { grid-template-columns: 1fr; }
    .footer-modern__trust span { min-height: 2.9rem; flex-direction: row; }
    .footer-modern__column ul { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .footer-modern *,
    .footer-modern *::before { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
