/* ==========================================================================
   DNP CORP - SECCIÓN SOLUCIONES CISCO (COMPATIBLE CON BOOTSTRAP 3.3.7)
   Paleta Oficial: Títulos (#3e607f) | Destacados y CRO (#058cc4)
   ========================================================================== */

/* --- Variables Estructurales Reutilizables --- */
.dnp-cisco-section {
    padding: 70px 0;
    position: relative;
}

.dnp-cisco-section-alt {
    padding: 70px 0;
    background-color: #f7f9fb;
    position: relative;
}

/* --- Tipografía y Títulos --- */
.dnp-cisco-title-main {
    color: #3e607f;
    font-size: 42px; /* Tamaño optimizado para impacto visual */
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 20px;
}

.dnp-cisco-title-section {
    color: #3e607f;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 25px;
    text-transform: none;
}

.dnp-cisco-title-card {
    color: #3e607f;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 15px;
}

.dnp-cisco-text-lead {
    font-size: 18px;
    line-height: 1.6;
    color: #556b82;
    margin-bottom: 30px;
}

.dnp-cisco-text-muted {
    font-size: 15px;
    line-height: 1.6;
    color: #394149;
}

/* --- Componentes de Conversión (Botones y CRO) --- */
.dnp-cisco-btn-primary {
    background-color: #058cc4;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 28px;
    border: 2px solid #058cc4;
    border-radius: 4px;
    display: inline-block;
    vertical-align: middle;
    transition: all 0.3s ease-in-out;
}

.dnp-cisco-btn-primary:hover,
.dnp-cisco-btn-primary:focus,
.dnp-cisco-btn-primary:active {
    background-color: #0473a1;
    border-color: #0473a1;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(5, 140, 196, 0.3);
}

.dnp-cisco-btn-secondary {
    background-color: transparent;
    color: #3e607f;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 28px;
    border: 2px solid #3e607f;
    border-radius: 4px;
    display: inline-block;
    vertical-align: middle;
    transition: all 0.3s ease-in-out;
}

.dnp-cisco-btn-secondary:hover,
.dnp-cisco-btn-secondary:focus,
.dnp-cisco-btn-secondary:active {
    background-color: #3e607f;
    color: #ffffff;
    text-decoration: none;
}

/* --- SECCIÓN 1: Hero Principal (CORREGIDO CONTRA SOLAPAMIENTO) --- */
.dnp-cisco-hero {
    background-color: #f8fafc;
    /* Se aumenta padding-top de 80px a 130px para compensar la altura del navbar fijo */
    padding: 130px 0 80px 0; 
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
}

/* Forzar alineación vertical fluida en pantallas de escritorio sin romper Bootstrap 3 */
@media (min-width: 992px) {
    .dnp-cisco-hero-flex-row {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }
    .dnp-cisco-hero-content {
        padding-right: 40px;
    }
}

.dnp-cisco-badge-wrapper {
    margin-bottom: 15px;
}

.dnp-cisco-hero-badge {
    display: inline-block;
    background-color: rgba(5, 140, 196, 0.1);
    color: #058cc4;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 20px;
}

/* Contenedor flexible para alinear botones y sello de forma organizada */
.dnp-cisco-hero-actions-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 35px; /* Ajuste sutil de margen superior */
}

.dnp-cisco-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Corrección de márgenes y saltos de línea heredados */
.dnp-cisco-btn-group .btn {
    margin: 0 !important;
}

.dnp-cisco-partner-seal-container {
    display: inline-flex;
    align-items: center;
}

/* CORRECCIÓN: Dimensionamiento escalado del logo Cisco (Antes oculto/pequeño) */
.dnp-cisco-partner-seal {
    max-height: 85px; 
    width: auto; 
    display: block;
    object-fit: contain;
    margin-top: 5px; 
}

