/* ========================================
   Recarga Telcel - Professional Recharge Page
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Palette */
    --primary: #00D4AA;
    --primary-dark: #00B894;
    --primary-light: #55EFC4;
    --primary-glow: rgba(0, 212, 170, 0.3);
    
    /* Accent */
    --accent: #00A3FF;
    --accent-dark: #0077CC;
    
    /* Neutrals */
    --dark: #0A0E17;
    --dark-lighter: #141B2D;
    --dark-card: #1A2238;
    --dark-border: #2A3655;
    
    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: #8B95A5;
    --text-muted: #5A6478;
    
    /* Status */
    --success: #00D4AA;
    --error: #FF6B6B;
    --warning: #FFD93D;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00D4AA 0%, #00A3FF 100%);
    --gradient-dark: linear-gradient(180deg, #0A0E17 0%, #141B2D 100%);
    --gradient-card: linear-gradient(145deg, #1A2238 0%, #141B2D 100%);
    --gradient-glow: radial-gradient(ellipse at center, var(--primary-glow) 0%, transparent 70%);
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px var(--primary-glow);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 400ms ease;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--text-primary);
    min-height: 100vh;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-font-smoothing: antialiased;
}

/* ========================================
   Global Responsive Rules
   ======================================== */

/* Imágenes responsivas */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mejora interacción táctil para elementos interactivos */
button, a, input, select, textarea, .amount-option, .testimonial-dot {
    touch-action: manipulation;
}

/* Tamaño mínimo para elementos táctiles (44x44px recomendado por Apple/Google) */
button, .submit-btn, .modal-btn, .amount-option, a {
    min-height: 44px;
    min-width: 44px;
}

/* ========================================
   Animated Background
   ======================================== */

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    min-height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
}

.bg-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: 
        linear-gradient(var(--dark-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--dark-border) 1px, transparent 1px);
    background-size: 60px 60px;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    top: 50%;
    left: 30%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.02); }
}

/* ========================================
   App Container
   ======================================== */

.app-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    height: auto;
    display: flex;
    flex-direction: column;
    overflow-y: visible;
    overflow-x: hidden;
}

/* Ocultar iconos sociales Facebook, X, WhatsApp en blog */
a[href*="facebook.com/sharer"],
a[href*="wa.me/"],
a[href*="twitter.com/intent"],
a[href*="x.com/intent"],
a[href*="facebook.com/share"] {
    display: none !important;
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) var(--space-xl);
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.brand-icon {
    width: 40px;
    height: 40px;
}

/* ========================================
   Breadcrumbs
   ======================================== */

.breadcrumb {
    padding: 15px 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.breadcrumb .container-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb a {
    color: #00D4AA;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #00A3FF;
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 10px;
    color: rgba(255,255,255,0.4);
}

.breadcrumb .current {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.brand-icon svg {
    width: 100%;
    height: 100%;
}

.brand-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--gradient-primary);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 13px;
    box-shadow: var(--shadow-glow);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px var(--primary-glow); }
    50% { box-shadow: 0 0 40px var(--primary-glow); }
}

.badge-icon {
    font-size: 14px;
}

/* ========================================
   Main Wrapper
   ======================================== */

.main-wrapper {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-xl);
    width: 100%;
    align-items: start;
}

/* ========================================
   Info Panel
   ======================================== */

.info-panel {
    padding: var(--space-xl);
}

.info-content {
    max-width: 520px;
}

.promo-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.tag-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.main-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.main-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.main-description strong {
    color: var(--primary);
}

/* Features List */
.features-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    color: var(--primary);
    flex-shrink: 0;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text strong {
    font-size: 16px;
    font-weight: 600;
}

.feature-text span {
    font-size: 14px;
    color: var(--text-muted);
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
}

.trust-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: var(--dark-border);
}

/* Redes Sociales Nacionales: espacio entre indicadores y ¿Qué deseas? */
.info-redes-nacionales {
    margin-top: var(--space-md);
    margin-bottom: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
}

.info-redes-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.info-redes-logos {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    width: 100%;
}

.info-redes-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    flex-shrink: 0;
}

.info-redes-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

/* ========================================
   Form Panel
   ======================================== */

.form-panel {
    display: flex;
    justify-content: center;
    padding: var(--space-lg);
}

