/* =====================================================================
   REMATES GIBERT — arquitectura de la portada
   ---------------------------------------------------------------------
   Esta hoja solo la carga index.html. El sistema (tokens, barra, botones,
   pie) vive en styles.css y aquí no se redefine: se usa.

   La idea: los datos del remate SON el diseño. El número de remate y el
   número de lote se tratan a escala de display con cifras tabulares, y la
   fotografía real rompe el contenedor en lugar de encerrarse en tarjetas.
   ===================================================================== */

/* El canal lateral de la retícula. Todo lo que sangra lo usa para saber
   dónde empieza la columna de texto sin recalcular nada. */
.rg {
  --gutter: max(24px, calc((100vw - var(--container)) / 2));
}

/* Cifras de identidad: remate y lote. Archivo, tabular, caja apretada. */
.num-display {
  font-family: var(--font-ui);
  font-variant-numeric: tabular-nums lining-nums;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.82;
  display: block;
}

/* Etiqueta de dato: no es un eyebrow decorativo, nombra el valor que sigue. */
.datum-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}
.datum-value {
  display: block;
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

/* Enlace editorial: tercera categoría de acción, ni sólido ni contorneado.
   La flecha se adelanta 3px; el filete crece desde el origen del texto. */
.link-ed {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  padding-bottom: 3px;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out);
}
.link-ed::after {
  content: "→";
  font-size: 0.95em;
  transition: transform var(--dur-2) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .link-ed:hover { color: var(--accent); background-size: 100% 1px; }
  .link-ed:hover::after { transform: translateX(3px); }
}
.link-ed.on-dark { color: #fff; background-image: linear-gradient(var(--accent-on-dark), var(--accent-on-dark)); }
@media (hover: hover) and (pointer: fine) {
  .link-ed.on-dark:hover { color: var(--accent-on-dark); }
}

/* Cabecera de sección: el título a la izquierda, el dato real a la derecha.
   Sin eyebrow y sin centrar: el eje de lectura es siempre el mismo. */
.sec-head {
  display: grid;
  gap: 14px 40px;
  align-items: baseline;
  padding-bottom: 15px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--ink);
}
.sec-head h2 { margin: 0; font-size: clamp(1.6rem, 1.15rem + 1.7vw, 2.25rem); }
.sec-head p { margin: 0; color: var(--muted); font-size: 0.95rem; max-width: 46ch; }
@media (min-width: 860px) {
  .sec-head { grid-template-columns: minmax(0, 1fr) auto; }
  .sec-head p { text-align: right; }
}

/* =====================================================================
   01 · PRIMER VIEWPORT — REMATE 502
   La columna de texto respeta el canal; la fotografía se pega al texto y
   termina en el canal derecho. No hay tarjeta flotante sobre la imagen.
   ===================================================================== */
.rg-hero {
  position: relative;
  background: var(--paper);
  padding-left: var(--gutter);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.rg-hero-inner { display: grid; }
@media (min-width: 1000px) {
  /* La columna de texto mide lo que mide su línea más larga; la fotografía
     arranca justo después, con un respiro corto, y termina en el canal
     derecho de la página. */
  /* Mismo margen exacto que .container (100% no cuenta la barra de scroll,
     100vw sí), para que texto e imagen calcen con el resto de la página. */
  .rg-hero {
    /* Respiro entre la barra de menú y la fotografía. */
    padding-top: 28px;
    padding-left: max(1.25rem, calc((100% - var(--container)) / 2));
    padding-right: max(1.25rem, calc((100% - var(--container)) / 2));
  }
  .rg-hero-inner {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: clamp(24px, 2.4vw, 40px);
    align-items: stretch;
    min-height: min(66vh, 600px);
  }
}

.rg-hero-copy {
  padding: 34px 0;
  align-self: center;
}
@media (max-width: 999px) {
  /* Apilado, el canal izquierdo lo lleva el texto y la fotografía se va a
     sangre por los dos lados. Si no, la imagen queda con un margen suelto. */
  .rg-hero { padding-left: 0; }
  .rg-hero-copy { padding: 28px var(--gutter) 34px; }
}

/* El ancla: REMATE sobre 502 a escala de display. */
/* Línea de cabecera del remate: qué es a la izquierda, dónde a la derecha,
   separadas por un filete. No es una etiqueta decorativa sobre el titular:
   lleva dos datos y le cede el peso visual al propio titular. */
.rg-hero-id {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 24px;
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink);
}
.rg-hero-label {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.rg-hero-id .rg-tag {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
}

.rg-hero h1, .rg-hero .rg-hero-title {
  font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4rem);
  line-height: 1.04;
  margin: 0 0 16px;
  max-width: 15ch;
}
.rg-hero-lead {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 48ch;
  margin: 0 0 22px;
}

/* Los cuatro datos duros, separados por filetes y no por tarjetas. */
.rg-hero-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 0;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-bottom: 24px;
}
@media (min-width: 620px) { .rg-hero-data { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rg-hero-data > div { padding-right: 16px; }
.rg-hero-data > div + div { border-left: 1px solid var(--line); padding-left: 18px; }
@media (max-width: 619px) {
  .rg-hero-data > div:nth-child(odd) { border-left: 0; padding-left: 0; }
}

.rg-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

/* La fotografía: sin radio, sin sombra, sin marco. */
.rg-hero-shot { position: relative; overflow: hidden; background: var(--ink-2); min-height: 46vh; }
@media (min-width: 1000px) { .rg-hero-shot { min-height: 100%; } }
.rg-hero-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  will-change: transform;
}
/* Pie de foto sobre la imagen: informa, no decora. */
.rg-shot-note {
  position: absolute;
  left: 0;
  bottom: 0;
  margin: 0;
  padding: 26px 24px 18px;
  width: 100%;
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  background: linear-gradient(0deg, rgba(7, 19, 34, 0.78), rgba(7, 19, 34, 0));
}

/* =====================================================================
   02 · LOS DIEZ LOTES — filas editoriales, no tarjetas
   ===================================================================== */
.rg-lotes { padding: 44px 0 48px; }
.lote-list { border-bottom: 1px solid var(--line); }

.lote-row {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "n name go"
    "n meta go";
  align-items: center;
  gap: 2px 18px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: background var(--dur-2) var(--ease-out), padding-left var(--dur-2) var(--ease-out);
}
.lote-list .lote-row:last-child { border-bottom: 0; }
@media (min-width: 900px) {
  /* El nombre tiene su medida; superficie y rol van pegados a él, y la
     última columna elástica empuja la acción contra el borde derecho.
     Así la fila se lee como una entrada de catálogo y no como una tabla
     con un agujero en medio. */
  .lote-row {
    grid-template-columns: 96px 64px minmax(0, 20ch) 112px 200px minmax(0, 1fr);
    grid-template-areas: "thumb n name sup rol go";
    gap: 30px;
    padding: 13px 6px;
  }
  .lote-go { justify-self: end; }
}

.lote-n {
  grid-area: n;
  font-family: var(--font-ui);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.9rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: #7f8795;
  transition: color var(--dur-2) var(--ease-out);
}
.lote-name { grid-area: name; font-weight: 600; font-size: 1.08rem; line-height: 1.3; }
.lote-name em { display: block; font-style: normal; font-weight: 400; font-size: 0.86rem; color: var(--muted); margin-top: 2px; }
.lote-sup, .lote-rol {
  font-size: 0.88rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.lote-sup { grid-area: sup; }
.lote-rol { grid-area: rol; letter-spacing: 0.01em; }
/* En escritorio superficie y rol son dos columnas propias; en móvil viajan
   juntas en una sola línea. `display: contents` deja que el envoltorio
   desaparezca de la rejilla cuando hay sitio para columnas separadas. */
@media (min-width: 900px) { .lote-meta { display: contents; } }
@media (max-width: 899px) {
  .lote-meta { grid-area: meta; font-size: 0.85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
  .lote-rol::before { content: " · "; }
  .lote-go { justify-self: end; }
}
.lote-go {
  grid-area: go;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: color var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
@media (max-width: 899px) { .lote-go { font-size: 0.8rem; } }

/* La miniatura viaja en el DOM para que móvil tenga foto y el escritorio
   pueda reutilizar su src en la vista grande que sigue al cursor. */
.lote-thumb {
  grid-area: n;
  justify-self: start;
  width: 58px;
  height: 44px;
  object-fit: cover;
  border-radius: var(--radius-xs);
}
/* En escritorio la miniatura tiene su propia columna, antes del número. */
@media (min-width: 900px) { .lote-thumb { grid-area: thumb; width: 96px; height: 64px; } }
@media (max-width: 899px) {
  .lote-row { grid-template-columns: 58px minmax(0, 1fr); grid-template-areas: "n name" "n meta" "go go"; }
  .lote-n { display: none; }
}

@media (hover: hover) and (pointer: fine) {
  .lote-row:hover { background: var(--paper-2); padding-left: 16px; }
  .lote-row:hover .lote-n { color: var(--accent); }
  .lote-row:hover .lote-go { color: var(--accent); transform: translateX(3px); }
}

/* Vista grande que acompaña al cursor sobre la lista. Un solo nodo para
   las diez filas: se mueve y cambia de origen, nunca se duplica. */
.lote-peek {
  position: fixed;
  top: 0;
  left: 0;
  width: 310px;
  height: 232px;
  z-index: 30;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  border-radius: var(--radius-xs);
  box-shadow: var(--elev-3);
  transform: translate3d(-50%, -50%, 0) scale(0.96);
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.lote-peek.is-on { opacity: 1; }
.lote-peek img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 899px), (hover: none) { .lote-peek { display: none; } }

.lote-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}
.lote-foot p { margin: 0; color: var(--muted); font-size: 0.9rem; max-width: 62ch; }

/* =====================================================================
   03 · SEGUNDO REMATE — el departamento, espejo del primer viewport
   ===================================================================== */
.rg-depto {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-right: var(--gutter);
}
.rg-depto-inner { display: grid; }
@media (min-width: 1000px) {
  /* Espejo del hero: la fotografía parte en el canal izquierdo y se detiene
     a un respiro corto del texto, que mide lo que su línea más larga. */
  .rg-depto {
    padding-left: max(1.25rem, calc((100% - var(--container)) / 2));
    padding-right: max(1.25rem, calc((100% - var(--container)) / 2));
  }
  .rg-depto-inner {
    grid-template-columns: minmax(0, 11fr) minmax(0, 10fr);
    column-gap: clamp(24px, 2.4vw, 40px);
    align-items: stretch;
    min-height: min(54vh, 500px);
  }
}
.rg-depto-shot { position: relative; overflow: hidden; background: var(--ink-2); min-height: 44vh; }
/* En escritorio la foto y el bloque de texto comparten exactamente el mismo
   alto: el texto se compacta y la foto lo acompaña de borde a borde. */
@media (min-width: 1000px) { .rg-depto-shot { min-height: 0; } }
.rg-depto-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rg-depto-shot-link img { transition: transform .6s ease; }
.rg-depto-shot-link:hover img, .rg-depto-shot-link:focus-visible img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .rg-depto-shot-link img { transition: none; } }

.rg-depto-copy { padding: 34px 0 34px var(--gutter); align-self: center; }
@media (max-width: 999px) { .rg-depto-copy { padding: 30px var(--gutter) 34px; } }

.rg-depto-id { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.rg-depto-id .num-display { font-size: clamp(3.4rem, 2rem + 5vw, 6.4rem); color: var(--ink); }
.rg-depto-id .kicker {
  padding-bottom: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.6;
}
.rg-depto h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); margin: 0 0 12px; max-width: 16ch; }
.rg-depto-lead { color: var(--muted); max-width: 46ch; margin: 0 0 16px; }

/* Ficha del departamento: filas de dato, filete fino, sin recuadros. */
.rg-depto-specs {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}
.rg-depto-specs li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.rg-depto-specs span { color: var(--muted); }
.rg-depto-specs strong { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }

/* Escritorio: ficha compacta para que el texto ocupe el mismo alto que la foto. */
@media (min-width: 1000px) {
  .rg-depto-inner { padding: 40px 0; }
  .rg-depto-copy { padding: 0; }
  .rg-depto-id { margin-bottom: 12px; }
  .rg-depto-id .num-display { font-size: clamp(3rem, 1.6rem + 3vw, 4.4rem); }
  .rg-depto h2 { margin-bottom: 10px; }
  .rg-depto-lead { margin-bottom: 14px; }
  .rg-depto-specs { margin-bottom: 18px; }
  .rg-depto-specs li { padding: 6px 0; font-size: 0.92rem; }
}

/* =====================================================================
   04 · BANDA DE CONDICIONES — cifras que no se repiten en ningún otro sitio
   ===================================================================== */
.rg-band { padding: 36px 0; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.rg-band-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}
@media (min-width: 900px) { .rg-band-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rg-band-grid > div { padding: 16px 24px 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .rg-band-grid > div { border-bottom: 0; }
  .rg-band-grid > div + div { border-left: 1px solid var(--line); padding-left: 26px; }
}
@media (max-width: 899px) {
  .rg-band-grid > div:nth-child(even) { border-left: 1px solid var(--line); padding-left: 22px; }
}
.rg-band-grid .num-display { font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.4rem); color: var(--ink); margin-bottom: 10px; }
.rg-band-grid p { margin: 0; font-size: 0.88rem; color: var(--muted); line-height: 1.5; }
.rg-band-grid strong { display: block; font-size: 0.78rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.rg-band-grid > .rg-band-cta { display: flex; align-items: center; }

/* =====================================================================
   05 · CÓMO PARTICIPAR — tipografía, filete y contenido
   ===================================================================== */
.rg-steps { padding: 44px 0; background: var(--paper-2); border-top: 1px solid var(--line); }
.step-list { margin-top: 0; border-bottom: 1px solid var(--line); }
.step-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 26px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.step-list .step-row:last-child { border-bottom: 0; }
@media (min-width: 860px) { .step-row { grid-template-columns: 90px minmax(0, 24ch) minmax(0, 1fr); align-items: start; } }
.step-row .num-display { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 3rem); color: #7f8795; }
.step-row h3 { margin: 0; font-size: 1.22rem; line-height: 1.25; }
.step-row p { margin: 0; color: var(--muted); font-size: 0.97rem; max-width: 62ch; }
@media (max-width: 859px) {
  .step-row { grid-template-areas: "n h" "n p"; }
  .step-row .num-display { grid-area: n; }
  .step-row h3 { grid-area: h; }
  .step-row p { grid-area: p; margin-top: 6px; }
}
.step-cta { margin-top: 14px; }

/* El formulario embebido conserva su contenedor y sus identificadores. */
.rg-form-wrap {
  margin-top: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.rg-form-wrap .entry-popup-form-logo { height: 42px; width: auto; display: block; margin: 0 auto 14px; }

/* =====================================================================
   06 · CRONOGRAMA — línea real, el próximo hito marcado solo
   ===================================================================== */
.rg-cron { padding: 44px 0; }
.cron {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: none;
}
@media (min-width: 980px) { .cron { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.cron li {
  position: relative;
  padding: 20px 22px 20px 26px;
  border-top: 1px solid var(--line);
}
@media (min-width: 980px) {
  .cron li { border-top: 2px solid var(--line); padding: 18px 22px 0 0; }
}
/* El punto que marca el hito sobre el riel. */
.cron li::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--line-strong);
  transition: background var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
@media (max-width: 979px) { .cron li::before { top: -5px; } }
.cron time {
  display: block;
  font-weight: 600;
  font-size: 1.02rem;
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
  color: var(--ink);
}
.cron p { margin: 0; font-size: 0.9rem; color: var(--muted); line-height: 1.5; max-width: 30ch; }

.cron li.is-next { border-top-color: var(--accent); }
.cron li.is-next::before { background: var(--accent); transform: scale(1.5); }
.cron li.is-next time { color: var(--accent-strong); }
.cron li.is-next .cron-flag {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
}
.cron-flag { display: none; }
.cron li.is-past time, .cron li.is-past p { color: var(--muted-2); }

/* =====================================================================
   07 · DOCUMENTACIÓN — archivo institucional
   ===================================================================== */
.rg-docs { padding: 44px 0; background: var(--paper-2); border-top: 1px solid var(--line); }
.rg-doclist { border-bottom: 1px solid var(--line); }
.rg-doc {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 20px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: background var(--dur-2) var(--ease-out), padding-left var(--dur-2) var(--ease-out);
}
.rg-doclist .rg-doc:last-child { border-bottom: 0; }
@media (min-width: 860px) { .rg-doc { grid-template-columns: 54px minmax(0, 34ch) 140px minmax(0, 1fr); } .rg-doc-go { justify-self: end; } }
.rg-doc-kind {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xs);
  padding: 4px 7px;
  justify-self: start;
}
.rg-doc-name { font-weight: 600; font-size: 1.02rem; line-height: 1.3; }
.rg-doc-name em { display: block; font-style: normal; font-weight: 400; font-size: 0.85rem; color: var(--muted); margin-top: 2px; }
.rg-doc-when { font-size: 0.86rem; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 859px) { .rg-doc-when { display: none; } }
.rg-doc-go { font-size: 0.86rem; font-weight: 600; color: var(--accent); white-space: nowrap; }
.rg-doc-go::after { content: " ↗"; }
@media (hover: hover) and (pointer: fine) {
  .rg-doc:hover { background: var(--paper); padding-left: 14px; }
}

/* =====================================================================
   08 · RESPALDO — bloque de autoridad, alto contraste
   ===================================================================== */
.band-navy {
  background: var(--ink-2);
  color: #fff;
  padding: 50px 0;
}
.band-navy h2 { color: #fff; }
.band-navy p { color: var(--accent-on-dark); }
.band-navy .sec-head { border-bottom-color: rgba(255, 255, 255, 0.28); }
.band-navy .sec-head p { color: var(--accent-on-dark); }

.rg-trust { display: grid; gap: 22px 48px; margin-top: 24px; }
@media (min-width: 880px) { .rg-trust { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.rg-trust h3 { color: #fff; font-size: 1.3rem; margin: 0 0 10px; }
.rg-trust p { margin: 0 0 14px; max-width: 58ch; }

.rg-trust-facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.24); }
.rg-trust-facts li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.95rem;
}
.rg-trust-facts span { color: var(--accent-on-dark); }
.rg-trust-facts strong { color: #fff; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

/* =====================================================================
   09 · PROPIETARIOS — captación, a escala
   ===================================================================== */
.rg-owners { padding: 50px 0 56px; background: var(--paper); }
.owners-inner { display: grid; gap: 30px 56px; align-items: end; }
@media (min-width: 900px) { .owners-inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); } }
.rg-owners h2 {
  font-size: clamp(2.1rem, 1.3rem + 3.4vw, 4.1rem);
  line-height: 1.04;
  margin: 0;
  max-width: 15ch;
}
.rg-owners .owners-copy { color: var(--muted); max-width: 48ch; margin: 0 0 24px; }
.owners-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.owners-fine { margin: 18px 0 0; font-size: 0.84rem; color: var(--muted-2); }

/* =====================================================================
   10 · PREGUNTAS — acordeón sobrio, ancho de lectura controlado
   ===================================================================== */
.rg-faq { padding: 44px 0 52px; background: var(--paper-2); border-top: 1px solid var(--line); }
.rg-faq .faq-list { max-width: none; margin-top: 8px; }
.rg-faq .faq-item { border-bottom: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; }
.rg-faq .faq-question { font-size: 1.02rem; padding: 15px 0; }
.rg-faq .faq-answer p { max-width: 78ch; }

/* =====================================================================
   MOVIMIENTO
   Un solo momento de entrada, escalonado, desde un estado ya visible al
   100 % si el usuario pide menos movimiento.
   ===================================================================== */
/* `.rise` solo marca el elemento; el estado y la transición los pone
   .reveal/.in-view de styles.css, y script.js únicamente marca lo que está
   bajo el pliegue. Así nada nace invisible ni depende del JS para leerse. */
.rise.reveal { transform: translateY(16px); }
.rise.reveal.in-view { transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  .rise, .rise.reveal { opacity: 1; transform: none; transition: none; }
  .lote-peek { display: none; }
  .rg-hero-shot img { transform: none !important; }
  .cron li.is-next::before { transform: none; }
}

/* Encabezado que solo leen las tecnologías de asistencia. */
.sr-only-head {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* El acordeón hereda de styles.css; aquí pierde la caja y gana aire.
   La altura máxima sube porque estas respuestas son largas de verdad. */
.rg-faq .faq-question { padding: 15px 0; font-size: 1.02rem; }
.rg-faq .faq-answer { padding: 0; }
.rg-faq .faq-item.active .faq-answer { max-height: 640px; padding: 0 0 20px; }
.rg-faq .faq-answer p { max-width: 78ch; margin: 0; color: var(--muted); }

/* =====================================================================
   CUENTA REGRESIVA sobre las fotografías del hero y de los departamentos
   Franja blanca, baja y ancha, centrada y separada del borde inferior.
   La etiqueta y las cifras van en una sola línea para ganar ancho y no alto.
   ===================================================================== */
.rg-countdown {
  --cd-gap: 24px;
  position: absolute;
  left: 50%;
  bottom: var(--cd-gap);
  z-index: 2;
  transform: translateX(-50%);
  width: min(calc(100% - 48px), 640px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 10px 22px;
  color: #111;
  background: #fff;
  border-radius: var(--radius-xs);
  box-shadow: 0 10px 28px rgba(4, 10, 20, 0.22);
}
/* En el hero el pie de foto ocupa el borde inferior: la franja se apoya sobre él. */
.rg-hero-shot .rg-countdown { --cd-gap: 62px; }
.rg-countdown-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4a5160;
  line-height: 1.35;
  white-space: nowrap;
}
.rg-countdown-grid { display: flex; align-items: baseline; flex-shrink: 0; }
.rg-countdown-grid > div { display: flex; align-items: baseline; gap: 5px; padding: 0 14px; }
.rg-countdown-grid > div:last-child { padding-right: 0; }
.rg-countdown-grid > div + div { border-left: 1px solid rgba(17, 17, 17, 0.14); }
.rg-countdown-grid span {
  font-family: var(--font-ui);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #000;
}
.rg-countdown-grid small {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4a5160;
}
/* Si no cabe en una línea, la etiqueta sube y las cifras quedan debajo, centradas. */
@media (max-width: 1180px) {
  .rg-countdown { flex-direction: column; padding: 9px 14px 11px; gap: 6px; }
  .rg-countdown-label { text-align: center; }
}
@media (max-width: 560px) {
  .rg-countdown { --cd-gap: 16px; width: calc(100% - 32px); }
  .rg-hero-shot .rg-countdown { --cd-gap: 56px; }
  .rg-countdown-grid > div { padding: 0 9px; gap: 3px; }
  .rg-countdown-grid span { font-size: 1.25rem; }
}

/* =====================================================================
   ESCRITORIO COMPACTO — parcelas y departamentos ocupan menos alto
   ===================================================================== */
@media (min-width: 1000px) {
  .rg-hero { padding-top: 22px; }
  .rg-hero-inner { min-height: min(56vh, 480px); }
  .rg-hero-copy { padding: 22px 0; }
  .rg-hero-id { margin-bottom: 14px; padding-bottom: 8px; }
  .rg-hero h1, .rg-hero .rg-hero-title { font-size: clamp(2.2rem, 1.4rem + 2.2vw, 3.2rem); margin-bottom: 12px; }
  .rg-hero-lead { font-size: 0.98rem; margin-bottom: 16px; }
  .rg-hero-data { padding-top: 14px; margin-bottom: 18px; }

  .rg-depto-inner { padding: 28px 0; min-height: 0; }
  .rg-depto-id { margin-bottom: 8px; }
  .rg-depto-id .num-display { font-size: clamp(2.6rem, 1.6rem + 2vw, 3.4rem); }
  .rg-depto-id .kicker { padding-bottom: 6px; }
  .rg-depto h2 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.05rem); max-width: 24ch; margin-bottom: 8px; }
  .rg-depto-lead { font-size: 0.95rem; margin-bottom: 12px; }
  .rg-depto-specs { margin-bottom: 14px; }
  .rg-depto-specs li { padding: 5px 0; font-size: 0.9rem; }
}

/* =====================================================================
   "Consignar garantía": llamada de atención periódica.
   Cada 3 s un pulso marcado (anillo que se expande + leve latido) y un
   destello que cruza el botón; el resto del ciclo queda quieto.
   ===================================================================== */
.rg-band-cta .btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  animation: rg-cta-pulse 3s var(--ease-out) 1s infinite;
}
.rg-band-cta .btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 25%, rgba(255, 255, 255, 0.6) 50%, transparent 75%);
  transform: translateX(-120%);
  animation: rg-cta-shine 3s ease-in-out 1s infinite;
  pointer-events: none;
}
.rg-band-cta .btn:hover { animation-play-state: paused; }
.rg-band-cta .btn:hover::after { animation-play-state: paused; }

