/* Fila para misión y visión en escritorio */
.cards-mv-row {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    justify-content: center;
    align-items: stretch;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
@media (max-width: 900px) {
    .cards-mv-row {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
}
@media (min-width: 2000px) {
    .main-inicio {
        width: 100vw;
        max-width: 100vw;
        padding-bottom: 2rem;
    }
    .galeria-mosaico {
        width: 100vw;
        max-width: 98vw;
        min-height: 70vh;
        border-radius: 32px;
    }
    .fila-mosaico img {
        height: 520px;
        min-height: 320px;
        max-height: 700px;
        width: 33.33%;
        border-radius: 18px;
        opacity: 0.92;
        box-shadow: 0 4px 32px rgba(0,0,0,0.18);
        filter: brightness(1.05) saturate(1.15);
    }
    .galeria-titulo {
        padding: 3.5rem 7rem;
        border-radius: 32px;
        box-shadow: 0 6px 32px rgba(0,0,0,0.22);
    }
    .galeria-titulo h2 {
        font-size: 7rem;
        letter-spacing: 8px;
    }
    .descripcion-inicio {
        margin-top: 5rem;
    }
    .frase-ecuatoriano {
        font-size: 3.2rem;
    }
    .empresa-desc {
        font-size: 2.5rem;
    }
    .frase-funcione {
        font-size: 2.8rem;
    }
    .footer {
        font-size: 2.2rem;
        padding: 2.5rem 0;
    }
    .nav-inicio a {
        font-size: 2.2rem;
        padding: 1.2rem 2.5rem;
    }
    .header-titulo {
        font-size: 3.5rem;
    }
    .logo {
        max-width: 180px;
    }
}
@media (max-width: 900px) {
    /* Imagen 2.2.jpg.jpeg debajo de las otras solo en .servicio-imgs de la sección correspondiente */
    .servicio-imgs img[src$="2.2.jpg.jpeg"] {
        display: none !important;
    }
    .servicio-imgs {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .main-inicio {
        width: 100vw;
        max-width: 100vw;
        box-sizing: border-box;
    }
    .galeria-mosaico {
        width: 98vw;
        max-width: 100vw;
    }
}
@media (max-width: 600px) {
    .main-inicio {
        width: 100vw;
        max-width: 100vw;
        box-sizing: border-box;
    }
    .galeria-mosaico {
        width: 99vw;
        max-width: 100vw;
    }
}
.footer a {
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 500;
}
.footer a:hover, .footer a:focus {
    color: #fff !important;
    text-decoration: none !important;
}
html, body {
    max-width: 100vw;
    overflow-x: hidden;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.contacto-redes {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    background: #f4f4f4;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,119,204,0.07);
    margin: 2.5rem auto 2rem auto;
    padding: 2.5rem 1rem 2rem 1rem;
    max-width: 500px;
}
.contacto-redes h2 {
    color: #0077cc;
    margin-bottom: 2rem;
    font-size: 2rem;
    letter-spacing: 1px;
}
.redes-contacto {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
    width: 100%;
    align-items: center;
}
.btn-red {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(90deg, #b30000 0%, #ff5252 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1.13rem;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(179,0,0,0.10);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    border: none;
    width: 100%;
    max-width: 350px;
    justify-content: center;
}
.btn-red:hover, .btn-red:focus {
    background: linear-gradient(90deg, #ff5252 0%, #b30000 100%);
    color: #fff;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 18px rgba(179,0,0,0.18);
}
.icono-red {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.10));
}
@media (max-width: 600px) {
    .contacto-redes {
        padding: 1.2rem 0.2rem 1.2rem 0.2rem;
        min-height: 40vh;
    }
    .btn-red {
        font-size: 1rem;
        padding: 0.7rem 0.5rem;
    }
    .icono-red {
        width: 22px;
        height: 22px;
    }
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2vw;
    min-height: 90px;
    position: relative;
}
.logo-titulo {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}
.header-titulo {
    font-size: 2.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    margin-left: 0.2rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.logo {
    width: 70px;
    min-width: 50px;
    margin-bottom: 0;
}
.nav-inicio {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2000;
    margin: 0 auto;
    position: relative;
}
.hamburger span {
    display: block;
    width: 28px;
    height: 4px;
    margin: 4px 0;
    background: #b30000;
    border-radius: 2px;
    transition: all 0.3s;
}
.hamburger.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
@media (max-width: 900px) {
    .header-content {
        padding: 0 1vw;
    }
    .header-titulo {
        font-size: 1.4rem;
    }
    .logo {
        width: 48px;
    }
}
@media (max-width: 700px) {
    .header-content {
        overflow: visible;
    }
    .nav-inicio {
        position: absolute;
        top: 70px;
        right: 0;
        background: none;
        flex-direction: column;
        align-items: center;
        width: 220px;
        box-shadow: none;
        border-radius: 0;
        padding: 1.2rem 1.2rem 1.2rem 1.5rem;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-20px);
        transition: opacity 0.25s, transform 0.25s;
        z-index: 1500;
    }
    .nav-inicio.nav-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
    .nav-inicio a {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
        justify-content: center;
        display: flex;
    }
    .hamburger {
        display: flex;
        position: absolute;
        right: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
        z-index: 3000;
        background: none;
        box-shadow: none;
    }
}
.header-inicio {
    background: #e0e0e0;
    border-bottom: 2px solid #b30000;
}
.logo-rojo {
    filter: brightness(0) saturate(100%) invert(13%) sepia(99%) saturate(7492%) hue-rotate(357deg) brightness(97%) contrast(119%);
}
.titulo-blanco {
    color: #fff !important;
    letter-spacing: 2px;
    margin-bottom: 0.2rem;
}
.subtitulo-blanco {
    color: #fff;
    font-weight: 400;
    letter-spacing: 1.5px;
    margin-top: 0;
    margin-bottom: 1.5rem;
}
.nav-inicio a {
    background: #b30000;
    color: #fff;
    border: 2px solid #b30000;
    border-radius: 30px;
    padding: 0.7rem 2.2rem;
    margin: 0 0.5rem;
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.13);
    transition: background 0.2s, color 0.2s, border 0.2s, transform 0.2s, box-shadow 0.2s;
    outline: none;
    position: relative;
    overflow: hidden;
}
.nav-inicio a:hover, .nav-inicio a:focus {
    background: #fff;
    color: #b30000;
    border-color: #b30000;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 18px rgba(179,0,0,0.18);
}
.main-inicio {
    background: #111;
    width: 90vw;
    max-width: 1250px;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.portada {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 0 1.5rem 0;
}
.portada-titulos {
    text-align: center;
    margin-bottom: 1.5rem;
}

.galeria-mosaico {
    position: relative;
    width: 90vw;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    border-radius: 18px;
    overflow: hidden;
}
.fila-mosaico {
    display: flex;
    gap: 0;
}
.fila-mosaico img {
    flex: 1 1 0;
    width: 33.33%;
    height: 32vh;
    min-height: 220px;
    max-height: 340px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    background: #222;
    border: none;
    opacity: 0.8;
    transition: opacity 0.2s, filter 0.2s;
    filter: brightness(0.95) saturate(1.1);
}
.fila-mosaico img:hover {
    opacity: 1;
    filter: brightness(1.05) saturate(1.2);
}
.galeria-titulo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background: rgba(0,0,0,0.45);
    padding: 1.7rem 3.5rem;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.galeria-titulo h2 {
    color: #fff;
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin: 0;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
@media (max-width: 900px) {
    .galeria-mosaico {
        min-height: 40vh;
    }
    .fila-mosaico img {
        height: 70px;
        min-height: 55px;
        max-height: 90px;
        width: 100%;
        max-width: 120px;
        border-radius: 8px !important;
        flex: 1 1 0;
        box-sizing: border-box;
        object-fit: cover;
        overflow: hidden;
    }
    }

@media (max-width: 600px) {
    .galeria-mosaico {
        max-width: 85vw;
        min-height: 30vh;
        padding: 0.5rem 0rem;
    }
    .fila-mosaico img {
        height: 70px;
        min-height: 55px;
        max-height: 90px;
        width: 33vw;
        max-width: 120px;
        border-radius: 6px;
    }
    .galeria-titulo {
        padding: 0.7rem 1.2rem;
        border-radius: 10px;
    }
    .galeria-titulo h2 {
        font-size: 1.05rem;
        letter-spacing: 1.5px;
    }
}
.descripcion-inicio {
    text-align: center;
    margin-top: 2.5rem;
}
.frase-ecuatoriano {
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.7rem;
}
.empresa-desc {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}
.frase-funcione {
    color: #b30000;
    font-size: 1.25rem;
    font-weight: bold;
    margin-top: 1.2rem;
}

@media (max-width: 900px) {
    .fila-fotos img {
        width: 120px;
        height: 80px;
    }
    .portada {
        padding: 1.5rem 0 1rem 0;
    }
}
@media (max-width: 600px) {
    .fila-fotos {
        flex-direction: column;
        gap: 0.7rem;
    }
    .fila-fotos img {
        width: 95vw;
        max-width: 320px;
        height: 60vw;
        max-height: 160px;
    }
    .portada-galeria {
        gap: 0.7rem;
    }
    .descripcion-inicio {
        margin-top: 1.2rem;
    }
}
.servicio {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 119, 204, 0.10), 0 1.5px 6px rgba(0,180,216,0.08);
    margin: 2rem 0;
    padding: 1.5rem 1rem;
    gap: 2rem;
    transition: box-shadow 0.2s;
    flex-wrap: wrap;
}
.servicio:hover {
    box-shadow: 0 4px 18px rgba(0, 119, 204, 0.18), 0 2px 8px rgba(0,180,216,0.12);
}
.servicio-imgs {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    align-items: center;
    min-width: 120px;
    max-width: 240px;
}
.servicio-imgs img, .servicio-imgs video {
    width: 220px;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.10);
    background: #eaeaea;
}
.servicio p {
    color: #333;
    font-size: 1.08rem;
    margin: 0;
    flex: 1 1 200px;
    text-align: left;
}

@media (max-width: 900px) {
    .servicio {
        flex-direction: column;
        align-items: center;
        padding: 1.2rem 0.5rem;
        gap: 1rem;
    }
    .servicio-imgs {
        flex-direction: row;
        gap: 0.5rem;
        max-width: 100%;
    }
    .servicio-imgs img, .servicio-imgs video {
        width: 130px;
        height: 90px;
    }
    .servicio p {
        font-size: 1rem;
        text-align: left;
    }
}

@media (max-width: 600px) {
    .servicio {
        padding: 0.7rem 0.2rem;
    }
    .servicio-imgs img, .servicio-imgs video {
        width: 135px;
        height: 115px;
    }
}    
    .servicio p {
        font-size: 0.97rem;
@media (width: 1320px) and (height: 2868px) {
    .servicio-imgs img {
        width: 540px !important;
        height: 400px !important;
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
    }
    .servicio-imgs,
    .servicio-imgs * {
        font-size: 0.85em !important;
    }
}
}
.card-mv {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 119, 204, 0.10), 0 1.5px 6px rgba(0,180,216,0.08);
    padding: 2rem 1.5rem;
    max-width: 350px;
    min-width: 260px;
    flex: 1 1 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 5px solid #b30000;
    transition: box-shadow 0.2s;
}
.card-mv:hover {
    box-shadow: 0 4px 18px rgba(0, 119, 204, 0.18), 0 2px 8px rgba(0,180,216,0.12);
}
.card-mv h3 {
    color: #b30000;
    margin-bottom: 0.7rem;
    margin-top: 0;
}
.card-mv p {
    color: #333;
    font-size: 1.05rem;
    text-align: center;
}
.nav {
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.nav a {
    display: inline-block;
    margin: 0 0.7rem;
    padding: 0.6rem 1.7rem;
    background: #b30000;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 1px;
    border: none;
    box-shadow: 0 2px 8px rgba(179,0,0,0.10);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    outline: none;
    position: relative;
    overflow: hidden;
}
.nav a:hover, .nav a:focus {
    background: #fff;
    color: #b30000;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 18px rgba(179,0,0,0.18);
}
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    color: #222;
}

.header {
    background: #757575;
    color: #fff;
    text-align: center;
    padding: 2rem 1rem 1rem 1rem;
}
.logo {
    width: 100px;
    margin-bottom: 1rem;
}
.slogan {
    font-size: 1.2rem;
    margin-top: 0.5rem;
    color: #e0e0e0;
}

main {
    max-width: 900px;
    margin: 2rem auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 2rem;
}

.descripcion h2 {
    color: #b30000;
    margin-bottom: 0.5rem;
}
.descripcion p {
    font-size: 1.1rem;
    color: #444;
}

.galeria {
    margin-top: 2rem;
}
.galeria h2 {
    color: #0077cc;
}
.imagenes {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}
.imagenes img {
    width: 220px;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.10);
    background: #eaeaea;
}

.contacto {
    margin-top: 2rem;
    text-align: center;
}
.contacto h2 {
    color: #0077cc;
}
.btn {
    display: inline-block;
    margin: 0.5rem 1rem;
    padding: 0.7rem 1.5rem;
    background: #0077cc;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s;
}
.btn:hover {
    background: #005fa3;
}

.footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}