
/* PORTADA NORSEIN */

.hero {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* PORTADA NORSEIN */

.hero {
    width: 100%;
}

.cabecera {
    width: 100%;
    min-height: 600px;

    background-image: url("img/portada-norsein.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    box-sizing: border-box;
    position: relative;
}

/* CONTENIDO POR ENCIMA DE LA IMAGEN */

.hero-content {
    position: relative;
    z-index: 2;
}

/* MÓVIL */

@media (max-width: 768px) {
    .cabecera {
        min-height: 480px;
    }
}


.portada {
    width: 100%;
    min-height: 600px;

    display: flex;
    align-items: center;

    background-image:
        linear-gradient(
            90deg,
            rgba(16, 44, 77, 0.25),
         
        ),
        url("img/fondocielo.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 80px 8%;
    box-sizing: border-box;
}

.hero-content {
    max-width: 650px;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.hero-content .eyebrow {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-content h1 {
    color: #ffffff;
    font-size: clamp(36px, 5vw, 55px);
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero-content p {
    color: #ffffff;
    font-size: 17px;
    line-height: 1.7;
}

/* MÓVIL */

@media (max-width: 768px) {

    .portada {
        min-height: 480px;
        padding: 60px 25px;
        background-position: center;
    }

    .hero-content h1 {
        font-size: 36px;
    }
}

.instalaciones-hero {
    min-height: 440px;
    display: flex;
    align-items: center;

    background:
        linear-gradient(
              90deg,
            rgba(16, 44, 77, 0.88) 0%,
            rgba(16, 44, 77, 0.65) 55%,
            rgba(16, 44, 77, 0.25) 100%
        ),
        url("../img/instalaciones.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 80px 8%;
    color: #fff;
}


.mantenimiento-hero {
    background-image:
        linear-gradient(
            90deg,
            rgba(16, 44, 77, 0.88) 0%,
            rgba(16, 44, 77, 0.65) 55%,
            rgba(16, 44, 77, 0.25) 100%
        ),
        url("../img/mantenimiento.jpg");
}

/* SECCIÓN UNIDAD INTERIOR */

.instalacion-interior {
    padding: 90px 7%;
    background: #f5f8fb;
}

.interior-contenido {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 65px;
}

.interior-imagen {
    width: 100%;
    height: 430px;
    overflow: hidden;
    border-radius: 5px;
}

.interior-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.interior-etiqueta {
    color: #1686c9;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 20px;
}

.interior-texto h2 {
    color: #17365b;
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.25;
    margin: 0 0 25px;
}

.interior-texto p {
    color: #687789;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 18px;
}

.interior-boton {
    display: inline-block;
    margin-top: 15px;
    padding: 14px 25px;
    background: #1686c9;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: background .3s ease;
}

.interior-boton:hover {
    background: #0870ae;
}

@media (max-width: 768px) {

    .instalacion-interior {
        padding: 60px 25px;
    }

    .interior-contenido {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .interior-imagen {
        height: 300px;
    }
}

/* IMAGEN A ANCHO COMPLETO */

.imagen-ancho-completo {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.imagen-ancho-completo img {
    display: block;
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .imagen-ancho-completo img {
        height: 250px;
    }
}

.imagen-responsive {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}