@keyframes rg-cta-pulse {
  0%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(31, 58, 95, 0.7); }
  8%   { transform: scale(1.09); }
  16%  { transform: scale(0.98); }
  22%  { transform: scale(1);    box-shadow: 0 0 0 22px rgba(31, 58, 95, 0); }
  100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(31, 58, 95, 0); }
}
@keyframes rg-cta-shine {
  0%, 8% { transform: translateX(-120%); }
  30%     { transform: translateX(120%); }
  100%    { transform: translateX(120%); }
}
/* Con "reducir movimiento" (p. ej. Windows con efectos de animación
   desactivados) no hay latido ni destello: solo un halo que se enciende y
   apaga en el mismo lugar. Sin desplazamiento, sigue siendo apto para quien
   pidió menos movimiento, y el botón igual llama la atención. */
@media (prefers-reduced-motion: reduce) {
  .rg-band-cta .btn {
    animation: rg-cta-glow 3s ease-in-out 1s infinite !important;
  }
  .rg-band-cta .btn::after { animation: none !important; display: none; }
}
@keyframes rg-cta-glow {
  0%, 45%, 100% { background-color: var(--primary); box-shadow: 0 0 0 0 rgba(31, 58, 95, 0); }
  18%           { background-color: #34628f; box-shadow: 0 0 0 5px #fff, 0 0 0 9px rgba(31, 58, 95, 0.75), 0 0 40px 14px rgba(31, 58, 95, 0.5); }
}

/* El segundo departamento va sobre blanco para alternar con el primero. */
.rg-depto.rg-depto-white { background: var(--paper); border-top: 0; }

/* "Próximo remate" destacado: letras blancas sobre el azul del menú. */
.rg-hero-label {
  display: inline-block;
  padding: 6px 12px 5px;
  color: #fff;
  background: var(--primary);
  border-radius: var(--radius-xs);
  font-size: 0.85rem;
}

/* =====================================================================
   REMATES ANTERIORES — lotes adjudicados con su valor de adjudicación
   ===================================================================== */
.rg-prev { padding: 44px 0; background: var(--paper); border-top: 1px solid var(--line); }
.prev-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
@media (min-width: 760px) { .prev-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .prev-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.prev-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.prev-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3); }
.prev-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prev-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 9px 3px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  border-radius: var(--radius-xs);
}
.prev-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.prev-proj { font-size: 0.78rem; color: var(--muted); }
.prev-body h3 { margin: 2px 0 12px; font-size: 1.08rem; }
.prev-price {
  margin: auto 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.prev-price small {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.prev-price strong {
  display: block;
  margin-top: 2px;
  font-family: var(--font-ui);
  font-variant-numeric: tabular-nums;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--primary);
}

/* Variante blanca de la franja de garantía (página Lotes). */
.rg-band.rg-band-white { background: var(--paper); }

/* =====================================================================
   PÁGINA "CÓMO PARTICIPAR"
   ===================================================================== */
.part-hero { padding: 44px 0 36px; background: var(--paper); }
.part-hero h1 { margin: 6px 0 12px; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.part-lead { max-width: 64ch; color: var(--muted); font-size: 1.05rem; margin: 0 0 22px; }
.part-actions { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.part-dates { border-top: 1px solid var(--line); }
.part-dates .num-display { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); }

/* Botón de WhatsApp: el verde de la marca, para que se reconozca al instante. */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-wa:hover { background: #1fb855; color: #fff; }
.btn-wa svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-wa-lg { padding: 15px 26px; font-size: 1.05rem; }

.part-wa { padding: 40px 0; background: var(--primary); color: #fff; }
.part-wa-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.part-wa h2 { margin: 0 0 6px; color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.part-wa p { margin: 0; color: rgba(255, 255, 255, 0.82); }

/* Portada: "Cómo participar" pasa de enlace a botón destacado. */
.btn-participar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-participar::after { content: "→"; transition: transform var(--dur-2) var(--ease-out); }
.btn-participar:hover { background: var(--primary); color: #fff; }
.btn-participar:hover::after { transform: translateX(3px); }

/* =====================================================================
   MÓVIL: la foto del hero va entre el párrafo y los datos (fecha, hora…)
   La columna de texto se "disuelve" en la rejilla para poder intercalar
   la fotografía entre sus piezas sin duplicar HTML.
   ===================================================================== */
@media (max-width: 999px) {
  .rg-hero-copy { display: contents; }
  .rg-hero .rg-hero-copy > * { margin-left: var(--gutter); margin-right: var(--gutter); }
  .rg-hero-id   { order: 1; margin-top: 28px; }
  .rg-hero h1, .rg-hero .rg-hero-title   { order: 2; }
  .rg-hero-lead { order: 3; }
  .rg-hero-shot { order: 4; margin-bottom: 22px; }
  .rg-hero-data { order: 5; }
  .rg-hero-cta  { order: 6; margin-bottom: 34px; }
}

/* Móvil: contador más abajo y más bajo de alto (etiqueta y cifras en una
   sola línea, cifras algo más chicas). */
@media (max-width: 760px) {
  .rg-countdown {
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 12px;
    width: calc(100% - 24px);
  }
  .rg-hero-shot .rg-countdown { --cd-gap: 42px; }
  .rg-countdown-label { font-size: 0.6rem; letter-spacing: 0.08em; text-align: left; white-space: nowrap; }
  .rg-countdown-grid > div { padding: 0 7px; gap: 2px; }
  .rg-countdown-grid span { font-size: 1.15rem; }
  .rg-countdown-grid small { font-size: 0.56rem; letter-spacing: 0.06em; }
}

/* Teléfonos angostos: solo las cifras, para que el recuadro quede en una
   línea. La fecha del remate se lee justo debajo de la foto. */
@media (max-width: 440px) {
  .rg-countdown { justify-content: center; }
  .rg-countdown-label { display: none; }
}

/* Móvil: el contador baja casi al borde inferior de la foto y el pie de
   foto sube arriba, para que no se tapen. */
@media (max-width: 760px) {
  .rg-hero-shot .rg-countdown { --cd-gap: 12px; }
  .rg-hero-shot .rg-shot-note {
    top: 0;
    bottom: auto;
    padding: 14px 16px 26px;
    background: linear-gradient(180deg, rgba(7, 19, 34, 0.7), rgba(7, 19, 34, 0));
  }
}

/* Móvil: "Ver los diez lotes" y "Cómo participar" lado a lado, mismo ancho. */
@media (max-width: 760px) {
  .rg-hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .rg-hero-cta .btn { width: 100%; justify-content: center; text-align: center; padding-left: 10px; padding-right: 10px; }
}
/* Mismo alto para los dos botones del hero: el azul lleva un borde del mismo
   color, igual de grueso que el del botón con contorno. */
.rg-hero-cta .btn-navy { border: 2px solid var(--primary); }

/* Departamentos: etiqueta "Remate departamentos" con el estilo de "Próximo remate". */
.rg-depto-id { align-items: center; }
.rg-depto-badge {
  display: inline-block;
  padding: 7px 12px 6px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  border-radius: var(--radius-xs);
  white-space: nowrap;
}
.rg-depto-id .kicker { padding-bottom: 0; }
.rg-depto-id { flex-wrap: wrap; row-gap: 8px; }
.rg-depto-id .kicker { white-space: nowrap; }

/* Departamentos: aviso "Próximamente · 9 de diciembre" arriba a la izquierda de la foto. */
.rg-depto-soon {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  margin: 0;
  padding: 9px 14px 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  border-radius: var(--radius-xs);
  box-shadow: 0 8px 22px rgba(4, 10, 20, 0.3);
}
.rg-depto-soon strong { color: #fff; font-weight: 800; }

/* Contador de departamentos: "FALTAN" destacado en lugar de la fecha. */
.rg-countdown-label.rg-countdown-faltan {
  display: inline-block;
  padding: 6px 12px 5px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #fff;
  background: var(--primary);
  border-radius: var(--radius-xs);
}
@media (max-width: 1180px) {
  .rg-countdown-label.rg-countdown-faltan { align-self: center; }
}
@media (max-width: 760px) {
  .rg-depto-soon { top: 12px; left: 12px; font-size: 0.72rem; padding: 7px 11px 6px; }
  .rg-countdown-label.rg-countdown-faltan { font-size: 0.66rem; padding: 4px 8px 3px; align-self: auto; }
}
/* En teléfonos angostos se oculta la etiqueta de fecha, pero "FALTAN" se mantiene. */
@media (max-width: 440px) {
  .rg-countdown-label.rg-countdown-faltan { display: inline-block; }
  .rg-depto-shot .rg-countdown { justify-content: space-between; }
}

/* Móvil, departamentos: botones uno sobre otro, a todo el ancho. */
@media (max-width: 760px) {
  .rg-depto .rg-hero-cta { grid-template-columns: 1fr; }
  .rg-depto .btn-wa-pill { width: 100%; justify-content: center; }
}

/* =====================================================================
   "Lotes próximo remate 22 de octubre": solo el encabezado va en franja
   azul del menú con letras blancas; la lista de lotes queda sobre blanco.
   ===================================================================== */
.rg-lotes { padding-top: 0; background: var(--paper); }
.rg-lotes-head { background: var(--primary); color: #fff; padding: 34px 0 30px; margin-bottom: 8px; }
.rg-lotes-head .sec-head { border-bottom: 0; padding-bottom: 0; }
.rg-lotes-head .sec-head h2 { color: #fff; }
.rg-lotes-head .sec-head p { color: rgba(255, 255, 255, 0.85); }

/* "Oportunidades anteriores": título grande en mayúsculas con filete azul
   grueso, y valores de adjudicación más visibles. */
/* Encabezado en franja azul (igual que "Lotes próximo remate"); tarjetas sobre blanco. */
.rg-prev { padding-top: 0; }
.rg-prev .prev-grid { margin-top: 28px; }
.rg-prev .prev-card { border-color: var(--line-strong); box-shadow: var(--elev-2); }
.rg-prev .prev-price { border-top: 2px solid var(--primary); }
.rg-prev .prev-price strong { font-size: 1.6rem; }

/* "Oportunidades anteriores": franja gris con el encabezado dentro de un
   recuadro azul del menú, letras blancas. */
.rg-lotes-head.rg-head-boxed { background: var(--paper-2); padding: 28px 0; margin-bottom: 0; border-bottom: 1px solid var(--line); }
.rg-head-boxed .sec-head {
  padding: 24px 30px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  box-shadow: var(--elev-2);
}
@media (max-width: 760px) { .rg-head-boxed .sec-head { padding: 20px 18px; } }

/* =====================================================================
   PÁGINA NOSOTROS
   ===================================================================== */
.about .ab-kicker, .bases .ab-kicker {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}

/* Hero: texto a la izquierda, martillero a la derecha. */
.ab-hero { padding: 56px 0 48px; background: var(--paper); }
.ab-hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 980px) { .ab-hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; } }
.ab-hero h1 { margin: 0 0 18px; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); line-height: 1.05; max-width: 17ch; }
.ab-lead { margin: 0 0 26px; max-width: 56ch; font-size: 1.06rem; color: var(--muted); }
.ab-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ab-hero-cta .btn-navy { border: 2px solid var(--primary); }

.ab-person {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  box-shadow: var(--elev-3);
}
.ab-portrait {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(160deg, #2a4b75, var(--primary) 70%);
}
.ab-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab-portrait span {
  font-family: var(--font-editorial);
  font-size: clamp(4rem, 3rem + 4vw, 6.5rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
}
.ab-person-body { padding: 20px 24px 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.ab-person-role { margin: 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-on-dark); }
.ab-person-name { margin: 4px 0 2px; font-family: var(--font-editorial); font-size: 1.5rem; color: #fff; }
.ab-person-reg { margin: 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.78); }

/* Cifras */
.ab-facts { background: var(--paper-2); border-top: 1px solid var(--line); }

/* Quiénes somos */
.ab-who { padding: 64px 0; background: var(--paper); }
.ab-who-grid { display: grid; gap: 24px 64px; }
@media (min-width: 980px) { .ab-who-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); } }
.ab-who h2 { margin: 0; font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); line-height: 1.1; max-width: 16ch; }
.ab-who-text p { color: var(--muted); font-size: 1.02rem; margin: 0 0 16px; }
.ab-quote {
  margin: 26px 0 0;
  padding: 4px 0 4px 22px;
  border-left: 4px solid var(--primary);
  font-family: var(--font-editorial);
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem);
  line-height: 1.3;
  color: var(--ink);
}

/* Principios */
.ab-values { padding-bottom: 64px; background: var(--paper); }
.ab-values-grid { display: grid; gap: 18px; margin-top: 30px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .ab-values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ab-values-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ab-value {
  position: relative;
  padding: 26px 24px 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.ab-value::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--primary);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform var(--dur-3) var(--ease-out);
}
.ab-value-n {
  display: block;
  font-family: var(--font-ui);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--line-strong);
  transition: color var(--dur-2) var(--ease-out);
}
.ab-value h3 { margin: 14px 0 8px; font-size: 1.15rem; }
.ab-value p { margin: 0; font-size: 0.93rem; color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .ab-value:hover { transform: translateY(-6px); box-shadow: var(--elev-3); border-color: var(--line-strong); }
  .ab-value:hover::before { transform: scaleX(1); }
  .ab-value:hover .ab-value-n { color: var(--primary); }
}

/* Cómo trabajamos: línea de tiempo horizontal */
.ab-process { padding: 56px 0 64px; background: var(--paper-2); border-top: 1px solid var(--line); }
.ab-steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 26px; }
@media (min-width: 900px) {
  .ab-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; }
  .ab-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: var(--line-strong); }
}
.ab-steps li { position: relative; }
.ab-steps span {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 0 0 6px var(--paper-2);
}
.ab-steps h3 { margin: 16px 0 6px; font-size: 1.1rem; }
.ab-steps p { margin: 0; font-size: 0.93rem; color: var(--muted); max-width: 30ch; }

/* Qué rematamos */
.ab-scope { padding: 56px 0 64px; background: var(--paper); }
.ab-scope-grid { display: grid; gap: 18px; margin-top: 30px; }
@media (min-width: 860px) { .ab-scope-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ab-scope-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 26px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), background var(--dur-2) var(--ease-out);
}
.ab-scope-icon {
  display: inline-grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  transition: transform var(--dur-3) var(--ease-out);
}
.ab-scope-icon svg { width: 28px; height: 28px; }
.ab-scope-card h3 { margin: 18px 0 8px; font-size: 1.2rem; }
.ab-scope-card p { margin: 0 0 14px; font-size: 0.95rem; color: var(--muted); }
.ab-scope-card .link-ed { margin-top: auto; }
@media (hover: hover) and (pointer: fine) {
  .ab-scope-card:hover { transform: translateY(-6px); box-shadow: var(--elev-3); background: var(--paper); }
  .ab-scope-card:hover .ab-scope-icon { transform: rotate(-6deg) scale(1.06); }
}

/* Datos oficiales */
.ab-data { padding: 0 0 56px; background: var(--paper); }
.ab-data-grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 2px solid var(--primary);
}
@media (min-width: 900px) { .ab-data-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ab-data-grid > div { padding: 18px 20px 4px 0; }
.ab-data-grid dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ab-data-grid dd { margin: 6px 0 0; font-weight: 600; color: var(--ink); }

/* Llamado final */
.ab-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ab-btn-light { background: #fff; color: var(--primary); }
.ab-btn-light:hover { background: var(--accent-on-dark); color: var(--primary); }

/* Entrada del hero al cargar: sube y aparece, con el martillero un poco después. */
@media (prefers-reduced-motion: no-preference) {
  .ab-hero-copy, .ab-person { animation: ab-in 700ms var(--ease-out) both; }
  .ab-person { animation-delay: 160ms; }
}
@keyframes ab-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
/* Foto del martillero: retrato vertical, encuadrado en rostro y torso. */
.ab-portrait:has(img) { aspect-ratio: 4 / 4.2; background: var(--primary); }
.ab-portrait img { object-position: 50% 18%; }
/* Tarjeta del martillero más compacta. */
.ab-person { max-width: 400px; width: 100%; justify-self: end; }
.ab-portrait:has(img) { aspect-ratio: 1 / 1; }
.ab-person-body { padding: 16px 20px 18px; }
.ab-person-name { font-size: 1.3rem; }
@media (max-width: 979px) { .ab-person { justify-self: start; } }

/* =====================================================================
   PÁGINA BASES DEL REMATE
   ===================================================================== */
.bs-hero h1 { max-width: 18ch; }

/* Resumen del remate vigente, tarjeta azul como la del martillero */
.bs-summary {
  justify-self: end;
  width: 100%;
  max-width: 440px;
  padding: 28px 28px 22px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #2a4b75, var(--primary) 65%);
  color: #fff;
  box-shadow: var(--elev-3);
}
@media (max-width: 979px) { .bs-summary { justify-self: start; } }
.bs-summary-kicker { margin: 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-on-dark); }
.bs-summary-title { margin: 6px 0 18px; font-family: var(--font-editorial); font-size: 1.7rem; color: #fff; }
.bs-summary dl { margin: 0; }
.bs-summary dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.bs-summary dt { font-size: 0.84rem; color: rgba(255, 255, 255, 0.72); }
.bs-summary dd { margin: 0; font-weight: 600; text-align: right; }
@media (prefers-reduced-motion: no-preference) {
  .bs-summary { animation: ab-in 700ms var(--ease-out) 160ms both; }
}

/* Cifras: los textos largos ("10% + IVA") se ajustan sin desbordar */
.bases .ab-facts .num-display { font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.9rem); white-space: nowrap; }

/* Documentos */
.bs-docs-sec { padding-bottom: 56px; background: var(--paper); }
.bs-docs { display: grid; gap: 18px; margin-top: 28px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bs-docs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .bs-docs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bs-doc {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 22px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  overflow: hidden;
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.bs-doc::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform var(--dur-3) var(--ease-out);
}
.bs-doc-icon {
  display: inline-grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  transition: transform var(--dur-3) var(--ease-out);
}
.bs-doc-icon svg { width: 26px; height: 26px; }
.bs-doc-tag {
  position: absolute;
  top: 22px; right: 20px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.bs-doc h3 { margin: 18px 0 8px; font-size: 1.05rem; line-height: 1.3; }
.bs-doc p { margin: 0 0 18px; font-size: 0.88rem; color: var(--muted); }
.bs-doc-dl { margin-top: auto; font-size: 0.86rem; font-weight: 700; color: var(--primary); }
.bs-doc-dl span { display: inline-block; transition: transform var(--dur-2) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .bs-doc:hover { transform: translateY(-6px); box-shadow: var(--elev-3); border-color: var(--line-strong); color: var(--ink); }
  .bs-doc:hover::before { transform: scaleX(1); }
  .bs-doc:hover .bs-doc-icon { transform: rotate(-6deg) scale(1.06); }
  .bs-doc:hover .bs-doc-dl span { transform: translateY(3px); }
}
.bs-note {
  margin-top: 22px;
  padding: 18px 22px;
  background: var(--paper-2);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
}
.bs-note strong { display: block; margin-bottom: 4px; font-size: 1rem; }
.bs-note p { margin: 0; font-size: 0.93rem; color: var(--muted); }

/* Condiciones */
.bs-terms { padding: 56px 0 72px; background: var(--paper-2); border-top: 1px solid var(--line); }
.bs-intro { margin: 24px 0 32px; max-width: none; }
.bs-intro p { margin: 0 0 12px; color: var(--muted); font-size: 1rem; }
.bs-layout { display: grid; gap: 28px; }
@media (min-width: 1000px) { .bs-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; } }

.bs-toc {
  padding: 20px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
@media (min-width: 1000px) { .bs-toc { position: sticky; top: 112px; } }
.bs-toc > p { margin: 0 0 10px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.bs-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.bs-toc a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-xs);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  border-left: 3px solid transparent;
  transition: background var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.bs-toc a span { font-variant-numeric: tabular-nums; font-size: 0.78rem; color: var(--muted); }
.bs-toc a:hover { background: var(--paper-2); color: var(--primary); }
.bs-toc a.is-active { background: var(--primary-soft); border-left-color: var(--primary); color: var(--primary); }
.bs-toc a.is-active span { color: var(--primary); }

.bs-clauses { display: grid; gap: 18px; }
.bs-clause {
  padding: 28px 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  scroll-margin-top: 110px;
  transition: box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.bs-clause:hover { box-shadow: var(--elev-2); border-color: var(--line-strong); }
.bs-clause header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.bs-clause-n {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.92rem;
}
.bs-clause h3 { margin: 0; font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); }
.bs-clause-body p, .bs-clause-body li { color: var(--muted); font-size: 0.97rem; line-height: 1.65; }
.bs-clause-body p { margin: 0 0 12px; }
.bs-clause-body p:last-child { margin-bottom: 0; }
.bs-clause-body ul { margin: 0; padding-left: 20px; }
.bs-clause-body li { margin-bottom: 8px; }
.bs-clause-body li::marker { color: var(--primary); }
.bs-clause-body strong { color: var(--ink); }
@media (max-width: 760px) { .bs-clause { padding: 22px 18px; } }

/* Bases: tarjeta resumen simétrica — encabezado centrado y cuatro datos en
   una rejilla 2×2 de celdas iguales; misma altura que la columna de texto. */
.bs-hero .ab-hero-grid { align-items: stretch; }
.bs-hero .ab-hero-copy { align-self: center; }
.bs-summary { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.bs-summary-head { padding: 26px 28px 22px; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.bs-summary-head .bs-summary-title { margin: 6px 0 0; }
.bs-summary-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
}
.bs-summary-grid > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 22px 16px;
  text-align: center;
  border: 0;
}
.bs-summary-grid > div:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.16); }
.bs-summary-grid > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.bs-summary-grid dt { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-on-dark); }
.bs-summary-grid dd { margin: 0; font-family: var(--font-ui); font-size: 1.35rem; font-weight: 700; color: #fff; text-align: center; }
.bs-summary-grid small { font-size: 0.8rem; color: rgba(255, 255, 255, 0.72); }
.bs-summary .bs-summary-grid > div { justify-content: center; border-top: 0; padding: 22px 16px; }
.bs-summary .bs-summary-grid dd { text-align: center; }

/* =====================================================================
   PÁGINA CONTACTO
   ===================================================================== */
.contact .ab-kicker { margin: 0 0 12px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary); }
.ct-hero h1 { max-width: 15ch; }
.ct-hero .ab-hero-cta { align-items: center; }
.ct-hero .btn-participar::after { content: none; }
.ct-card .bs-summary-title { font-family: var(--font-ui); font-weight: 700; letter-spacing: 0.01em; }
.ct-card .bs-summary-grid dd { font-size: 1.15rem; }
.ct-card .bs-summary-grid small { font-size: 0.76rem; word-break: break-word; }

