/* ==========================================================================
   CDMX 3D EXPERIENCE & CONTRATACIÓN STYLES
   Plataforma de Hosting, Sitios Web y Publicidad para Negocios de CDMX
   ========================================================================== */

:root {
    --cdmx-primary: #FF8C00;
    --cdmx-primary-glow: rgba(255, 140, 0, 0.45);
    --cdmx-green: #0d8248;
    --cdmx-emerald: #10b981;
    --cdmx-red: #c62828;
    --cdmx-gold: #fbbf24;
    --cdmx-dark: #070a12;
    --cdmx-dark-card: rgba(13, 18, 30, 0.88);
    --cdmx-light-card: rgba(255, 255, 255, 0.94);
    --cdmx-border: rgba(255, 255, 255, 0.14);
    --cdmx-border-gold: rgba(251, 191, 36, 0.4);
    --cdmx-text-light: #f8fafc;
    --cdmx-text-muted: #94a3b8;
    --cdmx-radius: 20px;
    --cdmx-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

/* Contenedor Principal del 3D Hero */
.cdmx-experience-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 680px;
    overflow: hidden;
    background: #060911;
}

/* Lienzo Canvas WebGL Three.js */
#cdmx-3d-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    outline: none;
    display: block;
}

/* --------------------------------------------------------------------------
   2. OVERLAY HERO MINIMALISTA Y ELEGANTE
   -------------------------------------------------------------------------- */
.cdmx-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.2rem 3.5rem;
    box-sizing: border-box;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.cdmx-hero-overlay.hidden {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

/* Barra Superior de Navegación Rápida del 3D */
.cdmx-top-bar {
    pointer-events: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.cdmx-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(7, 10, 18, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--cdmx-border);
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    color: var(--cdmx-text-light);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.cdmx-badge-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: cdmxPulse 1.6s infinite;
}

@keyframes cdmxPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.cdmx-top-controls {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.cdmx-ctrl-btn {
    pointer-events: auto;
    background: rgba(7, 10, 18, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--cdmx-border);
    color: var(--cdmx-text-light);
    font-size: 0.84rem;
    font-weight: 700;
    padding: 0.55rem 1.15rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.cdmx-ctrl-btn:hover {
    background: rgba(255, 140, 0, 0.15);
    border-color: var(--cdmx-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Botón Toggle de Vista: Calle vs Mapa */
.cdmx-view-toggle-btn {
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.15) 0%, rgba(14, 165, 233, 0.15) 100%) !important;
    border: 1px solid rgba(0, 245, 212, 0.5) !important;
    color: #00f5d4 !important;
    box-shadow: 0 0 16px rgba(0, 245, 212, 0.25);
}

.cdmx-view-toggle-btn:hover {
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.3) 0%, rgba(14, 165, 233, 0.3) 100%) !important;
    border-color: #00f5d4 !important;
    color: #ffffff !important;
    box-shadow: 0 0 24px rgba(0, 245, 212, 0.45);
    transform: translateY(-2px);
}

.cdmx-view-toggle-btn.is-map-mode {
    background: linear-gradient(135deg, #00f5d4 0%, #0284c7 100%) !important;
    color: #04101e !important;
    font-weight: 800 !important;
    border-color: #00f5d4 !important;
    box-shadow: 0 0 25px rgba(0, 245, 212, 0.6);
}

/* Tarjeta Hero Principal con el Mensaje Central */
.cdmx-hero-card {
    position: relative;
    pointer-events: auto;
    max-width: 560px;
    background: rgba(8, 12, 22, 0.86);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 4px solid var(--cdmx-primary);
    border-radius: 18px;
    padding: 1.35rem 1.75rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.cdmx-hero-card:hover {
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.85), 0 0 35px rgba(255, 140, 0, 0.15);
}

.cdmx-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--cdmx-gold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.cdmx-hero-title {
    font-size: clamp(1.85rem, 3.0vw, 2.5rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: #ffffff;
    margin: 0 0 0.35rem 0;
}

.cdmx-hero-subtitle {
    font-size: clamp(0.9rem, 1.05vw, 1.02rem);
    font-weight: 500;
    line-height: 1.38;
    color: #cbd5e1;
    margin: 0 0 0.7rem 0;
}

.cdmx-hero-subtitle strong {
    color: #ffffff;
    font-weight: 800;
}

/* Banner Destacado de Promoción en Hero Card */
.cdmx-hero-promo-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.14) 0%, rgba(245, 158, 11, 0.08) 100%);
    border: 1.5px solid rgba(251, 191, 36, 0.55);
    border-radius: 14px;
    padding: 0.75rem 1.1rem;
    margin: 0.65rem 0 0.95rem 0;
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.15);
}

.cdmx-hero-promo-left {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-align: left;
}

.cdmx-hero-promo-pill {
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    color: var(--cdmx-gold);
    text-transform: uppercase;
}

.cdmx-hero-promo-text {
    font-size: 0.82rem;
    color: #cbd5e1;
    font-weight: 600;
    line-height: 1.3;
}

.cdmx-hero-promo-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
}

.cdmx-hero-promo-price {
    font-size: clamp(1.35rem, 1.8vw, 1.65rem);
    font-weight: 900;
    color: #ff9900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 0 16px rgba(255, 153, 0, 0.4);
    white-space: nowrap;
}

.cdmx-hero-promo-tax {
    font-size: 0.74rem;
    color: #94a3b8;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 1px;
}

