:root {
    --primary: #0f3460;
    --primary-light: #1a4a7a;
    --primary-dark: #0a2540;
    --accent: #3b82f6;
    --accent-light: #60a5fa;
    --success: #10b981;
    --success-bg: #d1fae5;
    --error: #ef4444;
    --error-bg: #fee2e2;
    --warning: #f59e0b;
    --warning-bg: #fef3c7;
    --info: #3b82f6;
    --info-bg: #dbeafe;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --white: #ffffff;
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--white); color: var(--gray-700); line-height: 1.6; }

/* ==================== NAVBAR ==================== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(15, 52, 96, 0.95); backdrop-filter: blur(10px); padding: 12px 20px; transition: var(--transition); }
.navbar.scrolled { background: rgba(15, 52, 96, 0.98); box-shadow: var(--shadow-lg); }
.navbar-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.navbar-logo { height: 40px; width: auto; object-fit: contain; }
.navbar-logo-placeholder { height: 40px; padding: 8px 16px; background: rgba(255,255,255,0.1); border-radius: 8px; color: white; font-weight: 700; font-size: 18px; display: flex; align-items: center; }
.navbar-center { display: flex; align-items: center; gap: 20px; }
.navbar-link { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.85); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 8px; transition: var(--transition); cursor: pointer; border: none; background: none; font-family: inherit; }
.navbar-link:hover { color: white; background: rgba(255,255,255,0.1); }
.navbar-phone { display: flex; align-items: center; gap: 6px; color: white; text-decoration: none; font-size: 14px; font-weight: 600; }
.navbar-cta { background: linear-gradient(135deg, var(--accent), var(--accent-light)); color: white; padding: 10px 20px; border-radius: 50px; font-size: 14px; font-weight: 600; text-decoration: none; transition: var(--transition); white-space: nowrap; }
.navbar-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4); }

/* ==================== WHATSAPP FLOATING BUTTON ==================== */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; z-index: 9999; width: 60px; height: 60px; background: var(--whatsapp); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); transition: var(--transition); text-decoration: none; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5); }
.whatsapp-float svg { width: 32px; height: 32px; fill: white; }
.whatsapp-float-pulse { position: absolute; width: 100%; height: 100%; border-radius: 50%; background: var(--whatsapp); animation: pulse 2s infinite; z-index: -1; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 70% { transform: scale(1.3); opacity: 0; } 100% { transform: scale(1); opacity: 0; } }

