/* Lote 2 «Studio 02» · composición propia de cada sección (todas las páginas con body.s02, salvo Inicio).
   Mismos componentes del Inicio aprobado (eyebrow con regla, Georgia, botones rectos, reglas finas, foto grande),
   distinta composición por sección. Solo CSS: datos, filtros, formularios, vigencias y medición sin cambios. */

/* ======================= Cabeceras de página (Proyectos, Propiedades) ======================= */
body.s02 .r8-cat-cabeza, body.s02 .page-head { padding: clamp(48px, 7vw, 86px) 0 clamp(36px, 5vw, 60px); background: var(--s2-bg); border-bottom: 1px solid var(--s2-hair); }
body.s02 .r8-cat-cabeza .eyebrow, body.s02 .page-head .eyebrow { margin-bottom: 18px; }
body.s02 .r8-cat-cabeza__fila { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
body.s02 .r8-cat-cabeza__titulo, body.s02 .page-head h1 { font: 400 clamp(44px, 5vw, 76px)/1.02 var(--s2-serif); letter-spacing: -.058em; margin: 0; max-width: 17ch; color: var(--s2-ink); }
body.s02.r8 .r8-cat-cabeza::after { display: none; } /* sin el dibujo decorativo de planos */
body.s02 .page-head h1 + p, body.s02 .page-head .lead { margin-top: 24px; }
body.s02 .r8-cat-cabeza__lead, body.s02 .page-head .lead, body.s02 .page-head p { font-size: 15px; line-height: 1.65; max-width: 380px; color: #686861; margin: 0 0 6px; }

/* ======================= Barra de filtros (Proyectos y Propiedades) ======================= */
body.s02 .filters-bar { background: #f0eee8; border-block: 1px solid #dfdbd1; }
body.s02 .filters-bar :is(select, input[type="text"], input[type="search"], input[type="number"], .field__control, button.field__btn) { border-radius: 0; border-color: #d7d5ce; background-color: #fff; font-size: 12.5px; color: #494a46; box-shadow: none; }
body.s02 .filters-bar .chips :is(a, button, label) { border-radius: 0; }
body.s02 .filters-bar .btn { border-radius: 0; }
body.s02 .r8-cat__estado { font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: #69655c; margin: clamp(28px, 4vw, 40px) 0 22px; }

/* ======================= Tarjeta de proyecto (catálogo y donde se repita) ======================= */
body.s02 .r8-grilla { gap: clamp(36px, 4vw, 52px) 23px; }
body.s02 .r8c__enlace, body.s02.r8 .r8c__enlace { background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
body.s02 .r8c__enlace:hover { box-shadow: none; }
body.s02 .r8c__media, body.s02.r8 .r8c__media { aspect-ratio: 1.11; border-radius: 0; background: #dfdcd4; }
body.s02 .r8c__enlace:hover .r8c__media img { transform: scale(1.045); transition-duration: .6s; }
body.s02 .r8c__etapa, body.s02.r8 .r8c__etapa { left: 17px; top: 17px; bottom: auto; border-radius: 0; box-shadow: none; background: #fff; color: var(--s2-ink); padding: 10px 13px; font-size: 9px; font-weight: 700; letter-spacing: .09em; }
body.s02 .r8c__cuerpo, body.s02.r8 .r8c__cuerpo { padding: 18px 0 0; }
body.s02 .r8c__loc { font-size: 11.5px; letter-spacing: .03em; color: #6d6d65; display: flex; align-items: center; gap: 6px; }
body.s02 .r8c__loc .icon { width: 13px; height: 13px; opacity: .7; }
body.s02 .r8c__cabeza { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; }
body.s02 .r8c__titulo, body.s02.r8 .r8c__titulo { font: 400 29px/1.08 var(--s2-serif); letter-spacing: -.05em; margin: 6px 0 0; color: var(--s2-ink); }
body.s02 .r8c__enlace:hover .r8c__titulo { color: var(--s2-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
body.s02 .r8c__flecha { border: 0 !important; background: none !important; width: auto !important; height: auto !important; color: var(--s2-ink); }
body.s02 .r8c__flecha .icon { width: 17px; height: 17px; transform: rotate(-45deg); }
body.s02 .r8c__meta { font-size: 12.5px; color: #6d6d65; margin-top: 8px; }
body.s02 .r8c__pie, body.s02.r8 .r8c__pie { border-top: 1px solid var(--s2-hair); padding-top: 14px; margin-top: 16px; align-items: center; }
body.s02 .r8c__precio { font-size: 13px; font-weight: 700; color: #20201d; }
body.s02 .r8c__precio small { font-size: 11px; font-weight: 500; color: #6d6d65; }
body.s02 .r8c__precio--consultar { font-size: 12.5px; font-weight: 600; color: #3d3e3a; }
body.s02 .r8c__dev, body.s02 .r8c__cta { font-size: 11px; color: #676862; text-align: right; }
body.s02 .pagination :is(a, span) { border-radius: 0; }

/* Consulta al pie del catálogo y formularios: caja marfil, campos rectos (sin tocar el envío) */
body.s02 .r8-cat-consulta, body.s02 .busca-wa { background: #eae8e1; border-top: 1px solid #dfdbd1; }
body.s02 .r7f :is(input, select, textarea) { border-radius: 0; border-color: #d6d4c9; background-color: #fff; box-shadow: none; }
body.s02 .r7f :is(input, select, textarea):focus { border-color: var(--s2-ink); outline: 2px solid rgba(23, 23, 21, .15); outline-offset: 0; }
body.s02 .r7f__chips :is(label, span, button) { border-radius: 0; }
body.s02 .r7f button[type="submit"], body.s02 .r7f .btn { border-radius: 0; background: #20211f; border-color: #20211f; color: #fff; min-height: 52px; font-size: 12.5px; letter-spacing: .02em; }
body.s02 .r7f button[type="submit"]:hover { background: #484740; }

/* ======================= Propiedades: la foto primero, el precio claro ======================= */
body.s02 .grid-cards { gap: clamp(36px, 4vw, 52px) 23px; }
body.s02 .card--prop { background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; color: var(--s2-ink); }
body.s02 .card--prop:hover { box-shadow: none; transform: none; }
body.s02 .card--prop .card__media { aspect-ratio: 4 / 3; border-radius: 0; overflow: hidden; background: #dfdcd4; }
body.s02 .card--prop .card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
body.s02 .card--prop:hover .card__media img { transform: scale(1.03); }
body.s02 .card--prop .badge { border-radius: 0; background: #fff; color: var(--s2-ink); font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; padding: 10px 13px; box-shadow: none; }
body.s02 .card--prop .card__badges { top: 17px; left: 17px; }
body.s02 .card--prop .card__body { padding: 18px 0 0; }
body.s02 .card--prop .card__loc { font-size: 11.5px; color: #6d6d65; letter-spacing: .03em; }
body.s02 .card--prop .card__title { font: 400 clamp(24px, 2.2vw, 29px)/1.12 var(--s2-serif); letter-spacing: -.045em; margin: 6px 0 0; }
body.s02 .card--prop .card__meta { display: flex; flex-wrap: wrap; gap: 0; margin-top: 12px; border-top: 1px solid var(--s2-hair); border-bottom: 1px solid var(--s2-hair); }
body.s02 .card--prop .card__meta span { padding: 10px 14px 10px 0; margin-right: 14px; font-size: 12px; color: #3d3e3a; border-right: 1px solid var(--s2-hair); background: none; border-radius: 0; }
body.s02 .card--prop .card__meta span:last-child { border-right: 0; margin-right: 0; }
body.s02 .card--prop .card__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-top: 14px; border: 0; padding: 0; }
body.s02 .card--prop .precio { font: 400 clamp(24px, 2.2vw, 30px)/1 var(--s2-serif); letter-spacing: -.04em; color: var(--s2-ink); }
body.s02 .card--prop .card__cta { font-size: 11.5px; font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
body.s02 .card--prop .card__dev { display: block; margin-top: 10px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #69655c; }

/* ======================= Vendé tu propiedad: confianza y contacto ======================= */
body.s02 .r7v { padding: 0; background: var(--s2-bg); border-bottom: 1px solid var(--s2-hair); }
body.s02 .r7v__grid { max-width: none; width: 100%; padding: 0; margin: 0; display: grid; grid-template-columns: 55% 45%; gap: 0; min-height: min(640px, calc(100svh - 91px)); align-items: stretch; }
body.s02 .r7v__texto { display: flex; flex-direction: column; justify-content: center; padding: clamp(56px, 7vw, 92px) 6vw clamp(48px, 6vw, 80px) max(5vw, calc((100vw - 1320px) / 2)); }
body.s02 .r7v__titulo { font: 400 clamp(48px, 5.6vw, 92px)/1.01 var(--s2-serif); letter-spacing: -.06em; margin: 18px 0 22px; max-width: 12ch; color: var(--s2-ink); }
body.s02 .r7v__lead { font-size: 17px; line-height: 1.7; color: #545651; max-width: 520px; margin: 0 0 30px; }
body.s02 .r7v .r7h__acciones { display: flex; flex-wrap: wrap; gap: 12px; }
body.s02 .r7v .r7h__acciones .btn { min-height: 55px; padding: 0 22px; font-size: 12px; }
body.s02 .r7v .r7h__acciones .btn:not(.btn--ghost) { background: #20211f; border-color: #20211f; color: #fff; }
body.s02 .r7v .r7h__acciones .btn--ghost { background: transparent; border: 1px solid #a39c90; color: #222; }
body.s02 .r7v__tipos { margin: 26px 0 0; padding-top: 18px; border-top: 1px solid var(--s2-hair); font-size: 12px; letter-spacing: .04em; color: #6d6d65; max-width: 520px; }
body.s02 .r7v__foto { position: relative; margin: 0; min-height: 100%; border-radius: 0; overflow: hidden; }
body.s02 .r7v__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
body.s02 .r7v__foto figcaption { position: absolute; left: 24px; bottom: 24px; right: auto; width: auto; max-width: calc(100% - 48px); background: #fff; color: var(--s2-ink); padding: 12px 15px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
body.s02 .r7w { padding: clamp(64px, 8vw, 106px) 0; background: var(--s2-paper); }
body.s02 .r7w__cabecera { max-width: 760px; margin-bottom: 40px; }
body.s02 .r7w__cabecera .r7-h2 { font-size: clamp(34px, 4.2vw, 62px); line-height: 1.07; letter-spacing: -.055em; }
body.s02 .r7w__recorrido { display: inline-block; margin-top: 18px; } /* Vendé: enlace a Sobre mí en lugar de la franja de fotos */
body.s02 .r7w__momentos { list-style: none; margin: 0; padding: 0; counter-reset: s2paso; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--s2-hair); gap: 0; }
body.s02 .r7w__momentos li { counter-increment: s2paso; padding: 34px 32px 8px 0; border-right: 1px solid var(--s2-hair); background: none; border-radius: 0; box-shadow: none; }
body.s02 .r7w__momentos li + li { padding-left: 32px; }
body.s02 .r7w__momentos li:last-child { border-right: 0; }
body.s02 .r7w__momentos li::before { content: counter(s2paso, decimal-leading-zero) "."; display: block; font: italic 25px var(--s2-serif); color: #9b9386; margin-bottom: 20px; }
body.s02 .r7w__momentos h3 { font: 400 27px/1.15 var(--s2-serif); letter-spacing: -.04em; margin: 0 0 12px; color: var(--s2-ink); }
body.s02 .r7w__momentos p { font-size: 14px; line-height: 1.75; color: #64655e; max-width: 320px; margin: 0; }
body.s02 .r7v-form { background: #eae8e1; padding: clamp(64px, 8vw, 96px) 0; border-top: 1px solid #dfdbd1; }
body.s02 .r7v-form__grid { gap: clamp(32px, 5vw, 80px); align-items: start; }
body.s02 .r7v-form__intro .r7-h2 { font-size: clamp(34px, 4vw, 58px); letter-spacing: -.055em; line-height: 1.05; margin: 14px 0 18px; }
body.s02 .r7v-form__intro p { font-size: 15px; line-height: 1.7; color: #545651; }
body.s02 .r7v-form__c21 { margin-top: 24px; padding-top: 16px; border-top: 1px solid #d3cfc5; font-size: 12px; color: #6d6d65; }
body.s02 .r7v-form .r7f { background: var(--s2-paper); padding: clamp(22px, 3vw, 36px); border: 1px solid #dcd8ce; }

/* ======================= Paraguay: pilar del sitio ======================= */
body.s02 .px-portada { display: grid; grid-template-columns: 42% 58%; align-items: stretch; min-height: min(640px, calc(100svh - 91px)); background: #282926; color: #fff; }
body.s02 .px-portada::after { display: none; }
body.s02 .px-portada__img { position: relative; inset: auto; grid-column: 2; grid-row: 1; width: 100%; height: 100%; min-height: 100%; object-fit: cover; filter: saturate(.8); }
body.s02 .px-portada__texto { grid-column: 1; grid-row: 1; align-self: center; max-width: none; width: auto; margin: 0; padding: clamp(56px, 7vw, 92px) 4vw clamp(48px, 6vw, 70px) max(5vw, calc((100vw - 1350px) / 2)); }
body.s02 .px-portada .eyebrow { color: #c5bfb3; }
body.s02 .px-portada .eyebrow::before { background: #a79e91; }
body.s02 .px-portada__titulo { font: 400 clamp(48px, 5.4vw, 92px)/.98 var(--s2-serif); letter-spacing: -.055em; margin: 22px 0 22px; max-width: 12ch; color: #fff; }
body.s02 .px-portada__lead { font-size: 16px; line-height: 1.7; color: #c6c4bc; max-width: 440px; }
body.s02 .px-portada__credito { top: auto; bottom: 18px; right: 18px; background: rgba(23, 23, 21, .55); padding: 6px 10px; font-size: 10px; letter-spacing: .06em; }
body.s02 .px-rutas { margin-top: 0; padding: 0; background: #282926; border-top: 1px solid #3d3d38; }
body.s02 .px-rutas > .wrap { max-width: none; padding: 0; }
body.s02 .px-rutas__lista { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
body.s02 .px-ruta-t { aspect-ratio: 4 / 5; box-shadow: none; border-right: 1px solid #3d3d38; }
body.s02 .px-rutas__lista li:last-child .px-ruta-t { border-right: 0; }
body.s02 .px-ruta-t::after { background: linear-gradient(180deg, rgba(23, 23, 21, 0) 40%, rgba(23, 23, 21, .86) 100%); }
body.s02 .px-ruta-t__cuerpo { padding: 26px 28px; gap: 10px; }
body.s02 .px-ruta-t__n { font-size: 10px; letter-spacing: .16em; color: #d8d2c6; }
body.s02 .px-ruta-t__nombre { font: 400 clamp(26px, 2.6vw, 38px)/1.02 var(--s2-serif); letter-spacing: -.045em; }
body.s02 .px-ruta-t__nombre::after { content: ' ↗'; font-family: var(--s2-sans); font-size: .55em; vertical-align: .25em; opacity: .8; }
body.s02 .px-guias-sec { background: var(--s2-bg); }
body.s02 .px-guias-sec__cab .r7-h2 { font-size: clamp(36px, 4.2vw, 64px); letter-spacing: -.055em; line-height: 1.06; max-width: 16ch; }
body.s02 .px-guias-sec__desc { font-size: 15px; line-height: 1.7; color: #686861; max-width: 420px; }
body.s02 .px-filtro summary, body.s02 .px-chips a { border-radius: 0; }
body.s02 .px-mosaico > li > a, body.s02 .px-mosaico .px-guia-t { border-radius: 0; box-shadow: none; }
body.s02 .px-mosaico img { border-radius: 0; }
body.s02 .py-ciudad, body.s02 .py-ciudad__foto, body.s02 .py-ciudad__foto img { border-radius: 0; box-shadow: none; }
body.s02 .py-dados { background: #e9e6de; }

/* Guías: lectura editorial */
body.s02 .ge-hero { background: var(--s2-bg); border-bottom: 1px solid var(--s2-hair); padding-bottom: clamp(28px, 4vw, 48px); }
body.s02 .ge-hero__titulo { font: 400 clamp(40px, 5.6vw, 82px)/1.02 var(--s2-serif); letter-spacing: -.055em; max-width: 14ch; }
body.s02 .ge-hero__bajada { font-size: 17px; line-height: 1.7; color: #545651; }
body.s02 .ge-hero__meta { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #69655c; }
body.s02 .ge-hero__foto img { border-radius: 0; aspect-ratio: 16 / 9; }
body.s02 .ge-texto { font-size: 17px; line-height: 1.8; }
body.s02 .ge-texto :is(h2, h3) { font-family: var(--s2-serif); font-weight: 400; letter-spacing: -.04em; }
body.s02 .ge-indice summary { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #69655c; }
body.s02 .ge-indice a { font-size: 14px; }
body.s02 .ge-cta { background: #1b1c1a; color: #efeee8; }

/* ======================= Responsive ======================= */
@media (max-width: 1100px) {
	body.s02 .px-rutas__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.s02 .px-ruta-t { aspect-ratio: 1 / 1; border-bottom: 1px solid #3d3d38; }
	body.s02 .px-rutas__lista li:nth-child(2n) .px-ruta-t { border-right: 0; }
	body.s02 .r7w__momentos { grid-template-columns: 1fr; }
	body.s02 .r7w__momentos li, body.s02 .r7w__momentos li + li { padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--s2-hair); }
}
@media (max-width: 720px) {
	body.s02 .r8-cat-cabeza__fila { display: block; }
	body.s02 .r8-cat-cabeza, body.s02 .page-head { padding: 32px 0 28px; }
	body.s02 .r8-cat-cabeza__titulo, body.s02 .page-head h1 { font-size: clamp(34px, 9.6vw, 42px); max-width: none; }
	body.s02 .px-ruta-t__nombre::after { content: none; }
	body.s02 .r8-cat-cabeza__lead, body.s02 .page-head p { margin-top: 16px; font-size: 14px; }
	body.s02 .r8-grilla, body.s02 .grid-cards { gap: 40px; }
	body.s02 .r8c__media, body.s02.r8 .r8c__media { aspect-ratio: 1.2; }
	body.s02 .r8c__titulo, body.s02.r8 .r8c__titulo { font-size: 28px; }
	body.s02 .r8c__meta { font-size: 13px; }
	body.s02 .r8c__precio { font-size: 14px; }
	body.s02 .card--prop .card__media { aspect-ratio: 1.15; }
	body.s02 .card--prop .card__meta span { padding-right: 10px; margin-right: 10px; }
	body.s02 .r7v__grid { display: flex; flex-direction: column; min-height: 0; }
	body.s02 .r7v__texto { padding: 40px 22px 36px; }
	body.s02 .r7v__titulo { font-size: clamp(40px, 11vw, 54px); }
	body.s02 .r7v__lead { font-size: 15px; }
	body.s02 .r7v__foto { min-height: 0; height: 300px; }
	body.s02 .px-portada { display: flex; flex-direction: column; min-height: 0; }
	body.s02 .px-portada__texto { padding: 40px 22px 34px; }
	body.s02 .px-portada__titulo { font-size: clamp(40px, 11vw, 54px); }
	body.s02 .px-portada__lead { font-size: 15px; }
	body.s02 .px-portada__img { height: 260px; min-height: 0; order: 2; }
	body.s02 .px-portada__credito { bottom: 10px; right: 10px; }
	body.s02 .px-ruta-t__cuerpo { padding: 16px; }
	body.s02 .px-ruta-t__nombre { font-size: 22px; }
	body.s02 .ge-hero__titulo { font-size: clamp(36px, 10vw, 50px); }
}
@media (prefers-reduced-motion: reduce) {
	body.s02 :is(.r8c__media img, .card__media img) { transition: none; }
}


/* Ajustes finales del lote 2 */
body.s02 .page-head h1 + .lead, body.s02 .page-head h1 + p { margin-top: 24px; }
body.s02 .filters-toggle { border-radius: 0; height: 44px; font-size: 13px; }
body.s02 .filters-toggle .count { border-radius: 0; }
body.s02 .filters { border-radius: 0; }

/* =====================================================================================================
   V3 · ronda 2.5 de dirección de arte (Proyectos, Paraguay, Vendé, Propiedades). Reemplaza la composición
   del lote 2 en estas secciones. Solo presentación: datos, filtros, formularios y SEO sin cambios.
   ===================================================================================================== */

/* ---------- PARAGUAY · portada inmersiva y caminos protagonistas ---------- */
body.s02 .px-portada { display: flex; align-items: flex-end; min-height: calc(100svh - 91px); background: #151719; position: relative; }
body.s02 .px-portada__img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; grid-column: auto; grid-row: auto; filter: none; order: 0; }
body.s02 .px-portada::after { display: block; content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 18, 16, .15) 0%, rgba(17, 18, 16, 0) 30%, rgba(17, 18, 16, .25) 58%, rgba(17, 18, 16, .86) 100%); }
body.s02 .px-portada__texto { position: relative; z-index: 1; width: 100%; max-width: var(--s2-max); margin: 0 auto; padding: 0 36px clamp(56px, 8vh, 96px); grid-column: auto; grid-row: auto; align-self: flex-end; }
body.s02 .px-portada__titulo { font-size: clamp(56px, 7.4vw, 124px); line-height: .94; letter-spacing: -.06em; max-width: 11ch; margin: 22px 0 26px; }
body.s02 .px-portada__lead { font-size: 18px; color: #e9e5dc; max-width: 520px; }
body.s02 .px-portada .eyebrow { color: #e8e2d6; }
body.s02 .px-portada__credito { top: 18px; bottom: auto; right: 22px; background: none; padding: 0; color: rgba(242, 239, 231, .8); }
/* Auditoría fotográfica 15/11: en escritorio el título caía sobre el tronco y las ramas. El texto baja (menos líneas,
   más ancho) y una sombra localizada, solo detrás del bloque, asegura la lectura. La foto no cambia; celular igual. */
@media (min-width: 721px) {
	body.s02 .px-portada__titulo { font-size: clamp(56px, 6.2vw, 104px); max-width: 15ch; margin: 18px 0 22px; }
	body.s02 .px-portada::after { background: radial-gradient(ellipse 58% 62% at 16% 78%, rgba(17, 18, 16, .66) 0%, rgba(17, 18, 16, .42) 48%, rgba(17, 18, 16, 0) 78%), linear-gradient(180deg, rgba(17, 18, 16, .15) 0%, rgba(17, 18, 16, 0) 30%, rgba(17, 18, 16, .25) 58%, rgba(17, 18, 16, .86) 100%); }
	body.s02 .px-portada .eyebrow, body.s02 .px-portada__titulo { text-shadow: 0 1px 18px rgba(17, 18, 16, .35); }
}
body.s02 .px-rutas { background: #151719; padding: 0 0 2px; border-top: 0; }
body.s02 .px-rutas .sr-only { position: static; width: auto; height: auto; clip: auto; clip-path: none; overflow: visible; white-space: normal; display: block; max-width: var(--s2-max); margin: 0 auto; padding: 34px 36px 22px; font: 700 10px var(--s2-sans); letter-spacing: .16em; text-transform: uppercase; color: #aaa69d; }
body.s02 .px-rutas__lista { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }
body.s02 .px-ruta-t { aspect-ratio: auto; height: clamp(440px, 68vh, 700px); border: 0; }
body.s02 .px-rutas__lista li:last-child .px-ruta-t { border: 0; }
body.s02 .px-ruta-t::after { background: linear-gradient(180deg, rgba(17, 18, 16, .1) 0%, rgba(17, 18, 16, 0) 35%, rgba(17, 18, 16, .88) 100%); }
body.s02 .px-ruta-t__cuerpo { padding: 32px 30px; gap: 14px; }
body.s02 .px-ruta-t__n { font-size: 11px; color: #e2dccf; }
body.s02 .px-ruta-t__nombre { font-size: clamp(34px, 3.2vw, 52px); line-height: .98; letter-spacing: -.05em; }
body.s02 .px-ruta-t[aria-current]::before { box-shadow: inset 0 -4px 0 #f6f5f1; }
body.s02 .px-ruta-t[data-px-ruta="invertir"] .px-ruta-t__media img { object-position: 34% 50%; } /* la panorámica: centrada en la línea de torres */
@media (max-width: 1100px) {
	body.s02 .px-rutas__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.s02 .px-ruta-t { height: 420px; border: 0; }
}
@media (max-width: 720px) {
	/* Celular: la foto ocupa la pantalla con el texto encima; los caminos se deslizan como tarjetas altas */
	body.s02 .px-portada { min-height: calc(100svh - 69px - 64px); flex-direction: row; display: flex; }
	body.s02 .px-portada__img { height: 100%; }
	body.s02 .px-portada__texto { padding: 0 22px 34px; }
	body.s02 .px-portada__titulo { font-size: clamp(42px, 12vw, 54px); margin: 14px 0 14px; }
	body.s02 .px-portada__lead { font-size: 15px; }
	body.s02 .px-portada__credito { top: 12px; right: 12px; }
	body.s02 .px-rutas .sr-only { padding: 26px 22px 16px; }
	body.s02 .px-rutas__lista { display: flex; grid-template-columns: none; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 22px 26px; scrollbar-width: none; }
	body.s02 .px-rutas__lista::-webkit-scrollbar { display: none; }
	body.s02 .px-rutas__lista > li { flex: 0 0 78%; scroll-snap-align: start; }
	body.s02 .px-ruta-t { height: auto; aspect-ratio: 3 / 4; }
	body.s02 .px-ruta-t__cuerpo { padding: 22px; }
	body.s02 .px-ruta-t__nombre { font-size: 34px; }
}

/* ---------- VENDÉ · collage real, momentos y contacto a mano ---------- */
body.s02 .r7v__grid { grid-template-columns: 50% 50%; min-height: min(720px, calc(100svh - 91px)); }
body.s02 .r7v__foto { overflow: visible; background: #e9e6de; }
body.s02 .r7v__foto > img { position: absolute; inset: 0; }
body.s02 .r7v__foto2 { position: absolute; z-index: 2; left: -11%; bottom: 9%; width: 30%; aspect-ratio: 9 / 16; border: 10px solid var(--s2-bg); box-shadow: 0 30px 60px rgba(17, 18, 16, .28); background: #ddd; }
body.s02 .r7v__foto2 img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.s02 .r7v__foto figcaption { left: auto; right: 24px; }
body.s02 .r7v__texto { padding-right: 9vw; }
body.s02 .r7c { background: #1b1c1a; color: #efeee8; border: 0; }
body.s02 .r7c :is(strong, b) { color: #efeee8; font-family: var(--s2-serif); font-weight: 400; }
body.s02 .r7c :is(span, p) { color: #aaa69d; }
body.s02 .s2-barra-vende { display: none; }
@media (max-width: 720px) {
	body.s02 .r7v__grid { display: flex; flex-direction: column; }
	body.s02 .r7v__foto { height: 360px; order: -1; }
	body.s02 .r7v__foto2 { left: auto; right: 18px; bottom: -36px; width: 34%; border-width: 6px; }
	body.s02 .r7v__foto figcaption { right: auto; left: 18px; bottom: 18px; }
	body.s02 .r7v__texto { padding: 52px 22px 36px; }
	body.s02 .s2-barra-vende { display: flex; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; gap: 8px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #f6f5f1; border-top: 1px solid var(--s2-hair); } /* opaca: no deja ver lo que pasa por detrás (15/11) */
	body.s02 .s2-barra-vende .s2-btn { flex: 1; justify-content: center; min-height: 48px; padding: 0 10px; }
	body.s02 .s2-barra-vende .s2-btn--linea { background: #fbfaf6; }
	body.s02 .s2-barra-vende .s2-btn svg { display: none; }
	body.s02:has(.s2-barra-vende) .site-footer { padding-bottom: 96px; }
}

/* ---------- PROPIEDADES · selección editorial ---------- */
body.s02 .grid-cards:has(.card--seleccion) { display: flex; flex-direction: column; gap: clamp(72px, 9vw, 128px); counter-reset: s2prop; }
body.s02 .card--seleccion { display: grid; grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr); gap: 0 clamp(32px, 4vw, 64px); align-items: center; }
body.s02 .card--seleccion:nth-child(even) { grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr); }
body.s02 .card--seleccion:nth-child(even) .card__media { order: 2; }
body.s02 .card--seleccion .card__media { aspect-ratio: auto; overflow: visible; background: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: relative; }
body.s02 .card--seleccion .card__media > img { grid-column: 1 / -1; aspect-ratio: 1.4; width: 100%; height: auto; object-fit: cover; }
body.s02 .card--seleccion .card__extra { display: contents; }
body.s02 .card--seleccion .card__extra img { width: 100%; aspect-ratio: 1.3; height: auto; object-fit: cover; }
body.s02 .card--seleccion:hover .card__media img { transform: none; }
body.s02 .card--seleccion .card__badges { position: absolute; top: 18px; left: 18px; }
body.s02 .card--seleccion .card__body { padding: 0; }
body.s02 .card--seleccion .card__body::before { content: counter(s2prop, decimal-leading-zero); counter-increment: s2prop; display: block; font: italic 26px var(--s2-serif); color: #9b9386; margin-bottom: 8px; }
body.s02 .card--seleccion .card__title { font-size: clamp(34px, 3.4vw, 54px); line-height: 1.02; letter-spacing: -.05em; margin-top: 14px; }
body.s02 .card--seleccion .card__meta { margin-top: 24px; }
body.s02 .card--seleccion .card__foot { flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 26px; }
body.s02 .card--seleccion .precio { font-size: clamp(34px, 3.2vw, 50px); }
body.s02 .card--seleccion .card__cta { display: inline-flex; align-items: center; gap: 12px; border: 0; padding: 16px 20px; background: #20211f; color: #fff; font-size: 12px; }
body.s02 .card--seleccion .card__cta .icon { width: 16px; height: 16px; }
@media (max-width: 900px) {
	body.s02 .card--seleccion, body.s02 .card--seleccion:nth-child(even) { grid-template-columns: 1fr; gap: 22px; }
	body.s02 .card--seleccion:nth-child(even) .card__media { order: 0; }
	body.s02 .card--seleccion .card__media { margin-inline: -22px; gap: 4px; }
	body.s02 .card--seleccion .card__media > img { aspect-ratio: .95; }
	body.s02 .card--seleccion .card__extra img { aspect-ratio: 1.15; }
	body.s02 .card--seleccion .card__title { font-size: 34px; }
	body.s02 .card--seleccion .precio { font-size: 34px; }
	body.s02 .card--seleccion .card__cta { width: 100%; justify-content: space-between; }
}

/* V3 · Proyectos: cabecera compacta en escritorio para que el destacado entre en la primera pantalla */
@media (min-width: 1101px) {
	body.s02.post-type-archive-proyecto .r8-cat-cabeza { padding: 40px 0 30px; }
	body.s02.post-type-archive-proyecto .r8-cat-cabeza__titulo { font-size: clamp(40px, 3.8vw, 60px); max-width: none; }
	body.s02.post-type-archive-proyecto .r8-cat-cabeza__lead { max-width: 360px; font-size: 14px; }
	body.s02.post-type-archive-proyecto .r8-cat__estado { margin: 22px 0 16px; }
}

/* =====================================================================================================
   Proyectos · un proyecto por fila (ajuste aprobado sobre la V3). Foto grande a la izquierda, bloque
   editorial a la derecha; reglas finas entre filas; sin cajas ni fondos. Celular: foto arriba, datos abajo.
   ===================================================================================================== */
body.s02 .s2-filas { display: block; border-top: 1px solid var(--s2-hair); }
body.s02 .s2-fila { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 clamp(36px, 4.5vw, 72px); align-items: center; padding: clamp(40px, 4.5vw, 64px) 0; border-bottom: 1px solid var(--s2-hair); }
body.s02 .s2-fila__foto { display: block; overflow: hidden; background: #dfdcd4; aspect-ratio: 1.5; }
body.s02 .s2-fila__foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s; }
body.s02 .s2-fila:hover .s2-fila__foto img { transform: scale(1.03); }
body.s02 .s2-fila__info { min-width: 0; max-width: 520px; }
body.s02 .s2-fila__estado { margin: 0 0 14px; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #69655c; display: flex; align-items: center; gap: 12px; }
body.s02 .s2-fila__estado::before { content: ''; width: 24px; height: 1px; background: #a79e91; }
body.s02 .s2-fila__titulo { font: 400 clamp(36px, 3.4vw, 56px)/1.02 var(--s2-serif); letter-spacing: -.05em; margin: 0; overflow-wrap: anywhere; }
body.s02 .s2-fila__titulo a { color: var(--s2-ink); text-decoration: none; }
body.s02 .s2-fila__titulo a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
body.s02 .s2-fila__ubic { margin: 12px 0 0; font-size: 13px; letter-spacing: .03em; color: #6d6d65; }
body.s02 .s2-fila__desc { margin: 18px 0 0; font-size: 15px; line-height: 1.7; color: #545651; }
body.s02 .s2-fila__datos { display: flex; flex-wrap: wrap; gap: 0; margin: 24px 0 0; border-top: 1px solid var(--s2-hair); }
body.s02 .s2-fila__datos div { padding: 14px 28px 0 0; margin-right: 28px; border-right: 1px solid var(--s2-hair); }
body.s02 .s2-fila__datos div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
body.s02 .s2-fila__datos dt { font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #69655c; }
body.s02 .s2-fila__datos dd { margin: 5px 0 0; font-size: 14px; color: #20201d; }
body.s02 .s2-fila__pie { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--s2-hair); }
body.s02 .s2-fila__precio { margin: 0; font: 400 clamp(24px, 2vw, 30px)/1.1 var(--s2-serif); letter-spacing: -.035em; color: var(--s2-ink); }
body.s02 .s2-fila__precio small { font: 500 12px var(--s2-sans); letter-spacing: 0; color: #6d6d65; }
body.s02 .s2-fila__consultar { font: 600 15px var(--s2-sans); letter-spacing: 0; color: #3d3e3a; }
body.s02 .s2-fila__dev { margin: 0; font-size: 12px; color: #676862; }
body.s02 .s2-fila__ver { display: inline-flex; align-items: center; gap: 14px; margin-top: 26px; padding: 15px 20px; background: #20211f; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; text-decoration: none; }
body.s02 .s2-fila__ver:hover { background: #484740; color: #fff; }
body.s02 .s2-fila__ver:focus-visible, body.s02 .s2-fila__titulo a:focus-visible { outline: 2px solid var(--s2-ink); outline-offset: 3px; }
@media (max-width: 900px) {
	body.s02 .s2-fila { grid-template-columns: 1fr; gap: 20px; padding: 32px 0 36px; }
	body.s02 .s2-fila__foto { aspect-ratio: 1.45; margin-inline: calc(-1 * var(--gutter, 22px)); }
	body.s02 .s2-fila:first-child { padding-top: 16px; }
	body.s02.post-type-archive-proyecto .r8-cat__estado { margin: 18px 0 12px; }
	body.s02 .s2-fila__info { max-width: none; }
	body.s02 .s2-fila__titulo { font-size: clamp(32px, 9vw, 40px); }
	body.s02 .s2-fila__desc { font-size: 14px; }
	body.s02 .s2-fila__ver { display: flex; justify-content: space-between; width: 100%; min-height: 50px; }
}
@media (prefers-reduced-motion: reduce) { body.s02 .s2-fila__foto img { transition: none; } }

/* Directorio de desarrolladoras (24/11/2026): reglas finas, sin cajas ni íconos. */
body.s02 .s2-devs { padding: 64px 0 72px; border-top: 1px solid var(--s2-hair); background: var(--s2-bg); }
body.s02 .s2-devs .wrap { max-width: var(--s2-max); margin: 0 auto; padding: 0 26px; }
body.s02 .s2-devs__cabeza { max-width: 640px; margin-bottom: 28px; }
body.s02 .s2-devs__titulo { font: 400 clamp(30px, 3.2vw, 46px)/1.08 var(--s2-serif); letter-spacing: -.05em; margin: 12px 0 10px; color: var(--s2-ink); }
body.s02 .s2-devs__lead { font-size: 15px; line-height: 1.55; color: #4c4943; margin: 0; }
body.s02 .s2-devs__lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); border-top: 1px solid var(--s2-hair); }
body.s02 .s2-devs__lista li { border-bottom: 1px solid var(--s2-hair); }
body.s02 .s2-devs__lista a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 18px 16px 0; color: var(--s2-ink); text-decoration: none; }
body.s02 .s2-devs__lista a:hover .s2-devs__nombre { text-decoration: underline; text-underline-offset: 4px; }
body.s02 .s2-devs__nombre { font: 400 20px/1.2 var(--s2-serif); letter-spacing: -.03em; }
body.s02 .s2-devs__n { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #69655c; white-space: nowrap; }
body.s02 .r8-dev-link { display: block; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--s2-ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { body.s02 .s2-devs { padding: 44px 0 52px; } body.s02 .s2-devs .wrap { padding: 0 16px; } }

/* Fila de proyecto sin imagen autorizada (24/11/2026): tipográfica, sin recuadro gris. */
body.s02 .s2-fila--sin-foto { grid-template-columns: 1fr; padding: clamp(28px, 3vw, 40px) 0; }
body.s02 .s2-fila--sin-foto .s2-fila__info { max-width: none; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(36px, 4.5vw, 72px); align-items: start; }
body.s02 .s2-fila--sin-foto .s2-fila__estado, body.s02 .s2-fila--sin-foto .s2-fila__titulo, body.s02 .s2-fila--sin-foto .s2-fila__ubic { grid-column: 1; }
body.s02 .s2-fila--sin-foto .s2-fila__desc, body.s02 .s2-fila--sin-foto .s2-fila__datos, body.s02 .s2-fila--sin-foto .s2-fila__pie, body.s02 .s2-fila--sin-foto .s2-fila__ver { grid-column: 2; }
body.s02 .s2-fila--sin-foto .s2-fila__desc { grid-row: 1 / span 3; margin-top: 0; }
body.s02 .s2-fila--sin-foto .s2-fila__titulo { font-size: clamp(30px, 2.6vw, 44px); }
@media (max-width: 1100px) { body.s02 .s2-fila--sin-foto .s2-fila__info { grid-template-columns: 1fr; } body.s02 .s2-fila--sin-foto .s2-fila__info > * { grid-column: 1 !important; grid-row: auto !important; } }

/* Accesos por categoría del catálogo (25/11/2026). Reglas finas, sin íconos; compactos para no alejar los proyectos.
   Escritorio: una fila equilibrada. Celular: fila con desplazamiento horizontal, tarjetas cómodas de tocar. */
body.s02 .s2-cats { padding: 6px 0 18px; }
body.s02 .s2-cats .wrap { max-width: var(--s2-max); margin: 0 auto; padding: 0 26px; }
body.s02 .s2-cats__titulo { font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: #69655c; margin: 0 0 10px; }
body.s02 .s2-cats__lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
body.s02 .s2-cats__item { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px 13px; border: 1px solid var(--s2-hair); border-top: 2px solid var(--s2-ink); background: var(--s2-paper, #fbfaf6); color: var(--s2-ink); text-decoration: none; transition: background-color .15s, border-color .15s; }
body.s02 .s2-cats__item:hover, body.s02 .s2-cats__item:focus-visible { background: #fff; border-color: #b9b2a6; border-top-color: #9b784b; }
body.s02 .s2-cats__item.is-activa { background: var(--s2-ink); border-color: var(--s2-ink); color: #fbfaf6; }
body.s02 .s2-cats__nombre { font: 400 21px/1.12 var(--s2-serif); letter-spacing: -.03em; }
body.s02 .s2-cats__desc { font-size: 12.5px; line-height: 1.4; color: #6f6b63; }
body.s02 .s2-cats__item.is-activa .s2-cats__desc { color: #d9d5cc; }
body.s02 .s2-cats__n { margin-top: auto; padding-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #9b784b; }
body.s02 .s2-cats__item.is-activa .s2-cats__n { color: #e7d3b4; }
@media (max-width: 760px) {
	body.s02 .s2-cats { padding: 2px 0 12px; }
	body.s02 .s2-cats .wrap { padding: 0; }
	body.s02 .s2-cats__titulo { padding: 0 20px; margin-bottom: 8px; }
	body.s02 .s2-cats__lista { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 20px 4px; scrollbar-width: none; }
	body.s02 .s2-cats__lista::-webkit-scrollbar { display: none; }
	body.s02 .s2-cats__lista li { flex: 0 0 64%; max-width: 250px; scroll-snap-align: start; }
	body.s02 .s2-cats__item { padding: 12px 14px 11px; min-height: 44px; }
	body.s02 .s2-cats__nombre { font-size: 19px; }
	body.s02 .s2-cats__desc { display: none; } /* en celular, solo nombre y cantidad: la fila queda baja */
}
/* Foto de cada categoría (25/11/2026): franja panorámica arriba de la tarjeta; ilustración con leyenda. */
body.s02 .s2-cats__item { padding: 0 0 13px; overflow: hidden; }
body.s02 .s2-cats__item > span:not(.s2-cats__foto) { padding-left: 16px; padding-right: 16px; }
body.s02 .s2-cats__foto { position: relative; display: block; aspect-ratio: 16 / 7; margin-bottom: 10px; background: #e7e2d8; }
body.s02 .s2-cats__foto img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
body.s02 .s2-cats__item:hover .s2-cats__foto img { transform: scale(1.03); }
body.s02 .s2-cats__ilus { position: absolute; right: 6px; bottom: 5px; padding: 2px 6px; font-size: 9.5px; letter-spacing: .04em; color: #fbfaf6; background: rgba(19, 20, 22, .55); }
body.s02 .s2-cats__item.is-activa .s2-cats__foto img { opacity: .85; }
@media (max-width: 760px) {
	body.s02 .s2-cats__item { padding: 0 0 11px; }
	body.s02 .s2-cats__item > span:not(.s2-cats__foto) { padding-left: 13px; padding-right: 13px; }
	body.s02 .s2-cats__foto { aspect-ratio: 2 / 1; margin-bottom: 8px; }
}
body.s02 .s2-cats__foto { height: 0; padding-top: 43.75%; aspect-ratio: auto; overflow: hidden; } /* 16:7 estable aunque el tema fije img{height:auto} */
body.s02 .s2-cats__foto img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; }
@media (max-width: 760px) { body.s02 .s2-cats__foto { padding-top: 46%; } }

/* UX 02.1 (29/11/2026) · Buscador del catálogo: una regla fina y un botón; 16 px para que el celular no haga zoom. */
body.s02 .s2-buscar { background: var(--s2-bg); padding: 20px 0 16px; }
body.s02 .s2-buscar__form { max-width: 640px; margin: 0; }
body.s02 .s2-buscar__label { display: block; margin: 0 0 6px; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #69655c; }
body.s02 .s2-buscar__fila { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--s2-ink); }
body.s02 .s2-buscar__campo { flex: 1; min-width: 0; min-height: 48px; padding: 10px 0; border: 0; border-radius: 0; background: transparent; color: var(--s2-ink); font: 400 16px/1.3 var(--s2-sans); -webkit-appearance: none; appearance: none; }
body.s02 .s2-buscar__campo::placeholder { color: #6f6b63; opacity: 1; }
body.s02 .s2-buscar__campo:focus { outline: none; }
body.s02 .s2-buscar__fila:focus-within { box-shadow: 0 1px 0 0 var(--s2-ink); }
body.s02 .s2-buscar__campo:focus-visible { outline: 2px solid var(--s2-ink); outline-offset: 4px; }
body.s02 .s2-buscar__boton { flex: none; min-height: 44px; padding: 0 20px; border: 0; background: #20211f; color: #fff; font: 700 12px var(--s2-sans); letter-spacing: .02em; cursor: pointer; }
body.s02 .s2-buscar__boton:hover { background: #484740; }
body.s02 .s2-buscar__boton:focus-visible { outline: 2px solid var(--s2-ink); outline-offset: 3px; }
body.s02 .empty__acciones { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* UX 02.1 · Tarjetas en el celular: foto, estado, nombre, lugar, dos datos y precio. La bajada sigue en el HTML
   (y a la vista en escritorio); en el celular se lee en la ficha. Las filas sin foto la conservan, recortada. */
@media (max-width: 640px) {
	body.s02 .s2-fila { gap: 14px; padding: 24px 0 28px; }
	body.s02 .s2-fila__foto { aspect-ratio: 1.6; }
	body.s02 .s2-fila__estado { margin-bottom: 10px; }
	body.s02 .s2-fila__titulo { font-size: clamp(28px, 8vw, 34px); }
	body.s02 .s2-fila__ubic { margin-top: 8px; }
	body.s02 .s2-fila:not(.s2-fila--sin-foto) .s2-fila__desc { display: none; }
	body.s02 .s2-fila--sin-foto .s2-fila__desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 12px; }
	body.s02 .s2-fila__datos { margin-top: 14px; }
	body.s02 .s2-fila__datos div { padding: 10px 16px 0 0; margin-right: 16px; }
	body.s02 .s2-fila__datos dd { font-size: 13.5px; }
	body.s02 .s2-fila__pie { margin-top: 14px; padding-top: 12px; }
	body.s02 .s2-fila__ver { margin-top: 16px; min-height: 46px; padding: 12px 18px; }
}
/* Al buscar se llega a los resultados: que no queden debajo de la cabecera y la barra de filtros fijas. */
body.s02 #resultados { scroll-margin-top: calc(var(--header-h, 91px) + 72px); }

/* =====================================================================
   Studio 02.2 · lote A (29/11/2026)
   ===================================================================== */

/* A2 · Catálogo en el celular: el buscador y el primer proyecto en la primera pantalla.
   La cabecera se achica (la bajada queda en 2 líneas; el texto completo sigue en el HTML) y las categorías pasan a
   una fila de accesos chicos con su foto en miniatura: siguen a un toque, pero ocupan ~70 px en lugar de ~230. */
@media (max-width: 640px) {
	body.s02 .r8-cat-cabeza { padding: 18px 0 14px; }
	body.s02 .r8-cat-cabeza .eyebrow { display: none; }
	body.s02 .r8-cat-cabeza__titulo { font-size: clamp(28px, 8.4vw, 34px); }
	body.s02 .r8-cat-cabeza__lead { margin-top: 8px; font-size: 13.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

	body.s02 .s2-cats { padding: 8px 0 4px; }
	body.s02 .s2-cats__titulo { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	body.s02 .s2-cats__lista { gap: 8px; padding: 0 20px 2px; scroll-snap-type: x proximity; scroll-padding-inline: 20px; }
	body.s02 .s2-cats__lista li { flex: 0 0 auto; max-width: none; }
	body.s02 .s2-cats__item { flex-direction: row; align-items: center; gap: 10px; height: auto; min-height: 48px; padding: 4px 14px 4px 4px; border-top-width: 1px; }
	body.s02 .s2-cats__item > span:not(.s2-cats__foto) { padding: 0; }
	body.s02 .s2-cats__foto { flex: none; width: 40px; height: 40px; padding-top: 0; margin: 0; }
	body.s02 .s2-cats__ilus { display: none; }
	body.s02 .s2-cats__nombre { font: 600 13.5px/1.2 var(--s2-sans); letter-spacing: 0; white-space: nowrap; }
	body.s02 .s2-cats__n { margin: 0; padding: 0; font-size: 10px; letter-spacing: .06em; white-space: nowrap; }
	body.s02 .s2-cats__desc { display: none; }

	body.s02 .s2-buscar { padding: 8px 0 10px; }
	body.s02 .s2-buscar__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* sigue para lectores de pantalla; el texto de ayuda queda en el campo */
	body.s02 .filters-bar .wrap { padding-block: 8px; }
	body.s02 .r8-cat { padding-top: 4px; }
	body.s02 .r8-cat__estado { margin-top: 2px; margin-bottom: 0; }
	body.s02 .r8-cat .s2-fila:first-child { padding-top: 12px; }
}

/* A4 · Menú del celular: el idioma activo y las redes con contraste suficiente sobre el fondo claro de Studio 02. */
body.s02 .idiomas--drawer a, body.s02 .idiomas--drawer span { color: #545651; }
body.s02 .idiomas--drawer [aria-current] { color: var(--s2-ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
body.s02 .redes--drawer .red { color: #545651; }

/* A5 · Filtros en escritorio: cada campo con el ancho que su texto necesita, sin «Todas las ciud…». */
@media (min-width: 960px) {
	body.s02 .filters__grid { gap: 8px; }
	/* Base de cada campo = el ancho de su texto inicial + flecha; el espacio que sobra se reparte parejo. */
	body.s02 .filters__grid .field { flex: 1 1 130px; min-width: 0; }
	body.s02 .filters__grid .field:has(#f-ciudad) { flex-basis: 150px; }
	body.s02 .filters__grid .field:has(#f-barrio) { flex-basis: 138px; }
	body.s02 .filters__grid .field:has(#f-precio_max) { flex-basis: 136px; }
	body.s02 .filters__grid .field:has(#f-dorm) { flex-basis: 106px; }
	body.s02 .filters__grid .field:has(#f-tipo) { flex-basis: 126px; }
	body.s02 .filters__grid .field:has(#f-estado) { flex-basis: 134px; }
	body.s02 .filters__grid .field:has(#f-orden) { flex-basis: 170px; }
	body.s02 .filters .select { padding-left: 12px; padding-right: 26px; background-position: right 9px center; font-size: 12.5px; }
	/* Propiedades tiene otros campos (operación, precio mínimo y máximo) y menos lugar: bases propias, algo más ajustadas. */
	body.s02.post-type-archive-propiedad .filters .select { padding-left: 10px; padding-right: 22px; background-position: right 7px center; }
	body.s02.post-type-archive-propiedad .filters__grid .field { flex: 1 1 100px; }
	body.s02.post-type-archive-propiedad .filters__grid .field:has(#f-operacion) { flex-basis: 122px; }
	body.s02.post-type-archive-propiedad .filters__grid .field:has(#f-tipo) { flex-basis: 120px; }
	body.s02.post-type-archive-propiedad .filters__grid .field:has(#f-ciudad) { flex-basis: 143px; }
	body.s02.post-type-archive-propiedad .filters__grid .field:has(#f-barrio) { flex-basis: 131px; }
	body.s02.post-type-archive-propiedad .filters__grid .field:has(#f-dorm) { flex-basis: 101px; }
	body.s02.post-type-archive-propiedad .filters__grid .field:has(#f-precio_min) { flex-basis: 96px; }
	body.s02.post-type-archive-propiedad .filters__grid .field:has(#f-precio_max) { flex-basis: 100px; }
	body.s02.post-type-archive-propiedad .filters__grid .field:has(#f-orden) { flex-basis: 162px; }
}

/* A6 · Ficha: el separador de la ronda 8 (línea con un recuadro chico, separador.svg) se leía como un elemento suelto
   sobre la galería, las tipologías y la ubicación. En Studio 02 las secciones ya se separan con su regla fina. */
body.s02.r8 .r8g::before, body.s02.r8 .r8-tipos::before, body.s02.r8 .r8-ubic::before { display: none; }

/* A6 · Panel de filtros del celular: se veía (y quedaba) debajo del velo oscuro. El panel (z 80) vive dentro de la
   barra fija (z 30), que forma su propio contexto de apilamiento; el velo (z 75) está en <main>. Con el panel abierto,
   la barra sube por encima del velo: el panel se ve claro y recibe los toques. */
body:has(.scrim.is-open) .filters-bar { z-index: 85; }

/* A2 · Propiedades en el celular: misma cabecera corta que Proyectos (la bajada completa sigue en el HTML). */
@media (max-width: 640px) {
	body.s02.post-type-archive-propiedad .page-head { padding: 18px 0 14px; }
	body.s02.post-type-archive-propiedad .page-head .eyebrow { display: none; }
	body.s02.post-type-archive-propiedad .page-head h1 { font-size: clamp(28px, 8.4vw, 34px); }
	body.s02.post-type-archive-propiedad .page-head .lead, body.s02.post-type-archive-propiedad .page-head p { margin-top: 8px; font-size: 13.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
