/**
 * GHVM footer v2 — larger type, denser layout, stronger hierarchy.
 */

.ghvm-footer {
    --ghvm-f-teal: #1ab69d;
    --ghvm-f-teal-deep: #0f8f7a;
    --ghvm-f-coral: #ee4a62;
    --ghvm-f-ink: #071015;
    --ghvm-f-surface: #101c24;
    --ghvm-f-text: #e8eef2;
    --ghvm-f-muted: #9aadb8;
    --ghvm-f-line: rgba(255, 255, 255, 0.12);
    --ghvm-f-ease: cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    margin-top: 8px;
    padding: 28px 0 0;
    background:
        radial-gradient(ellipse 70% 50% at 8% 0%, rgba(26, 182, 157, 0.22), transparent 55%),
        radial-gradient(ellipse 50% 40% at 100% 20%, rgba(238, 74, 98, 0.1), transparent 50%),
        linear-gradient(165deg, #122029 0%, var(--ghvm-f-ink) 55%, #050a0d 100%);
    color: var(--ghvm-f-text);
    font-family: var(--font-primary, "Poppins", system-ui, sans-serif);
    overflow: hidden;
}

.ghvm-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
    pointer-events: none;
}

.ghvm-footer > .container {
    position: relative;
    z-index: 1;
}

.ghvm-footer a {
    color: inherit;
    text-decoration: none !important;
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s var(--ghvm-f-ease), box-shadow 0.18s ease;
}

.ghvm-footer ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ghvm-footer li {
    margin: 0 !important;
    padding: 0 !important;
}

.ghvm-footer h4 {
    margin: 0 0 18px !important;
    font-family: var(--font-secondary, "Lexend Deca", system-ui, sans-serif);
    font-size: 1.125rem !important;
    font-weight: 750 !important;
    line-height: 1.3 !important;
    color: #fff !important;
    letter-spacing: 0.01em;
}

.ghvm-footer h4::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    margin-top: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ghvm-f-teal), rgba(26, 182, 157, 0));
}

/* —— CTA band —— */
.ghvm-footer-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px 32px;
    padding: 28px 32px;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(26, 182, 157, 0.28), rgba(15, 143, 122, 0.12) 45%, rgba(255, 255, 255, 0.04)),
        rgba(16, 28, 36, 0.85);
    border: 1px solid rgba(26, 182, 157, 0.35);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ghvm-footer-cta-copy {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    min-width: 0;
    flex: 1 1 320px;
}

.ghvm-footer-cta-copy .icon {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #22c8ad, var(--ghvm-f-teal-deep));
    color: #fff;
    font-size: 30px;
    line-height: 1;
    box-shadow: 0 14px 28px rgba(15, 143, 122, 0.4);
}

.ghvm-footer-cta-copy .icon i {
    color: #fff !important;
    font-style: normal;
    line-height: 1;
}

.ghvm-footer-cta-copy .eyebrow {
    margin: 0 0 6px;
    font-size: 0.8rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7fe0cf;
}

.ghvm-footer-cta-copy h3 {
    margin: 0 0 8px !important;
    font-family: var(--font-secondary, "Lexend Deca", system-ui, sans-serif);
    font-size: clamp(1.45rem, 2.2vw, 1.85rem) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: #fff !important;
}

.ghvm-footer-cta-copy .lead {
    margin: 0;
    max-width: 42ch;
    color: var(--ghvm-f-muted);
    font-size: 1.05rem;
    line-height: 1.55;
}

.ghvm-footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: 0 0 auto;
}

.ghvm-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 750;
    white-space: nowrap;
}

.ghvm-footer-btn i {
    font-size: 1.2rem;
}

.ghvm-footer-btn--primary {
    background: linear-gradient(135deg, #22c8ad, var(--ghvm-f-teal-deep));
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(15, 143, 122, 0.4);
}

.ghvm-footer-btn--primary:hover {
    transform: translateY(-2px);
    color: #fff !important;
    box-shadow: 0 16px 32px rgba(15, 143, 122, 0.5);
}

.ghvm-footer-btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    color: #fff !important;
}

.ghvm-footer-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff !important;
}

/* —— Main shell —— */
.ghvm-footer-shell {
    display: grid;
    grid-template-columns: minmax(260px, 1.15fr) minmax(280px, 1.1fr) minmax(280px, 1fr);
    gap: 40px 36px;
    margin-top: 36px;
    padding: 40px 0 36px;
    border-top: 1px solid var(--ghvm-f-line);
    border-bottom: 1px solid var(--ghvm-f-line);
}

/* Brand */
.ghvm-footer-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.ghvm-footer-logo img {
    flex: 0 0 auto;
    width: 76px;
    height: 76px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 5px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.ghvm-footer-logo span {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.ghvm-footer-logo strong {
    font-family: var(--font-secondary, "Lexend Deca", system-ui, sans-serif);
    font-size: clamp(1.15rem, 1.6vw, 1.35rem);
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
}

.ghvm-footer-logo em {
    font-style: normal;
    font-size: 0.95rem;
    font-weight: 600;
    color: #7fe0cf;
}

.ghvm-footer-brand .desc {
    margin: 0 0 22px;
    color: var(--ghvm-f-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 38ch;
}

.ghvm-footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ghvm-footer-badges span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(26, 182, 157, 0.14);
    border: 1px solid rgba(26, 182, 157, 0.35);
    color: #c8f3ea;
    font-size: 0.9rem;
    font-weight: 700;
}

.ghvm-footer-badges i {
    color: var(--ghvm-f-teal);
    font-size: 1.05rem;
}

/* Nav columns */
.ghvm-footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
}

.ghvm-footer-links {
    display: flex !important;
    flex-direction: column;
    gap: 4px;
}

.ghvm-footer-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 10px 0 0;
    color: var(--ghvm-f-muted) !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    border-radius: 10px;
}