.cdmx-hero-cta-group {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.cdmx-btn-primary {
    background: linear-gradient(135deg, #FF8C00 0%, #FF5416 100%);
    color: #ffffff !important;
    font-size: 0.92rem;
    font-weight: 800;
    padding: 0.75rem 1.4rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.45);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.25s ease;
    text-decoration: none;
}

.cdmx-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 40px rgba(255, 140, 0, 0.65);
}

.cdmx-btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #f1f5f9 !important;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.82rem 1.45rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.25s ease;
    text-decoration: none;
}

.cdmx-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.cdmx-btn-map {
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.12) 0%, rgba(14, 165, 233, 0.18) 100%);
    color: #00f5d4 !important;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.82rem 1.45rem;
    border-radius: 50px;
    border: 1px solid rgba(0, 245, 212, 0.45);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.25s ease;
    text-decoration: none;
}

.cdmx-btn-map:hover {
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.28) 0%, rgba(14, 165, 233, 0.35) 100%);
    border-color: #00f5d4;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 245, 212, 0.35);
}

/* Selector de Ciudades Mexicanas */
.cdmx-city-selector-bar {
    margin: 0.8rem 0 1.1rem 0;
    padding: 0.7rem 0.95rem;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    backdrop-filter: blur(12px);
}

.cdmx-city-bar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}

.cdmx-city-bar-label {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

.cdmx-city-badge-tag {
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.2rem 0.65rem;
    background: rgba(0, 245, 212, 0.16);
    border: 1px solid #00f5d4;
    color: #00f5d4;
    border-radius: 50px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cdmx-city-pills {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.cdmx-city-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #e2e8f0;
    font-size: 0.86rem;
    font-weight: 700;
    padding: 0.42rem 0.95rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.cdmx-city-pill:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

.cdmx-city-pill.active {
    background: linear-gradient(135deg, #FF8C00 0%, #FF5416 100%);
    border-color: #ff8c00;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(255, 140, 0, 0.45);
}

.cdmx-city-custom-box {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50px;
    padding: 0.15rem 0.25rem 0.15rem 0.75rem;
    transition: all 0.25s ease;
    flex: 1;
    min-width: 170px;
}

.cdmx-city-custom-box:focus-within {
    border-color: #00f5d4;
    box-shadow: 0 0 14px rgba(0, 245, 212, 0.35);
}

.cdmx-city-custom-box input {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    outline: none;
    width: 100%;
}

.cdmx-city-custom-box input::placeholder {
    color: #64748b;
}

.cdmx-city-custom-box button {
    background: #00f5d4;
    color: #04101e;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.cdmx-city-custom-box button:hover {
    background: #ffffff;
    transform: scale(1.1);
}

/* Indicador de Recorrido 3D en Vivo */
.cdmx-cam-indicator {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(7, 10, 18, 0.72);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.55rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: #94a3b8;
    align-self: flex-start;
}

.cdmx-cam-indicator strong {
    color: #e2e8f0;
}

/* --------------------------------------------------------------------------
   3. MODAL LATERAL IZQUIERDO Y EMBUDO DE CONTRATACIÓN (10 ETAPAS)
   -------------------------------------------------------------------------- */
.cdmx-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1100;
    background: linear-gradient(90deg, rgba(4, 7, 14, 0.96) 0%, rgba(4, 7, 14, 0.88) 460px, rgba(4, 7, 14, 0.25) 850px, transparent 100%);
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    padding: 1.2rem 0 1.2rem 1.6rem;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.cdmx-modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* Ventana Modal como Drawer / Panel Lateral Izquierdo */
.cdmx-modal-window {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 100%;
    max-height: calc(100vh - 2.4rem);
    overflow-y: auto;
    background: rgba(9, 13, 24, 0.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    box-shadow: 
        0 24px 70px rgba(0, 0, 0, 0.85),
        0 0 0 1px rgba(251, 191, 36, 0.2);
    padding: 1.8rem 1.7rem 1.5rem;
    color: var(--cdmx-text-light);
    transform: translateX(-50px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cdmx-modal-backdrop.active .cdmx-modal-window {
    transform: translateX(0);
}

.cdmx-modal-window::-webkit-scrollbar {
    width: 6px;
}

.cdmx-modal-window::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.cdmx-modal-window::-webkit-scrollbar-thumb {
    background: rgba(255, 140, 0, 0.4);
    border-radius: 10px;
}

.cdmx-modal-window::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 140, 0, 0.7);
}

/* Botón Cerrar Modal */
.cdmx-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.cdmx-modal-close:hover {
    background: rgba(244, 63, 94, 0.25);
    border-color: #f43f5e;
    color: #ffffff;
}

/* Indicador de Pasos / Progreso */
.cdmx-step-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 1.4rem;
}

.cdmx-prog-pill {
    height: 4px;
    flex: 1;
    max-width: 45px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.cdmx-prog-pill.active {
    background: var(--cdmx-primary);
    box-shadow: 0 0 8px var(--cdmx-primary);
}

.cdmx-prog-pill.completed {
    background: var(--cdmx-emerald);
}

/* Encabezado del Paso */
.cdmx-step-header {
    text-align: left;
    margin-bottom: 1.4rem;
}

.cdmx-step-badge {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--cdmx-gold);
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.cdmx-step-title {
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 0.4rem 0;
    line-height: 1.2;
}

.cdmx-step-desc {
    font-size: 0.88rem;
    color: var(--cdmx-text-muted);
    margin: 0;
    line-height: 1.45;
}

/* --------------------------------------------------------------------------
   PASO 1: SELECCIÓN DEL TIPO DE NEGOCIO (LISTA LATERAL IZQUIERDA)
   -------------------------------------------------------------------------- */
.cdmx-categories-grid {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1.2rem;
    max-height: 480px;
    overflow-y: auto;
    padding-right: 6px;
}

.cdmx-categories-grid::-webkit-scrollbar {
    width: 6px;
}
.cdmx-categories-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}
.cdmx-categories-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.22);
    border-radius: 4px;
}
.cdmx-categories-grid::-webkit-scrollbar-thumb:hover {
    background: var(--cdmx-primary);
}

.cdmx-category-card {
    flex: 0 0 auto;
    flex-shrink: 0;
    min-height: 48px;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0.6rem 1rem;
    cursor: pointer;
    transition: all 0.22s ease;
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    position: relative;
    box-sizing: border-box;
}

.cdmx-category-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

/* Ramo Salud */
.cdmx-category-card[data-category="Salud"]:hover {
    border-color: rgba(0, 245, 160, 0.6);
    background: rgba(0, 245, 160, 0.08);
}
.cdmx-category-card[data-category="Salud"].selected {
    background: rgba(0, 245, 160, 0.16);
    border-color: #00f5a0;
    box-shadow: 0 0 28px rgba(0, 245, 160, 0.4);
    transform: translateX(6px);
}
.cdmx-category-card[data-category="Salud"] .cdmx-cat-3d-tag {
    background: rgba(0, 245, 160, 0.16);
    color: #00f5a0;
    border-color: rgba(0, 245, 160, 0.45);
}

/* Ramo Inmobiliaria */
.cdmx-category-card[data-category="Inmobiliaria"]:hover {
    border-color: rgba(56, 189, 248, 0.6);
    background: rgba(56, 189, 248, 0.08);
}
.cdmx-category-card[data-category="Inmobiliaria"].selected {
    background: rgba(56, 189, 248, 0.16);
    border-color: #38bdf8;
    box-shadow: 0 0 28px rgba(56, 189, 248, 0.4);
    transform: translateX(6px);
}
.cdmx-category-card[data-category="Inmobiliaria"] .cdmx-cat-3d-tag {
    background: rgba(56, 189, 248, 0.16);
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.45);
}

/* Ramo Restaurante */
.cdmx-category-card[data-category="Restaurante"]:hover {
    border-color: rgba(255, 140, 0, 0.6);
    background: rgba(255, 140, 0, 0.08);
}
.cdmx-category-card[data-category="Restaurante"].selected {
    background: rgba(255, 140, 0, 0.18);
    border-color: #ff8c00;
    box-shadow: 0 0 28px rgba(255, 140, 0, 0.42);
    transform: translateX(6px);
}
.cdmx-category-card[data-category="Restaurante"] .cdmx-cat-3d-tag {
    background: rgba(255, 140, 0, 0.16);
    color: #ffaa00;
    border-color: rgba(255, 140, 0, 0.45);
}

/* Ramo Servicios (Dorado Oro Ejecutivo) */
.cdmx-category-card[data-category="Servicios"]:hover {
    border-color: rgba(251, 191, 36, 0.6);
    background: rgba(251, 191, 36, 0.08);
}
.cdmx-category-card[data-category="Servicios"].selected {
    background: rgba(251, 191, 36, 0.18);
    border-color: #fbbf24;
    box-shadow: 0 0 28px rgba(251, 191, 36, 0.42);
    transform: translateX(6px);
}
.cdmx-category-card[data-category="Servicios"] .cdmx-cat-3d-tag {
    background: rgba(251, 191, 36, 0.16);
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.45);
}

