/* ============================================================
   Remodelante — Custom overrides
   Color primario: #193f64
   ============================================================ */

/* --- WhatsApp floating button ------------------------------- */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25d366;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
}

.wa-float svg {
  width: 30px;
  height: 30px;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 22px rgba(0,0,0,.32);
}

/* --- Calendly floating button ------------------------------- */
.cal-float {
  position: fixed;
  bottom: 96px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #193f64;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
}

.cal-float svg {
  width: 24px;
  height: 24px;
}

.cal-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 22px rgba(0,0,0,.32);
}

/* --- Variables ---------------------------------------------- */
:root {
  --color-accent:  #193f64;
  --color-bg-dark: #193f64;
}

/* Texture cards — variante con ícono */
.texture-card__icon-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 32px;
  background-color: #eef2f7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.texture-card__icon-wrapper svg {
  width: 42%;
  height: 42%;
  color: var(--color-accent);
  stroke: var(--color-accent);
  flex-shrink: 0;
}

/* --- Títulos principales en azul de marca ------------------- */
.hero__title,
.section-title {
  color: #193f64;
}

/* --- Líneas y barras decorativas ---------------------------- */
.section-label-bar {
  background-color: #193f64;
}

/* --- Badge experiencia -------------------------------------- */
.experience-badge__text {
  color: #193f64;
}

/* --- Iconos acento ------------------------------------------ */
.icon-circle--accent,
.feature-card--image .feature-icon-circle {
  background: #193f64;
}

/* Video en feature card */
.feature-card__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  border-radius: 20px;
}

.feature-card--light .feature-card__video {
  display: none;
}

.value-card__icon {
  background: rgba(25, 63, 100, 0.1);
}

/* --- Espaciado CTA → Proyectos ------------------------------ */
.build-cta-section {
  padding: 72px 0;
}

/* --- Ocultar botón 'Ver' en cards de galeria ---------------- */
/* (regla movida a la definición de .rmt-cap__link más abajo) */

/* --- Pricing bullets y links -------------------------------- */
.pricing-list li::before,
.pricing-footer-text a {
  color: #193f64;
}

/* --- Botón newsletter --------------------------------------- */
.newsletter-submit {
  background: #193f64;
}

.newsletter-submit:hover {
  background: #0f2a42;
}

/* --- Header -------------------------------------------------- */
.rmt-header {
  padding: 15px 0;
  position: sticky;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-speed);
}

.rmt-header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- Logo ---------------------------------------------------- */
.rmt-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.rmt-logo__img {
  height: 80px;
  width: auto;
  object-fit: contain;
  /* Convierte el blanco al color de marca #193f64 */
  filter: brightness(0) saturate(100%) invert(21%) sepia(50%) saturate(750%) hue-rotate(185deg) brightness(88%) contrast(102%);
}

/* --- Team section → Otros Servicios: colores de marca ------- */
.team-name.active::before,
.team-name:hover::before {
  background: #193f64 !important;
}

.team-name.active .team-name__number {
  color: #193f64 !important;
}

.team-name__role,
.badge__years {
  color: #193f64 !important;
}

/* ============================================================
   REMODELANTE — Componentes personalizados (services.html)
   ============================================================ */

/* Bloque de contenido en dos columnas */
.rmt-content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}

