/* ==========================================================================
   VARIABLES Y ESTILOS BASE
   ========================================================================== */
:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --dark: #0f172a;
    --light-section: #f8fafc;
    --green: #10b981;
    --green-hover: #059669;
    --text-main: #334155;
    --border-color: #e2e8f0;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: var(--text-main);
    padding-top: 80px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--dark);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    position: relative;
    margin-bottom: 1rem;
}

/* ==========================================================================
   NAVBAR PREMIUM REESTRUCTURADA
   ========================================================================== */
/* ==========================================================================
   NAVBAR PREMIUM REESTRUCTURADA (MEJORADA)
   ========================================================================== */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    padding: 14px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}

/* Brand Logo Tech */
.navbar-brand {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--dark) !important;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.navbar-brand:hover {
    transform: translateY(-1px);
}

.brand-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.brand-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.brand-dot {
    color: var(--primary);
    font-size: 1.6rem;
    line-height: 0;
}

.brand-cloud-badge {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

/* Links de Navegación */
.navbar-nav .nav-item .nav-link {
    color: #475569 !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.navbar-nav .nav-item .nav-link:hover {
    color: var(--primary) !important;
    background-color: rgba(37, 99, 235, 0.04);
}

/* Menús Desplegables Profesionales (Card Style) */
.navbar .dropdown-menu {
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    padding: 12px;
    min-width: 330px;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
    animation: menuFadeIn 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #ffffff;
}

.navbar .dropdown-item {
    font-size: 0.9rem;
    color: #475569;
    font-weight: 500;
    padding: 10px 12px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.navbar .dropdown-item:hover {
    background-color: #f8fafc;
    color: var(--primary);
    transform: translateX(3px);
}

.dropdown-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.dropdown-icon-box.icon-blue {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.dropdown-icon-box.icon-green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--green);
}

.dropdown-icon-box.icon-purple {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.dropdown-icon-box.icon-cyan {
    background: rgba(6, 182, 212, 0.1);
    color: #0891b2;
}

/* Animación sutil de apertura para el menú dropdown */
@keyframes menuFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Botón Directo Factura en Barra */
.nav-btn-factura {
    background: rgba(245, 158, 11, 0.08) !important;
    color: #b45309 !important;
    border: 1px solid rgba(245, 158, 11, 0.2) !important;
    border-radius: 9999px !important;
    font-size: 0.85rem !important;
    padding: 6px 14px !important;
    margin-right: 8px;
    transition: all 0.2s ease !important;
    font-weight: 700 !important;
}

.nav-btn-factura:hover {
    background: rgba(245, 158, 11, 0.18) !important;
    color: #92400e !important;
    transform: translateY(-1px);
}

/* Botón de Contacto Destacado CTA */
.btn-nav-cta {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 9px 20px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transition: all 0.25s ease;
}

.btn-nav-cta:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
    color: #ffffff !important;
}

/* Ajustes Responsive */
@media (max-width: 991.98px) {
    .navbar-nav {
        padding-top: 15px;
    }
    .navbar-nav .nav-item {
        width: 100%;
        margin-bottom: 8px;
    }
    .btn-nav-cta {
        width: 100%;
        justify-content: center;
    }
    .nav-btn-factura {
        display: inline-block;
        margin-bottom: 8px;
    }
    .navbar .dropdown-menu {
        border: none;
        background: #f8fafc;
        padding-left: 10px;
        min-width: 100%;
    }
}
/* ==========================================================================
   HERO SECCIÓN Y CONFIGURACIÓN DE MÉTRICAS (GRID CORREGIDO)
   ========================================================================== */
/* ==========================================================================
   SECCIÓN HERO: BANNER FOTOGRÁFICO PREMIUM (MEJORADO)
   ========================================================================== */
.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 120px 0;
    position: relative;
    /* Capa de degradado oscuro a la izquierda para garantizar legibilidad del texto + la imagen de fondo */
    background: linear-gradient(
        90deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(15, 23, 42, 0.85) 40%, 
        rgba(30, 41, 59, 0.4) 100%
    ),
    url("../img/hero-banner.webp"); /* Versión WebP optimizada (107KB vs 1.7MB) */
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    color: #ffffff;
    overflow: hidden;
}

/* Sutil divisor estético inferior en ángulo para pasar a la siguiente sección */
.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: #ffffff;
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
    z-index: 3;
}

.hero .container {
    position: relative;
    z-index: 4;
}

/* Badge Superior Innovador */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #e2e8f0;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 9999px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.3px;
}

.hero-badge .badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981, 0 0 20px #10b981;
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

