/*
 * +Metros: lo común de todo el sitio (25-sep-2026, etapa 2 del rediseño, «un solo sitio»).
 *
 * Son los mismos valores que las páginas de sucursal (partials/sucursal/piloto.htm, clases .sv2), para que pasar de
 * la home a una sucursal no parezca cambiar de sitio. main.css queda como está: es de Squad y el navegador lo guarda
 * 10 años (?version=1.0.8). Este archivo carga después de main.css; si se cambia, subir el ?v= del layout.
 *
 * Reglas de marca:
 * - El verde va sólo de fondo, con texto noche. Nunca verde sobre blanco ni texto verde.
 * - Tres botones: verde (la acción principal de la pantalla, una sola), índigo (la segunda) y borde (la tercera).
 */

:root {
    --mm-indigo: #1e1688;
    --mm-noche: #120c5a;
    --mm-violeta: #4f42e1;
    --mm-lila: #c9c4ff;
    --mm-lavanda: #f4f3ff;
    --mm-lavanda-2: #e3e0ff;
    --mm-verde: #63d90f;
    --mm-verde-hover: #57c40b;
    --mm-tinta: #1b1a33;
    --mm-gris: #5b5a72;
    --mm-borde: rgba(30, 22, 136, .12);
    --mm-texto-sobre-noche: #dcdaf7;
    --mm-fuente: basic-sans, sans-serif;

    --mm-radio-chico: 10px;
    --mm-radio: 14px;
    --mm-radio-tarjeta: 20px;
    --mm-radio-bloque: 28px;

    --mm-sombra-tarjeta: 0 18px 40px -30px rgba(30, 22, 136, .45);
    --mm-sombra-alta: 0 22px 40px -26px rgba(30, 22, 136, .5);

    --mm-espacio-1: .5rem;
    --mm-espacio-2: 1rem;
    --mm-espacio-3: 1.5rem;
    --mm-espacio-4: 2.5rem;
    --mm-espacio-5: 4rem;

    --mm-curva: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Botones ---------- */

.mm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 48px;
    padding: .65rem 1.3rem;
    border: 0;
    border-radius: var(--mm-radio);
    font-family: var(--mm-fuente);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .2s var(--mm-curva), background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.mm-btn:hover { transform: translateY(-1px); }
.mm-btn:active { transform: translateY(0) scale(.98); }
.mm-btn:focus-visible { outline: 3px solid var(--mm-violeta); outline-offset: 3px; }

.mm-btn-verde { background: var(--mm-verde); color: var(--mm-noche); box-shadow: 0 10px 24px -14px rgba(99, 217, 15, .9); }
.mm-btn-verde:hover, .mm-btn-verde:focus { background: var(--mm-verde-hover); color: var(--mm-noche); }

.mm-btn-indigo { background: var(--mm-indigo); color: #fff; }
.mm-btn-indigo:hover, .mm-btn-indigo:focus { background: var(--mm-noche); color: #fff; }

.mm-btn-borde { background: transparent; color: var(--mm-indigo); box-shadow: inset 0 0 0 2px var(--mm-indigo); }
.mm-btn-borde:hover, .mm-btn-borde:focus { background: var(--mm-lavanda); color: var(--mm-indigo); }

@media (prefers-reduced-motion: reduce) {
    .mm-btn, .mm-btn:hover, .mm-btn:active { transition: none; transform: none; }
}

/* ---------- Encabezado ---------- */

/* El mismo en todas las páginas: blanco casi opaco (antes era 25 % en las internas y el texto de abajo se leía
   a través) y sin la barra negra de teléfonos y redes, que ya no estaba en las sucursales. */
:root body .site-header,
:root body .site-header .site-navbar {
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    backdrop-filter: saturate(1.4) blur(10px);
}
.site-header { box-shadow: 0 1px 0 var(--mm-borde), 0 10px 24px -22px rgba(18, 12, 90, .45); }
@media (min-width: 992px) {
    .site-navbar { padding: 18px 0; }
}
@media (min-width: 1200px) {
    /* Sin la hamburguesa, el logo va contra el borde. */
    .site-navbar .brand { margin-left: 0; }
}
.site-navbar .brand img { display: block; width: 169px; height: auto; }
@media (max-width: 480px) {
    .site-navbar .brand img { width: 140px; }
}

.mm-nav {
    list-style: none;
    margin: 0 2rem 0 auto;
    padding: 0;
    gap: 2rem;
    align-items: center;
}
.mm-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-family: var(--mm-fuente);
    font-size: 17px;
    font-weight: 700;
    color: var(--mm-indigo);
    text-decoration: none;
}
.mm-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    height: 3px;
    border-radius: 3px;
    background: var(--mm-violeta);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--mm-curva);
}
.mm-nav a:hover { color: var(--mm-violeta); }
.mm-nav a:hover::after,
.mm-nav a[aria-current="page"]::after { transform: scaleX(1); }
.mm-nav a:focus-visible { outline: 3px solid var(--mm-violeta); outline-offset: 4px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
    .mm-nav a::after { transition: none; }
}

