/* ============================================
   SERVICE-CLOUD.CSS
   Estilos exclusivos para la página Cloud Security Hardening
   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
   ============================================ */
.cloud-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.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: 80px;
}

.cloud-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;
}

.cloud-hero .hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

.cloud-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;
}

.cloud-hero h1 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cloud-hero .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
}

@media (max-width: 768px) {
    .cloud-hero h1 {
        font-size: 2rem;
    }
    .cloud-hero .lead {
        font-size: 0.95rem;
    }
}

/* ============================================
   SECCIÓN 2: WHY HARDEN YOUR CLOUD? (Fondo BLANCO)
   ============================================ */
.cloud-section-white {
    background-color: var(--hexa-white);
    padding: 80px 0;
}

.cloud-section-white .section-header-left span,
.cloud-section-white .section-header-left h2 {
    color: var(--text-dark);
}

.cloud-section-white .section-header-left p {
    color: var(--text-muted);
}

.cloud-section-white .process-card {
    background: var(--hexa-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.cloud-section-white .process-card:hover {
    transform: translateY(-5px);
    border-color: #0A3D66;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.cloud-section-white .process-card i {
    color: #0A3D66;
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.cloud-section-white .process-card h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cloud-section-white .process-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* ============================================
   SECCIÓN 3: SUPPORTED PLATFORMS (Fondo GRIS)
   ============================================ */
.cloud-section-black {
    background-color: #D9DEE3;
    padding: 80px 0;
}

.cloud-section-black .text-center span,
.cloud-section-black .text-center h2 {
    color: var(--hexa-black);
}

.cloud-section-black .text-center p {
    color: var(--text-muted);
}

.cloud-section-black .provider-card {
    background: transparent;
    border: 2px solid #0A3D66;
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.cloud-section-black .provider-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);
}

.cloud-section-black .provider-icon {
    width: 70px;
    height: 70px;
    background: rgba(10, 61, 102, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    transition: all 0.3s ease;
}

.cloud-section-black .provider-icon i {
    font-size: 2.2rem;
    color: #0A3D66;
}

.cloud-section-black .provider-card:hover .provider-icon {
    background: #0A3D66;
}

.cloud-section-black .provider-card:hover .provider-icon i {
    color: white;
}

.cloud-section-black .provider-card h3 {
    color: #0A3D66;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.cloud-section-black .provider-card:hover h3 {
    color: #0A3D66;
}

.cloud-section-black .provider-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.cloud-section-black .provider-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.cloud-section-black .provider-features span {
    background: rgba(10, 61, 102, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    color: #0A3D66;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cloud-section-black .provider-card:hover .provider-features span {
    background: #0A3D66;
    color: white;
}

/* ============================================
   SECCIÓN 4: CLOUD SECURITY BY PROVIDER & LAYERS (Fondo BLANCO - Tabla)
   ============================================ */
.cloud-section-white-table {
    background-color: var(--hexa-white);
    padding: 80px 0;
}

.cloud-section-white-table .text-center span,
.cloud-section-white-table .text-center h2,
.cloud-section-white-table .text-center p {
    color: var(--text-dark);
}

.cloud-section-white-table .hardening-table {
    background: transparent;
    width: 100%;
    border-collapse: collapse;
}

.cloud-section-white-table .hardening-table thead th {
    background: var(--hexa-blue);
    color: white;
    font-weight: 700;
    padding: 1rem;
    border: none;
    font-size: 0.85rem;
}

.cloud-section-white-table .hardening-table tbody td {
    background: var(--hexa-white);
    color: var(--text-dark);
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
    vertical-align: middle;
}

.cloud-section-white-table .hardening-table tbody tr:hover td {
    background: rgba(10, 61, 102, 0.05);
}

.cloud-section-white-table .provider-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
}

.cloud-section-white-table .aws-badge {
    background: rgba(255, 153, 0, 0.15);
    color: #ff9900;
}

.cloud-section-white-table .azure-badge {
    background: rgba(0, 120, 212, 0.15);
    color: #0078d4;
}

.cloud-section-white-table .gcp-badge {
    background: rgba(66, 133, 244, 0.15);
    color: #4285f4;
}

/* ============================================
   SECCIÓN 5: TYPICAL FINDINGS WE FIX (Fondo GRIS)
   ============================================ */
.cloud-section-black-findings {
    background-color: #D9DEE3;
    padding: 80px 0;
}

.cloud-section-black-findings .text-center span,
.cloud-section-black-findings .text-center h2 {
    color: var(--hexa-black);
}

.cloud-section-black-findings .text-center p {
    color: var(--text-muted);
}

.cloud-section-black-findings .finding-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);
}

.cloud-section-black-findings .finding-card:hover {
    transform: translateY(-5px);
    background: rgba(10, 61, 102, 0.03);
    border-color: #0A3D66;
    box-shadow: 0 10px 25px rgba(10, 61, 102, 0.15);
}

.cloud-section-black-findings .finding-card i {
    font-size: 2rem;
    color: #0A3D66;
    margin-bottom: 1rem;
    display: block;
}

.cloud-section-black-findings .finding-card:hover i {
    transform: scale(1.05);
}

.cloud-section-black-findings .finding-card h4 {
    color: #0A3D66;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.cloud-section-black-findings .finding-card:hover h4 {
    color: #0A3D66;
}

.cloud-section-black-findings .finding-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* ============================================
   SECCIÓN 6: WHAT YOU RECEIVE (Fondo BLANCO)
   ============================================ */
.cloud-section-white-deliverables {
    background-color: var(--hexa-white);
    padding: 80px 0;
}

.cloud-section-white-deliverables .section-header-left span,
.cloud-section-white-deliverables .section-header-left h2 {
    color: var(--text-dark);
}

.cloud-section-white-deliverables .deliverables-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cloud-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;
}