.form-container {
    width: 100%;
    max-width: 480px;
    background: var(--gradient-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
}

/* Form Sections */
.form-section {
    margin-bottom: var(--space-xl);
}

.section-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.section-number {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
}

.section-header h2 {
    font-size: 16px;
    font-weight: 600;
}

/* Phone Input */
.phone-input-group {
    display: flex;
    background: var(--dark);
    border: 2px solid var(--dark-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
}

.phone-input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.country-code {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0 var(--space-md);
    background: var(--dark-lighter);
    border-right: 1px solid var(--dark-border);
    font-weight: 500;
}

.country-code .flag {
    font-size: 20px;
}

.phone-input-group input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    letter-spacing: 2px;
}

.phone-input-group input:focus {
    outline: none;
}

.phone-input-group input::placeholder {
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Form grid columns (desktop) */
.form-columns {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.form-column {
    width: 100%;
}

/* Amount Selector */
.amount-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

.amount-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-md);
    background: var(--dark);
    border: 2px solid var(--dark-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    font-family: inherit;
}

.amount-option:hover {
    border-color: var(--primary);
    background: rgba(0, 212, 170, 0.05);
    transform: translateY(-2px);
}

.amount-option.selected {
    border-color: var(--primary);
    background: rgba(0, 212, 170, 0.1);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.amount-original {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.amount-final {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

/* Selector Recarga / Paquetes - mismo estilo que los botones de monto (amount-option) */
.tipo-servicio-selector {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.tipo-servicio-btn {
    flex: 1;
    min-width: 160px;
    padding: var(--space-md) var(--space-lg);
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--dark);
    border: 2px solid var(--dark-border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color var(--transition-normal), color var(--transition-normal), background var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}

.tipo-servicio-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 212, 170, 0.05);
    transform: translateY(-2px);
}

.tipo-servicio-btn.active {
    border-color: var(--primary);
    background: rgba(0, 212, 170, 0.1);
    color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}


/* Card Preview */
.card-preview {
    margin-bottom: var(--space-lg);
    perspective: 1000px;
    min-height: 200px;
}

.card-front {
    position: relative;
    width: 100%;
    aspect-ratio: 1.586;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M30 0L60 30 30 60 0 30z' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E");
    background-size: 30px 30px;
}

.card-chip {
    width: 50px;
    height: 40px;
    position: relative;
    z-index: 1;
}

/* Tipografía tipo tarjeta real: número legible, monospace */
.card-number-display {
    font-family: 'JetBrains Mono', 'Consolas', 'Monaco', monospace;
    font-size: clamp(16px, 3.2vw, 24px);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-align: center;
    position: relative;
    z-index: 1;
    line-height: 1.2;
    word-spacing: 0.2em;
}

.card-details-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    z-index: 1;
    gap: var(--space-sm);
}

.card-holder-display,
.card-expiry-display {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Etiquetas tipo tarjeta: VENCE, TITULAR — pequeñas pero legibles */
.card-details-row .label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* Valores: nombre y fecha — tamaño legible, estilo tarjeta */
.card-details-row .value {
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    font-size: clamp(12px, 2vw, 16px);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.3;
}

.card-holder-display .value {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-brand {
    position: absolute;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 60px;
    color: white;
    opacity: 0.9;
}

.card-brand svg {
    width: 100%;
    height: auto;
}

/* Card Form Fields */
.card-form-fields {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-field.full-width {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-field label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-field input {
    padding: var(--space-md);
    background: var(--dark);
    border: 2px solid var(--dark-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition-normal);
}

.form-field input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-field input::placeholder {
    color: var(--text-muted);
}

.input-with-icon {
    position: relative;
}

.input-with-icon input {
    width: 100%;
    padding-right: 48px;
}

.card-type-icon {
    position: absolute;
    right: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cvv-hint {
    position: absolute;
    right: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    cursor: help;
}

.cvv-hint svg {
    width: 100%;
    height: 100%;
}

/* Order Summary */
.order-summary {
    background: var(--dark);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    min-height: 150px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    font-size: 15px;
}

.summary-row.discount {
    color: var(--success);
}

.summary-divider {
    height: 1px;
    background: var(--dark-border);
    margin: var(--space-sm) 0;
}

.summary-row.total {
    font-size: 18px;
    font-weight: 700;
}

.summary-row.total span:last-child {
    color: var(--primary);
}

/* Beneficios: Todas las recargas te dan (entre Vencimiento/CVV y botón Pagar ahora) */
.recarga-benefits {
    background: var(--dark);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    margin-top: var(--space-md);
    margin-bottom: var(--space-md);
}

.recarga-benefits-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.recarga-benefits-logos {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.recarga-benefit-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

.recarga-benefit-logo {
    max-height: 36px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.05);
}

/* Solo web: "Todas las recargas te dan" — logos separados a los extremos del bloque */
@media (min-width: 992px) {
    .recarga-benefits {
        width: 100%;
        box-sizing: border-box;
    }
    .recarga-benefits-logos {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 0;
        flex-wrap: nowrap;
    }
    .recarga-benefits-logos .recarga-benefit-item {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        min-height: 40px;
    }
    .recarga-benefits-logos .recarga-benefit-item:first-child {
        justify-content: flex-start;
    }
    .recarga-benefits-logos .recarga-benefit-item:last-child {
        justify-content: flex-end;
    }
}

/* Redes Sociales Nacionales: solo cuando Paquetes, debajo de beneficios */
.redes-paquetes {
    background: var(--dark);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: var(--space-xs) var(--space-md);
    margin-top: var(--space-sm);
    margin-bottom: var(--space-md);
}

.redes-paquetes-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.redes-paquetes-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    width: 100%;
}

.redes-paquetes-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.redes-paquetes-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: var(--space-lg);
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    color: var(--dark);
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-loader {
    display: none;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.submit-btn.loading .btn-content {
    display: none;
}

.submit-btn.loading .btn-loader {
    display: flex;
}

.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Security Note */
.security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 12px;
}

.security-note svg {
    width: 16px;
    height: 16px;
    color: var(--success);
}

/* ========================================
   Footer
   ======================================== */

.footer {
    padding: var(--space-xl);
    border-top: 1px solid var(--dark-border);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    gap: var(--space-md);
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
}

/* ========================================
   Modal
   ======================================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.modal-container {
    position: relative;
    z-index: 1;
    animation: slideUp 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-content {
    background: var(--gradient-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    min-width: 360px;
    max-width: 420px;
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-content.success .modal-icon {
    background: rgba(0, 212, 170, 0.1);
    color: var(--success);
}

.modal-content.error .modal-icon {
    background: rgba(255, 107, 107, 0.1);
    color: var(--error);
}

.modal-icon svg {
    width: 40px;
    height: 40px;
}

.modal-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.modal-details {
    background: var(--dark);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
    font-size: 14px;
    text-align: left;
}

.modal-btn {
    width: 100%;
    padding: var(--space-md);
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    color: var(--dark);
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition-normal);
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ========================================
   SEO Content Section
   ======================================== */

.seo-content {
    max-width: 1200px;
    margin: var(--space-lg) auto;
    padding: 0 20px;
}

.seo-content article {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
}

.seo-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #00D4AA 0%, #00A3FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.seo-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #00D4AA;
}

.seo-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.seo-content .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.seo-content .benefit-item {
    padding: 20px;
}

.seo-content details {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    margin-bottom: 20px;
}

.seo-content summary {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.seo-content summary::-webkit-details-marker {
    display: none;
}

.seo-content summary::after {
    content: '+';
    font-size: 1.5rem;
}

.seo-content details[open] summary::after {
    content: '−';
}

.seo-content .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.seo-content .testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 25px;
}

.seo-content .how-it-works {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.seo-content .how-it-works > div {
    padding: 20px;
}

.seo-content .step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00D4AA 0%, #00A3FF 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.seo-content .how-it-works h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #fff;
}

.seo-content .how-it-works p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 1rem;
}

.seo-content .faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.seo-content details {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
}

.seo-content details summary {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.seo-content details summary::-webkit-details-marker {
    display: none;
}

.seo-content details summary::after {
    content: '+';
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.seo-content details[open] summary::after {
    content: '−';
}

.seo-content details p {
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-description {
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
}

.footer-description h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #00D4AA;
}

.footer-description p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-keywords {
    margin-top: 15px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Responsive Design
   ======================================== */

/* Solo web: sección Promoción exclusiva + título + descripción + iconos + Miles/24/7/10% a todo el ancho (izquierda a derecha) */
@media (min-width: 992px) {
    .main-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: var(--space-md);
        max-width: 100%;
        padding-left: var(--space-xl);
        padding-right: var(--space-xl);
    }

    .info-panel {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        max-width: 100%;
        padding: var(--space-lg) 0 var(--space-sm) 0;
        text-align: center;
    }

    .info-content {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .info-panel .promo-tag {
        margin-left: auto;
        margin-right: auto;
    }

    .info-panel .main-title {
        font-size: 48px;
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }

    .info-panel .main-description {
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }

    .info-panel .features-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--space-xl);
        margin-bottom: var(--space-lg);
        justify-content: center;
    }

    .info-panel .feature-item {
        flex: 0 0 auto;
    }

    .info-panel .trust-indicators {
        width: 100%;
        max-width: 920px;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }

    .form-panel {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
        padding-top: var(--space-sm);
    }
}

@media (max-width: 1024px) {
    .main-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .info-panel {
        text-align: center;
        padding: var(--space-lg) var(--space-md) var(--space-sm) var(--space-md);
    }

    .form-panel {
        padding-top: var(--space-sm);
    }

    .info-content {
        max-width: 600px;
        margin: 0 auto;
    }

    .main-title {
        font-size: 42px;
    }

    .features-list {
        align-items: center;
    }

    .trust-indicators {
        justify-content: center;
    }
    
    /* Shapes decorativas más pequeñas en tablet */
    .shape-1 {
        width: 400px;
        height: 400px;
    }
    
    .shape-2 {
        width: 300px;
        height: 300px;
    }
    
    .shape-3 {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 600px) {
    .form-panel {
        padding: var(--space-md);
    }

    .form-container {
        padding: var(--space-lg);
    }

    .form-section {
        margin-bottom: var(--space-lg);
    }

    .card-preview {
        margin-bottom: var(--space-md);
        min-height: 0;
    }
}

@media (min-width: 1024px) {
    .form-container {
        max-width: 960px;
    }

    .form-columns {
        display: grid;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        gap: var(--space-xl);
        align-items: flex-start;
    }
}

/* Formulario compacto en escritorio para reducir scroll */
@media (min-width: 992px) {
    /* Dos columnas: izquierda (número, monto, resumen) y derecha (datos de pago) niveladas en altura */
    .form-panel .form-columns {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: var(--space-xl);
        align-items: stretch;
    }

    .form-panel .form-column {
        min-height: 0;
    }

    .form-panel .form-column-left {
        display: flex;
        flex-direction: column;
    }

    /* Más espacio entre secciones en la columna izquierda para nivelar altura */
    .form-panel .form-column-left .form-section {
        margin-bottom: var(--space-lg);
    }

    .form-panel .form-column-left .form-section-amount {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 0;
        margin-bottom: var(--space-lg);
    }

    /* Botones de monto en 3 columnas (3×3) más grandes para rellenar y nivelar con la columna derecha */
    .form-panel .form-column-left .amount-selector {
        flex: 1;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
        align-content: start;
        min-height: 0;
    }

    .form-panel .form-column-left .amount-option {
        padding: var(--space-lg);
        min-height: 64px;
    }

    .form-panel .form-column-left .amount-original {
        font-size: 14px;
    }

    .form-panel .form-column-left .amount-final {
        font-size: 22px;
    }

    /* Resumen más espacioso en la columna izquierda */
    .form-panel .form-column-left .order-summary {
        padding: var(--space-lg);
        margin-bottom: 0;
    }

    .form-panel .form-column-left .summary-row {
        padding: var(--space-sm) 0;
    }

    .form-panel .form-column-left .summary-row.total {
        font-size: 18px;
    }

    .form-panel .form-container {
        padding: var(--space-lg);
    }

    .form-panel .form-section {
        margin-bottom: var(--space-md);
    }

    .form-panel .section-header {
        margin-bottom: var(--space-sm);
        gap: var(--space-sm);
    }

    .form-panel .section-number {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .form-panel .section-header h2 {
        font-size: 15px;
    }

    .form-panel .phone-input-group input {
        padding: var(--space-sm) var(--space-md);
        font-size: 16px;
    }

    .form-panel .form-column-left .phone-input-group input {
        padding: var(--space-md) var(--space-lg);
        font-size: 17px;
    }

    .form-panel .country-code {
        padding: 0 var(--space-sm);
    }

    .form-panel .country-code .flag {
        font-size: 18px;
    }

    .form-panel .amount-selector {
        gap: var(--space-xs);
        grid-template-columns: repeat(5, 1fr);
    }

    .form-panel .amount-option {
        padding: var(--space-sm);
    }

    .form-panel .amount-original {
        font-size: 11px;
    }

    .form-panel .amount-final {
        font-size: 16px;
    }

    .form-panel .card-preview {
        margin-bottom: var(--space-md);
        min-height: 0;
    }

    .form-panel .card-front {
        padding: var(--space-md);
        aspect-ratio: 1.586;
    }

    .form-panel .card-chip {
        width: 40px;
        height: 32px;
    }

    .form-panel .card-chip svg {
        width: 40px;
        height: 32px;
    }

    /* Tipografía dentro de la tarjeta: legible y tipo tarjeta real, sin achicar */
    .form-panel .card-number-display {
        font-size: clamp(15px, 2.8vw, 22px);
        letter-spacing: 0.12em;
    }

    .form-panel .card-details-row .label {
        font-size: 10px;
        letter-spacing: 0.12em;
    }

    .form-panel .card-details-row .value {
        font-size: clamp(12px, 1.8vw, 15px);
        letter-spacing: 0.06em;
    }

    .form-panel .card-form-fields {
        margin-top: var(--space-sm);
    }

    /* Labels de datos de pago y nota: tamaño similar a "Monto de recarga", sin agrandar el cuadro */
    .form-panel .form-field label {
        font-size: 15px;
        line-height: 1.25;
    }

    .form-panel .form-field input {
        padding: var(--space-sm) var(--space-md);
        font-size: 15px;
    }

    .form-panel .form-row {
        gap: var(--space-sm);
    }

    .form-panel .order-summary {
        padding: var(--space-md);
        margin-bottom: var(--space-md);
        min-height: auto;
    }

    .form-panel .summary-row {
        font-size: 14px;
        padding: var(--space-xs) 0;
    }

    .form-panel .summary-row.total {
        font-size: 16px;
    }

    .form-panel .submit-btn {
        padding: var(--space-md) var(--space-lg);
        font-size: 15px;
    }

    .form-panel .security-note {
        padding: var(--space-sm);
        font-size: 18px;
        line-height: 1.3;
    }
}

@media (max-width: 640px) {
    .navbar {
        padding: var(--space-sm) var(--space-md);
    }

    .brand-text {
        font-size: 20px;
    }

    .nav-badge {
        padding: var(--space-xs) var(--space-sm);
        font-size: 11px;
    }

    .main-title {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .main-description {
        font-size: 16px;
    }

    .form-container {
        padding: var(--space-lg);
    }

    .amount-selector {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-xs);
    }

    /* Tarjeta en móvil: volver a como estaba (solo tamaño/espaciado anterior) */
    .card-number-display {
        font-size: 18px;
        letter-spacing: 2px;
        word-spacing: normal;
    }

    .card-details-row .label {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .card-details-row .value {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Trust indicators móvil: 2 columnas (izq: Miles+ y 24/7, der: 10% y Recarga en 1 2 3) */
    .trust-indicators {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: var(--space-sm);
        max-width: 100%;
        box-sizing: border-box;
    }

    .trust-indicators .trust-divider {
        display: none !important;
    }

    .trust-indicators .trust-stat:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .trust-indicators .trust-stat:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }

    .trust-indicators .trust-stat:nth-child(5) {
        grid-column: 2;
        grid-row: 1;
    }

    .trust-indicators .trust-stat:nth-child(7) {
        grid-column: 2;
        grid-row: 2;
    }

    .trust-indicators .trust-stat {
        min-width: 0;
        overflow: hidden;
    }

    .trust-indicators .stat-number {
        font-size: 18px !important;
        line-height: 1.2;
        word-wrap: break-word;
    }

    .trust-indicators .stat-label {
        font-size: 12px !important;
        line-height: 1.2;
    }

    .trust-divider {
        width: 40px;
        height: 1px;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
        align-items: center;
    }
    
    /* Centrar todos los elementos del footer en móvil */
    .footer-content > p {
        text-align: center !important;
    }
    
    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-md) !important;
        text-align: center;
    }
    
    .footer-content > div[style*="display: flex"][style*="justify-content: center"] {
        margin: 0 auto;
        width: 100%;
    }
    
    /* Shapes decorativas más pequeñas en tablet/móvil */
    .shape-1 {
        width: 300px !important;
        height: 300px !important;
        top: -150px !important;
        right: -150px !important;
    }
    
    .shape-2 {
        width: 250px !important;
        height: 250px !important;
        bottom: -75px !important;
        left: -75px !important;
    }
    
    .shape-3 {
        width: 200px !important;
        height: 200px !important;
    }
    
    /* Modal responsivo en tablet/móvil */
    .modal-content {
        min-width: auto;
        width: calc(100% - 40px);
        max-width: calc(100% - 40px);
    }

    /* SEO Content Section - Mobile */
    .seo-content {
        max-width: 100% !important;
        margin-top: 15px !important;
        margin-bottom: 20px !important;
        padding: 0 15px !important;
    }
    
    /* Reducir espacio antes de seo-content en móvil (sobrescribir inline style) */
    section.seo-content[style*="margin"] {
        margin-top: 15px !important;
    }

    .seo-content article {
        padding: 20px !important;
        margin-bottom: 20px !important;
    }

    .seo-content h2 {
        font-size: 1.5rem !important;
        margin-bottom: 20px !important;
    }

    .seo-content h3 {
        font-size: 1.1rem !important;
    }

    .seo-content p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }

    /* Info Panel Mobile */
    .info-panel {
        padding: var(--space-md) var(--space-sm);
        text-align: center !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
    }

    .info-content {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    /* Centrar promo tag en móvil */
    .promo-tag {
        margin: 0 auto var(--space-md) auto !important;
    }
    
    /* Centrar descripción principal en móvil */
    .main-description {
        text-align: center !important;
    }
    
    /* Features en una sola línea en móvil: 3 columnas, texto dentro del marco */
    .features-list {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: var(--space-xs) !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: var(--space-md) !important;
    }

    .feature-item {
        flex: 1 !important;
        min-width: 0 !important;
        max-width: none !important;
        width: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: center !important;
        gap: 2px !important;
        margin: 0 !important;
        padding: 0 2px !important;
    }

    .feature-icon {
        width: 40px !important;
        height: 40px !important;
        margin: 0 auto !important;
        flex-shrink: 0 !important;
    }

    .feature-icon svg {
        width: 20px !important;
        height: 20px !important;
    }

    .feature-text {
        display: flex !important;
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
        width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
        word-wrap: break-word !important;
    }

    .feature-text strong {
        font-size: 13px !important;
        line-height: 1.2 !important;
        text-align: center !important;
    }

    .feature-text span {
        font-size: 11px !important;
        line-height: 1.2 !important;
        text-align: center !important;
        color: var(--text-muted) !important;
    }
    
    /* Centrar security note en móvil */
    .security-note {
        text-align: center !important;
        justify-content: center !important;
    }

    /* Reducir espacio entre redes sociales y formulario en móvil (como en web) */
    .main-wrapper {
        gap: var(--space-sm) !important;
    }
    .info-panel {
        padding-bottom: var(--space-xs) !important;
    }
    .info-redes-nacionales {
        margin-top: var(--space-xs) !important;
        margin-bottom: 0 !important;
        padding: var(--space-sm) var(--space-md) !important;
    }

    /* Redes Sociales Nacionales: mantener horizontal en móvil (debajo de Recarga en 1 2 3) */
    .info-redes-nacionales .info-redes-logos {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        width: 100% !important;
    }
    .info-redes-nacionales .info-redes-item {
        flex: 1 !important;
        min-width: 0 !important;
        flex-shrink: 0 !important;
    }
    .info-redes-nacionales .info-redes-logo {
        width: 28px !important;
        height: 28px !important;
    }

    /* Redes paquetes (dentro del form): mantener horizontal en móvil */
    .redes-paquetes .redes-paquetes-logos {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        width: 100% !important;
    }
    .redes-paquetes .redes-paquetes-item {
        flex: 1 !important;
        min-width: 0 !important;
        flex-shrink: 0 !important;
    }
    .redes-paquetes .redes-paquetes-logo {
        width: 26px !important;
        height: 26px !important;
    }

    /* Form Panel Mobile: poco espacio arriba para acercar a "0 ¿Qué deseas?" (reducido como en web) */
    .form-panel {
        padding: var(--space-xs) var(--space-sm) var(--space-md) var(--space-sm) !important;
    }

    .form-container {
        padding: var(--space-md);
    }

    /* Card Preview Mobile */
    .card-preview {
        transform: scale(0.85);
        transform-origin: top center;
        margin-bottom: var(--space-md);
    }

    /* Form Fields Mobile */
    .form-field {
        margin-bottom: var(--space-md);
    }

    .form-field input,
    .form-field select {
        font-size: 16px; /* Evita zoom en iOS */
        padding: var(--space-md);
    }

    /* Phone Input Mobile */
    .phone-input-group {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .country-code {
        width: 100%;
        justify-content: center;
    }

    /* Amount Selector Mobile */
    .amount-option {
        padding: var(--space-md);
        font-size: 14px;
    }

    /* Section Headers Mobile */
    .section-header h2 {
        font-size: 1.2rem;
    }

    /* Section Headers Mobile */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .section-number {
        font-size: 24px;
    }

    /* Order Summary Mobile */
    .order-summary {
        padding: var(--space-md);
    }

    /* Submit Button Mobile */
    .submit-btn {
        padding: var(--space-md) var(--space-lg);
        font-size: 16px;
    }

    /* SEO Content Mobile - Additional fixes */
    .seo-content .benefits-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    /* Centrar contenido de beneficios en móvil */
    .seo-content article > div[style*="grid-template-columns"] {
        text-align: center !important;
    }
    
    .seo-content article > div[style*="grid-template-columns"] > div {
        text-align: center !important;
    }
    
    .seo-content article > div[style*="grid-template-columns"] > div h3 {
        text-align: center !important;
    }
    
    .seo-content article > div[style*="grid-template-columns"] > div p {
        text-align: center !important;
    }

    .seo-content .how-it-works {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .seo-content .step-number {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
    }

    .seo-content .testimonials-grid {
        grid-template-columns: 1fr !important;
    }

    .footer-description {
        padding: 0 15px;
    }

    .footer-keywords {
        padding: 0 15px;
        font-size: 0.75rem !important;
    }
}

/* Mobile Extra Small (320px - 480px) */
@media (max-width: 480px) {
    .main-title {
        font-size: 28px !important;
    }

    .amount-selector {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: var(--space-xs) !important;
    }

    .seo-content {
        padding: 0 10px !important;
    }

    .seo-content article {
        padding: 20px 15px !important;
    }

    .seo-content h2 {
        font-size: 1.3rem !important;
        text-align: center !important;
    }
    
    /* Centrar beneficios en móvil extra pequeño */
    .seo-content article > div[style*="grid-template-columns"] > div {
        text-align: center !important;
        padding: 20px 15px !important;
    }

    .navbar {
        flex-wrap: wrap;
        gap: var(--space-sm);
    }

    .nav-badge {
        font-size: 10px;
        padding: 4px 8px;
    }
    
    /* Modal responsivo - quitar min-width en móvil */
    .modal-content {
        min-width: auto !important;
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        margin: 10px !important;
        padding: var(--space-lg) !important;
    }
    
    /* Shapes decorativas más pequeñas en móvil */
    .shape-1, .shape-2, .shape-3 {
        width: 200px !important;
        height: 200px !important;
    }
    
    .shape-1 {
        top: -100px !important;
        right: -100px !important;
    }
    
    .shape-2 {
        bottom: -50px !important;
        left: -50px !important;
    }
}

/* ========================================
   Processing Modal
   ======================================== */

.processing-modal .modal-content.processing {
    text-align: center;
    padding: var(--space-2xl);
}

.processing-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-xl);
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(1) {
    border-top-color: var(--primary);
    animation-delay: 0s;
}

.spinner-ring:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-right-color: var(--accent);
    animation-delay: 0.2s;
    animation-direction: reverse;
}

.spinner-ring:nth-child(3) {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    border-bottom-color: var(--success);
    animation-delay: 0.4s;
}

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

.processing-modal h2 {
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    font-size: 24px;
}

.processing-message {
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    font-size: 16px;
}

.processing-warning {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-xl);
    text-align: left;
}

.processing-warning svg {
    width: 24px;
    height: 24px;
    stroke: #ffc107;
    flex-shrink: 0;
}

.processing-warning span {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.processing-warning strong {
    color: #ffc107;
}

.processing-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    text-align: left;
}

.processing-steps .step {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    background: var(--surface-secondary);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.processing-steps .step.active {
    opacity: 1;
    background: rgba(139, 92, 246, 0.1);
    border-left: 3px solid var(--primary);
}

.processing-steps .step.completed {
    opacity: 1;
    background: rgba(16, 185, 129, 0.1);
    border-left: 3px solid var(--success);
}

.processing-steps .step.completed .step-icon {
    background: var(--success);
}

.step-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.step-text {
    color: var(--text-secondary);
    font-size: 14px;
}

.step.active .step-text {
    color: var(--text-primary);
    font-weight: 500;
}

.modal-overlay.no-close {
    cursor: default;
    pointer-events: none;
}

/* ========================================
   Testimonials Carousel
   ======================================== */

.testimonials-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 0 40px 0;
}

.testimonials-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    min-height: 300px;
}

.testimonial-slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 30px;
    max-width: 700px;
    width: calc(100% - 20px);
    margin: 0 auto;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 212, 170, 0.3);
    transform: translateY(-2px);
}

.testimonial-card .stars {
    color: #FFD700;
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Navigation Dots */
.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.testimonial-dot:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.2);
}

.testimonial-dot.active {
    background: linear-gradient(135deg, #00D4AA 0%, #00A3FF 100%);
    width: 30px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials-carousel {
        padding: 0 0 30px 0;
    }
    
    .testimonial-slide {
        padding: 0; /* Sin padding para que el ancho sea exacto */
    }
    
    .testimonial-card {
        padding: 20px 15px; /* Padding interno en lugar de externo */
        max-width: 100%; /* Quitar límite máximo en móvil */
        width: calc(100% - 30px); /* 15px padding a cada lado */
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    .testimonial-text {
        font-size: 1rem;
        line-height: 1.6; /* Mejor legibilidad */
        word-wrap: break-word; /* Evitar desbordamiento */
        overflow-wrap: break-word;
        hyphens: auto; /* Separación automática de palabras */
    }
    
    .testimonial-card .stars {
        font-size: 1.2rem;
    }
    
    .testimonial-author {
        font-size: 0.9rem;
    }
}

/* Mobile Extra Small (320px - 480px) */
@media (max-width: 480px) {
    .testimonials-carousel {
        padding: 0 0 25px 0;
    }
    
    .testimonial-slide {
        padding: 0; /* Sin padding para ancho exacto */
    }
    
    .testimonial-card {
        padding: 15px 12px !important; /* Padding reducido en pantallas pequeñas */
        width: calc(100% - 24px) !important; /* 12px padding a cada lado */
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
    
    .testimonial-text {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
    
    .testimonial-card .stars {
        font-size: 1.1rem !important;
        margin-bottom: 12px !important;
    }
    
    .testimonial-author {
        font-size: 0.85rem !important;
    }
    
    .testimonials-dots {
        margin-top: 20px;
        gap: 8px;
    }
    
    .testimonial-dot {
        width: 8px !important;
        height: 8px !important;
    }
    
    .testimonial-dot.active {
        width: 24px !important;
    }
}

/* ========================================
   Botón Flotante - Solo Móvil
   ======================================== */

.floating-btn {
    display: none; /* Oculto por defecto (desktop) */
}

@media (max-width: 640px) {
    .floating-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
        background: var(--gradient-primary);
        color: var(--text-primary);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: var(--radius-full);
        padding: var(--space-md) var(--space-xl);
        font-size: 16px;
        font-weight: 700;
        font-family: 'Outfit', sans-serif;
        box-shadow: 0 8px 32px rgba(255, 255, 255, 0.3), 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.4);
        cursor: pointer;
        transition: all var(--transition-normal);
        min-width: 200px;
        gap: var(--space-sm);
        animation: pulse-float-combined 2s infinite;
        -webkit-tap-highlight-color: transparent;
        overflow: visible;
    }
    
    /* Anillo exterior pulsante usando pseudo-elemento */
    .floating-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        height: 100%;
        border: 2px solid rgba(255, 255, 255, 0.8);
        border-radius: var(--radius-full);
        opacity: 0;
        animation: pulse-ring 2s infinite;
        pointer-events: none;
    }
    
    .floating-btn:hover,
    .floating-btn:active {
        transform: translateX(-50%) translateY(-2px) scale(1.02);
        box-shadow: 0 12px 40px rgba(255, 255, 255, 0.5), 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 215, 0, 0.6);
        border-color: rgba(255, 255, 255, 0.6);
    }
    
    .floating-btn:active {
        transform: translateX(-50%) translateY(0) scale(0.98);
    }
    
    .floating-btn svg {
        flex-shrink: 0;
        position: relative;
        z-index: 1;
    }
    
    .floating-btn span:first-of-type {
        white-space: nowrap;
        position: relative;
        z-index: 1;
    }
    
    .floating-btn-badge {
        background: rgba(255, 255, 255, 0.2);
        padding: 2px 8px;
        border-radius: var(--radius-full);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.5px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        position: relative;
        z-index: 1;
    }
    
    /* Animación combinada: escala + sombra brillante */
    @keyframes pulse-float-combined {
        0%, 100% {
            transform: translateX(-50%) scale(1);
            box-shadow: 0 8px 32px rgba(255, 255, 255, 0.3), 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.4);
            border-color: rgba(255, 255, 255, 0.3);
        }
        50% {
            transform: translateX(-50%) scale(1.03);
            box-shadow: 0 12px 48px rgba(255, 255, 255, 0.6), 0 6px 24px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 215, 0, 0.8);
            border-color: rgba(255, 255, 255, 0.7);
        }
    }
    
    /* Animación del anillo exterior */
    @keyframes pulse-ring {
        0% {
            width: 100%;
            height: 100%;
            opacity: 0.8;
        }
        100% {
            width: 140%;
            height: 140%;
            opacity: 0;
        }
    }
    
    /* Asegurar que el body y html permitan scroll completo */
    html {
        height: auto !important;
        min-height: 100vh;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
    }
    
    body {
        height: auto !important;
        min-height: 100vh;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        position: relative !important;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Asegurar que bg-animation no limite el scroll */
    .bg-animation {
        height: 100vh !important;
        min-height: 100% !important;
    }
    
    /* Asegurar que app-container permita scroll */
    .app-container {
        min-height: 100vh;
        height: auto !important;
        overflow-y: visible !important;
        overflow-x: hidden !important;
        position: relative !important;
    }
    
    /* Asegurar espacio en el footer para el botón flotante */
    .footer {
        padding-bottom: 100px;
    }
    
    /* Espacio adicional para evitar que el contenido se oculte detrás del botón flotante */
    .main-wrapper {
        padding-bottom: 20px;
    }
    
    /* Asegurar que el main tenga suficiente espacio y padding en móvil */
    main {
        padding-bottom: 120px !important;
        margin-bottom: 15px !important;
        min-height: auto !important;
        height: auto !important;
        overflow: visible !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Ajustar padding del main en móvil */
    main[style*="padding: 0 20px"] {
        padding: 0 15px 120px 15px !important;
    }
    
    /* Asegurar que los artículos se muestren completamente */
    article {
        margin-bottom: 30px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Blog: reducir padding del article en móvil (sobrescribe inline padding: 40px) */
    main article {
        padding: 20px 15px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Blog: tabla responsive — contenedor con scroll horizontal en móvil */
    main article .blog-table-wrap {
        max-width: 100% !important;
        -webkit-overflow-scrolling: touch;
        margin-left: -2px;
        margin-right: -2px;
    }
    main article .blog-table-wrap table {
        font-size: 0.85rem !important;
    }
    main article .blog-table-wrap th,
    main article .blog-table-wrap td {
        padding: 8px 6px !important;
    }
    
    /* Breadcrumb (nav sin .navbar): permitir wrap y evitar desborde en títulos largos */
    .app-container > nav:not(.navbar) {
        padding: 0 15px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .app-container > nav:not(.navbar) ol {
        flex-wrap: wrap !important;
        gap: 6px !important;
    }
    .app-container > nav:not(.navbar) li {
        word-break: break-word !important;
        max-width: 100% !important;
    }
    
    /* Evitar desborde horizontal en toda la app en móvil */
    .app-container {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    /* Asegurar que el contenido-section se muestre */
    .content-section {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Ajustar tamaño del título h1 en páginas de estados */
    main header h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
    }
    
    /* Ajustar tamaño de la descripción en páginas de estados */
    main header p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        padding: 0 10px !important;
    }
    
    /* Reducir margin-bottom del header en móvil */
    main header {
        margin-bottom: 15px !important;
    }
    
    /* Asegurar que el CTA button no ocupe espacio en móvil */
    .cta-button-static {
        margin-bottom: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    
    /* Reducir margin-top/padding-top del primer article en móvil */
    main article.content-section:first-of-type {
        margin-top: 10px !important;
    }
    
    /* Ajustar padding del main en móvil muy pequeño */
    main {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Disclaimer responsive en móvil */
    .footer-content p[style*="font-size: 0.85rem"] {
        font-size: 0.75rem !important;
        padding: 0 10px !important;
        margin-top: 12px !important;
        line-height: 1.4 !important;
    }
}

/* ========================================
   Botón Estático CTA - Desktop (con efectos pulso)
   ======================================== */

.cta-button-static a {
    position: relative;
    overflow: visible !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.3), 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.4) !important;
    animation: pulse-button-combined 2s infinite;
    transition: all 0.3s ease !important;
}

/* Anillo exterior pulsante para botón estático */
.cta-button-static a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    opacity: 0;
    animation: pulse-ring-static 2s infinite;
    pointer-events: none;
    z-index: 0;
}

.cta-button-static a:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.5), 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 215, 0, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}

.cta-button-static a:active {
    transform: translateY(0) scale(0.98) !important;
}

.cta-button-static a * {
    position: relative;
    z-index: 1;
}

/* Animación combinada para botón estático: escala + sombra brillante */
@keyframes pulse-button-combined {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(255, 255, 255, 0.3), 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.4);
        border-color: rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 12px 48px rgba(255, 255, 255, 0.6), 0 6px 24px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 215, 0, 0.8);
        border-color: rgba(255, 255, 255, 0.7);
    }
}

/* Animación del anillo exterior para botón estático */
@keyframes pulse-ring-static {
    0% {
        width: 100%;
        height: 100%;
        opacity: 0.8;
    }
    100% {
        width: 140%;
        height: 140%;
        opacity: 0;
    }
}

/* Ocultar botón estático CTA en móvil (botón flotante ya está disponible) */
@media (max-width: 640px) {
    .cta-button-static {
        display: none !important;
        margin-bottom: 0 !important;
        height: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
}