/* Lista numerada de entregables */
.rmt-deliverables-list {
  list-style: none;
  counter-reset: deliverable;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rmt-deliverables-list li {
  counter-increment: deliverable;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}
.rmt-deliverables-list li::before {
  content: counter(deliverable, decimal-leading-zero);
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(25, 63, 100, 0.2);
  min-width: 44px;
  line-height: 1;
}

/* Sección oscura (vision): label y statement */
.rmt-vision-label {
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 24px;
  font-weight: 600;
  text-transform: uppercase;
}
.rmt-vision-statement {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 680px;
  text-align: center;
  margin-top: 24px;
}

/* Razones en sección oscura */
.rmt-reasons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
  max-width: 700px;
  text-align: left;
}
.rmt-reason {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.rmt-reason__number {
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  line-height: 1;
  min-width: 44px;
}
.rmt-reason__text {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.65;
}
.rmt-reason__text strong {
  color: #fff;
  display: block;
  margin-bottom: 4px;
  font-size: 1.02rem;
}

/* Grid incluye / no incluye */
/* Sección Alcance del Servicio — paneles rediseñados */
.rmt-alcance-split {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 20px;
  margin-top: 56px;
  align-items: start;
}

.rmt-alcance-panel {
  padding: 40px 44px;
}

.rmt-alcance-panel--yes {
  background-color: #193f64;
}

.rmt-alcance-panel--no {
  background-color: #fff;
  border: 1px solid #e8e2da;
}

.rmt-alcance-panel__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 28px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.rmt-alcance-panel--no .rmt-alcance-panel__head {
  border-bottom-color: #ede8e1;
}

.rmt-alcance-panel__badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.rmt-alcance-panel--no .rmt-alcance-panel__badge {
  background-color: #f3ede5;
  color: #bbb;
}

.rmt-alcance-panel__title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.rmt-alcance-panel--no .rmt-alcance-panel__title {
  color: #999;
}

.rmt-alcance-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rmt-alcance-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.rmt-alcance-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.rmt-alcance-panel--no .rmt-alcance-list li {
  border-bottom-color: #f0ebe3;
  color: #5a5a5a;
}

.rmt-alcance-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.45);
}

.rmt-alcance-panel--no .rmt-alcance-list li svg {
  color: #ccc;
}

.rmt-alcance-panel__note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #ede8e1;
  font-size: 0.8rem;
  color: #aaa;
  line-height: 1.5;
  font-style: italic;
}

/* Legacy (usado en services.html) */
.rmt-include-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 48px;
}
.rmt-include-list__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #193f64;
}
.rmt-include-list__title--no {
  border-bottom-color: #d8d0c8;
}
.rmt-include-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rmt-include-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.55;
}
.rmt-include-list li::before {
  content: "✓";
  color: #193f64;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.rmt-include-list--no li::before {
  content: "✗";
  color: #bbb;
}

/* Tabla de comparación */
.rmt-compare-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.rmt-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.rmt-compare-table th {
  background: #193f64;
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-size: 0.73rem;
  letter-spacing: 0.5px;
  font-weight: 700;
}
.rmt-compare-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #f0eeeb;
  color: #555;
  vertical-align: middle;
}
.rmt-compare-table tbody tr:last-child td {
  border-bottom: none;
}
.rmt-compare-table tbody tr:hover td {
  background: rgba(25, 63, 100, 0.03);
}
.rmt-compare-table td:first-child {
  color: #1a1a1a;
  font-weight: 600;
  font-size: 0.85rem;
}
.rmt-check {
  color: #193f64 !important;
  font-weight: 700 !important;
}
.rmt-no {
  color: #bbb !important;
}
.rmt-dash {
  color: #ddd !important;
  text-align: center !important;
}

/* Tabla de precios */
.rmt-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.rmt-price-table th {
  background: #193f64;
  color: #fff;
  padding: 14px 20px;
  text-align: left;
  font-size: 0.73rem;
  letter-spacing: 0.5px;
  font-weight: 700;
}
.rmt-price-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #f0eeeb;
  color: #555;
}
.rmt-price-table tbody tr:last-child td {
  border-bottom: none;
}
.rmt-price-table td:first-child {
  color: #1a1a1a;
  font-weight: 600;
}
.rmt-price-table td:nth-child(2) {
  font-size: 1.15rem;
  font-weight: 700;
  color: #193f64;
}

/* Subtítulo de bloque */
.rmt-subheading {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .rmt-content-block {
    grid-template-columns: 1fr;
  }
  .rmt-alcance-split {
    grid-template-columns: 1fr;
  }
  .rmt-alcance-panel {
    padding: 28px 24px;
  }
  .rmt-include-grid {
    grid-template-columns: 1fr;
  }
  .rmt-compare-table th,
  .rmt-compare-table td {
    padding: 10px 12px;
    font-size: 0.78rem;
  }
  .rmt-price-table th,
  .rmt-price-table td {
    padding: 12px 14px;
  }
  .rmt-reasons {
    max-width: 100%;
  }
}

