/* ==========================================================================
   Header Unificado y Limpio (Sin bloques raros ni títulos dobles)
   ========================================================================== */
.nav-link.active {
    color: #89f1ff; /* El color azul neón/celeste de tu marca */
    font-weight: 700; /* Texto en negrita para resaltar */
}
.page-header {
    background: linear-gradient(180deg, #0f172a 0%, #0b0f19 100%);
    padding: 130px 0 30px 0; /* Más espacio arriba para que el navbar respire */
    text-align: center;
}

.hero-tag {
    color: #89f1ff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 16px;
    background: rgba(137, 241, 255, 0.08);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(137, 241, 255, 0.2);
}

.page-title {
    font-size: 3rem;
    color: #FFFFFF;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.page-subtitle {
    color: #94A3B8;
    font-size: 1.15rem;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* Malla de Servicios directa */
.services-overview-section {
    padding: 40px 0 90px 0;
    background-color: #0b0f19;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* ==========================================================================
   Sección de Detalle Horizontal (Fondo Oscuro) y Banner CTA
   ========================================================================== */

/* Contenedor Principal de Detalles */
.services-detail-section {
    padding: 90px 0 60px 0;
    background-color: #0b0f19;
    color: #FFFFFF;
}

/* Bloques/Tarjetas Horizontales */
.detail-block {
    background-color: #121826;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.detail-block:hover {
    transform: translateY(-4px);
    border-color: #89f1ff;
    box-shadow: 0 15px 35px rgba(137, 241, 255, 0.1);
}

/* Etiqueta / Badge Superior de cada tarjeta */
.detail-badge {
    color: #89f1ff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
}

/* Título de la tarjeta detallada */
.detail-block h2 {
    font-size: 1.8rem;
    color: #FFFFFF;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

/* Subtexto o descripción corta */
.detail-lead {
    font-size: 1.05rem;
    color: #94A3B8;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Lista de características / ítems internos */
.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.detail-list li {
    position: relative;
    padding-left: 28px;
    color: #E2E8F0;
    font-size: 0.98rem;
    line-height: 1.6;
}

/* Check / Icono azul claro para cada ítem */
.detail-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #89f1ff;
    font-weight: 800;
    font-size: 1.1rem;
}

.detail-list li strong {
    color: #FFFFFF;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Banner Inferior de Llamado a la Acción (CTA)
   -------------------------------------------------------------------------- */
.services-cta-section {
    padding: 80px 0;
    background-color: #0d1322;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.services-cta-section h2 {
    font-size: 2.2rem;
    color: #FFFFFF;
    font-weight: 800;
    margin-bottom: 15px;
}

.services-cta-section p {
    font-size: 1.1rem;
    color: #94A3B8;
    margin-bottom: 35px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Responsivo para pantallas pequeñas */
@media (max-width: 768px) {
    .detail-block {
        padding: 25px;
    }

    .detail-block h2 {
        font-size: 1.5rem;
    }

    .services-cta-section h2 {
        font-size: 1.75rem;
    }
}
/* ==========================================================================
   TARJETAS DE SERVICIOS (MODO OSCURO - ALTO CONTRASTE Y LEGIBILIDAD)
   ========================================================================== */

.service-card {
    background-color: #121826; /* Fondo azul oscuro elegante */
    border: 1px solid rgba(137, 241, 255, 0.15); /* Borde sutil cian */
    border-radius: 14px;
    padding: 35px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: #89f1ff; /* Resalta en cian al pasar el cursor */
    box-shadow: 0 15px 35px rgba(137, 241, 255, 0.15);
}

/* NÚMERO (01, 02, etc.): Cian Neón brillante */
.service-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #89f1ff; /* Cambiado de azul oscuro a CIAN brillante */
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* TÍTULO DE LA TARJETA: Blanco puro */
.service-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #FFFFFF; /* Blanco para contraste total */
    margin-bottom: 15px;
    line-height: 1.3;
}

/* DESCRIPCIÓN: Gris claro legibilidad superior */
.service-desc {
    color: #CBD5E1; /* Gris brillante muy fácil de leer */
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 400;
}

/* ENLACE "Saber más →": Cian brillante */
.service-link {
    color: #89f1ff; /* Cambiado de azul oscuro a CIAN */
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.service-link:hover {
    color: #FFFFFF;
    transform: translateX(4px);
}
