/**
 * Portada (antes, la página 34 de Elementor y su par 604 en inglés).
 * Diapositivas con fundido, Nosotros y Red de agencias. Medidas de producción.
 */

/* ── Diapositivas (el carrusel «Slides» de Elementor) ────────────────── */

.mt-carrusel { position: relative; height: 650px; overflow: hidden; }
.mt-carrusel__pista { position: absolute; inset: 0; }
.mt-carrusel__diapo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease, visibility 0s linear .5s;
}
.mt-carrusel__diapo.es-activa { z-index: 1; opacity: 1; visibility: visible; transition: opacity .5s ease; }
.mt-carrusel__fondo { position: absolute; inset: 0; background-size: cover; background-position: 50%; }
.mt-carrusel__velo { position: absolute; inset: 0; background: rgba(0, 0, 0, .54); }
.mt-carrusel__titulo {
    position: relative;
    max-width: 100%;
    font-family: var(--mt-roboto);
    font-size: 50px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
}
.mt-carrusel__flecha {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    padding: 0;
    border: 0;
    background: none;
    font-size: 25px;
    color: rgba(238, 238, 238, .9);
    transform: translateY(-50%);
    cursor: pointer;
}
.mt-carrusel__flecha svg { display: block; width: 1em; height: 1em; fill: currentColor; }
.mt-carrusel__flecha--ant { left: 10px; }
.mt-carrusel__flecha--sig { right: 10px; }
.mt-carrusel__puntos { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; display: flex; justify-content: center; }
.mt-carrusel__punto {
    width: 6px;
    height: 6px;
    margin: 0 6px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #000;
    opacity: .2;
    cursor: pointer;
}
.mt-carrusel__punto.es-activo { opacity: 1; }

@media (max-width: 767px) {
    .mt-carrusel__diapo { padding: 30px; }
    .mt-carrusel__titulo { margin-bottom: 15px; font-size: 35px; }
}

/* ── Nosotros ────────────────────────────────────────────────────────── */

.mt-nos { padding: 80px 20px; }
.mt-nos__dentro { max-width: var(--mt-caja); margin: 0 auto; padding: 10px; }
.mt-nos__dentro > * + * { margin-top: 20px; }
.mt-nos__foto { min-height: 250px; background-size: cover; }
.mt-nos__titulo { font-family: var(--mt-roboto); font-size: 30px; font-weight: 600; line-height: 1; color: #FF0000; }
.mt-nos__texto { font-family: var(--mt-roboto); font-size: 15px; line-height: 1.7; color: var(--mt-gris); text-align: justify; }

@media (max-width: 1024px) {
    .mt-nos__foto { min-height: 200px; background-position: center center; }
}
@media (max-width: 767px) {
    .mt-nos__foto { min-height: 138px; }
}

/* ── Red de agencias ─────────────────────────────────────────────────── */

.mt-agencias { padding: 80px 0; background: #F0F0F0; }
.mt-agencias__titulo {
    max-width: var(--mt-caja);
    margin: 0 auto;
    padding: 10px;
    font-family: var(--mt-roboto);
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    color: #E31D1A;
    text-align: center;
}
.mt-agencias__mapa { max-width: var(--mt-caja); margin: 10px auto 0; padding: 10px 15px; text-align: center; line-height: 0; }
.mt-agencias__titulo + .mt-agencias__mapa { margin-top: 10px; }
.mt-agencias__mapa img { display: inline-block; max-width: 100%; height: auto; }

@media (max-width: 767px) {
    .mt-agencias__mapa { padding: 20px; }
}