/* Tipografía de Alto Impacto */
.hero h1 {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.2px;
    color: #ffffff;
}

/* Resalte degradado futurista */
.hero h1 span {
    display: block;
    background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 8px;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #cbd5e1;
    max-width: 760px;
}

/* Botones de acción del Hero */
.action-buttons .btn {
    font-weight: 600;
    letter-spacing: -0.2px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.action-buttons .btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.5);
}

.action-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-3px);
    box-shadow: 0 16px 32px -5px rgba(37, 99, 235, 0.65);
}

.action-buttons .btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
}

.action-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
    transform: translateY(-3px);
}

/* ==========================================================================
   TARJETAS DE MÉTRICAS INTEGRADAS AL BANNER (GLASSMORPHISM)
   ========================================================================== */
.metrics-container {
    margin-top: 3.5rem !important;
}

.metric-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 28px 24px;
    border-radius: 18px;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 20px 40px -15px rgba(37, 99, 235, 0.25);
}

.metric-card h3 {
    color: #60a5fa;
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.metric-card p {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive adaptativo para el Banner */
@media (max-width: 991.98px) {
    .hero {
        padding: 80px 0 100px 0;
        background: linear-gradient(
            180deg, 
            rgba(15, 23, 42, 0.98) 0%, 
            rgba(15, 23, 42, 0.92) 100%
        ),
        url("../img/hero-banner.jpg");
        text-align: center;
    }
    .hero h1 {
        font-size: 2.6rem;
    }
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .hero::after {
        display: none; /* Quitamos el corte diagonal en móviles para evitar problemas de renderizado */
    }
}

/* ==========================================================================
   HERO MOCKUP CARD (DASHBOARD SAAS FLOTANTE)
   ========================================================================== */
.hero-mockup-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5), 0 0 40px rgba(37, 99, 235, 0.15);
    transition: transform 0.3s ease, border-color 0.3s ease;
    animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-mockup-card:hover {
    border-color: rgba(96, 165, 250, 0.4);
}

.window-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.bg-white-5 { background: rgba(255, 255, 255, 0.05); }
.bg-white-10 { background: rgba(255, 255, 255, 0.1); }
.border-white-5 { border-color: rgba(255, 255, 255, 0.05) !important; }
.border-white-10 { border-color: rgba(255, 255, 255, 0.1) !important; }

.mockup-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}
.mockup-icon.icon-blue { background: rgba(37, 99, 235, 0.2); color: #60a5fa; }
.mockup-icon.icon-green { background: rgba(16, 185, 129, 0.2); color: #34d399; }

/* ==========================================================================
   CARDS DE SERVICIOS / ESPECIALIDADES ENRIQUECIDAS
   ========================================================================== */
.service-card {
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.006);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.08);
}

.service-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: #ffffff;
    box-shadow: 0 8px 18px -4px rgba(0, 0, 0, 0.15);
}

.icon-purple-grad { background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%); }
.icon-blue-grad   { background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); }
.icon-cyan-grad   { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); }
.icon-green-grad  { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }

.service-action-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    transition: color 0.2s ease, transform 0.2s ease;
}

.service-action-link i {
    transition: transform 0.2s ease;
}

.service-action-link:hover {
    color: var(--primary-hover);
}

.service-action-link:hover i {
    transform: translateX(4px);
}

/* Badges de Categoría y Sección */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.section-badge.badge-success {
    background: rgba(16, 185, 129, 0.08);
    color: var(--green);
    border-color: rgba(16, 185, 129, 0.2);
}

/* ==========================================================================
   CARDS DE PRODUCTOS REDISEÑADAS (ESTILO SAAS ENTERPRISE MODERNO)
   ========================================================================== */
.bg-light-section {
    background-color: var(--light-section);
}

.product-pro-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    position: relative;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-pro-card.card-product-blue {
    background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.035) 0%, #ffffff 80%);
}

.product-pro-card.card-product-green {
    background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.035) 0%, #ffffff 80%);
}

/* Acento superior estilizado */
.product-pro-card.card-product-blue::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.product-pro-card.card-product-green::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.product-pro-card:hover {
    transform: translateY(-8px);
}

.product-pro-card.card-product-blue:hover {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.16);
}

.product-pro-card.card-product-green:hover {
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 25px 50px -12px rgba(16, 185, 129, 0.16);
}

/* Iconos SaaS en Relieve 3D */
.product-saas-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    color: #ffffff;
    flex-shrink: 0;
}

.icon-blue-gradient {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 10px 22px -5px rgba(37, 99, 235, 0.45);
}