/* Canales */
.ct-channels { padding-bottom: 56px; background: var(--paper); }
.ct-grid { display: grid; gap: 18px; margin-top: 28px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ct-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ct-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ct-channel {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  overflow: hidden;
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.ct-channel::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform var(--dur-3) var(--ease-out);
}
.ct-icon {
  display: inline-grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  transition: transform var(--dur-3) var(--ease-out);
}
.ct-icon svg { width: 26px; height: 26px; }
.ct-label { margin-top: 18px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ct-channel strong { margin: 6px 0 8px; font-size: 1.05rem; color: var(--primary); word-break: break-word; }
.ct-channel p { margin: 0 0 18px; font-size: 0.88rem; color: var(--muted); }
.ct-go { margin-top: auto; font-size: 0.86rem; font-weight: 700; color: var(--primary); }
.ct-go span { display: inline-block; transition: transform var(--dur-2) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .ct-channel:hover { transform: translateY(-6px); box-shadow: var(--elev-3); border-color: var(--line-strong); color: var(--ink); }
  .ct-channel:hover::before { transform: scaleX(1); }
  .ct-channel:hover .ct-icon { transform: rotate(-6deg) scale(1.06); }
  .ct-channel:hover .ct-go span { transform: translateX(4px); }
}

/* Próximo remate */
.ct-next { padding: 56px 0 64px; background: var(--paper-2); border-top: 1px solid var(--line); }
.ct-next-grid { display: grid; gap: 22px; margin-top: 28px; }
@media (min-width: 980px) { .ct-next-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: stretch; } }
.ct-dates {
  list-style: none;
  margin: 0;
  padding: 8px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.ct-dates li {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 18px 0 18px 28px;
  border-bottom: 1px solid var(--line);
}
.ct-dates li:last-child { border-bottom: 0; }
.ct-dates li::before {
  content: "";
  position: absolute;
  left: 0; top: 24px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}
.ct-date-k { font-weight: 700; color: var(--ink); }
.ct-date-v { color: var(--muted); font-size: 0.95rem; }
.ct-side { display: flex; flex-direction: column; gap: 18px; }
.ct-help {
  padding: 22px 24px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--elev-2);
}
.ct-help p { margin: 0; font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, 0.9); }
.ct-help a { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent-on-dark); text-underline-offset: 3px; }
.ct-warning {
  flex: 1;
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  background: #fff7f3;
  border: 1px solid #f1d5c9;
  border-left: 4px solid var(--danger);
  border-radius: var(--radius-sm);
}
.ct-warning-icon { flex-shrink: 0; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--danger); color: #fff; }
.ct-warning-icon svg { width: 22px; height: 22px; }
.ct-warning strong { display: block; margin-bottom: 6px; color: var(--danger); font-size: 1rem; }
.ct-warning p { margin: 0; font-size: 0.9rem; line-height: 1.6; color: #5b3a2f; }

/* Oficinas */
.ct-office { padding: 56px 0 64px; background: var(--paper); }
.ct-office .sec-head h2 { white-space: nowrap; font-size: clamp(1.3rem, 0.7rem + 1.7vw, 2.25rem); }
@media (max-width: 760px) { .ct-office .sec-head h2 { white-space: normal; } }
.ct-map {
  margin-top: 26px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: var(--elev-2);
  aspect-ratio: 21 / 8;
  min-height: 300px;
}
.ct-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.ct-office-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 18px; }
.ct-social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: 0.9rem; }
.ct-social span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ct-social a { font-weight: 600; color: var(--primary); }
@media (prefers-reduced-motion: no-preference) {
  .ct-card { animation: ab-in 700ms var(--ease-out) 160ms both; }
}

/* =====================================================================
   PÁGINA LOTES — portada con tarjeta de imagen y resumen
   ===================================================================== */
.lotes-page .ab-kicker { margin: 0 0 12px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary); }
.lt-hero h1 { max-width: 16ch; }
.lt-card-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.lt-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.lt-card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(31, 58, 95, 0.55), rgba(31, 58, 95, 0) 55%); }
.lt-card-tag {
  position: absolute; left: 16px; bottom: 14px; z-index: 1;
  padding: 6px 11px 5px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary); background: #fff; border-radius: var(--radius-xs);
}
@media (hover: hover) and (pointer: fine) { .lt-card:hover .lt-card-img img { transform: scale(1.05); } }
@media (prefers-reduced-motion: no-preference) { .lt-card { animation: ab-in 700ms var(--ease-out) 160ms both; } }
#fichas { scroll-margin-top: 90px; }

/* Lotes: texto y tarjeta más anchos, se encuentran al centro. */
@media (min-width: 980px) {
  .lt-hero .ab-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .lt-hero h1 { max-width: none; }
  .lt-hero .ab-lead { max-width: none; }
  .lt-hero .lt-card { max-width: none; justify-self: stretch; }
}
@media (min-width: 980px) { .lt-hero .lt-card-img { aspect-ratio: 2 / 1; } }

/* Lotes: tarjeta de la portada más baja (foto más panorámica, celdas compactas). */
@media (min-width: 980px) {
  .lt-hero .lt-card-img { aspect-ratio: 3 / 1; }
  .lt-hero .lt-card .bs-summary-grid > div { padding: 12px 14px; gap: 2px; }
  .lt-hero .lt-card .bs-summary-grid dd { font-size: 1.2rem; }
  .lt-hero .lt-card .bs-summary-grid small { font-size: 0.76rem; }
}

/* Nosotros: menos aire entre el texto y la foto del martillero; se mantienen los márgenes. */
@media (min-width: 980px) {
  .about .ab-hero-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; }
  .about .ab-hero h1 { max-width: none; }
  .about .ab-lead { max-width: none; }
}

/* Bases: texto y tarjeta más anchos, se encuentran al centro. */
@media (min-width: 980px) {
  .bs-hero .ab-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .bs-hero h1 { max-width: none; }
  .bs-hero .ab-lead { max-width: none; }
  .bs-hero .bs-summary { max-width: none; justify-self: stretch; }
}
@media (min-width: 980px) {
  .bs-hero .ab-hero-grid { gap: 20px; }
  .bs-hero h1 { font-size: clamp(2.4rem, 1.2rem + 2.6vw, 3.7rem); }
  .bs-hero .ab-lead { font-size: 1.1rem; }
}

/* Bases, móvil: tarjeta azul más compacta y los dos botones siempre en una línea. */
@media (max-width: 979px) {
  .bs-hero .ab-hero-cta, .lt-hero .ab-hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .bs-hero .ab-hero-cta .btn, .lt-hero .ab-hero-cta .btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
    text-align: center;
    padding: 12px 8px;
    font-size: 0.86rem;
    white-space: nowrap;
  }
  .bs-hero .ab-hero-cta .btn-participar::after, .lt-hero .ab-hero-cta .btn-participar::after { display: none; }
  .bs-hero .bs-summary { max-width: none; }
  .bs-hero .bs-summary-head { padding: 16px 18px 14px; }
  .bs-hero .bs-summary-title { font-size: 1.3rem; }
  .bs-hero .bs-summary-grid > div { padding: 12px 10px; gap: 2px; }
  .bs-hero .bs-summary-grid dt { font-size: 0.62rem; letter-spacing: 0.1em; }
  .bs-hero .bs-summary-grid dd { font-size: 1.05rem; }
  .bs-hero .bs-summary-grid small { font-size: 0.72rem; }
}
@media (max-width: 420px) {
  .bs-hero .ab-hero-cta .btn, .lt-hero .ab-hero-cta .btn { font-size: 0.76rem; padding: 11px 6px; letter-spacing: -0.01em; }
}

/* Lotes, móvil: cuadro azul bajo la foto más bajo. */
@media (max-width: 979px) {
  .lt-hero .lt-card .bs-summary-grid > div { padding: 9px 8px; gap: 1px; }
  .lt-hero .lt-card .bs-summary-grid dt { font-size: 0.58rem; letter-spacing: 0.1em; }
  .lt-hero .lt-card .bs-summary-grid dd { font-size: 1rem; line-height: 1.2; }
  .lt-hero .lt-card .bs-summary-grid small { font-size: 0.68rem; line-height: 1.25; }
}

/* Lotes, móvil: bloque de texto de la portada más compacto. */
@media (max-width: 979px) {
  .lt-hero { padding-top: 26px; padding-bottom: 28px; }
  .lt-hero .ab-hero-grid { gap: 20px; }
  .lt-hero .ab-kicker { margin-bottom: 6px; font-size: 0.7rem; }
  .lt-hero h1 { font-size: 1.85rem; line-height: 1.1; margin-bottom: 10px; max-width: none; }
  .lt-hero .ab-lead { font-size: 0.92rem; line-height: 1.5; margin-bottom: 16px; }
}
@media (max-width: 979px) { .lt-hero .lt-card { max-width: none; justify-self: stretch; } }

/* =====================================================================
   NOSOTROS — versión móvil compacta y simétrica
   ===================================================================== */
@media (max-width: 979px) {
  /* Hero */
  .about .ab-hero { padding: 24px 0 26px; }
  .about .ab-hero-grid { gap: 18px; }
  .about .ab-kicker { margin-bottom: 6px; font-size: 0.68rem; }
  .about .ab-hero h1 { font-size: 1.8rem; line-height: 1.1; margin-bottom: 10px; max-width: none; }
  .about .ab-lead { font-size: 0.9rem; line-height: 1.5; margin-bottom: 16px; max-width: none; }
  .about .ab-hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .about .ab-hero-cta .btn { width: 100%; min-width: 0; justify-content: center; padding: 12px 6px; font-size: 0.84rem; white-space: nowrap; }
  .about .ab-hero-cta .btn-participar::after { display: none; }
  .about .ab-person { max-width: none; justify-self: stretch; }
  .about .ab-portrait:has(img) { aspect-ratio: 16 / 10; }
  .about .ab-portrait img { object-position: 50% 12%; }
  .about .ab-person-body { padding: 12px 16px 14px; }
  .about .ab-person-name { font-size: 1.15rem; }
  .about .ab-person-reg { font-size: 0.8rem; }

  /* Cifras */
  .about .ab-facts { padding: 22px 0; }
  .about .ab-facts .rg-band-grid > div { padding-top: 12px; padding-bottom: 12px; }
  .about .ab-facts .num-display { font-size: 1.7rem; margin-bottom: 4px; }
  .about .ab-facts p { font-size: 0.78rem; }

  /* Quiénes somos */
  .about .ab-who { padding: 30px 0; }
  .about .ab-who-grid { gap: 12px; }
  .about .ab-who h2 { font-size: 1.5rem; max-width: none; }
  .about .ab-who-text p { font-size: 0.9rem; margin-bottom: 10px; }
  .about .ab-quote { margin-top: 14px; padding-left: 14px; font-size: 1.1rem; }

  /* Principios: 2 × 2 */
  .about .ab-values { padding-bottom: 30px; }
  .about .ab-values-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
  .about .ab-value { padding: 16px 14px; }
  .about .ab-value-n { font-size: 1.6rem; }
  .about .ab-value h3 { margin: 8px 0 4px; font-size: 0.98rem; }
  .about .ab-value p { font-size: 0.78rem; line-height: 1.45; }

  /* Cómo trabajamos: 2 × 2 */
  .about .ab-process { padding: 30px 0 32px; }
  .about .ab-steps { grid-template-columns: 1fr 1fr; gap: 16px 12px; margin-top: 18px; }
  .about .ab-steps span { width: 36px; height: 36px; font-size: 0.82rem; box-shadow: 0 0 0 4px var(--paper-2); }
  .about .ab-steps h3 { margin: 10px 0 4px; font-size: 0.98rem; }
  .about .ab-steps p { font-size: 0.78rem; line-height: 1.45; }

  /* Qué rematamos: filas compactas, ícono a la izquierda */
  .about .ab-scope { padding: 30px 0 32px; }
  .about .ab-scope-grid { gap: 10px; margin-top: 18px; }
  .about .ab-scope-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
    padding: 16px 14px;
  }
  .about .ab-scope-icon { grid-row: span 3; width: 44px; height: 44px; }
  .about .ab-scope-icon svg { width: 22px; height: 22px; }
  .about .ab-scope-card h3 { margin: 0 0 4px; font-size: 1rem; }
  .about .ab-scope-card p { margin: 0 0 6px; font-size: 0.8rem; }

  /* Datos oficiales */
  .about .ab-data { padding-bottom: 28px; }
  .about .ab-data-grid > div { padding: 12px 10px 4px 0; }
  .about .ab-data-grid dd { font-size: 0.86rem; }

  /* Llamado final */
  .about .ab-cta { padding: 26px 0; }
  .about .ab-cta h2 { font-size: 1.35rem; }
  .about .ab-cta p { font-size: 0.88rem; }
  .about .ab-cta-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
  .about .ab-cta-actions .btn,
  .about .ab-cta-actions .btn-wa-pill { width: 100%; min-width: 0; justify-content: center; height: 46px; padding: 0 8px; font-size: 0.8rem; white-space: nowrap; }
  .about .ab-cta-actions .btn-wa-pill svg { width: 18px; height: 18px; }

  /* Encabezados de sección */
  .about .sec-head h2 { font-size: 1.5rem; }
  .about .sec-head p { font-size: 0.85rem; }
  .about .rg-head-boxed { padding: 18px 0; }
  .about .rg-head-boxed .sec-head { padding: 16px 16px; }
}
/* Teléfonos angostos: el botón verde muestra "WhatsApp" para caber en el par. */
@media (max-width: 420px) {
  .about .ab-cta-actions .btn-wa-pill span { font-size: 0; }
  .about .ab-cta-actions .btn-wa-pill span::after { content: "WhatsApp"; font-size: 0.82rem; }
}

/* =====================================================================
   CONTACTO — versión móvil compacta y simétrica
   ===================================================================== */
@media (max-width: 979px) {
  /* Hero */
  .contact .ct-hero { padding: 24px 0 26px; }
  .contact .ab-hero-grid { gap: 18px; }
  .contact .ab-kicker { margin-bottom: 6px; font-size: 0.68rem; }
  .contact .ct-hero h1 { font-size: 1.8rem; line-height: 1.1; margin-bottom: 10px; max-width: none; }
  .contact .ab-lead { font-size: 0.9rem; line-height: 1.5; margin-bottom: 16px; max-width: none; }
  .contact .ab-hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .contact .ab-hero-cta > * { width: 100%; min-width: 0; justify-content: center; height: 46px; padding: 0 6px; font-size: 0.8rem; white-space: nowrap; }
  .contact .ab-hero-cta .btn-wa-pill svg { width: 18px; height: 18px; }
  .contact .ct-card { max-width: none; justify-self: stretch; }
  .contact .ct-card .bs-summary-head { padding: 14px 16px 12px; }
  .contact .ct-card .bs-summary-title { font-size: 1.3rem; }
  .contact .ct-card .bs-summary-grid > div { padding: 10px 8px; gap: 1px; }
  .contact .ct-card .bs-summary-grid dt { font-size: 0.58rem; letter-spacing: 0.1em; }
  .contact .ct-card .bs-summary-grid dd { font-size: 0.98rem; }
  .contact .ct-card .bs-summary-grid small { font-size: 0.66rem; }

  /* Canales: 2 × 2 */
  .contact .ct-channels { padding-bottom: 28px; }
  .contact .ct-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
  .contact .ct-channel { padding: 14px 12px; }
  .contact .ct-icon { width: 38px; height: 38px; }
  .contact .ct-icon svg { width: 20px; height: 20px; }
  .contact .ct-label { margin-top: 10px; font-size: 0.58rem; letter-spacing: 0.1em; }
  .contact .ct-channel strong { margin: 4px 0 4px; font-size: 0.78rem; line-height: 1.3; }
  .contact .ct-channel p { margin: 0 0 8px; font-size: 0.72rem; line-height: 1.4; }
  .contact .ct-go { font-size: 0.74rem; }

  /* Próximo remate */
  .contact .ct-next { padding: 28px 0 30px; }
  .contact .ct-next-grid { gap: 12px; margin-top: 16px; }
  .contact .ct-dates { padding: 2px 14px; }
  .contact .ct-dates li { padding: 10px 0 10px 20px; gap: 2px; }
  .contact .ct-dates li::before { top: 15px; width: 8px; height: 8px; box-shadow: 0 0 0 3px var(--primary-soft); }
  .contact .ct-date-k { font-size: 0.86rem; }
  .contact .ct-date-v { font-size: 0.8rem; }
  .contact .ct-side { gap: 12px; }
  .contact .ct-help { padding: 14px 16px; }
  .contact .ct-help p { font-size: 0.85rem; }
  .contact .ct-warning { padding: 14px; gap: 12px; }
  .contact .ct-warning-icon { width: 32px; height: 32px; }
  .contact .ct-warning-icon svg { width: 17px; height: 17px; }
  .contact .ct-warning strong { font-size: 0.9rem; margin-bottom: 4px; }
  .contact .ct-warning p { font-size: 0.78rem; line-height: 1.5; }

  /* Oficinas */
  .contact .ct-office { padding: 28px 0 30px; }
  .contact .ct-office .sec-head h2 { font-size: 1.15rem; line-height: 1.3; }
  .contact .ct-map { margin-top: 14px; aspect-ratio: 4 / 3; min-height: 0; }
  .contact .ct-office-foot { margin-top: 12px; gap: 8px; }
  .contact .ct-social { gap: 4px 14px; font-size: 0.8rem; }

  /* Llamado final */
  .contact .ab-cta { padding: 26px 0; }
  .contact .ab-cta h2 { font-size: 1.35rem; }
  .contact .ab-cta p { font-size: 0.88rem; }
  .contact .ab-cta-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
  .contact .ab-cta-actions > * { width: 100%; min-width: 0; justify-content: center; height: 46px; padding: 0 8px; font-size: 0.8rem; white-space: nowrap; }
  .contact .ab-cta-actions .btn-wa-pill svg { width: 18px; height: 18px; }

  /* Encabezados */
  .contact .sec-head h2 { font-size: 1.5rem; }
  .contact .sec-head p { font-size: 0.85rem; }
  .contact .rg-head-boxed { padding: 18px 0; }
  .contact .rg-head-boxed .sec-head { padding: 16px; }
}
/* Teléfonos angostos: botones verdes abreviados para caber en el par. */
@media (max-width: 420px) {
  .contact .ab-hero-cta .btn-wa-pill span,
  .contact .ab-cta-actions .btn-wa-pill span { font-size: 0; }
  .contact .ab-hero-cta .btn-wa-pill span::after,
  .contact .ab-cta-actions .btn-wa-pill span::after { content: "WhatsApp"; font-size: 0.8rem; }
}
.ct-call-short { display: none; }
@media (max-width: 979px) { .ct-call-long { display: none; } .ct-call-short { display: inline; } }
@media (max-width: 979px) { .contact .ct-map { aspect-ratio: 16 / 10; } }

/* =====================================================================
   BASES — versión móvil compacta y simétrica
   ===================================================================== */
@media (max-width: 979px) {
  /* Hero */
  .bases .bs-hero { padding: 24px 0 26px; }
  .bases .ab-hero-grid { gap: 18px; }
  .bases .ab-kicker { margin-bottom: 6px; font-size: 0.68rem; }
  .bases .bs-hero h1 { font-size: 1.8rem; line-height: 1.1; margin-bottom: 10px; }
  .bases .bs-hero .ab-lead { font-size: 0.9rem; line-height: 1.5; margin-bottom: 16px; }

  /* Cifras */
  .bases .ab-facts { padding: 22px 0; }
  .bases .ab-facts .rg-band-grid > div { padding-top: 12px; padding-bottom: 12px; }
  .bases .ab-facts .num-display { font-size: 1.55rem; margin-bottom: 4px; }
  .bases .ab-facts p { font-size: 0.76rem; }

  /* Documentos: 2 × 2 */
  .bases .bs-docs-sec { padding-bottom: 28px; }
  .bases .bs-docs { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
  .bases .bs-doc { padding: 14px 12px 12px; }
  .bases .bs-doc-icon { width: 38px; height: 38px; }
  .bases .bs-doc-icon svg { width: 20px; height: 20px; }
  .bases .bs-doc-tag { top: 14px; right: 12px; font-size: 0.58rem; }
  .bases .bs-doc h3 { margin: 10px 0 4px; font-size: 0.86rem; }
  .bases .bs-doc p { margin: 0 0 8px; font-size: 0.72rem; line-height: 1.4; }
  .bases .bs-doc-dl { font-size: 0.74rem; }
  .bases .bs-note { margin-top: 12px; padding: 12px 14px; }
  .bases .bs-note strong { font-size: 0.9rem; }
  .bases .bs-note p { font-size: 0.8rem; }

  /* Condiciones */
  .bases .bs-terms { padding: 28px 0 32px; }
  .bases .bs-intro { margin: 14px 0 18px; }
  .bases .bs-intro p { font-size: 0.86rem; line-height: 1.55; margin-bottom: 8px; }
  .bases .bs-layout { gap: 14px; }
  /* Índice: dos columnas compactas */
  .bases .bs-toc { padding: 12px; }
  .bases .bs-toc > p { margin-bottom: 6px; font-size: 0.62rem; }
  .bases .bs-toc ol { grid-template-columns: 1fr 1fr; gap: 2px 6px; }
  .bases .bs-toc a { padding: 6px 6px; font-size: 0.74rem; gap: 6px; line-height: 1.25; }
  .bases .bs-toc a span { font-size: 0.66rem; }
  /* Cláusulas */
  .bases .bs-clauses { gap: 10px; }
  .bases .bs-clause { padding: 16px 14px; scroll-margin-top: 90px; }
  .bases .bs-clause header { gap: 10px; margin-bottom: 10px; padding-bottom: 10px; }
  .bases .bs-clause-n { width: 32px; height: 32px; font-size: 0.78rem; }
  .bases .bs-clause h3 { font-size: 1rem; }
  .bases .bs-clause-body p, .bases .bs-clause-body li { font-size: 0.84rem; line-height: 1.55; }
  .bases .bs-clause-body p { margin-bottom: 8px; }
  .bases .bs-clause-body ul { padding-left: 16px; }
  .bases .bs-clause-body li { margin-bottom: 5px; }

  /* Llamado final */
  .bases .ab-cta { padding: 26px 0; }
  .bases .ab-cta h2 { font-size: 1.35rem; }
  .bases .ab-cta p { font-size: 0.88rem; }
  .bases .ab-cta-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
  .bases .ab-cta-actions > * { width: 100%; min-width: 0; justify-content: center; height: 46px; padding: 0 8px; font-size: 0.8rem; white-space: nowrap; }
  .bases .ab-cta-actions .btn-wa-pill svg { width: 18px; height: 18px; }

  /* Encabezados */
  .bases .sec-head h2 { font-size: 1.5rem; }
  .bases .sec-head p { font-size: 0.85rem; }
  .bases .rg-head-boxed { padding: 18px 0; }
  .bases .rg-head-boxed .sec-head { padding: 16px; }
}
@media (max-width: 420px) {
  .bases .ab-cta-actions .btn-wa-pill span { font-size: 0; }
  .bases .ab-cta-actions .btn-wa-pill span::after { content: "WhatsApp"; font-size: 0.8rem; }
}

/* Portada, móvil: cada lote muestra su número (01–10) junto a la miniatura. */
@media (max-width: 899px) {
  .rg-lotes .lote-row {
    grid-template-columns: 34px 64px minmax(0, 1fr);
    grid-template-areas:
      "n thumb name"
      "n thumb meta"
      "go go go";
    column-gap: 12px;
  }
  .rg-lotes .lote-n {
    display: block;
    grid-area: n;
    align-self: center;
    font-size: 1.6rem;
    color: var(--primary);
  }
  .rg-lotes .lote-thumb { grid-area: thumb; width: 64px; height: 48px; align-self: center; }
}

/* =====================================================================
   PORTADA — versión móvil compacta, simétrica y alineada
   Todo el contenido usa el mismo canal lateral (var(--gutter)).
   ===================================================================== */
@media (max-width: 899px) {
  /* Hero */
  .rg-hero .rg-hero-id { margin-top: 18px; margin-bottom: 12px; padding-bottom: 8px; }
  .rg-hero h1, .rg-hero .rg-hero-title { font-size: 1.8rem; line-height: 1.1; margin-bottom: 8px; max-width: none; }
  .rg-hero-lead { font-size: 0.9rem; line-height: 1.5; margin-bottom: 14px; max-width: none; }
  .rg-hero-shot { min-height: 0; aspect-ratio: 4 / 3; margin-bottom: 14px; }
  .rg-hero-data { gap: 10px 0; padding-top: 12px; margin-bottom: 14px; }
  .rg-hero-data .datum-value { font-size: 0.98rem; }
  .rg-hero-cta { margin-bottom: 22px; }

  /* Franja de garantía */
  .rg-band { padding: 20px 0; }
  .rg-band-grid > div { padding-top: 12px; padding-bottom: 12px; }
  .rg-band-grid .num-display { font-size: 1.7rem; margin-bottom: 4px; }
  .rg-band-grid strong { font-size: 0.68rem; }
  .rg-band-grid p { font-size: 0.76rem; line-height: 1.4; }

  /* Encabezados en recuadro azul */
  .rg-head-boxed { padding: 16px 0 !important; }
  .rg-head-boxed .sec-head { padding: 14px 16px; }
  .rg-head-boxed .sec-head h2 { font-size: 1.35rem; }
  .rg-head-boxed .sec-head p { font-size: 0.82rem; }

  /* Lotes */
  .rg-lotes { padding-bottom: 24px; }
  .rg-lotes .lote-row { padding: 10px 0; row-gap: 0; }
  .rg-lotes .lote-name { font-size: 0.98rem; }
  .rg-lotes .lote-name em { font-size: 0.78rem; }
  .rg-lotes .lote-meta { font-size: 0.76rem; }
  .rg-lotes .lote-go { font-size: 0.74rem; }
  .lote-foot { margin-top: 10px; gap: 8px; }
  .lote-foot p { font-size: 0.8rem; }

  /* Departamentos: foto con proporción fija y mismo canal lateral */
  .rg-depto { padding-left: 0; padding-right: 0; }
  .rg-depto-inner { padding: 0; }
  .rg-depto-shot { min-height: 0; aspect-ratio: 4 / 3; margin: 0 var(--gutter); border-radius: var(--radius-sm); }
  .rg-depto-copy { padding: 16px var(--gutter) 24px; }
  .rg-depto-id { margin-bottom: 8px; }
  .rg-depto-badge { font-size: 0.7rem; padding: 6px 10px 5px; }
  .rg-depto h2 { font-size: 1.45rem; margin-bottom: 6px; max-width: none; }
  .rg-depto-lead { font-size: 0.88rem; margin-bottom: 10px; max-width: none; }
  .rg-depto-specs { margin-bottom: 14px; }
  .rg-depto-specs li { padding: 6px 0; font-size: 0.82rem; gap: 12px; }
  .rg-depto .rg-hero-cta { margin-bottom: 0; }
  .rg-depto .btn-wa-pill { height: 46px; font-size: 0.86rem; }

  /* Oportunidades anteriores: 2 por línea */
  .rg-prev { padding-bottom: 24px; }
  .rg-prev .prev-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
  .prev-body { padding: 10px 10px 12px; }
  .prev-proj { font-size: 0.66rem; }
  .prev-body h3 { font-size: 0.92rem; margin: 2px 0 8px; }
  .rg-prev .prev-price { padding-top: 6px; }
  .prev-price small { font-size: 0.58rem; letter-spacing: 0.06em; }
  .rg-prev .prev-price strong { font-size: 1.1rem; }
  .prev-badge { top: 6px; left: 6px; font-size: 0.56rem; padding: 3px 6px 2px; }

  /* Secciones con encabezado de línea */
  .rg-steps, .rg-cron, .rg-docs, .rg-faq { padding: 26px 0 28px; }
  .rg .sec-head { padding-bottom: 10px; gap: 6px; }
  .rg .sec-head h2 { font-size: 1.45rem; }
  .rg .sec-head p { font-size: 0.82rem; }

  /* Cómo participar */
  .step-row { padding: 14px 0; gap: 4px 14px; }
  .step-row .num-display { font-size: 1.6rem; }
  .step-row h3 { font-size: 1.02rem; }
  .step-row p { font-size: 0.84rem; }
  .step-cta { margin-top: 8px; }

  /* Cronograma */
  .cron { margin-top: 16px; }
  .cron li { padding-top: 12px; padding-bottom: 12px; }
  .cron time { font-size: 0.95rem; }
  .cron p { font-size: 0.8rem; }

  /* Documentación */
  .rg-doc { padding: 11px 0; gap: 6px 12px; }
  .rg-doc-name { font-size: 0.92rem; }
  .rg-doc-name em { font-size: 0.76rem; }
  .rg-doc-go { font-size: 0.78rem; }

  /* Respaldo */
  .band-navy { padding: 28px 0 30px; }
  .rg-trust { gap: 16px; margin-top: 14px; }
  .rg-trust h3 { font-size: 1.1rem; margin-bottom: 6px; }
  .rg-trust p { font-size: 0.86rem; margin-bottom: 10px; }
  .rg-trust-facts li { padding: 8px 0; font-size: 0.82rem; }

  /* Propietarios */
  .rg-owners { padding: 28px 0 30px; }
  .rg-owners h2 { font-size: 1.5rem; margin-bottom: 8px; }
  .rg-owners .owners-copy { font-size: 0.88rem; margin-bottom: 16px; }

  /* Preguntas frecuentes */
  .rg-faq .faq-question { padding-top: 12px; padding-bottom: 12px; font-size: 0.92rem; }
  .rg-faq .faq-answer p { font-size: 0.84rem; }
}
/* Móvil: el canal lateral de la portada es el mismo que el de .container. */
@media (max-width: 899px) { .rg { --gutter: 20px; } }
@media (max-width: 560px) { .rg { --gutter: 16px; } }
/* Oportunidades anteriores, móvil: la quinta ficha queda centrada. */
@media (max-width: 899px) {
  .rg-prev .prev-grid > .prev-card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 5px); }
  .rg-owners h2 { max-width: none; }
}

