/*
 * SITIO 2026 (rediseno aprobado del 2026-11-25; incremento 1, issue #3071): cabecera, menus, selector de mercado,
 * portada y pie. Solo se enlaza con el interruptor encendido (templates/sitio-2026/cabeza.php).
 * Valores del paquete de diseno (index.css + site-editorial.css + site-final.css + site-buttons.css + site-fixes.css +
 * footer.css), medidos contra las capturas mx-01-home / us-01-home a 1440 y 390 px. Todo va con el prefijo s26- para no
 * tocar ni ser tocado por las hojas de siempre; css/home.css (que el sitio enlaza en la portada) fuerza su letra con
 * !important en h1..a/span, por eso aqui la letra y el peso van con !important dentro de los bloques del rediseno.
 */
:root {
	--s26-ink: #20211f;
	--s26-muted: #565b55;
	--s26-rule: #d7d9d4;
	--s26-paper: #f2f3ef;
	--s26-accent: #2455a6;
	/* Galano Grotesque (css/galano-grotesque.css, que cabeza.php enlaza antes que esta hoja; owner 2026-11-26). */
	--s26-type: var(--galano-type, system-ui, sans-serif);
	--s26-gutter: clamp(16px, 3.7vw, 48px);
	--s26-head: 68px;
	--s26-dock: 64px;
}

/* La letra del rediseno en sus bloques, encima de las reglas con !important de las hojas de siempre. */
/* Especificidad de un elemento (0,0,1): gana a las reglas de elemento de las hojas de siempre (esta hoja va despues)
   y pierde contra cualquier clase de abajo, que pone su propio peso. */
:where(.s26-head, .s26-mega, .s26-menu, .s26-home, .s26-foot, .s26-dock, .s26-skip) :is(h1, h2, h3, h4, h5, h6, p, a, span, small, em, label, button, input, select, textarea, li, dt, dd, address, div, summary, nav, ul) {
	font-family: var(--s26-type) !important;
	font-weight: inherit !important;
	text-transform: inherit;
}
/* La familia con especificidad de id: algunas paginas (el catalogo) ponen su letra con reglas mas fuertes que una clase. */
:is(#s26-head, #s26-mm-inmuebles, #s26-mm-muebles, #s26-menu, #s26-main, #s26-pie, #s26-dock),
:is(#s26-head, #s26-mm-inmuebles, #s26-mm-muebles, #s26-menu, #s26-main, #s26-pie, #s26-dock) * { font-family: var(--s26-type) !important; }
.s26-skip { font-family: var(--s26-type) !important; }
:where(.s26-head, .s26-mega, .s26-menu, .s26-home, .s26-foot, .s26-dock) :is(button, a) { text-transform: none; }
:where(.s26-head, .s26-mega, .s26-menu, .s26-home, .s26-foot, .s26-dock) :is(strong, b) { font-family: var(--s26-type) !important; font-weight: 800 !important; }
:is(.s26-head, .s26-mega, .s26-menu, .s26-home, .s26-foot, .s26-dock) { font-weight: 400 !important; color: var(--s26-ink); -webkit-font-smoothing: antialiased; }
:is(.s26-head, .s26-mega, .s26-menu, .s26-home, .s26-foot, .s26-dock) *,
:is(.s26-head, .s26-mega, .s26-menu, .s26-home, .s26-foot, .s26-dock) *::before,
:is(.s26-head, .s26-mega, .s26-menu, .s26-home, .s26-foot, .s26-dock) *::after { box-sizing: border-box; }
:where(.s26-head, .s26-mega, .s26-menu, .s26-home, .s26-foot) :is(h1, h2, h3, p, ul, dl, dd, address, figure) { margin: 0; padding: 0; }
:where(.s26-head, .s26-mega, .s26-menu, .s26-home, .s26-foot) ul { list-style: none; }
:where(.s26-head, .s26-mega, .s26-menu, .s26-home, .s26-foot, .s26-dock) svg { max-width: none !important; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:where(.s26-head, .s26-mega, .s26-menu, .s26-home, .s26-foot, .s26-dock) button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; height: auto; width: auto; box-shadow: none; overflow: visible; }
:is(.s26-head, .s26-mega, .s26-menu, .s26-home, .s26-foot, .s26-dock, .s26-wa) :is(a, button, summary, input):focus-visible { outline: 2px solid var(--s26-accent) !important; outline-offset: 3px; }

/* El documento: blanco en la portada; la cabecera pegada arriba necesita que nada del documento recorte con overflow:hidden. */
html:has(body.s26), body.s26 { overflow-x: clip !important; }
body.s26:has(.s26-home) { background: #fff !important; }
body.s26 { padding-top: 0 !important; }
.s26-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--s26-ink); color: #fff; padding: 10px 14px; border-radius: 999px; font: 800 13px var(--s26-type); text-decoration: none; }
.s26-skip:focus { top: 10px; }

.s26-wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--s26-gutter); box-sizing: border-box; }
/* Solo para lectores de pantalla (el nombre de Guardados y Carrito junto a su cuenta). */
.s26-vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
/* El destino de "Saltar al contenido" fuera de la portada: no ocupa lugar ni dibuja el contorno al recibir el foco. */
.s26-skip-destino { display: block; height: 0; outline: 0; }
#s26-main:focus { outline: 0; }
#s26-main { scroll-margin-top: var(--s26-head); }

