/* ============================================
   SERVICE-OFFENSIVE.CSS
   Estilos exclusivos para la página Offensive Security
   Colores actualizados: fondos #D9DEE3, íconos/bordes #0A3D66
   ============================================ */

/* === IMPORTAR VARIABLES GLOBALES === */
:root {
    --hexa-blue: #0A3D66;
    --hexa-blue-dark: #072e4d;
    --hexa-blue-glow: rgba(10, 61, 102, 0.25);
    --hexa-orange: #FF6A00;
    --hexa-orange-dark: #e65c00;
    --hexa-orange-glow: rgba(255, 106, 0, 0.25);
    --hexa-black: #0F1115;
    --hexa-white: #FFFFFF;
    --text-light: #ffffff;
    --text-dark: #0F1115;
    --text-muted: #6c757d;
    --border-color: #e9ecef;
}

/* ============================================
   SECCIÓN 1: HERO
   ============================================ */
.offensive-hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    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');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: 80px;
}

.offensive-hero .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;
}

.offensive-hero .hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

.offensive-hero .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: #FF6A00;
    border: 1px solid rgba(255, 106, 0, 0.3);
    margin-bottom: 1rem;
}

.offensive-hero h1 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.offensive-hero .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
}

@media (max-width: 768px) {
    .offensive-hero h1 {
        font-size: 2rem;
    }
    .offensive-hero .lead {
        font-size: 0.95rem;
    }
}

/* ============================================
   SECCIÓN 2: COMPARISON (Fondo BLANCO - Tabla)
   ============================================ */
.offensive-section-white-table {
    background-color: var(--hexa-white);
    padding: 80px 0;
}

.offensive-section-white-table .text-center span,
.offensive-section-white-table .text-center h2,
.offensive-section-white-table .text-center p {
    color: var(--text-dark);
}

.offensive-section-white-table .table-premium {
    background: transparent;
    width: 100%;
    border-collapse: collapse;
}

.offensive-section-white-table .table-premium thead th {
    background: var(--hexa-blue);
    color: white;
    font-weight: 700;
    padding: 1rem;
    border: none;
}

.offensive-section-white-table .table-premium tbody td {
    background: var(--hexa-white);
    color: var(--text-dark);
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.offensive-section-white-table .table-premium tbody tr:hover td {
    background: rgba(10, 61, 102, 0.05);
}

.offensive-section-white-table .table-premium .text-orange {
    color: #0A3D66 !important;
}

/* ============================================
   SECCIÓN 3: TESTING VERTICALS (Fondo GRIS)
   ============================================ */
.offensive-section-black {
    background-color: #D9DEE3;
    padding: 80px 0;
}

.offensive-section-black .text-center span,
.offensive-section-black .text-center h2 {
    color: var(--hexa-black);
}

.offensive-section-black .text-center p {
    color: var(--text-muted);
}

.offensive-section-black .vertical-card {
    background: transparent;
    border: 2px solid #0A3D66;
    border-radius: 20px;
    padding: 1.8rem;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.offensive-section-black .vertical-card:hover {
    transform: translateY(-8px);
    background: rgba(10, 61, 102, 0.03);
    border-color: #0A3D66;
    box-shadow: 0 10px 25px rgba(10, 61, 102, 0.15);
}

.offensive-section-black .vertical-icon {
    width: 60px;
    height: 60px;
    background: rgba(10, 61, 102, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
}

.offensive-section-black .vertical-icon i {
    font-size: 1.8rem;
    color: #0A3D66;
}

.offensive-section-black .vertical-card:hover .vertical-icon {
    background: #0A3D66;
}

.offensive-section-black .vertical-card:hover .vertical-icon i {
    color: white;
}

.offensive-section-black .vertical-card h4 {
    color: #0A3D66;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.offensive-section-black .vertical-card:hover h4 {
    color: #0A3D66;
}

.offensive-section-black .vertical-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.offensive-section-black .vertical-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.offensive-section-black .vertical-tags span {
    background: rgba(10, 61, 102, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    color: #0A3D66;
    font-weight: 500;
    transition: all 0.3s ease;
}

.offensive-section-black .vertical-card:hover .vertical-tags span {
    background: #0A3D66;
    color: white;
}

/* ============================================
   SECCIÓN 4: DELIVERABLES (Fondo BLANCO)
   ============================================ */
.offensive-section-white-deliverables {
    background-color: var(--hexa-white);
    padding: 80px 0;
}

.offensive-section-white-deliverables .section-header-left span,
.offensive-section-white-deliverables .section-header-left h2 {
    color: var(--text-dark);
}

.offensive-section-white-deliverables .section-header-left p {
    color: var(--text-muted);
}

.offensive-section-white-deliverables .deliverables-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.offensive-section-white-deliverables .deliverable-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.offensive-section-white-deliverables .deliverable-item:hover {
    background: rgba(0, 0, 0, 0.04);
    transform: translateX(5px);
}

.offensive-section-white-deliverables .deliverable-item i {
    font-size: 1.8rem;
    color: #0A3D66;
}

.offensive-section-white-deliverables .deliverable-item strong {
    color: var(--text-dark);
    font-size: 0.9rem;
}

.offensive-section-white-deliverables .deliverable-item span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ============================================
   SECCIÓN 5: CTA FINAL (Fondo GRIS)
   ============================================ */
.offensive-section-black-cta {
    background-color: #D9DEE3;
    padding: 80px 0;
}

.offensive-section-black-cta .cta-premium {
    background: transparent;
    border: 2px solid #0A3D66;
    border-radius: 30px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.offensive-section-black-cta .cta-premium h2,
.offensive-section-black-cta .cta-premium p {
    color: #0A3D66;
}

.offensive-section-black-cta .cta-premium h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.offensive-section-black-cta .cta-premium p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.offensive-section-black-cta .cta-premium .btn-cta {
    background: #0A3D66;
    color: white;
}

.offensive-section-black-cta .cta-premium .btn-cta:hover {
    background: #072e4d;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(10, 61, 102, 0.3);
}

@media (max-width: 768px) {
    .offensive-section-black-cta .cta-premium {
        padding: 2rem;
    }
    .offensive-section-black-cta .cta-premium h2 {
        font-size: 1.5rem;
    }
}

/* ============================================
   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;
}