/* --- Estilos de Alto Impacto para CGS Asesores --- */
:root {
    --azul-iso: #003366; /* Azul corporativo profundo */
    --celeste-tech: #00a8e8; /* Azul tecnológico para acentos */
    --gris-fondo: #f8f9fa;
    --texto: #2d3436;
    --blanco: #ffffff;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--texto);
    margin: 0;
    line-height: 1.6;
}

/* 1. Contenedor Maestro: Esto centra todo tu contenido */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 2. Header Profesional */
.main-header {
    background: var(--blanco);
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img { height: 65px; }

.menu {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
}

.menu a {
    text-decoration: none;
    color: var(--azul-iso);
    font-weight: 600;
    transition: 0.3s;
}

.menu a:hover { color: var(--celeste-tech); }

/* 3. Hero Section (Slider) */
.slider {
    height: 60vh;
    display: flex;
    align-items: center;
    color: var(--blanco);
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slider::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 51, 102, 0.75); /* Filtro azul sobre la imagen */
}

.slider-text {
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.slider-text h1 { font-size: 3rem; margin-bottom: 10px; }

/* 4. Tarjetas de Servicios (ISO 9001 / 27001) */
.specialties { padding: 60px 0; background: var(--gris-fondo); }

.specialty-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.card {
    background: var(--blanco);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
    border-bottom: 4px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--celeste-tech);
}

.card h3 { color: var(--azul-iso); margin-bottom: 15px; }

/* 5. Metodología (Pasos) */
.process { padding: 80px 0; }

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 51, 102, 0.1); /* Número grande y tenue de fondo */
    display: block;
    margin-bottom: -40px;
}

.step h4 { color: var(--azul-iso); position: relative; z-index: 2; }

/* 6. Botón Flotante Moderno */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2000;
}