/* Ramo Café */
.cdmx-category-card[data-category="Café"]:hover {
    border-color: rgba(245, 158, 11, 0.6);
    background: rgba(245, 158, 11, 0.08);
}
.cdmx-category-card[data-category="Café"].selected {
    background: rgba(245, 158, 11, 0.18);
    border-color: #f59e0b;
    box-shadow: 0 0 28px rgba(245, 158, 11, 0.42);
    transform: translateX(6px);
}
.cdmx-category-card[data-category="Café"] .cdmx-cat-3d-tag {
    background: rgba(245, 158, 11, 0.16);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.45);
}

/* Ramo Veterinaria */
.cdmx-category-card[data-category="Veterinaria"]:hover {
    border-color: rgba(132, 204, 22, 0.6);
    background: rgba(132, 204, 22, 0.08);
}
.cdmx-category-card[data-category="Veterinaria"].selected {
    background: rgba(132, 204, 22, 0.18);
    border-color: #84cc16;
    box-shadow: 0 0 28px rgba(132, 204, 22, 0.42);
    transform: translateX(6px);
}
.cdmx-category-card[data-category="Veterinaria"] .cdmx-cat-3d-tag {
    background: rgba(132, 204, 22, 0.16);
    color: #84cc16;
    border-color: rgba(132, 204, 22, 0.45);
}

