/* Footer and persistent WhatsApp action */

.footer {
    margin-top: 0;
    padding: 5rem 0 1.5rem;
    color: #d7dbe4;
    background: #111625;
}

.footer-content {
    margin-bottom: 3.5rem;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
    gap: 3rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: #aeb6c5;
    line-height: 1.8;
}

.footer-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #aeb6c5;
    text-decoration: none;
    transition: color var(--ease);
}

.footer-section a:hover {
    color: #fff;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: #aeb6c5;
    font-size: 0.9rem;
}

.footer-icon {
    width: 15px;
    height: 15px;
    margin-top: 4px;
    flex: 0 0 15px;
    stroke: #ad8ada;
}

.payment-security-inline,
.payment-logos {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.card-logos-row,
.security-badges-compact {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.payment-badge {
    transition: transform var(--ease);
}

.payment-badge:hover {
    transform: translateY(-2px);
}

.mp-logo,
.card-logo {
    width: auto;
    height: 28px;
}

.security-badge {
    padding: 0.4rem 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 7px;
    background: rgb(255 255 255 / 5%);
}

.sec-icon {
    width: 17px;
    height: 17px;
}

.security-badge span {
    color: #8ee2c3;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.footer-bottom {
    padding-top: 2rem;
    color: #858e9e;
    border-top: 1px solid rgb(255 255 255 / 10%);
    font-size: 0.9rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 86px;
    z-index: 999;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 0.65rem;
}

.whatsapp-link {
    position: relative;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #fff;
    border: 1px solid rgb(255 255 255 / 24%);
    border-radius: 14px;
    background:
        linear-gradient(145deg, rgb(255 255 255 / 8%), rgb(255 255 255 / 0%)),
        var(--ink);
    box-shadow: 0 18px 42px rgb(18 24 39 / 22%);
    text-decoration: none;
    transition: transform var(--ease), border-color var(--ease), background var(--ease);
}

.whatsapp-link::after {
    content: '';
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 9px;
    height: 9px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: #25d366;
}

.whatsapp-link:hover {
    border-color: rgb(255 255 255 / 42%);
    background: var(--brand-gradient);
    transform: translateY(-3px);
}

.whatsapp-ico {
    width: 23px;
    height: 23px;
}

.whatsapp-tooltip {
    padding: 0.55rem 0.8rem;
    color: #fff;
    border-radius: var(--radius-sm);
    background: var(--ink);
    box-shadow: var(--shadow-sm);
    font-size: 0.78rem;
    font-weight: 650;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity var(--ease), transform var(--ease);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: none;
}

@media (max-width: 1024px) {
    .footer-content { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .footer { padding-top: 4rem; }
    .footer-content { gap: 2rem; }
    .whatsapp-tooltip { display: none; }
}

@media (max-width: 480px) {
    .footer-content { grid-template-columns: 1fr; }
    .whatsapp-float { right: 13px; bottom: 70px; }
    .whatsapp-link { width: 46px; height: 46px; border-radius: 13px; }
    .whatsapp-ico { width: 21px; height: 21px; }
}