/* ========================================
   CLIENTS SLIDER
   ======================================== */
.clients-section {
  padding: 52px 0;
  overflow: hidden;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.clients-header {
  text-align: center;
  margin-bottom: 32px;
}

.clients-track-outer {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 80px,
    #000 calc(100% - 80px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 80px,
    #000 calc(100% - 80px),
    transparent 100%
  );
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: clients-scroll 24s linear infinite;
}

.clients-track:hover {
  animation-play-state: paused;
}

@keyframes clients-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.client-logo {
  height: 38px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.5);
  transition: filter 0.35s ease;
  flex-shrink: 0;
}

.client-logo:hover {
  filter: grayscale(0%) opacity(1);
}

@media (max-width: 768px) {
  .clients-section {
    padding: 36px 0;
  }
  .client-logo {
    height: 28px;
    max-width: 110px;
  }
  .clients-track {
    gap: 48px;
  }
}

/* ============================================================
   Override: colores terracotta del template → navy Remodelante
   ============================================================ */

/* Hero title (original: #8b3a3a) */
.hero__title {
  color: #1a1a1a;
}

/* Barra decorativa junto a labels de sección (original: #c47d5e) */
.section-label-bar {
  background-color: #193f64;
}

/* Badge "años de experiencia" (original: #c47d5e) */
.experience-badge__text {
  color: #193f64;
}

/* Tarjetas holísticas (original: #c77c5f / #b36b4f) */
.holistic-card__icon-btn {
  background: #193f64;
}
.holistic-card__icon-btn:hover {
  background: #122d48;
}
.holistic-card__divider {
  background: #193f64;
}
.holistic-card__explore-btn:hover {
  color: #193f64;
}

/* Steps — hover y featured (original: #c77c5f / #b36b4f) */
.step-item--featured .step-item__title {
  color: #193f64;
}
.step-item--featured {
  border: 2px solid #193f64;
}
.step-item--featured:hover {
  border-color: #122d48;
}
.step-item:hover {
  border: 2px solid #193f64;
}
.step-item:hover .step-item__title {
  color: #193f64;
}

/* Sección equipo (original: #c77c5f) */
.team-name.active::before {
  background: #193f64;
}
.team-name.active .team-name__number {
  color: #193f64;
}
.team-name__role {
  color: #6b8fa8;
}

/* Badge años (original: #c77c5f) */
.badge__years {
  color: #193f64;
}

/* Portfolio — punto de categoría (original: #c06045) */
.portfolio-card__category::before {
  background-color: #193f64;
}

/* Blog card botón acento hover (original: #a64d36) */
.blog-card__btn--accent,
.blog-card__btn--accent:hover {
  background-color: #193f64;
  border-color: #193f64;
}

/* Footer botón CTA hover (original: #a64d36) */
.footer__start-btn:hover {
  background-color: #122d48;
}

/* Newsletter y suscripción hover (original: #a44d36 / #a64d36) */
.newsletter-submit:hover,
.btn--subscribe:hover {
  background: #122d48;
}
/* ============================================================
   OTROS SERVICIOS — grid de tarjetas
   ============================================================ */
.otros-svc-group {
  margin-top: 56px;
}

.otros-svc-group__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.otros-svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.otros-svc-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

.otros-svc-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.otros-svc-card:hover {
  box-shadow: 0 10px 36px rgba(25, 63, 100, 0.09);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.otros-svc-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.otros-svc-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: #eef2f7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.otros-svc-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-accent);
}

.otros-svc-card__badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: #eef2f7;
  border-radius: 6px;
  padding: 4px 10px;
  white-space: nowrap;
  align-self: center;
}

.otros-svc-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 20px;
}

.otros-svc-card__title {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.35;
}

.otros-svc-card__price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-top: 2px;
}

.otros-svc-card__desc {
  font-size: 0.855rem;
  color: var(--color-text-light);
  line-height: 1.55;
  margin-top: 6px;
}

.otros-svc-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-accent);
  text-decoration: none;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
  transition: gap 0.2s ease;
}

