/* ============================================
   SERVICES-BASE.CSS - Estilos base para páginas de servicio
   SECUENCIA DE COLORES:
   1. Hero (con imagen)
   2. Sección 1: Fondo BLANCO, texto NEGRO, íconos NARANJA
   3. Sección 2: Fondo NEGRO, texto BLANCO, íconos NARANJA
   4. Sección 3: Fondo BLANCO, texto NEGRO, íconos NARANJA
   5. Sección 4: Fondo AZUL, tarjetas BLANCAS, texto NEGRO dentro de tarjetas
   ============================================ */

/* === HERO DE SERVICIOS === */
.service-hero-section {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: 80px;
}

.hero-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 61, 102, 0.85) 0%, rgba(10, 61, 102, 0.6) 100%);
    z-index: 1;
}

.service-hero-section .hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 106, 0, 0.15);
    backdrop-filter: blur(4px);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--hexa-orange);
    border: 1px solid rgba(255, 106, 0, 0.3);
    margin-bottom: 1rem;
}

.service-hero-section h1 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-hero-section .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
}

@media (max-width: 768px) {
    .service-hero-section h1 {
        font-size: 2rem;
    }
    .service-hero-section .lead {
        font-size: 0.95rem;
    }
}

/* === IMÁGENES DE FONDO PARA CADA SERVICIO === */
.soc-hero {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=1920&q=80');
}

.talent-hero {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1920&q=80');
}

.compliance-hero {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1920&q=80');
}

.cloud-hero {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1920&q=80');
}

.offensive-hero {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('https://images.pexels.com/photos/5380642/pexels-photo-5380642.jpeg?auto=compress&cs=tinysrgb&w=1920');
}

/* === SECCIÓN FONDO BLANCO (texto negro, íconos naranja) === */
.service-section-white {
    background-color: var(--hexa-white);
    color: var(--text-dark);
    padding: 80px 0;
}

.service-section-white h2,
.service-section-white h3,
.service-section-white h4 {
    color: var(--text-dark);
}

.service-section-white p {
    color: var(--text-muted);
}

.service-section-white i {
    color: var(--hexa-orange);
}

/* === SECCIÓN FONDO NEGRO (texto blanco, íconos naranja) === */
.service-section-black {
    background-color: var(--hexa-black);
    color: var(--text-light);
    padding: 80px 0;
}

.service-section-black h2,
.service-section-black h3,
.service-section-black h4 {
    color: var(--text-light);
}

.service-section-black p {
    color: rgba(255, 255, 255, 0.7);
}

.service-section-black i {
    color: var(--hexa-orange);
}

/* === SECCIÓN FONDO AZUL (tarjetas blancas, texto negro dentro) === */
.service-section-blue {
    background-color: var(--hexa-blue);
    color: var(--text-light);
    padding: 80px 0;
}

.service-section-blue h2,
.service-section-blue h3 {
    color: var(--text-light);
}

.service-section-blue p {
    color: rgba(255, 255, 255, 0.8);
}

