/* ==========================================================================
   1Click Perú - CSS Local Completo (Zero CDN / Mobile-First + Desktop)
   ========================================================================== */

*, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: #e2e8f0; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; scroll-behavior: smooth; }
body { margin: 0; background-color: #f8fafc; color: #334155; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; font-size: 100%; line-height: inherit; color: inherit; margin: 0; }
button { background: transparent; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
strong { font-weight: 700; color: #1e293b; }

/* Accesibilidad */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }

/* Posicionamiento y Capas */
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.-top-1 { top: -0.25rem; }
.-right-1 { right: -0.25rem; }
.bottom-6 { bottom: 1.5rem; }
.right-6 { right: 1.5rem; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }

/* Display y Layout */
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0 { flex-shrink: 0; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Espaciado */
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }

.space-x-2 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.5rem; }
.space-x-3 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.75rem; }
.space-x-4 > :not([hidden]) ~ :not([hidden]) { margin-left: 1rem; }
.space-x-6 > :not([hidden]) ~ :not([hidden]) { margin-left: 1.5rem; }
.space-x-8 > :not([hidden]) ~ :not([hidden]) { margin-left: 2rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.space-y-16 > :not([hidden]) ~ :not([hidden]) { margin-top: 4rem; }
.space-y-20 > :not([hidden]) ~ :not([hidden]) { margin-top: 5rem; }

/* Dimensiones */
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-px { width: 1px; }
.w-auto { width: auto; }
.w-full { width: 100%; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-32 { height: 8rem; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.office-img { width: 100%; height: 380px; object-fit: cover; transition: transform 0.5s ease; }
.office-card:hover .office-img { transform: scale(1.04); }

.max-w-md { max-width: 28rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mx-4 { margin-left: 1rem; margin-right: 1rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.ml-4 { margin-left: 1rem; }
.mr-1 { margin-right: 0.25rem; }
.mr-1\.5 { margin-right: 0.375rem; }
.mr-2 { margin-right: 0.5rem; }

.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }

/* Tipografía */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-\[10px\] { font-size: 10px; }
.text-xs { font-size: 0.75rem; line-height: 1.1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.35rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1rem; line-height: 1.5rem; }
.text-xl { font-size: 1.125rem; line-height: 1.65rem; }
.text-2xl { font-size: 1.375rem; line-height: 1.85rem; }
.text-3xl { font-size: 1.625rem; line-height: 2.1rem; }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.uppercase { text-transform: uppercase; }
.leading-tight { line-height: 1.2; }
.leading-snug { line-height: 1.35; }
.leading-relaxed { line-height: 1.625; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

/* Colores de Texto */
.text-white { color: #ffffff; }
.text-slate-100 { color: #f1f5f9; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }
.text-slate-900 { color: #0f172a; }
.text-indigo-200 { color: #c7d2fe; }
.text-indigo-600 { color: #4f46e5; }
.text-indigo-700 { color: #4338ca; }
.text-indigo-900 { color: #312e81; }
.text-indigo-950 { color: #1e1b4b; }

/* Colores de Fondo */
.bg-white { background-color: #ffffff; }
.bg-white\/95 { background-color: rgba(255, 255, 255, 0.96); }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-50\/50 { background-color: rgba(248, 250, 252, 0.7); }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-slate-200 { background-color: #e2e8f0; }
.bg-indigo-50 { background-color: #eef2ff; }
.bg-indigo-50\/50 { background-color: rgba(238, 242, 255, 0.55); }
.bg-indigo-50\/60 { background-color: rgba(238, 242, 255, 0.65); }
.bg-indigo-100 { background-color: #e0e7ff; }
.bg-indigo-600 { background-color: #4f46e5; }
.bg-indigo-950 { background-color: #1e1b4b; }
.bg-indigo-950\/80 { background-color: rgba(30, 27, 75, 0.85); }
.bg-emerald-500 { background-color: #10b981; }
.bg-red-500 { background-color: #ef4444; }

.backdrop-blur { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* Bordes y Sombras */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-white { border-color: #ffffff; }
.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-300 { border-color: #cbd5e1; }
.border-indigo-100 { border-color: #e0e7ff; }
.border-indigo-300\/30 { border-color: rgba(165, 180, 252, 0.35); }
.border-indigo-900 { border-color: #312e81; }

.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

.shadow-xs { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
.shadow-sm { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.shadow { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

/* Navegación */
.nav-wrap { max-width: 80rem; margin: 0 auto; padding: 0 1rem; height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

/* Logo con proporción fija (CLS = 0) */
.brand-logo { aspect-ratio: 235 / 112; }

/* Hero (Fiel al estilo claro original + WebP ligero) */
.hero-section { position: relative; color: #ffffff; overflow: hidden; display: flex; align-items: center; justify-content: center; background-color: #f1f5f9; padding: 5rem 1rem; }
.hero-bg-picture { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay-index { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(30, 27, 75, 0.10) 0%, rgba(2, 6, 23, 0.05) 55%, transparent 100%); z-index: 1; }
.hero-overlay-laptops { position: absolute; inset: 0; background: rgba(2, 6, 23, 0.20); z-index: 1; }
.hero-subpage-text { filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0.92)); }
.hero-inner { max-width: 64rem; margin: 0 auto; text-align: center; position: relative; z-index: 10; }
.hero-badge { display: inline-block; color: #c7d2fe; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; background: rgba(30, 27, 75, 0.85); padding: 0.4rem 1rem; border-radius: 9999px; border: 1px solid rgba(165, 180, 252, 0.35); margin-bottom: 1rem; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22); }
.hero-badge-light { display: inline-block; color: #4f46e5; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; background: rgba(255, 255, 255, 0.96); padding: 0.4rem 1rem; border-radius: 9999px; border: 1px solid #e0e7ff; margin-bottom: 1rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14); }
.hero-title { font-size: 1.5rem; line-height: 1.25; font-weight: 700; letter-spacing: -0.025em; max-width: 48rem; margin: 0 auto; filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.88)); }
.hero-subtitle { margin: 1.1rem auto 0; font-size: 0.9375rem; line-height: 1.6; color: #f1f5f9; max-width: 40rem; filter: drop-shadow(0 2px 7px rgba(0, 0, 0, 0.85)); }
.wa-bubble { min-width: 245px; justify-content: flex-end; white-space: nowrap; }
.client-strip-card { background: #ffffff; padding: 1rem 1.25rem; border-radius: 1rem; border: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: center; height: 5.75rem; transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease; }
.client-strip-card:hover, .client-card-active { border-color: #a5b4fc; box-shadow: 0 10px 25px -8px rgba(79, 70, 229, 0.22); transform: translateY(-2px); }
.hero-ctas { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.btn-primary { display: inline-block; background: #4f46e5; color: #ffffff; font-weight: 600; padding: 0.9rem 1.75rem; border-radius: 0.75rem; font-size: 0.875rem; box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.45); transition: all 0.2s ease; }
.btn-primary:hover { background: #4338ca; transform: translateY(-2px); }
.btn-white { display: inline-block; background: #ffffff; color: #4338ca; font-weight: 600; padding: 0.9rem 1.75rem; border-radius: 0.75rem; font-size: 0.875rem; box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2); transition: all 0.2s ease; }
.btn-white:hover { background: #f1f5f9; }

/* Transiciones e Interacciones */
.transition, .transition-all { transition: all 0.2s ease-in-out; }
.hover\:text-indigo-600:hover { color: #4f46e5; }
.hover\:bg-indigo-700:hover { background-color: #4338ca; }
.hover\:bg-slate-100:hover { background-color: #f1f5f9; }
.hover\:bg-emerald-600:hover { background-color: #059669; }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.1); }
.hover\:-translate-y-0\.5:hover { transform: translateY(-2px); }
.social-fb:hover { background-color: #1877F2; }
.social-li:hover { background-color: #0A66C2; }
.social-wa:hover { background-color: #25D366; }

/* Tarjetas de Roles en Login */
.role-card { display: flex; align-items: center; padding: 1rem; border-radius: 1rem; border: 2px solid #f1f5f9; text-align: left; transition: all 0.2s ease; background: #ffffff; }
.role-card:hover { border-color: #4f46e5; background-color: rgba(238, 242, 255, 0.55); }
.role-icon { width: 3rem; height: 3rem; border-radius: 0.75rem; background: #e0e7ff; color: #4f46e5; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.2s ease; }
.role-card:hover .role-icon { background: #4f46e5; color: #ffffff; }
.role-card:hover .role-title { color: #4f46e5; }
.login-bg { min-height: 100vh; background: radial-gradient(circle at top left, #eef2ff 0%, #e2e8f0 55%, #cbd5e1 100%); }

/* Formularios */
.form-input { width: 100%; background-color: #f8fafc; border: 1px solid #cbd5e1; border-radius: 0.5rem; padding: 0.75rem 1rem; color: #1e293b; font-size: 0.875rem; transition: border-color 0.2s, box-shadow 0.2s; }
.form-input:focus { outline: none; border-color: #4f46e5; box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.18); background-color: #ffffff; }
.form-file { width: 100%; background-color: #ffffff; border: 1px solid #cbd5e1; border-radius: 0.5rem; padding: 0.5rem 0.75rem; color: #334155; font-size: 0.75rem; cursor: pointer; }
.form-file::file-selector-button { margin-right: 0.75rem; padding: 0.375rem 0.75rem; border-radius: 0.375rem; border: 0; font-size: 0.75rem; font-weight: 600; background-color: #4f46e5; color: #ffffff; cursor: pointer; }
.form-file::file-selector-button:hover { background-color: #4338ca; }

/* Menú Móvil Desplegable */
.mobile-menu { border-top: 1px solid #e2e8f0; background-color: #ffffff; padding: 1rem 1.25rem 1.25rem; box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.12); }
.mobile-menu a { display: block; padding: 0.65rem 0.75rem; border-radius: 0.5rem; font-weight: 500; font-size: 0.9375rem; color: #334155; }
.mobile-menu a:hover { background-color: #eef2ff; color: #4f46e5; }

/* Preguntas Frecuentes (Acordeón puro sin JS) */
.faq-item { background-color: #ffffff; border: 1px solid #e2e8f0; border-radius: 1rem; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.15rem 1.25rem; font-weight: 600; font-size: 0.9375rem; color: #1e293b; display: flex; align-items: center; justify-content: space-between; gap: 1rem; transition: color 0.2s ease; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { flex-shrink: 0; transition: transform 0.2s ease; color: #4f46e5; }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-answer { padding: 0 1.25rem 1.15rem; font-size: 0.875rem; color: #475569; line-height: 1.65; }

/* Widget WhatsApp + Animaciones */
@keyframes pulse-soft {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}
.whatsapp-float { animation: pulse-soft 3s infinite ease-in-out; will-change: transform; }
.typing-cursor { display: inline-block; background-color: #64748b; width: 2px; height: 12px; animation: blink 1s infinite; vertical-align: middle; margin-left: 2px; }
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Logos de Clientes (nosotros.html) */
.client-logo { max-height: 52px; max-width: 160px; width: auto; height: auto; object-fit: contain; filter: grayscale(100%) contrast(120%); opacity: 0.75; transition: all 0.5s ease-in-out; }
.client-logo:hover { filter: grayscale(0%) contrast(100%); opacity: 1; transform: scale(1.05); }
.client-logo-selected { filter: grayscale(0%) contrast(100%); opacity: 1; transform: scale(1.1); }

/* ==========================================================================
   BREAKPOINTS RESPONSIVOS (sm: 640px | md: 768px | lg: 1024px)
   ========================================================================== */

@media (min-width: 640px) {
    .nav-wrap { padding: 0 1.5rem; }
    .hero-title { font-size: 1.75rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .sm\:flex { display: flex; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .sm\:px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\:p-12 { padding: 3rem; }
    .sm\:gap-6 { gap: 1.5rem; }
    .sm\:h-16 { height: 4rem; }
    .sm\:text-sm { font-size: 0.875rem; line-height: 1.35rem; }
    .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
    .sm\:text-2xl { font-size: 1.375rem; line-height: 1.85rem; }
    .sm\:text-3xl { font-size: 1.5rem; line-height: 2rem; }
}

@media (min-width: 768px) {
    .nav-wrap { height: 6rem; }
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:flex-row { flex-direction: row; }
    .md\:text-left { text-align: left; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .nav-wrap { padding: 0 2rem; }
    .hero-section { padding: 7rem 1rem; }
    .hero-title { font-size: 1.875rem; line-height: 1.25; }
    .lg\:flex { display: flex; }
    .lg\:block { display: block; }
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .lg\:col-span-5 { grid-column: span 5 / span 5; }
    .lg\:col-span-7 { grid-column: span 7 / span 7; }
}


/* ==========================================================================
   MICRO-INTERACCIONES MODERNAS (100% CSS / GPU / 0ms de impacto en PageSpeed)
   ========================================================================== */

/* Enlaces de navegación con subrayado animado */
.nav-link { position: relative; padding: 0.25rem 0; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background: #4f46e5; border-radius: 9999px; transform: scaleX(0); transform-origin: center; transition: transform 0.25s ease; }
.nav-link:hover::after, .nav-link-active::after { transform: scaleX(1); }

/* Punto indicador vivo en badge del Hero */
.live-dot { width: 0.45rem; height: 0.45rem; border-radius: 9999px; background-color: #34d399; display: inline-block; margin-right: 0.45rem; vertical-align: middle; animation: live-pulse 2.2s infinite ease-in-out; }
@keyframes live-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.45); opacity: 0.55; }
}

/* Tarjetas interactivas modernas (Beneficios, Catálogo, Cobertura, Nosotros) */
.card-interactive { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.card-interactive:hover { transform: translateY(-4px); border-color: #c7d2fe; box-shadow: 0 16px 32px -12px rgba(79, 70, 229, 0.16), 0 4px 10px -4px rgba(15, 23, 42, 0.06); }
.card-interactive .icon-box { transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease; }
.card-interactive:hover .icon-box { transform: scale(1.08); background-color: #4f46e5; color: #ffffff; }

/* Tarjeta destacada del catálogo (Laptops) con línea superior moderna */
.card-featured { position: relative; overflow: hidden; border-color: #c7d2fe; }
.card-featured::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #4f46e5, #818cf8, #4f46e5); }

/* Botón CTA con destello diagonal suave al pasar el mouse */
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after { content: ""; position: absolute; top: 0; left: -120%; width: 70%; height: 100%; background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.28) 50%, transparent 80%); transition: left 0.55s ease; pointer-events: none; }
.btn-shine:hover::after { left: 130%; }

/* FAQ moderno con acento índigo al desplegar */
.faq-item { transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.faq-item[open] { border-color: #a5b4fc; box-shadow: 0 10px 24px -10px rgba(79, 70, 229, 0.16); }
.faq-item summary:hover { color: #4f46e5; }

/* Caja de verificación antispam en el formulario */
.captcha-box { background: #f8fafc; border: 1px solid #cbd5e1; border-radius: 1rem; padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.captcha-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: #eef2ff; color: #312e81; font-weight: 700; font-size: 0.875rem; padding: 0.45rem 0.9rem; border-radius: 0.6rem; border: 1px solid #c7d2fe; letter-spacing: 0.02em; user-select: none; }
.captcha-error { color: #dc2626; font-size: 0.75rem; font-weight: 600; margin-top: 0.35rem; }
@media (min-width: 640px) {
    .captcha-box { flex-direction: row; align-items: center; justify-content: space-between; }
}


/* ==========================================================================
   TABLAS DE PRECIOS, REQUISITOS Y PASOS (SEO + Conversión, 100% Responsivo)
   ========================================================================== */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 1rem; border: 1px solid #e2e8f0; background: #ffffff; box-shadow: 0 8px 24px -12px rgba(15, 23, 42, 0.08); }
.price-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.875rem; min-width: 640px; }
.price-table thead th { background: #eef2ff; color: #1e1b4b; font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.95rem 1.15rem; border-bottom: 1px solid #c7d2fe; }
.price-table tbody td { padding: 1rem 1.15rem; border-bottom: 1px solid #f1f5f9; color: #334155; vertical-align: middle; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:hover td { background-color: #f8fafc; }
.price-highlight { background-color: #f5f7ff; }
.price-amount { font-size: 1.05rem; font-weight: 700; color: #4f46e5; white-space: nowrap; }
.price-igv { display: block; font-size: 0.7rem; font-weight: 500; color: #64748b; }
.step-num { width: 2.25rem; height: 2.25rem; border-radius: 9999px; background: #4f46e5; color: #ffffff; font-weight: 700; font-size: 0.875rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 6px 14px -4px rgba(79, 70, 229, 0.45); }
.pill-tag { display: inline-flex; align-items: center; gap: 0.35rem; background: #eef2ff; color: #312e81; border: 1px solid #e0e7ff; border-radius: 9999px; padding: 0.3rem 0.75rem; font-size: 0.75rem; font-weight: 600; }
.breadcrumb { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: #cbd5e1; margin-bottom: 0.85rem; }
.breadcrumb a { color: #ffffff; text-decoration: underline; text-underline-offset: 2px; }


/* ==========================================================================
   MENÚ DESPLEGABLE "SERVICIOS" (Desktop Hover + Click, 0 CLS)
   ========================================================================== */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-btn { display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 500; font-size: 0.875rem; color: #475569; padding: 0.5rem 0; transition: color 0.2s ease; }
.nav-dropdown-btn:hover, .nav-dropdown:hover .nav-dropdown-btn, .nav-dropdown.open .nav-dropdown-btn { color: #4f46e5; }
.nav-dropdown-btn svg { width: 0.95rem; height: 0.95rem; transition: transform 0.2s ease; }
.nav-dropdown:hover .nav-dropdown-btn svg, .nav-dropdown.open .nav-dropdown-btn svg { transform: rotate(180deg); }
.nav-dropdown-panel { position: absolute; top: 100%; left: -1rem; width: 20rem; padding-top: 0.5rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s; z-index: 60; }
.nav-dropdown:hover .nav-dropdown-panel, .nav-dropdown:focus-within .nav-dropdown-panel, .nav-dropdown.open .nav-dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 1rem; padding: 0.5rem; box-shadow: 0 20px 35px -12px rgba(15, 23, 42, 0.16), 0 4px 10px -4px rgba(15, 23, 42, 0.06); }
.nav-dropdown-item { display: block; padding: 0.65rem 0.85rem; border-radius: 0.65rem; transition: background-color 0.18s ease; }
.nav-dropdown-item:hover { background-color: #eef2ff; }
.nav-dropdown-title { display: block; font-size: 0.8125rem; font-weight: 600; color: #1e293b; line-height: 1.25; }
.nav-dropdown-item:hover .nav-dropdown-title { color: #4f46e5; }
.nav-dropdown-desc { display: block; font-size: 0.7rem; color: #64748b; margin-top: 0.15rem; line-height: 1.3; }
.mobile-menu-label { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #64748b; padding: 0.4rem 0.75rem 0.2rem; }
.mobile-submenu-item { padding-left: 1.25rem !important; font-size: 0.875rem !important; }