/* Ramo Boutique */
.cdmx-category-card[data-category="Boutique"]:hover {
    border-color: rgba(217, 70, 239, 0.6);
    background: rgba(217, 70, 239, 0.08);
}
.cdmx-category-card[data-category="Boutique"].selected {
    background: rgba(217, 70, 239, 0.18);
    border-color: #d946ef;
    box-shadow: 0 0 28px rgba(217, 70, 239, 0.42);
    transform: translateX(6px);
}
.cdmx-category-card[data-category="Boutique"] .cdmx-cat-3d-tag {
    background: rgba(217, 70, 239, 0.16);
    color: #d946ef;
    border-color: rgba(217, 70, 239, 0.45);
}

/* Ramo Barbería */
.cdmx-category-card[data-category="Barbería"]:hover {
    border-color: rgba(2, 132, 199, 0.6);
    background: rgba(2, 132, 199, 0.08);
}
.cdmx-category-card[data-category="Barbería"].selected {
    background: rgba(2, 132, 199, 0.18);
    border-color: #0284c7;
    box-shadow: 0 0 28px rgba(2, 132, 199, 0.42);
    transform: translateX(6px);
}
.cdmx-category-card[data-category="Barbería"] .cdmx-cat-3d-tag {
    background: rgba(2, 132, 199, 0.16);
    color: #0284c7;
    border-color: rgba(2, 132, 199, 0.45);
}

/* Ramo Tecnología */
.cdmx-category-card[data-category="Tecnología"]:hover {
    border-color: rgba(6, 182, 212, 0.6);
    background: rgba(6, 182, 212, 0.08);
}
.cdmx-category-card[data-category="Tecnología"].selected {
    background: rgba(6, 182, 212, 0.18);
    border-color: #06b6d4;
    box-shadow: 0 0 28px rgba(6, 182, 212, 0.42);
    transform: translateX(6px);
}
.cdmx-category-card[data-category="Tecnología"] .cdmx-cat-3d-tag {
    background: rgba(6, 182, 212, 0.16);
    color: #06b6d4;
    border-color: rgba(6, 182, 212, 0.45);
}

/* Ramo Taquería */
.cdmx-category-card[data-category="Taquería"]:hover {
    border-color: rgba(249, 115, 22, 0.6);
    background: rgba(249, 115, 22, 0.08);
}
.cdmx-category-card[data-category="Taquería"].selected {
    background: rgba(249, 115, 22, 0.18);
    border-color: #f97316;
    box-shadow: 0 0 28px rgba(249, 115, 22, 0.42);
    transform: translateX(6px);
}
.cdmx-category-card[data-category="Taquería"] .cdmx-cat-3d-tag {
    background: rgba(249, 115, 22, 0.16);
    color: #f97316;
    border-color: rgba(249, 115, 22, 0.45);
}

.cdmx-cat-icon {
    font-size: 1.45rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    flex-shrink: 0;
    margin: 0;
}

.cdmx-cat-name {
    flex: 1 1 auto;
    font-size: 0.96rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.cdmx-cat-desc {
    display: none;
}

.cdmx-cat-3d-tag {
    flex-shrink: 0;
    margin: 0;
    font-size: 0.70rem;
    font-weight: 800;
    padding: 0.22rem 0.65rem;
    border-radius: 50px;
    background: rgba(16, 185, 129, 0.18);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   PASO 2: OFERTA PRINCIPAL ($2,500.00 MXN)
   -------------------------------------------------------------------------- */
.cdmx-offer-card {
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.85) 0%, rgba(10, 15, 28, 0.85) 100%);
    border: 2px solid var(--cdmx-border-gold);
    border-radius: 20px;
    padding: 2rem 2.4rem;
    margin-bottom: 2rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.cdmx-offer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
    padding-bottom: 1.4rem;
    margin-bottom: 1.4rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.cdmx-offer-service {
    font-size: 1.6rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 0.3rem 0;
}

.cdmx-offer-promo-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(217, 119, 6, 0.2);
    border: 1px solid var(--cdmx-gold);
    color: var(--cdmx-gold);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cdmx-offer-price-box {
    text-align: right;
}

.cdmx-price-from {
    font-size: 0.88rem;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
}

.cdmx-price-amount {
    font-size: clamp(2.4rem, 3.8vw, 3.2rem);
    font-weight: 900;
    color: var(--cdmx-primary);
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    justify-content: flex-end;
}

.cdmx-price-cur {
    font-size: 0.48em;
    color: var(--cdmx-gold);
}

.cdmx-price-tax {
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 0.2rem;
    text-align: right;
}

.cdmx-sum-price-wrap {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.cdmx-sum-tax {
    font-size: 0.74rem;
    color: #94a3b8;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 1px;
}

/* Ticker Promocional con +IVA */
.ticker-price-container {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    vertical-align: middle;
    margin-left: 0.45rem;
    line-height: 1;
}

.ticker-price-highlight {
    font-size: 1.18rem;
    font-weight: 900;
    color: #fbbf24;
    letter-spacing: -0.01em;
}

.ticker-tax {
    font-size: 0.65rem;
    color: #cbd5e1;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 1px;
}

.cdmx-offer-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
}

.cdmx-feat-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #e2e8f0;
}

.cdmx-feat-item .f-check {
    color: #10b981;
    font-weight: 900;
    font-size: 1rem;
}

/* --------------------------------------------------------------------------
   PASO 3: CONFIGURAR LA PROMOCIÓN
   -------------------------------------------------------------------------- */
.cdmx-promo-form-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
}

