.site-footer {
    --footer-ink: #ffffff;
    --footer-muted: #cbd5e1;
    --footer-accent: #93c5fd;
    --footer-deep: #071536;
    --footer-panel: #102b6a;
    --footer-line: rgb(147 197 253 / 24%);

    container: site-footer / inline-size;
    padding-block: clamp(1.75rem, 4vw, 3.75rem) 1.25rem;
    background: var(--footer-deep);
    color: var(--footer-muted);
    font-size: 0.875rem;
    line-height: 1.55;
}

.footer-shell {
    width: min(1180px, calc(100% - clamp(1.75rem, 5vw, 4rem)));
    margin-inline: auto;
}

.footer-cta {
    display: grid;
    gap: 1.25rem;
    align-items: center;
    padding: clamp(1.15rem, 3.25vw, 2.5rem);
    border: 1px solid var(--footer-line);
    border-radius: 1.25rem;
    background: var(--footer-panel);
}

.footer-cta h2 {
    margin: 0;
    color: var(--footer-ink);
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    font-weight: 800;
    line-height: 1.13;
    letter-spacing: -0.03em;
}

.footer-cta p {
    margin: 0.65rem 0 0;
}

.footer-cta p a {
    color: var(--footer-accent);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.site-footer .footer-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.65rem 1rem;
    border: 1px solid transparent;
    border-radius: 0.65rem;
    font-weight: 750;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.site-footer .footer-button-primary {
    background: var(--footer-ink);
    color: var(--footer-deep);
}

.site-footer .footer-button-primary:hover {
    background: #dbeafe;
}

.site-footer .footer-button-secondary {
    border-color: var(--footer-accent);
    color: var(--footer-ink);
}

.site-footer .footer-button-secondary:hover {
    background: var(--footer-deep);
}

.footer-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.15rem, 3vw, 2rem);
    padding-block: clamp(1.75rem, 4vw, 3.5rem);
}

.footer-company,
.footer-products,
.footer-contact {
    grid-column: 1 / -1;
}

.site-footer .footer-logo {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 0.6rem;
    color: var(--footer-ink);
    font-size: 1.15rem;
    font-weight: 850;
    letter-spacing: -0.025em;
    text-decoration: none;
}

.footer-logo img {
    display: block;
    border: 1px solid var(--footer-line);
    border-radius: 0.7rem;
}

.footer-company p {
    max-width: 26rem;
    margin: 0.65rem 0 0;
}

.footer-group h2 {
    margin: 0 0 0.55rem;
    color: var(--footer-ink);
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.35;
}

.footer-links {
    display: grid;
    align-content: start;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-products .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(0.8rem, 2vw, 1.35rem);
}

.site-footer .footer-links a {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 44px;
    padding-block: 0.25rem;
    color: var(--footer-muted);
    line-height: 1.35;
    overflow-wrap: anywhere;
    text-decoration: none;
    text-underline-offset: 0.18em;
    transition: color 160ms ease;
}

.site-footer .footer-links a:hover {
    color: var(--footer-ink);
    text-decoration: underline;
}

.site-footer a:focus-visible {
    border-radius: 0.25rem;
    outline: 2px solid var(--footer-accent);
    outline-offset: 3px;
}

.footer-contact address {
    font-style: normal;
}

.footer-contact svg {
    flex: 0 0 1.125rem;
    color: var(--footer-accent);
}

.footer-bottom-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    border-top: 1px solid var(--footer-line);
    padding-top: 1rem;
    font-size: 0.8rem;
}

.footer-bottom-bar p {
    margin: 0;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
}

.footer-legal a {
    color: var(--footer-muted);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.footer-legal a:hover {
    color: var(--footer-ink);
}

.footer-made-in {
    color: var(--footer-ink);
    font-weight: 650;
}

.site-footer-visible .floating-cta,
.site-footer-visible .whatsapp-float,
.site-footer-visible .action-dock {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

@container site-footer (max-width: 440px) {
    .footer-cta-actions .footer-button {
        flex: 1 1 100%;
    }

    .footer-legal {
        width: 100%;
    }

    .footer-legal a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
}

@container site-footer (min-width: 740px) {
    .footer-layout {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-products {
        grid-column: span 2;
    }

    .footer-contact {
        grid-column: auto;
    }

    .site-footer .footer-links a {
        min-height: 34px;
    }
}

@container site-footer (min-width: 980px) {
    .footer-cta {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .footer-layout {
        grid-template-columns: 1.05fr 2.15fr 0.95fr 1fr 1.1fr;
    }

    .footer-company,
    .footer-products,
    .footer-contact {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-footer a {
        transition: none;
    }
}
