html, body {
  margin: 0;
  padding: 0;
}

/* PAGINA INDEX - INICIO*/
/* --- RESET Y UTILIDADES BASE --- */      
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.me-3 { margin-right: 1rem; }

/* --- HERO SECTION --- */
.infx-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.9)), 
                url('https://res.cloudinary.com/aprender21/image/upload/fl_awebp,q_auto:low/v1590695795/curso-de-hardware-de-sistemas-pc.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    color: white;
    padding: 100px 0;
}
.infx-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem); 
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.infx-hero-text {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
    opacity: 0.9;
    line-height: 1.6;
}

/* --- BOTONES CORREGIDOS --- */
.infx-btn-container { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.btn {
    display: inline-block; text-decoration: none; padding: 14px 35px;
    border-radius: 50px; font-weight: 600; font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; text-align: center;
}
.infx-btn-primary { background-color: #2563eb; color: #ffffff !important; border: 2px solid #2563eb; box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3); }
.infx-btn-primary:hover { background-color: #1e40af; border-color: #1e40af; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4); }
.infx-btn-outline { background-color: transparent; color: #ffffff !important; border: 2px solid #ffffff; }
.infx-btn-outline:hover { background-color: #ffffff; color: #0a192f !important; transform: translateY(-3px); }

/* --- RESPONSIVO --- */
@media (max-width: 600px) {
    .infx-btn-container { flex-direction: column; padding: 0 40px; }
    .me-3 { margin-right: 0; margin-bottom: 15px; }
    .infx-hero-title { font-size: 2.2rem; }
}
    
/* ============================= */
/* ===== SECCIÓN TECNOLÓGICA ===== */
/* ============================= */
.ilx-section-tech { padding: 120px 0; background: linear-gradient(135deg, #0f172a, #0a0f1f); position: relative; overflow: hidden; color: #fff; }
.ilx-section-tech::before { content: ""; position: absolute; width: 400px; height: 400px; background: #2563eb; filter: blur(160px); top: -100px; right: -100px; opacity: 0.25; }
.ilx-section-header { max-width: 800px; margin: 0 auto; }
.ilx-badge { display: inline-block; padding: 6px 18px; background: rgba(37, 99, 235, 0.15); color: #60a5fa; border-radius: 50px; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; }
.ilx-title-main { font-size: 2.6rem; font-weight: 700; margin-bottom: 20px; }
.ilx-description { color: #cbd5e1; font-size: 1.05rem; line-height: 1.7; }
.ilx-service-box { background: rgba(255,255,255,0.05); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 45px 30px; text-align: center; transition: all 0.4s ease; position: relative; overflow: hidden; }
.ilx-service-box:hover { transform: translateY(-12px); border-color: rgba(37, 99, 235, 0.6); box-shadow: 0 25px 50px rgba(0,0,0,0.4); }
.ilx-icon-wrap { width: 70px; height: 70px; margin: 0 auto 25px; background: linear-gradient(135deg, #2563eb, #3b82f6); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff; transition: 0.3s; }
.ilx-service-box:hover .ilx-icon-wrap { transform: rotate(-8deg) scale(1.1); }
.ilx-hover-line { position: absolute; bottom: 0; left: 0; width: 0%; height: 4px; background: linear-gradient(90deg, #2563eb, #60a5fa); transition: 0.4s ease; }
.ilx-service-box:hover .ilx-hover-line { width: 100%; }
@media (max-width: 992px) { .ilx-title-main { font-size: 2rem; } }

/* =============================== */
/* ===== NX BENEFITS SECTION ===== */
/* =============================== */
.nx-benefits-section { padding: 120px 0; background: #ffffff; position: relative; }
.nx-benefits-section::before { content: ""; position: absolute; width: 300px; height: 300px; background: radial-gradient(circle, rgba(0,0,0,0.05), transparent 70%); top: -50px; left: -50px; }
.nx-benefits-header { max-width: 750px; margin: 0 auto; }
.nx-tagline { display: inline-block; font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; color: #726868; margin-bottom: 15px; }
.nx-main-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 20px; color: #111; }
.nx-subtext { color: #666; font-size: 1.05rem; line-height: 1.7; }
.nx-benefit-card { background: #fff; padding: 45px 25px; border-radius: 18px; text-align: center; transition: all 0.4s ease; border: 1px solid #eee; position: relative; overflow: hidden; }
.nx-benefit-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.nx-benefit-card::after { content: ""; position: absolute; bottom: 0; left: 0; height: 3px; width: 0%; background: linear-gradient(90deg, #2e3f74, #569bd4); transition: 0.4s ease; }
.nx-benefit-card:hover::after { width: 100%; }
.nx-icon-circle { width: 65px; height: 65px; margin: 0 auto 25px; border-radius: 50%; background: linear-gradient(135deg, #1027ac, #8dbbe6); display: flex; align-items: center; justify-content: center; font-size: 22px; color: #f8f6f6; transition: 0.4s ease; }
.nx-benefit-card:hover .nx-icon-circle { transform: scale(1.1); }
@media (max-width: 992px) { .nx-main-title { font-size: 2rem; } }

/* =============================== */
/* ===== PRX PRODUCTOS MODERN ===== */
/* =============================== */
.prx-products-section { padding: 120px 0; background: linear-gradient(135deg, #f9fafc 0%, #eef1f6 100%); }
.prx-label { font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase; color: #888; font-weight: 600; }
.prx-title { font-size: 2.7rem; font-weight: 800; color: #111; margin-bottom: 20px; }
.prx-subtitle { color: #666; font-size: 1.1rem; line-height: 1.6; }
.prx-card { background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); border-radius: 22px; overflow: hidden; transition: all 0.4s ease; border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 15px 35px rgba(0,0,0,0.04); position: relative; }
.prx-card:hover { transform: translateY(-12px); box-shadow: 0 35px 60px rgba(0,0,0,0.08); }
.prx-img-wrapper { overflow: hidden; height: 240px; position: relative; }
.prx-img-wrapper::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.35), transparent); }
.prx-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.prx-card:hover .prx-img { transform: scale(1.1); }
.prx-body { padding: 28px; }
.prx-body h5 { font-weight: 700; margin-bottom: 12px; color: #111; font-size: 1.15rem; }
.prx-body p { font-size: 0.95rem; color: #666; margin-bottom: 25px; line-height: 1.6; }
.prx-footer { display: flex; justify-content: space-between; align-items: center; }
.prx-price { font-size: 1.35rem; font-weight: 800; background: linear-gradient(45deg, #000, #444); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.prx-btn { padding: 9px 20px; font-size: 0.8rem; border-radius: 30px; text-decoration: none; background: linear-gradient(135deg, #201e79, #333); color: #fff; font-weight: 500; transition: all 0.3s ease; }
.prx-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.2); background: linear-gradient(135deg, #000, #444); }
.prx-btn-main { padding: 14px 40px; border-radius: 40px; background: linear-gradient(135deg, #15105a, #333); color: #fff; font-weight: 600; letter-spacing: 0.5px; text-decoration: none; transition: all 0.3s ease; }
.prx-btn-main:hover { transform: translateY(-4px); box-shadow: 0 15px 35px rgba(0,0,0,0.2); }
@media (max-width: 992px) { .prx-title { font-size: 2.2rem; } }

/* ================================= */
/* ===== TECH BRANDS SECTION ======= */
/* ================================= */
.tb-brands-section { padding: 110px 0; background: linear-gradient(135deg, #0f172a, #111827); position: relative; }
.tb-container { width: 90%; max-width: 1200px; margin: auto; }
.tb-header { text-align: center; margin-bottom: 60px; color: #fff; }
.tb-badge { display: inline-block; padding: 6px 18px; font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; border-radius: 50px; background: rgba(255,255,255,0.08); margin-bottom: 20px; }
.tb-header h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 15px; }
.tb-header p { color: #9ca3af; font-size: 1rem; }
.tb-logos-wrapper { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 40px; align-items: center; }
.tb-logo-item { background: rgba(255,255,255,0.03); border-radius: 18px; padding: 30px; display: flex; justify-content: center; align-items: center; transition: all 0.4s ease; border: 1px solid rgba(255,255,255,0.05); }
.tb-logo-item img { max-width: 120px; max-height: 50px; filter: grayscale(100%) brightness(200%); opacity: 0.7; transition: all 0.4s ease; }
.tb-logo-item:hover { transform: translateY(-8px); background: rgba(255,255,255,0.08); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.tb-logo-item:hover img { filter: grayscale(0%) brightness(100%); opacity: 1; transform: scale(1.05); }
@media (max-width: 768px) { .tb-header h2 { font-size: 2rem; } }

/* ================================= */
/* ===== SERVICIOS EMPRESARIALES ==== */
/* ================================= */
.sx-services-section { padding: 120px 0; background: linear-gradient(135deg, #d7e0f3, #e4e8ee); color: #070707; }
.sx-container { width: 90%; max-width: 1200px; margin: auto; }
.sx-header { text-align: center; margin-bottom: 70px; }
.sx-badge { display: inline-block; padding: 6px 18px; font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; border-radius: 50px; background: rgba(255,255,255,0.1); margin-bottom: 20px; }
.sx-header h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 15px; }
.sx-header p { max-width: 650px; margin: auto; color: #0e0e0f; }
.sx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.sx-card { position: relative; padding: 40px 30px; border-radius: 22px; background: rgba(255,255,255,0.05); backdrop-filter: blur(10px); transition: all 0.4s ease; z-index: 1; overflow: hidden; }
.sx-card::before { content: ""; position: absolute; inset: -2px; border-radius: 22px; background: linear-gradient(45deg, #030a77, #181a7c, #919092, #182d8b); background-size: 300% 300%; animation: borderMove 6s linear infinite; z-index: -1; }
.sx-card::after { content: ""; position: absolute; inset: 2px; border-radius: 20px; background: #ecedf0; z-index: -1; }
@keyframes borderMove { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.sx-card:hover { transform: translateY(-12px); background: rgba(255,255,255,0.08); box-shadow: 0 30px 60px rgba(0,0,0,0.4); }
.sx-icon { font-size: 2.5rem; margin-bottom: 20px; }
.sx-card h4 { font-size: 1.2rem; margin-bottom: 15px; }
.sx-card p { font-size: 0.95rem; margin-bottom: 20px; color: #0c0c0c; }
.sx-card ul { list-style: none; padding: 0; margin: 0; }
.sx-card ul li { margin-bottom: 8px; font-size: 0.9rem; color: #050505; }

/* --- HEADER / HERO NOSOTROS --- */
.about-hero { background: linear-gradient(135deg, rgba(34, 125, 214, 0.9), rgba(15, 42, 68, 0.8)), url('../img/banner.jpg') center/cover; color: white; text-align: center; padding: 80px 20px; clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%); }
.section {padding:60px 20px;}
.productos {display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;}
.producto {text-align:center;box-shadow:0 5px 15px rgba(0,0,0,.1);border-radius:10px;padding:15px;}
.btn-wsp {background:#25D366;color:white;padding:10px;border:none;border-radius:8px;}
footer {text-align:center;padding:20px;background:#0F2A44;color:white;}

/* --- NUEVOS ESTILOS --- */
.icon-circle { width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.hover-border-primary:hover { border-color: var(--secondary) !important; background-color: rgba(52, 152, 219, 0.05); transition: 0.3s; }

/* Efecto para las tarjetas de Misión/Visión */
.split-section { width: 100%; min-height: 80vh; display: flex; }
.split-container { display: flex; width: 100%; }
.split-card { flex: 1; display: flex; align-items: center; justify-content: center; padding: 80px 50px; text-align: center; transition: 0.6s ease; position: relative; overflow: hidden; }
.mission { background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); color: #fff; }
.vision { background: linear-gradient(135deg, #f5f7fa, #c3cfe2); color: #1e293b; }
.split-card:hover { flex: 1.2; }
.content { max-width: 500px; transition: 0.4s ease; }
.icon { font-size: 3rem; margin-bottom: 20px; transition: 0.4s ease; }
.split-card h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 20px; letter-spacing: 1px; }
.split-card p { font-size: 1.05rem; line-height: 1.8; }
.split-card:hover .icon { transform: scale(1.2) rotate(8deg); }
.split-card::before { content: ""; position: absolute; width: 2px; height: 60%; background: rgba(255,255,255,0.2); right: 0; }
.vision::before { display: none; }
@media (max-width: 768px) { .split-container { flex-direction: column; } .split-card::before { display: none; } }

/* Estilo para los iconos de marcas */
.partners-section { background: #ffffff; padding: 110px 0; }
.partners-title { font-size: 2.5rem; font-weight: 700; color: #0f172a; }
.partners-subtitle { color: #64748b; font-size: 1.05rem; }
.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 60px; margin-top: 70px; align-items: center; }
.partner-item { text-align: center; padding: 20px; border-radius: 15px; transition: all 0.4s ease; position: relative; }
.partner-item img { max-width: 120px; filter: grayscale(100%); opacity: 0.6; transition: all 0.4s ease; }
.partner-item:hover { transform: translateY(-8px); }
.partner-item:hover img { filter: grayscale(0%); opacity: 1; transform: scale(1.1); }
.partner-item::after { content: ""; position: absolute; width: 0%; height: 3px; background: linear-gradient(90deg, #2563eb, #7c3aed); left: 50%; bottom: 0; transform: translateX(-50%); transition: 0.4s ease; }
.partner-item:hover::after { width: 50%; }
.display-5 { font-weight: 700; color: var(--primary); }
.text-primary { color: var(--secondary) !important; }
.bg-primary { background-color: var(--secondary) !important; }

/* ================= CONTACTO PROFESIONAL (VERSIÓN CORPORATIVA) ================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
:root { --primary: #0F172A; --accent: #2563eb; --accent-dark: #1d4ed8; --text-main: #1e293b; --text-muted: #64748b; --bg-light: #f8fafc; --white: #ffffff; --transition: all 0.3s ease; }
body { font-family: 'Inter', sans-serif; color: var(--text-main); background-color: var(--white); padding-top: 0px; overflow-x: hidden; }

/* ================= NAVBAR ================= */
.navbar { background: rgba(15, 23, 42, 0.95); padding: 8px 0; min-height: 65px; position: relative; }
.navbar-brand { position: relative; height: 65px; display: flex; align-items: center; }
.navbar-brand img { height: 165px; position: absolute; top: 50%; transform: translateY(-50%); width: auto; margin-top: 8px; }
.nav-link { color: #227DD6 !important; font-weight: 500; margin-left: 15px; position: relative; transition: var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--white) !important; }
.nav-link::after { content: ""; position: absolute; width: 0%; height: 2px; bottom: -5px; left: 0; background: var(--accent); transition: var(--transition); }
.nav-link:hover::after { width: 100%; }

/*CARRITO*/
.modal-carrito { position: fixed; top: 0; right: 0; width: 420px; height: 100vh; background: rgba(0, 0, 0, 0.45); display: none; justify-content: flex-end; z-index: 9999; }
.modal-content-custom { background: #ffffff; width: 100%; height: 100%; padding: 30px; display: flex; flex-direction: column; box-shadow: -10px 0 30px rgba(0,0,0,0.2); animation: slideIn 0.3s ease; border-top-left-radius: 20px; border-bottom-left-radius: 20px; }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
#listaCarrito li { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid #f1f1f1; }
#listaCarrito strong { font-size: 15px; color: #1e293b; }
#listaCarrito small { color: #64748b; }
.btn-eliminar { background: #f8d7da; border: none; color: #dc3545; padding: 8px 10px; border-radius: 8px; cursor: pointer; transition: 0.2s; }
.btn-eliminar:hover { background: #dc3545; color: white; }
.total-box { margin-top: 15px; padding-top: 15px; border-top: 2px solid #eee; }
.btn-whatsapp { background: linear-gradient(45deg, #25D366, #128C7E); border: none; color: white; font-weight: 600; border-radius: 12px; padding: 12px; transition: 0.3s; }
.btn-whatsapp:hover { transform: scale(1.05); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }
.nx-description { font-size: 14px; color: #64748b; margin: 10px 0; line-height: 1.4; min-height: 70px; }

/* ================= HERO ================= */
.contact-pro-hero { position: relative; background: linear-gradient(rgba(15,23,42,0.88), rgba(15,23,42,0.88)), url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1600&q=80'); background-size: cover; background-position: center; color: var(--white); padding: 110px 0 70px; overflow: hidden; }
.contact-pro-hero .container { max-width: 1000px; }
.contact-pro-title { font-size: 2.3rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 20px; animation: fadeUp 1s ease forwards; }
.col-lg-5 { position: relative; }
.col-lg-5::before { content: ""; position: absolute; width: 350px; height: 350px; background: radial-gradient(circle, rgba(37,99,235,0.5) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%, -50%); filter: blur(60px); z-index: 1; }
.hero-robot-img { max-width: 320px; border-radius: 30px; box-shadow: 0 25px 60px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.1); position: relative; z-index: 2; animation: float 4s ease-in-out infinite; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ================= CONTACT SECTION ================= */
.contact-pro-section { padding: 90px 0; background-color: var(--bg-light); }
.contact-pro-card, .contact-pro-info { background: var(--white); padding: 45px; border-radius: 20px; border: 1px solid #e2e8f0; box-shadow: 0 10px 30px rgba(15,23,42,0.04); transition: var(--transition); }
.contact-pro-card:hover, .contact-pro-info:hover { transform: translateY(-8px); box-shadow: 0 25px 60px rgba(15,23,42,0.08); }
.contact-pro-input { border: 1.5px solid #e2e8f0; padding: 12px 15px; border-radius: 10px; transition: var(--transition); }
.contact-pro-input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(37,99,235,0.1); }
.contact-pro-btn { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: white; padding: 14px; border-radius: 10px; font-weight: 700; border: none; letter-spacing: .5px; box-shadow: 0 8px 20px rgba(37,99,235,0.3); transition: var(--transition); }
.contact-pro-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(37,99,235,0.4); }
.contact-pro-item { display: flex; margin-bottom: 25px; }
.contact-pro-icon { width: 45px; height: 45px; background: rgba(37,99,235,0.1); color: var(--accent); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-right: 15px; }

/* ================= SUSCRIPCIÓN ================= */
.contact-pro-subscribe { padding: 40px 0 30px; margin-top: -40px; background: var(--white); border-top: 1px solid #edf2f7; }

/* ================= MAPA ================= */
.contact-pro-map { border-top: 4px solid var(--accent); }
.contact-pro-map iframe { display: block; width: 100%; height: 420px; border: none; filter: none; }

/* ================= FOOTER ================= */
footer { background: linear-gradient(180deg, #0F172A 0%, #0a0f1d 100%); color: #94a3b8; padding: 80px 0 30px; border-top: 1px solid rgba(255, 255, 255, 0.05); }
footer h5, footer h6 { color: #ffffff; font-weight: 700; letter-spacing: 0.5px; }
footer ul li { margin-bottom: 12px; }
footer a { color: #94a3b8; text-decoration: none; font-size: 0.95rem; transition: all 0.3s ease; position: relative; }
footer a:hover { color: var(--accent); padding-left: 5px; }
.footer-social { display: flex; gap: 15px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); color: #cbd5e1; font-size: 1.1rem; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); border: 1px solid rgba(255, 255, 255, 0.1); }
.footer-social a:hover { background: var(--accent); color: #ffffff; transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2); }
.copyright { margin-top: 60px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.05); font-size: 0.85rem; text-align: center; letter-spacing: 0.5px; }
@media (max-width: 991px) { footer { text-align: center; } .footer-social { justify-content: center; margin-top: 20px; } .copyright { margin-top: 40px; } }
@media (max-width: 992px) { .contact-pro-title { font-size: 2.3rem; } }
@media (max-width: 768px) { .contact-pro-title { font-size: 2rem; } .hero-robot-img { max-width: 200px; margin-top: 30px; } .contact-pro-card, .contact-pro-info { padding: 30px; } .subscribe-success { background: #e6f4ea; color: #1e7e34; padding: 10px; border-radius: 8px; font-size: 14px; font-weight: 600; } }

/* ================= HERO MODERNO servicio ================= */
.services-hero { background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1600&q=80'); background-size: cover; background-position: center; color: white; padding: 160px 0 100px; text-align: center; }
.services-hero h1 { font-weight: 800; font-size: clamp(2.5rem, 5vw, 3.5rem); letter-spacing: -1.5px; margin-bottom: 15px; }
.services-hero p { font-size: 1.2rem; color: #cbd5e1; max-width: 700px; margin: 0 auto; }
.services-section { background: var(--bg-services); padding: 40px 0 100px; }
.service-card { background: var(--white); padding: 50px 30px; border-radius: 24px; border: 1px solid #e2e8f0; text-align: center; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); height: 100%; position: relative; overflow: hidden; }
.service-card::before { content: ""; position: absolute; inset: 0; border-radius: 24px; padding: 1px; background: linear-gradient(120deg, rgba(8, 23, 107, 0.6), rgba(2, 44, 71, 0.4), rgba(2,92,201,0.6)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.4s ease; }
.service-icon { display: inline-flex; align-items: center; justify-content: center; width: 80px; height: 80px; background: rgba(37, 99, 235, 0.05); color: var(--accent); border-radius: 20px; font-size: 35px; margin-bottom: 25px; transition: 0.3s; }
.service-card h5 { font-weight: 700; font-size: 1.25rem; margin-bottom: 15px; }
.service-card p { font-size: 0.95rem; color: var(--text-slate); line-height: 1.6; }
.service-card:hover { transform: translateY(-12px); box-shadow: 0 30px 60px rgba(15, 23, 42, 0.1); }
.service-card:hover::before { opacity: 1; }
.service-card:hover .service-icon { background: var(--accent); color: var(--white); transform: rotateY(180deg); }
.process-section { padding: 60px 20px 100px; margin-top: -100px !important; background: var(--white); text-align: center; }
.process-section h2 { margin-bottom: 40px; font-weight: 800; }
.stats-section { margin-bottom: 40px; }
.services-section .container { margin-top: -30px; }
.process-step { position: relative; }
.process-number { width: 60px; height: 60px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; margin: 0 auto 20px; border: 5px solid #f1f5f9; }
.cta-section { background: var(--primary); padding: 100px 0; color: white; }
.btn-cta { background: var(--accent); color: white; padding: 15px 40px; border-radius: 12px; font-weight: 600; text-decoration: none; transition: 0.3s; display: inline-block; }
.btn-cta:hover { background: var(--white); color: var(--primary); transform: scale(1.05); }

/* HERO PRINCIPAL */
.ds-hero-section { height: 100vh; position: relative; overflow: hidden; background: linear-gradient(rgba(15, 32, 39, 0.75), rgba(31, 28, 44, 0.85)), url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1600&q=80'); background-size: cover; background-position: center; background-repeat: no-repeat; display: flex; justify-content: center; align-items: center; text-align: center; color: white; padding: 0 20px; }
.ds-hero-container { max-width: 900px; }
.ds-hero-title { font-size: 3.2rem; font-weight: 800; color: #ffffff; position: relative; letter-spacing: 1px; display: inline-block; }
.ds-hero-title::after { content: ""; position: absolute; top: 0; left: -60%; width: 50%; height: 100%; background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%); transform: skewX(-25deg); animation: ds-shimmer 5s infinite; }
@keyframes ds-shimmer { 0% { left: -60%; } 100% { left: 160%; } }
.ds-hero-text { margin-top: 20px; font-size: 1.2rem; color: #d1d5db; }
.ds-hero-actions { margin-top: 30px; }
.ds-btn-primary { padding: 12px 28px; background: #2563eb; color: white; border-radius: 50px; text-decoration: none; margin: 0 10px; transition: 0.3s ease; }
.ds-btn-primary:hover { background: #1e40af; transform: translateY(-3px); }
.ds-btn-outline { padding: 12px 28px; border: 2px solid white; color: white; border-radius: 50px; text-decoration: none; margin: 0 10px; transition: 0.3s ease; }
.ds-btn-outline:hover { background: white; color: #0f2027; transform: translateY(-3px); }
@media (max-width: 768px) { .ds-hero-title { font-size: 2.2rem; } }

/* ================= BOTONES ================= */
.hero-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.btn-primary { background: #00c6ff; color: white; padding: 12px 30px; border-radius: 30px; text-decoration: none; transition: 0.4s; }
.btn-primary:hover { background: #0072ff; transform: scale(1.05); box-shadow: 0 5px 20px rgba(0, 114, 255, 0.6); }
.btn-outline { border: 2px solid white; color: white; padding: 12px 30px; border-radius: 30px; text-decoration: none; transition: 0.4s; }
.btn-outline:hover { background: white; color: #0f2027; }

/* ================= STATS ================= */
.stats-section { display: flex; justify-content: space-around; padding: 60px 20px; background: #f4f6f9; text-align: center; }
.stat h2 { font-size: 2.5rem; color: #4400ff; }
.stat p { margin-top: 10px; font-weight: 500; }

/* ================= SERVICIOS ================= */
.services-preview { padding: 60px 20px 100px; margin-top: -40px; position: relative; z-index: 2; text-align: center; border-radius: 40px 40px 0 0; }
.services-preview h2 { margin-bottom: 50px; font-size: 2.6rem; font-weight: 800; color: #1f2937; letter-spacing: 1px; }
.service-card { padding: 35px 30px; border-radius: 24px; position: relative; background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(14px); border: 1px solid rgba(2, 92, 201, 0.25); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06); transition: all 0.35s ease; height: 100%; }
.service-card:hover { transform: translateY(-8px); border: 1px solid rgba(2, 92, 201, 0.35); box-shadow: 0 18px 40px rgba(2, 92, 201, 0.12); background: rgba(255, 255, 255, 0.92); }
.service-icon { width: 70px; height: 70px; margin: 0 auto 20px auto; display: flex; align-items: center; justify-content: center; border-radius: 18px; background: linear-gradient(135deg, #e0ecff, #f4f8ff); }
.service-card i { font-size: 32px; color: #083d7e; transition: 0.3s ease; }
.service-card:hover i { transform: scale(1.08); color: #eef1f5; }
.service-card h5 { font-weight: 700; margin-bottom: 15px; color: #1f2937; font-size: 1.15rem; }
.service-card p { color: #4b5563; font-size: 0.95rem; line-height: 1.6; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.service-card { animation: fadeInUp 0.8s ease forwards; }
@media (max-width: 768px) { .services-preview h2 { font-size: 2rem; } }

/* PROCESS */
.process-container { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.step span { display: inline-block; width: 50px; height: 50px; background: #0d325e; color: white; border-radius: 50%; line-height: 50px; font-weight: bold; margin-bottom: 10px; }

/* Brands Slider sutil */
.brands-slider { display: flex; justify-content: center; align-items: center; gap: 60px; opacity: 0.6; flex-wrap: wrap; }
.brand-item i { font-size: 3rem; transition: 0.3s; }
.brand-item:hover { opacity: 1; color: var(--accent); }
.hero-title-shimmer { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.1; text-align: center; display: inline-block; margin: 0 auto; background: linear-gradient(to right, #ffffff 0%, #ffffff 40%, #00c6ff 50%, #0072ff 60%, #ffffff 70%, #ffffff 100%); background-size: 300% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent !important; color: transparent !important; background-clip: text; animation: shine-effect 4s linear infinite; filter: drop-shadow(0 0 10px rgba(0, 114, 255, 0.2)); }
@keyframes shine-effect { 0% { background-position: 300% center; } 100% { background-position: -300% center; } }

/* ================================= */
/* ===== NX PRODUCTS PREMIUM ======= */
/* ================================= */
.nx-products-section { padding: 120px 0; background: linear-gradient(135deg, #f8fafc, #eef2f7); }
.nx-badge { display: inline-block; padding: 6px 18px; background: #111827; color: #fff; font-size: 0.75rem; letter-spacing: 2px; border-radius: 50px; margin-bottom: 15px; }
.nx-header h2 { font-weight: 700; font-size: 2.5rem; }
.nx-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.nx-card { background: #fff; border-radius: 24px; overflow: hidden; transition: all 0.4s ease; box-shadow: 0 20px 40px rgba(0,0,0,0.05); position: relative; }
.nx-card:hover { transform: translateY(-12px); box-shadow: 0 30px 60px rgba(0,0,0,0.1); }
.nx-img-box { position: relative; overflow: hidden; }
.nx-img-box img { width: 100%; height: 280px; object-fit: cover; transition: 0.6s ease; }
.nx-card:hover .nx-img-box img { transform: scale(1.08); }
.nx-tag { position: absolute; top: 15px; left: 15px; background: #2563eb; color: #fff; padding: 5px 14px; font-size: 0.75rem; border-radius: 20px; }
.nx-content { padding: 30px; }
.nx-content h5 { font-weight: 600; margin-bottom: 10px; }
.nx-price { font-size: 1.6rem; font-weight: 700; color: #111827; margin-bottom: 20px; }
.nx-actions { display: flex; gap: 15px; }
.nx-btn-outline { border: 1px solid #ddd; background: transparent; border-radius: 12px; padding: 10px 14px; transition: 0.3s; }
.nx-btn-outline:hover { background: #f3f4f6; }
.nx-btn-main { flex: 1; background: #111827; color: #fff; border: none; border-radius: 12px; padding: 10px; font-weight: 500; transition: 0.3s ease; }
.nx-btn-main:hover { background: #1f2937; transform: scale(1.03); }
.nx-grid { display: grid; gap: 30px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1200px) { .nx-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 992px) { .nx-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .nx-grid { grid-template-columns: 1fr; } }

/* ====================================================== */
/* ===========  LOGIN / AUTH / ADMIN (INFOLINK) ========= */
/* ====================================================== */
.auth-wrapper { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0F172A 0%, #1d4ed8 100%); padding: 40px 16px; }
.auth-card { width: 100%; max-width: 420px; background: #fff; border-radius: 24px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25); overflow: hidden; }
.auth-card-header { background: #0F172A; text-align: center; padding: 32px 24px 24px; }
.auth-card-header img { height: 64px; width: auto; margin-bottom: 8px; }
.auth-card-header h1 { color: #fff; font-size: 1.4rem; font-weight: 700; margin: 0; letter-spacing: 1px; }
.auth-card-header p { color: #93c5fd; font-size: 0.85rem; margin: 4px 0 0; }
.auth-card-body { padding: 32px 32px 36px; }
.auth-card-body label { font-size: 0.8rem; font-weight: 600; color: #1e293b; margin-bottom: 6px; display: block; }
.auth-input { width: 100%; padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 12px; margin-bottom: 18px; font-size: 0.95rem; transition: all 0.25s ease; }
.auth-input:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15); }
.auth-btn { width: 100%; background: #2563eb; color: #fff; border: none; padding: 13px; border-radius: 12px; font-weight: 600; font-size: 1rem; cursor: pointer; transition: all 0.25s ease; }
.auth-btn:hover { background: #1d4ed8; transform: translateY(-2px); }
.auth-error { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; padding: 10px 14px; border-radius: 10px; font-size: 0.85rem; margin-bottom: 18px; display: none; }
.auth-hint { margin-top: 22px; padding: 14px; background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 12px; font-size: 0.78rem; color: #64748b; line-height: 1.6; }
.auth-hint strong { color: #1e293b; }
.auth-back { display: block; text-align: center; margin-top: 18px; color: #2563eb; text-decoration: none; font-size: 0.85rem; }
.auth-back:hover { text-decoration: underline; }
.nav-user-box { display: flex; align-items: center; gap: 10px; color: #fff; }
.nav-user-box .nav-user-name { font-size: 0.85rem; font-weight: 600; color: #fff; }
.nav-user-box .nav-role-badge { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1px; background: #2563eb; color: #fff; padding: 2px 10px; border-radius: 50px; }
.nav-role-badge.admin { background: #f59e0b; }
.btn-logout { background: transparent; border: 1px solid #2563eb; color: #fff !important; padding: 5px 14px; border-radius: 50px; font-size: 0.8rem; cursor: pointer; transition: all 0.25s ease; }
.btn-logout:hover { background: #2563eb; }
.nx-estado { position: absolute; top: 15px; right: 15px; padding: 4px 12px; font-size: 0.7rem; font-weight: 600; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; z-index: 2; }
.nx-estado.disponible { background: #16a34a; color: #fff; }
.nx-estado.agotado { background: #dc2626; color: #fff; }
.nx-estado.baja { background: #6b7280; color: #fff; }
.nx-card.estado-agotado .nx-img-box img, .nx-card.estado-baja .nx-img-box img { filter: grayscale(0.8); opacity: 0.65; }
.nx-precio { font-size: 1.3rem; font-weight: 700; color: #0F172A; margin: 6px 0 14px; }
.nx-admin-actions { display: flex; gap: 10px; margin-top: 12px; }
.nx-admin-actions button { flex: 1; border: none; border-radius: 10px; padding: 9px; font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: all 0.2s ease; }
.btn-editar { background: #2563eb; color: #fff; }
.btn-editar:hover { background: #1d4ed8; }
.btn-eliminar { background: #fee2e2; color: #b91c1c; }
.btn-eliminar:hover { background: #dc2626; color: #fff; }
.admin-bar { display: flex; justify-content: center; margin-bottom: 30px; }
.btn-agregar { background: #16a34a; color: #fff; border: none; padding: 12px 28px; border-radius: 50px; font-weight: 600; cursor: pointer; transition: all 0.25s ease; }
.btn-agregar:hover { background: #15803d; transform: translateY(-2px); }

/* ====================================================== */
/* =================== PANEL ADMIN ====================== */
/* ====================================================== */
.admin-section { padding: 120px 0 80px; background: linear-gradient(135deg, #f8fafc, #eef2f7); min-height: 100vh; }
.admin-panel { background: #fff; border-radius: 20px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06); overflow: hidden; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid #eef2f7; font-size: 0.88rem; vertical-align: middle; }
.admin-table th { background: #0F172A; color: #fff; font-weight: 600; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 1px; }
.admin-table tr:hover td { background: #f8fafc; }
.admin-table img { width: 54px; height: 54px; object-fit: cover; border-radius: 10px; }
.badge-estado { padding: 3px 12px; border-radius: 50px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; }
.badge-estado.disponible { background: #dcfce7; color: #16a34a; }
.badge-estado.agotado { background: #fee2e2; color: #b91c1c; }
.badge-estado.baja { background: #f1f5f9; color: #475569; }
.admin-modal { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.6); display: none; align-items: center; justify-content: center; z-index: 10000; padding: 20px; }
.admin-modal.open { display: flex; }
.admin-modal-content { background: #fff; border-radius: 20px; width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto; padding: 32px; }
.admin-modal-content h3 { font-weight: 700; margin-bottom: 22px; }
.admin-modal-content label { font-size: 0.8rem; font-weight: 600; display: block; margin-bottom: 6px; }
.admin-modal-content input, .admin-modal-content textarea, .admin-modal-content select { width: 100%; padding: 11px 13px; border: 1px solid #e2e8f0; border-radius: 10px; margin-bottom: 16px; font-size: 0.9rem; }
.admin-modal-content input:focus, .admin-modal-content textarea:focus, .admin-modal-content select:focus { outline: none; border-color: #2563eb; }
.admin-modal-actions { display: flex; gap: 12px; margin-top: 8px; }
.admin-modal-actions button { flex: 1; border: none; padding: 12px; border-radius: 10px; font-weight: 600; cursor: pointer; }
.btn-guardar { background: #2563eb; color: #fff; }
.btn-guardar:hover { background: #1d4ed8; }
.btn-cancelar { background: #f1f5f9; color: #475569; }
.btn-cancelar:hover { background: #e2e8f0; }
.admin-alert { padding: 12px 18px; border-radius: 10px; margin-bottom: 20px; font-size: 0.88rem; display: none; }
.admin-alert.ok { background: #dcfce7; color: #16a34a; display: block; }
.admin-alert.err { background: #fee2e2; color: #b91c1c; display: block; }

/* ============================================= */
/* ===========  CARRITO DE COMPRAS  ============ */
/* ============================================= */
.cart-link { position: relative; display: inline-flex; align-items: center; }
.cart-link .cart-count { position: absolute; top: -2px; right: -10px; font-size: 0.65rem; font-weight: 700; min-width: 18px; height: 18px; line-height: 12px; padding: 3px 5px; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); }
.nx-btn-main:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }
.nx-btn-main.added { background: #16a34a !important; }
.cart-toast { position: fixed; bottom: 28px; right: 28px; background: #0F172A; color: #fff; padding: 14px 22px; border-radius: 12px; font-weight: 600; font-size: 0.92rem; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25); display: flex; align-items: center; z-index: 11000; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity 0.3s ease, transform 0.3s ease; }
.cart-toast.show { opacity: 1; transform: translateY(0); }
.cart-toast i { color: #4ade80; }
.cart-page { padding: 140px 0 80px; min-height: 70vh; }
.cart-item { display: grid; grid-template-columns: 90px 1fr auto auto auto; align-items: center; gap: 18px; background: #fff; border: 1px solid #eef1f6; border-radius: 16px; padding: 16px 18px; margin-bottom: 16px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04); transition: box-shadow 0.3s ease; }
.cart-item:hover { box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08); }
.cart-item-img { width: 90px; height: 90px; object-fit: cover; border-radius: 12px; }
.cart-item-info { min-width: 0; }
.cart-item-name { font-weight: 700; color: #0F172A; margin: 0 0 4px; font-size: 0.98rem; }
.cart-item-price { color: #64748b; font-size: 0.85rem; }
.cart-qty { display: inline-flex; align-items: center; gap: 10px; background: #f1f5f9; border-radius: 10px; padding: 6px 8px; }
.cart-qty-btn { border: none; background: #fff; color: #2563eb; width: 30px; height: 30px; border-radius: 8px; cursor: pointer; font-size: 0.8rem; transition: all 0.2s ease; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
.cart-qty-btn:hover { background: #2563eb; color: #fff; }
.cart-qty-num { min-width: 24px; text-align: center; font-weight: 700; color: #0F172A; }
.cart-item-subtotal { font-weight: 800; color: #0F172A; font-size: 1.05rem; min-width: 95px; text-align: right; }
.cart-item-remove { border: none; background: #fee2e2; color: #dc2626; width: 40px; height: 40px; border-radius: 10px; cursor: pointer; transition: all 0.2s ease; }
.cart-item-remove:hover { background: #dc2626; color: #fff; }
.cart-summary { background: #fff; border: 1px solid #eef1f6; border-radius: 18px; padding: 26px; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06); position: sticky; top: 110px; }
.cart-summary-title { font-weight: 800; color: #0F172A; margin-bottom: 20px; }
.cart-summary-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; color: #475569; border-bottom: 1px solid #f1f5f9; }
.cart-summary-row.total { border-bottom: none; border-top: 2px solid #e2e8f0; margin-top: 8px; padding-top: 16px; font-size: 1.25rem; font-weight: 800; color: #0F172A; }
.btn-checkout, .btn-vaciar, .btn-seguir { display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; padding: 13px; font-weight: 700; margin-top: 14px; border: none; cursor: pointer; transition: all 0.25s ease; text-decoration: none; }
.btn-checkout { background: #2563eb; color: #fff; }
.btn-checkout:hover { background: #1d4ed8; transform: translateY(-2px); }
.btn-vaciar { background: #fff; color: #dc2626; border: 1px solid #fecaca; margin-top: 10px; }
.btn-vaciar:hover { background: #dc2626; color: #fff; }
.btn-seguir { background: transparent; color: #475569; margin-top: 10px; }
.btn-seguir:hover { color: #0F172A; }
.cart-empty { padding: 50px 20px 60px; }
.cart-empty-icon { font-size: 4.5rem; color: #cbd5e1; }
.btn-ver-productos { display: inline-flex; align-items: center; margin-top: 14px; background: #2563eb; color: #fff; padding: 12px 26px; border-radius: 12px; font-weight: 700; text-decoration: none; transition: all 0.25s ease; }
.btn-ver-productos:hover { background: #1d4ed8; transform: translateY(-2px); color: #fff; }
@media (max-width: 575.98px) { .cart-item { grid-template-columns: 70px 1fr auto; grid-template-areas: "img info remove" "img qty subtotal"; gap: 10px 12px; } .cart-item-img { width: 70px; height: 70px; grid-area: img; } .cart-item-info { grid-area: info; } .cart-item-remove { grid-area: remove; } .cart-qty { grid-area: qty; } .cart-item-subtotal { grid-area: subtotal; text-align: right; } }

/* ================= WHASTAPP FLOTANTE ================= */
.whatsapp-flotante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-flotante:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
}