* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #000;
    color: #fff;
}

/* --- CABECERA --- */
.main-header {
    background-color: #E10600; /* Rojo corporativo */
    padding: 20px 0; /* Más espacio vertical */
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.header-flex {
    display: flex;
    align-items: center;
}

.main-logo {
    display: block;
    height: 50px; /* Tamaño fijo para asegurar visibilidad */
    width: auto;
    filter: brightness(1.2); /* Resalta el blanco si es necesario */
}

/* --- BANNER (HERO) --- */
.hero-banner {
    position: relative;
    height: 480px;
    /* Comillas obligatorias por los paréntesis en el nombre del archivo */
    background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), 
                      url('7738b6_01e6ece1b8784183a1b6970c60b1c397~mv2 (1).avif'); 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    text-transform: uppercase;
}

.subtitle-top {
    font-size: 1rem;
    letter-spacing: 4px;
    font-weight: 400;
    margin-bottom: 5px;
}

.title-bold {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 0.9;
}

.subtitle-middle {
    font-size: 1rem;
    letter-spacing: 4px;
    font-weight: 400;
    margin-top: 25px;
}

.title-large {
    font-size: 6rem;
    font-weight: 800;
    letter-spacing: 6px;
    line-height: 1;
}

.stats-box {
    margin-top: 30px;
    font-size: 0.9rem;
    font-weight: 300;
    text-transform: none;
    background: rgba(0, 0, 0, 0.6);
    padding: 12px 25px;
    display: inline-block;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .title-large { font-size: 3.5rem; }
    .title-bold { font-size: 2.5rem; }
    .main-logo { height: 35px; }
}

/* --- SECCIÓN SERVICIOS --- */
.services-section {
    background-color: #f9f9f9; /* Fondo claro para contrastar las tarjetas */
    padding: 60px 0;
    color: #333; /* Texto oscuro para esta sección */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    border: 2px solid transparent;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* Colores de bordes */
.border-orange { border-color: #f7a623; }
.border-blue { border-color: #007cc2; }
.border-red { border-color: #d10000; }
.border-green { border-color: #b5cc28; }

.card-logo {
    height: 80px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-logo img {
    max-height: 100%;
    max-width: 180px;
}

.card-text {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
    color: #555;
}

.card-text strong {
    color: #222;
}

/* --- BOTONES --- */
.card-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn {
    text-decoration: none;
    padding: 12px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    transition: opacity 0.3s;
}

.btn:hover {
    opacity: 0.85;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Colores de botones */
.btn-orange { background-color: #f7a623; }
.btn-blue { background-color: #007cc2; }
.btn-red { background-color: #d10000; }
.btn-green { background-color: #b5cc28; }

/* Ajuste Responsivo */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .service-card {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}
