/* ============================================
   CTA pre-footer + footer premium (v2)
   ============================================ */

/* --- Footer layout profesional (4 columnas) --- */
.footer--premium .footer-main-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(0, 1fr));
    gap: 2rem 2.25rem;
    align-items: start;
    padding: 2.25rem 0 1.35rem;
}

.footer--premium .footer-brand {
    max-width: none;
}

.footer-brand-lockup {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.15rem;
    text-decoration: none;
    color: inherit;
}

.footer-brand-mark {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(145deg, #c9a055 0%, var(--primary-gold, #b78e48) 45%, #8a6a38 100%);
    color: var(--primary-navy, #1f2a3a);
    font-family: "Outfit", sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    box-shadow: 0 6px 20px rgba(183, 142, 72, 0.35);
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    line-height: 1.1;
}

.footer-brand-title {
    font-family: "Outfit", sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--primary-white);
}

.footer-brand-sub {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.footer-brand-mark {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-brand-lockup:hover .footer-brand-mark {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(183, 142, 72, 0.45);
}

.footer-brand-lockup:hover .footer-brand-title {
    color: var(--primary-gold, #b78e48);
}

.footer--premium .footer-tagline {
    font-size: 0.88rem;
    margin-bottom: 0.55rem;
}

.footer--premium .footer-desc {
    font-size: 0.86rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: 20rem;
}

.footer--premium .footer-trust span {
    font-size: 0.65rem;
    padding: 0.32rem 0.55rem;
}

.footer--premium .footer-col {
    align-self: start;
}

.footer--premium .footer-grid-pattern {
    mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 92%);
}

.footer--premium .footer-glow {
    width: 320px;
    height: 320px;
    bottom: -120px;
    opacity: 0.85;
}

.footer--premium .footer-contact li:last-child {
    margin-bottom: 0;
}

.footer--premium .footer-social-wrap {
    margin: 1rem 0 0.85rem;
    padding-top: 0.85rem;
}

.footer--premium .footer-cta-btn {
    width: auto;
    max-width: none;
    margin-top: 0.25rem;
}

.footer--premium .footer-bottom {
    padding: 1rem 0 0.25rem;
}

.team-avatar-wrap.has-photo .team-avatar-fallback {
    display: none;
}

.team-avatar-wrap .team-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* --- CTA band --- */
.cta-band--premium {
    position: relative;
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    background: linear-gradient(135deg, #0f1824 0%, var(--primary-navy, #1f2a3a) 55%, #1a2838 100%);
    border-top: 1px solid rgba(183, 142, 72, 0.2);
    overflow: hidden;
}

.cta-band--premium::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gold, #b78e48), transparent);
    opacity: 0.85;
}

.cta-band-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(183, 142, 72, 0.14), transparent 68%);
    pointer-events: none;
}

.cta-band--premium .cta-band-inner {
    position: relative;
    z-index: 1;
}

.cta-band-eyebrow {
    display: inline-block;
    margin: 0 0 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-gold, #b78e48);
}

.cta-band--premium .cta-band-content h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.45rem, 3.2vw, 1.85rem);
    line-height: 1.25;
    margin-bottom: 0.65rem;
    max-width: 32rem;
}

.cta-band--premium .cta-band-content p {
    font-size: 0.98rem;
    line-height: 1.65;
    max-width: 34rem;
}

.cta-band-arrow,
.cta-band-wa-icon {
    width: 1.05rem;
    height: 1.05rem;
    flex-shrink: 0;
}

.cta-button--whatsapp .cta-band-wa-icon {
    width: 1.15rem;
    height: 1.15rem;
}

.cta-button--whatsapp:hover {
    border-color: #25d366;
    color: #25d366;
    background: rgba(37, 211, 102, 0.1);
}

/* --- Redes sociales (solo iconos) --- */
.footer-social-wrap {
    margin: 0.85rem 0 0.75rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social-label {
    margin: 0 0 0.6rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

/* Anula estilos legacy de silvenza-global (.footer-social-btn 40px) */
.footer--premium .footer-social.footer-social--networks {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 0.55rem !important;
    margin: 0 !important;
    width: auto !important;
    min-height: 0 !important;
}

.footer--premium .footer-social--networks .footer-social-icon {
    flex: 0 0 42px;
    box-sizing: border-box;
}

.footer-social-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    max-width: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.footer--premium .footer-social-btn {
    display: none !important;
}

.footer-social-icon .footer-social-svg,
.footer-social-icon .silvenza-icon {
    width: 1.15rem;
    height: 1.15rem;
}

.footer-social-icon:hover {
    transform: translateY(-2px);
}

.footer-social-icon--linkedin:hover {
    background: rgba(10, 102, 194, 0.22);
    border-color: rgba(10, 102, 194, 0.55);
    color: #60a5fa;
    box-shadow: 0 6px 18px rgba(10, 102, 194, 0.25);
}

.footer-social-icon--instagram:hover {
    background: rgba(225, 48, 108, 0.2);
    border-color: rgba(225, 48, 108, 0.5);
    color: #f472b6;
    box-shadow: 0 6px 18px rgba(225, 48, 108, 0.22);
}

.footer-social-icon--facebook:hover {
    background: rgba(24, 119, 242, 0.22);
    border-color: rgba(24, 119, 242, 0.55);
    color: #60a5fa;
    box-shadow: 0 6px 18px rgba(24, 119, 242, 0.22);
}

.footer-cta-arrow {
    width: 0.9rem;
    height: 0.9rem;
    margin-left: 0.15rem;
}

.footer--premium .footer-cta-btn {
    gap: 0.35rem;
}

.footer--premium .footer-contact-icon .footer-contact-svg {
    width: 1rem;
    height: 1rem;
}

/* --- WhatsApp flotante (SVG) --- */
.whatsapp-float .whatsapp-float-icon,
.whatsapp-float .silvenza-icon {
    width: 1.65rem;
    height: 1.65rem;
    color: #fff;
}

.silvenza-icon--brand {
    display: block;
}

/* --- Responsive --- */
@media (max-width: 1100px) {
    .footer--premium .footer-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem 2rem;
    }

    .footer--premium .footer-brand {
        grid-column: 1 / -1;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 992px) {
    .cta-band--premium .cta-band-inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .cta-band--premium .cta-band-content h2,
    .cta-band--premium .cta-band-content p {
        max-width: none;
    }

    .cta-band--premium .cta-band-actions {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .footer--premium .footer-main-grid {
        grid-template-columns: 1fr;
    }

    .footer--premium .footer-desc {
        max-width: none;
    }
}