/* =====================================================================
   CÓMO PARTICIPAR — versión móvil compacta y simétrica
   ===================================================================== */
@media (max-width: 899px) {
  .cp .part-hero { padding: 20px 0 22px; }
  .cp .part-hero .eyebrow { margin-bottom: 6px; font-size: 0.68rem; }
  .cp .part-hero h1 { font-size: 1.8rem; line-height: 1.1; margin: 0 0 8px; }
  .cp .part-lead { font-size: 0.9rem; line-height: 1.5; margin-bottom: 14px; }
  .cp .part-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .cp .part-actions > * { width: 100%; min-width: 0; justify-content: center; height: 46px; padding: 0 6px; font-size: 0.8rem; white-space: nowrap; }
  .cp .part-actions .btn-wa svg { width: 18px; height: 18px; }

  .cp .part-dates { padding: 18px 0; }
  .cp .part-dates .num-display { font-size: 1.6rem; }

  .cp .rg-steps { padding: 24px 0 26px; }
  .cp .sec-head { padding-bottom: 10px; gap: 6px; }
  .cp .sec-head h2 { font-size: 1.45rem; }
  .cp .sec-head p { font-size: 0.82rem; }
  .cp .step-row { padding: 12px 0; }
  .cp .step-row p { font-size: 0.82rem; line-height: 1.5; margin-bottom: 6px; }
  .cp .step-row .btn { padding: 10px 18px; font-size: 0.84rem; }

  .cp .section { padding: 22px 0; }
  .cp .info-side-box { padding: 16px; }
  .cp .info-side-box h3 { font-size: 1rem; margin-bottom: 6px; }
  .cp .info-side-box p { font-size: 0.84rem; line-height: 1.5; margin: 0; }

  .cp .part-wa { padding: 24px 0; }
  .cp .part-wa h2 { font-size: 1.35rem; }
  .cp .part-wa p { font-size: 0.86rem; }
  .cp .part-wa-inner { gap: 14px; }
  .cp .part-wa .btn-wa { width: 100%; justify-content: center; padding: 13px 16px; font-size: 0.92rem; }
}
@media (max-width: 420px) {
  .cp .part-actions .btn-wa span { font-size: 0; }
  .cp .part-actions .btn-wa span::after { content: "WhatsApp"; font-size: 0.8rem; }
}

/* Portada, móvil: aviso "Remate 22 de octubre" arriba a la izquierda de la foto,
   sin pie de foto, y el contador dice "FALTAN". En escritorio no cambia. */
.rg-hero-soon, .rg-cd-hero-label .cd-short { display: none; }
@media (max-width: 899px) {
  .rg-hero-soon {
    display: block;
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    margin: 0;
    padding: 8px 13px 7px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    background: var(--primary);
    border-radius: var(--radius-xs);
    box-shadow: 0 8px 22px rgba(4, 10, 20, 0.3);
  }
  .rg-hero-soon strong { font-weight: 800; color: #fff; }
  .rg-hero-shot .rg-shot-note { display: none; }
  .rg-hero-shot .rg-countdown { --cd-gap: 12px; }
  .rg-cd-hero-label .cd-long { display: none; }
  .rg-cd-hero-label .cd-short { display: inline; }
  .rg-countdown-label.rg-cd-hero-label {
    display: inline-block !important;
    padding: 4px 8px 3px;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: #fff;
    background: var(--primary);
    border-radius: var(--radius-xs);
  }
  .rg-hero-shot .rg-countdown { justify-content: space-between !important; }
}

/* Etiqueta "Remate Departamento 1104/1308" más grande y destacada. */
.rg-depto-badge {
  padding: 10px 16px 9px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 8px 20px rgba(31, 58, 95, 0.25);
}
@media (max-width: 899px) {
  .rg-depto-badge { padding: 8px 13px 7px; font-size: 0.92rem; letter-spacing: 0.06em; }
}

/* =====================================================================
   ESCRITORIO — ritmo compacto en portada, Nosotros, Contacto, Bases,
   Lotes y Cómo participar (mismo ritmo de 40–48px).
   ===================================================================== */
@media (min-width: 980px) {
  /* Portada */
  .rg-band { padding: 26px 0; }
  .rg-steps, .rg-cron, .rg-docs, .rg-faq { padding: 36px 0 40px; }
  .band-navy { padding: 40px 0 42px; }
  .rg-owners { padding: 40px 0 44px; }
  .rg-lotes { padding-bottom: 36px; }
  .rg-prev { padding-bottom: 36px; }
  .rg-head-boxed { padding: 22px 0 !important; }
  .rg-head-boxed .sec-head { padding: 20px 28px; }
  .lote-foot { margin-top: 12px; }
  .step-row { padding-top: 18px; padding-bottom: 18px; }

  /* Portadas a dos columnas */
  .ab-hero { padding: 44px 0 40px; }

  /* Nosotros */
  .ab-who { padding: 48px 0; }
  .ab-values { padding-bottom: 48px; }
  .ab-values-grid, .ab-scope-grid, .ct-grid, .bs-docs { margin-top: 22px; }
  .ab-process, .ab-scope { padding: 44px 0 48px; }
  .ab-data { padding-bottom: 40px; }

  /* Contacto */
  .ct-channels { padding-bottom: 44px; }
  .ct-next, .ct-office { padding: 44px 0 48px; }
  .ct-next-grid { margin-top: 22px; }
  .ct-map { margin-top: 20px; aspect-ratio: 21 / 7; }

  /* Bases */
  .bs-docs-sec { padding-bottom: 44px; }
  .bs-terms { padding: 44px 0 56px; }
  .bs-intro { margin: 18px 0 24px; }
  .bs-clauses { gap: 14px; }
  .bs-clause { padding: 24px 28px; }

  /* Cómo participar */
  .part-hero { padding: 40px 0 32px; }
  .part-wa, .ab-cta { padding: 34px 0; }

  /* Encabezados de sección: misma separación con su contenido */
  .sec-head { padding-bottom: 12px; }
}
@media (min-width: 980px) {
  .rg-owners h2 { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.8rem); max-width: 18ch; }
}

/* =====================================================================
   OPORTUNIDADES ANTERIORES — cinta continua en móvil
   ===================================================================== */
.prev-clone { display: none; }
@media (max-width: 899px) {
  .rg-prev .container:has(> .prev-grid) { overflow: hidden; padding-left: 0; padding-right: 0; width: 100%; }
  .rg-prev .prev-grid {
    display: flex;
    gap: 12px;
    width: max-content;
    margin-top: 4px;
    padding-left: var(--gutter);
    animation: prev-marquee 34s linear infinite;
  }
  .rg-prev .prev-grid > .prev-card,
  .rg-prev .prev-grid > .prev-card:last-child:nth-child(odd) { width: 170px; flex: none; grid-column: auto; justify-self: auto; }
  .rg-prev .prev-grid .prev-clone { display: flex; }
  .rg-prev .prev-grid:active { animation-play-state: paused; }
  .rg-prev .prev-card.rise { opacity: 1 !important; transform: none !important; }
}
@keyframes prev-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 6px)); }
}
/* Con "reducir movimiento": la cinta no se mueve sola, se desliza con el dedo. */
@media (max-width: 899px) and (prefers-reduced-motion: reduce) {
  .rg-prev .container:has(> .prev-grid) { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .rg-prev .prev-grid { animation: none !important; padding-right: var(--gutter); }
  .rg-prev .prev-grid > .prev-card { scroll-snap-align: start; }
  .rg-prev .prev-grid .prev-clone { display: none; }
}

/* Contacto: sección de oficinas y mapa más baja. */
.ct-office { padding: 36px 0 40px; }
.ct-office .sec-head { padding-bottom: 10px; }
.ct-map { aspect-ratio: auto !important; height: 260px; min-height: 0; margin-top: 16px; }
.ct-office-foot { margin-top: 12px; }
@media (max-width: 899px) {
  .ct-office { padding: 24px 0 26px; }
  .ct-map { height: 200px; margin-top: 12px; }
}
/* Cinta en pausa mientras se toca; la ficha tocada se levanta. */
@media (max-width: 899px) {
  .rg-prev .prev-grid.is-held { animation-play-state: paused; }
  .rg-prev .prev-grid .prev-card { transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out); }
  .rg-prev .prev-grid .prev-card.is-touched {
    transform: translateY(-6px) scale(1.04) !important;
    box-shadow: 0 16px 34px rgba(31, 58, 95, 0.3);
    border-color: var(--primary);
    z-index: 1;
  }
  .rg-prev .container:has(> .prev-grid) { padding-top: 10px; padding-bottom: 10px; }
}

/* Carrusel por pares (reemplaza la cinta continua en móvil). */
@media (max-width: 899px) {
  .rg-prev .container:has(> .prev-grid) { width: auto; margin: 0 var(--gutter); padding-left: 0; padding-right: 0; overflow: hidden; }
  .rg-prev .prev-grid { animation: none !important; padding-left: 0; gap: 12px; will-change: transform; }
  .rg-prev .prev-grid > .prev-card,
  .rg-prev .prev-grid > .prev-card:last-child:nth-child(odd) { width: var(--pv-card, calc(50% - 6px)); }
  .rg-prev .prev-grid .prev-card.is-touched { transform: translateY(-4px) !important; }
}
@media (max-width: 899px) and (prefers-reduced-motion: reduce) {
  .rg-prev .container:has(> .prev-grid) { overflow-x: auto; }
  .rg-prev .prev-grid > .prev-card { scroll-snap-align: start; }
}

/* Oportunidades anteriores, móvil: texto compacto con la misma escala que las
   fichas de lotes (proyecto en mayúsculas azul, nombre, valor). */
@media (max-width: 899px) {
  .rg-prev .prev-img { aspect-ratio: 16 / 10; }
  .rg-prev .prev-body { padding: 8px 10px 10px; }
  .rg-prev .prev-proj {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
  }
  .rg-prev .prev-body h3 { margin: 2px 0 6px; font-size: 0.9rem; line-height: 1.2; }
  .rg-prev .prev-price { padding-top: 6px; border-top-width: 1px; }
  .rg-prev .prev-price small { font-size: 0.56rem; letter-spacing: 0.06em; }
  .rg-prev .prev-price strong { margin-top: 1px; font-size: 1.05rem; }
}

/* =====================================================================
   FICHAS DE LOTE Y DEPARTAMENTO (.ld) — diseño moderno y compacto
   ===================================================================== */
.ld .ab-kicker { margin: 0 0 10px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary); }
.ld-hero h1 { max-width: none; }
.ld-hero .ab-lead { margin-bottom: 20px; }

