/**
 * CTAs del banner (hero) — mismo lenguaje que home / paquetes.
 * WhatsApp = pill verde; secundario = pill cian; ghost = outline.
 * Aplica a .hero-section (web, tienda, software, seo), .content-section (IA)
 * y .mx-svc-geo-actions (módulo geo en landings MX).
 */

.hero-section .cta-container,
.content-section .cta-container,
.asesoria-hero-cta,
.mx-svc-geo-actions.cta-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    justify-items: stretch;
    gap: 0.7rem;
    width: 100%;
    max-width: 90%;
}

.mx-svc-geo-actions.cta-container {
    max-width: 100%;
    margin-top: 1rem;
}

.mx-svc-geo-actions .cta-button {
    white-space: normal !important;
    text-align: center !important;
    min-height: 44px !important;
    padding: 0.55rem 0.85rem !important;
    font-size: 0.72rem !important;
}

/* Web / tienda / SEO: intro centrado → CTAs centrados y del mismo ancho */
/* Web / tienda / SEO full-bleed demos: CTAs centrados cuando el demo no es columna lateral */
.hero-section .cta-container--center,
.hero-section:has(> .seo-sim-section) > .cta-container,
.hero-section:has(> .web-sim-section) > .cta-container,
.hero-section:has(> .shop-banner) > .cta-container,
.hero-section:has(> .shop-demo-section) > .cta-container {
    max-width: min(820px, 100%);
    margin-inline: auto;
}

.hero-section .cta-container--center .cta-button {
    white-space: normal;
    text-align: center;
    box-sizing: border-box;
}

.hero-section .cta-container .cta-button,
.content-section .cta-container .cta-button,
.asesoria-hero-cta .cta-button,
.mx-svc-geo-actions .cta-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    width: 100% !important;
    max-width: none;
    min-height: 48px !important;
    padding: 0.65rem 1.25rem !important;
    border-radius: 999px !important;
    border: 1px solid rgba(0, 243, 255, 0.32) !important;
    background: rgba(0, 243, 255, 0.07) !important;
    color: rgba(255, 255, 255, 0.92) !important;
    font-family: 'Inter', 'Segoe UI', sans-serif !important;
    font-size: 0.8125rem !important;
    font-weight: 750 !important;
    letter-spacing: 0.04em !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-shadow: none !important;
    backdrop-filter: none;
    white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
}

.hero-section .cta-container .cta-button i,
.content-section .cta-container .cta-button i,
.asesoria-hero-cta .cta-button i,
.mx-svc-geo-actions .cta-button i {
    margin: 0 !important;
    font-size: 0.72rem !important;
    color: var(--neon-blue, #00f3ff) !important;
}

.hero-section .cta-container .cta-button.primary,
.content-section .cta-container .cta-button.primary,
.asesoria-hero-cta .cta-button.primary,
.mx-svc-geo-actions .cta-button.primary {
    border-color: rgba(0, 243, 255, 0.48) !important;
    background: rgba(0, 243, 255, 0.14) !important;
    color: #fff !important;
}

.hero-section .cta-container .cta-button:has(.fa-whatsapp),
.content-section .cta-container .cta-button:has(.fa-whatsapp),
.asesoria-hero-cta .cta-button:has(.fa-whatsapp),
.mx-svc-geo-actions .cta-button:has(.fa-whatsapp) {
    border-color: rgba(37, 211, 102, 0.42) !important;
    background: rgba(37, 211, 102, 0.1) !important;
    color: rgba(255, 255, 255, 0.92) !important;
}

.hero-section .cta-container .cta-button:has(.fa-whatsapp) i,
.content-section .cta-container .cta-button:has(.fa-whatsapp) i,
.asesoria-hero-cta .cta-button:has(.fa-whatsapp) i,
.mx-svc-geo-actions .cta-button:has(.fa-whatsapp) i {
    color: #25d366 !important;
    font-size: 0.95rem !important;
}

.hero-section .cta-container .cta-button--ghost,
.content-section .cta-container .cta-button--ghost {
    border-color: rgba(255, 255, 255, 0.18) !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.78) !important;
}

.hero-section .cta-container .cta-button--ghost i,
.content-section .cta-container .cta-button--ghost i {
    color: rgba(255, 255, 255, 0.7) !important;
}

.hero-section .cta-container .cta-button:hover,
.hero-section .cta-container .cta-button:focus-visible,
.content-section .cta-container .cta-button:hover,
.content-section .cta-container .cta-button:focus-visible,
.asesoria-hero-cta .cta-button:hover,
.asesoria-hero-cta .cta-button:focus-visible,
.mx-svc-geo-actions .cta-button:hover,
.mx-svc-geo-actions .cta-button:focus-visible {
    color: #fff !important;
    border-color: rgba(0, 255, 157, 0.48) !important;
    background: rgba(0, 243, 255, 0.16) !important;
    box-shadow: 0 6px 18px rgba(0, 243, 255, 0.14) !important;
    transform: translateY(-2px) !important;
}

.hero-section .cta-container .cta-button:has(.fa-whatsapp):hover,
.hero-section .cta-container .cta-button:has(.fa-whatsapp):focus-visible,
.content-section .cta-container .cta-button:has(.fa-whatsapp):hover,
.content-section .cta-container .cta-button:has(.fa-whatsapp):focus-visible,
.asesoria-hero-cta .cta-button:has(.fa-whatsapp):hover,
.asesoria-hero-cta .cta-button:has(.fa-whatsapp):focus-visible,
.mx-svc-geo-actions .cta-button:has(.fa-whatsapp):hover,
.mx-svc-geo-actions .cta-button:has(.fa-whatsapp):focus-visible {
    border-color: rgba(37, 211, 102, 0.58) !important;
    background: rgba(37, 211, 102, 0.18) !important;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.14) !important;
}

.hero-section .cta-container .cta-button--ghost:hover,
.hero-section .cta-container .cta-button--ghost:focus-visible,
.content-section .cta-container .cta-button--ghost:hover,
.content-section .cta-container .cta-button--ghost:focus-visible {
    border-color: rgba(0, 243, 255, 0.4) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    box-shadow: none !important;
}

.hero-section .cta-container .cta-button:focus-visible,
.content-section .cta-container .cta-button:focus-visible,
.asesoria-hero-cta .cta-button:focus-visible,
.mx-svc-geo-actions .cta-button:focus-visible {
    outline: 2px solid var(--neon-blue, #00f3ff);
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .hero-section .cta-container,
    .content-section .cta-container,
    .asesoria-hero-cta,
    .mx-svc-geo-actions.cta-container {
        max-width: 100%;
    }

    .hero-section .cta-container .cta-button,
    .content-section .cta-container .cta-button,
    .asesoria-hero-cta .cta-button,
    .mx-svc-geo-actions .cta-button {
        white-space: normal;
        text-align: center;
        padding: 0.65rem 1.05rem !important;
        font-size: 0.78rem !important;
        width: 100% !important;
    }
}