.dnp-cisco-hero-img-container {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.dnp-cisco-hero-img {
    width: 115%;
    max-width: none;
    height: auto;
    object-fit: cover;
    display: block;
    margin-left: -7.5%;
}
/* --- SECCIÓN 2 y 3: Tarjetas de Propuesta y Dolores --- */
.dnp-cisco-card-value {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 5px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dnp-cisco-card-value:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(62, 96, 127, 0.08);
}

.dnp-cisco-icon-box {
    font-size: 36px;
    color: #058cc4;
    margin-bottom: 20px;
    display: inline-block;
}

.dnp-cisco-pain-list {
    margin-top: 30px;
}

.dnp-cisco-pain-item {
    background: #ffffff;
    border-left: 4px solid #058cc4;
    padding: 20px 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

/* --- SECCIÓN 4: Portafolio de Soluciones --- */
.dnp-cisco-portfolio-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dnp-cisco-portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(62, 96, 127, 0.08);
}

.dnp-cisco-img-box {
    width: 100%;
    height: 220px;
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 0; 
    position: relative;
    display: block; 
}

.dnp-cisco-img-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

.dnp-cisco-card-body {
    padding: 30px 35px 35px 35px;
}

.dnp-cisco-semantic-sub {
    font-size: 14px;
    font-weight: 600;
    color: #058cc4;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* --- SECCIÓN 5: Sectores Industriales --- */
/* 1. NUEVO: Forzar a la fila contenedora a comportarse como Flexbox */
.dnp-cisco-industry-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch; /* Esto obliga a todas las columnas a medir lo mismo de alto */
}

/* Modificaciones en tu tarjeta */
.dnp-cisco-industry-box {
    position: relative;
    background-color: #3e607f;
    color: #ffffff;
    padding: 40px 30px;
    margin-bottom: 30px;
    border-radius: 4px;
    overflow: hidden;
    z-index: 1;
    
    /* CAMBIOS AQUÍ: */
    height: calc(100% - 30px); /* Ocupa el 100% del alto de la columna, restando el margin-bottom */
    display: flex;
    flex-direction: column;
    /* Eliminar o mantener min-height es opcional ahora, pero height: 100% manda */
    
    transition: all 0.3s ease-in-out;
}

.dnp-cisco-industry-box::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(5, 140, 196, 0.9);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease-in-out;
}

.dnp-cisco-industry-box:hover::before {
    opacity: 1;
}

.dnp-cisco-industry-box:hover {
    transform: translateY(-5px); /* Un poquito más pronunciado para que se note con el nuevo alto */
    box-shadow: 0 10px 25px rgba(5, 140, 196, 0.25);
}

.dnp-cisco-industry-box h3 {
    color: #ffffff;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
}

.dnp-cisco-industry-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0; /* Evita desfases de margen interno al final */
}
.dnp-cisco-industry-list-alt {
    padding-left: 0;
    list-style: none;
}

.dnp-cisco-industry-list-alt li {
    padding: 10px 15px;
    background: #ffffff;
    margin-bottom: 10px;
    border: 1px solid #e1e8ed;
    border-radius: 4px;
    color: #3e607f;
    font-weight: 500;
}

/* --- SECCIÓN 6: Servicios Profesionales --- */
.dnp-cisco-service-list {
    padding-left: 0;
    list-style: none;
}

.dnp-cisco-service-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.6;
    color: #4a5568;
}

.dnp-cisco-service-list li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: #058cc4;
    font-size: 16px;
}

.dnp-cisco-diagram-placeholder {
    border: 2px dashed #cbd5e1;
    background: #f8fafc;
    padding: 60px 20px;
    text-align: center;
    border-radius: 6px;
    color: #64748b;
}

/* --- SECCIÓN 7: Metodología (Timeline) --- */
.dnp-cisco-timeline {
    position: relative;
    padding: 30px 0;
    list-style: none;
}

.dnp-cisco-timeline:before {
    content: " ";
    position: absolute;
    top: 0; bottom: 0; left: 50%;
    width: 2px;
    background-color: #cbd5e1;
    margin-left: -1px;
}

.dnp-cisco-timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.dnp-cisco-timeline-item:after {
    content: "";
    display: table;
    clear: both;
}

.dnp-cisco-timeline-badge {
    position: absolute;
    top: 15px; left: 50%;
    width: 40px; height: 40px;
    margin-left: -20px;
    background-color: #058cc4;
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: 700;
    z-index: 10;
}

.dnp-cisco-timeline-panel {
    position: relative;
    width: 46%;
    float: left;
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 4px;
    padding: 25px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.02);
}

.dnp-cisco-timeline-item-inverted .dnp-cisco-timeline-panel {
    float: right;
}

/* --- SECCIÓN 8: Bloque de Autoridad EEAT --- */
.dnp-cisco-eeat-block {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 50px;
    box-shadow: 0 10px 25px rgba(62, 96, 127, 0.03);
}

.dnp-cisco-eeat-item {
    margin-bottom: 25px;
}

/* --- SECCIÓN 9: Casos de Uso --- */
.dnp-cisco-case-card {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 4px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.01);
}

.dnp-cisco-case-badge {
    color: #058cc4;
    font-size: 20px;
    margin-bottom: 15px;
    display: inline-block;
}

/* --- SECCIÓN 10: Preguntas Frecuentes --- */
.dnp-cisco-faq-panel {
    background-color: #ffffff;
    border: 1px solid #e2e8f0 !important;
    border-radius: 4px;
    margin-bottom: 12px;
    box-shadow: none !important;
}

.dnp-cisco-faq-heading {
    padding: 0;
    background-color: #ffffff !important;
}

.dnp-cisco-faq-toggle {
    display: block;
    padding: 18px 25px;
    color: #3e607f !important;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none !important;
    position: relative;
}

.dnp-cisco-faq-toggle:after {
    content: "\f107";
    font-family: "FontAwesome";
    position: absolute;
    right: 25px;
    top: 18px;
    color: #058cc4;
}

