/* =====================================================================
   Studio 02.2 · lote B (29/11/2026) — a partir del prototipo aprobado de Atlas, adaptado a Studio 02.
   Todo cuelga de body.s022 (inc/s022.php). Apagar: opción cardus_s022 = off, o ?s022=0 para comparar.
   Paleta aprobada: papel, blanco cálido, tinta, carbón #151719, oliva #62685B, líneas. Sin cursivas en títulos
   (regla de diseño vigente) y sin animaciones decorativas.
   ===================================================================== */
body.s022 { --s22-carbon: #151719; --s22-oliva: #62685b; --s22-blanco: #fbfaf6; --s22-papel: #f2efe7; --s22-linea: #d8d2c8; }

/* ---------- 1. Catálogo: tarjetas con foto protagonista y datos comparables ---------- */
body.s022 .s2-filas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; border-top: 0; padding-top: 6px; }
body.s022 .s2-fila { position: relative; display: flex; flex-direction: column; gap: 0; padding: 0; background: var(--s22-blanco); border: 1px solid var(--s22-linea); align-items: stretch; transition: border-color .2s; }
body.s022 .s2-fila:hover { border-color: #b9b2a6; }
body.s022 .r8-cat .s2-fila:first-child { padding-top: 0; }
body.s022 .s2-fila__foto { aspect-ratio: 4 / 3; margin: 0; }
body.s022 .s2-fila__info { display: flex; flex-direction: column; flex: 1; max-width: none; padding: 18px 20px 20px; }
/* Etapa sobre la foto (en las tarjetas sin foto queda arriba del título) */
body.s022 .s2-fila:not(.s2-fila--sin-foto) .s2-fila__estado { position: absolute; top: 14px; left: 14px; z-index: 1; margin: 0; padding: 7px 10px; background: var(--s22-blanco); color: var(--s2-ink); font-size: 9.5px; letter-spacing: .12em; pointer-events: none; }
body.s022 .s2-fila:not(.s2-fila--sin-foto) .s2-fila__estado::before { display: none; }
body.s022 .s2-fila__ubic { order: -1; margin: 0 0 8px; font-size: 12px; letter-spacing: .02em; color: #6d6d65; }
body.s022 .s2-fila__titulo { font-size: clamp(26px, 2.1vw, 32px); line-height: 1.06; letter-spacing: -.045em; }
body.s022 .s2-fila__desc { margin: 10px 0 0; font-size: 13.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.s022 .s22-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 14px 0 0; padding: 0; }
body.s022 .s22-chips li { padding: 5px 9px; border: 1px solid var(--s22-linea); font-size: 12px; line-height: 1.3; color: #3d3e3a; background: #fff; }
body.s022 .s2-fila__pie { display: grid; grid-template-columns: 1fr; gap: 2px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--s2-hair); }
body.s022 .s2-fila__info > :nth-last-child(3) { margin-bottom: 18px; } /* aire antes del pie; el pie queda abajo en todas las tarjetas */
body.s022 .s22-etiqueta { margin: 0; font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #69655c; }
body.s022 .s2-fila__precio { font: 700 16px/1.3 var(--s2-sans); letter-spacing: 0; }
body.s022 .s2-fila__precio small { font: 500 13px var(--s2-sans); color: #3d3e3a; }
body.s022 .s2-fila__consultar { font: 700 16px var(--s2-sans); color: var(--s2-ink); }
body.s022 .s2-fila__dev { margin-top: 4px; }
body.s022 .s2-fila__ver { align-self: flex-start; margin-top: 12px; min-height: 44px; padding: 0; background: none; color: var(--s2-ink); font-size: 12.5px; border-bottom: 1px solid currentColor; border-radius: 0; gap: 10px; }
body.s022 .s2-fila__ver:hover { background: none; color: #484740; }
/* Sin foto autorizada: tarjeta tipográfica honesta (sin recuadro vacío ni foto de otro edificio) */
body.s022 .s2-fila--sin-foto { padding: 0; background: var(--s22-papel); }
body.s022 .s2-fila--sin-foto .s2-fila__info { display: flex; padding-top: 22px; }
body.s022 .s2-fila--sin-foto .s2-fila__info > * { grid-column: auto !important; grid-row: auto !important; }
body.s022 .s2-fila--sin-foto .s2-fila__desc { margin-top: 12px; -webkit-line-clamp: 4; }
body.s022 .s2-fila--sin-foto .s2-fila__titulo { font-size: clamp(26px, 2.1vw, 32px); }
@media (max-width: 1100px) { body.s022 .s2-filas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (max-width: 720px) {
	body.s022 .s2-filas { grid-template-columns: 1fr; gap: 14px; padding-top: 2px; }
	body.s022 .s2-fila__foto { aspect-ratio: 16 / 9; margin-inline: 0; }
	body.s022 .s2-fila__info { padding: 10px 16px 16px; }
	body.s022 .s2-fila__ubic { margin-bottom: 4px; }
	body.s022 .s2-fila__titulo { font-size: clamp(26px, 7.6vw, 30px); }
	body.s022 .s2-fila:not(.s2-fila--sin-foto) .s2-fila__desc { display: none; }
	body.s022 .s2-fila__ver { margin-top: 6px; }
}

/* ---------- 2. Banda oliva del catálogo: «Primero, la zona» ---------- */
body.s022 .s22-banda--oliva { background: var(--s22-oliva); color: var(--s22-papel); padding: clamp(44px, 6vw, 84px) 0; }
body.s022 .s22-banda__fila { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px 64px; align-items: end; }
body.s022 .s22-banda__eyebrow { margin: 0 0 14px; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #ecebe3; }
body.s022 .s22-banda__titulo { margin: 0; font: 400 clamp(34px, 4.4vw, 62px)/1.04 var(--s2-serif); letter-spacing: -.05em; color: #fbfaf6; max-width: 15ch; }
body.s022 .s22-banda__texto p { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: #ecebe3; }
body.s022 .s22-banda__link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #fbfaf6; font-size: 12.5px; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
body.s022 .s22-banda__link:hover { color: #fff; }
body.s022 .s22-banda__link:focus-visible { outline: 2px solid #fbfaf6; outline-offset: 4px; }
@media (max-width: 720px) { body.s022 .s22-banda__fila { grid-template-columns: 1fr; } }

/* ---------- 3. Inicio: «proyectos» en banda carbón, tres fotos con el mismo peso ---------- */
body.s022 .s2-proyectos.s22-banda--carbon { background: var(--s22-carbon); color: #f2efe7; }
body.s022 .s22-banda--carbon .s2-eyebrow { color: #c9c4b9; }
body.s022 .s22-banda--carbon .s2-titulo { color: #fbfaf6; }
body.s022 .s22-banda--carbon .s2-link { color: #fbfaf6; }
body.s022 .s22-banda--carbon .s2-proy-grilla { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
body.s022 .s22-banda--carbon .s2-proy-grilla--1 { grid-template-columns: 1fr; }
body.s022 .s22-banda--carbon .s2-proy__img, body.s022 .s22-banda--carbon .s2-proy--principal .s2-proy__img { aspect-ratio: 4 / 3; background: #2a2c2e; }
body.s022 .s22-banda--carbon .s2-proy__linea h3, body.s022 .s22-banda--carbon .s2-proy--principal .s2-proy__linea h3 { font-size: 28px; color: #fbfaf6; }
body.s022 .s22-banda--carbon .s2-proy__linea b { color: #fbfaf6; }
body.s022 .s22-banda--carbon .s2-proy__copy { color: #bdb8ad; }
body.s022 .s22-banda--carbon .s2-proy__pie { border-top-color: rgba(251, 250, 246, .18); color: #bdb8ad; }
body.s022 .s22-banda--carbon .s2-proy__pie strong { color: #fbfaf6; }
body.s022 .s22-banda--carbon .s2-proy:focus-visible { outline: 2px solid #fbfaf6; outline-offset: 4px; }
@media (max-width: 1100px) { body.s022 .s22-banda--carbon .s2-proy-grilla { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
	body.s022 .s22-banda--carbon .s2-proy-grilla { grid-template-columns: 1fr; gap: 30px; }
	body.s022 .s22-banda--carbon .s2-proy__linea h3, body.s022 .s22-banda--carbon .s2-proy--principal .s2-proy__linea h3 { font-size: 26px; }
}

/* ---------- 4. Ficha: tipologías compactas en el celular ---------- */
body.s022 .s22-tipos-nota { margin: 0 0 12px; font-size: 13.5px; color: #545651; }
@media (max-width: 799px) {
	body.s022 .r8-tipos .r8-tabla tbody tr { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 14px; margin-bottom: 8px; align-items: center; }
	body.s022 .r8-tipos .r8-tabla__nombre { grid-column: 1; font-size: 1.15rem; }
	body.s022 .r8-tipos .r8-tabla td[data-label]::before { display: inline; margin: 0 6px 0 0; font-size: 10px; letter-spacing: .08em; }
	/* dormitorios y superficie en una sola línea de datos, debajo del nombre */
	body.s022 .r8-tipos .r8-tabla td[data-label] { grid-column: 1; font-size: 14px; color: #3d3e3a; }
	body.s022 .r8-tipos .r8-tabla tbody tr { grid-auto-flow: row dense; }
	body.s022 .r8-tipos .r8-tabla .r8-tabla__accion { grid-column: 2; grid-row: 1 / span 3; align-self: center; justify-self: end; }
	body.s022 .r8-tipos .r8-tabla .r8-tabla__accion .r8-wa-texto { display: inline-flex; align-items: center; min-height: 44px; }
	body.s022 .r8-tipos .r8-tabla__plano { grid-column: 1; }
	body.s022 .r8-tipos .r8-tabla__precio { font-size: 15px; }
	body.s022 .r8-tipos .s22-tabla--sin-precios .r8-tabla__precio { display: none; }
}

/* ---------- 5. Propiedades: misma tarjeta (etiqueta sobre la foto, línea fina) ---------- */
body.s022.post-type-archive-propiedad .card, body.s022.tax-zona_propiedad .card { background: var(--s22-blanco); border: 1px solid var(--s22-linea); }

/* ---------- 6. Guardados y comparar (P1, módulo aparte: solo con body.s022-guardados) ---------- */
body.s022-guardados .s22-acciones { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; gap: 8px; }
body.s022-guardados .s22-accion { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(19, 20, 22, .12); border-radius: 50%; background: rgba(251, 250, 246, .94); color: var(--s2-ink); cursor: pointer; }
body.s022-guardados .s22-accion svg { width: 18px; height: 18px; }
body.s022-guardados .s22-accion[aria-pressed="true"] { background: var(--s22-carbon); color: #fbfaf6; border-color: var(--s22-carbon); }
body.s022-guardados .s22-accion:focus-visible { outline: 2px solid var(--s2-ink); outline-offset: 2px; }
body.s022-guardados .s2-fila--sin-foto .s22-acciones { position: static; justify-content: flex-end; padding: 12px 12px 0; }
body.s022-guardados .s22-barra { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 55; transform: translateX(-50%); width: min(560px, calc(100% - 24px)); display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; background: var(--s22-carbon); color: #fbfaf6; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
body.s022-guardados .s22-barra[hidden] { display: none; }
body.s022-guardados .s22-barra__txt { flex: 1; font-size: 13px; font-weight: 600; }
body.s022-guardados .s22-barra button { min-height: 44px; padding: 0 16px; font: 700 12.5px var(--s2-sans); cursor: pointer; border: 0; }
body.s022-guardados .s22-barra__limpiar { background: none; color: #d9d5cc; text-decoration: underline; }
body.s022-guardados .s22-barra__ir { background: #fbfaf6; color: var(--s22-carbon); }
body.s022-guardados .s22-barra__ir:disabled { opacity: .5; cursor: not-allowed; }
body.s022-guardados:has(.cc:not([hidden])) .s22-barra { bottom: calc(120px + env(safe-area-inset-bottom, 0px)); }
body.s022-guardados .s22-modal { width: min(980px, calc(100% - 24px)); max-height: calc(100svh - 40px); padding: 0; border: 0; background: var(--s22-blanco); color: var(--s2-ink); }
body.s022-guardados .s22-modal::backdrop { background: rgba(21, 23, 25, .55); }
body.s022-guardados .s22-modal__cab { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; background: var(--s22-blanco); border-bottom: 1px solid var(--s22-linea); }
body.s022-guardados .s22-modal__cab h2 { margin: 0; font: 400 clamp(26px, 3vw, 36px)/1.1 var(--s2-serif); letter-spacing: -.04em; }
body.s022-guardados .s22-modal__cerrar { width: 44px; height: 44px; border: 1px solid var(--s22-linea); background: #fff; font-size: 20px; cursor: pointer; }
body.s022-guardados .s22-modal__cuerpo { overflow-x: auto; padding: 0 20px 18px; }
body.s022-guardados .s22-comp { width: 100%; min-width: 540px; border-collapse: collapse; font-size: 14px; }
body.s022-guardados .s22-comp th, body.s022-guardados .s22-comp td { padding: 12px 12px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--s22-linea); }
body.s022-guardados .s22-comp thead th { padding-top: 16px; font: 400 21px/1.15 var(--s2-serif); letter-spacing: -.03em; }
body.s022-guardados .s22-comp thead img { display: block; width: 100%; max-width: 220px; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 10px; }
body.s022-guardados .s22-comp tbody th { width: 140px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #69655c; }
body.s022-guardados .s22-comp .s22-np { color: #6d6d65; font-style: normal; }
body.s022-guardados .s22-comp a { color: var(--s2-ink); font-weight: 700; font-size: 12.5px; }
body.s022-guardados .s22-comp__quitar { margin-top: 6px; padding: 0; border: 0; background: none; color: #69655c; font-size: 12px; text-decoration: underline; cursor: pointer; min-height: 32px; }
body.s022-guardados .s22-modal__nota { margin: 14px 0 0; font-size: 12.5px; color: #6d6d65; }
body.s022-guardados .s22-aviso { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 56; padding: 10px 14px; background: var(--s2-ink); color: #fbfaf6; font-size: 13px; }
body.s022 .s22-banda--carbon .s2-proy__estado { color: var(--s2-ink); }
body.s022-guardados .s22-comp thead a, body.s022-guardados .s22-comp__quitar { font-family: var(--s2-sans); }
@media (max-width: 600px) {
	body.s022-guardados .s22-modal__cuerpo { padding: 0 14px 14px; }
	body.s022-guardados .s22-comp { min-width: 0; font-size: 13px; table-layout: fixed; }
	body.s022-guardados .s22-comp tbody th { width: 84px; font-size: 9.5px; letter-spacing: .06em; }
	body.s022-guardados .s22-comp thead th { font-size: 17px; }
	body.s022-guardados .s22-comp th, body.s022-guardados .s22-comp td { padding: 10px 8px 10px 0; overflow-wrap: anywhere; }
}

/* =====================================================================
   Studio 02.2 · identidad y experiencia (paquete unificado aprobado, 29/11/2026)
   ===================================================================== */

/* ---------- 7. Firma: monograma A + nombre + «Consultor inmobiliario · Century 21 Wilson-Chihan» ---------- */
body.s022 .s22-brand, body.s022 .site-header .brand.s22-brand, body.s022 .drawer__brand.s22-brand { display: grid; flex-direction: initial; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; width: auto; text-decoration: none; }
body.s022 .s22-brand .s22-mono { grid-column: 1; grid-row: 1 / span 2; width: 40px; height: 40px; color: var(--s2-ink); }
body.s022 .s22-brand .brand__name, body.s022 .site-header .s22-brand .brand__name { grid-column: 2; grid-row: 1; align-self: end; }
body.s022 .s22-brand .brand__role, body.s022 .site-header .s22-brand .brand__role { grid-column: 2; grid-row: 2; align-self: start; margin-top: 6px; font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; }
body.s022 .site-header .s22-brand { width: auto; }
body.s022 .drawer__brand.s22-brand .s22-mono { width: 34px; height: 34px; }
@media (max-width: 1240px) { body.s022 .s22-brand .s22-afil { display: none; } } /* cabecera estrecha: el descriptor; la afiliación sigue en el pie, el menú y Sobre mí */
@media (max-width: 959px) { body.s022 .s22-brand .s22-afil { display: inline; } body.s022 .s22-brand .s22-mono { width: 34px; height: 34px; } body.s022 .s22-brand { column-gap: 10px; } }
@media (max-width: 380px) { body.s022 .s22-brand .s22-mono { width: 28px; height: 28px; } body.s022 .site-header .s22-brand .brand__name { font-size: 23px; } body.s022 .s22-brand .brand__role { font-size: 6.8px; letter-spacing: .05em; } }

/* ---------- 8. Cabecera, menú desplegable, botones y estados activos (una sola gramática) ---------- */
body.s022 .site-header .nav__sub { min-width: 230px; padding: 8px 0; border: 1px solid var(--s22-linea); border-top: 2px solid var(--s2-ink); box-shadow: 0 14px 30px rgba(19, 20, 22, .08); }
body.s022 .site-header .nav__sub li a { padding: 11px 18px; border-bottom: 0; font: 500 14px/1.3 var(--s2-sans); letter-spacing: 0; color: var(--s2-ink); }
body.s022 .site-header .nav__sub li + li a { border-top: 1px solid #ebe7df; }
body.s022 .site-header .nav__sub li a:hover, body.s022 .site-header .nav__sub li a:focus-visible { padding-left: 18px; background: var(--s22-papel); }
body.s022 .site-header .nav__sub li a::after { font-size: 12px; }
body.s022 .s22-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--s2-ink); font-weight: 700; font-size: 13px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
body.s022 .s22-link:hover { color: #484740; }
body.s022 .s22-link:focus-visible, body.s022 .s2-btn:focus-visible { outline: 2px solid var(--s2-ink); outline-offset: 3px; }
body.s022 .s2-btn { min-height: 48px; }

/* ---------- 9. Portada: titular natural, presentación personal y trayectoria simétrica ---------- */
body.s022 .s2-hero .s2-display { font-size: clamp(44px, 4.6vw, 72px); line-height: 1.02; letter-spacing: -.045em; max-width: 15ch; }
body.s022 .s2-hero .s2-display em { font-style: normal; }
body.s022 .s22-hero__wa { margin: 6px 0 0; }
body.s022 .s22-hero__yo { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--s2-hair); max-width: 520px; font-size: 14px; line-height: 1.6; color: #545651; }
body.s022 .s22-hero__yo .s22-link { min-height: 0; margin-left: 4px; }
body.s022 .s22-cifras__cab { padding-top: 34px; }
body.s022 .s22-cifras__cab .s2-eyebrow { margin: 0; }
body.s022 .s2-metricas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
body.s022 .s2-metricas--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.s022 .s2-metricas--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.s022 .s2-metrica { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 22px 22px 30px 0; border: 0; }
body.s022 .s2-metrica + .s2-metrica { padding-left: 22px; border-left: 1px solid var(--s2-hair); }
body.s022 .s2-metrica strong { font: 400 clamp(30px, 2.6vw, 40px)/1.05 var(--s2-serif); letter-spacing: -.04em; }
body.s022 .s2-metrica span { font-size: 12.5px; line-height: 1.45; color: #545651; max-width: 26ch; }
@media (max-width: 720px) {
	body.s022 .s2-hero .s2-display { font-size: clamp(36px, 10vw, 46px); }
	body.s022 .s2-metricas, body.s022 .s2-metricas--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.s022 .s2-metrica, body.s022 .s2-metrica + .s2-metrica { padding: 16px 12px 18px 0; border-left: 0; }
	body.s022 .s2-metrica:nth-child(2n) { padding-left: 14px; border-left: 1px solid var(--s2-hair); }
	body.s022 .s2-metrica:nth-child(n+3) { border-top: 1px solid var(--s2-hair); }
	body.s022 .s2-metrica strong { font-size: 28px; }
	body.s022 .s2-metrica span { font-size: 12px; }
}

/* ---------- 10. Paraguay: portada en dos columnas, foto bien usada y cuatro caminos compactos ---------- */
body.s022 .px-portada { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; column-gap: clamp(32px, 5vw, 72px); align-items: center; min-height: 0; padding: clamp(40px, 5vw, 72px) max(24px, calc((100vw - 1312px) / 2)) clamp(36px, 4vw, 56px); background: var(--s2-bg); color: var(--s2-ink); }
body.s022 .px-portada::after { display: none; }
body.s022 .px-portada__img { position: static; grid-column: 2; grid-row: 1; width: 100%; height: auto; min-height: 0; aspect-ratio: 4 / 3; object-fit: cover; }
body.s022 .px-portada__texto { position: static; grid-column: 1; grid-row: 1; width: auto; max-width: 560px; margin: 0; padding: 0; align-self: center; }
body.s022 .px-portada .eyebrow { color: #69655c; text-shadow: none; }
body.s022 .px-portada .eyebrow::before { background: #a79e91; }
body.s022 .px-portada__titulo { font-size: clamp(40px, 4.4vw, 68px); line-height: 1.03; letter-spacing: -.045em; max-width: 14ch; margin: 18px 0; color: var(--s2-ink); text-shadow: none; }
body.s022 .px-portada__lead { font-size: 16px; line-height: 1.65; color: #545651; max-width: 460px; }
body.s022 .px-portada__credito { position: static; grid-column: 2; grid-row: 2; margin: 8px 0 0; padding: 0; background: none; color: #6d6d65; font-size: 11px; letter-spacing: .02em; text-align: right; }
body.s022 .px-rutas { background: var(--s2-bg); padding: 0 0 clamp(36px, 4vw, 56px); }
body.s022 .px-rutas > .wrap { max-width: 1312px; margin: 0 auto; padding: 0 24px; }
body.s022 .px-rutas .sr-only { max-width: none; padding: 0 0 14px; color: #69655c; }
body.s022 .px-rutas__lista { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
body.s022 .px-ruta-t { height: auto; min-height: 0; aspect-ratio: auto; background: var(--s22-blanco); border: 1px solid var(--s22-linea); color: var(--s2-ink); box-shadow: none; transition: border-color .2s; }
body.s022 .px-ruta-t:hover, body.s022 .px-ruta-t:focus-visible { border-color: var(--s2-ink); }
body.s022 .px-ruta-t::after { display: none; }
body.s022 .px-ruta-t__media { display: block; position: relative; height: 120px; overflow: hidden; }
body.s022 .px-ruta-t__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body.s022 .px-ruta-t__cuerpo { position: static; padding: 16px 18px 18px; gap: 6px; color: var(--s2-ink); }
body.s022 .px-ruta-t__n { color: #69655c; font-size: 10px; }
body.s022 .px-ruta-t__nombre { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.08; color: var(--s2-ink); text-shadow: none; }
body.s022 .px-ruta-t[aria-current] { border-color: var(--s2-ink); box-shadow: inset 0 -3px 0 var(--s2-ink); }
body.s022 .px-ruta-t[aria-current]::before { box-shadow: none; }
@media (max-width: 899px) {
	body.s022 .px-portada { grid-template-columns: 1fr; padding: 24px 20px 22px; row-gap: 18px; }
	body.s022 .px-portada__texto { grid-row: 1; }
	body.s022 .px-portada__img { grid-column: 1; grid-row: 2; aspect-ratio: 16 / 10; }
	body.s022 .px-portada__credito { grid-column: 1; grid-row: 3; margin-top: -10px; text-align: left; }
	body.s022 .px-portada__titulo { font-size: clamp(32px, 9vw, 42px); margin: 12px 0; }
	body.s022 .px-portada__lead { font-size: 15px; }
	body.s022 .px-rutas > .wrap { padding: 0 20px; }
	body.s022 .px-rutas__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	body.s022 .px-ruta-t__media { height: 84px; }
	body.s022 .px-ruta-t__cuerpo { padding: 12px 12px 14px; }
	body.s022 .px-ruta-t__nombre { font-size: 19px; }
}

/* ---------- 11. Guías: título legible, temas ordenados y una guía destacada con el resto en filas ---------- */
body.s022 .px-guias-sec__cab .r7-h2 { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.08; max-width: 18ch; }
body.s022 .px-chips .s22-mas button { min-height: 34px; padding: 0 12px; border: 1px solid var(--s22-linea); background: #fff; color: var(--s2-ink); font: 600 13px var(--s2-sans); cursor: pointer; }
body.s022 .px-chips .s22-mas button:focus-visible { outline: 2px solid var(--s2-ink); outline-offset: 2px; }
body.s022 .px-chips .s22-oculto { display: none; }
@media (min-width: 1000px) {
	body.s022 .px-mosaico { grid-auto-flow: row dense; gap: 16px; }
	body.s022 .px-g--g, body.s022 .px-g--g2 { grid-column: span 8; grid-row: span 3; }
	body.s022 .px-g--m, body.s022 .px-g--c { grid-column: span 4; }
	body.s022 .px-g--g .px-g__titulo, body.s022 .px-g--g2 .px-g__titulo { font-size: clamp(1.7rem, 2.3vw, 2.2rem); }
	body.s022 .px-g--g .px-g__media, body.s022 .px-g--g2 .px-g__media { aspect-ratio: auto; min-height: 100%; }
	body.s022 .px-g--m .px-g__media, body.s022 .px-g--c .px-g__media { display: none; }
	body.s022 .px-g--m .px-g__enlace, body.s022 .px-g--c .px-g__enlace { display: flex; background: var(--s22-blanco); }
	body.s022 .px-g--m .px-g__cuerpo, body.s022 .px-g--c .px-g__cuerpo { padding: 16px 18px; gap: 6px; }
	body.s022 .px-g--m .px-g__titulo, body.s022 .px-g--c .px-g__titulo { font-size: 1.2rem; }
	body.s022 .px-g--m .px-g__resumen, body.s022 .px-g--c .px-g__resumen { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; }
	body.s022 .px-g--m .px-g__leer, body.s022 .px-g--c .px-g__leer { display: inline-flex; font-size: 12.5px; }
	body.s022 .px-g--sin-foto.px-g--m .px-g__enlace, body.s022 .px-g--sin-foto.px-g--c .px-g__enlace { background: var(--s22-blanco); color: var(--s2-ink); border-color: var(--s22-linea); }
	body.s022 .px-g--sin-foto .px-g__resumen, body.s022 .px-g--sin-foto .px-g__meta { color: #545651; }
	body.s022 .px-g--sin-foto .px-g__temas { color: var(--s22-oliva); }
}
@media (max-width: 999px) {
	body.s022 .px-g--g .px-g__media img, body.s022 .px-g--g2 .px-g__media img { aspect-ratio: 16 / 10; }
	body.s022 .px-g--g .px-g__titulo, body.s022 .px-g--g2 .px-g__titulo { font-size: clamp(1.45rem, 5.6vw, 1.9rem); }
}

/* ---------- 12. Sobre mí · En medios: dos tarjetas editoriales simétricas ---------- */
body.s022 .r7m--sobre .r7m__lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
body.s022 .r7m--sobre .r7m__nota { display: flex; flex-direction: column; gap: 8px; height: 100%; margin: 0; padding: 22px 24px 18px; background: var(--s22-blanco); border: 1px solid var(--s22-linea); border-top: 2px solid var(--s2-ink); }
body.s022 .r7m--sobre .r7m__fuente { margin: 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #69655c; }
body.s022 .r7m--sobre .r7m__fuente strong { font: 700 12px/1.3 var(--s2-sans); color: var(--s2-ink); letter-spacing: .1em; }
body.s022 .r7m--sobre .r7m__fuente span::before { content: "· "; }
body.s022 .r7m--sobre .r7m__meta { margin: 0; font-size: 12.5px; color: #6d6d65; }
body.s022 .r7m--sobre .r7m__titulo { margin: 4px 0 0; font: 400 clamp(19px, 1.6vw, 23px)/1.25 var(--s2-serif); letter-spacing: -.02em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
body.s022 .r7m--sobre .r7m__aviso { display: none; } /* la fecha ya está arriba; el título va entre comillas, como original */
body.s022 .r7m--sobre .r7m__resumen { margin: 0; font-size: 14px; line-height: 1.55; color: #545651; }
body.s022 .r7m--sobre .r7m__link { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 13px; color: var(--s2-ink); text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 720px) { body.s022 .r7m--sobre .r7m__lista { grid-template-columns: 1fr; gap: 12px; } body.s022 .r7m--sobre .r7m__nota { padding: 18px 18px 14px; } }
/* Celular: la firma corta («Consultor inmobiliario») para que entren WhatsApp y el menú; la afiliación queda en el menú, el pie y Sobre mí. */
@media (max-width: 600px) { body.s022 .site-header .s22-brand .s22-afil { display: none; } }
/* Paraguay en el celular: los cuatro caminos en una grilla 2 × 2 (sin carrusel lateral). */
@media (max-width: 899px) {
	body.s022 .px-rutas .px-rutas__lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; overflow: visible; scroll-snap-type: none; padding: 0; margin: 0; }
	body.s022 .px-rutas .px-rutas__lista > li { width: auto; min-width: 0; flex: none; }
}

/* ---------- 13. Navegación 02.2: lista corta, desplegables unificados y acciones separadas ---------- */
body.s022 .site-header > .wrap { gap: 20px; }
body.s022 .site-header .nav > ul { gap: 22px; }
body.s022 .site-header .nav > ul > li > a { font-size: 13px; font-weight: 600; letter-spacing: -.005em; }
body.s022 .site-header .nav > ul > li > a::after { bottom: 24px; }
body.s022 .site-header .nav > ul > li.has-sub { gap: 2px; }
body.s022 .site-header .nav > ul > li.has-sub > a::before { display: none; }
body.s022 .s22-sub-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin: 0 0 0 -2px; padding: 0; border: 0; background: none; color: var(--s2-ink); cursor: pointer; }
body.s022 .s22-sub-btn span { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
body.s022 .s22-sub-btn[aria-expanded="true"] span { transform: translateY(1px) rotate(-135deg); }
body.s022 .s22-sub-btn:focus-visible { outline: 2px solid var(--s2-ink); outline-offset: 1px; }
/* Desplegable: mismo componente para Paraguay y Mercado & Análisis, alineado bajo su nombre */
body.s022 .site-header .nav__sub { left: -14px; top: calc(100% - 14px); width: max-content; min-width: 240px; max-width: 320px; padding: 6px 0; background: var(--s22-blanco); }
body.s022 .site-header .nav__sub::before { top: -16px; height: 16px; } /* puente: no se cierra al bajar el mouse */
body.s022 .site-header .nav li.is-abierta > .nav__sub { display: block !important; }
body.s022 .site-header .nav__sub li a { white-space: normal; padding: 11px 18px !important; }
body.s022 .site-header .nav__sub li a[aria-current] { font-weight: 700; box-shadow: inset 3px 0 0 var(--s2-ink); background: var(--s22-papel); }
/* Acciones: idioma · Vendé (secundario) · WhatsApp (principal) */
body.s022 .site-header .header-cta { gap: 12px; }
body.s022 .s22-btn-sec { display: inline-flex; align-items: center; justify-content: center; height: 45px; padding: 0 16px; border: 1px solid var(--s2-ink); background: transparent; color: var(--s2-ink); font: 700 12.5px/1 var(--s2-sans); text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
body.s022 .s22-btn-sec:hover, body.s022 .s22-btn-sec[aria-current] { background: var(--s2-ink); color: #fbfaf6; }
body.s022 .s22-btn-sec:focus-visible, body.s022 .site-header .header-cta .btn:focus-visible { outline: 2px solid var(--s2-ink); outline-offset: 3px; }
body.s022 .s22-btn-sec--bloque { display: flex; width: 100%; height: 50px; margin-bottom: 10px; }
body.s022 .site-header .idiomas--header a:focus-visible { outline: 2px solid var(--s2-ink); outline-offset: 2px; }
/* 1281–1380 px: todo en una línea, más ajustado */
@media (max-width: 1380px) {
	body.s022 .site-header > .wrap { gap: 14px; padding: 0 20px; }
	body.s022 .site-header .nav > ul { gap: 16px; }
	body.s022 .site-header .nav > ul > li > a { font-size: 12.5px; }
	body.s022 .site-header .header-cta { gap: 8px; }
	body.s022 .s22-btn-sec { padding: 0 12px; }
}
/* Hasta 1279 px el menú pasa al panel antes de que los textos o botones se compriman */
@media (max-width: 1279px) {
	body.s022 .site-header .nav { display: none; }
	body.s022 .site-header .header-cta { margin-left: auto; }
	body.s022 .site-header .menu-toggle { display: flex; }
	body.s022 .site-header .s22-brand .s22-afil { display: inline; }
}
@media (max-width: 760px) {
	body.s022 .site-header .header-cta .s22-btn-sec, body.s022 .site-header .idiomas--header { display: none; } /* en el celular, Vendé y el idioma van en el menú */
}
@media (max-width: 600px) { body.s022 .site-header .s22-brand .s22-afil { display: none; } }
/* Menú móvil: grupos claros y objetivos táctiles cómodos */
body.s022 .drawer nav > ul > li > a, body.s022 .drawer .drawer-acordeon__fila > a { min-height: 48px; }
body.s022 .drawer .drawer-acordeon__boton { min-width: 44px; min-height: 44px; }
body.s022 .drawer .drawer-acordeon__lista a { display: flex; align-items: center; min-height: 44px; }
body.s022 .drawer__foot { display: grid; gap: 0; }
@media (min-width: 1280px) and (max-width: 1380px) { body.s022 .site-header .s22-brand .s22-afil { display: none; } }
/* Con teclado se abre con la flecha (no por pasar el foco por el nombre); así Escape lo puede cerrar */
body.s022 .site-header .nav li.has-sub:focus-within:not(:hover):not(.is-abierta) > .nav__sub { display: none !important; }
/* Menú móvil en todas las páginas (también el inicio, que no carga s02-secciones.css): idioma activo y redes legibles */
body.s022 .drawer .idiomas--drawer a, body.s022 .drawer .idiomas--drawer span { color: #545651; }
body.s022 .drawer .idiomas--drawer [aria-current] { color: var(--s2-ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
body.s022 .drawer .redes--drawer .red { color: #545651; }
@media (max-width: 600px) { body.s022 .drawer__brand .s22-afil { display: none; } } /* la X de cierre del menú queda entera */

/* ---------- 14. Menú en panel también en escritorio (pedido de Augusto, 29/11/2026) ----------
   La cabecera queda limpia (logo · idioma · WhatsApp · «Menú») y la navegación completa vive en el mismo panel del
   celular: lista numerada, Paraguay y Mercado & Análisis en acordeón, idioma, «Vendé tu propiedad» y WhatsApp.
   En escritorio el panel entra por la derecha (520 px) sobre la página atenuada; Escape, la X o un clic afuera lo cierran. */
body.s022 .site-header .nav { display: none !important; }
body.s022 .site-header .header-cta .s22-btn-sec { display: none; }
body.s022 .site-header .menu-toggle { display: inline-flex; align-items: center; gap: 10px; width: auto; height: 45px; padding: 0 4px 0 12px; color: var(--s2-ink); }
body.s022 .site-header .menu-toggle svg { width: 26px; height: 26px; }
body.s022 .s22-menu-txt { font: 700 13px/1 var(--s2-sans); letter-spacing: .02em; }
body.s022 .site-header .menu-toggle:hover .s22-menu-txt { text-decoration: underline; text-underline-offset: 5px; }
body.s022 .site-header .menu-toggle:focus-visible { outline: 2px solid var(--s2-ink); outline-offset: 2px; }
body.s022 .site-header .header-cta { margin-left: auto; }
@media (max-width: 760px) { body.s022 .s22-menu-txt { display: none; } body.s022 .site-header .menu-toggle { padding: 0; width: 44px; justify-content: center; } }
@media (min-width: 761px) {
	body.s022 .drawer { left: auto; right: 0; width: min(520px, 100vw); border-left: 1px solid var(--s22-linea); box-shadow: -30px 0 60px rgba(19, 20, 22, .14); transform: translateX(24px); transition: opacity .3s ease, visibility .3s, transform .3s ease; }
	body.s022 .drawer.is-open { transform: none; }
	body.s022:has(.drawer.is-open)::after { content: ""; position: fixed; inset: 0; z-index: 65; background: rgba(21, 23, 25, .38); }
	body.s022 .drawer nav > ul > li > a, body.s022 .drawer .drawer-acordeon__fila > a { font-size: 38px; }
	body.s022 .drawer .drawer__top { padding: 26px 32px 20px; }
	body.s022 .drawer nav > ul { padding: 12px 32px; }
	body.s022 .drawer .idiomas--drawer, body.s022 .drawer__foot { padding-left: 32px; padding-right: 32px; }
}
@media (prefers-reduced-motion: reduce) { body.s022 .drawer { transition: none; transform: none; } }
body.s022 .drawer [data-menu-close] { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--s2-ink); } /* la X siempre visible */

/* ---------- 16. Panel del menú (celular y tablet): más compacto y mejor resuelto ---------- */
@media all {
	body.s022 .drawer { display: flex; flex-direction: column; justify-content: flex-start; padding: 0 0 calc(24px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; overscroll-behavior: contain; }
	/* cabecera del panel: logo y X alineados, siempre a mano aunque el menú se desplace */
	body.s022 .drawer .drawer__top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: calc(12px + env(safe-area-inset-top, 0px)) 20px 12px; background: var(--s2-bg); border-bottom: 1px solid var(--s2-hair); }
	body.s022 .drawer__brand.s22-brand { width: auto; }
	body.s022 .drawer [data-menu-close] { flex: none; margin-right: -8px; }
	/* lista: arranca enseguida, opciones y divisores parejos */
	body.s022 .drawer nav { flex: none; margin: 0; }
	body.s022 .drawer nav > ul { padding: 4px 20px 0; margin: 0; }
	body.s022 .drawer nav > ul > li > a, body.s022 .drawer .drawer-acordeon__fila > a { min-height: 0; padding: 14px 0; font-size: clamp(26px, 7.2vw, 34px); line-height: 1.1; white-space: nowrap; }
	body.s022 .drawer .drawer-acordeon__fila { gap: 8px; }
	body.s022 .drawer .drawer-acordeon__lista { padding: 0 0 10px 34px; }
	/* idioma: tres opciones claras, la activa destacada */
	body.s022 .drawer .idiomas--drawer { display: flex; gap: 8px; margin: 20px 20px 0; padding: 0; list-style: none; }
	body.s022 .drawer .idiomas--drawer li { flex: 1; }
	body.s022 .drawer .idiomas--drawer li + li::before { display: none; }
	body.s022 .drawer .idiomas--drawer a, body.s022 .drawer .idiomas--drawer span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 1px solid var(--s22-linea); background: #fff; color: var(--s2-ink); font: 700 13px var(--s2-sans); letter-spacing: .06em; text-decoration: none; }
	body.s022 .drawer .idiomas--drawer [aria-current] { background: var(--s2-ink); border-color: var(--s2-ink); color: #fbfaf6; text-decoration: none; }
	body.s022 .drawer .idiomas--drawer .bandera { width: 18px; height: 12px; }
	/* acciones: WhatsApp principal, Vendé secundaria debajo; redes legibles */
	body.s022 .drawer__foot { display: flex; flex-direction: column; gap: 10px; margin: 16px 20px 0; padding: 0; }
	body.s022 .drawer__foot .btn--wa { order: 1; min-height: 52px; }
	body.s022 .drawer__foot .s22-btn-sec--bloque { order: 2; margin: 0; height: 48px; }
	body.s022 .drawer__foot .redes--drawer { order: 3; margin-top: 6px; }
	body.s022 .drawer .redes--drawer .red { opacity: 1; color: #3d3e3a; min-height: 40px; }
	body.s022 .drawer .redes--drawer .red svg { color: var(--s2-ink); }
}
@media (min-width: 761px) {
	body.s022 .drawer nav > ul, body.s022 .drawer .drawer__top { padding-left: 32px; padding-right: 32px; }
	body.s022 .drawer .idiomas--drawer, body.s022 .drawer__foot { margin-left: 32px; margin-right: 32px; }
}
@media all {
	body.s022 .drawer .drawer__top { min-height: 72px; padding-top: calc(14px + env(safe-area-inset-top, 0px)); padding-bottom: 14px; }
	body.s022 .drawer__brand.s22-brand .brand__name { font-size: 24px; line-height: 1.1; }
	body.s022 .drawer .idiomas--drawer li > a, body.s022 .drawer .idiomas--drawer li > span { width: 100%; }
}

/* ---------- 17. Panel del menú: proporciones (29/11/2026) ----------
   Una grilla para cada opción (número 30 px · título · flecha o botón 44 px) con los mismos ejes; el monograma
   arranca en el eje de los números y la X queda sobre el eje de las flechas. Títulos algo más chicos, sin altura fija. */
@media all {
	body.s022 .drawer nav > ul > li > a, body.s022 .drawer .drawer-acordeon__fila > a { display: grid; grid-template-columns: 30px minmax(0, 1fr) 44px; column-gap: 8px; align-items: center; padding: 12px 0; font-size: clamp(24px, 6.7vw, 30px); line-height: 1.12; white-space: normal; text-wrap: balance; }
	body.s022 .drawer .drawer-acordeon__fila > a { grid-template-columns: 30px minmax(0, 1fr); flex: 1; min-width: 0; }
	body.s022 .drawer nav > ul > li > a::before, body.s022 .drawer .drawer-acordeon__fila > a::before { grid-column: 1; align-self: center; }
	body.s022 .drawer nav > ul > li > a::after { grid-column: 3; justify-self: center; margin: 0; font-size: 20px; line-height: 1; }
	body.s022 .drawer .drawer-acordeon__fila { gap: 8px; align-items: center; }
	body.s022 .drawer .drawer-acordeon__boton { flex: none; width: 44px; height: 44px; margin: 0; }
	body.s022 .drawer .drawer-acordeon__lista { padding: 0 0 8px 38px; }
	body.s022 .drawer .drawer-acordeon__lista a { min-height: 40px; font-size: 15px; }
	body.s022 .drawer [data-menu-close] { margin-right: 0; }
	body.s022 .drawer .drawer__top { min-height: 68px; }
	body.s022 .drawer .idiomas--drawer { margin-top: 18px; }
	body.s022 .drawer__foot { margin-top: 14px; }
	body.s022 .drawer__foot .redes--drawer { margin: 4px 0 0; padding: 0; column-gap: 16px; }
}

/* ---------- 18. Menú único en panel (decisión de Augusto, 29/11/2026) ----------
   Cabecera de una línea en todos los tamaños: A + nombre + descriptor · idioma · WhatsApp · «Menú». Sin navegación
   horizontal: el panel es la navegación en celular y en computadora. En escritorio cada opción suma una línea breve. */
.s22-nav-vende { display: none; }
@media (min-width: 601px) { body.s022 .site-header .s22-brand .s22-afil { display: inline; } }
body.s022 .s22-op { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
body.s022 .s22-desc { display: none; font: 400 13px/1.35 var(--s2-sans); letter-spacing: 0; color: #6d6d65; white-space: normal; }
@media (min-width: 761px) {
	body.s022 .s22-desc { display: block; }
	body.s022 .drawer nav > ul > li > a, body.s022 .drawer .drawer-acordeon__fila > a { padding: 14px 0; }
	body.s022 .site-header .header-cta { gap: 16px; }
}

/* ---------- 19. Guías de Paraguay: una destacada, dos secundarias y el resto en tarjetas livianas (29/11/2026) ----------
   Las clases s22-g1/g2/g3 las pone s022.js según el orden real visible del explorador (caminos y temas incluidos).
   Todas las tarjetas: tema · título · resumen breve · tiempo de lectura · enlace. Más aire y alturas parejas. */
body.s022 .px-mosaico { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; grid-auto-flow: row; }
body.s022 .px-mosaico > li.px-g { grid-column: span 4 !important; grid-row: auto !important; }
body.s022 .px-mosaico > li.s22-g1 { grid-column: 1 / -1 !important; }
body.s022 .px-mosaico > li.s22-g2 { grid-column: span 6 !important; }
body.s022 .px-mosaico .px-g__enlace { display: flex; flex-direction: column; height: 100%; background: var(--s22-blanco); color: var(--s2-ink); border: 1px solid var(--s22-linea); }
body.s022 .px-mosaico .px-g__cuerpo { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 22px 24px 20px; }
body.s022 .px-mosaico .px-g__temas { color: var(--s22-oliva); }
body.s022 .px-mosaico .px-g__titulo { font-size: 1.3rem; line-height: 1.18; }
body.s022 .px-mosaico .px-g__resumen { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.55; color: #545651; }
body.s022 .px-mosaico .px-g__pie { margin-top: auto; padding-top: 12px; }
body.s022 .px-mosaico .px-g__meta { color: #6d6d65; }
body.s022 .px-mosaico .px-g__leer { display: inline-flex; font-size: 13px; font-weight: 700; }
body.s022 .px-mosaico .px-g--sin-foto .px-g__enlace { background: var(--s22-blanco); color: var(--s2-ink); border-color: var(--s22-linea); }
body.s022 .px-mosaico .px-g--sin-foto .px-g__resumen, body.s022 .px-mosaico .px-g--sin-foto .px-g__meta { color: #545651; }
body.s022 .px-mosaico .px-g--sin-foto .px-g__temas { color: var(--s22-oliva); }
/* livianas: sin foto, solo texto */
body.s022 .px-mosaico > li.s22-g3 .px-g__media { display: none !important; }
/* secundarias: foto arriba 16:9 */
body.s022 .px-mosaico > li.s22-g2 .px-g__media { display: block !important; position: relative; aspect-ratio: 16 / 9; min-height: 0; overflow: hidden; }
body.s022 .px-mosaico > li.s22-g2 .px-g__media img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
body.s022 .px-mosaico > li.s22-g2 .px-g__titulo { font-size: 1.5rem; }
/* destacada: foto 7/12 y texto 5/12 */
body.s022 .px-mosaico > li.s22-g1 .px-g__enlace { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
body.s022 .px-mosaico > li.s22-g1.px-g--sin-foto .px-g__enlace { grid-template-columns: 1fr; }
body.s022 .px-mosaico > li.s22-g1 .px-g__media { display: block !important; position: relative; order: 0; min-height: 380px; aspect-ratio: auto; overflow: hidden; }
body.s022 .px-mosaico > li.s22-g1 .px-g__media img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
body.s022 .px-mosaico > li.s22-g1 .px-g__cuerpo { justify-content: center; gap: 12px; padding: clamp(26px, 3vw, 44px); }
body.s022 .px-mosaico > li.s22-g1 .px-g__titulo { font-size: clamp(1.8rem, 2.5vw, 2.4rem); line-height: 1.08; }
body.s022 .px-mosaico > li.s22-g1 .px-g__resumen { -webkit-line-clamp: 4; font-size: 15px; }
body.s022 .px-mosaico > li.s22-g1 .px-g__pie { margin-top: 10px; }
@media (max-width: 999px) {
	body.s022 .px-mosaico { gap: 16px; }
	body.s022 .px-mosaico > li.px-g, body.s022 .px-mosaico > li.s22-g2 { grid-column: span 6 !important; }
	body.s022 .px-mosaico > li.s22-g1 .px-g__enlace { grid-template-columns: 1fr; }
	body.s022 .px-mosaico > li.s22-g1 .px-g__media { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
	body.s022 .px-mosaico { grid-template-columns: 1fr; gap: 12px; }
	body.s022 .px-mosaico > li.px-g, body.s022 .px-mosaico > li.s22-g1, body.s022 .px-mosaico > li.s22-g2 { grid-column: 1 / -1 !important; }
	body.s022 .px-mosaico .px-g__cuerpo { padding: 18px 18px 16px; }
	body.s022 .px-mosaico > li.s22-g1 .px-g__titulo { font-size: 1.6rem; }
	body.s022 .px-mosaico > li.s22-g2 .px-g__titulo { font-size: 1.3rem; }
	body.s022 .px-mosaico .px-g__resumen { -webkit-line-clamp: 2; }
}

/* ---------- 20. Botones y enlaces: una sola gramática de estados (29/11/2026) ----------
   Niveles: principal oscuro (.s2-btn--oscuro, .btn, envíos), secundario delineado (.s2-btn--linea, .s22-btn-sec),
   enlace editorial con flecha (.s22-link, .s2-link, .r7m__link, .px-g__leer). WhatsApp usa el principal.
   Estados: hover · foco visible (2 px, también sobre fondos oscuros) · presionado · deshabilitado · cargando. */
body.s022 :is(.s2-btn, .btn, .s22-btn-sec, .s2-buscar__boton, .s22-accion, .s22-barra button, .menu-toggle, .drawer-acordeon__boton, .s22-sub-btn, .filters-toggle):focus-visible,
body.s022 :is(a.s22-link, a.s2-link, a.r7m__link, a.s2-fila__ver, .idiomas a):focus-visible { outline: 2px solid var(--s2-ink); outline-offset: 3px; }
body.s022 :is(.s22-banda--carbon, .s22-banda--oliva, .site-footer, .s2-cierre) :focus-visible { outline-color: #fbfaf6; }
body.s022 :is(.s2-btn, .btn, .s22-btn-sec, .s2-buscar__boton, .s22-accion):active:not(:disabled):not([aria-disabled="true"]) { transform: translateY(1px); }
body.s022 :is(.s2-btn, .btn, .s22-btn-sec, .s2-buscar__boton, .s22-accion, .s22-barra button):is(:disabled, [aria-disabled="true"]) { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
body.s022 :is(.s2-btn, .btn, .s2-buscar__boton)[aria-busy="true"] { cursor: progress; opacity: .75; }
body.s022 :is(.s2-btn, .btn, .s2-buscar__boton)[aria-busy="true"]::before { content: ""; width: 14px; height: 14px; margin-right: 8px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; vertical-align: -2px; animation: s22-gira .8s linear infinite; }
@keyframes s22-gira { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { body.s022 :is(.s2-btn, .btn, .s2-buscar__boton)[aria-busy="true"]::before { animation: none; } }
/* enlaces editoriales: subrayado fino que se marca al pasar y al presionar */
body.s022 :is(a.s22-link, a.s2-link, a.r7m__link):hover { text-decoration-thickness: 2px; }
body.s022 :is(a.s22-link, a.s2-link, a.r7m__link):active { opacity: .7; }
/* secundario delineado: mismo hover que el resto (fondo tinta, texto marfil) */
body.s022 .s2-btn--linea:hover { background: var(--s2-ink); color: #fbfaf6; border-color: var(--s2-ink); }
/* controles táctiles cómodos */
body.s022 :is(.s2-btn, .s22-btn-sec, .s2-buscar__boton) { min-height: 48px; }

/* ---------- 21. Compartir y Limpiar todo (29/11/2026) ---------- */
body.s022 .s22-compartir-caja { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
body.s022 .s22-compartir { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 2px; border: 0; background: none; color: var(--s2-ink); font: 700 13px var(--s2-sans); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; cursor: pointer; }
body.s022 .s22-compartir:hover { text-decoration-thickness: 2px; }
body.s022 .s22-compartir:focus-visible { outline: 2px solid var(--s2-ink); outline-offset: 3px; }
body.s022 .s22-compartir__aviso { font-size: 13px; color: #1f7a4d; font-weight: 600; }
body.s022 .s22-compartir__aviso:empty { display: none; }
body.s022 .active-filters .s22-limpiar { display: inline-flex; align-items: center; min-height: 36px; padding: 0 6px; border: 0; background: none; color: var(--s2-ink); font-weight: 700; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
body.s022 .active-filters .s22-limpiar:focus-visible { outline: 2px solid var(--s2-ink); outline-offset: 2px; }

/* ---------- 22. Altura real de la cabecera (barras fijas y anclas debajo de ella, sin solaparse) ---------- */
:root:has(body.s022), body.s022.r7 { --header-h: 91px; } /* r7.css fija 58 px en el celular: se corrige también en el body */
@media (max-width: 1100px) { :root:has(body.s022), body.s022.r7 { --header-h: 76px; } }
@media (max-width: 720px) { :root:has(body.s022), body.s022.r7 { --header-h: 69px; } }

/* ---------- 23. Tarjetas de Propiedades (29/11/2026) ----------
   Mismo lenguaje que las de Proyectos, con estructura propia de una unidad: operación y tipo sobre la foto,
   ubicación, título, datos reales como etiquetas (dormitorios, baños, cocheras, m², piso), precio con rótulo
   (en Manrope, como pide la identidad) y código. Solo lo cargado en la ficha; sin precio, «Precio a consultar». */
body.s022 .card--prop { display: flex; flex-direction: column; height: 100%; background: var(--s22-blanco); border: 1px solid var(--s22-linea); transition: border-color .2s; }
body.s022 .card--prop:hover { border-color: #b9b2a6; }
body.s022 .card--prop:focus-visible { outline: 2px solid var(--s2-ink); outline-offset: 3px; }
body.s022 .card--prop .card__badges { top: 14px; left: 14px; }
body.s022 .card--prop .badge { padding: 7px 10px; font-size: 9.5px; letter-spacing: .12em; }
body.s022 .card--prop .card__body { display: flex; flex-direction: column; gap: 0; flex: 1; padding: 16px 20px 18px; }
body.s022 .card--prop .card__loc { order: -1; margin: 0 0 6px; font-size: 12px; color: #6d6d65; }
body.s022 .card--prop .card__title { margin: 0; font-size: clamp(22px, 1.8vw, 26px); line-height: 1.12; letter-spacing: -.035em; }
body.s022 .card--prop .s22-chips { margin: 12px 0 0; }
body.s022 .card--prop .card__foot { align-items: flex-end; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--s2-hair); }
body.s022 .card--prop .s22-chips { margin-bottom: 16px; }
body.s022 .card--prop .card__title { margin-bottom: 12px; }
body.s022 .card--prop .s22-prop-precio { display: flex; flex-direction: column; gap: 2px; }
body.s022 .card--prop .precio { font: 700 17px/1.25 var(--s2-sans); letter-spacing: 0; color: var(--s2-ink); }
body.s022 .card--prop .precio--consultar { font-size: 15px; }
body.s022 .card--prop .card__cta { font-size: 12.5px; padding-bottom: 3px; white-space: nowrap; }
body.s022 .card--prop .card__dev { margin-top: 10px; font-size: 10.5px; }
body.s022 .grid-cards { gap: 22px; }
@media (max-width: 640px) {
	body.s022 .card--prop .card__body { padding: 14px 16px 16px; }
	body.s022 .grid-cards { gap: 14px; }
}

/* ---------- 24. Transcripción del video (Sobre mí) ---------- */
body.s022 .s22-transcripcion { margin-top: 18px; border-top: 1px solid var(--s2-hair); padding-top: 12px; max-width: 62ch; }
body.s022 .s22-transcripcion summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; font-weight: 700; font-size: 13.5px; text-decoration: underline; text-underline-offset: 5px; }
body.s022 .s22-transcripcion summary:focus-visible { outline: 2px solid var(--s2-ink); outline-offset: 3px; }
body.s022 .s22-transcripcion__nota { margin: 4px 0 10px; font-size: 12.5px; color: #6d6d65; }
body.s022 .s22-transcripcion__texto p { margin: 0 0 12px; font-size: 15px; line-height: 1.65; color: #3d3e3a; }

/* ---------- 25. Ancho de lectura en guías y artículos (29/11/2026) ----------
   Párrafos, listas y subtítulos de hasta ~66 caracteres por línea (antes ~78). Tablas, figuras y recuadros no cambian.
   Las guías ya tienen su índice «En esta guía»; no se agregan índices nuevos a textos de 3–6 minutos. */
body.s022 .ge-texto :is(p, ul, ol, h2, h3, h4, blockquote):not(:is(table, figure, aside, details) *) { max-width: 34em; } /* ~66 caracteres reales en Manrope (66ch daba ~78) */

/* ---------- 26. Resultados mientras cargan (29/11/2026): atenuados, sin animación pesada ---------- */
body.s022 [data-results][aria-busy="true"] { opacity: .45; pointer-events: none; transition: opacity .15s; }

/* ---------- 27. Anuncio de guías gratuitas en el Inicio (05/12/2026): dentro de Mercado, con reglas finas, sin caja ---------- */
body.s022 .s2-guias { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: end; margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--s2-hair); }
body.s022 .s2-guias .s2-eyebrow { margin-bottom: 14px; }
body.s022 .s2-guias__titulo { margin: 0; font: 400 clamp(28px, 2.6vw, 40px)/1.08 var(--s2-serif); letter-spacing: -.045em; color: var(--s2-ink); }
body.s022 .s2-guias__texto { margin: 14px 0 0; max-width: 34em; font-size: 15px; line-height: 1.6; color: #5f5b53; }
body.s022 .s2-guias__lista { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--s2-ink); }
body.s022 .s2-guias__lista a { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--s2-hair); font: 400 clamp(19px, 1.6vw, 23px)/1.25 var(--s2-serif); letter-spacing: -.02em; color: var(--s2-ink); text-decoration: none; }
body.s022 .s2-guias__lista a span { font-family: var(--s2-sans); font-size: 14px; color: #8b867a; flex-shrink: 0; }
body.s022 .s2-guias__lista a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
@media (max-width: 760px) {
	body.s022 .s2-guias { grid-template-columns: 1fr; gap: 22px; margin-top: 40px; padding-top: 24px; }
}
body.s022 .r7w__guia { margin: 34px 0 0; padding-top: 22px; border-top: 1px solid var(--s2-hair); max-width: 46em; font-size: 15px; line-height: 1.6; color: #5f5b53; }
body.s022 .r7w__guia a { color: var(--s2-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