/* Tarjeta: foto con contador "FALTAN" y cuatro datos; el dato clave en relieve */
.ld-card .lt-card-tag.ld-card-tag { top: 14px; bottom: auto; left: 14px; background: var(--primary); color: #fff; }
.ld-card .lt-card-img .rg-countdown { --cd-gap: 12px; width: calc(100% - 24px); max-width: none; padding: 7px 12px; }
.ld-card .lt-card-img .rg-countdown-grid span { font-size: 1.25rem; }
.ld-card .bs-summary-grid > div.is-key { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 3px 0 var(--accent-on-dark); }
.ld-card .bs-summary-grid dd.tbc, .ld-card .bs-summary-grid dd { color: #fff; }
.ld-card .bs-summary-grid dd { font-size: 1.1rem; line-height: 1.2; }
@media (min-width: 980px) {
  .ld-hero .lt-card-img { aspect-ratio: 16 / 9; }
  .ld-card .bs-summary-grid > div { padding: 14px 12px; }
}

/* Ritmo de secciones */
.ld .section { padding: 40px 0; }
.ld .notice-band { padding-top: 0; }
.ld .section-head, .ld .section-head.narrow { max-width: none; margin-bottom: 18px; }
.ld .section-head h2, .ld .two-col h2 { font-size: clamp(1.45rem, 1.15rem + 1vw, 2rem); margin-bottom: 0; }

/* Aviso del remate: franja con filete azul */
.ld .notice {
  padding: 18px 22px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  box-shadow: none;
}
.ld .notice h2 { font-size: 1.05rem; margin: 0 0 6px; }
.ld .notice p { font-size: 0.92rem; margin: 0 0 6px; color: var(--muted); max-width: none; }
.ld .notice p:last-child { margin-bottom: 0; }

/* Galería: cuadrícula pareja, zoom suave */
.ld .gallery-grid, .ld .gallery-grid.wide {
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.ld .gallery-item { border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--elev-1); }
.ld .gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 600ms var(--ease-out); }
.ld .calc-note { text-align: left !important; }

/* Ubicación + documentos: dos tarjetas a la misma altura */
.ld .two-col { align-items: stretch; gap: 20px; }
.ld .two-col > div:first-child,
.ld .info-side-box {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.ld .two-col > div:first-child p { color: var(--muted); font-size: 0.95rem; }
.ld .list-check li { font-size: 0.92rem; margin-bottom: 6px; }
.ld .doc-list { gap: 4px; }
.ld .doc-list a {
  padding: 9px 12px;
  border-radius: var(--radius-xs);
  font-size: 0.9rem;
  background: var(--paper-2);
  transition: background var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.ld .doc-list a:hover { background: var(--primary-soft); transform: translateX(3px); }

/* Garantía · Comisión · Condición: tarjetas con filete animado */
.ld .three-col-info { gap: 14px; }
.ld .info-box {
  position: relative;
  overflow: hidden;
  padding: 22px 22px 20px;
  border-radius: var(--radius-sm);
}
.ld .info-box::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform var(--dur-3) var(--ease-out);
}
.ld .info-box h3 { font-size: 1.08rem; margin-bottom: 6px; }
.ld .info-box p { font-size: 0.9rem; color: var(--muted); margin: 0; }
@media (hover: hover) and (pointer: fine) { .ld .info-box:hover::before { transform: scaleX(1); } }

/* Departamentos: ficha técnica y bloques de texto */
.ld .spec-grid { gap: 20px; align-items: stretch; }
.ld .spec-block { padding: 22px 24px; border-radius: var(--radius-sm); }
.ld .spec-block h3 { font-size: 1.08rem; margin-bottom: 10px; }
.ld .data-list li { padding: 7px 0; font-size: 0.9rem; }

/* Navegación entre lotes */
.ld .lot-nav { gap: 12px; }
.ld .lot-nav-link {
  border: 1px solid var(--line);
  box-shadow: none;
  padding: 14px 18px;
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.ld .lot-nav-link:hover { transform: translateY(-3px); box-shadow: var(--elev-2); border-color: var(--primary); }

/* --------- Móvil --------- */
@media (max-width: 899px) {
  .ld .section { padding: 22px 0; }
  .ld .notice-band { padding-top: 0; }
  .ld .notice { padding: 14px 16px; }
  .ld .notice h2 { font-size: 0.95rem; }
  .ld .notice p { font-size: 0.82rem; }
  .ld .section-head h2, .ld .two-col h2 { font-size: 1.3rem; }
  .ld .gallery-grid, .ld .gallery-grid.wide { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ld .gallery-item span { font-size: 0.7rem; }
  .ld .two-col { gap: 12px; }
  .ld .two-col > div:first-child, .ld .info-side-box { padding: 16px; }
  .ld .two-col > div:first-child p, .ld .list-check li { font-size: 0.84rem; }
  .ld .doc-list a { font-size: 0.8rem; padding: 8px 10px; }
  .ld .three-col-info { grid-template-columns: 1fr; gap: 10px; }
  .ld .info-box { padding: 14px 16px; }
  .ld .info-box h3 { font-size: 0.98rem; }
  .ld .info-box p { font-size: 0.82rem; }
  .ld .spec-grid { gap: 12px; }
  .ld .spec-block { padding: 16px; }
  .ld .data-list li { font-size: 0.8rem; padding: 6px 0; }
  .ld .lot-nav { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ld .lot-nav > span:empty { display: none; }
  .ld .lot-nav-link.back { grid-column: 1 / -1; order: -1; }
  .ld .lot-nav-link { padding: 10px 12px; }
  .ld .lot-nav-link strong { font-size: 0.82rem; }
  .ld-card .lt-card-img .rg-countdown-grid span { font-size: 1.05rem; }
  .ld-card .bs-summary-grid dd { font-size: 0.95rem; }
}
/* Galería: columnas según la cantidad de fotos, sin filas cojas. */
@media (min-width: 900px) {
  .ld .gallery-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ld .gallery-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ld .gallery-grid:has(> :nth-child(6):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ld .gallery-grid:has(> :nth-child(2):last-child) .gallery-item img { aspect-ratio: 16 / 9; }
  .ld .lot-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .ld .gallery-grid:has(> :nth-child(2):last-child) { grid-template-columns: 1fr 1fr; }
}
.ld .gallery-grid + .calc-note { margin-top: 12px !important; text-align: left !important; }
@media (min-width: 900px) {
  .ld .gallery-grid:has(> :nth-child(2):last-child) .gallery-item img { aspect-ratio: 21 / 9; }
  .ld .gallery-grid:has(> :nth-child(6):last-child) .gallery-item img { aspect-ratio: 16 / 10; }
}

/* Páginas de proyecto y catálogo de proyectos (.ld) */
.ld .wide-img {
  display: block;
  width: 100%;
  max-width: none;
  max-height: 340px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--elev-2);
}
.ld .lot-grid.photo-grid { gap: 14px; }
@media (min-width: 1100px) {
  .ld .lot-grid.photo-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .ld .photo-grid .lot-card-body { padding: 11px 13px 13px; }
  .ld .photo-grid .lot-card-body h3 { font-size: 0.98rem; margin: 2px 0 4px; }
  .ld .photo-grid .lot-card-body p { font-size: 0.8rem; margin: 0; }
}
.ld .ld-projects { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ld .ld-projects .project-card { padding: 0 0 16px; }
.ld .ld-projects .project-card > :not(.project-card-img) { margin-left: 16px; margin-right: 16px; }
.ld .ld-projects .project-card-img { aspect-ratio: 4 / 3; }
.ld .ld-projects h3 { font-size: 1.08rem; margin: 4px 16px 4px; }
.ld .ld-projects p { font-size: 0.86rem; }
#lotes-proyecto { scroll-margin-top: 90px; }
@media (max-width: 1099px) { .ld .ld-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .ld .wide-img { max-height: 220px; }
  .ld .lot-grid.photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ld .photo-grid .lot-card-body { padding: 8px 10px 10px; }
  .ld .photo-grid .lot-project { font-size: 0.58rem; }
  .ld .photo-grid .lot-card-body h3 { font-size: 0.9rem; margin: 1px 0 2px; }
  .ld .photo-grid .lot-card-body p { font-size: 0.7rem; line-height: 1.3; margin: 0; }
  .ld .ld-projects { gap: 10px; }
  .ld .ld-projects .project-card { padding-bottom: 12px; }
  .ld .ld-projects .project-card > :not(.project-card-img) { margin-left: 10px; margin-right: 10px; }
  .ld .ld-projects h3 { font-size: 0.95rem; margin: 2px 10px; }
  .ld .ld-projects p { font-size: 0.74rem; }
  .ld .ld-projects .project-label { font-size: 0.6rem; margin-top: 10px; }
  .ld .ld-projects .link-arrow { font-size: 0.76rem; }
  .ld .info-side-box ul li { font-size: 0.82rem; }
}
.ld .lot-grid + .calc-note, .ld .info-side-box .calc-note { max-width: none; margin: 12px 0 0; text-align: left; }
@media (max-width: 899px) { .ld .photo-grid .lot-card-img { aspect-ratio: 16 / 10; } }

/* Oportunidades anteriores, móvil: texto más compacto y centrado. */
@media (max-width: 899px) {
  .rg-prev .prev-body { padding: 7px 8px 9px; text-align: center; align-items: center; }
  .rg-prev .prev-proj { font-size: 0.54rem; letter-spacing: 0.06em; max-width: 100%; }
  .rg-prev .prev-body h3 { margin: 1px 0 5px; font-size: 0.84rem; }
  .rg-prev .prev-price { width: 100%; padding-top: 5px; }
  .rg-prev .prev-price small { font-size: 0.5rem; letter-spacing: 0.05em; }
  .rg-prev .prev-price strong { font-size: 0.98rem; }
  .rg-prev .prev-badge { top: 6px; left: 50%; transform: translateX(-50%); font-size: 0.52rem; }
}

/* Página 404 */
.nf-hero { padding: 72px 0 80px; background: var(--paper-2); text-align: center; }
.nf-inner { max-width: 720px; margin: 0 auto; }
.nf-code {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: clamp(5rem, 3rem + 8vw, 9rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--primary);
}
.nf .ab-kicker { margin: 10px 0 12px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.nf h1 { margin: 0 0 12px; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.nf-lead { margin: 0 auto 26px; max-width: 52ch; color: var(--muted); }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.nf-actions .btn-navy { border: 2px solid var(--primary); }
@media (max-width: 760px) {
  .nf-hero { padding: 40px 0 44px; }
  .nf-actions { display: grid; grid-template-columns: 1fr; }
  .nf-actions > * { width: 100%; justify-content: center; }
}
.btn-wa-pill { background: #1a7f45; }
.btn-wa-pill:hover { background: #146a39; }
.btn-wa { background: #1a7f45; }
.btn-wa:hover { background: #146a39; }

/* ==========================================================
   Guía "Cómo participar" (como-participar*.html) y resumen en la portada.
   Usa solo tokens del sitio (styles.css :root) y la paleta viva del popup.
   ========================================================== */

/* --- Base legible: texto ≥ 16px en toda la guía (anula los recortes móviles de .cp) --- */
.gp { font-size: 1rem; }
.gp p, .gp li { font-size: 1rem; line-height: 1.6; }
.gp .part-lead { font-size: 1.08rem; color: var(--ink); max-width: 62ch; }
.gp .sec-head p { font-size: 1rem; }
.gp .sec-head { margin-bottom: 8px; }

/* --- Portada de la guía --- */
.gp-hero { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.gp-hero .part-actions .btn { min-height: 48px; }
.gp-switch { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.gp-switch-link {
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  min-height: 56px; padding: 10px 18px;
  border: 2px solid var(--line); border-radius: var(--radius); background: var(--paper);
  color: var(--ink); text-decoration: none;
  transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.gp-switch-link span { font-weight: 800; font-size: 1rem; }
.gp-switch-link small { color: var(--muted); font-size: 0.85rem; }
.gp-switch-link:hover { border-color: var(--primary); transform: translateY(-1px); box-shadow: var(--elev-1); }
.gp-switch-link.is-current { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: var(--elev-2); }
.gp-switch-link.is-current small { color: var(--accent-on-dark); }
.gp-switch-link:focus-visible { outline: 3px solid var(--vivid-gold-2); outline-offset: 2px; }

/* --- Franja de cuenta regresiva --- */
.gp-clock { padding: 28px 0; color: #fff; background: linear-gradient(135deg, var(--vivid-navy) 0%, var(--primary) 100%); }
.gp-clock-grid { display: grid; gap: 14px; }
.gp-clock-card { padding: 18px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); }
.gp-clock-label { margin: 0 0 10px; color: var(--vivid-gold-1); font-size: 0.85rem !important; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.gp-cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gp-cd > div { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px 8px; background: #fff; border-radius: var(--radius); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2); }
.gp-cd span { color: var(--vivid-navy); font-family: var(--font-ui); font-size: 1.9rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.gp-cd small { color: var(--vivid-red-1); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.gp-clock-sub { margin: 10px 0 0; color: rgba(255, 255, 255, 0.9); }
.gp-clock-pending { margin: 0; font-size: 1.25rem !important; font-weight: 700; }
.gp-clock-facts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gp-clock-facts li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.gp-clock-facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.gp-clock-facts li span { color: rgba(255, 255, 255, 0.8); }
.gp-clock-facts li strong { text-align: right; }
.gp-tbc { font-style: italic; }
@media (min-width: 900px) { .gp-clock-grid { grid-template-columns: repeat(3, 1fr); } }

/* --- Camino de pasos: resumen (vertical en móvil, horizontal en escritorio) --- */
.gp-path { --gp-path-fill: 0%; position: relative; list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 4px; }
.gp-path::before, .gp-path::after { content: ""; position: absolute; left: 27px; top: 28px; width: 3px; border-radius: 3px; }
.gp-path::before { bottom: 28px; background: var(--line); }
.gp-path::after { height: calc((100% - 56px) * var(--gp-path-fill-n, 0)); background: linear-gradient(180deg, var(--vivid-gold-1), var(--vivid-gold-2)); transition: height var(--dur-3) var(--ease-out); }
.gp-path-item a {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 56px 1fr; grid-template-areas: "dot n" "dot t" "dot s"; column-gap: 16px; align-items: center;
  padding: 8px 0; color: var(--ink); text-decoration: none; border-radius: var(--radius);
}
.gp-path-item a:focus-visible { outline: 3px solid var(--vivid-gold-2); outline-offset: 4px; }
.gp-path-dot {
  grid-area: dot; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--line); color: var(--primary);
  transition: background var(--dur-3) var(--ease-out), border-color var(--dur-3) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.gp-path-dot .gp-ico { width: 26px; height: 26px; }
.gp-path-n { grid-area: n; color: var(--vivid-red-1); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.gp-path-t { grid-area: t; font-weight: 800; font-size: 1.05rem; line-height: 1.25; }
.gp-path-s { grid-area: s; color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
.gp-path-item a:hover .gp-path-dot { transform: translateY(-2px); border-color: var(--primary); }
.gp-path-item.is-reached .gp-path-dot { background: linear-gradient(180deg, var(--vivid-gold-1), var(--vivid-gold-2)); border-color: var(--vivid-gold-2); color: var(--vivid-navy); box-shadow: 0 6px 16px rgba(245, 167, 12, 0.35); }
@media (min-width: 1024px) {
  .gp-path { grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .gp-path::before, .gp-path::after { top: 27px; left: calc(100% / 12); height: 3px; width: auto; bottom: auto; }
  .gp-path::before { right: calc(100% / 12); }
  .gp-path::after { width: calc((100% - 100% / 6) * var(--gp-path-fill-n, 0)); transition: width var(--dur-3) var(--ease-out); }
  .gp-path-item a { grid-template-columns: 1fr; grid-template-areas: "dot" "n" "t" "s"; justify-items: center; text-align: center; row-gap: 6px; padding: 0 4px; }
}

/* En la guía, el resumen es solo de escritorio: en móvil la lista detallada ya es el camino vertical. */
@media (max-width: 1023px) { .gp .gp-path-nav { display: none; } }

/* --- Pasos en detalle (línea vertical que se llena con el scroll) --- */
.gp-steps-sec { padding: 52px 0 36px; background: var(--paper); }
.gp-steps { --gp-fill-n: 0; position: relative; list-style: none; margin: 36px auto 0; padding: 0; max-width: 880px; }
.gp-steps::before, .gp-steps::after { content: ""; position: absolute; left: 27px; top: 28px; width: 3px; border-radius: 3px; }
.gp-steps::before { bottom: 28px; background: var(--line); }
.gp-steps::after { height: calc((100% - 56px) * var(--gp-fill-n)); background: linear-gradient(180deg, var(--vivid-gold-1), var(--vivid-gold-2)); }
.gp-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding-bottom: 28px; scroll-margin-top: 110px; }
.gp-step:last-child { padding-bottom: 0; }
.gp-step-marker {
  position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--line); color: var(--primary);
  transition: background var(--dur-3) var(--ease-out), border-color var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
.gp-step-marker .gp-ico { width: 26px; height: 26px; }
.gp-step-num { position: absolute; right: -6px; bottom: -4px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 0.78rem; font-weight: 800; border: 2px solid var(--paper); }
.gp-step.is-reached .gp-step-marker { background: linear-gradient(180deg, var(--vivid-gold-1), var(--vivid-gold-2)); border-color: var(--vivid-gold-2); color: var(--vivid-navy); box-shadow: 0 6px 16px rgba(245, 167, 12, 0.35); }
.gp-step.is-reached .gp-step-num { background: var(--vivid-red-1); }
.gp-step-body { padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--elev-1); }
.gp-step-kicker { margin: 0 0 2px; color: var(--vivid-red-1); font-size: 0.82rem !important; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.gp-step-body h3 { margin: 0 0 10px; font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem); line-height: 1.25; }
.gp-step-body p { margin: 0 0 10px; color: var(--ink); }
.gp-step-body p:last-child { margin-bottom: 0; }
.gp-step-body a:not(.btn) { color: var(--primary); font-weight: 700; text-underline-offset: 3px; }
.gp-note, .gp-tip, .gp-warn { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: var(--radius); }
.gp-note svg, .gp-tip svg, .gp-warn svg { flex: none; width: 20px; height: 20px; margin-top: 3px; }
.gp-note { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.gp-tip { background: #fff8e8; border: 1px solid #ffe2a8; }
.gp-tip svg { color: var(--vivid-gold-2); }
.gp-warn { background: #fff2ee; border: 1px solid #ffd2c6; color: #8f2413; }
.gp-rule-mini { padding: 12px 14px; border-radius: var(--radius); background: var(--vivid-navy); color: #fff !important; }
.gp-step-body .gp-rule-mini a { color: var(--vivid-gold-1); }
.gp-step-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 12px !important; }
.gp-step-cta .btn { min-height: 48px; }
.gp-step-cta .btn-wa svg { width: 20px; height: 20px; }
.gp-after { display: grid; gap: 10px; }
.gp-after-card { padding: 14px 16px; border: 1px solid var(--line); border-left: 4px solid var(--primary); border-radius: var(--radius); background: var(--paper-2); }
.gp-after-card.is-win { border-left-color: var(--vivid-green-2); background: #f0fbf4; }
.gp-after-card h4 { margin: 0 0 4px; font-size: 1.05rem; }
@media (min-width: 640px) { .gp-after { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .gp-step { gap: 22px; } .gp-step-body { padding: 22px 26px; } }

/* --- Regla de la garantía + simulador --- */
.gp-sim-sec { padding: 56px 0; background: var(--paper-2); border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.gp-sim-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1024px) { .gp-sim-grid { grid-template-columns: 5fr 7fr; gap: 40px; } }
.gp-rule h2 { margin: 6px 0 16px; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); line-height: 1.15; }
.gp-rule-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.gp-rule-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.05rem; }
.gp-rule-list svg, .gp-check-box svg, .gp-pick-box svg { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--vivid-green-1), var(--vivid-green-2)); box-shadow: 0 3px 8px rgba(18, 153, 74, 0.3); }
.gp-sim { padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--elev-3); }
.gp-sim-head h3 { margin: 0 0 6px; font-size: 1.3rem; }
.gp-sim-fallback { margin: 0 0 14px; color: var(--muted); }
.gp-sim.is-live .gp-sim-fallback { display: none; }
.gp-sim-q { margin: 0 0 10px; font-weight: 800; font-size: 1.08rem; text-align: center; }
.gp-stepper-row { display: flex; align-items: center; justify-content: center; gap: 18px; }
.gp-stepper-btn {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--primary); background: var(--paper); color: var(--primary); cursor: pointer;
  transition: background var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out);
}
.gp-stepper-btn svg { width: 22px; height: 22px; }
.gp-stepper-btn:hover:not(:disabled) { background: var(--primary-soft); }
.gp-stepper-btn:active:not(:disabled) { transform: scale(0.94); }
.gp-stepper-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.gp-stepper-btn:focus-visible { outline: 3px solid var(--vivid-gold-2); outline-offset: 2px; }
.gp-stepper-value { min-width: 3ch; color: var(--vivid-navy); font-size: 2.8rem; font-weight: 800; line-height: 1; text-align: center; font-variant-numeric: tabular-nums; }
.gp-sim-result { margin: 18px 0 16px; padding: 16px 18px; text-align: center; color: #fff; border-radius: var(--radius); background: linear-gradient(135deg, var(--vivid-navy), var(--primary)); }
.gp-sim-label { margin: 0; color: var(--vivid-gold-1); font-size: 0.85rem !important; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.gp-sim-total { margin: 2px 0 4px; font-size: clamp(2rem, 1.6rem + 1.6vw, 2.6rem) !important; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.gp-sim-sub { margin: 0; color: rgba(255, 255, 255, 0.92); }
.gp-sim-pick { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
.gp-sim-pick legend { margin: 0 0 10px; padding: 0; font-weight: 800; font-size: 1.08rem; }
.gp-pick, .gp-check { position: relative; display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 12px 16px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--paper); cursor: pointer; transition: border-color var(--dur-2) var(--ease-out), background var(--dur-2) var(--ease-out); }
.gp-pick input, .gp-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gp-pick-box, .gp-check-box { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--paper); }
.gp-pick-box svg, .gp-check-box svg { width: 28px; height: 28px; opacity: 0; transform: scale(0.6); transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out); }
.gp-pick input:checked + .gp-pick-box, .gp-check input:checked + .gp-check-box { border-color: transparent; }
.gp-pick input:checked + .gp-pick-box svg, .gp-check input:checked + .gp-check-box svg { opacity: 1; transform: none; }
.gp-pick input:focus-visible + .gp-pick-box, .gp-check input:focus-visible + .gp-check-box { outline: 3px solid var(--vivid-gold-2); outline-offset: 2px; }
.gp-pick:has(input:checked), .gp-check:has(input:checked) { border-color: var(--vivid-green-2); background: #f0fbf4; }
.gp-pick-name { flex: 1; font-weight: 700; }
.gp-pick-amount { color: var(--vivid-navy); font-weight: 800; white-space: nowrap; }
.gp-lots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.gp-lot { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; text-align: center; border: 2px dashed var(--line-strong); border-radius: var(--radius); background: var(--paper); transition: background var(--dur-3) var(--ease-out), border-color var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out); }
.gp-lot-name { font-weight: 800; font-size: 0.95rem !important; color: var(--ink); }
.gp-lot-state { color: var(--muted); font-size: 0.85rem !important; line-height: 1.3; }
.gp-lot.is-win { border-style: solid; border-color: var(--vivid-gold-2); background: linear-gradient(180deg, var(--vivid-gold-1), var(--vivid-gold-2)); transform: translateY(-2px); box-shadow: 0 6px 14px rgba(245, 167, 12, 0.3); }
.gp-lot.is-win .gp-lot-name, .gp-lot.is-win .gp-lot-state { color: var(--vivid-gold-ink); font-weight: 800; }
.gp-lot.is-locked { opacity: 0.6; border-style: dotted; }
.gp-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 12px 0 0; color: var(--muted); font-size: 0.92rem !important; }
.gp-legend span { display: inline-flex; align-items: center; gap: 8px; }
.gp-legend span::before { content: ""; width: 16px; height: 16px; border-radius: 4px; }
.gp-legend-win::before { background: linear-gradient(180deg, var(--vivid-gold-1), var(--vivid-gold-2)); }
.gp-legend-bid::before { border: 2px dashed var(--line-strong); }
.gp-sim-cta { margin: 18px 0 0; text-align: center; }
.gp-sim-cta .btn { min-height: 52px; width: 100%; max-width: 360px; justify-content: center; }

/* --- Checklist "¿Estoy listo?" --- */
.gp-ready-sec { padding: 56px 0; background: var(--paper); }
.gp-ready { position: relative; overflow: hidden; max-width: 780px; margin: 0 auto; padding: 26px; border: 1px solid var(--line); border-top: 5px solid var(--vivid-gold-2); border-radius: var(--radius); background: var(--card); box-shadow: var(--elev-2); }
.gp-ready-head h2 { margin: 0 0 4px; font-size: clamp(1.45rem, 1.15rem + 1vw, 1.9rem); }
.gp-ready-count { margin: 0 0 12px; color: var(--muted); }
.gp-ready-bar { height: 10px; margin-bottom: 18px; border-radius: 999px; background: var(--paper-3); overflow: hidden; }
.gp-ready-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--vivid-green-1), var(--vivid-green-2)); transition: width var(--dur-3) var(--ease-out); }
.gp-ready-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gp-check { font-size: 1.05rem; font-weight: 600; }
.gp-ready-done { position: relative; display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 16px 18px; border: 2px solid var(--vivid-green-2); border-radius: var(--radius); background: #f0fbf4; }
.gp-ready-done[hidden] { display: none; }
.gp-ready-done p { margin: 0; font-size: 1.1rem; }
.gp-gavel { flex: none; width: 44px; height: 44px; color: var(--vivid-navy); transform-origin: 70% 70%; }
.gp-ready.is-celebrating .gp-gavel { animation: gp-gavel-hit 0.7s var(--ease-out) 2; }
@keyframes gp-gavel-hit { 0% { transform: rotate(0); } 40% { transform: rotate(-28deg); } 70% { transform: rotate(6deg); } 100% { transform: rotate(0); } }
.gp-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.gp-confetti i { position: absolute; top: -12px; width: 8px; height: 12px; border-radius: 2px; opacity: 0; }
.gp-confetti i:nth-child(3n) { background: var(--vivid-gold-2); }
.gp-confetti i:nth-child(3n + 1) { background: var(--primary); }
.gp-confetti i:nth-child(3n + 2) { background: var(--vivid-red-1); }
.gp-confetti i:nth-child(1) { left: 6%; } .gp-confetti i:nth-child(2) { left: 14%; animation-delay: 80ms !important; }
.gp-confetti i:nth-child(3) { left: 23%; animation-delay: 160ms !important; } .gp-confetti i:nth-child(4) { left: 31%; animation-delay: 40ms !important; }
.gp-confetti i:nth-child(5) { left: 40%; animation-delay: 200ms !important; } .gp-confetti i:nth-child(6) { left: 48%; animation-delay: 120ms !important; }
.gp-confetti i:nth-child(7) { left: 57%; animation-delay: 60ms !important; } .gp-confetti i:nth-child(8) { left: 65%; animation-delay: 180ms !important; }
.gp-confetti i:nth-child(9) { left: 73%; animation-delay: 100ms !important; } .gp-confetti i:nth-child(10) { left: 81%; animation-delay: 220ms !important; }
.gp-confetti i:nth-child(11) { left: 88%; animation-delay: 20ms !important; } .gp-confetti i:nth-child(12) { left: 95%; animation-delay: 140ms !important; }
.gp-ready.is-celebrating .gp-confetti i { animation: gp-confetti 1.4s var(--ease-out) forwards; }
@keyframes gp-confetti { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(110px) rotate(260deg); } }

/* --- Preguntas frecuentes --- */
.gp-faq .faq-list { max-width: 880px; margin: 8px auto 0; }
.gp-faq .faq-question { min-height: 56px; align-items: center; gap: 16px; font-size: 1.06rem; color: var(--ink); }
.gp-faq .faq-question:focus-visible { outline: 3px solid var(--vivid-gold-2); outline-offset: 2px; }
.gp-faq .faq-question::after { color: var(--vivid-red-1); font-weight: 800; }
.gp-faq .faq-item.active .faq-answer { max-height: 640px; }
.gp-faq .faq-answer p { font-size: 1rem; color: var(--ink); }
/* Sin JavaScript, las respuestas quedan abiertas */
.gp-faq:not(.is-enhanced) .faq-answer { max-height: none; opacity: 1; padding-bottom: 16px; }
.gp-faq:not(.is-enhanced) .faq-question::after { content: none; }

.gp .info-side-box p, .gp .part-wa p { font-size: 1rem; }

/* --- Barra fija de acciones (móvil) --- */
.gp-sticky { display: none; }
@media (max-width: 768px) {
  .gp-sticky {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr 52px; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(7, 19, 34, 0.12);
  }
  .gp-sticky .btn { min-height: 48px; padding: 0 8px; justify-content: center; font-size: 0.95rem; white-space: nowrap; }
  .gp-sticky-wa { display: grid; place-items: center; min-height: 48px; border-radius: var(--radius); background: #1a7f45; color: #fff; }
  .gp-sticky-wa svg { width: 26px; height: 26px; }
  .gp-page { padding-bottom: 78px; }
  .gp-page .wa-float { display: none; }
  .gp-page .back-to-top { bottom: 90px; }

  .gp .part-actions { display: grid; grid-template-columns: 1fr; }
  .gp .part-actions > * { height: auto; min-height: 48px; font-size: 1rem; white-space: normal; }
  .cp.gp .part-actions .btn-wa span { font-size: 1rem; }
  .cp.gp .part-actions .btn-wa span::after { content: none; }
  .cp.gp .part-lead { font-size: 1.05rem; }
  .cp.gp .sec-head p, .cp.gp .info-side-box p, .cp.gp .part-wa p { font-size: 1rem; }
  .gp-steps-sec, .gp-sim-sec, .gp-ready-sec { padding: 36px 0; }
  .gp-sim, .gp-ready { padding: 18px; }
  .gp-cd span { font-size: 1.6rem; }
}

/* --- Resumen de pasos en la portada --- */
.gp-home { padding: 48px 0; background: var(--paper-2); border-top: 1px solid var(--line); }
.gp-home .sec-head p { font-size: 1rem; }
.gp-home-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.gp-home-actions .btn { min-height: 48px; }

/* --- Movimiento reducido: sin animaciones --- */
@media (prefers-reduced-motion: reduce) {
  .gp-path::after, .gp-steps::after, .gp-path-dot, .gp-step-marker, .gp-lot, .gp-ready-bar span, .gp-switch-link, .gp-stepper-btn, .gp-pick-box svg, .gp-check-box svg { transition: none !important; }
  .gp-ready.is-celebrating .gp-gavel, .gp-ready.is-celebrating .gp-confetti i { animation: none !important; }
  .gp-lot.is-win, .gp-switch-link:hover, .gp-path-item a:hover .gp-path-dot { transform: none; }
}

/* Ajustes: contraste del total, botones dentro de párrafos sin subrayado, aire en el acordeón */
.gp .gp-sim-total { color: #fff !important; opacity: 1; }
.gp p a.btn, .gp-home a.btn { text-decoration: none; }
.gp p a.btn-navy, .gp-home a.btn-navy { color: #fff; }
.gp p a.btn[href*="garantias.rematesgibert.cl"], .gp p a.btn[href$="registro.html"] { color: var(--vivid-gold-ink); }
.gp p a.btn-secondary { color: var(--ink); }
.gp-faq .faq-question { padding: 14px 16px; text-align: left; }
.gp-faq .faq-answer { padding-left: 16px; padding-right: 16px; }
.gp-sim-grid > * { min-width: 0; }
.gp-pick { flex-wrap: wrap; }
.gp-pick-amount { white-space: normal; }
.gp .gp-clock p, .gp .gp-clock li span { color: rgba(255, 255, 255, 0.9); }
.gp .gp-clock .gp-clock-label { color: var(--vivid-gold-1); }
.gp .gp-clock .gp-clock-pending { color: #fff; }
@media (max-width: 768px) { .gp-page .cookie-bar { bottom: 84px; } }
.gp .btn, .gp-home .btn { font-size: 1rem; }
.gp .gp-legend { font-size: 1rem !important; }

/* --- Inscripción al remate (formulario GHL) --- */
.gp-insc-sec { padding: 56px 0; background: linear-gradient(135deg, var(--vivid-navy) 0%, var(--primary) 100%); color: #fff; scroll-margin-top: 96px; }
.gp-insc-grid { display: grid; gap: 28px; align-items: start; }
.gp-insc-copy .eyebrow { color: var(--vivid-gold-1); }
.gp-insc-copy h2 { margin: 6px 0 12px; color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); line-height: 1.15; }
.gp-insc-copy p { color: rgba(255, 255, 255, 0.92); }
.gp-insc-copy .gp-rule-list { margin-top: 18px; }
.gp-insc-copy .gp-rule-list li { color: #fff; }
.gp-insc-copy a { color: var(--vivid-gold-1); font-weight: 700; text-underline-offset: 3px; }
.gp-insc-form { min-height: 0; padding: 10px; background: #fff; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3); }
@media (min-width: 1024px) { .gp-insc-grid { grid-template-columns: 5fr 7fr; gap: 40px; } .gp-insc-copy { position: sticky; top: 120px; } }
@media (max-width: 768px) { .gp-insc-sec { padding: 36px 0; } .gp-insc-form { padding: 6px; } }

/* Franja de la portada: "Inscribirme" sobre "Consignar garantía", mismo ancho y estilo */
.rg-band-grid > .rg-band-cta { flex-direction: column; align-items: stretch; justify-content: center; gap: 12px; }
.rg-band-cta .btn { width: 100%; justify-content: center; text-align: center; }
html body .rg-band-cta .btn.rg-band-insc {
  background: linear-gradient(180deg, var(--vivid-gold-1) 0%, var(--vivid-gold-2) 100%);
  color: var(--vivid-gold-ink);
  border-color: transparent;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(245, 167, 12, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* Portada: cada lote con su botón «Consignar garantía» (remate N° 505).
   La fila sigue siendo un enlace a la ficha; el botón va al lado, fuera del
   enlace (no se anidan enlaces). El borde pasa de la fila al contenedor. */
.lote-item { display: flex; align-items: center; gap: 10px 20px; border-bottom: 1px solid var(--line); }
.lote-list .lote-item:last-child { border-bottom: 0; }
.lote-list .lote-item .lote-row { flex: 1 1 auto; min-width: 0; border-bottom: 0; }
.lote-item .lote-cta { flex: 0 0 auto; padding: 10px 18px; font-size: 0.86rem; white-space: nowrap; }
@media (min-width: 900px) {
  .lote-item .lote-row { grid-template-columns: 96px 64px minmax(0, 20ch) 112px 200px minmax(0, 1fr); }
}
@media (max-width: 899px) {
  .lote-item { flex-wrap: wrap; padding-bottom: 12px; }
  .lote-list .lote-item .lote-row { flex-basis: 100%; }
  .lote-item .lote-cta { flex: 1 1 100%; text-align: center; padding: 9px 12px; font-size: 0.82rem; }
}

/* =====================================================================
   Remates de la portada (departamentos y terreno): ficha compacta, para
   que dos remates quepan casi en una misma pantalla, y los tres botones
   (ver ficha, consignar garantía, WhatsApp) del mismo ancho y alto en una
   sola fila.
   ===================================================================== */
.rg-depto .rg-hero-cta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rg-depto .rg-hero-cta > a {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: normal;
  border-radius: var(--radius-xs);
}
.rg-depto .rg-hero-cta .btn-wa-pill svg { width: 18px; height: 18px; flex: none; }
.rg-depto .cta-s { display: none; }
.rg-depto .btn-wa-pill .cta-l { display: none; }
.rg-depto .btn-wa-pill .cta-s { display: inline; }

@media (min-width: 1000px) {
  .rg-depto-inner { padding: 20px 0; }
  .rg-depto-id { margin-bottom: 8px; }
  .rg-depto h2 { font-size: clamp(1.4rem, 1.05rem + 0.8vw, 1.8rem); max-width: none; margin-bottom: 6px; }
  .rg-depto-lead { font-size: 0.9rem; line-height: 1.45; max-width: none; margin-bottom: 10px; }
  .rg-depto-specs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; margin-bottom: 14px; }
  .rg-depto-specs li { flex-direction: column; align-items: flex-start; gap: 0; padding: 4px 0; font-size: 0.84rem; line-height: 1.35; }
  .rg-depto-specs span { font-size: 0.74rem; }
  .rg-depto-specs strong { text-align: left; }
}

@media (max-width: 999px) {
  .rg-depto-shot { min-height: 30vh; }
  .rg-depto-copy { padding: 20px var(--gutter) 24px; }
  .rg-depto-id { margin-bottom: 8px; }
  .rg-depto h2 { font-size: 1.45rem; max-width: none; margin-bottom: 6px; }
  .rg-depto-lead { font-size: 0.9rem; margin-bottom: 10px; }
  .rg-depto-specs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; margin-bottom: 14px; }
  .rg-depto-specs li { flex-direction: column; align-items: flex-start; gap: 1px; padding: 5px 0; font-size: 0.82rem; }
  .rg-depto-specs strong { text-align: left; }
}

/* Teléfono: etiquetas cortas para que los tres botones entren en una fila. */
@media (max-width: 760px) {
  .rg-depto .rg-hero-cta { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .rg-depto .rg-hero-cta > a { height: 46px; padding: 0 6px; font-size: 0.8rem; gap: 6px; }
  .rg-depto .cta-l { display: none; }
  .rg-depto .cta-s { display: inline; }
  .rg-depto .rg-hero-cta .btn-wa-pill svg { width: 16px; height: 16px; }
  .rg-depto-shot { min-height: 26vh; }
  .rg-depto-copy { padding: 16px var(--gutter) 20px; }
  .rg-depto-id .kicker { display: none; }
  .rg-depto h2 { font-size: 1.25rem; }
  .rg-depto-lead { font-size: 0.86rem; line-height: 1.45; }
  .rg-depto-specs li { font-size: 0.8rem; padding: 4px 0; }
  .rg-depto-specs span { font-size: 0.72rem; }
}

/* =====================================================================
   Primer viewport compacto: la presentación del remate 505 y la franja de
   condiciones (con «Inscribirme» y «Consignar garantía») caben juntas en
   una pantalla. «Ver los seis lotes» y «Cómo participar» del mismo ancho.
   ===================================================================== */
.rg-hero .rg-hero-cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rg-hero .rg-hero-cta .btn { box-sizing: border-box; width: 100%; height: 48px; padding: 0 12px; justify-content: center; text-align: center; }

@media (min-width: 1000px) {
  .rg-hero { padding-top: 14px; }
  .rg-hero-inner { min-height: 0; }
  .rg-hero-copy { padding: 12px 0 14px; }
  .rg-hero-id { margin-bottom: 10px; padding-bottom: 6px; }
  .rg-hero-label { font-size: 0.82rem; }
  .rg-hero h1, .rg-hero .rg-hero-title { font-size: clamp(1.9rem, 1.3rem + 1.3vw, 2.5rem); line-height: 1.06; max-width: 18ch; margin-bottom: 8px; }
  .rg-hero-lead { font-size: 0.9rem; line-height: 1.5; margin-bottom: 12px; }
  .rg-hero-data { padding-top: 10px; margin-bottom: 14px; gap: 10px 0; }
  .rg-hero .datum-value { font-size: 1rem; }

  .rg-band { padding: 12px 0; }
  .rg-band-grid > div { padding-top: 10px; padding-bottom: 10px; }
  .rg-band-grid .num-display { font-size: clamp(1.8rem, 1.3rem + 1.2vw, 2.4rem); margin-bottom: 4px; }
  .rg-band-grid strong { margin-bottom: 2px; }
  .rg-band-grid p { font-size: 0.82rem; line-height: 1.4; }
  .rg-band-cta .btn { padding-top: 10px; padding-bottom: 10px; }
  .rg-band-grid > .rg-band-cta { gap: 8px; }
}

@media (max-width: 999px) {
  .rg-hero-shot { min-height: 30vh; margin-bottom: 14px; }
  .rg-hero-id { margin-top: 16px; margin-bottom: 10px; }
  .rg-hero h1, .rg-hero .rg-hero-title { font-size: 1.75rem; margin-bottom: 8px; }
  .rg-hero-lead { font-size: 0.88rem; margin-bottom: 12px; }
  .rg-hero-data { gap: 10px 0; padding-top: 10px; margin-bottom: 14px; }
  .rg-hero-cta { margin-bottom: 20px; }
  .rg-band { padding: 10px 0 14px; }
  .rg-band-grid > div { padding-top: 10px; padding-bottom: 10px; }
  .rg-band-grid .num-display { font-size: 1.7rem; margin-bottom: 2px; }
  .rg-band-grid p { font-size: 0.8rem; line-height: 1.4; }
  .rg-band-cta .btn { padding-top: 10px; padding-bottom: 10px; }
}

/* Encabezado azul del remate 26 de noviembre: un solo «Consignar garantía»
   para todos los lotes, junto al título. */
.sec-head-cta .btn { justify-self: start; white-space: nowrap; padding: 12px 26px; }
@media (min-width: 860px) {
  .sec-head.sec-head-cta { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; column-gap: 28px; }
}
@media (max-width: 859px) {
  .sec-head-cta .btn { justify-self: stretch; }
}

/* Departamentos y terreno: sin WhatsApp; los dos botones reparten el ancho
   de la columna en partes iguales. */
.rg-depto .rg-hero-cta,
.rg-depto .rg-hero-cta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rg-depto .cta-l { display: inline; }
.rg-depto .cta-s { display: none; }

/* Móvil y tableta: «Inscribirme» y «Consignar garantía» lado a lado, a todo
   el ancho de la franja, bajo las tres cifras. */
@media (max-width: 899px) {
  html body .rg-band-grid > .rg-band-cta { grid-column: 1 / -1; flex-direction: row; gap: 10px; border-left: 0; padding-left: 0; padding-right: 0; border-bottom: 0; }
  .rg-band-cta .btn { flex: 1 1 0; min-width: 0; padding-left: 8px; padding-right: 8px; white-space: nowrap; font-size: 0.88rem; }
}

/* Portada: barras azules de título de cada remate más bajas y compactas. */
main.rg:not(.about):not(.contact) .rg-lotes-head.rg-head-boxed { padding: 14px 0; }
main.rg:not(.about):not(.contact) .rg-head-boxed .sec-head { padding: 12px 24px; gap: 6px 28px; align-items: center; }
main.rg:not(.about):not(.contact) .rg-head-boxed .sec-head h2 { font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem); }
main.rg:not(.about):not(.contact) .rg-head-boxed .sec-head p { font-size: 0.84rem; line-height: 1.4; }
main.rg:not(.about):not(.contact) .rg-head-boxed .sec-head-cta .btn { padding: 9px 20px; font-size: 0.88rem; }
@media (max-width: 760px) {
  main.rg:not(.about):not(.contact) .rg-lotes-head.rg-head-boxed { padding: 10px 0; }
  main.rg:not(.about):not(.contact) .rg-head-boxed .sec-head { padding: 12px 14px; }
  main.rg:not(.about):not(.contact) .rg-head-boxed .sec-head h2 { font-size: 1.2rem; }
  main.rg:not(.about):not(.contact) .rg-head-boxed .sec-head p { font-size: 0.8rem; }
}

/* =====================================================================
   Portada · «¿Tienes un activo que quieres rematar?»: tarjeta azul con
   el llamado a la izquierda y, a la derecha, qué rematamos y cómo.
   ===================================================================== */
.rg-sell { padding: 48px 0 56px; background: var(--paper); }
.rg-sell-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 32px;
  padding: 40px 44px;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(245, 167, 12, 0.18) 0%, rgba(245, 167, 12, 0) 45%),
    linear-gradient(135deg, #1f3a5f 0%, #142a47 60%, #0f2140 100%);
  box-shadow: 0 24px 60px rgba(15, 33, 64, 0.28);
}
.rg-sell-card::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 40px rgba(255, 255, 255, 0.025), 0 0 0 80px rgba(255, 255, 255, 0.02);
  pointer-events: none;
}
@media (min-width: 960px) { .rg-sell-card { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; } }

.rg-sell-kicker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 12px 5px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1b1405;
  background: linear-gradient(180deg, var(--vivid-gold-1, #ffc83d) 0%, var(--vivid-gold-2, #f5a70c) 100%);
  border-radius: 6px;
}
.rg-sell h2 { margin: 0 0 14px; color: #fff; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.1; max-width: 18ch; }
.rg-sell-copy { margin: 0 0 24px; color: rgba(255, 255, 255, 0.82); font-size: 1rem; line-height: 1.6; max-width: 46ch; }

.rg-sell-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 460px; }
.rg-sell-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 16px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s var(--ease, ease), box-shadow 0.2s var(--ease, ease), background 0.2s var(--ease, ease);
}
.rg-sell-btn-main {
  color: #1b1405;
  background: linear-gradient(180deg, var(--vivid-gold-1, #ffc83d) 0%, var(--vivid-gold-2, #f5a70c) 100%);
  box-shadow: 0 10px 24px rgba(245, 167, 12, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.rg-sell-btn-main:hover { color: #1b1405; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(245, 167, 12, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.rg-sell-btn-alt { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.04); }
.rg-sell-btn-alt:hover { color: #fff; background: rgba(255, 255, 255, 0.12); border-color: #fff; transform: translateY(-2px); }

.rg-sell-fine { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: 0.84rem; color: rgba(255, 255, 255, 0.7); }
.rg-sell-fine svg { width: 18px; height: 18px; flex: none; color: var(--vivid-gold-1, #ffc83d); }

.rg-sell-side { position: relative; z-index: 1; display: grid; gap: 18px; }
.rg-sell-assets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rg-sell-assets li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s var(--ease, ease), border-color 0.2s var(--ease, ease);
}
.rg-sell-assets li:hover { background: rgba(255, 255, 255, 0.11); border-color: rgba(255, 200, 61, 0.45); }
.rg-sell-assets svg {
  width: 40px;
  height: 40px;
  flex: none;
  padding: 8px;
  border-radius: 10px;
  color: var(--vivid-gold-1, #ffc83d);
  background: rgba(245, 167, 12, 0.14);
}
.rg-sell-steps { list-style: none; margin: 0; padding: 14px 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; border-radius: 12px; background: rgba(0, 0, 0, 0.18); }
.rg-sell-steps li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.82rem; line-height: 1.35; color: rgba(255, 255, 255, 0.85); }
.rg-sell-steps b {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  font-size: 0.8rem;
  color: #1b1405;
  background: var(--vivid-gold-1, #ffc83d);
}
@media (prefers-reduced-motion: reduce) { .rg-sell-btn, .rg-sell-assets li { transition: none; } .rg-sell-btn:hover { transform: none; } }

@media (max-width: 760px) {
  .rg-sell { padding: 28px 0 32px; }
  .rg-sell-card { padding: 26px 20px; border-radius: 14px; gap: 22px; }
  .rg-sell h2 { font-size: 1.5rem; }
  .rg-sell-copy { font-size: 0.9rem; margin-bottom: 18px; }
  .rg-sell-btn { height: 46px; font-size: 0.86rem; padding: 0 10px; }
  .rg-sell-assets li { padding: 12px; gap: 10px; font-size: 0.84rem; }
  .rg-sell-assets svg { width: 34px; height: 34px; padding: 7px; }
  .rg-sell-steps { grid-template-columns: 1fr; padding: 12px 14px; }
}

/* =====================================================================
   Ficha de cada lote (lote-01 … lote-06): más compacta, ordenada y
   simétrica. Solo aplica a <main class="… ld-lote">.
   ===================================================================== */
.ld-lote .section { padding: 26px 0; }
.ld-lote .breadcrumbs .container { padding-top: 8px; padding-bottom: 8px; }

/* Portada: dos columnas iguales, texto + datos a la izquierda, foto a la derecha */
.ld-lote .ld-hero { padding: 26px 0 18px; }
.ld-lote .ld-hero .ab-hero-grid { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: center; }
@media (min-width: 980px) { .ld-lote .ld-hero .ab-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; } }
.ld-lote .ld-hero .ab-kicker { margin-bottom: 8px; }
.ld-lote .ld-hero h1 { font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.08; margin: 0 0 10px; }
.ld-lote .ld-hero .ab-lead { font-size: 0.95rem; line-height: 1.5; margin: 0 0 18px; max-width: 46ch; }
.ld-lote .ld-hero .ab-hero-cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 440px; }
.ld-lote .ld-hero .ab-hero-cta .btn { box-sizing: border-box; width: 100%; height: 48px; padding: 0 12px; justify-content: center; text-align: center; }
.ld-lote .ld-card { border-radius: 14px; overflow: hidden; }
.ld-lote .ld-hero .lt-card-img { aspect-ratio: 16 / 9; }
.ld-lote .bs-summary-grid > div { padding: 10px 14px; }
.ld-lote .bs-summary-grid dd { font-size: 1.02rem; }

/* Aviso del remate: una franja breve */
.ld-lote .notice-band { padding: 0 0 6px; }
.ld-lote .notice { padding: 14px 20px; border-radius: 10px; }
.ld-lote .notice h2 { font-size: 0.98rem; margin: 0 0 4px; }
.ld-lote .notice p { font-size: 0.86rem; line-height: 1.5; margin: 0; }
.ld-lote .notice p + p { margin-top: 4px; }

/* Galería: todas las imágenes del mismo alto; con dos fotos, dos columnas */
.ld-lote .section-head.narrow { display: flex; align-items: baseline; gap: 14px; margin: 0 0 14px; }
.ld-lote .section-head .eyebrow { margin: 0; }
.ld-lote .section-head h2 { font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem); margin: 0; }
.ld-lote .gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ld-lote .gallery-grid:has(> .gallery-item:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ld-lote .gallery-item { height: 210px; border-radius: 10px; overflow: hidden; }
.ld-lote .gallery-item img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }

/* Ubicación y documentación: dos tarjetas iguales, mismo alto */
.ld-lote .two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.ld-lote .two-col > div { box-sizing: border-box; height: 100%; margin: 0; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: none; }
.ld-lote .two-col .eyebrow { margin: 0 0 6px; }
.ld-lote .two-col h2 { font-size: 1.35rem; margin: 0 0 8px; }
.ld-lote .two-col h3 { font-size: 1.05rem; margin: 0 0 12px; }
.ld-lote .two-col p { font-size: 0.88rem; line-height: 1.5; margin: 0 0 10px; }
.ld-lote .list-check { margin: 0 0 14px; }
.ld-lote .list-check li { font-size: 0.86rem; padding-top: 3px; padding-bottom: 3px; margin: 0; }
.ld-lote .two-col .btn { height: 44px; padding: 0 18px; font-size: 0.88rem; }
.ld-lote .doc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 10px; }
.ld-lote .doc-list li { margin: 0; }
.ld-lote .doc-list a { display: flex; align-items: center; height: 100%; box-sizing: border-box; padding: 9px 12px; font-size: 0.8rem; line-height: 1.3; border-radius: 8px; }
.ld-lote .two-col .calc-note { font-size: 0.78rem; margin: 0; color: var(--muted); }

/* Garantía · Comisión · Condición de venta: tres tarjetas iguales */
.ld-lote .three-col-info { gap: 16px; }
.ld-lote .info-box { padding: 16px 18px; border-radius: 12px; }
.ld-lote .info-box h3 { font-size: 1rem; margin: 0 0 6px; }
.ld-lote .info-box p { font-size: 0.84rem; line-height: 1.5; margin: 0; }
.ld-lote .section:has(> .three-col-info) { padding-top: 0; }

/* Navegación entre lotes: tres casillas del mismo ancho y alto */
.ld-lote .lot-nav-section { padding: 16px 0; }
.ld-lote .lot-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ld-lote .lot-nav-link { padding: 10px 16px; min-height: 58px; box-sizing: border-box; border-radius: 10px; }

/* Llamado final: texto a la izquierda, botones a la derecha */
.ld-lote .ld-cta { padding: 26px 0; }
.ld-lote .ld-cta .part-wa-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.ld-lote .ld-cta h2 { font-size: clamp(1.2rem, 1rem + 0.7vw, 1.5rem); margin: 0 0 4px; }
.ld-lote .ld-cta p { font-size: 0.9rem; margin: 0; }
.ld-lote .ld-cta .ab-cta-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.ld-lote .ld-cta .ab-cta-actions > a { box-sizing: border-box; height: 48px; padding: 0 18px; justify-content: center; border-radius: 10px; white-space: nowrap; }

@media (max-width: 979px) {
  .ld-lote .two-col { grid-template-columns: 1fr; }
  .ld-lote .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ld-lote .gallery-item { height: 170px; }
}
@media (max-width: 760px) {
  .ld-lote .section { padding: 18px 0; }
  .ld-lote .ld-hero { padding: 18px 0 12px; }
  .ld-lote .ld-hero h1 { font-size: 1.7rem; }
  .ld-lote .ld-hero .ab-lead { font-size: 0.88rem; margin-bottom: 14px; }
  .ld-lote .ld-hero .ab-hero-cta { max-width: none; }
  .ld-lote .gallery-item { height: 130px; }
  .ld-lote .gallery-grid { gap: 8px; }
  .ld-lote .two-col > div { padding: 16px; }
  .ld-lote .doc-list { grid-template-columns: 1fr; gap: 6px; }
  .ld-lote .three-col-info { grid-template-columns: 1fr; gap: 10px; }
  .ld-lote .lot-nav { grid-template-columns: 1fr 1fr; }
  .ld-lote .ld-cta .part-wa-inner { display: block; }
  .ld-lote .ld-cta .ab-cta-actions { margin-top: 14px; }
  .ld-lote .ld-cta .ab-cta-actions > a { padding: 0 8px; font-size: 0.84rem; }
}

/* Ficha de lote · ajustes de simetría */
main.ld-lote .gallery-grid,
main.ld-lote .gallery-grid.wide { max-width: none; width: 100%; margin: 0; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
main.ld-lote .gallery-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
main.ld-lote .gallery-item { aspect-ratio: auto; }
main.ld-lote .gallery-grid .gallery-item img { aspect-ratio: auto; height: 100%; }

/* Fondo blanco parejo: las secciones se distinguen por sus tarjetas */
main.ld-lote .section,
main.ld-lote .section.alt-bg { background: transparent; padding: 12px 0; }
main.ld-lote .notice-band { padding: 4px 0 8px; }
main.ld-lote .lot-nav-section { padding: 12px 0 28px; }

/* Portada: foto algo más baja, columnas centradas entre sí */
@media (min-width: 980px) {
  main.ld-lote .ld-hero .lt-card-img { aspect-ratio: 2.2 / 1; }
  main.ld-lote .ld-hero h1 { font-size: clamp(2.2rem, 1.5rem + 1.8vw, 3rem); }
  main.ld-lote .ld-hero .ab-lead { font-size: 1rem; }
}

/* Documentos en una columna: la tarjeta queda del alto de «Ubicación» */
main.ld-lote .doc-list { grid-template-columns: 1fr; gap: 6px; }
main.ld-lote .doc-list a { padding: 8px 12px; font-size: 0.84rem; }

/* Navegación: sin casilla vacía; las casillas reparten el ancho por igual */
main.ld-lote .lot-nav { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
main.ld-lote .lot-nav > span:empty { display: none; }
@media (max-width: 760px) {
  main.ld-lote .lot-nav { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  main.ld-lote .lot-nav-link.back { grid-column: 1 / -1; }
  main.ld-lote .gallery-grid, main.ld-lote .gallery-grid.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}
@media (min-width: 761px) and (max-width: 979px) {
  main.ld-lote .gallery-grid, main.ld-lote .gallery-grid.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
main.ld-lote .doc-list { padding: 0; list-style: none; }
@media (max-width: 760px) {
  main.ld-lote .list-check li { font-size: 0.84rem; }
  main.ld-lote .info-box p, main.ld-lote .notice p { font-size: 0.82rem; }
}

/* Fichas de departamentos y terreno (mismo diseño de lote) */
/* Tres botones en la portada: tres columnas iguales; WhatsApp con etiqueta corta */
main.ld-lote .ld-hero .ab-hero-cta:has(> :nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 560px; }
main.ld-lote .ld-hero .ab-hero-cta > a { box-sizing: border-box; width: 100%; min-width: 0; height: 48px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center; border-radius: var(--radius-xs); font-size: 0.9rem; white-space: nowrap; }
main.ld-lote .ld-hero .btn-wa-pill svg { width: 18px; height: 18px; flex: none; }
main.ld-lote .ld-hero .btn-wa-pill span { font-size: 0; }
main.ld-lote .ld-hero .btn-wa-pill span::after { content: "WhatsApp"; font-size: 0.9rem; }

/* Galería de 10 fotos: cinco columnas, dos filas completas */
main.ld-lote .gallery-grid:has(> :nth-child(10):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
main.ld-lote .gallery-grid:has(> :nth-child(10):last-child) .gallery-item { height: 180px; }
main.ld-lote .gallery-grid:has(> :nth-child(6):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Tarjetas en dos columnas siempre del mismo alto */
main.ld-lote .two-col.align-top,
main.ld-lote .spec-grid { align-items: stretch; gap: 20px; }
main.ld-lote .spec-grid > * { height: 100%; box-sizing: border-box; margin: 0; }
main.ld-lote .gallery-grid + .calc-note { margin: 10px 0 0 !important; font-size: 0.8rem; }

@media (max-width: 760px) {
  main.ld-lote .ld-hero .ab-hero-cta:has(> :nth-child(3)) { max-width: none; gap: 8px; }
  main.ld-lote .ld-hero .ab-hero-cta > a { font-size: 0.8rem; padding: 0 6px; height: 48px; }
  main.ld-lote .ld-hero .btn-wa-pill span::after { font-size: 0.8rem; }
  main.ld-lote .gallery-grid:has(> :nth-child(6):last-child),
  main.ld-lote .gallery-grid:has(> :nth-child(10):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  main.ld-lote .gallery-grid:has(> :nth-child(10):last-child) .gallery-item { height: 130px; }
  main.ld-lote .spec-grid { grid-template-columns: 1fr; gap: 12px; }
}
@media (min-width: 761px) and (max-width: 979px) {
  main.ld-lote .gallery-grid:has(> :nth-child(10):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =====================================================================
   Ficha · portada simétrica: a la izquierda ubicación, título, datos,
   botones y aviso del remate, repartidos en el mismo alto que la tarjeta
   con la imagen. Si el texto es más alto, la imagen crece con él.
   ===================================================================== */
@media (min-width: 980px) {
  main.ld-lote .ld-hero .ab-hero-grid { align-items: stretch; }
  main.ld-lote .ld-hero .ab-hero-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 2px 0; }
  main.ld-lote .ld-hero .ab-hero-copy > * { margin: 0; }
  main.ld-lote .ld-card { display: flex; flex-direction: column; }
  main.ld-lote .ld-hero .lt-card-img { flex: 1 1 auto; aspect-ratio: auto; min-height: 230px; }
  main.ld-lote .ld-hero .ab-lead { max-width: none; }
  main.ld-lote .ld-hero .ab-hero-cta { max-width: none; }
  main.ld-lote .ld-hero .ab-hero-cta:has(> :nth-child(3)) { max-width: none; }
}
main.ld-lote .ld-hero-notice { margin: 0; padding: 12px 16px; border-radius: 10px; }
main.ld-lote .ld-hero-notice h2 { font-size: 0.92rem; margin: 0 0 4px; line-height: 1.3; }
main.ld-lote .ld-hero-notice p { font-size: 0.8rem; line-height: 1.45; margin: 0; }
main.ld-lote .ld-hero-notice p + p { margin-top: 4px; }
@media (max-width: 979px) {
  main.ld-lote .ld-hero-notice { margin-top: 16px; }
}
@media (min-width: 980px) {
  main.ld-lote .ld-card .bs-summary-grid { flex: 0 0 auto; }
}
/* Móvil: título, datos y botones; luego la tarjeta con la foto; al final el aviso */
@media (max-width: 979px) {
  main.ld-lote .ld-hero .ab-hero-grid { gap: 0; }
  main.ld-lote .ld-hero .ab-hero-copy { display: contents; }
  main.ld-lote .ld-hero .ab-hero-copy > * { order: 1; }
  main.ld-lote .ld-hero .ab-hero-cta { margin-bottom: 16px; }
  main.ld-lote .ld-hero .ld-card { order: 2; }
  main.ld-lote .ld-hero .ld-hero-notice { order: 3; margin-top: 14px; }
}

/* =====================================================================
   Fichas · ruta de navegación (Inicio › Lotes › …) clara y separada del
   menú azul: franja gris suave, enlaces en azul y la página actual como
   etiqueta.
   ===================================================================== */
main.ld-lote .breadcrumbs { background: var(--paper-2, #f4f6f9); border-bottom: 1px solid var(--line); padding: 0; }
main.ld-lote .breadcrumbs .container { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 2px; padding-top: 10px; padding-bottom: 10px; }
main.ld-lote .breadcrumbs a,
main.ld-lote .breadcrumbs span { font-size: 0.82rem; font-weight: 600; line-height: 1.2; }
main.ld-lote .breadcrumbs a { color: var(--primary); padding: 5px 8px; border-radius: 6px; text-decoration: none; transition: background 0.2s ease; }
main.ld-lote .breadcrumbs a:hover { color: var(--primary); background: rgba(31, 58, 95, 0.08); }
main.ld-lote .breadcrumbs a:first-child::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin: 0 6px -2px 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11 12 4l9 7'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11 12 4l9 7'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3C/svg%3E") center / contain no-repeat;
}
main.ld-lote .breadcrumbs .crumb-sep { font-size: 0; margin: 0 2px; color: #9aa6b6; }
main.ld-lote .breadcrumbs .crumb-sep::before { content: "›"; font-size: 1rem; font-weight: 700; }
main.ld-lote .breadcrumbs .container > span:last-child {
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--primary);
}

/* =====================================================================
   Fichas · «¿Te interesa este …?»: tarjeta clara sobre gris, con ícono,
   para que no se confunda con el pie de página azul.
   ===================================================================== */
main.ld-lote .ld-cta { padding: 8px 0 36px; background: transparent; color: var(--ink); }
main.ld-lote .ld-cta .part-wa-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 24px;
  padding: 22px 26px;
  background: linear-gradient(135deg, #fff8e6 0%, #ffffff 55%);
  border: 1px solid rgba(245, 167, 12, 0.35);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(15, 33, 64, 0.08);
}
main.ld-lote .ld-cta .part-wa-inner::before {
  content: "";
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1405' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z'/%3E%3Cpath d='M8.5 11h.01M12 11h.01M15.5 11h.01'/%3E%3C/svg%3E") center / 28px no-repeat,
    linear-gradient(180deg, var(--vivid-gold-1, #ffd04d) 0%, var(--vivid-gold-2, #f5a70c) 100%);
  box-shadow: 0 8px 18px rgba(245, 167, 12, 0.3);
}
main.ld-lote .ld-cta h2 { color: var(--ink); font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.4rem); line-height: 1.25; margin: 0 0 4px; }
main.ld-lote .ld-cta p { color: var(--muted); font-size: 0.9rem; margin: 0; }
main.ld-lote .ld-cta .ab-cta-actions .ab-btn-light { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); }
main.ld-lote .ld-cta .ab-cta-actions .ab-btn-light:hover { background: var(--primary); color: #fff; }
@media (max-width: 760px) {
  main.ld-lote .breadcrumbs .container { padding-top: 8px; padding-bottom: 8px; }
  main.ld-lote .breadcrumbs a, main.ld-lote .breadcrumbs span { font-size: 0.76rem; }
  main.ld-lote .breadcrumbs a { padding: 4px 6px; }
  main.ld-lote .ld-cta { padding: 4px 0 24px; }
  main.ld-lote .ld-cta .part-wa-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); padding: 18px 16px; gap: 14px; }
  main.ld-lote .ld-cta .part-wa-inner::before { width: 44px; height: 44px; border-radius: 12px; background-size: 24px, auto; }
  main.ld-lote .ld-cta .ab-cta-actions { grid-column: 1 / -1; margin-top: 0; }
}
@media (max-width: 760px) {
  main.ld-lote .ld-cta .part-wa-inner::before { align-self: start; }
  main.ld-lote .ld-cta .btn-wa-pill span { font-size: 0; }
  main.ld-lote .ld-cta .btn-wa-pill span::after { content: "WhatsApp"; font-size: 0.86rem; }
}

/* =====================================================================
   PÁGINA LOTES (lt2): portada con agenda, fichas en rejilla 3 × 3,
   datos clave por remate y calculadora en dos pasos.
   ===================================================================== */
.lt2 { background: var(--paper); }
.lt2-sec { padding: 34px 0; }
.lt2-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: 18px; }
.lt2-head .eyebrow { margin: 0 0 4px; }
.lt2-head h2 { margin: 0; font-size: clamp(1.5rem, 1.15rem + 1vw, 2rem); }
.lt2-head-note { margin: 0; max-width: 46ch; font-size: 0.9rem; color: var(--muted); }

/* 01 · Portada */
.lt2-hero { padding: 30px 0 30px; background: linear-gradient(180deg, var(--paper-2, #f4f6f9) 0%, var(--paper) 100%); border-bottom: 1px solid var(--line); }
.lt2-hero-grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 980px) { .lt2-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } }
.lt2-hero h1 { margin: 6px 0 10px; font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.7rem); line-height: 1.08; max-width: 20ch; }
.lt2-lead { margin: 0 0 18px; color: var(--muted); font-size: 0.98rem; line-height: 1.55; max-width: 48ch; }
.lt2-hero-cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 440px; }
.lt2-hero-cta .btn { box-sizing: border-box; width: 100%; height: 48px; padding: 0 12px; justify-content: center; text-align: center; }

.lt2-agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lt2-agenda a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px 16px 12px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(15, 33, 64, 0.06);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.lt2-agenda a:hover { transform: translateY(-2px); border-color: rgba(31, 58, 95, 0.35); box-shadow: 0 12px 26px rgba(15, 33, 64, 0.12); color: var(--ink); }
.lt2-date {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
}
.lt2-date b { display: block; font-size: 1.5rem; letter-spacing: 0; margin-bottom: 2px; }
.lt2-agenda li:first-child .lt2-date { background: linear-gradient(180deg, var(--vivid-gold-1, #ffd04d) 0%, var(--vivid-gold-2, #f5a70c) 100%); color: #1b1405; }
.lt2-agenda-txt strong { display: block; font-size: 1rem; }
.lt2-agenda-txt small { display: block; margin-top: 2px; font-size: 0.82rem; color: var(--muted); }
.lt2-agenda-go { font-size: 1.2rem; color: var(--primary); }

/* 02 · Fichas: rejilla de 3 columnas; deptos (2) y terreno (1) comparten fila */
.lt2-fichas { background: var(--paper-2, #f4f6f9); }
.lt2-fichas .lt2-head .filter-row { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lt2 .lot-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 18px; }
.lt2 .lot-group { grid-column: 1 / -1; margin: 0; }
.lt2 .lot-group[data-project="departamento"] { grid-column: span 2; }
.lt2 .lot-group[data-project="terreno-colina"] { grid-column: span 1; }
.lt2 .lot-group .lot-grid.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; }
.lt2 .lot-group[data-project="departamento"] .lot-grid.photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lt2 .lot-group[data-project="terreno-colina"] .lot-grid.photo-grid { grid-template-columns: 1fr; }
.lt2 .lot-group-head { margin: 0 0 10px; min-height: 28px; align-items: center; }
.lt2 .lot-group-head h3 { font-size: 1.12rem; }
.lt2 .lot-group-head h3 span { font-size: 0.84rem; }
.lt2 .lot-group-head .link-arrow { font-size: 0.84rem; font-weight: 700; }
.lt2 .lot-card-photo { border-radius: 14px; border: 1px solid var(--line); background: #fff; box-shadow: 0 6px 18px rgba(15, 33, 64, 0.06); height: 100%; }
.lt2 .lot-card-img { aspect-ratio: 16 / 10; }
.lt2 .lot-group .photo-grid .lot-card-body { display: flex; flex-direction: column; flex: 1; padding: 12px 14px 14px; }
.lt2 .lot-card-body .lot-proj-m { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.lt2 .lot-card-body .lot-project { font-size: 0.84rem; color: var(--muted); }
.lt2 .lot-group .photo-grid .lot-card-body h3 { font-size: 1.1rem; margin: 2px 0 4px; }
.lt2 .lot-group .photo-grid .lot-card-body p { font-size: 0.84rem; margin: 0 0 12px; }
.lt2 .lot-card-body .lot-card-cta { margin-top: auto; width: 100%; height: 44px; padding: 0 10px; justify-content: center; box-sizing: border-box; }

/* 03 · Datos clave de cada remate */
.lt2-keys-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lt2-key { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 6px 18px rgba(15, 33, 64, 0.06); }
.lt2-key header { padding: 16px 18px 14px; background: var(--primary); color: #fff; }
.lt2-key-n { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; color: #1b1405; background: var(--vivid-gold-1, #ffd04d); }
.lt2-key h3 { margin: 8px 0 2px; color: #fff; font-size: 1.1rem; }
.lt2-key header p { margin: 0; font-size: 0.82rem; color: rgba(255, 255, 255, 0.78); }
.lt2-key dl { margin: 0; padding: 6px 18px; flex: 1; }
.lt2-key dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.lt2-key dl > div:last-child { border-bottom: 0; }
.lt2-key dt { font-size: 0.8rem; color: var(--muted); white-space: nowrap; }
.lt2-key dd { margin: 0; font-size: 0.84rem; font-weight: 700; text-align: right; }
.lt2-key > .btn, .lt2-key-two { margin: 4px 18px 18px; }
.lt2-key .btn { box-sizing: border-box; height: 46px; justify-content: center; padding: 0 10px; }
.lt2-key-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* 04 · Calculadora */
.lt2-calc { background: var(--paper-2, #f4f6f9); padding-bottom: 44px; }
.lt2-calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.lt2-calc-in, .lt2-calc-out { position: relative; border-radius: 18px; padding: 26px 26px 24px; }
.lt2-calc-in { background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(15, 33, 64, 0.07); }
.lt2-calc-out { color: #fff; background: radial-gradient(120% 120% at 100% 0%, rgba(245, 167, 12, 0.2) 0%, rgba(245, 167, 12, 0) 50%), linear-gradient(135deg, #1f3a5f 0%, #142a47 60%, #0f2140 100%); box-shadow: 0 18px 40px rgba(15, 33, 64, 0.25); }
.lt2-step { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 0.85rem; font-weight: 800; color: var(--primary); background: rgba(31, 58, 95, 0.08); }
.lt2-step-light { color: #1b1405; background: var(--vivid-gold-1, #ffd04d); }
.lt2-calc-label { display: block; margin: 0 0 10px; font-size: 0.86rem; font-weight: 800; letter-spacing: 0.04em; color: var(--ink); }
.lt2-calc-input { display: flex; align-items: center; gap: 8px; padding: 0 18px; height: 70px; border: 2px solid var(--primary); border-radius: 14px; background: #fff; transition: box-shadow 0.2s ease; }
.lt2-calc-input:focus-within { box-shadow: 0 0 0 4px rgba(245, 167, 12, 0.35); }
.lt2-calc-input span { font-size: 1.6rem; font-weight: 800; color: var(--primary); }
.lt2-calc-input input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.lt2-calc-chips-t { margin: 16px 0 8px; font-size: 0.8rem; color: var(--muted); }
.lt2-calc-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lt2-calc-chips button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-2, #f4f6f9); font: inherit; font-size: 0.74rem; color: var(--muted); text-align: left; cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease; }
.lt2-calc-chips button b { font-size: 0.95rem; color: var(--ink); }
.lt2-calc-chips button:hover { border-color: var(--primary); background: #fff; }
.lt2-calc-chips button:active { transform: scale(0.97); }
.lt2-bar { display: flex; height: 14px; margin: 22px 0 10px; border-radius: 999px; overflow: hidden; background: var(--line); }
.lt2-bar span { display: block; height: 100%; transition: width 0.4s ease; }
.lt2-bar-p { background: var(--primary); }
.lt2-bar-c { background: var(--vivid-gold-2, #f5a70c); }
.lt2-bar-g { background: #8aa0bb; }
.lt2-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.8rem; color: var(--muted); }
.lt2-legend li { display: flex; align-items: center; gap: 6px; }
.lt2-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.lt2-legend span { font-weight: 800; color: var(--ink); }

.lt2-out-label { margin: 0; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.lt2-out-total { margin: 4px 0 14px; font-size: clamp(2.2rem, 1.6rem + 1.8vw, 3rem); font-weight: 800; line-height: 1.05; color: var(--vivid-gold-1, #ffd04d); font-variant-numeric: tabular-nums; }
.lt2-out-rows > div, .lt2-out-after > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 7px 0; font-size: 0.88rem; }
.lt2-out-rows > div { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.lt2-out-rows span, .lt2-out-after span { color: rgba(255, 255, 255, 0.8); }
.lt2-out-rows strong, .lt2-out-after strong { font-variant-numeric: tabular-nums; color: #fff; }
.lt2-out-after { margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); }
.lt2-out-after-total { border-top: 1px solid rgba(255, 255, 255, 0.14); margin-top: 2px; }
.lt2-out-after-total span { font-weight: 700; color: #fff; }
.lt2-out-after-total strong { font-size: 1.15rem; color: var(--vivid-gold-1, #ffd04d); }
.lt2-out-after strong[data-calc="garantiaImputada"] { color: #8ef0b0; }

.lt2-calc-notes { margin-top: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.lt2-calc-notes summary { cursor: pointer; font-size: 0.88rem; font-weight: 700; color: var(--primary); }
.lt2-calc-notes p { margin: 10px 0 0; font-size: 0.82rem; line-height: 1.55; color: var(--muted); }

@media (prefers-reduced-motion: reduce) { .lt2-agenda a, .lt2-bar span, .lt2-calc-chips button { transition: none; } .lt2-agenda a:hover { transform: none; } }

@media (max-width: 979px) {
  .lt2 .lot-groups { grid-template-columns: 1fr 1fr; }
  .lt2 .lot-group[data-project="departamento"], .lt2 .lot-group[data-project="terreno-colina"] { grid-column: 1 / -1; }
  .lt2 .lot-group .lot-grid.photo-grid,
  .lt2 .lot-group[data-project="terreno-colina"] .lot-grid.photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lt2-keys-grid, .lt2-calc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .lt2-sec { padding: 24px 0; }
  .lt2-hero { padding: 20px 0; }
  .lt2-hero h1 { font-size: 1.7rem; }
  .lt2-lead { font-size: 0.9rem; }
  .lt2-hero-cta { max-width: none; }
  .lt2-agenda a { gap: 12px; padding: 10px 12px 10px 10px; }
  .lt2-date { width: 50px; height: 50px; }
  .lt2-date b { font-size: 1.3rem; }
  .lt2-agenda-txt strong { font-size: 0.92rem; }
  .lt2-agenda-txt small { font-size: 0.76rem; }
  .lt2 .lot-groups { gap: 18px; }
  .lt2 .lot-group .lot-grid.photo-grid { gap: 10px; }
  .lt2 .lot-group .photo-grid .lot-card-body { padding: 10px 10px 12px; }
  .lt2 .lot-group .photo-grid .lot-card-body h3 { font-size: 0.98rem; }
  .lt2 .lot-group .photo-grid .lot-card-body p { font-size: 0.76rem; }
  .lt2 .lot-card-body .lot-project { font-size: 0.76rem; }
  .lt2 .lot-card-body .lot-card-cta { height: 40px; font-size: 0.8rem; padding: 0 6px; }
  .lt2-calc-in, .lt2-calc-out { padding: 20px 16px 18px; }
  .lt2-calc-input { height: 60px; padding: 0 14px; }
  .lt2-calc-chips { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .lt2-calc-chips button { padding: 8px; font-size: 0.66rem; }
  .lt2-calc-chips button b { font-size: 0.8rem; }
  .lt2-out-rows > div, .lt2-out-after > div { font-size: 0.82rem; }
  .lt2-key dl { padding: 4px 14px; }
  .lt2-key > .btn, .lt2-key-two { margin: 4px 14px 14px; }
}
.lt2-calc-in { display: flex; flex-direction: column; }
.lt2-calc-mix { margin-top: auto; padding-top: 20px; }
.lt2-mix-t { margin: 0; font-size: 0.86rem; font-weight: 800; color: var(--ink); }
.lt2 .lt2-calc-mix .lt2-bar { margin: 10px 0 10px; }
.lt2-mix-note { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; font-size: 0.8rem; line-height: 1.45; color: #5b4300; background: #fff6dc; border: 1px solid rgba(245, 167, 12, 0.35); }
.lt2 .lot-card-img { aspect-ratio: 16 / 9; }
.lt2-calc-grid > *, .lt2-keys-grid > *, .lt2 .lot-groups > *, .lt2-hero-grid > * { min-width: 0; }
.lt2-calc-chips button { min-width: 0; }
@media (max-width: 979px) {
  .lt2-keys-grid, .lt2-calc-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .lt2-calc-chips button b { white-space: nowrap; }
  .lt2-key dl > div { flex-wrap: wrap; }
}
/* Fichas en móvil: se mantiene la grilla continua de styles.css (todas las
   fichas en dos columnas, con el nombre del proyecto en cada una). */
@media (min-width: 761px) { .lt2 .lot-card-body .lot-proj-m { display: none; } }
@media (min-width: 761px) and (max-width: 979px) {
  main.lt2 .lot-groups { grid-template-columns: minmax(0, 1fr); }
  main.lt2 .lot-groups > .lot-group { grid-column: 1 / -1; }
  main.lt2 .lot-group .lot-grid.photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  main.lt2 .lot-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  main.lt2 .lot-groups > .lot-group,
  main.lt2 .lot-groups .lot-grid.photo-grid { display: contents; }
  main.lt2 .lot-group-head { display: none; }
}

/* =====================================================================
   Llamado final en tarjeta clara (distinto del pie azul). Uso: añadir
   .rg-cta-card a la sección .part-wa.
   ===================================================================== */
.rg-cta-card.part-wa { padding: 10px 0 40px; background: transparent; color: var(--ink); }
.rg-cta-card .part-wa-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 24px;
  padding: 22px 26px;
  background: linear-gradient(135deg, #fff8e6 0%, #ffffff 55%);
  border: 1px solid rgba(245, 167, 12, 0.35);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(15, 33, 64, 0.08);
}
.rg-cta-card .part-wa-inner::before {
  content: "";
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1405' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z'/%3E%3Cpath d='M8.5 11h.01M12 11h.01M15.5 11h.01'/%3E%3C/svg%3E") center / 28px no-repeat,
    linear-gradient(180deg, var(--vivid-gold-1, #ffd04d) 0%, var(--vivid-gold-2, #f5a70c) 100%);
  box-shadow: 0 8px 18px rgba(245, 167, 12, 0.3);
}
.rg-cta-card h2 { color: var(--ink); font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.4rem); line-height: 1.25; margin: 0 0 4px; }
.rg-cta-card p { color: var(--muted); font-size: 0.9rem; margin: 0; }
.rg-cta-card .ab-cta-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.rg-cta-card .ab-cta-actions > a { box-sizing: border-box; height: 48px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; white-space: nowrap; }
.rg-cta-card .ab-cta-actions .ab-btn-light { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); }
.rg-cta-card .ab-cta-actions .ab-btn-light:hover { background: var(--primary); color: #fff; }
@media (max-width: 760px) {
  .rg-cta-card.part-wa { padding: 4px 0 26px; }
  .rg-cta-card .part-wa-inner { grid-template-columns: auto minmax(0, 1fr); padding: 18px 16px; gap: 14px; }
  .rg-cta-card .part-wa-inner::before { width: 44px; height: 44px; border-radius: 12px; background-size: 24px, auto; align-self: start; }
  .rg-cta-card .ab-cta-actions { grid-column: 1 / -1; }
  .rg-cta-card .ab-cta-actions > a { padding: 0 8px; font-size: 0.84rem; }
  .rg-cta-card .btn-wa-pill span { font-size: 0; }
  .rg-cta-card .btn-wa-pill span::after { content: "WhatsApp"; font-size: 0.86rem; }
}

/* =====================================================================
   NOSOTROS (ab2): portada simétrica, secciones de igual ritmo y
   encabezados con el mismo formato.
   ===================================================================== */
.ab2 > section { padding: 34px 0; }
.ab2 .sec-head { margin-bottom: 20px; }
.ab2 .sec-head h2 { font-size: clamp(1.5rem, 1.15rem + 1vw, 2rem); }

/* Portada: texto y retrato del mismo alto */
.ab2 .ab-hero { padding: 28px 0; }
.ab2 .ab-hero-grid { display: grid; gap: 24px; align-items: stretch; }
@media (min-width: 980px) { .ab2 .ab-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; } }
.ab2 .ab-hero-copy { display: flex; flex-direction: column; justify-content: center; }
.ab2 .ab-hero h1 { font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.7rem); line-height: 1.08; margin: 6px 0 12px; }
.ab2 .ab-lead { font-size: 0.98rem; line-height: 1.55; margin: 0 0 20px; max-width: 52ch; }
.ab2 .ab-hero-cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 440px; }
.ab2 .ab-hero-cta .btn { box-sizing: border-box; width: 100%; height: 48px; padding: 0 12px; justify-content: center; text-align: center; }
.ab2 .ab-person { display: flex; flex-direction: column; max-width: none; margin: 0; border-radius: 16px; overflow: hidden; }
.ab2 .ab-portrait { position: relative; flex: 1 1 auto; min-height: 240px; aspect-ratio: auto; height: auto; }
.ab2 .ab-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 6%; }
.ab2 .ab-person-body { padding: 14px 18px; }
.ab2 .ab-person-body p { margin: 0; }
.ab2 .ab-person-name { margin: 2px 0 !important; }
@media (min-width: 980px) { .ab2 .ab-hero-grid { min-height: 0; } .ab2 .ab-person { height: 100%; } .ab2 .ab-portrait { min-height: 0; } .ab2 .ab-hero-copy { min-height: 340px; } }

/* Cifras */
.ab2 .ab-facts { padding: 14px 0; }
.ab2 .ab-facts .rg-band-grid > div { padding-top: 10px; padding-bottom: 10px; }
.ab2 .ab-facts .num-display { font-size: clamp(1.8rem, 1.3rem + 1.2vw, 2.4rem); margin-bottom: 4px; }
.ab2 .ab-facts p { font-size: 0.82rem; line-height: 1.4; }

/* Quiénes somos: dos columnas iguales */
.ab2 .ab-who-grid { display: grid; gap: 20px 40px; align-items: start; }
@media (min-width: 980px) { .ab2 .ab-who-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.ab2 .ab-who h2 { font-size: clamp(1.5rem, 1.15rem + 1vw, 2rem); margin: 6px 0 0; max-width: 18ch; }
.ab2 .ab-who-text p { font-size: 0.94rem; line-height: 1.6; margin: 0 0 12px; }
.ab2 .ab-quote { margin: 14px 0 0; font-size: 1.15rem; }

/* Principios y proceso: cuatro columnas iguales */
.ab2 .ab-values { background: var(--paper-2, #f4f6f9); }
.ab2 .ab-values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ab2 .ab-value { padding: 18px 18px 20px; border-radius: 14px; background: #fff; height: 100%; box-sizing: border-box; }
.ab2 .ab-value h3 { font-size: 1.02rem; margin: 6px 0 6px; }
.ab2 .ab-value p { font-size: 0.86rem; line-height: 1.5; margin: 0; }
.ab2 .ab-value-n { font-size: 1.6rem; }
.ab2 .ab-steps { margin: 0; }
.ab2 .ab-steps h3 { font-size: 1rem; }
.ab2 .ab-steps p { font-size: 0.86rem; line-height: 1.5; }

/* Qué rematamos: tres tarjetas iguales */
.ab2 .ab-scope { background: var(--paper-2, #f4f6f9); }
.ab2 .ab-scope-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ab2 .ab-scope-card { display: flex; flex-direction: column; padding: 20px; border-radius: 14px; background: #fff; height: 100%; box-sizing: border-box; }
.ab2 .ab-scope-card h3 { font-size: 1.05rem; margin: 12px 0 6px; }
.ab2 .ab-scope-card p { font-size: 0.86rem; line-height: 1.5; margin: 0 0 10px; }
.ab2 .ab-scope-card .link-ed { margin-top: auto; }

/* Datos oficiales: franja de cuatro datos */
.ab2 .ab-data { padding: 22px 0; }

@media (max-width: 979px) {
  .ab2 .ab-values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab2 .ab-scope-grid { grid-template-columns: minmax(0, 1fr); }
  .ab2 .ab-portrait { min-height: 300px; }
}
@media (max-width: 760px) {
  .ab2 > section { padding: 24px 0; }
  .ab2 .ab-hero { padding: 18px 0 22px; }
  .ab2 .ab-hero h1 { font-size: 1.7rem; }
  .ab2 .ab-lead { font-size: 0.9rem; }
  .ab2 .ab-hero-cta { max-width: none; }
  .ab2 .ab-values-grid { gap: 10px; }
  .ab2 .ab-value { padding: 14px; }
  .ab2 .ab-portrait { min-height: 280px; }
}

/* =====================================================================
   PROYECTOS (ld-proj): catálogo de 5 tarjetas iguales en una fila.
   ===================================================================== */
main.ld-proj .ld-projects { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
main.ld-proj .ld-projects .project-card { display: flex; flex-direction: column; height: 100%; box-sizing: border-box; padding: 0 0 14px; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(15, 33, 64, 0.06); grid-column: auto !important; }
main.ld-proj .ld-projects .project-card-img { aspect-ratio: 4 / 3; height: auto; margin: 0 0 10px; }
main.ld-proj .ld-projects .project-card-img img { width: 100%; height: 100%; object-fit: cover; }
main.ld-proj .ld-projects .project-label,
main.ld-proj .ld-projects h3,
main.ld-proj .ld-projects p,
main.ld-proj .ld-projects .link-arrow { margin-left: 14px; margin-right: 14px; }
main.ld-proj .ld-projects .project-label { font-size: 0.66rem; }
main.ld-proj .ld-projects h3 { font-size: 1.02rem; margin-top: 4px; margin-bottom: 4px; }
main.ld-proj .ld-projects p { font-size: 0.8rem; line-height: 1.45; margin-bottom: 10px; }
main.ld-proj .ld-projects .link-arrow { margin-top: auto; font-size: 0.82rem; }
main.ld-proj .section-head.narrow { margin-bottom: 14px; }
@media (max-width: 1099px) { main.ld-proj .ld-projects { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { main.ld-proj .ld-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
@media (min-width: 980px) {
  main.ld-proj .ld-hero .ab-hero-copy { justify-content: center; gap: 0; }
  main.ld-proj .ld-hero .ab-hero-copy > .ab-kicker { margin-bottom: 8px; }
  main.ld-proj .ld-hero .ab-hero-copy > h1 { margin-bottom: 10px; }
  main.ld-proj .ld-hero .ab-hero-copy > .ab-lead { margin-bottom: 20px; }
}
main.ld-proj .lot-grid.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
main.ld-proj .lot-grid.photo-grid .lot-card-photo { border-radius: 14px; border: 1px solid var(--line); background: #fff; }
main.ld-proj .lot-grid.photo-grid .lot-card-img { aspect-ratio: 16 / 9; }
@media (max-width: 760px) { main.ld-proj .lot-grid.photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* =====================================================================
   CÓMO PARTICIPAR: en escritorio los seis pasos van en una grilla de
   3 × 2 tarjetas iguales (en vez de una línea vertical de ~2.200 px).
   El ícono del paso queda arriba de cada tarjeta.
   ===================================================================== */
@media (min-width: 1000px) {
  .cp.gp .gp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: none; margin-top: 24px; }
  .cp.gp .gp-steps::before, .cp.gp .gp-steps::after { display: none; }
  .cp.gp .gp-step { display: flex; flex-direction: column; gap: 0; padding: 0; }
  .cp.gp .gp-step-marker { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-width: 2px; }
  .cp.gp .gp-step-marker .gp-ico { width: 20px; height: 20px; }
  .cp.gp .gp-step-num { width: 20px; height: 20px; font-size: 0.62rem; right: -5px; bottom: -3px; }
  .cp.gp .gp-step-body { flex: 1; padding: 20px 20px 18px; border-radius: 16px; }
  .cp.gp .gp-step-body h3 { font-size: 1.12rem; margin: 0 52px 8px 0; }
  .cp.gp .gp-step-kicker { font-size: 0.72rem !important; }
  .cp.gp .gp-step-body p { font-size: 0.88rem; line-height: 1.5; margin-bottom: 8px; }
  .cp.gp .gp-note, .cp.gp .gp-tip, .cp.gp .gp-warn, .cp.gp .gp-rule-mini { font-size: 0.82rem !important; padding: 9px 11px; }
  .cp.gp .gp-step-cta { margin: 10px 0 8px !important; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .cp.gp .gp-step-cta .btn { min-height: 42px; padding: 0 10px; font-size: 0.84rem; justify-content: center; }
  .cp.gp .gp-after { grid-template-columns: 1fr; gap: 8px; }
  .cp.gp .gp-after-card { padding: 10px 12px; }
  .cp.gp .gp-after-card h4 { font-size: 0.95rem; }
  .cp.gp .gp-after-card p { font-size: 0.82rem; }
}

/* =====================================================================
   CONTACTO (ct2): portada simétrica, encabezados uniformes y bloques de
   alto parejo.
   ===================================================================== */
.ct2 > section { padding: 34px 0; }
.ct2 .sec-head { margin-bottom: 20px; }
.ct2 .sec-head h2 { font-size: clamp(1.5rem, 1.15rem + 1vw, 2rem); }
.ct2 .ct-hero { padding: 28px 0; }
.ct2 .ct-hero .ab-hero-grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 980px) { .ct2 .ct-hero .ab-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } }
.ct2 .ct-hero h1 { font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.7rem); line-height: 1.08; max-width: 20ch; margin: 6px 0 12px; }
.ct2 .ct-hero .ab-lead { font-size: 0.98rem; line-height: 1.55; margin: 0 0 20px; }
.ct2 .ct-hero .ab-hero-cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 460px; }
.ct2 .ct-hero .ab-hero-cta > a { box-sizing: border-box; width: 100%; height: 48px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--radius-xs); white-space: nowrap; }
.ct2 .ct-hero aside, .ct2 .ct-hero .bs-summary { max-width: none; justify-self: stretch; }
.ct2 .ct-channels { background: var(--paper-2, #f4f6f9); }
.ct2 .ct-grid { gap: 16px; }
.ct2 .ct-next-grid { gap: 18px; align-items: stretch; }
.ct2 .ct-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 26px; height: 100%; box-sizing: border-box; }
.ct2 .ct-dates li { padding-top: 10px; padding-bottom: 10px; }
.ct2 .ct-dates li:nth-last-child(2) { border-bottom: 0; }
.ct2 .ct-side { display: flex; flex-direction: column; gap: 14px; }
.ct2 .ct-warning { flex: 1; }
.ct2 .ct-office { background: var(--paper-2, #f4f6f9); }
.ct2 .ct-map { height: 240px; }
@media (max-width: 760px) {
  .ct2 > section { padding: 24px 0; }
  .ct2 .ct-hero { padding: 18px 0 22px; }
  .ct2 .ct-hero h1 { font-size: 1.7rem; }
  .ct2 .ct-hero .ab-hero-cta { max-width: none; }
  .ct2 .ct-hero .ab-hero-cta > a { font-size: 0.82rem; padding: 0 6px; }
  .ct2 .ct-dates { grid-template-columns: minmax(0, 1fr); }
  .ct2 .ct-dates li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .ct2 .ct-map { height: 200px; }
}
.ct2 .ct-map { min-height: 0; aspect-ratio: auto; margin-top: 0; }

/* =====================================================================
   BASES (bs2): portada simétrica, encabezados uniformes y condiciones en
   acordeón (la primera abierta; el índice abre la elegida).
   ===================================================================== */
.bs2 > section { padding: 34px 0; }
.bs2 .sec-head { margin-bottom: 20px; }
.bs2 .sec-head h2 { font-size: clamp(1.5rem, 1.15rem + 1vw, 2rem); }
.bs2 .bs-hero { padding: 28px 0; }
.bs2 .bs-hero .ab-hero-grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 980px) { .bs2 .bs-hero .ab-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } }
.bs2 .bs-hero h1 { font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.7rem); line-height: 1.08; margin: 6px 0 12px; }
.bs2 .bs-hero .ab-lead { font-size: 0.98rem; line-height: 1.55; margin: 0 0 20px; }
.bs2 .bs-hero .ab-hero-cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 440px; }
.bs2 .bs-hero .ab-hero-cta .btn { box-sizing: border-box; width: 100%; height: 48px; padding: 0 12px; justify-content: center; text-align: center; }
.bs2 .bs-hero .bs-summary { max-width: none; justify-self: stretch; }
.bs2 .ab-facts { padding: 14px 0; }
.bs2 .ab-facts .rg-band-grid > div { padding-top: 10px; padding-bottom: 10px; }
.bs2 .ab-facts .num-display { font-size: clamp(1.8rem, 1.3rem + 1.2vw, 2.4rem); margin-bottom: 4px; }
.bs2 .ab-facts p { font-size: 0.82rem; line-height: 1.4; }
.bs2 .bs-docs-sec { background: var(--paper-2, #f4f6f9); }
.bs2 .bs-intro p { font-size: 0.92rem; line-height: 1.6; margin: 0 0 10px; }

.bs2 .bs-clauses { display: grid; gap: 10px; }
.bs2 details.bs-clause { margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(15, 33, 64, 0.05); overflow: hidden; }
.bs2 details.bs-clause > summary { display: flex; align-items: center; gap: 14px; padding: 14px 18px; cursor: pointer; list-style: none; }
.bs2 details.bs-clause > summary::-webkit-details-marker { display: none; }
.bs2 details.bs-clause > summary::after { content: "+"; margin-left: auto; font-size: 1.4rem; font-weight: 400; line-height: 1; color: var(--primary); transition: transform 0.2s ease; }
.bs2 details.bs-clause[open] > summary::after { transform: rotate(45deg); }
.bs2 details.bs-clause > summary h3 { margin: 0; font-size: 1.05rem; }
.bs2 details.bs-clause > summary:hover { background: var(--paper-2, #f4f6f9); }
.bs2 details.bs-clause[open] > summary { border-bottom: 1px solid var(--line); }
.bs2 details.bs-clause .bs-clause-body { padding: 14px 20px 18px; font-size: 0.9rem; line-height: 1.6; }
@media (prefers-reduced-motion: reduce) { .bs2 details.bs-clause > summary::after { transition: none; } }
@media (max-width: 760px) {
  .bs2 > section { padding: 24px 0; }
  .bs2 .bs-hero { padding: 18px 0 22px; }
  .bs2 .bs-hero h1 { font-size: 1.7rem; }
  .bs2 .bs-hero .ab-hero-cta { max-width: none; }
  .bs2 details.bs-clause > summary { padding: 12px 14px; }
  .bs2 details.bs-clause .bs-clause-body { padding: 12px 14px 14px; }
}

/* Portada · «¿Tienes un activo…?» más compacta: tipos de activo en una
   fila, pasos más bajos y menos relleno. */
@media (min-width: 960px) {
  .rg-sell { padding: 26px 0 30px; }
  .rg-sell-card { padding: 26px 32px; gap: 32px; }
  .rg-sell-kicker { margin-bottom: 10px; }
  .rg-sell h2 { font-size: clamp(1.5rem, 1.1rem + 1vw, 1.95rem); margin-bottom: 10px; }
  .rg-sell-copy { font-size: 0.92rem; line-height: 1.5; margin-bottom: 16px; }
  .rg-sell-btn { height: 46px; }
  .rg-sell-fine { margin-top: 12px; }
  .rg-sell-side { gap: 12px; }
  .rg-sell-assets { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .rg-sell-assets li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; font-size: 0.84rem; line-height: 1.25; }
  .rg-sell-assets svg { width: 34px; height: 34px; padding: 7px; }
  .rg-sell-steps { padding: 10px 14px; }
  .rg-sell-steps li { font-size: 0.78rem; }
  .rg-sell-steps b { width: 22px; height: 22px; font-size: 0.72rem; }
}
@media (min-width: 960px) {
  .rg-sell-card { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; }
  .rg-sell h2 { max-width: none; font-size: clamp(1.4rem, 1rem + 0.9vw, 1.75rem); }
  .rg-sell-copy { max-width: none; }
  .rg-sell-actions { max-width: 440px; }
}

/* Calculadora de la página Lotes: versión compacta */
@media (min-width: 980px) {
  .lt2-calc { padding: 26px 0 30px; }
  .lt2-calc .lt2-head { margin-bottom: 12px; }
  .lt2-calc-grid { gap: 14px; }
  .lt2-calc-in, .lt2-calc-out { padding: 18px 22px; border-radius: 16px; }
  .lt2-step { top: 14px; right: 14px; width: 26px; height: 26px; font-size: 0.78rem; }
  .lt2-calc-label { margin-bottom: 6px; font-size: 0.8rem; }
  .lt2-calc-input { height: 54px; border-radius: 12px; }
  .lt2-calc-input span { font-size: 1.3rem; }
  .lt2-calc-input input { font-size: 1.6rem; }
  .lt2-calc-chips-t { margin: 10px 0 6px; font-size: 0.76rem; }
  .lt2-calc-chips button { padding: 7px 10px; font-size: 0.7rem; border-radius: 10px; }
  .lt2-calc-chips button b { font-size: 0.86rem; }
  .lt2-calc-mix { padding-top: 12px; }
  .lt2-mix-t { font-size: 0.8rem; }
  .lt2 .lt2-calc-mix .lt2-bar { height: 10px; margin: 6px 0 6px; }
  .lt2-legend { font-size: 0.74rem; }
  .lt2-mix-note { margin-top: 8px; padding: 7px 10px; font-size: 0.74rem; }
  .lt2-out-label { font-size: 0.72rem; }
  .lt2-out-total { margin: 2px 0 8px; font-size: clamp(1.9rem, 1.4rem + 1.2vw, 2.4rem); }
  .lt2-out-rows > div, .lt2-out-after > div { padding: 4px 0; font-size: 0.82rem; }
  .lt2-out-after { margin-top: 8px; padding: 6px 12px; }
  .lt2-out-after-total strong { font-size: 1.05rem; }
  .lt2-calc-notes { margin-top: 10px; padding: 9px 14px; }
}
/* Lotes · «Ver detalles» con el texto centrado en el botón */
.lt2 .lot-card-body .btn.lot-card-cta { display: flex; align-items: center; justify-content: center; text-align: center; gap: 6px; }
/* Inicio · «Cómo participar»: «Ver guía completa» e «Inscribirme» del mismo ancho */
.gp-home-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 440px; margin-left: auto; margin-right: auto; }
.gp-home-actions > .btn { box-sizing: border-box; width: 100%; height: 50px; padding: 0 12px; justify-content: center; text-align: center; }

/* Oportunidades anteriores: cinta continua (las tarjetas avanzan lento y sin fin).
   La pista tiene las tarjetas dos veces; se desplaza exactamente un juego
   (50 % + medio espacio) y vuelve a empezar sin salto. */
.rg-prev .prev-marquee { margin-top: 28px; overflow: hidden; padding: 6px 0 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.rg-prev .prev-track { display: flex; gap: 18px; width: max-content; animation: rg-prev-scroll 95s linear infinite; will-change: transform; }
.rg-prev .prev-track .prev-card { flex: 0 0 260px; }
@keyframes rg-prev-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 9px)); } }
@media (max-width: 759px) {
  .rg-prev .prev-marquee { margin-top: 4px; }
  .rg-prev .prev-track { gap: 12px; animation-duration: 70s; }
  .rg-prev .prev-track .prev-card { flex-basis: 190px; }
  @keyframes rg-prev-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 6px)); } }
}
/* Decisión del usuario (26-11-2026): la cinta avanza SIEMPRE, también con
   «reducir movimiento» activado (styles.css detiene las demás animaciones
   con !important sobre *; esta regla es más específica y gana). */
@media (prefers-reduced-motion: reduce) {
  .rg-prev .prev-track { animation: rg-prev-scroll 95s linear infinite !important; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 759px) {
  .rg-prev .prev-track { animation-duration: 70s !important; }
}

/* =====================================================================
   PORTADA · CARRUSEL DE REMATES (parcelas / camionetas)
   Los slides se apilan en la misma celda de la rejilla: el alto lo fija el
   slide más alto y el cambio no mueve la página. Solo se cruza la opacidad.
   La barra de cada control es el reloj: al terminar su animación, script.js
   pasa al slide siguiente; pausar la animación pausa el carrusel.
   ===================================================================== */
.rg-hero-carousel { --hero-slide-dur: 3s; }
.rg-hero-track { display: grid; }
.rg-hero-slide {
  grid-area: 1 / 1;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 600ms var(--ease), visibility 0s linear 600ms;
}
.rg-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 600ms var(--ease), visibility 0s linear 0s;
}
.rg-hero-shot-vehiculo { background: #cfd0d2; }
.rg-hero-shot-vehiculo img { object-position: center 62%; }

/* Botón largo en escritorio, corto en móvil (mismo patrón que .rg-depto). */
.rg-hero-carousel .cta-s { display: none; }
@media (max-width: 760px) {
  .rg-hero-carousel .cta-l { display: none; }
  .rg-hero-carousel .cta-s { display: inline; }
}

/* Controles: etiqueta + riel de progreso, sin puntos genéricos. */
.rg-hero-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0 18px;
}
@media (max-width: 999px) {
  .rg-hero-controls { padding: 0 var(--gutter) 22px; }
}
.rg-hero-dots { display: flex; gap: 24px; flex: 1 1 auto; min-width: 0; }
.rg-hero-dot {
  flex: 0 1 220px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 6px 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.rg-hero-dot-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--dur-1) var(--ease-out);
}
.rg-hero-dot:hover .rg-hero-dot-label,
.rg-hero-dot.is-active .rg-hero-dot-label { color: var(--ink); }
.rg-hero-dot-bar { position: relative; display: block; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.rg-hero-dot-fill { position: absolute; inset: 0; background: var(--primary); transform: scaleX(0); transform-origin: left center; }
.rg-hero-dot.is-active .rg-hero-dot-fill { animation: rgHeroFill var(--hero-slide-dur) linear forwards; }
.rg-hero-carousel.is-paused .rg-hero-dot.is-active .rg-hero-dot-fill { animation-play-state: paused; }
@keyframes rgHeroFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.rg-hero-dot:focus-visible, .rg-hero-pause:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 2px; }

.rg-hero-pause {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--ink);
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--dur-1) var(--ease-out);
}
.rg-hero-pause:hover { background: var(--paper-2); }
.rg-hero-pause svg { width: 16px; height: 16px; }
.rg-hero-pause .ic-play,
.rg-hero-carousel.is-stopped .rg-hero-pause .ic-pause { display: none; }
.rg-hero-carousel.is-stopped .rg-hero-pause .ic-play { display: block; }

@media (max-width: 560px) {
  .rg-hero-dots { gap: 14px; }
  .rg-hero-dot { flex: 1 1 0; }
  .rg-hero-dot-label { font-size: 0.66rem; letter-spacing: 0.08em; }
}

/* Movimiento reducido: no avanza solo, no hay cruce, la barra activa va llena. */
@media (prefers-reduced-motion: reduce) {
  .rg-hero-slide, .rg-hero-slide.is-active { transition: none; }
  .rg-hero-dot.is-active .rg-hero-dot-fill { animation: none; transform: scaleX(1); }
  .rg-hero-pause { display: none; }
}

/* Mismo ancho de columna de texto en los dos slides (sin esto la columna mide la
   línea más larga de cada slide y la foto cambia de tamaño al pasar de uno a otro).
   28.5rem = ancho que ya tenía la columna del remate de parcelas. Los dos botones
   van a ancho parejo y el texto largo pasa a dos líneas si no cabe. */
@media (min-width: 1000px) {
  .rg-hero-carousel .rg-hero-inner { grid-template-columns: minmax(0, 28.5rem) minmax(0, 1fr); }
  .rg-hero-carousel .rg-hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .rg-hero-carousel .rg-hero-cta .btn { width: 100%; justify-content: center; text-align: center; padding-left: 14px; padding-right: 14px; line-height: 1.25; }
}
/* Slide de camionetas: tres datos (sin fecha ni modalidad definidas). */
@media (min-width: 620px) { .rg-hero-data.rg-hero-data-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 619px) {
  .rg-hero-data.rg-hero-data-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rg-hero-data.rg-hero-data-3 > div:nth-child(odd) { border-left: 1px solid var(--line); padding-left: 12px; }
  .rg-hero-data.rg-hero-data-3 > div:first-child { border-left: 0; padding-left: 0; }
  .rg-hero-data.rg-hero-data-3 > div + div { padding-left: 12px; }
}

/* Franja de condiciones bajo el carrusel: encabezado visible que la ata al remate de
   parcelas (mismo patrón que la cabecera de los slides: sello azul a la izquierda,
   dato a la derecha; el filete lo pone la propia grilla). */
.rg-band-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin: 0;
  padding-bottom: 12px;
}
.rg-band-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: 0;
}
.rg-band-title .rg-hero-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.rg-band-sub { font-weight: 600; color: var(--ink); }
.rg-band-when { margin: 0; font-size: 0.88rem; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .rg-band-head { gap: 6px; padding-bottom: 10px; }
  .rg-band-title { font-size: 0.92rem; gap: 6px 10px; }
  .rg-band-title .rg-hero-label { font-size: 0.7rem; letter-spacing: 0.1em; }
  .rg-band-when { font-size: 0.8rem; }
}