.cdmx-form-group {
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cdmx-form-group label {
    font-size: 0.84rem;
    font-weight: 700;
    color: #cbd5e1;
}

.cdmx-form-input,
.cdmx-form-textarea,
.cdmx-form-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-size: 0.92rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.cdmx-form-input:focus,
.cdmx-form-textarea:focus,
.cdmx-form-select:focus {
    outline: none;
    border-color: var(--cdmx-primary);
    background: rgba(255, 140, 0, 0.06);
    box-shadow: 0 0 12px rgba(255, 140, 0, 0.25);
}

/* Vista previa de la promoción en escaparate 3D */
.cdmx-promo-preview-box {
    background: #0b111e;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.cdmx-preview-label {
    font-size: 0.75rem;
    color: var(--cdmx-gold);
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cdmx-preview-card-render {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 2px solid var(--cdmx-primary);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 140, 0, 0.2);
}

.cdmx-preview-badge {
    background: var(--cdmx-red);
    color: #fff;
    font-weight: 900;
    font-size: 0.8rem;
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 0.6rem;
}

.cdmx-preview-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: #fff;
    margin: 0 0 0.4rem 0;
}

.cdmx-preview-desc {
    font-size: 0.85rem;
    color: #cbd5e1;
    margin: 0 0 0.8rem 0;
}

.cdmx-preview-expiry {
    font-size: 0.74rem;
    color: #94a3b8;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   PASO 4: MAYOR COBERTURA (MAPA CDMX)
   -------------------------------------------------------------------------- */
.cdmx-coverage-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cdmx-coverage-selector {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 1.2rem;
}

.cdmx-coverage-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.4rem 1.5rem;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
}

.cdmx-coverage-card:hover {
    border-color: rgba(255, 140, 0, 0.4);
    background: rgba(255, 140, 0, 0.05);
}

.cdmx-coverage-card.active {
    background: rgba(255, 140, 0, 0.12);
    border-color: var(--cdmx-primary);
    box-shadow: 0 0 25px rgba(255, 140, 0, 0.3);
}

.cdmx-cov-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cdmx-cov-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.cdmx-cov-tag {
    font-size: 0.72rem;
    font-weight: 800;
    background: #10b981;
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
}

.cdmx-cov-desc {
    font-size: 0.84rem;
    color: #94a3b8;
    margin: 0 0 0.8rem 0;
    line-height: 1.45;
}

/* Representación Visual del Mapa CDMX */
.cdmx-map-visual {
    background: #090e18;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.4rem;
    position: relative;
    overflow: hidden;
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cdmx-map-zones-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    z-index: 2;
}

.cdmx-zone-chip {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.25s ease;
}

.cdmx-zone-chip.glow {
    background: rgba(16, 185, 129, 0.18);
    border-color: #10b981;
    color: #6ee7b7;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.35);
}

.cdmx-map-radar {
    position: absolute;
    right: 20px;
    bottom: -30px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 140, 0, 0.3);
    animation: cdmxRadarRotate 20s linear infinite;
    pointer-events: none;
}

@keyframes cdmxRadarRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   PASO 5: DATOS DEL NEGOCIO
   -------------------------------------------------------------------------- */
.cdmx-business-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.cdmx-business-form-grid .cdmx-form-group {
    margin-bottom: 0;
}

.cdmx-business-form-grid .cdmx-form-input {
    padding: 0.6rem 0.85rem;
    font-size: 0.88rem;
}

.cdmx-form-full {
    grid-column: span 2;
}

/* Caja de Atención por WhatsApp (Sin Checkout) */
.cdmx-wa-notice-box {
    margin-top: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.85rem 1.1rem;
    background: rgba(37, 211, 102, 0.09);
    border: 1.5px solid rgba(37, 211, 102, 0.38);
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.15);
}

.cdmx-wa-notice-icon {
    font-size: 1.55rem;
    line-height: 1;
    flex-shrink: 0;
}

.cdmx-wa-notice-content {
    flex: 1;
}

.cdmx-wa-notice-title {
    color: #25d366;
    font-size: 0.90rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    letter-spacing: -0.01em;
}

.cdmx-wa-notice-desc {
    color: #cbd5e1;
    font-size: 0.80rem;
    line-height: 1.4;
}

/* Botón Especial de WhatsApp para Paso 5 */
.btn-whatsapp-submit {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
    border-color: #25d366 !important;
    color: #ffffff !important;
    box-shadow: 0 0 24px rgba(37, 211, 102, 0.5) !important;
    font-weight: 800 !important;
    animation: wa-submit-pulse 2.2s infinite ease-in-out;
}

.btn-whatsapp-submit:hover {
    background: linear-gradient(135deg, #2ee06e 0%, #179e8e 100%) !important;
    box-shadow: 0 0 32px rgba(37, 211, 102, 0.8) !important;
    transform: translateY(-2px);
}

@keyframes wa-submit-pulse {
    0%, 100% {
        box-shadow: 0 0 16px rgba(37, 211, 102, 0.45);
    }
    50% {
        box-shadow: 0 0 30px rgba(37, 211, 102, 0.85);
    }
}

/* --------------------------------------------------------------------------
   PASO 6: RESUMEN DE CONTRATACIÓN
   -------------------------------------------------------------------------- */
.cdmx-summary-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 1.8rem;
    margin-bottom: 2rem;
    align-items: stretch;
}

.cdmx-summary-list {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.5rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cdmx-sum-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.92rem;
}

.cdmx-sum-label {
    color: #94a3b8;
    font-weight: 600;
}

.cdmx-sum-val {
    color: #ffffff;
    font-weight: 800;
}