.cloud-section-white-deliverables .deliverable-item:hover {
    background: rgba(0, 0, 0, 0.04);
    transform: translateX(5px);
}

.cloud-section-white-deliverables .deliverable-item i {
    font-size: 1.8rem;
    color: #0A3D66;
}

.cloud-section-white-deliverables .deliverable-item strong {
    color: var(--text-dark);
    font-size: 0.9rem;
}

.cloud-section-white-deliverables .deliverable-item span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ============================================
   SECCIÓN 7: CLOUD SECURITY BEST PRACTICES (Fondo GRIS)
   ============================================ */
.cloud-section-black-practices {
    background-color: #D9DEE3;
    padding: 80px 0;
}

.cloud-section-black-practices .text-center span,
.cloud-section-black-practices .text-center h2 {
    color: var(--hexa-black);
}

.cloud-section-black-practices .text-center p {
    color: var(--text-muted);
}

.cloud-section-black-practices .best-practice-card {
    background: transparent;
    border: 2px solid #0A3D66;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.cloud-section-black-practices .best-practice-card:hover {
    background: rgba(10, 61, 102, 0.03);
    border-color: #0A3D66;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(10, 61, 102, 0.15);
}

.cloud-section-black-practices .best-practice-card i {
    font-size: 2rem;
    color: #0A3D66;
    margin-bottom: 1rem;
}

.cloud-section-black-practices .best-practice-card h4 {
    color: #0A3D66;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cloud-section-black-practices .best-practice-card:hover h4 {
    color: #0A3D66;
}

.cloud-section-black-practices .best-practice-card p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 0;
}

/* ============================================
   SECCIÓN 8: WHO BENEFITS MOST (Fondo AZUL, tarjetas BLANCAS)
   ============================================ */
.cloud-section-blue {
    background-color: var(--hexa-blue);
    padding: 80px 0;
}

.cloud-section-blue .text-center span,
.cloud-section-blue .text-center h2 {
    color: white;
}

.cloud-section-blue .audience-card {
    background: var(--hexa-white);
    border: none;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cloud-section-blue .audience-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-bottom: 3px solid #0A3D66;
}

.cloud-section-blue .audience-card i {
    font-size: 2.5rem;
    color: #0A3D66;
    margin-bottom: 1rem;
    display: block;
}

.cloud-section-blue .audience-card h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.cloud-section-blue .audience-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ============================================
   SECCIÓN 9: CTA FINAL (Fondo BLANCO)
   ============================================ */
.cloud-section-white-cta {
    background-color: var(--hexa-white);
    padding: 80px 0;
}

.cloud-section-white-cta .cta-premium {
    background: linear-gradient(135deg, var(--hexa-blue), var(--hexa-blue-dark));
    border: 1px solid rgba(10, 61, 102, 0.3);
    border-radius: 30px;
    padding: 3rem;
    text-align: center;
}

.cloud-section-white-cta .cta-premium h2,
.cloud-section-white-cta .cta-premium p {
    color: white;
}

.cloud-section-white-cta .cta-premium h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cloud-section-white-cta .cta-premium p {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .cloud-section-white-cta .cta-premium {
        padding: 2rem;
    }
    .cloud-section-white-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;
}