:root {
    /* --- PALETA CORPORATIVA QRIDEN --- */
    --qriden-primary: #0069B4;     /* Azul Institucional */
    --qriden-secondary: #EF7D00;   /* Naranja de Acento / Alertas */
    
    /* --- COLORES DE APOYO (NEUTROS Y FONDOS) --- */
    --qriden-dark: #0f172a;        /* Texto principal / Fondos oscuros */
    --qriden-light: #f8fafc;       /* Fondos claros */
    --qriden-gris: #333;           /* Gris Oscuro */
    --qriden-border: #cbd5e1;      /* Bordes estándar */
    --qriden-white: #ffffff;       /* Blanco puro */
}

/* ====== ESTILOS GENERALES (BASE MÓVIL) ====== */
body { margin: 0; font-family: 'Segoe UI', Arial, sans-serif; background: #f7f9fc; color: var(--qriden-gris); overflow-x: hidden; scroll-behavior: smooth; }
a { text-decoration: none; }

/* ====== ENCABEZADO Y NAVEGACIÓN (MOBILE-FIRST) ====== */
header { background: #fff; padding: 15px 20px; box-shadow: 0 2px 6px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.header-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; position: relative; }
.logo { max-width: 250px; height: auto; margin-right: 20px; }

/* El botón de 3 rayas */
.menu-toggle { display: flex; flex-direction: column; justify-content: space-between; width: 25px; height: 18px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1001; }
.menu-toggle span { width: 100%; height: 3px; background-color: #005fa3; border-radius: 3px; transition: all .3s ease; }

/* Estilos de animación para transformar las rayas en una "X" cuando esté activo */
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Menú oculto por defecto en móvil (Desplegable vertical) */
.nav-menu { display: none; flex-direction: column; background: #fff; text-align: center; position: absolute; top: 100%; left: 40px; width: calc(100% + 40px); box-shadow: 0 4px 6px rgba(0,0,0,.05); padding: 10px 0; z-index: 999; }
.nav-menu.show { display: flex; }
.nav-menu a { color: #005fa3; font-weight: 600; padding: 15px 20px; width: 100%; box-sizing: border-box; border-right: 1px solid var(--qriden-border); }
.nav-menu a:last-child { border-bottom: none; }
.btn-cta-nav { display: none; background: var(--qriden-secondary); color: var(--qriden-white); padding: 8px 16px; border-radius: 6px; font-weight: bold; font-size: .9rem; }


/* ==========================================================
   INTRO / HERO
   ========================================================== */
.intro { text-align: center; background: linear-gradient(90deg, #0077cc, #005fa3); padding: 40px 15px; color: white; }
.intro h1 { margin: 0 auto 15px; font-size: 1.7rem; max-width: 800px; }
.intro .subtitle { font-size: 1rem; margin-bottom: 25px; opacity: 0.9; }
.btn-cta-principal { display: inline-block; background: #ff6600; color: #fff; padding: 12px 24px; border-radius: 8px; font-weight: bold; font-size: 1rem; box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4); transition: transform 0.2s, background 0.3s; width: 80%; max-width: 280px; }
.btn-cta-principal:hover { background: #e45500; transform: translateY(-2px); }


/* ==========================================================
   CARRUSEL PRINCIPAL (SEGMENTOS)
   ========================================================== */
.carousel { position: relative; width: 100%; overflow: hidden; background: #fff; }
.slides { display: flex; }
.slide { min-width: 100%; text-align: center; display: none; }
.slide.active { display: block; }
.slide img { width: 100%; height: auto; max-height: 250px; object-fit: cover; }
.caption { background: rgba(0, 95, 163, 0.9); color: #fff; padding: 12px; font-weight: bold; margin: 0; }


/* ==========================================================
   SOBRE QRIDEN / PROPUESTA DE VALOR
   ========================================================== */
.about { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 15px; background: #fff; max-width: 1200px; margin: 0 auto; text-align: center; }
.about .imagen { width: 100%; max-width: 500px; margin-bottom: 20px; }
.about img { width: 100%; border-radius: 15px; box-shadow: 0 6px 12px rgba(0,0,0,0.1); }
.about .text { width: 100%; max-width: 600px; }
.about h2 { color: #005fa3; font-size: 1.8rem; margin-top: 0; }
.about p { line-height: 1.6; font-size: 1rem; color: #555; }
.highlight-box { background: #eaf2fb; border-left: 5px solid #0077cc; padding: 15px; border-radius: 0 8px 8px 0; margin-top: 20px; display: flex; gap: 15px; align-items: flex-start; text-align: left; }
.highlight-box i { color: #0077cc; font-size: 1.5rem; margin-top: 3px; }
.highlight-box span { font-size: 0.95rem; line-height: 1.5; }


/* ==========================================================
   CÓMO FUNCIONA PASO A PASO
   ========================================================== */
.steps-section { background: #f0f4f8; padding: 40px 15px; text-align: center; }
.steps-section h2 { color: #005fa3; margin-bottom: 30px; font-size: 1.8rem; }
.steps-grid { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 1200px; margin: 0 auto; }
.step-card { background: #fff; padding: 30px 20px; border-radius: 16px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); width: 100%; box-sizing: border-box; max-width: 350px; position: relative; border: 1px solid rgba(0, 95, 163, 0.05); }
.step-number { background: #0077cc; color: white; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.1rem; margin: 0 auto 15px; box-shadow: 0 4px 10px rgba(0, 119, 204, 0.2); }
.step-card h3 { color: #1e293b; font-size: 1.2rem; margin-bottom: 10px; }
.step-card p { font-size: 0.95rem; color: #64748b; line-height: 1.6; margin: 0; }


/* ==========================================================
   MOCKUP
   ========================================================== */
.qriden-visual-section { padding: 60px 20px; background: #f8fafc; text-align: center; }
.qriden-visual-section h2 { font-size: 28px; color: #1e293b; margin-bottom: 10px; }
.qriden-visual-section .subtitle { color: #64748b; margin-bottom: 40px; font-size: 16px; }
.visual-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 1000px; margin: 0 auto; }
.visual-card { background: #ffffff; padding: 20px; border-radius: 20px; border: 1px solid #e2e8f0; box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
.visual-card video, .visual-card img { width: 100%; border-radius: 12px; object-fit: cover; max-height: 450px; }
.visual-card h3 { font-size: 18px; color: #0f172a; margin-top: 15px; margin-bottom: 8px; }
.visual-card p { font-size: 14px; color: #475569; line-height: 1.5; }


/* ==========================================================
   CARRUSEL INFINITO DE IMÁGENES
   ========================================================== */
.carrusel-wrapper { overflow: hidden; background: #fff; padding: 20px 0; white-space: nowrap; }
.carrusel { display: inline-flex; animation: scrollInfinito 25s linear infinite; }
.carrusel-item { width: 160px; height: 110px; margin: 0 8px; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 8px rgba(0,0,0,0.05); }
.carrusel-item img { width: 100%; height: 100%; object-fit: cover; }
@keyframes scrollInfinito {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ==========================================================
   SECCIÓN BONOS DE GRANDES MARCAS
   ========================================================== */
.brands-section { padding: 80px 20px; background: #ffffff; }
.brands-container { max-width: 1150px; margin: 0 auto; }
.brands-header { text-align: center; margin-bottom: 40px; }
.category-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.filter-btn { background: #f1f5f9; border: 1px solid #cbd5e1; color: #475569; padding: 8px 18px; border-radius: 20px; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: all 0.25s ease; }
.filter-btn:hover, .filter-btn.active { background: #10b981; color: #ffffff; border-color: #10b981; box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25); }
.brands-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 25px; margin-bottom: 50px; }
.brand-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 24px; position: relative; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.brand-card:hover { transform: translateY(-5px); box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08); border-color: rgba(16, 185, 129, 0.4); }
.brand-badge { position: absolute; top: 15px; right: 15px; background: #10b981; color: #ffffff; font-size: 0.75rem; font-weight: 800; padding: 4px 10px; border-radius: 20px; }
.brand-logo-wrapper { width: 55px; height: 55px; background: rgba(16, 185, 129, 0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; overflow: hidden; }
.brand-logo-wrapper .btn-icon-img { width: 80%; height: 80%; object-fit: contain; display: block; }
.brand-icon { font-size: 2rem; color: #10b981; }
.brand-cat { font-size: 0.75rem; text-transform: uppercase; color: #64748b; font-weight: 700; letter-spacing: 0.5px; }
.brand-content h3 { font-size: 1.15rem; color: #0f172a; margin: 5px 0; }
.brand-content p { font-size: 0.88rem; color: #64748b; line-height: 1.4; margin-bottom: 20px; }
.btn-claim-gift { width: 100%; padding: 10px; background: #0f172a; color: #ffffff; border: none; border-radius: 8px; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: background 0.2s ease; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: auto; }
.btn-claim-gift:hover { background: #10b981; }


/* ==========================================================
   BONO 5 ESTRELLAS
   ========================================================== */
.bono-estrellas-section { padding: 20px 20px; background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); display: flex; justify-content: center; align-items: center; }
.bono-container { max-width: 1100px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: #ffffff; padding: 50px; border-radius: 30px; box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06); border: 1px solid rgba(226, 232, 240, 0.8); }
.badge-dinamico { display: inline-block; background: #e0f2fe; color: #0369a1; font-size: 30px; font-weight: 700; padding: 6px 14px; border-radius: 20px; margin-bottom: 15px; letter-spacing: 0.5px; text-transform: uppercase; text-align: center; }
.bono-text-content h2 { font-size: 28px; color: #0f172a; line-height: 1.3; margin-bottom: 15px; }
.bono-text-content p { font-size: 16px; color: #475569; line-height: 1.6; margin-bottom: 25px; }
.bono-steps { list-style: none; padding: 0; margin: 0; }
.bono-steps li { display: flex; align-items: center; font-size: 15px; color: #334155; margin-bottom: 12px; font-weight: 500; }
.bono-steps li span { background: #0ea5e9; color: #ffffff; width: 28px; height: 28px; display: flex; justify-content: center; align-items: center; border-radius: 50%; font-weight: bold; font-size: 14px; margin-right: 12px; flex-shrink: 0; }
.bono-image-content { display: flex; justify-content: center; align-items: center; width: 100%; }
.bono-img-wrapper { width: 100%; max-width: 420px; display: flex; justify-content: center; }
.bono-img { width: 100%; max-width: 100%; height: auto; object-fit: contain; border-radius: 20px; animation: flotarConstante 4s ease-in-out infinite; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease; }
.bono-img:hover { transform: scale(1.05) translateY(-5px); box-shadow: 0 20px 30px rgba(14, 165, 233, 0.2); }
@keyframes flotarConstante {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}


/* ==========================================================
   BANNER INFERIOR
   ========================================================== */
.brands-footer-banner { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); border-radius: 16px; padding: 25px 30px; display: flex; justify-content: space-between; align-items: center; color: #ffffff; }
.banner-info { display: flex; align-items: center; gap: 20px; }
.banner-icon { font-size: 2.2rem; color: #f59e0b; }
.banner-info h4 { margin: 0 0 4px 0; font-size: 1.1rem; }
.banner-info p { margin: 0; font-size: 0.9rem; color: #cbd5e1; }
.btn-banner-afiliarse { background: #10b981; color: #ffffff; padding: 12px 24px; border-radius: 10px; text-decoration: none; font-weight: 700; white-space: nowrap; transition: transform 0.2s ease; }
.btn-banner-afiliarse:hover { transform: scale(1.05); }

.brand-modal { max-width: 420px; }
.gift-modal-icon { font-size: 2.5rem; color: #10b981; margin-bottom: 10px; }
.coupon-code-box { background: #f1f5f9; border: 2px dashed #10b981; color: #0f172a; font-size: 1.4rem; font-weight: 800; padding: 12px; border-radius: 8px; margin: 10px 0; letter-spacing: 2px; }
.btn-claim-gift { display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn-icon-img { width: 18px; height: 18px; object-fit: contain; }

/* ====== SECCIÓN DATOS DE INTERÉS / RESPALDO ====== */
.data-interest-section { background: #ffffff; padding: 20px 20px; }
.data-container { max-width: 1100px; margin: 0 auto; text-align: center; }
.section-tag { display: inline-block; background: #eaf2fb; color: #0077cc; padding: 6px 16px; border-radius: 20px; font-size: 30px; font-weight: 700; text-transform: uppercase; margin-bottom: 15px; letter-spacing: 0.5px; }
.data-interest-section h2 { color: #005fa3; font-size: 2.2rem; margin: 0 auto 15px; max-width: 700px; line-height: 1.2; }
.section-lead { font-size: 1.1rem; color: #555; max-width: 800px; margin: 0 auto 50px; line-height: 1.6; }
.data-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; text-align: left; margin-bottom: 40px; }
.data-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; padding: 30px; transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; height: 100%; box-sizing: border-box; }
.data-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 95, 163, 0.05); border-color: #cbd5e1; }
.data-icon-wrapper { width: 50px; height: 50px; background: #0077cc; color: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 20px; }
.data-source { display: block; font-size: 0.8rem; font-weight: 700; color: #ff6600; text-transform: uppercase; margin-bottom: 8px; letter-spacing: 0.5px; }
.data-card h3 { color: #1e293b; font-size: 1.25rem; margin: 0 0 12px 0; line-height: 1.3; }
.data-card p { color: #475569; font-size: 0.95rem; line-height: 1.6; margin: 0; }
.data-action { margin-top: 40px; font-weight: 600; color: #005fa3; font-size: 35px; }


/* ==========================================================
   SECCIÓN ALIANZAS COMERCIALES
   ========================================================== */
.alliances-section { padding: 40px 15px; text-align: center; }
.alliances-container { max-width: 900px; margin: 0 auto; }
.alliances-section h2 { color: #005fa3; font-size: 1.8rem; margin-top: 0; margin-bottom: 15px; }
.alliances-section p { line-height: 1.6; color: #555; font-size: 1rem; margin-bottom: 25px; }
.alliances-badges { display: flex; flex-direction: column; gap: 12px; margin: 0 auto 30px; max-width: 320px; }
.badge-item { background: #f0f4f8; border: 1px solid #d0e0f0; color: #005fa3; padding: 14px 20px; border-radius: 30px; font-weight: 600; font-size: 0.95rem; display: flex; align-items: center; gap: 10px; justify-content: flex-start; }
.badge-item i { color: #ff6600; }
.btn-aliados { display: inline-block; background: transparent; color: #005fa3; border: 2px solid #005fa3; padding: 12px 24px; border-radius: 8px; font-weight: bold; font-size: 1rem; transition: all 0.3s ease; width: 80%; max-width: 280px; }
.btn-aliados:hover { background: #005fa3; color: #fff; }


/* ==========================================================
   SECCIÓN DE PRECIOS Y PASARELA
   ========================================================== */
.pricing-section { padding: 40px 15px; text-align: center; background: #f7f9fc; }
.pricing-section h2 { color: #005fa3; font-size: 1.8rem; margin-bottom: 5px; }
.section-subtitle { color: #666; margin-bottom: 30px; font-size: 0.95rem; }
.pricing-container { display: flex; flex-direction: column; align-items: center; gap: 25px; max-width: 900px; margin: 0 auto; }
.price-card { background: #fff; border-radius: 16px; padding: 30px 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); width: 100%; box-sizing: border-box; max-width: 350px; display: flex; flex-direction: column; border: 2px solid transparent; position: relative; }
.price-card h3 { margin: 0 0 15px; font-size: 1.3rem; color: #333; }
.price-card .price { font-size: 2.2rem; font-weight: 800; color: #005fa3; }
.price-detail { font-size: 0.9rem; color: #888; margin: 5px 0 20px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 25px; text-align: left; }
.price-card ul li { margin-bottom: 12px; font-size: 0.9rem; color: #555; display: flex; align-items: center; gap: 10px; }
.price-card ul li i { color: #28a745; }
.btn-checkout { width: 100%; background: #0077cc; color: white; border: none; padding: 12px; border-radius: 8px; font-size: 1rem; font-weight: bold; cursor: pointer; transition: background 0.3s; }


/* ==========================================================
   ESTILOS DE LA PASARELA Y FLUJO POST-PAGO QRIDEN
   ========================================================== */
.qriden-payment-options { margin-top: 15px; display: flex; flex-direction: column; gap: 10px; }
.btn-pay-option { width: 100%; background: #0077cc; color: white; border: none; padding: 12px; border-radius: 8px; font-size: 0.95rem; font-weight: bold; cursor: pointer; transition: background 0.3s, transform 0.2s; }
.btn-pay-option:hover { background: #005fa3; transform: translateY(-2px); }
.btn-pay-option.bold-btn { background: #ff6600; }
.btn-pay-option.bold-btn:hover { background: #e45500; }
.qriden-post-pago-container { max-width: 500px; margin: 30px auto 0 auto; padding: 25px; border: 2px dashed #0077cc; background: #ffffff; border-radius: 12px; text-align: left; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.instruccion-pantallazo { background-color: #fff3cd; color: #856404; padding: 15px; border-radius: 6px; margin-bottom: 20px; text-align: center; border: 1px solid #ffeeba; }
.instruccion-pantallazo h2 { font-size: 1.3rem; color: #856404; margin: 0 0 5px 0; }
.botones-opcion { display: flex; gap: 12px; margin: 15px 0; }
.btn-opcion { flex: 1; padding: 12px; cursor: pointer; background-color: #f8fafc; border: 2px solid #cbd5e1; border-radius: 6px; font-weight: bold; color: #1e293b; transition: all 0.2s; }
.btn-opcion:hover { background-color: #e2e8f0; border-color: #94a3b8; }
.alerta-exito { background-color: #d4edda; color: #155724; padding: 15px; border-radius: 6px; border: 1px solid #c3e6cb; margin-top: 15px; }
.grupo-campo { margin-bottom: 14px; display: flex; flex-direction: column; }
.grupo-campo label { margin-bottom: 6px; font-weight: 600; color: #333; font-size: 0.9rem; }
.grupo-campo input { padding: 10px; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 0.95rem; outline: none; }
.grupo-campo input:focus { border-color: #0077cc; }
.btn-enviar-datos, .btn-finalizar { background-color: #28a745; color: white; border: none; padding: 12px; border-radius: 6px; cursor: pointer; width: 100%; font-size: 1rem; font-weight: bold; margin-top: 10px; transition: background 0.2s; }
.btn-enviar-datos:hover, .btn-finalizar:hover { background-color: #218838; }
.nota { font-size: 0.85rem; color: #64748b; margin-top: -5px; margin-bottom: 15px; }


/* ==========================================================
   ACORDEÓN DE PREGUNTAS FRECUENTES (FAQ)
   ========================================================== */
.faq-section { background: #fff; padding: 40px 15px; }
.faq-section h2 { text-align: center; color: #005fa3; margin-bottom: 30px; font-size: 1.8rem; }
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item { border-bottom: 1px solid #e1e8ed; }
.accordion-header { width: 100%; background: none; border: none; padding: 15px 5px; text-align: left; font-size: 1rem; font-weight: 600; color: #333; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.accordion-header i { font-size: 0.85rem; transition: transform 0.3s; }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.accordion-body p { padding: 0 5px 15px; margin: 0; color: #666; line-height: 1.6; font-size: 0.9rem; }
.accordion-item.active .accordion-header { color: #0077cc; }
.accordion-item.active .accordion-header i { transform: rotate(180deg); }
.accordion-item.active .accordion-body { max-height: 300px; }


/* ==========================================================
   SECCIÓN CONTACTO
   ========================================================== */
.contact-section { background: linear-gradient(180deg, #fff, #f0f4f8); padding: 40px 15px; }
.contact-container { max-width: 950px; margin: 0 auto; }
.contact-section h2 { text-align: center; color: #005fa3; font-size: 1.8rem; margin-top: 0; margin-bottom: 10px; }
.contact-subtitle { text-align: center; color: #666; max-width: 600px; margin: 0 auto 30px; font-size: 0.95rem; line-height: 1.5; }
.contact-grid { display: flex; flex-direction: column; gap: 25px; }
.contact-channels { display: flex; flex-direction: column; gap: 15px; }
.channel-card { background: #fff; padding: 16px; border-radius: 12px; display: flex; align-items: center; gap: 15px; box-shadow: 0 4px 12px rgba(0,0,0,0.03); position: relative; }
.channel-icon { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.whatsapp .channel-icon { background: #e8f7ee; color: #25d366; }
.email .channel-icon { background: #eaf2fb; color: #0077cc; }
.channel-info h3 { margin: 0 0 4px 0; font-size: 1rem; color: #333; }
.channel-info p { margin: 0; font-size: 0.85rem; color: #777; }
.arrow-mobile { position: absolute; right: 15px; color: #bbb; font-size: 0.85rem; }
.contact-form-container { background: #fff; padding: 20px; border-radius: 16px; box-shadow: 0 4px 15px rgba(0,0,0,0.04); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.input-group { position: relative; width: 100%; }
.input-group input, .input-group textarea { width: 100%; padding: 12px 0px; font-size: 1rem; color: #333; border: none; border-bottom: 2px solid #cbd5e1; outline: none; background: transparent; box-sizing: border-box; font-family: inherit; }
.input-group textarea { resize: none; }
.input-group label { position: absolute; top: 12px; left: 0; color: #777; font-size: 1rem; pointer-events: none; transition: 0.3s ease all; }
.input-group input:focus ~ label, .input-group input:not(:placeholder-shown) ~ label, .input-group textarea:focus ~ label, .input-group textarea:not(:placeholder-shown) ~ label { top: -12px; font-size: 0.8rem; color: #0077cc; font-weight: 600; }
.input-group input:focus, .input-group textarea:focus { border-bottom-color: #0077cc; }
.btn-submit-contact { background: #0077cc; color: white; border: none; padding: 14px; border-radius: 8px; font-size: 1rem; font-weight: bold; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; }


/* ==========================================================
   PIE DE PÁGINA (FOOTER)
   ========================================================== */
footer { background: #005fa3; padding: 30px 20px; text-align: center; color: #fff; }
.social-buttons { display: flex; justify-content: center; gap: 20px; margin-bottom: 15px; }
.social { color: #fff; font-size: 18px; width: 36px; height: 36px; line-height: 36px; border-radius: 50%; background: #0077cc; }
.copyright { font-size: 0.85rem; opacity: 0.8; margin: 0; }


/* ==========================================================
   MODAL DE PAGO
   ========================================================== */
.modal-pago-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); display: flex; justify-content: center; align-items: center; z-index: 10000; }
.modal-pago-contenido { background: #ffffff; padding: 25px; border-radius: 12px; max-width: 400px; width: 90%; text-align: center; position: relative; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); }
.modal-pago-logo-container img { max-width: 120px; height: auto; margin-bottom: 15px; }
.cerrar-modal { position: absolute; top: 10px; right: 15px; font-size: 28px; cursor: pointer; color: #666; }
.btn-modal-entendido { margin-top: 20px; padding: 10px 20px; background-color: #008000; color: white; border: none; border-radius: 6px; font-weight: bold; cursor: pointer; width: 100%; }


/* ==========================================================
   BOTÓN FLOTANTE LATERAL DE SEGURIDAD (HOVER DERECHA A IZQUIERDA)
   ========================================================== */
.floating-lock-container {
    position: fixed;
    top: 50%;
    right: -134px; /* Oculto, solo sobresale el ícono del candado */
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    z-index: 9999;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-lock-container:hover,
.floating-lock-container.active-drawer {
    right: 0; /* Se desliza hacia la pantalla */
}

.lock-trigger-btn {
    background-color: var(--qriden-primary);
    color: var(--qriden-white);
    border: none;
    width: 45px;
    height: 55px;
    border-radius: 12px 0 0 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.15);
    transition: background-color 0.2s;
}

.lock-trigger-btn:hover {
    background-color: var(--qriden-secondary);
}

.lock-drawer {
    background: var(--qriden-white);
    padding: 10px;
    border-radius: 0 0 0 12px;
    box-shadow: -6px 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--qriden-border);
    border-right: none;
}

.btn-lock-action {
    background-color: var(--qriden-dark);
    color: var(--qriden-white);
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-lock-action:hover {
    background-color: var(--qriden-secondary);
}

.modal-bloqueo-box {
    max-width: 440px;
    text-align: left;
}

.qr-bloqueado-card {
    background: #f8fafc;
    border: 2px dashed var(--qriden-primary);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-top: 15px;
}


/* ==========================================================
   MEDIA QUERIES: ADAPTACIÓN EXCLUSIVA PARA ESCRITORIO (PC)
   ========================================================== */
@media (min-width: 768px) {
  header { padding: 15px 30px; }
  .logo { max-width: 240px; height: auto; }
  .menu-toggle { display: none; }
  .nav-menu { display: flex; flex-direction: row; align-items: center; justify-content: center; position: static; width: auto; box-shadow: none; padding: 0; gap: 12px; }
  .nav-menu a, .dropbtn { display: inline-flex; align-items: center; justify-content: center; text-align: center; padding: 8px 12px; border-bottom: none; width: auto; background: transparent; border: none; font-family: inherit; font-size: 0.92rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: color 0.3s ease; color: var(--qriden-primary); }
  .nav-menu a:hover, .dropbtn:hover { color: var(--qriden-secondary); }
  .dropdown { position: relative; display: flex; align-items: center; }
  .dropdown-content { display: none; position: absolute; top: 100%; right: 0; background-color: var(--qriden-white); min-width: 230px; box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.12); z-index: 1000; border-radius: 10px; overflow: hidden; border: 1px solid var(--qriden-border); padding: 6px 0; }
  .dropdown-content a { display: flex; align-items: center; justify-content: flex-start; color: var(--qriden-dark); padding: 10px 16px; font-size: 0.88rem; font-weight: 500; border-bottom: 1px solid #f1f5f9; width: 100%; box-sizing: border-box; transition: background 0.2s, color 0.2s; }
  .dropdown-content a:last-child { border-bottom: none; }
  .dropdown-content a:hover { background-color: var(--qriden-light); color: var(--qriden-primary); }
  .dropdown:hover .dropdown-content { display: block; }
  .btn-cta-nav { display: inline-flex; align-items: center; justify-content: center; background: var(--qriden-secondary); color: var(--qriden-white) !important; padding: 9px 18px; border-radius: 8px; font-weight: 700; font-size: 0.9rem; text-decoration: none; box-shadow: 0 4px 12px rgba(239, 125, 0, 0.25); transition: transform 0.2s, background 0.2s; }
  .btn-cta-nav:hover { background: #d87000; transform: translateY(-1px); }

  .header-container { flex-direction: row; gap: 0; }
  .logo { max-width: 200px; }
  .nav-scroll-wrapper { width: auto; overflow-x: visible; }
  header nav { gap: 20px; padding-bottom: 0; width: auto; }
  header nav a { font-size: 1rem; }
  
  .intro { padding: 60px 20px; }
  .intro h1 { font-size: 2.2rem; }
  .intro .subtitle { font-size: 1.1rem; }
  .btn-cta-principal { padding: 14px 28px; font-size: 1.1rem; width: auto; max-width: none; }
  
  .slide img { max-height: 400px; }
  
  .about { flex-direction: row; padding: 60px 20px; text-align: left; }
  .about .imagen { flex: 1; margin-bottom: 0; }
  .about .text { flex: 1; padding: 20px; }
  .about h2 { font-size: 2rem; }
  
  .steps-section h2 { font-size: 2rem; margin-bottom: 40px; }
  .steps-grid { flex-direction: row; justify-content: center; gap: 30px; }
  .step-card { flex: 1; padding: 40px 25px; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease; }
  .step-card:hover { transform: translateY(-8px); border-color: rgba(0, 119, 204, 0.2); box-shadow: 0 20px 35px rgba(0, 95, 163, 0.08), 0 4px 12px rgba(0, 0, 0, 0.02); }
  .step-number { width: 46px; height: 46px; font-size: 1.25rem; transition: background 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
  .step-card:hover .step-number { background: #ff6600; transform: scale(1.1) translateY(-5px); box-shadow: 0 6px 15px rgba(255, 102, 0, 0.3); }
  .step-card h3 { font-size: 1.3rem; transition: color 0.3s ease; }
  .step-card:hover h3 { color: #005fa3; }
  
  .carrusel-item { width: 200px; height: 130px; margin: 0 10px; }
  
  .alliances-section { padding: 60px 20px; }
  .alliances-section h2 { font-size: 2rem; }
  .alliances-badges { flex-direction: row; justify-content: center; max-width: none; gap: 15px; }
  .badge-item { min-width: 180px; justify-content: center; }
  .btn-aliados { width: auto; max-width: none; }
  
  .pricing-section h2 { font-size: 2rem; }
  .pricing-container { flex-direction: row; justify-content: center; align-items: stretch; }
  .price-card { flex: 1; padding: 40px 30px; }
  .price-card.featured { border-color: #0077cc; transform: scale(1.03); box-shadow: 0 10px 25px rgba(0, 119, 204, 0.15); }
  
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
  .channel-card { padding: 20px; }
  .channel-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
  .contact-form-container { padding: 30px; }
  .social:hover { background: #ff6600; transform: translateY(-3px); }
}