.cdmx-sum-row.total {
    border-bottom: none;
    padding-top: 1rem;
}

.cdmx-sum-row.total .cdmx-sum-val {
    font-size: 1.5rem;
    color: var(--cdmx-primary);
}

.cdmx-summary-preview-frame {
    background: #090e18;
    border: 1px solid var(--cdmx-border-gold);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.cdmx-preview-badge-mini {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.72rem;
    font-weight: 800;
    background: rgba(13, 130, 72, 0.3);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
}

.cdmx-preview-store-icon {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.cdmx-preview-store-name {
    font-size: 1.3rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 0.4rem 0;
}

.cdmx-preview-store-status {
    font-size: 0.8rem;
    color: var(--cdmx-gold);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   PASO 7: CHECKOUT
   -------------------------------------------------------------------------- */
.cdmx-checkout-container {
    max-width: 580px;
    margin: 0 auto 2rem;
}

.cdmx-payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}

.cdmx-pay-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 1rem 0.5rem;
    color: #cbd5e1;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
}

.cdmx-pay-btn.selected {
    border-color: var(--cdmx-primary);
    background: rgba(255, 140, 0, 0.12);
    color: #ffffff;
}

/* Botonera de Navegación del Modal */
.cdmx-modal-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.4rem;
}

.cdmx-btn-back {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.cdmx-btn-back:hover {
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   10. MOMENTO CLAVE: TRANSFORMACIÓN 3D CINEMATOGRÁFICA
   -------------------------------------------------------------------------- */
.cdmx-transformation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 200;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.cdmx-transformation-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cdmx-trans-splash {
    background: rgba(8, 12, 22, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 2px solid var(--cdmx-gold);
    border-radius: 24px;
    padding: 2.2rem 3.2rem;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.9), 0 0 50px rgba(251, 191, 36, 0.35);
    animation: cdmxPopIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cdmxPopIn {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.cdmx-trans-splash-title {
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 0.6rem 0;
    line-height: 1.15;
}

.cdmx-trans-splash-sub {
    font-size: 1.1rem;
    color: var(--cdmx-gold);
    font-weight: 700;
    margin: 0 0 1.2rem 0;
}

.cdmx-trans-step-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid #10b981;
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    font-weight: 800;
}

.cdmx-compare-bar {
    position: absolute;
    top: 5.5rem;
    right: 2.2rem;
    z-index: 25;
    pointer-events: auto;
    background: rgba(8, 12, 22, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 140, 0, 0.45);
    padding: 0.45rem 0.8rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 140, 0, 0.25);
    animation: cdmxCompareSlide 0.35s ease-out;
}

@keyframes cdmxCompareSlide {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.cdmx-compare-label {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #94a3b8;
    padding-left: 0.8rem;
    padding-right: 0.4rem;
    text-transform: uppercase;
    font-family: 'Space Grotesk', 'Outfit', sans-serif;
}

.cdmx-compare-toggle {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.cdmx-compare-toggle.active {
    background: var(--cdmx-primary);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.4);
}

/* --------------------------------------------------------------------------
   13. DASHBOARD DEL CLIENTE
   -------------------------------------------------------------------------- */
.cdmx-dashboard-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 150;
    background: rgba(4, 7, 14, 0.78);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.cdmx-dashboard-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.cdmx-dashboard-panel {
    position: relative;
    width: 100%;
    max-width: 960px;
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(145deg, #0e1424 0%, #080c16 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--cdmx-radius);
    padding: 2.4rem 2.8rem;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.9);
    color: #ffffff;
}

.cdmx-dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.4rem;
    margin-bottom: 1.6rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.cdmx-dash-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 0.3rem 0;
}

.cdmx-dash-sub {
    font-size: 0.88rem;
    color: #10b981;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.cdmx-dash-tabs {
    display: flex;
    gap: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.8rem;
    margin-bottom: 1.8rem;
    overflow-x: auto;
}

.cdmx-dash-tab-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.6rem 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cdmx-dash-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.cdmx-dash-tab-btn.active {
    background: rgba(255, 140, 0, 0.16);
    color: var(--cdmx-primary);
    border: 1px solid rgba(255, 140, 0, 0.35);
}

.cdmx-dash-tab-content {
    display: none;
}

.cdmx-dash-tab-content.active {
    display: block;
    animation: cdmxFadeIn 0.3s ease;
}

@keyframes cdmxFadeIn {
    0% { opacity: 0; transform: translateY(6px); }
    100% { opacity: 1; transform: translateY(0); }
}

.cdmx-dash-hero-action {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.18) 0%, rgba(13, 130, 72, 0.15) 100%);
    border: 1px solid var(--cdmx-border-gold);
    border-radius: 16px;
    padding: 1.8rem 2.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.8rem;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.cdmx-action-text h4 {
    font-size: 1.25rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 0.3rem 0;
}

.cdmx-action-text p {
    font-size: 0.88rem;
    color: #cbd5e1;
    margin: 0;
}

/* --------------------------------------------------------------------------
   RESPONSIVIDAD Y OPTIMIZACIONES 100% RESPONSIVO
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .cdmx-experience-wrapper {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        overflow-x: hidden;
        overflow-y: visible;
        padding-bottom: 2.5rem;
    }

    #cdmx-3d-canvas {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        min-height: 100%;
    }

    .cdmx-hero-overlay {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        padding: 1.2rem 1.4rem 2rem;
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
        pointer-events: auto;
        justify-content: flex-start;
    }

    .cdmx-top-bar {
        flex-wrap: wrap;
        gap: 0.6rem;
    }

    .cdmx-hero-card {
        max-width: 100%;
        width: 100%;
        margin-bottom: 0;
        padding: 1.4rem 1.6rem;
    }

    .cdmx-categories-grid,
    .cdmx-promo-form-grid,
    .cdmx-coverage-selector,
    .cdmx-summary-grid,
    .cdmx-business-form-grid {
        grid-template-columns: 1fr;
    }

    .cdmx-form-full {
        grid-column: span 1;
    }

    .cdmx-modal-backdrop {
        padding: 0;
        align-items: flex-end;
        justify-content: center;
        background: rgba(4, 7, 14, 0.88);
    }

    .cdmx-modal-window {
        max-width: 100%;
        width: 100%;
        max-height: 90vh;
        max-height: 90dvh;
        border-radius: 22px 22px 0 0;
        padding: 1.5rem 1.3rem 1.8rem;
        transform: translateY(100%);
    }

    .cdmx-modal-backdrop.active .cdmx-modal-window {
        transform: translateY(0);
    }

    .cdmx-dashboard-backdrop {
        padding: 0.6rem;
    }

    .cdmx-dashboard-panel {
        padding: 1.5rem 1.3rem;
        max-height: 94vh;
        max-height: 94dvh;
        border-radius: 16px;
    }

    .cdmx-cam-indicator {
        position: relative;
        align-self: center;
        width: auto;
        max-width: 100%;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .cdmx-hero-overlay {
        padding: 0.75rem 0.75rem 1.8rem;
        gap: 0.85rem;
    }

    .cdmx-top-bar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.4rem;
    }

    .cdmx-brand-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
        max-width: 100%;
    }

    .cdmx-top-controls {
        gap: 0.4rem;
        flex-wrap: wrap;
    }

    .cdmx-ctrl-btn {
        font-size: 0.74rem;
        padding: 0.35rem 0.7rem;
    }

    #btn-top-contratar {
        display: none !important;
    }

    .cdmx-hero-card {
        padding: 1.15rem 0.95rem;
        border-radius: 14px;
    }

    .cdmx-hero-tag {
        font-size: 0.68rem;
        margin-bottom: 0.25rem;
    }

    .cdmx-hero-title {
        font-size: clamp(1.35rem, 5.8vw, 1.75rem);
        margin-bottom: 0.3rem;
    }

    .cdmx-hero-subtitle {
        font-size: 0.82rem;
        line-height: 1.35;
        margin-bottom: 0.55rem;
    }

    .cdmx-hero-promo-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
        padding: 0.65rem 0.8rem;
    }

    .cdmx-hero-promo-pill {
        font-size: 0.68rem;
    }

    .cdmx-hero-promo-text {
        font-size: 0.75rem;
    }

    .cdmx-hero-promo-right {
        flex-direction: row;
        align-items: baseline;
        justify-content: space-between;
        width: 100%;
    }

    .cdmx-hero-promo-price {
        font-size: 1.25rem;
    }

    .cdmx-hero-promo-tax {
        font-size: 0.68rem;
    }

    .cdmx-city-selector-bar {
        padding: 0.55rem 0.7rem;
        margin: 0.55rem 0 0.8rem 0;
    }

    .cdmx-city-bar-header {
        margin-bottom: 0.45rem;
    }

    .cdmx-city-bar-label {
        font-size: 0.72rem;
    }

    .cdmx-city-badge-tag {
        font-size: 0.68rem;
        padding: 0.15rem 0.45rem;
    }

    .cdmx-city-pills {
        gap: 0.3rem;
    }

    .cdmx-city-pill {
        font-size: 0.76rem;
        padding: 0.32rem 0.65rem;
    }

    .cdmx-city-custom-box {
        min-width: 100%;
        width: 100%;
        margin-top: 0.35rem;
        padding: 0.15rem 0.25rem 0.15rem 0.65rem;
    }

    .cdmx-city-custom-box input {
        font-size: 0.78rem;
    }

    .cdmx-offer-features {
        grid-template-columns: 1fr;
    }

    .cdmx-payment-methods {
        grid-template-columns: 1fr;
    }

    .cdmx-hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0.45rem;
    }

    .cdmx-btn-primary,
    .cdmx-btn-map,
    .cdmx-btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 0.72rem 0.95rem;
        font-size: 0.86rem;
        text-align: center;
        box-sizing: border-box;
    }

    .cdmx-drone-hud {
        padding: 0.8rem 0.95rem;
        border-radius: 12px;
    }

    .cdmx-drone-telemetry {
        gap: 0.45rem 0.65rem;
        margin-bottom: 0.65rem;
    }

    .cdmx-drone-metric .metric-title {
        font-size: 0.6rem;
    }

    .cdmx-drone-metric .metric-val {
        font-size: 0.84rem;
    }

    .cdmx-drone-hint {
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
    }

    .cdmx-cam-indicator {
        font-size: 0.72rem;
        padding: 0.4rem 0.75rem;
        max-width: 100%;
        word-break: break-word;
    }
}

/* --------------------------------------------------------------------------
   HUD DE TELEMETRÍA DRON AÉREO (VISTA DRON LENTA REPÚBLICA MEXICANA)
   -------------------------------------------------------------------------- */
.cdmx-drone-hud {
    position: absolute;
    top: 5.5rem;
    right: 2.2rem;
    z-index: 25;
    background: rgba(5, 12, 24, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(0, 245, 212, 0.45);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 25px rgba(0, 245, 212, 0.2);
    border-radius: 14px;
    padding: 1.1rem 1.4rem;
    min-width: 310px;
    max-width: 360px;
    font-family: 'Space Grotesk', 'Outfit', sans-serif;
    color: #e2e8f0;
    pointer-events: none;
    animation: cdmxDroneHudSlide 0.4s ease-out;
}

@keyframes cdmxDroneHudSlide {
    0% { opacity: 0; transform: translateY(-12px); }
    100% { opacity: 1; transform: translateY(0); }
}

.cdmx-drone-hud-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 0.65rem;
    margin-bottom: 0.75rem;
}

.cdmx-drone-rec {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.cdmx-rec-dot {
    width: 9px;
    height: 9px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 10px #ef4444;
    animation: cdmxRecBlink 1.1s infinite ease-in-out;
}

@keyframes cdmxRecBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.25; transform: scale(0.85); }
}