/* ---------- Cabecera ---------- */
.s26-head { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--s26-rule); }
.s26-head__in { display: flex; align-items: center; height: var(--s26-head); gap: 0; }
.s26-logo { display: inline-flex; align-items: center; flex: none; }
.s26-logo img { display: block; height: 30px; width: auto; }
.s26-nav { display: flex; align-items: center; gap: 28px; margin-left: clamp(24px, 5vw, 72px); }
.s26-nav__item { display: inline-flex; align-items: center; gap: 2px; }
.s26-nav__link { position: relative; display: inline-flex; align-items: center; min-height: 32px; color: var(--s26-ink); text-decoration: none; font-size: 15px; font-weight: 700 !important; line-height: 1; white-space: nowrap; }
.s26-nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.s26-nav__link:hover::after, .s26-nav__link[aria-current=page]::after { transform: scaleX(1); }
.s26-nav__toggle { border: 0 !important; background: transparent !important; padding: 0 !important; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.s26-nav__toggle svg { width: 15px; height: 15px; stroke-width: 2; transition: transform .18s; }
.s26-nav__toggle[aria-expanded=true] svg { transform: rotate(180deg); }
.s26-nav__toggle:hover { background: var(--s26-paper) !important; }
.s26-tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.s26-icon { border: 0 !important; background: transparent !important; padding: 0 !important; position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--s26-ink); text-decoration: none; }
.s26-icon svg { width: 20px; height: 20px; }
.s26-icon:hover { background: var(--s26-paper) !important; }
.s26-badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--s26-ink); color: #fff; font-size: 11px; font-weight: 800 !important; line-height: 18px; text-align: center; }
.s26-badge:empty, .s26-badge[hidden] { display: none; }
.s26-burger { display: none; }

