/* -------------------------------------------------------
   BANNER FIJO – MANTENIMIENTO INDUSTRIAL (PREMIUM)
------------------------------------------------------- */

.mantenimiento-banner-fixed {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    background: #000; /* evita bordes blancos en DonWeb */
}

/* Fondo difuminado generado desde la misma imagen */
.mantenimiento-banner-fixed::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../assets/img/mantenimiento_industrial/mantenimiento_industrial_01.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(18px) brightness(0.55);
    transform: scale(1.2); /* evita bordes del blur */
    z-index: 0;
}

/* Imagen principal completa, sin recortes */
.banner-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;     /* imagen completa */
    object-position: center; /* centrada */
    display: block;
    background-color: #000;  /* relleno elegante si sobra espacio */
}

/* Overlay oscuro para contraste */
.banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 2;
}

/* Título */
.banner-title {
    position: absolute;
    bottom: 20px;
    left: 40px;
    z-index: 3;
    color: #fff;
    font-size: 2.6rem;
    font-weight: 700;
    text-shadow: 0 3px 8px rgba(0,0,0,0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .mantenimiento-banner-fixed {
        height: 300px;
    }
    .banner-title {
        font-size: 1.9rem;
        left: 20px;
        bottom: 15px;
    }
}

/* -------------------------------------------------------
   TITULOS AZULES (estética corporativa)
------------------------------------------------------- */

.section-title,
.subsection-title,
.servicios-title {
    color: #0056b3;
}

/* -------------------------------------------------------
   TARJETAS Y GRILLAS
------------------------------------------------------- */

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.servicio-item {
    background: #ffffff;
    padding: 18px 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    font-size: 1.05rem;
    line-height: 1.45;
    border-left: 4px solid #007bff;
    transition: all 0.2s ease-in-out;
}

.servicio-item:hover {
    background: #f5f7fa;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

/* -------------------------------------------------------
   CONTACTO
------------------------------------------------------- */

.contact-section {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.contact-info {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-section form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-section input,
.contact-section textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 1rem;
}

.contact-section textarea {
    height: 120px;
    resize: vertical;
}

.btn {
    background: #0056b3;
    color: #fff;
    padding: 12px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.2s ease-in-out;
}

.btn:hover {
    background: #003f87;
}

/* -------------------------------------------------------
   RESPONSIVE GENERAL
------------------------------------------------------- */

@media (max-width: 768px) {
    .contact-section {
        flex-direction: column;
    }
    .servicio-item {
        font-size: 1rem;
    }
}
.mi-intro{
    max-width:1100px;
    margin:0 auto 40px auto;
    padding:30px 40px;

    background:#fff;

    border-left:5px solid #005bbb;

    border-radius:12px;

    box-shadow:0 6px 20px rgba(0,0,0,.08);
}

.mi-intro p{
    text-align:center;
    font-size:1.2rem;
    line-height:1.9;
    color:#444;
    margin-bottom:18px;
}

.mi-intro p:last-child{
    margin-bottom:0;
}

.seo-beneficios{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:18px;
    margin:35px 0 50px;
}

.seo-badge{
    background:#fff;
    border:2px solid #d8e7f5;
    color:#003f7d;
    padding:14px 24px;
    border-radius:50px;
    font-weight:700;
    font-size:17px;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
}
.mantenimiento-title{
    text-align:center;
    font-size:3rem;
    font-weight:800;
    color:#004a99;
    margin-bottom:30px;
}

.mantenimiento-title::after{
    content:"";
    display:block;
    width:120px;
    height:5px;
    background:#00a0e3;
    margin:20px auto 0;
    border-radius:50px;
}
.mi-bajada{
    text-align:center;
    max-width:1000px;
    margin:20px auto 40px auto;

    font-size:1.3rem;
    color:#555;
    line-height:1.8;
}
.seo-destacado{
    max-width:1400px;
    margin:80px auto;
    padding:0 20px;
}

.seo-destacado h2{
    text-align:center;
    color:#004a99;
    font-size:3rem;
    font-weight:800;
    margin-bottom:30px;
    line-height:1.2;
}

.seo-destacado h2::after{
    content:"";
    display:block;
    width:120px;
    height:5px;
    background:#00a0e3;
    margin:20px auto 0;
    border-radius:50px;
}

.porque-elegirnos-texto{
    max-width:1100px;
    margin:0 auto 40px auto;

    padding:35px 45px;

    background:#ffffff;

    border-left:5px solid #005bbb;

    border-radius:14px;

    box-shadow:0 6px 20px rgba(0,0,0,.08);
}

.porque-elegirnos-texto p{
    text-align:center;

    font-size:1.2rem;

    line-height:1.9;

    color:#444;

    margin-bottom:20px;
}

.porque-elegirnos-texto p:last-child{
    margin-bottom:0;
}

.seo-beneficios{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:18px;
}

.seo-badge{
    background:#ffffff;

    border:2px solid #d8e7f5;

    color:#003f7d;

    padding:14px 24px;

    border-radius:50px;

    font-size:17px;

    font-weight:700;

    box-shadow:0 4px 12px rgba(0,0,0,.08);

    transition:.3s;
}

.seo-badge:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 20px rgba(0,0,0,.12);
}