.cdmx-rec-label {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #f87171;
}

.cdmx-drone-gps {
    font-size: 0.68rem;
    color: #64748b;
    font-family: monospace;
}

.cdmx-drone-telemetry {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
    margin-bottom: 0.85rem;
}

.cdmx-drone-metric {
    display: flex;
    flex-direction: column;
}

.cdmx-drone-metric:last-child {
    grid-column: span 2;
}

.cdmx-drone-metric .metric-title {
    font-size: 0.65rem;
    letter-spacing: 0.09em;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
}

.cdmx-drone-metric .metric-val {
    font-size: 0.95rem;
    font-weight: 900;
    color: #00f5d4;
    letter-spacing: 0.03em;
}

.cdmx-drone-hint {
    background: rgba(0, 245, 212, 0.08);
    border: 1px dashed rgba(0, 245, 212, 0.35);
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    font-size: 0.75rem;
    color: #cbd5e1;
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    line-height: 1.35;
}

.cdmx-drone-hint .hint-icon {
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .cdmx-drone-hud {
        position: relative;
        top: auto;
        bottom: auto;
        right: auto;
        left: auto;
        width: 100%;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
    }

    .cdmx-compare-bar {
        top: auto;
        bottom: 5.5rem;
        right: 1rem;
        left: 1rem;
        width: auto;
        justify-content: center;
    }
}