/* Barra de avisos del panel (sólo cuando se prende desde el backend): en noche, con el primer texto en verde. */
.toolbar.mm-aviso { height: auto; background: var(--mm-noche); }
.toolbar.mm-aviso .toolbar-msg-1,
.toolbar.mm-aviso .toolbar-msg-2 { height: 42px; font-family: var(--mm-fuente); font-size: 15px; }
.toolbar.mm-aviso .toolbar-msg-1 { background: var(--mm-verde); color: var(--mm-noche); font-weight: 800; }
.toolbar.mm-aviso .toolbar-msg-2 { color: #fff; }

/* ---------- Pie ---------- */

/* El espacio de abajo va dentro del pie, así el fondo es uno solo (main.css le daba 100 px al footer en celular). */
.site-footer { background: var(--mm-noche) none; color: #fff; padding-bottom: 0; }

.mm-pie {
    padding: 4rem 0 2rem;
    font-family: var(--mm-fuente);
    /* La chapa acanalada de las bauleras, como arriba de todo en las páginas de sucursal. */
    background:
        radial-gradient(800px 420px at 100% 0%, rgba(79, 66, 225, .3), transparent 60%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 16px),
        var(--mm-noche);
}
.mm-pie a { color: #fff; }

.mm-pie-grilla {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
}
.mm-pie-marca,
.mm-pie-contacto-col { grid-column: 1 / -1; }
@media (min-width: 992px) {
    .mm-pie-grilla { grid-template-columns: minmax(0, 1.45fr) minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.15fr); }
    .mm-pie-marca,
    .mm-pie-contacto-col { grid-column: auto; }
}

.mm-pie-logo { display: inline-block; }
.mm-pie-logo img { display: block; width: 150px; height: auto; }
.mm-pie-marca p {
    max-width: 23rem;
    margin: 1rem 0 1.75rem;
    color: var(--mm-texto-sobre-noche);
    font-size: 16px;
    line-height: 1.5;
}

/* Kike con el globo, el mismo de las páginas de sucursal. */
.mm-pie-kike {
    display: inline-flex;
    align-items: flex-end;
    gap: .25rem;
    max-width: 24rem;
    color: var(--mm-tinta);
    text-decoration: none;
}
/* Kike asoma de un círculo lavanda: la cabeza sale por arriba y los pies quedan adentro. */
.mm-pie-kike-foto { position: relative; flex-shrink: 0; width: 118px; height: 150px; }
.mm-pie-kike-foto::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 118px;
    border-radius: 50%;
    background: var(--mm-lavanda-2);
    box-shadow: inset 0 0 0 1.5px #9d97c9;
}
.mm-pie-kike-foto img {
    position: relative;
    display: block;
    width: 118px;
    height: 150px;
    object-fit: contain;
    object-position: 50% 100%;
    clip-path: inset(0 round 0 0 59px 59px);
}
.mm-pie-kike-globo {
    position: relative;
    align-self: center;
    color: var(--mm-tinta);
    margin-left: .75rem;
    padding: .55rem .85rem;
    background: #fff;
    border: 2px solid var(--mm-tinta);
    border-radius: 18px 12px 16px 10px / 10px 16px 12px 18px;
    box-shadow: 0 10px 20px -14px rgba(0, 0, 0, .55);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    transition: transform .18s var(--mm-curva);
}
.mm-pie-kike-globo::before {
    content: "";
    position: absolute;
    left: -9px;
    top: 50%;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    background: #fff;
    border-left: 2px solid var(--mm-tinta);
    border-bottom: 2px solid var(--mm-tinta);
    transform: rotate(45deg);
}
.mm-pie-kike-globo strong { color: var(--mm-indigo); font-weight: 800; }
.mm-pie-kike-globo .mm-wa { color: #128c7e; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.mm-pie-kike:hover .mm-pie-kike-globo,
.mm-pie-kike:focus-visible .mm-pie-kike-globo { transform: translateX(3px); }
.mm-pie-kike:focus-visible { outline: 3px solid var(--mm-lila); outline-offset: 4px; border-radius: 18px; }

.mm-pie-titulo {
    margin: 0 0 .9rem;
    font-family: var(--mm-fuente);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--mm-lila);
}
.mm-pie-lista {
    display: grid;
    gap: .1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.mm-pie-lista a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: #eceaff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}
.mm-pie-lista a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.mm-pie-lista a:focus-visible,
.mm-pie-redes a:focus-visible { outline: 3px solid var(--mm-lila); outline-offset: 2px; border-radius: 6px; }
.mm-pie-contacto a { font-variant-numeric: tabular-nums; }
.mm-pie-contacto small { display: block; color: var(--mm-texto-sobre-noche); font-size: 13px; font-weight: 600; }
.mm-pie-contacto a { flex-direction: column; align-items: flex-start; justify-content: center; min-height: 48px; }

.mm-pie-redes { display: flex; gap: 1rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.mm-pie-redes a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    transition: background-color .2s ease;
}
.mm-pie-redes a:hover { background: rgba(255, 255, 255, .16); }
.mm-pie-redes img { width: 24px; height: 24px; }

/* Todo a la izquierda: a la derecha quedan los flotantes de WhatsApp y «Reservá online». */
.mm-pie-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: .75rem 1.75rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .14);
    color: var(--mm-texto-sobre-noche);
    font-size: 14px;
}
.mm-pie-legal p { margin: 0; }
.mm-pie-legal .powered-by-squad { opacity: .7; transition: opacity .2s ease; }
.mm-pie-legal .powered-by-squad:hover { opacity: 1; }