/* Tarjetas dentro de fondo azul */
.service-section-blue .card {
    background-color: var(--hexa-white);
    border: none;
    border-radius: 20px;
    padding: 2rem;
    color: var(--text-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-section-blue .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-section-blue .card i {
    color: var(--hexa-orange);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-section-blue .card h4 {
    color: var(--text-dark);
}

.service-section-blue .card p {
    color: var(--text-muted);
}

/* === TARJETAS DE PROCESO === */
.process-card {
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
}

.process-card:hover {
    transform: translateY(-5px);
}

.service-section-white .process-card {
    background: var(--hexa-white);
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.service-section-white .process-card:hover {
    border-color: var(--hexa-orange);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.service-section-black .process-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-section-black .process-card:hover {
    background: rgba(255, 106, 0, 0.15);
    border-color: var(--hexa-orange);
}

.service-section-black .process-card h4,
.service-section-black .process-card p {
    color: white;
}

.service-section-blue .process-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-section-blue .process-card:hover {
    background: rgba(255, 106, 0, 0.15);
    border-color: var(--hexa-orange);
}

.service-section-blue .process-card h4,
.service-section-blue .process-card p {
    color: white;
}

.process-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--hexa-orange);
    opacity: 0.4;
    margin-bottom: 0.8rem;
}

.process-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.process-card p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* === TARJETAS DE FUENTES MONITOREADAS === */
.service-section-black {
    background-color: #D9DEE3;
    color: var(--hexa-black);
    padding: 80px 0;
}

.service-section-black h2,
.service-section-black h3,
.service-section-black h4 {
    color: var(--hexa-black);
}

.service-section-black p {
    color: var(--text-muted);
}

.service-section-black i {
    color: #0A3D66;
}

.service-section-black .text-orange {
    color: #0A3D66 !important;
}

/* ============================================
   TARJETAS DE FUENTES MONITOREADAS
   ============================================ */
.source-card {
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

/* Fondo BLANCO (service-section-white) */
.service-section-white .source-card {
    background: var(--hexa-white);
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.service-section-white .source-card:hover {
    border-color: #0A3D66;
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Fondo GRIS (service-section-black) */
.service-section-black .source-card {
    background: transparent;
    border: 2px solid #0A3D66;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-section-black .source-card i {
    color: #0A3D66;
}

.service-section-black .source-card h4 {
    color: var(--hexa-black);
}

.service-section-black .source-card p {
    color: var(--text-muted);
}

.service-section-black .source-card:hover {
    background: rgba(10, 61, 102, 0.05);
    border-color: #0A3D66;
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(10, 61, 102, 0.15);
}

.service-section-black .source-card:hover h4 {
    color: #0A3D66;
}

.service-section-black .source-card:hover i {
    transform: scale(1.05);
}
.service-section-black .source-card i {
    font-size: 3rem;
    color: #0A3D66;
    margin-bottom: 1rem;
    display: inline-block;
    transition: all 0.3s ease;
}

/* Títulos en azul */
.service-section-black .source-card h4 {
    color: #0A3D66;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

/* Hover: ícono crece */
.service-section-black .source-card:hover i {
    transform: scale(1.1);
}

/* Hover: título más oscuro */
.service-section-black .source-card:hover h4 {
    color: #072e4d;
}
/* === TARJETAS DE INCLUSIÓN === */
.include-card {
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.service-section-white .include-card {
    background: var(--hexa-white);
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.service-section-white .include-card:hover {
    border-color: var(--hexa-orange);
    transform: translateY(-5px);
}

.service-section-black .include-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-section-black .include-card:hover {
    background: rgba(255, 106, 0, 0.15);
    border-color: var(--hexa-orange);
    transform: translateY(-5px);
}

.service-section-black .include-card h5,
.service-section-black .include-card p {
    color: white;
}

.include-card i {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    display: block;
}

.include-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.include-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* === TARJETAS DE AUDIENCIA === */
.audience-card {
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.service-section-white .audience-card {
    background: var(--hexa-white);
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.service-section-white .audience-card:hover {
    border-color: var(--hexa-orange);
    transform: translateY(-8px);
}

.service-section-black .audience-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-section-black .audience-card:hover {
    background: rgba(255, 106, 0, 0.15);
    border-color: var(--hexa-orange);
    transform: translateY(-8px);
}

.service-section-black .audience-card h4,
.service-section-black .audience-card p {
    color: white;
}

.audience-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.audience-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.audience-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* === TARJETAS DE MÓDULOS (Compliance Page) === */
.module-card {
    border-radius: 20px;
    padding: 1.8rem;
    transition: all 0.3s ease;
    height: 100%;
}

.service-section-black .module-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-section-black .module-card:hover {
    background: rgba(255, 106, 0, 0.15);
    border-color: var(--hexa-orange);
    transform: translateY(-8px);
}

.module-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    background: rgba(255, 106, 0, 0.15);
}

.module-icon i {
    font-size: 1.8rem;
    color: var(--hexa-orange);
}

.module-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.module-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-section-black .module-card h4,
.service-section-black .module-card p {
    color: white;
}

.module-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.module-tags span {
    background: rgba(255, 106, 0, 0.15);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    color: var(--hexa-orange);
    font-weight: 500;
}

/* === FRAMEWORKS GRID === */
.frameworks-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.framework-item {
    border-radius: 40px;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
}

.service-section-black .framework-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.framework-item:hover {
    transform: translateY(-3px);
}

.service-section-black .framework-item:hover {
    background: rgba(255, 106, 0, 0.15);
    border-color: var(--hexa-orange);
}

.framework-item span {
    font-weight: 500;
    font-size: 0.85rem;
}

.service-section-black .framework-item span {
    color: white;
}

/* === TIMELINE === */
.timeline-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.timeline-step {
    text-align: center;
    min-width: 150px;
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.service-section-black .timeline-step {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-step:hover {
    transform: translateY(-5px);
}

.service-section-black .timeline-step:hover {
    background: rgba(255, 106, 0, 0.15);
    border-color: var(--hexa-orange);
}

.timeline-number {
    width: 50px;
    height: 50px;
    background: rgba(255, 106, 0, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--hexa-orange);
}

.timeline-step h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-step p {
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: 0;
}

.service-section-black .timeline-step h4,
.service-section-black .timeline-step p {
    color: white;
}

.timeline-arrow i {
    font-size: 1.5rem;
    color: var(--hexa-orange);
    opacity: 0.5;
}

@media (max-width: 768px) {
    .timeline-wrapper {
        flex-direction: column;
    }
    .timeline-arrow {
        transform: rotate(90deg);
    }
    .timeline-step {
        width: 100%;
    }
}

/* === DELIVERABLES LIST === */
.deliverables-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.deliverable-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-section-black .deliverable-item {
    background: rgba(255, 255, 255, 0.05);
}

.deliverable-item:hover {
    transform: translateX(5px);
}

.service-section-black .deliverable-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.deliverable-item i {
    font-size: 1.8rem;
    color: var(--hexa-orange);
}

.deliverable-item div,
.deliverable-item strong {
    font-size: 0.9rem;
}

.service-section-black .deliverable-item div,
.service-section-black .deliverable-item strong {
    color: white;
}

/* === TABLAS PREMIUM === */
.table-premium {
    background: transparent;
    width: 100%;
    border-collapse: collapse;
}

.table-premium thead th {
    padding: 1rem;
    font-weight: 700;
    text-align: left;
}

.service-section-black .table-premium thead th {
    background: rgba(255, 255, 255, 0.08);
    color: var(--hexa-orange);
}

.table-premium tbody td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-section-black .table-premium tbody td {
    background: rgba(255, 255, 255, 0.03);
    color: white;
}

.table-premium tbody tr:hover td {
    background: rgba(255, 106, 0, 0.05);
}

/* === CTA PREMIUM === */
.cta-premium {
    border-radius: 30px;
    padding: 3rem;
    text-align: center;
}

.service-section-black .cta-premium {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-section-white .cta-premium {
    background: linear-gradient(135deg, var(--hexa-blue), var(--hexa-blue-dark));
    border: 1px solid rgba(255, 106, 0, 0.3);
}

.cta-premium h2,
.cta-premium p {
    margin-bottom: 1.5rem;
}

.service-section-black .cta-premium h2,
.service-section-black .cta-premium p {
    color: white;
}

.service-section-white .cta-premium h2,
.service-section-white .cta-premium p {
    color: white;
}

/* === SERVICE IMAGE WRAPPER === */
.service-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.service-image {
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
    width: 100%;
}

.service-image-wrapper:hover .service-image {
    transform: scale(1.02);
}

.image-glow {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.15) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}