/* ==========================================================================
   EXPLOSIÓN DE PUBLICIDAD (PROMO STARBURST BADGE)
   ========================================================================== */
.cdmx-burst-badge {
    position: absolute;
    top: -24px;
    right: -24px;
    bottom: auto;
    left: auto;
    width: 162px;
    height: 162px;
    z-index: 35;
    pointer-events: auto;
    cursor: pointer;
    user-select: none;
    transform-origin: center center;
    transform: rotate(8deg);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
    animation: burstFloat 3.5s ease-in-out infinite;
}

.cdmx-burst-badge:hover,
.cdmx-burst-badge:focus-visible {
    transform: rotate(4deg) scale(1.1);
    outline: none;
    filter: drop-shadow(0 16px 42px rgba(255, 50, 0, 0.95)) brightness(1.12);
}

@keyframes burstFloat {
    0%, 100% {
        transform: rotate(8deg) translateY(0) scale(1);
    }
    50% {
        transform: rotate(5deg) translateY(-6px) scale(1.03);
    }
}

.cdmx-burst-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cdmx-burst-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 22px 14px;
    box-sizing: border-box;
    z-index: 2;
    pointer-events: none;
}

.burst-text-desde {
    font-family: var(--font-heading, 'Outfit', 'Inter', sans-serif);
    font-size: 0.88rem;
    font-weight: 900;
    color: #fffb00;
    letter-spacing: 0.05em;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 0 8px rgba(0, 0, 0, 0.6);
    margin-bottom: 3px;
}

.burst-text-price {
    font-family: var(--font-heading, 'Outfit', 'Inter', sans-serif);
    font-size: 1.34rem;
    font-weight: 950;
    color: #ffffff;
    line-height: 1.02;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95), 0 0 14px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
}

.burst-text-iva {
    font-family: var(--font-body, 'Outfit', 'Inter', sans-serif);
    font-size: 0.72rem;
    font-weight: 900;
    color: #ffe600;
    letter-spacing: 0.08em;
    line-height: 1;
    margin-top: 4px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    background: rgba(0, 0, 0, 0.55);
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 230, 0, 0.6);
}

@media (max-width: 900px) {
    .cdmx-burst-badge {
        position: absolute;
        top: -16px;
        right: 12px;
        bottom: auto;
        left: auto;
        width: 118px;
        height: 118px;
        transform: rotate(6deg);
    }
    .burst-text-price {
        font-size: 1.05rem;
    }
    .burst-text-desde {
        font-size: 0.72rem;
    }
    .burst-text-iva {
        font-size: 0.62rem;
        padding: 1px 6px;
    }
}

@media (max-width: 480px) {
    .cdmx-burst-badge {
        top: -14px;
        right: 8px;
        width: 104px;
        height: 104px;
    }
    .burst-text-price {
        font-size: 0.92rem;
    }
    .burst-text-desde {
        font-size: 0.65rem;
    }
    .burst-text-iva {
        font-size: 0.55rem;
        padding: 1px 5px;
    }
}