/* Abajo, lugar para los flotantes (WhatsApp y «Reservá online») y el selector de idioma, que si no tapan la franja
   legal al llegar al final de la página. */
@media (min-width: 992px) {
    .mm-pie { padding-bottom: 7.5rem; }
}
@media (max-width: 991px) {
    .mm-pie { padding-top: 3rem; padding-bottom: calc(2rem + 100px); }
}

/* 26-sep-2026: el selector de idioma (GTranslate, dropdown.js) vive en la franja legal del pie. Antes flotaba abajo a
   la izquierda y tapaba texto al bajar. */
.mm-pie-idioma { display: inline-flex; align-items: center; gap: .5rem; }
.mm-pie-idioma label { margin: 0; color: var(--mm-texto-sobre-noche); font-size: 14px; }
.mm-pie-idioma select,
.mm-pie-idioma .gt_selector {
    min-height: 36px;
    padding: .3rem 2rem .3rem .7rem;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9c4ff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .55rem center / 14px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 8px;
    color: #eceaff;
    font-family: var(--mm-fuente);
    font-size: 14px;
    font-weight: 600;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}
.mm-pie-idioma select:focus-visible,
.mm-pie-idioma .gt_selector:focus-visible { outline: 3px solid var(--mm-lila); outline-offset: 2px; }
.mm-pie-idioma option { color: var(--mm-tinta); background: #fff; }