.ghvm-footer-links a::before {
    content: "";
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(26, 182, 157, 0.45);
    transition: background 0.18s ease, transform 0.18s var(--ghvm-f-ease);
}

.ghvm-footer-links a:hover {
    color: #fff !important;
    padding-left: 6px;
}

.ghvm-footer-links a:hover::before {
    background: var(--ghvm-f-teal);
    transform: scale(1.35);
}

/* Contact aside */
.ghvm-footer-aside {
    padding: 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--ghvm-f-line);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ghvm-footer-aside h4 {
    margin-bottom: 16px !important;
}

.ghvm-footer-touch {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 12px;
    margin: 0 -12px 4px;
    border-radius: 14px;
}

.ghvm-footer-touch:hover {
    background: rgba(26, 182, 157, 0.1);
}

.ghvm-footer-touch .ico {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(26, 182, 157, 0.28), rgba(26, 182, 157, 0.08));
    border: 1px solid rgba(26, 182, 157, 0.35);
    color: var(--ghvm-f-teal);
    font-size: 1.25rem;
}

.ghvm-footer-touch span:last-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding-top: 2px;
}

.ghvm-footer-touch small {
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.ghvm-footer-touch strong {
    font-size: 1.05rem;
    font-weight: 650;
    line-height: 1.45;
    color: #fff;
    word-break: break-word;
}

.ghvm-footer-social-wrap {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--ghvm-f-line);
}

.ghvm-footer-social-wrap p {
    margin: 0 0 12px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.ghvm-footer-social {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
}

.ghvm-footer-social a {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--ghvm-f-line);
    color: #fff;
    font-size: 1.15rem;
}

.ghvm-footer-social a:hover {
    transform: translateY(-3px);
    border-color: transparent;
    color: #fff;
}

.ghvm-footer-social a[data-net="fb"]:hover { background: #1877f2; }
.ghvm-footer-social a[data-net="ig"]:hover { background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af); }
.ghvm-footer-social a[data-net="yt"]:hover { background: #ff0000; }

/* Bottom */
.ghvm-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 24px;
    padding: 22px 0 28px;
}

.ghvm-footer-bottom p {
    margin: 0;
    color: var(--ghvm-f-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.ghvm-footer-bottom p a {
    color: var(--ghvm-f-teal);
    font-weight: 700;
}

.ghvm-footer-bottom p a:hover {
    color: #9ee5d8;
}

.ghvm-footer-legal {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.ghvm-footer-legal a {
    color: var(--ghvm-f-muted) !important;
    font-size: 0.95rem !important;
    font-weight: 650 !important;
}

.ghvm-footer-legal a:hover {
    color: #fff !important;
}

/* Back to top */
.rn-progress-parent {
    background: linear-gradient(135deg, var(--ghvm-f-coral), #c93a4f) !important;
    box-shadow: 0 12px 28px rgba(238, 74, 98, 0.4);
    border: none !important;
}

.rn-progress-parent svg.rn-back-circle path {
    stroke: rgba(255, 255, 255, 0.4) !important;
}

/* Responsive */
@media (max-width: 1199px) {
    .ghvm-footer-shell {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

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

    .ghvm-footer-brand .desc {
        max-width: 60ch;
    }
}

@media (max-width: 767px) {
    .ghvm-footer {
        padding-top: 16px;
    }

    .ghvm-footer-cta {
        padding: 16px;
        border-radius: 16px;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 14px;
    }

    .ghvm-footer-cta-copy {
        flex: 0 0 auto;
        gap: 12px;
    }

    .ghvm-footer-cta-copy .icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        font-size: 22px;
    }

    .ghvm-footer-cta-copy .eyebrow {
        margin-bottom: 4px;
        font-size: 0.72rem;
    }

    .ghvm-footer-cta-copy h3 {
        margin-bottom: 4px !important;
        font-size: 1.25rem !important;
    }

    .ghvm-footer-cta-copy .lead {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .ghvm-footer-cta-actions {
        width: 100%;
        flex: 0 0 auto;
        gap: 8px;
    }

    .ghvm-footer-cta-actions .ghvm-footer-btn {
        flex: 1 1 calc(50% - 4px);
        min-height: 44px;
        font-size: 0.88rem;
        padding: 0 10px;
        border-radius: 11px;
        white-space: normal;
        text-align: center;
        line-height: 1.2;
    }

    .ghvm-footer-shell {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 18px;
        padding: 22px 0 20px;
    }

    .ghvm-footer-nav {
        grid-template-columns: 1fr 1fr;
        gap: 20px 16px;
    }

    .ghvm-footer-aside {
        padding: 16px;
    }

    .ghvm-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 0 22px;
    }
}

@media (max-width: 420px) {
    .ghvm-footer-nav {
        grid-template-columns: 1fr;
    }

    .ghvm-footer-cta-copy .lead {
        display: none;
    }

    .ghvm-footer-cta-actions {
        flex-direction: column;
    }

    .ghvm-footer-cta-actions .ghvm-footer-btn {
        flex: 1 1 auto;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ghvm-footer a,
    .ghvm-footer-links a::before {
        transition: none !important;
    }
}