.icon-green-gradient {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 10px 22px -5px rgba(16, 185, 129, 0.45);
}

/* Chips de Estado SaaS */
.badge-saas-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.pill-blue {
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.pill-green {
    background: rgba(16, 185, 129, 0.08);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.pulse-dot-live {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot-blue {
    background: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
}

.dot-green {
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

.product-card-subtitle {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
    display: block;
}

.product-card-title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Fila de Tags de Capacidades Técnicas (Micro-UI) */
.card-caps-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px dashed rgba(226, 232, 240, 0.95);
}

.cap-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f8fafc;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 7px;
    border: 1px solid #e2e8f0;
}

/* Lista Profesional de Características */
.product-features-list-pro {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.75rem;
}

.product-features-list-pro li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 13px;
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.5;
}

.feature-check-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.check-blue {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

.check-green {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

/* Botones Principales */
.btn-primary-pro {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.4);
    transition: all 0.25s ease;
}

.btn-primary-pro:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -4px rgba(37, 99, 235, 0.55);
}

.btn-success-pro {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.4);
    transition: all 0.25s ease;
}

.btn-success-pro:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -4px rgba(16, 185, 129, 0.55);
}

/* Grupo de Acciones Secundarias */
.card-cta-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.btn-card-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.83rem;
    font-weight: 600;
    padding: 8px 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-card-secondary:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
    transform: translateY(-1px);
}

.card-trust-footer {
    font-size: 0.78rem;
    color: #64748b;
    text-align: center;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(241, 245, 249, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.card-secondary-link i {
    font-size: 0.8rem;
    transition: transform 0.25s ease;
}

.card-secondary-link:hover {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.06);
}

.card-secondary-link:hover i {
    transform: translateX(5px);
}

.card-secondary-link.link-success:hover {
    color: var(--green);
    background: rgba(16, 185, 129, 0.06);
}

/* ==========================================================================
   SECCIÓN DE VALOR Y CONFIANZA (POR QUÉ ELEGIR BERCOD)
   ========================================================================== */
.feature-benefit-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px 24px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.03);
}

.feature-benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.08);
    border-color: rgba(37, 99, 235, 0.3);
}

.benefit-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}


/* ==========================================================================
   CONTACTO Y VISTAS DE PRODUCTO INTERNAS
   ========================================================================== */
.custom-input {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 0.95rem;
    background-color: #f8fafc;
    transition: all 0.2s ease;
}

.custom-input:focus {
    background-color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.product-preview-box {
    border-radius: 24px;
}

.profile-img {
    border: 6px solid #ffffff;
}

/* ==========================================================================
   RESPONSIVE / MEDIA QUERIES CORRECCIONES
   ========================================================================== */
@media (max-width: 991.98px) {
    body { padding-top: 70px; }
    .navbar { padding: 10px 0; }
    .nav-btn-contact { margin-left: 0; margin-top: 10px; display: inline-block; }
    .hero { text-align: center; padding: 60px 0; }
    .hero h1 { font-size: 2.5rem; }
    .hero-description { margin-left: auto; margin-right: auto; }
    .action-buttons .btn { width: 100%; margin-bottom: 12px; margin-right: 0 !important; }
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 62px;
    height: 62px;
    background-color: #25d366;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 1050;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 14px 28px rgba(37, 211, 102, 0.5);
    color: #ffffff !important;
}

.whatsapp-float::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: whatsappPulse 2s infinite ease-out;
    opacity: 0;
}

@keyframes whatsappPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.45); opacity: 0; }
}

@media (max-width: 576px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
        font-size: 28px;
    }
}

/* ==========================================================================
   MODAL DE CONTACTO INTERACTIVO Y BANNER CTA
   ========================================================================== */
.contact-modal-content {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
}

.modal-backdrop.show {
    opacity: 0.7;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.bg-cta-section {
    background: linear-gradient(135deg, #090d16 0%, #0f172a 50%, #1e293b 100%);
    position: relative;
}

.bg-cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(37, 99, 235, 0) 70%);
    filter: blur(60px);
    pointer-events: none;
}

.bg-cta-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0) 70%);
    filter: blur(60px);
    pointer-events: none;
}

.cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #93c5fd;
    padding: 6px 18px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   MEGA-FOOTER CORPORATIVO (ESTILO SAAS MODERNO)
   ========================================================================== */
.footer-corporate {
    background: #090d16;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1.25rem;
}

.footer-links-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.footer-links-list li {
    margin-bottom: 10px;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.footer-link:hover {
    color: #60a5fa;
    transform: translateX(3px);
}

.footer-badge-ssl {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
    color: #64748b;
}