/* Autos Esquivel — footer uppercase override.
   Garantiza que todo el contenido visible del footer se renderice en mayúsculas. */

.public-site-rebuild .ae-footer,
.public-site-rebuild .ae-footer h1,
.public-site-rebuild .ae-footer h2,
.public-site-rebuild .ae-footer h3,
.public-site-rebuild .ae-footer h4,
.public-site-rebuild .ae-footer p,
.public-site-rebuild .ae-footer a,
.public-site-rebuild .ae-footer span,
.public-site-rebuild .ae-footer small,
.public-site-rebuild .ae-footer strong,
.public-site-rebuild .ae-footer address,
.public-site-rebuild .ae-footer button,
.public-site-rebuild .ae-footer time,
.public-site-rebuild .ae-footer dt,
.public-site-rebuild .ae-footer dd {
    text-transform: uppercase !important;
}

.public-site-rebuild .ae-footer__column > strong,
.public-site-rebuild .ae-footer__column > a,
.public-site-rebuild .ae-footer__contact > span,
.public-site-rebuild .ae-footer__brand > p,
.public-site-rebuild .ae-footer__whatsapp,
.public-site-rebuild .ae-footer__bottom,
.public-site-rebuild .ae-footer__eyebrow,
.public-site-rebuild .ae-footer__button {
    text-transform: uppercase !important;
}

.public-site-rebuild .ae-footer__column > a,
.public-site-rebuild .ae-footer__contact > span,
.public-site-rebuild .ae-footer__brand > p {
    letter-spacing: .055em;
}

/* Contacto de marca: correo y redes viven debajo del logotipo. */
.public-site-rebuild .ae-footer__brand-contact {
    display: grid;
    gap: 6px;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 14px;
}

.public-site-rebuild .ae-footer__brand-contact a {
    color: var(--ae-footer-soft);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .035em;
    line-height: 1.45;
    overflow-wrap: anywhere;
    transition: color 170ms ease;
}

.public-site-rebuild .ae-footer__brand-contact a:hover,
.public-site-rebuild .ae-footer__brand-contact a:focus-visible {
    color: var(--ae-footer-text);
}

.public-site-rebuild .ae-footer__brand-socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
}

.public-site-rebuild .ae-footer__brand-socials .ae-footer__floating-action,
.public-site-rebuild .ae-footer__whatsapp.ae-footer__whatsapp--circle {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-grid !important;
    place-items: center;
    grid-template-columns: none !important;
    gap: 0 !important;
    border: 1px solid var(--ae-footer-border-strong);
    border-radius: 50% !important;
    background: rgba(255,255,255,.035);
    color: var(--ae-footer-text) !important;
    box-shadow: none;
}

.public-site-rebuild .ae-footer__whatsapp.ae-footer__whatsapp--circle svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.public-site-rebuild .ae-footer__whatsapp.ae-footer__whatsapp--circle::after {
    content: attr(data-label);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    width: max-content;
    padding: 6px 8px;
    border: 1px solid var(--ae-footer-border-strong);
    border-radius: 7px;
    background: #f4f4f5;
    color: #0a0a0b;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .07em;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 4px);
    transition: opacity 150ms ease, transform 180ms ease;
}

.public-site-rebuild .ae-footer__whatsapp.ae-footer__whatsapp--circle:hover,
.public-site-rebuild .ae-footer__whatsapp.ae-footer__whatsapp--circle:focus-visible {
    border-color: rgba(255,255,255,.78);
    background: #f4f4f5;
    color: #09090a !important;
    transform: translateY(-3px);
}

.public-site-rebuild .ae-footer__whatsapp.ae-footer__whatsapp--circle:hover::after,
.public-site-rebuild .ae-footer__whatsapp.ae-footer__whatsapp--circle:focus-visible::after {
    opacity: 1;
    transform: translate(-50%, 0);
}

.public-site-rebuild .ae-footer__brand > p {
    margin-top: 0;
    font-size: 13.5px;
    line-height: 1.68;
}

/* Jerarquía tipográfica equilibrada con el header público (navegación a 12px). */
.public-site-rebuild .ae-footer__column > strong {
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .085em;
}

.public-site-rebuild .ae-footer__column > a,
.public-site-rebuild .ae-footer__column > span {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.55;
}

/* El microcopy de sucursales necesita ser legible sin competir con el nombre. */
.public-site-rebuild .ae-footer__branch-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .09em;
    line-height: 1.35;
}

.public-site-rebuild .ae-footer__branch-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .045em;
    line-height: 1.3;
}

.public-site-rebuild .ae-footer__branch strong {
    font-size: 15.5px;
    line-height: 1.25;
}

.public-site-rebuild .ae-footer__branch a {
    font-size: 13.5px;
    line-height: 1.4;
}

.public-site-rebuild .ae-footer__branch-locate {
    font-size: 11.5px;
    font-weight: 650;
    line-height: 1.35;
}

.public-site-rebuild .ae-footer__contact-meta,
.public-site-rebuild .ae-footer__contact-meta a,
.public-site-rebuild .ae-footer__contact-meta span {
    font-size: 13px;
    line-height: 1.45;
}

@media (max-width: 760px) {
    .public-site-rebuild .ae-footer__column > a,
    .public-site-rebuild .ae-footer__column > span {
        font-size: 12px;
    }

    .public-site-rebuild .ae-footer__branch-label {
        font-size: 10.5px;
    }

    .public-site-rebuild .ae-footer__branch-badge {
        font-size: 10px;
    }

    .public-site-rebuild .ae-footer__branch-locate {
        font-size: 11.5px;
    }
}