.dnp-cisco-faq-toggle.collapsed:after {
    content: "\f105";
}

.dnp-cisco-faq-body {
    padding: 20px 25px;
    border-top: 1px solid #f1f5f9;
    color: #4a5568;
    line-height: 1.6;
    font-size: 15px;
}

/* --- SECCIÓN 11: Centro de Captación B2B --- */
.dnp-cisco-conversion-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.03);
}

.dnp-cisco-form-group {
    margin-bottom: 20px;
}

.dnp-cisco-form-group label {
    font-weight: 600;
    color: #3e607f;
    margin-bottom: 8px;
    font-size: 14px;
}

.dnp-cisco-form-control {
    height: 46px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    box-shadow: none;
    transition: border-color 0.2s ease-in-out;
}

.dnp-cisco-form-control:focus {
    border-color: #058cc4;
    box-shadow: none;
}

textarea.dnp-cisco-form-control {
    height: auto;
    padding-top: 12px;
}

.dnp-cisco-btn-submit {
    width: 100%;
    background-color: #058cc4;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    padding: 14px;
    border: none;
    border-radius: 4px;
    transition: background-color 0.2s ease-in-out;
}

.dnp-cisco-btn-submit:hover,
.dnp-cisco-btn-submit:focus {
    background-color: #0473a1;
    color: #ffffff;
}

/* --- Utilidades e Interlineados de Lectura --- */
.dnp-cisco-spacer-line {
    margin: 40px 0;
    border: 0;
    height: 0;
}

/* --- DIAGRAMA OPERACIONAL DE FLUJO --- */
.dnp-cisco-diagram-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(62, 96, 127, 0.03);
}

.dnp-cisco-diagram-title {
    color: #3e607f;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dnp-cisco-flowchart {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dnp-cisco-flow-step {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e1e8ed;
    border-left: 4px solid #3e607f;
    border-radius: 4px;
    padding: 15px 20px;
    width: 100%;
    transition: all 0.2s ease-in-out;
}

.dnp-cisco-flow-step:hover {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
    border-left-color: #058cc4;
}

.dnp-cisco-flow-step.highlight {
    border-left-color: #058cc4;
    background: rgba(5, 140, 196, 0.03);
}

.dnp-cisco-flow-icon {
    font-size: 24px;
    color: #058cc4;
    margin-right: 20px;
    flex-shrink: 0;
    width: 30px;
    text-align: center;
}

.dnp-cisco-flow-content {
    flex-grow: 1;
}

.dnp-cisco-flow-content h5 {
    color: #3e607f;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 15px;
}

.dnp-cisco-flow-content p {
    color: #667585;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 0;
}

.dnp-cisco-flow-arrow {
    color: #058cc4;
    font-size: 16px;
    margin: 8px 0;
    animation: pulseArrow 2s infinite ease-in-out;
}

@keyframes pulseArrow {
    0%, 100% { opacity: 0.6; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(3px); }
}

/* --- MEDIAS QUERIES GLOBALES (RESPONSIVE BOOTSTRAP 3) --- */
@media (max-width: 991px) {
    .dnp-cisco-hero {
        padding: 110px 0 60px 0; /* Calibrado para menús colapsables medianos */
    }
    .dnp-cisco-title-main {
        font-size: 30px;
    }
    .dnp-cisco-hero-media {
        margin-top: 35px;
        display: block !important;
    }
    .dnp-cisco-hero-actions-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }
}

@media (max-width: 767px) {
    .dnp-cisco-img-box {
        height: 180px;
    }
    .dnp-cisco-card-body {
        padding: 20px;
    }
    .dnp-cisco-timeline:before { left: 20px; }
    .dnp-cisco-timeline-badge { left: 20px; margin-left: 0; top: 10px; }
    .dnp-cisco-timeline-panel { width: calc(100% - 50px); float: right; }
    .dnp-cisco-timeline-item-inverted .dnp-cisco-timeline-panel { float: right; }
}


/* Transición suave */
.navbar,
.navbar-brand,
.navbar-brand img,
.navbar-nav > li > a {
    transition: all .35s ease;
}


/* Estado reducido del navbar */
.navbar.navbar-shrink {
    min-height: 55px;
}


/* Reducir contenedor del logo */
.navbar.navbar-shrink .navbar-brand {
    height: 55px;
    padding: 5px 20px 5px 40px;
}


/* Reducir cualquier logo visible */
.navbar.navbar-shrink .navbar-brand img {
    max-height: 45px;
    width: auto !important;
}


/* Reducir altura del menú */
.navbar.navbar-shrink .navbar-nav > li > a {
    padding-top: 17px;
    padding-bottom: 17px;
}

.navbar.navbar-shrink .navbar-nav > li > a {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    line-height: 20px !important;
}


.navbar.navbar-shrink .navbar-nav {
    margin-top: 0;
    margin-bottom: 0;
}