.otros-svc-card__cta:hover {
  gap: 10px;
}

.otros-svc-card__cta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .otros-svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .otros-svc-grid,
  .otros-svc-grid--2col {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   REFORMAS — Dos carruseles: Cápsula cards + Antes/Después
   ============================================================ */

/* ── Wrapper de cada carrusel ── */
.rmt-carou {
  margin-top: 48px;
}
.rmt-carou + .rmt-carou {
  margin-top: 36px;
}

/* ── Cabecera: label + flechas ── */
.rmt-carou__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.rmt-carou__rowlabel {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}
.rmt-carou__arrows {
  display: flex;
  gap: 8px;
}

/* ── Tracks (ocultan la barra de scroll) ── */
.rmt-capsula-track,
.rmt-bac-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px; /* evita que el borde inferior se corte */
}
.rmt-capsula-track::-webkit-scrollbar,
.rmt-bac-track::-webkit-scrollbar {
  display: none;
}

/* ══════════════════════════════════════════════════════════════
   FILA 1 — Cápsula info cards
   ══════════════════════════════════════════════════════════════ */
.rmt-capsula-card {
  flex: 0 0 300px;
  min-height: 310px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.25s;
}
.rmt-capsula-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.rmt-capsula-card {
  cursor: pointer;
}
.rmt-capsula-card:hover {
  transform: translateY(-3px);
}

/* Lightbox */
#rmt-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
#rmt-lightbox.is-open {
  display: flex;
}
#rmt-lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 8px;
  cursor: default;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}
#rmt-lightbox__close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}
#rmt-lightbox__close:hover {
  opacity: 1;
}

/* Degradado oscuro de abajo hacia arriba */
.rmt-capsula-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 18, 32, 0.08) 0%,
    rgba(8, 18, 32, 0.72) 50%,
    rgba(8, 18, 32, 0.97) 100%
  );
  border-radius: inherit;
}

.rmt-capsula-card__body {
  position: relative;
  z-index: 1;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rmt-capsula-card__num {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 2px;
}
.rmt-capsula-card__cat {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}
.rmt-capsula-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 6px 0 12px;
  line-height: 1.25;
}
.rmt-capsula-card__footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rmt-capsula-card__loc {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.42);
  margin: 0;
}
.rmt-capsula-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Pill y link reutilizados en las cápsula cards */
.rmt-cap__pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #193f64;
  background: #ddeaf6;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.rmt-cap__link {
  display: none;
}
.rmt-cap__link:hover {
  color: #fff;
}

/* ══════════════════════════════════════════════════════════════
   FILA 2 — Antes & Después slides
   ══════════════════════════════════════════════════════════════ */
.rmt-bac-slide {
  flex: 0 0 460px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 0.2s;
}
.rmt-bac-slide:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

/* ── Comparison slider ── */
.rmt-bac__slider {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}

.rmt-bac__after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.rmt-bac__before-wrap {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}
.rmt-bac__before {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  object-fit: cover;
}

/* Línea divisoria */
.rmt-bac__divider-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.88);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rmt-bac__handle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  color: #193f64;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

/* Range input invisible */
.rmt-bac__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  z-index: 2;
}

/* Labels ANTES / DESPUÉS */
.rmt-bac__label {
  position: absolute;
  bottom: 10px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 1;
}
.rmt-bac__label--l {
  left: 10px;
  background: rgba(0, 0, 0, 0.52);
  color: #fff;
}
.rmt-bac__label--r {
  right: 10px;
  background: rgba(25, 63, 100, 0.85);
  color: #fff;
}

/* Número de proyecto */
.rmt-bac__num {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.38);
  padding: 3px 9px;
  border-radius: 20px;
  pointer-events: none;
  z-index: 1;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .rmt-capsula-card {
    flex: 0 0 260px;
    min-height: 270px;
  }
  .rmt-bac-slide {
    flex: 0 0 320px;
  }
}
@media (max-width: 480px) {
  .rmt-capsula-card {
    flex: 0 0 220px;
  }
  .rmt-bac-slide {
    flex: 0 0 280px;
  }
}