/* Estilos de la página: servicios-generales.php */

/* Hero con imagen de fondo */
.hero-facility {
    background: url('/assets/img/servicios/serviciosgenerales.webp') center/cover no-repeat;
    color: #fff;
    padding: 6rem 1.5rem 4rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 3.5rem;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-facility .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(120deg, rgba(0, 116, 183, 0.85) 40%, rgba(26, 188, 156, 0.75) 100%);
    z-index: 1;
}
.hero-facility .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}
.hero-facility h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}
.hero-facility .hero-lead {
    font-size: 1.35rem;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    opacity: 0.96;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

/* Contenido principal */
.servicio-detalle-content {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 116, 183, 0.07);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.servicio-detalle-content h2 {
    color: #0074B7;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.servicio-detalle-content h3 {
    color: #1abc9c;
    font-weight: 600;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.servicio-detalle-content ul {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    padding-left: 1rem;
}

.servicio-detalle-content ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.servicio-detalle-content ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1abc9c;
    font-weight: bold;
}

.servicio-detalle-content p.conclusion {
    margin-top: 2rem;
    font-size: 1.1rem;
    color: #003b73;
    font-weight: 500;
    line-height: 1.7;
}

.btn-container {
    text-align: center;
    margin-top: 2.5rem;
    margin-bottom: 3rem;
}

.btn-primary {
    background-color: #0074B7;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 116, 183, 0.2);
}

.btn-primary:hover {
    background-color: #1abc9c;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26, 188, 156, 0.3);
}

.btn-primary i {
    margin-right: 8px;
}

/* CTA Final con imagen de fondo */
.cta-facility {
    background: url('/assets/img/servicios/cta.webp') center/cover no-repeat;
    color: #fff;
    padding: 4rem 1.5rem 4rem 1.5rem;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}
.cta-facility::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, rgba(0, 59, 115, 0.85) 0%, rgba(0, 116, 183, 0.75) 100%);
    z-index: 0;
}
.cta-facility .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
}
.cta-facility h2 {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.cta-facility p {
    font-size: 1.15rem;
    margin-bottom: 2.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}
.cta-facility .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 700;
    background: #fff;
    color: #0074B7;
    border: none;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.13);
    transition: all 0.3s ease;
}
.cta-facility .btn:hover {
    background: #1abc9c;
    color: #fff;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 25px rgba(26, 188, 156, 0.3);
}
.cta-facility .btn i {
    margin-right: 8px;
}

/* Media queries */
@media (max-width: 768px) {
    .hero-facility h1 { font-size: 2.5rem; }
    .hero-facility .hero-lead { font-size: 1.2rem; }
    .servicio-detalle-content { padding: 1.5rem; }
    .cta-facility h2 { font-size: 1.8rem; }
}

@media (max-width: 576px) {
    .hero-facility h1 { font-size: 2rem; }
    .hero-facility .hero-lead { font-size: 1.1rem; }
    .hero-facility {
        min-height: 400px;
        padding: 4rem 1rem;
    }
    .servicio-detalle-content h2 { font-size: 1.6rem; }
    .servicio-detalle-content h3 { font-size: 1.3rem; }
    .servicio-detalle-content ul { font-size: 1rem; }
    .cta-facility h2 { font-size: 1.5rem; }
    .cta-facility p { font-size: 1rem; }
}