/* Selector de mercado */
.s26-market { position: relative; margin-right: 8px; }
.s26-market__trigger { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 12px; border: 1px solid #dbe3ed !important; border-radius: 999px; background: #f7f9fc !important; font-size: 13px; font-weight: 800 !important; letter-spacing: .04em; }
.s26-market__trigger svg { width: 20px; height: 20px; }
.s26-market__trigger[aria-expanded=true] { background: #eaf2fc !important; border-color: #adc5e5 !important; }
.s26-market__pop { max-width: none !important; position: absolute; right: 0; top: calc(100% + 8px); z-index: 45; width: 220px; padding: 8px; background: #fff; border: 1px solid var(--s26-rule); box-shadow: 0 18px 40px -24px #0004; }
.s26-market__pop[hidden] { display: none; }
.s26-market__title { padding: 6px 8px 8px; font-size: 11px; font-weight: 800 !important; letter-spacing: .14em; text-transform: uppercase; color: #465e7c; }
.s26-market__opt { border: 0 !important; background: #fff !important; border-radius: 0 !important; display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 6px 8px; color: var(--s26-ink); text-decoration: none; text-align: left; font-size: 15px; font-weight: 700 !important; }
.s26-market__opt small { display: block; font-size: 12px; font-weight: 500 !important; color: var(--s26-muted); }
.s26-market__opt svg { width: 18px; height: 18px; color: var(--s26-accent); stroke-width: 2.2; visibility: hidden; }
.s26-market__opt[aria-pressed=true] svg { visibility: visible; }
.s26-market__opt:hover { background: #edf4fc !important; }

/* Busqueda (el SearchBox de siempre, variante menu-mobile) */
.s26-buscar { border-top: 1px solid var(--s26-rule); background: #fff; padding: 14px 0 16px; }
.s26-buscar[hidden] { display: none; }
.s26-buscar .nm-buscar { max-width: 640px; }
.s26-buscar__in { display: flex; align-items: flex-end; gap: 8px; }
.s26-buscar__in > .nm-buscar { flex: 1 1 auto; min-width: 0; }
.s26-buscar__cerrar { flex: none; margin-bottom: 4px; }
.s26-buscar .nm-buscar-etiqueta { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 800 !important; letter-spacing: .14em; text-transform: uppercase; color: var(--s26-muted); }
.s26-buscar .nm-buscar-campo { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 6px 0 14px; border: 1px solid var(--s26-rule); background: #fff; }
.s26-buscar .nm-buscar-campo > svg, .s26-buscar .nm-buscar-campo > img { width: 20px; height: 20px; flex: none; }
.s26-buscar .nm-buscar-input { flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; font-size: 16px; background: transparent; color: var(--s26-ink); }
.s26-buscar .nm-buscar-ir { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--s26-ink); color: #fff; }
.s26-buscar .nm-buscar-ir svg, .s26-buscar .nm-buscar-ir img { width: 18px; height: 18px; }

/* Paneles de Inmuebles y Muebles (escritorio) */
.s26-mega { max-width: none !important; position: fixed; left: 0; right: 0; top: var(--s26-head); z-index: 39; background: #fff; border-bottom: 1px solid var(--s26-rule); box-shadow: 0 18px 40px -24px #0003; color: var(--s26-ink); animation: s26-in .16s ease-out; }
.s26-mega[hidden] { display: none; }
@keyframes s26-in { from { opacity: 0; transform: translateY(-4px); } }
.s26-mega__in { max-width: 1240px; margin: 0 auto; padding: 28px 24px 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.s26-mega__in--wide { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr); }
.s26-mega__kicker { margin: 0 0 12px !important; font-size: 11px; font-weight: 800 !important; letter-spacing: .14em; text-transform: uppercase; color: var(--s26-muted); }
.s26-mega ul { display: grid; gap: 2px; }
.s26-mega__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.s26-mega a { display: flex; align-items: center; gap: 6px; padding: 7px 0; color: var(--s26-ink); text-decoration: none; font-size: 15px; font-weight: 600 !important; }
.s26-mega a:hover, .s26-mega a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.s26-mega__last { border-left: 1px solid var(--s26-rule); padding-left: 32px; }

/* Menu del telefono */
.s26-menu { max-width: none !important; position: fixed; inset: 76px var(--s26-gutter) auto auto; margin: 0; width: min(358px, calc(100% - 2 * var(--s26-gutter))); max-height: calc(100dvh - 92px); overflow: auto; padding: 16px 20px 20px; border: 1px solid var(--s26-rule); border-radius: 0; background: #fff; color: var(--s26-ink); box-shadow: 0 24px 48px -24px #14263f66; }
.s26-menu::backdrop { background: #14263f45; }
.s26-menu__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.s26-menu__head h2 { font-size: 13px; font-weight: 800 !important; letter-spacing: .14em; text-transform: uppercase; color: var(--s26-muted); }
.s26-menu nav { display: grid; }
.s26-menu details, .s26-menu__row { border-top: 1px solid var(--s26-rule); }
.s26-menu summary, .s26-menu__row { border-radius: 0 !important; background: transparent !important; padding: 0 !important; display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 52px; color: var(--s26-ink); text-decoration: none; font-size: 16px; font-weight: 600 !important; cursor: pointer; list-style: none; text-align: left; }
.s26-menu summary::-webkit-details-marker { display: none; }
.s26-menu summary svg, .s26-menu__row svg { width: 18px; height: 18px; color: var(--s26-accent); flex: none; transition: transform .18s; }
.s26-menu details[open] summary svg { transform: rotate(180deg); }
.s26-menu__sub { display: grid; margin-bottom: 10px !important; background: #f1f5fa; }
.s26-menu__sub a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--s26-ink); text-decoration: none; font-size: 15px; font-weight: 500 !important; }
.s26-menu__sub a:hover { text-decoration: underline; }
.s26-menu__cta { display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin-top: 14px; padding: 0 18px; border-radius: 999px; background: var(--s26-ink); color: #fff !important; text-decoration: none; font-size: 13px; font-weight: 800 !important; letter-spacing: .06em; text-transform: uppercase; }
.s26-menu__cta svg { width: 18px; height: 18px; }
body.s26-sin-scroll { overflow: hidden !important; }

/* Barra inferior y WhatsApp */
.s26-dock { display: none; }
.s26-wa { position: fixed; right: 16px; bottom: 24px; z-index: 30; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--s26-rule); box-shadow: 0 8px 24px -12px #0005; transition: transform .2s ease; }
.s26-wa svg { width: 26px; height: 26px; }
.s26-wa:hover { transform: scale(1.06); }

/* ---------- Botones ---------- */
.s26-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--s26-ink); font-size: 13px; font-weight: 800 !important; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; line-height: 1.25; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.s26-btn span { font-weight: 800 !important; }
.s26-btn svg { width: 18px; height: 18px; flex: none; }
.s26-btn--ink { background: var(--s26-ink) !important; color: #fff !important; }
.s26-btn--ink:hover { background: #fff !important; color: var(--s26-ink) !important; }
.s26-btn--line { background: #fff !important; color: var(--s26-ink) !important; }
.s26-btn--line:hover, .s26-btn--line[aria-pressed=true] { background: var(--s26-ink) !important; color: #fff !important; }
.s26-btn--chip { padding-right: 6px; }
.s26-chip-ico { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #3a3b38; color: #fff; transition: background-color .2s ease; }
.s26-btn--chip:hover .s26-chip-ico { background: var(--s26-ink); }
.s26-btn--block { width: 100%; }

/* ---------- Tipos ---------- */
.s26-display { font-size: clamp(36px, 6vw, 80px) !important; font-weight: 800 !important; line-height: .99; letter-spacing: -.06em; text-transform: uppercase; overflow-wrap: break-word; }
.s26-h2 { font-size: clamp(26px, 3.6vw, 46px) !important; font-weight: 750 !important; line-height: 1.05; letter-spacing: -.045em; text-transform: uppercase; text-wrap: balance; }
.s26-kicker { font-size: 11px; font-weight: 800 !important; letter-spacing: .14em; text-transform: uppercase; color: var(--s26-accent); }
.s26-kicker--ink { color: var(--s26-ink); }
/* .s26-home p (0,1,1) le ganaba a .s26-kicker: dentro de la portada el antetitulo va con su propia especificidad.
   Diseno: .af-kicker 11px/800, tracking .1em; el de 3D es .eyebrow, 12px y gris. */
.s26-home .s26-kicker { font-size: 11px !important; letter-spacing: .1em; }
.s26-home .s26-kicker.s26-kicker--3d { font-size: 12px !important; color: var(--s26-muted); }
.s26-owner .s26-kicker { color: #435b75; }
.s26-label { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 500 !important; letter-spacing: .14em; text-transform: uppercase; color: var(--s26-muted); }
.s26-small { font-size: 13px; color: var(--s26-muted); line-height: 1.45; }
.s26-home p { font-size: 16px; line-height: 1.5; }
.s26-home .s26-small { font-size: 13px; }
.s26-home section + section { border-top: 1px solid var(--s26-rule); }

/* ---------- Hero ---------- */
.s26-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding-block: clamp(28px, 5.1vw, 74px); }
.s26-hero__sub { max-width: 560px; margin-top: 22px !important; font-size: 18px !important; color: var(--s26-muted); }
.s26-hero__buscar { margin-top: 38px; max-width: 600px; }
.s26-hero__buscar .inm-buscar__cuenta, .s26-hero__buscar .inm-atajos, .s26-hero__buscar .inm-buscador__cerca { display: none !important; }
.s26-hero__buscar .inm-buscador { margin: 0; }
.s26-hero__buscar .inm-buscador__campo { position: relative; }
.s26-hero__buscar .inm-buscador__caja { display: flex; align-items: center; gap: 12px; height: 62px; padding: 0 6px 0 18px; border: 1px solid var(--s26-rule); background: #fff; border-radius: 0; }
.s26-hero__buscar .inm-buscador__lupa { width: 20px; height: 20px; flex: none; color: var(--s26-muted); }
.s26-hero__buscar .inm-buscador__entrada { font-family: var(--s26-type) !important; font-weight: 400 !important; flex: 1; min-width: 0; height: 56px; border: 0 !important; outline: 0; background: transparent; font-size: 16px !important; color: var(--s26-ink); box-shadow: none !important; padding: 0 !important; }
.s26-hero__buscar .inm-buscador__entrada::placeholder { color: #6b706a; }
.s26-hero__buscar .inm-buscador__ir { display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 6px 0 16px; border-radius: 999px; background: var(--s26-ink); color: #fff; font-size: 13px; font-weight: 800 !important; letter-spacing: .06em; text-transform: uppercase; flex: none; }
.s26-hero__buscar .inm-buscador__ir span { order: 0; color: #fff; }
.s26-hero__buscar .inm-buscador__ir svg { order: 1; box-sizing: content-box; width: 18px; height: 18px; padding: 9px; border-radius: 50%; background: #3a3b38; stroke: #fff; }
.s26-hero__buscar .inm-buscador__operaciones { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.s26-hero__buscar .inm-buscador__operaciones button { min-height: 48px; padding: 0 16px; border: 1px solid var(--s26-rule); border-radius: 999px; background: #fff; color: var(--s26-ink); font-size: 13px; font-weight: 800 !important; }
.s26-hero__buscar .inm-buscador__operaciones button[aria-pressed=true] { background: var(--s26-ink); border-color: var(--s26-ink); color: #fff; }
.s26-hero__buscar .inm-buscador__aviso { margin-top: 10px; font-size: 13px; color: var(--s26-muted); }
.s26-hero__buscar .inm-sugerencias { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; margin: 0; padding: 6px 0; list-style: none; background: #fff; border: 1px solid var(--s26-rule); border-top: 0; box-shadow: 0 18px 40px -24px #0003; max-height: 320px; overflow: auto; }
.s26-hero__buscar .inm-sugerencias[hidden] { display: none; }
.s26-hero__buscar .inm-sugerencias li { padding: 10px 18px; cursor: pointer; font-size: 15px; }
.s26-hero__buscar .inm-sugerencias li:hover, .s26-hero__buscar .inm-sugerencias [aria-selected=true] { background: var(--s26-paper); }

/* Tarjeta del destacado */
.s26-card { background: var(--s26-paper); border: 1px solid var(--s26-rule); }
.s26-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #e6e7e2; }
.s26-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.s26-card__media--vacia { display: grid; place-items: center; color: #9a9e98; }
.s26-card__media--vacia svg { width: 56px; height: 56px; stroke-width: 1.2; }
.s26-card__tag { position: absolute; top: 12px; left: 12px; padding: 7px 12px; background: #fff; font-size: 12px; font-weight: 700 !important; }
.s26-card__body { padding: 16px 16px 16px; }
.s26-card__addr { font-size: 17px !important; font-weight: 600 !important; line-height: 1.35; letter-spacing: -.01em; }
.s26-card__price { margin-top: 10px !important; font-size: 24px !important; font-weight: 800 !important; letter-spacing: -.02em; line-height: 1.2 !important; }
.s26-card__facts { margin-top: 8px !important; font-size: 14px !important; color: var(--s26-muted); }
.s26-card__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.s26-card__row .s26-btn[aria-pressed=true] svg { fill: currentColor; }

/* Banda de vistas */
.s26-stats { position: relative; overflow: hidden; color: #fff; background: radial-gradient(ellipse at 63% 105%, #193f78, #0a1d37 80%); }
.s26-stats__field { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.s26-stats__in { position: relative; padding-block: 48px 48px; }
.s26-stats__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.s26-stats__live { display: flex; align-items: center; gap: 8px; font-size: 11px !important; font-weight: 800 !important; letter-spacing: .14em; text-transform: uppercase; }
.s26-stats__live i { width: 10px; height: 10px; border-radius: 50%; background: #4f8de8; box-shadow: 0 0 0 0 #4f8de880; animation: s26-pulso 2s infinite; }
.s26-quieta .s26-stats__live i { animation-play-state: paused; }
.s26-stats__pausa { border: 0 !important; background: transparent !important; padding: 0 !important; min-height: 44px; color: #dbe6f7 !important; font-size: 13px; font-weight: 800 !important; white-space: nowrap; }
.s26-stats__pausa:hover { text-decoration: underline; text-underline-offset: 4px; }
.s26-stats__pausa:focus-visible { outline-color: #a8caff !important; }
@keyframes s26-pulso { 70% { box-shadow: 0 0 0 8px #4f8de800; } 100% { box-shadow: 0 0 0 0 #4f8de800; } }
.s26-stats__tabs { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; border-bottom: 1px solid #ffffff38; }
.s26-stat { background: transparent !important; border: 0; justify-content: start !important; height: auto !important; min-height: 0; overflow: visible; align-content: start; line-height: 1.2; display: grid; justify-items: start; gap: 6px; padding: 8px 8px 22px !important; color: #fff !important; text-align: left; opacity: .82; border-radius: 0 !important; }
.s26-stat.is-activa { opacity: 1; }
.s26-stat strong { font-size: clamp(18px, 4.4vw, 42px) !important; font-weight: 800 !important; letter-spacing: -.04em; line-height: 1; color: #fff; }
.s26-stat span { font-size: 14px; color: #dbe6f7; }
.s26-stats__bar { position: absolute; left: 0; bottom: -1px; width: calc(100% / 3); height: 2px; transition: transform .35s ease; }
.s26-stats__bar i { display: block; height: 100%; width: 0; background: #a8caff; }
.s26-stats__bar.s26-corre i { animation: s26-barra 7s linear forwards; }
@keyframes s26-barra { to { width: 100%; } }

/* Confianza */
.s26-trust { padding-block: clamp(48px, 6vw, 84px); }
/* Una columna por tarjeta: sin showroom que se visite (Estados Unidos) son dos y no queda un hueco. */
.s26-trust__list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin-top: 28px !important; border-top: 1px solid var(--s26-ink); }
.s26-trust__list li { padding: 26px 24px 4px; }
.s26-trust__list li:first-child { padding-left: 0; }
.s26-trust__list li + li { border-left: 1px solid var(--s26-rule); }
.s26-trust__ico { width: 26px; height: 26px; stroke-width: 1.6; }
.s26-trust h3 { margin-top: 18px !important; font-size: 19px !important; font-weight: 800 !important; letter-spacing: -.01em; }
.s26-trust p { margin-top: 10px !important; font-size: 15px !important; color: var(--s26-muted); }
.s26-trust a { display: inline-block; margin-top: 14px; color: var(--s26-ink); font-size: 14px; font-weight: 800 !important; text-decoration: underline; text-underline-offset: 4px; }

/* Finanzas */
.s26-finance { padding-block: clamp(36px, 6vw, 82px); }
.s26-finance__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(26px, 6vw, 86px); }
.s26-finance .s26-h2 { margin: 10px 0 14px !important; }
.s26-finance__desc { max-width: 560px; font-size: 17px !important; color: var(--s26-muted); }
.s26-finance .s26-btn { margin-top: 24px; }
.s26-finance__note { max-width: 48ch; margin-top: 14px !important; font-size: 13px !important; color: var(--s26-muted); }
.s26-finance__list { border-top: 1px solid var(--s26-rule); margin: 0; }
.s26-finance__list > div { padding: 16px 0; border-bottom: 1px solid var(--s26-rule); }
.s26-finance__list dt a { color: var(--s26-ink); font-size: 18px; font-weight: 800 !important; text-decoration: underline; text-underline-offset: 3px; }
.s26-finance__list dd { margin-top: 6px !important; color: var(--s26-muted); font-size: 16px; }

/* Ruta: espacio + mobiliario */
.s26-path { padding-block: 96px; }
.s26-path__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 6vw, 86px); align-items: start; }
.s26-path p { max-width: 540px; margin: 22px 0 30px !important; font-size: 17px !important; color: var(--s26-muted); }
.s26-steps { border-top: 1px solid var(--s26-rule); }
.s26-step { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 92px; padding: 0 8px; border-bottom: 1px solid var(--s26-rule); color: var(--s26-ink); text-decoration: none; font-size: clamp(19px, 1.75vw, 24px); letter-spacing: -.03em; transition: background-color .2s ease, color .2s ease; }
.s26-step > span:first-child { font-weight: 400 !important; }
.s26-step__go { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--s26-rule); background: #fff; color: var(--s26-ink); transition: transform .25s ease; }
.s26-step__go svg { width: 16px; height: 16px; }
.s26-step:hover { background: var(--s26-ink); color: #fff; }
.s26-step:hover .s26-step__go { transform: rotate(-45deg); }

/* 3D */
.s26-three { padding-block: 96px; }
.s26-three__head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.s26-three__head .s26-h2 { margin-top: 12px !important; }
.s26-three__intro { display: grid; gap: 18px; justify-items: start; }
.s26-three__intro p { color: var(--s26-muted); }
/* El escenario: una caja plana 4:3 arriba, junto al panel (diseno: .three .wrap align-items:start, sin radio ni sombra).
   css/home.css, que sigue enlazada en la portada, le pone a todo model-viewer radio, sombra y fondo blanco: aqui no. */
.s26-three__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; margin-top: 40px; align-items: start; }
.s26-stage { position: relative; aspect-ratio: 4 / 3; min-height: 0; background: radial-gradient(120% 90% at 50% 30%, #f6f6f6 0%, #eaeaea 60%); }
.s26-stage model-viewer { display: block; width: 100%; height: 100% !important; min-height: 0; position: relative; border-radius: 0 !important; box-shadow: none !important; background: transparent; background-color: transparent; }
.s26-stage__poster { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; padding: 40px; }
.s26-stage__load { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); white-space: nowrap; }
.s26-stage__load[hidden] { display: none; }
.s26-three__panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; align-content: start; padding: 32px; background: var(--s26-paper); }
.s26-three__panel h3 { font-size: 26px !important; font-weight: 800 !important; letter-spacing: -.03em; }
.s26-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px !important; }
.s26-tags span { padding: 6px 12px; background: #fff; font-size: 12px; font-weight: 700 !important; }
.s26-ctl { margin-bottom: 10px !important; font-size: 11px !important; font-weight: 800 !important; letter-spacing: .14em; text-transform: uppercase; color: var(--s26-muted); }
.s26-seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 999px; background: #fff; }
.s26-seg button { border: 0 !important; background: transparent; min-height: 44px; padding: 0 4px !important; border-radius: 999px !important; font-size: 13px; font-weight: 700 !important; }
.s26-seg button[aria-pressed=true] { background: var(--s26-ink) !important; color: #fff; }
.s26-swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.s26-sw { width: 44px; height: 44px; border-radius: 50% !important; background: var(--c) !important; border: 3px solid #fff !important; box-shadow: 0 0 0 1px var(--s26-rule); }
.s26-sw[aria-pressed=true] { box-shadow: 0 0 0 2px var(--s26-ink); }

/* Ambiente: ¿cabe ese sofa? */
.s26-fit { padding-block: clamp(35px, 6vw, 84px); }
.s26-fit__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5.3vw, 76px); align-items: center; }
.s26-fit__story .s26-h2 { margin: 12px 0 16px !important; }
.s26-fit__story p:not(.s26-kicker) { max-width: 39ch; font-size: 17px !important; color: #465d77; }
.s26-fit__story .s26-btn { margin-top: 22px; }
.s26-fit__demo { display: grid; gap: 12px; padding: clamp(14px, 2.3vw, 23px); background: var(--s26-paper); border: 1px solid var(--s26-rule); }
.s26-fit__plan { display: block; width: 100%; height: auto; max-height: 282px; background: #f2f6fc; border: 1px solid #cbd9e9; border-radius: 8px; }
.s26-fit__sofa { color: #fff; fill: #95534b; transition: transform .35s ease; }
.s26-fit__sofa[data-fits=true] { fill: var(--s26-accent); }
.s26-fit__room { transition: d .35s ease; }
.s26-fit__dims { font-size: 13px !important; color: #465d77; }
.s26-fit__controls { display: flex; flex-wrap: wrap; gap: 6px; }
.s26-fit__controls button { min-height: 48px; padding: 0 12px; border: 1px solid var(--s26-rule); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 800 !important; }
.s26-fit__controls button[aria-pressed=true] { background: var(--s26-ink); border-color: var(--s26-ink); color: #fff; }
.s26-fit__result { font-size: 15px !important; font-weight: 800 !important; color: #804237; }
.s26-fit__result[data-fits=true] { color: var(--s26-accent); }

/* Propietarios */
.s26-owner { display: grid; grid-template-columns: 1fr 1fr; background: var(--s26-paper); }
.s26-owner > img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.s26-owner__copy { align-self: center; padding: clamp(25px, 5vw, 70px); }
.s26-owner .s26-h2 { margin: 10px 0 14px !important; }
.s26-owner__copy > p:not(.s26-kicker) { max-width: 46ch; color: #435b75; }
.s26-owner__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ---------- Pie ---------- */
.s26-foot { --f-ink: #111; --f-muted: #42474d; --f-line: #bfc3c8; --f-side: clamp(20px, 5vw, 72px); background: var(--s26-paper); color: var(--f-ink); scroll-margin-top: 68px; }
.s26-foot__wrap { max-width: 1440px; margin-inline: auto; padding: 48px var(--f-side) 14px; }
.s26-foot__nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 28px; }
.s26-foot__nav h3 { margin-bottom: 9px !important; font-size: clamp(14px, 1.35vw, 19px) !important; font-weight: 900 !important; line-height: 1.2; text-transform: uppercase; }
.s26-foot__oficina address { font-style: normal; display: grid; padding-block: 3px; color: var(--f-muted); }
.s26-foot__nav a, .s26-foot__show address span, .s26-foot__show address strong, .s26-foot__oficina address span { font-size: clamp(15px, 1.48vw, 21px) !important; line-height: 1.35; overflow-wrap: anywhere; }
.s26-foot__nav a { display: inline-flex; align-items: center; min-height: 30px; color: inherit; text-decoration: none; }
.s26-foot__show address { font-style: normal; margin-bottom: 3px !important; }
.s26-foot__show address > * { display: block; }
.s26-foot__logo { display: block !important; width: 100%; max-width: 280px; margin-top: 12px; }
.s26-foot__logo img { display: block; width: 100%; height: auto; }
.s26-foot__cta { display: flex; width: min(100%, 460px); justify-content: space-between; align-items: center; gap: 10px; margin-top: 27px; min-height: 48px; padding: 5px 7px 5px 16px; border: 1px solid var(--f-line); border-radius: 999px; color: var(--f-muted); font-size: 14px; font-weight: 800 !important; letter-spacing: .025em; text-transform: uppercase; text-decoration: none; }
.s26-foot__cta-ico { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--f-ink); color: #fff; }
.s26-foot__cta-ico svg { width: 16px; height: 16px; }
.s26-foot__util { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 12px; margin-top: 10px; font-size: 12px; color: var(--f-muted); }
.s26-foot__util p { font-size: 12px !important; }
.s26-foot__util div { display: flex; flex-wrap: wrap; gap: 0 16px; }
.s26-foot__util button { border: 0 !important; background: transparent !important; padding: 0 !important; min-height: 44px; font-size: 13px; font-weight: 800 !important; color: var(--f-ink); }
.s26-foot__mark { overflow: hidden; border-top: 1px solid var(--f-line); padding-block: 5px 12px; }
.s26-foot__track { display: flex; width: max-content; max-width: none; animation: s26-marquesina 48s linear infinite; animation-play-state: paused; }
.s26-foot-vista .s26-foot__track[data-moving=true] { animation-play-state: running; }
.s26-foot__track span { display: block; padding-left: var(--f-side); padding-right: .18em; font-size: clamp(44px, 14.6vw, 236px) !important; font-weight: 900 !important; letter-spacing: -.04em; line-height: 1.02; white-space: nowrap; }
@keyframes s26-marquesina { to { transform: translateX(-50%); } }
.s26-foot :is(a, button):hover { text-decoration: underline; text-underline-offset: 4px; }
.s26-foot-vista .s26-wa { transform: scale(.86); }
.s26-foot--corto .s26-foot__wrap { padding-bottom: 28px; }
.s26-foot__word { font-size: clamp(44px, 12vw, 180px) !important; font-weight: 900 !important; letter-spacing: -.05em; line-height: 1; }
/* La palabra de las paginas de lugar (VIVA MÉXICO / LAND OF THE BRAVE, #3149): mas chica, en un renglon como en el paquete. */
.s26-foot__word--lugar { font-size: clamp(30px, 7.2vw, 104px) !important; letter-spacing: -.06em; }
@media (min-width: 480px) { .s26-foot__word--lugar { white-space: nowrap; } }
.s26-foot__links { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 18px; }
.s26-foot__links a { display: inline-flex; align-items: center; min-height: 36px; color: var(--f-ink); text-decoration: none; font-size: 15px; font-weight: 600 !important; }
.s26-foot__copy { margin-top: 14px !important; font-size: 12px !important; color: var(--f-muted); }

/* ---------- Anchos ---------- */
@media (max-width: 1180px) {
	.s26-nav { gap: 18px; }
	.s26-nav__help { display: none !important; }
}
@media (max-width: 960px) {
	.s26-head__in { display: grid; grid-template-columns: 1fr auto 1fr; }
	.s26-nav, .s26-only-desk, .s26-mega { display: none !important; }
	.s26-tools { display: contents; }
	.s26-market { grid-column: 1; grid-row: 1; justify-self: start; margin: 0; }
	.s26-market__pop { right: auto; left: 0; }
	.s26-logo { grid-column: 2; grid-row: 1; }
	.s26-burger { display: inline-grid; grid-column: 3; grid-row: 1; justify-self: end; }
	.s26-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--s26-rule); }
	.s26-dock a { display: grid; justify-items: center; gap: 2px; min-height: 52px; color: var(--s26-ink); text-decoration: none; font-size: 12px; }
	.s26-dock__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
	.s26-dock__ico svg { width: 22px; height: 22px; }
	.s26-dock a[aria-current=page] { font-weight: 800 !important; }
	.s26-dock a[aria-current=page] span { font-weight: 800 !important; }
	.s26-dock a[aria-current=page] .s26-dock__ico { background: var(--s26-paper); }
	body.s26:has(.s26-dock) { padding-bottom: calc(var(--s26-dock) + env(safe-area-inset-bottom)) !important; }
	.s26-wa { bottom: calc(var(--s26-dock) + 14px + env(safe-area-inset-bottom)); }
	.s26-wa--sin-dock { bottom: 20px; }
	.s26-hero__grid, .s26-three__head, .s26-three__grid, .s26-path__grid { grid-template-columns: minmax(0, 1fr); }
	.s26-path, .s26-three { padding-block: 56px 64px; }
	.s26-three__panel { padding: 24px; }
}
@media (max-width: 760px) {
	.s26-trust__list { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); }
	.s26-trust__list li { padding: 22px 0 18px; }
	.s26-trust__list li + li { border-left: 0; border-top: 1px solid var(--s26-rule); }
	.s26-fit__grid { grid-template-columns: minmax(0, 1fr); }
	.s26-fit__plan { max-height: 218px; }
	/* Las tres cifras siguen en una fila de tres columnas, como en el diseno a 390 px (mx-01-home / us-01-home). */
	.s26-stat { padding: 12px 4px 16px !important; }
	.s26-stat span { font-size: 11px; line-height: 1.3; }
}
@media (max-width: 700px) {
	.s26-finance__grid { grid-template-columns: minmax(0, 1fr); }
	.s26-owner { grid-template-columns: minmax(0, 1fr); }
	.s26-owner > img { height: 210px; min-height: 0; }
	.s26-foot__wrap { padding-top: 30px; }
	.s26-foot__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
	.s26-foot__nav a { min-height: 36px; }
	.s26-foot__cta { margin-top: 20px; }
}
@media (max-width: 640px) {
	:root { --s26-head: 60px; }
	.s26-logo img { height: 26px; }
	.s26-menu { inset: 68px 16px auto auto; width: calc(100% - 32px); }
	.s26-hero__sub { font-size: 16px !important; }
	.s26-hero__buscar .inm-buscador__ir span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.s26-hero__buscar .inm-buscador__ir { padding: 0 3px; }
	.s26-card__row { grid-template-columns: minmax(0, 1fr); }
	.s26-stage { aspect-ratio: 1 / 1; }
}
@media (max-width: 520px) {
	.s26-display { font-size: clamp(34px, 10vw, 51px) !important; }
	.s26-hero__buscar .inm-buscador__ir { width: 48px; justify-content: center; padding: 0; }
	.s26-hero__buscar .inm-buscador__ir svg { padding: 0; background: none; }
}
/* A 320 px las cinco columnas del dock miden ~62 px y "Propiedades" en Galano a 12 px mide ~74 px: se encimaba con
   "Muebles". Por debajo de 360 px la etiqueta baja a 10 px y el dock pierde 2 px de margen por lado. De 360 a ~384 px se
   queda en 12 px: ahi las columnas del dock son 1fr (no minmax(0, 1fr)), asi que la de "Propiedades" crece a lo que mide. */
@media (max-width: 359px) {
	.s26-dock { padding-left: 2px; padding-right: 2px; }
	.s26-dock a { font-size: 10px; letter-spacing: -.01em; }
}
@media (prefers-reduced-motion: reduce) {
	:is(.s26-head, .s26-mega, .s26-menu, .s26-home, .s26-foot, .s26-dock, .s26-wa), :is(.s26-head, .s26-mega, .s26-menu, .s26-home, .s26-foot, .s26-dock) * { animation: none !important; transition: none !important; }
	.s26-foot__track { animation: none !important; }
	[data-s26-movimiento], [data-s26-vistas-pausa] { display: none; }
}

/* La sugerencia de tienda de siempre (#osgo-market-banner, templates/header.php) va fija abajo: en el telefono, encima de
   la barra inferior; el boton de WhatsApp sube sobre ella. */
body.s26:has(#osgo-market-banner) .s26-wa { bottom: 84px; }
@media (max-width: 960px) {
	body.s26:has(.s26-dock) #osgo-market-banner { bottom: calc(var(--s26-dock) + env(safe-area-inset-bottom)) !important; }
	body.s26:has(#osgo-market-banner) .s26-wa { bottom: calc(var(--s26-dock) + 120px + env(safe-area-inset-bottom)); }
}