/* ==================== HERO ==================== */
.hero { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 100px 20px 60px; }
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 80%; height: 200%; background: radial-gradient(ellipse, rgba(59, 130, 246, 0.15) 0%, transparent 70%); pointer-events: none; }
.hero-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-content h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; }
.hero-content h1 span { background: linear-gradient(135deg, var(--accent-light), #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-content p { font-size: 1.1rem; color: rgba(255,255,255,0.7); margin-bottom: 32px; max-width: 500px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-cta { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, var(--accent), var(--accent-light)); color: var(--white); padding: 16px 28px; border-radius: 50px; font-size: 1rem; font-weight: 600; text-decoration: none; transition: var(--transition); box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4); }
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5); }
.hero-cta-secondary { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: var(--white); padding: 16px 28px; border-radius: 50px; font-size: 1rem; font-weight: 500; text-decoration: none; transition: var(--transition); }
.hero-cta-secondary:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); }
.hero-image { display: flex; justify-content: center; align-items: center; }
.hero-phone { width: 280px; height: 560px; background: linear-gradient(145deg, #2a2a4a, #1a1a3a); border-radius: 40px; padding: 12px; box-shadow: 0 25px 80px rgba(0,0,0,0.5); }
.hero-phone-screen { width: 100%; height: 100%; background: linear-gradient(180deg, #667eea 0%, #764ba2 100%); border-radius: 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; text-align: center; padding: 20px; }
.hero-phone-icon { font-size: 64px; margin-bottom: 16px; }
.hero-phone-text { font-size: 18px; font-weight: 600; }
.hero-phone-subtext { font-size: 12px; opacity: 0.8; margin-top: 8px; }

/* ==================== SECTIONS COMMON ==================== */
.section-container { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; color: var(--primary-dark); margin-bottom: 12px; letter-spacing: -0.5px; }
.section-header p { color: var(--gray-500); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ==================== BENEFITS ==================== */
.benefits { padding: 80px 20px; background: var(--gray-50); }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.benefit-card { background: var(--white); padding: 32px 24px; border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow); transition: var(--transition); }
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.benefit-icon { width: 72px; height: 72px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 20px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 32px; }
.benefit-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.benefit-card p { color: var(--gray-500); font-size: 0.9rem; }

/* ==================== COMPATIBILIDAD ==================== */
.compatibilidad { padding: 80px 20px; background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%); }
.compat-card { max-width: 600px; margin: 0 auto; background: var(--white); border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-lg); text-align: center; border: 2px solid var(--gray-100); }
.compat-icon { width: 80px; height: 80px; background: linear-gradient(135deg, var(--accent), var(--accent-light)); border-radius: 24px; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-size: 36px; }
.compat-card h3 { font-size: 1.5rem; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.compat-card > p { color: var(--gray-500); margin-bottom: 24px; }
.compat-search-container { position: relative; max-width: 400px; margin: 0 auto; }
.compat-search-input { width: 100%; padding: 16px 20px 16px 50px; border: 2px solid var(--gray-200); border-radius: var(--radius); font-size: 16px; font-family: inherit; transition: var(--transition); }
.compat-search-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1); }
.compat-search-input::placeholder { color: var(--gray-400); }
.compat-search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--gray-400); pointer-events: none; }
.compat-suggestions { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border: 2px solid var(--gray-200); border-top: none; border-radius: 0 0 var(--radius) var(--radius); max-height: 250px; overflow-y: auto; display: none; z-index: 100; box-shadow: var(--shadow-lg); }
.compat-suggestions.show { display: block; }
.compat-suggestion-item { padding: 12px 20px; cursor: pointer; transition: var(--transition); text-align: left; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--gray-100); }
.compat-suggestion-item:last-child { border-bottom: none; }
.compat-suggestion-item:hover { background: var(--gray-50); }
.compat-suggestion-item .brand { font-size: 12px; color: var(--gray-400); text-transform: uppercase; }
.compat-suggestion-item .model { font-weight: 500; color: var(--gray-700); }
.compat-result { margin-top: 20px; padding: 16px 20px; border-radius: var(--radius); display: none; align-items: center; justify-content: center; gap: 10px; font-weight: 600; }
.compat-result.show { display: flex; }
.compat-result.compatible { background: var(--success-bg); color: #065f46; }
.compat-result.not-found { background: var(--warning-bg); color: #92400e; }
.compat-brands { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--gray-200); }
.compat-brands-label { font-size: 12px; color: var(--gray-400); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.compat-brands-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.compat-brand-tag { padding: 6px 14px; background: var(--gray-100); border-radius: 20px; font-size: 12px; color: var(--gray-600); font-weight: 500; }

/* ==================== STEPS ==================== */
.steps { padding: 80px 20px; background: var(--white); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-top: 50px; }
.step-item { text-align: center; }
.step-number { width: 56px; height: 56px; background: linear-gradient(135deg, var(--accent), var(--accent-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.5rem; font-weight: 800; color: var(--white); box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3); }
.step-icon { font-size: 48px; margin-bottom: 16px; }
.step-item h3 { font-size: 1rem; font-weight: 600; color: var(--gray-800); margin-bottom: 8px; }
.step-item p { color: var(--gray-500); font-size: 0.85rem; }

/* ==================== FORM SECTION ==================== */
.form-section { padding: 80px 20px; background: linear-gradient(180deg, #e0e7ff 0%, #f0f9ff 100%); }
.form-wrapper { max-width: 480px; margin: 0 auto; }
.card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; padding: 32px; }
.tipo-sim-selector { margin-bottom: 28px; }
.tipo-sim-label { display: block; text-align: center; font-size: 13px; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.tipo-sim-container { display: flex; gap: 12px; }
.tipo-sim-option { flex: 1; position: relative; }
.tipo-sim-option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.tipo-sim-option label { display: flex; flex-direction: column; align-items: center; padding: 20px 12px; border: 2px solid var(--gray-200); border-radius: var(--radius); cursor: pointer; transition: var(--transition); background: var(--white); }
.tipo-sim-option label:hover { border-color: var(--accent); background: var(--gray-50); }
.tipo-sim-option input:checked + label { border-color: var(--primary); background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: var(--white); box-shadow: var(--shadow); }
.tipo-sim-option .sim-icon { width: 52px; height: 52px; background: var(--gray-100); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 10px; transition: var(--transition); }
.tipo-sim-option input:checked + label .sim-icon { background: rgba(255,255,255,0.2); }
.tipo-sim-option .label-text { font-weight: 700; font-size: 15px; }
.tipo-sim-option .label-desc { font-size: 11px; opacity: 0.7; margin-top: 4px; }
.form-divider { height: 1px; background: var(--gray-200); margin: 24px 0; }
.progress-container { margin-bottom: 24px; }
.progress-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.progress-label { font-size: 12px; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.5px; }
.progress-percent { font-size: 14px; font-weight: 700; color: var(--primary); }
.progress-bar { height: 8px; background: var(--gray-200); border-radius: 10px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--success)); border-radius: 10px; transition: width 0.4s ease; width: 0%; }
.section-title { font-size: 11px; color: var(--gray-400); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; margin: 20px 0 12px; display: flex; align-items: center; gap: 8px; }
.section-title::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }
.section-title:first-of-type { margin-top: 0; }
.form-group { margin-bottom: 14px; }
label.input-label { display: block; margin-bottom: 5px; color: var(--gray-700); font-size: 13px; font-weight: 500; }
.input-wrapper { position: relative; display: flex; align-items: center; }
.input-icon { position: absolute; left: 14px; font-size: 16px; pointer-events: none; opacity: 0.5; transition: var(--transition); }
.input-wrapper input:focus ~ .input-icon { opacity: 1; }
input[type="text"], input[type="tel"], input[type="email"] { width: 100%; padding: 13px 13px 13px 42px; border: 2px solid var(--gray-200); border-radius: var(--radius); font-size: 15px; font-family: inherit; color: var(--gray-700); background: var(--white); transition: var(--transition); }
input[type="text"]:focus, input[type="tel"]:focus, input[type="email"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); }
input::placeholder { color: var(--gray-400); }
input.filled { border-color: var(--success); background: #f0fdf4; }
.error-msg { color: var(--error); font-size: 12px; margin-top: 5px; display: none; align-items: center; gap: 4px; }
.error-msg::before { content: '⚠'; font-size: 11px; }
.error-msg.show { display: flex; }
.help-text { font-size: 11px; color: var(--gray-400); margin-top: 4px; }
.campos-dinamicos { display: none; }
.campos-dinamicos.visible { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.esim-highlight { background: linear-gradient(135deg, #eff6ff, #f0f9ff); border: 1px solid #bfdbfe; border-radius: var(--radius); padding: 16px; margin-top: 16px; }
.esim-highlight .section-title { margin-top: 0; color: var(--primary); }
.esim-highlight .section-title::after { background: #bfdbfe; }
.btn { width: 100%; padding: 16px; border: none; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: var(--white); font-size: 15px; font-weight: 600; border-radius: var(--radius); cursor: pointer; font-family: inherit; transition: var(--transition); box-shadow: var(--shadow); margin-top: 12px; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn:disabled { background: var(--gray-300); cursor: not-allowed; transform: none; box-shadow: none; }
.btn.loading { position: relative; color: transparent; }
.btn.loading::after { content: ''; position: absolute; width: 20px; height: 20px; top: 50%; left: 50%; margin-left: -10px; margin-top: -10px; border: 2px solid transparent; border-top-color: white; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==================== CONSULTAR SECTION ==================== */
.consultar-section { padding: 60px 20px; background: var(--white); }
.consultar-wrapper { max-width: 500px; margin: 0 auto; }
.consultar-card { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px; text-align: center; }
.consultar-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--info), var(--accent-light)); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 24px; }
.consultar-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--gray-800); margin-bottom: 6px; }
.consultar-card > p { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 20px; }
.consultar-form { display: flex; gap: 10px; }
.consultar-form .input-wrapper { flex: 1; }
.consultar-form input { padding: 14px 14px 14px 42px; }
.consultar-form .btn { width: auto; padding: 14px 24px; margin-top: 0; white-space: nowrap; }
.result-box { margin-top: 20px; padding: 20px; border-radius: var(--radius); display: none; background: var(--white); border: 1px solid var(--gray-200); text-align: left; }
.result-box.show { display: block; }
.result-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 2px solid var(--gray-200); flex-wrap: wrap; gap: 10px; }
.result-numero { font-size: 20px; font-weight: 700; color: var(--primary-dark); }
.result-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--gray-100); }
.result-item:last-child { border-bottom: none; }
.result-label { color: var(--gray-500); font-size: 13px; }
.result-value { color: var(--gray-700); font-weight: 600; font-size: 13px; text-align: right; }
.estado-badge { display: inline-flex; padding: 6px 14px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.estado-badge.success { background: var(--success-bg); color: #065f46; }
.estado-badge.error { background: var(--error-bg); color: #991b1b; }
.estado-badge.warning { background: var(--warning-bg); color: #92400e; }
.estado-badge.info { background: var(--info-bg); color: #1e40af; }

/* ==================== FAQs ==================== */
.faqs { padding: 80px 20px; background: var(--gray-50); }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item.destacado { border: 2px solid var(--accent); }
.faq-question { padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: var(--transition); gap: 12px; }
.faq-question:hover { background: var(--gray-50); }
.faq-question h4 { font-size: 0.95rem; font-weight: 600; color: var(--gray-800); margin: 0; display: flex; align-items: center; gap: 10px; }
.faq-badge { font-size: 10px; background: var(--accent); color: white; padding: 3px 8px; border-radius: 10px; font-weight: 600; }
.faq-arrow { font-size: 12px; color: var(--gray-400); transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-content { padding: 0 20px 20px; color: var(--gray-500); font-size: 0.9rem; line-height: 1.6; }
.faq-item.open .faq-answer { max-height: 600px; }
.horarios-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 10px; }
.horarios-table th { background: var(--primary); color: var(--white); padding: 12px 14px; text-align: left; font-weight: 600; font-size: 11px; text-transform: uppercase; }
.horarios-table th:first-child { border-radius: 8px 0 0 0; }
.horarios-table th:last-child { border-radius: 0 8px 0 0; }
.horarios-table td { padding: 10px 14px; border-bottom: 1px solid var(--gray-200); color: var(--gray-600); }
.horarios-table tr:nth-child(even) { background: var(--gray-50); }
.horarios-table tr:last-child td { border-bottom: none; }
.dia-aplicacion { font-weight: 700; color: var(--primary); }

/* ==================== CONTACT ==================== */
.contact { padding: 60px 20px; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); text-align: center; }
.contact h2 { color: var(--white); font-size: 1.8rem; margin-bottom: 12px; }
.contact p { color: rgba(255,255,255,0.7); margin-bottom: 32px; }
.contact-cards { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.contact-card { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); padding: 24px 40px; border-radius: var(--radius-lg); color: var(--white); text-decoration: none; transition: var(--transition); display: flex; flex-direction: column; align-items: center; }
.contact-card:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }
.contact-card-icon { font-size: 32px; margin-bottom: 12px; }
.contact-card strong { font-size: 1.1rem; }
.contact-card.whatsapp { background: rgba(37, 211, 102, 0.2); border: 1px solid rgba(37, 211, 102, 0.3); }
.contact-card.whatsapp:hover { background: rgba(37, 211, 102, 0.3); }
/* ICONO WHATSAPP CENTRADO - FIX */
.contact-card .whatsapp-icon { width: 32px; height: 32px; fill: white; display: block; margin: 0 auto 12px; }

/* ==================== FOOTER ==================== */
.footer { background: var(--gray-800); padding: 40px 20px; text-align: center; }
.footer p { color: var(--gray-400); font-size: 0.85rem; }
.footer-links { list-style: none; display: flex; justify-content: center; gap: 24px; margin-top: 16px; flex-wrap: wrap; }
.footer-links a { color: var(--gray-400); text-decoration: none; font-size: 0.85rem; transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: var(--white); }
.footer-links .whatsapp-icon-sm { width: 16px; height: 16px; fill: currentColor; }

/* ==================== MODAL COMPATIBILIDAD ==================== */
.modal-compat { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); z-index: 99998; justify-content: center; align-items: center; padding: 20px; }
.modal-compat.show { display: flex; }
.modal-compat-box { background-color: var(--white); border-radius: var(--radius-lg); width: 100%; max-width: 450px; padding: 32px; box-shadow: var(--shadow-xl); animation: modalIn 0.3s ease; }
.modal-compat-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.modal-compat-header h3 { font-size: 1.3rem; font-weight: 700; color: var(--gray-800); margin: 0; display: flex; align-items: center; gap: 10px; }
.modal-compat-subtitle { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 24px; }
.modal-close { width: 36px; height: 36px; border: none; background: var(--gray-100); border-radius: 50%; cursor: pointer; font-size: 18px; color: var(--gray-500); transition: var(--transition); flex-shrink: 0; }
.modal-close:hover { background: var(--gray-200); color: var(--gray-700); }
.modal-search-container { position: relative; }
.modal-search-input { width: 100%; padding: 16px 20px 16px 50px; border: 2px solid var(--gray-200); border-radius: var(--radius); font-size: 16px; font-family: inherit; transition: var(--transition); }
.modal-search-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1); }
.modal-search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--gray-400); }
.modal-suggestions { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border: 2px solid var(--gray-200); border-top: none; border-radius: 0 0 var(--radius) var(--radius); max-height: 220px; overflow-y: auto; display: none; z-index: 100; }
.modal-suggestions.show { display: block; }
.modal-suggestion-item { padding: 12px 16px; cursor: pointer; transition: var(--transition); border-bottom: 1px solid var(--gray-100); }
.modal-suggestion-item:last-child { border-bottom: none; }
.modal-suggestion-item:hover { background: var(--gray-50); }
.modal-suggestion-item .brand { font-size: 11px; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.5px; }
.modal-suggestion-item .model { font-weight: 600; color: var(--gray-700); font-size: 14px; }
.modal-result { margin-top: 20px; padding: 16px 20px; border-radius: var(--radius); display: none; align-items: center; gap: 12px; font-weight: 600; }
.modal-result.show { display: flex; }
.modal-result.compatible { background: var(--success-bg); color: #065f46; }
.modal-result.not-found { background: var(--warning-bg); color: #92400e; }
.modal-result-icon { font-size: 24px; }
.modal-result-text { flex: 1; }
.modal-result-text .title { font-size: 14px; }
.modal-result-text .subtitle { font-size: 12px; font-weight: 400; opacity: 0.8; }

/* ==================== MODAL PRINCIPAL ==================== */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); z-index: 99999; justify-content: center; align-items: center; padding: 20px; }
.modal-overlay.show { display: flex !important; }
.modal-box { background-color: var(--white); border-radius: var(--radius-lg); width: 100%; max-width: 400px; text-align: center; padding: 40px 28px; box-shadow: var(--shadow-xl); animation: modalIn 0.3s ease; }
@keyframes modalIn { 0% { transform: scale(0.9) translateY(20px); opacity: 0; } 100% { transform: scale(1) translateY(0); opacity: 1; } }
.modal-icon { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.modal-icon.success { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: var(--success); }
.modal-icon.error { background: linear-gradient(135deg, #fee2e2, #fecaca); color: var(--error); }
.modal-title { font-size: 22px; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.modal-message { font-size: 14px; color: var(--gray-500); margin-bottom: 24px; line-height: 1.6; }
.modal-btn { display: inline-block; background: linear-gradient(135deg, var(--success), #059669); color: var(--white); border: none; padding: 14px 48px; font-size: 15px; font-weight: 600; border-radius: var(--radius); cursor: pointer; font-family: inherit; transition: var(--transition); }
.modal-btn:hover { transform: translateY(-1px); }
.modal-btn.error-btn { background: linear-gradient(135deg, var(--error), #dc2626); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) { .hero-container { grid-template-columns: 1fr; text-align: center; } .hero-content p { margin: 0 auto 32px; } .hero-buttons { justify-content: center; } .hero-phone { width: 220px; height: 440px; } .navbar-center { display: none; } }
@media (max-width: 600px) { .navbar { padding: 10px 16px; } .navbar-logo, .navbar-logo-placeholder { height: 32px; } .navbar-phone span { display: none; } .navbar-cta { padding: 8px 16px; font-size: 13px; } .hero { min-height: auto; padding: 80px 20px 50px; } .hero-image { display: none; } .hero-buttons { flex-direction: column; align-items: center; } .hero-cta, .hero-cta-secondary { width: 100%; justify-content: center; } .benefits, .steps, .form-section, .faqs, .consultar-section, .compatibilidad { padding: 50px 16px; } .compat-card { padding: 24px 20px; } .card { padding: 24px 18px; } .tipo-sim-option label { padding: 16px 10px; } .tipo-sim-option .sim-icon { width: 44px; height: 44px; font-size: 20px; } .tipo-sim-option .label-text { font-size: 14px; } .consultar-form { flex-direction: column; } .consultar-form .btn { width: 100%; } .result-item { flex-direction: column; align-items: flex-start; gap: 4px; } .result-value { text-align: left; } .horarios-table { font-size: 11px; } .horarios-table th, .horarios-table td { padding: 8px 10px; } .contact-cards { flex-direction: column; align-items: center; } .modal-compat-box { padding: 24px 20px; } .whatsapp-float { bottom: 16px; right: 16px; width: 56px; height: 56px; } .whatsapp-float svg { width: 28px; height: 28px; } }