/* simd-offices.css: estilos exclusivos de pagina. */
.simd-ui-offices-banner {
    background: url('../img/servicios/banner-electricas.png') center center/cover no-repeat;
    height: 280px;
    position: relative;
    margin-bottom: 15px;
    width: 92%;
    border-radius: 0px;
    display: flex;
    align-items: center;
    margin-left: 4%;
}
.simd-ui-offices-banner-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .55);
    display: flex;
    align-items: center;
    border-radius: 0px;
}
.simd-ui-offices-banner h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 800;
    margin: 0;
}
.simd-ui-offices-cta {
    background: url('../img/servicios/cta-electricas.png') center center/cover no-repeat;
    position: relative;
    margin-top: 20px;
}
.simd-ui-offices-cta-overlay {
    background: rgba(0, 0, 0, .55);
    padding: 80px 0;
    text-align: left;
}
.simd-ui-offices-cta h2 {
    color: #fff;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}
.simd-ui-offices-cta h2 span {
    color: #ffffff;
}
.simd-ui-offices-cta p {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
}
.simd-ui-offices-contact-button {
    background: #ffffff;
    color: #000;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
}
.simd-ui-offices-contact-button:hover {
    background: #1c819c;
    color: #fff;
}
@media(max-width:768px) {
    .simd-ui-offices-banner h1 {
        font-size: 2rem;
    }
    .simd-ui-offices-cta h2 {
        font-size: 2rem;
    }
    .simd-ui-offices-banner {
        margin: 0;
        padding: 0;
        height: 180px;
        width: 100vw;
    }
}
.simd-ui-offices-services {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0;
    padding: 0;
    gap: 0;
    width: 100vw;
}
@media(max-width:768px) {
    .simd-ui-offices-services {
        font-size: .5rem;
    }
    .simd-ui-offices-services * {
        font-size: inherit;
    }
}
.simd-ui-offices-gallery {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
    width: 90%;
    height: 720px;
    overflow: hidden;
    position: relative;
    margin-left: 50px;
}
.simd-ui-offices-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    object-position: center center;
}
@media (max-width:768px) {
    .simd-ui-offices-gallery {
        height: 320px;
    }
}
.simd-ui-offices-intro {
    background: linear-gradient(90deg, #202020 0%, #5d5d5d 100%);
    color: #ffffff;
    padding: 30px 190px;
    position: relative;
    width: 105%;
    top: 20px;
    margin-left: -60px;
    margin-bottom: 20px;
    font-size: 1.2rem;
}
.simd-ui-offices-intro::after {
    content: "";
    position: absolute;
    top: 0px;
    right: 0;
    width: 0;
    height: 0;
    border-top: 160px solid #ffffff;
    border-left: 160px solid transparent;
}
.simd-ui-offices-intro p {
    line-height: 2;
}
@media(max-width:768px) {
    .simd-ui-offices-intro {
        background: linear-gradient(90deg, #202020 0%, #5d5d5d 100%);
        color: #ffffff;
        padding: 20px 30px;
        position: relative;
        width: 105%;
        top: 5px;
        margin-left: 0px;
        margin-bottom: 15vw;
        font-size: .5rem;
    }
    .simd-ui-offices-intro::after {
        content: "";
        position: absolute;
        top: 0px;
        right: 0;
        width: 0;
        height: 0;
        border-top: 0px solid #ffffff;
        border-left: 0px solid transparent;
    }
    .simd-ui-offices-intro p {
        line-height: 2;
        font-size: .5rem;
    }
    .simd-ui-offices-services {
        margin-top: 300px;
    }
    .simd-ui-offices-gallery {
        width: 100%;
        height: 500px;
        overflow: hidden;
        position: relative;
        margin: 0;
    }
    .simd-ui-offices-content {
        margin-top: -50px;
    }
    .simd-ui-offices-services * {
        font-size: .5rem;
    }
}
.simd-ui-offices-feature {
    display: grid;
    grid-template-columns: 58% 42%;
    grid-template-rows: minmax(90px, auto) minmax(30px, auto) minmax(120px, auto);
    grid-template-areas: "icono imagen"
        "titulo imagen"
        "texto  imagen";
    width: 100%;
    max-width: 1340px;
    margin: 0 auto;
    align-items: stretch;
}
.simd-ui-offices-feature-icon {
    grid-area: icono;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 10px 20px 5px;
}
.simd-ui-offices-feature-icon img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 150px;
    object-fit: contain;
}
.simd-ui-offices-feature-title {
    grid-area: titulo;
    height: 40px;
    width: 800px;
    margin-left: -20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 20px;
    padding: 5px 5px;
    background: linear-gradient(90deg,
            #111111 0%,
            #444444 65%,
            #777777 100%);
    clip-path: polygon(0 0,
            100% 0,
            100% 100%,
            10% 100%);
}
.simd-ui-offices-feature-title h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}
.simd-ui-offices-feature-copy {
    grid-area: texto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 14px 25px 20px;
}
.simd-ui-offices-feature-copy p {
    max-width: 420px;
    margin: 0;
    color: #222222;
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: center;
    font-weight: 700;
}
.simd-ui-offices-feature-image {
    height: 5vw;
    grid-area: imagen;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}
.simd-ui-offices-feature-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.simd-ui-offices-service {
    display: grid;
    grid-template-rows: 150px 40px minmax(120px, auto);
    min-width: 0;
    overflow: visible;
}
.simd-ui-offices-service-icon {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 10px 20px 5px;
}
.simd-ui-offices-service-icon img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 100px;
    object-fit: contain;
}
.simd-ui-offices-service-title {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    min-height: 40px;
    padding: 5px;
    box-sizing: border-box;
    overflow: visible;
}
.simd-ui-offices-service-title-left {
    width: calc(100% + 20px);
    margin-left: -20px;
    background: linear-gradient(90deg,
            #111111 0%,
            #444444 65%,
            #777777 100%);
    clip-path: polygon(0 0,
            100% 0,
            100% 100%,
            10% 100%);
}
.simd-ui-offices-service-title-right {
    width: calc(100% + 20px);
    margin-left: -5px;
    margin-right: -20px;
    background: linear-gradient(90deg,
            #777777 0%,
            #444444 35%,
            #111111 100%);
    clip-path: polygon(0 0,
            90% 0,
            100% 100%,
            0% 100%);
}
.simd-ui-offices-service-title h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin: 0;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    position: relative;
    z-index: 3;
    margin: 0;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}
.simd-ui-offices-service-copy {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 14px 35px 20px;
}
.simd-ui-offices-service-copy p {
    width: 100%;
    max-width: 430px;
    margin: 0;
    color: #222222;
    font-size: 1rem;
    line-height: 1.55;
    font-weight: 700;
    text-align: center;
}
@media (max-width: 991px) {
    .simd-ui-offices-feature-image {
        width: 90hw;
        grid-area: imagen;
        position: relative;
        overflow: hidden;
        min-height: 500px;
    }
    .simd-ui-offices-feature {
        display: grid;
        grid-template-columns: 58% 42%;
        grid-template-rows: minmax(90px, auto) minmax(30px, auto) minmax(120px, auto);
        grid-template-areas: "icono imagen"
            "titulo imagen"
            "texto  imagen";
        width: 100%;
        max-width: 1300px;
        margin: 0 auto;
        align-items: stretch;
    }
    .simd-ui-offices-feature-icon {
        grid-area: icono;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        padding: 10px 20px 5px;
    }
    .simd-ui-offices-feature-icon img {
        display: block;
        width: auto;
        max-width: 100%;
        height: 130px;
        object-fit: contain;
    }
    .simd-ui-offices-feature-title {
        grid-area: titulo;
        max-height: 30px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 0;
        min-height: 20px;
        padding: 5px 5px;
        background: linear-gradient(90deg,
                #111111 0%,
                #444444 65%,
                #777777 100%);
        clip-path: polygon(0 0,
                100% 0,
                100% 100%,
                10% 100%);
    }
    .simd-ui-offices-feature-title h3 {
        margin: 0;
        color: #ffffff;
        font-size: .5rem;
        font-weight: 600;
        text-align: center;
    }
    .simd-ui-offices-feature-copy {
        grid-area: texto;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        padding: 14px 25px 20px;
    }
    .simd-ui-offices-feature-copy p {
        max-width: 420px;
        margin: 0;
        color: #222222;
        font-size: .5rem;
        line-height: 1.6;
        text-align: center;
        font-weight: 700;
    }
    .simd-ui-offices-feature-image {
        height: 5vw;
        grid-area: imagen;
        position: relative;
        overflow: hidden;
        min-height: 250px;
    }
    .simd-ui-offices-feature-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    .simd-ui-offices-services {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        max-width: 1300px;
        margin: 0 auto;
        gap: 0;
        align-items: stretch;
        overflow: visible;
    }
    .simd-ui-offices-service {
        display: grid;
        grid-template-rows: 150px 40px minmax(120px, auto);
        min-width: 0;
        overflow: visible;
    }
    .simd-ui-offices-service-icon {
        display: flex;
        justify-content: center;
        align-items: flex-end;
        padding: 10px 20px 5px;
    }
    .simd-ui-offices-service-icon img {
        display: block;
        width: auto;
        max-width: 100%;
        height: 150px;
        object-fit: contain;
    }
    .simd-ui-offices-service-title {
        position: relative;
        z-index: 5;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        min-height: 40px;
        padding: 5px;
        box-sizing: border-box;
        overflow: visible;
    }
    .simd-ui-offices-service-title-left {
        width: calc(100% + 20px);
        margin-left: -20px;
        background: linear-gradient(90deg,
                #111111 0%,
                #444444 65%,
                #777777 100%);
        clip-path: polygon(0 0,
                100% 0,
                100% 100%,
                10% 100%);
    }
    .simd-ui-offices-service-title-right {
        width: calc(100% + 20px);
        margin-left: -5px;
        margin-right: -20px;
        background: linear-gradient(90deg,
                #777777 0%,
                #444444 35%,
                #111111 100%);
        clip-path: polygon(0 0,
                90% 0,
                100% 100%,
                0% 100%);
    }
    .simd-ui-offices-service-title h3 {
        margin: 0;
        color: #ffffff;
        font-size: .5rem;
        font-weight: 600;
        text-align: center;
        margin: 0;
        color: #ffffff;
        font-size: .5rem;
        font-weight: 600;
        text-align: center;
        position: relative;
        z-index: 3;
        margin: 0;
        color: #ffffff;
        font-size: .5rem;
        font-weight: 600;
        text-align: center;
    }
    .simd-ui-offices-service-copy {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        padding: 14px 35px 20px;
    }
    .simd-ui-offices-service-copy p {
        width: 100%;
        max-width: 430px;
        margin: 0;
        color: #222222;
        font-size: .5rem;
        line-height: 1.55;
        font-weight: 700;
        text-align: center;
    }
}
