/* Raíz Directa — arriendos.
   Same visual language as the sale directory: 1px black rules, one red accent,
   square corners, no decorative gradients. Nothing here introduces a new colour. */

.rda-directory,
.rda-owner { color: #111; }

.rda-crumbs { font-size: 12px; font-weight: 700; color: #555; margin: 0 0 18px; }
.rda-crumbs a { color: #111; }
.rda-crumbs span[aria-current] { color: #555; }

/* ---------------------------------------------------------------- promises */

.rda-promise { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #111; margin: 32px 0 26px; }
.rda-promise div { padding: 18px; border-right: 1px solid #111; }
.rda-promise div:last-child { border-right: 0; }
.rda-promise b { display: block; font-size: 20px; line-height: 1.1; margin-bottom: 6px; }
.rda-promise span { font-size: 13px; color: #3d3d3d; line-height: 1.45; }

.rda-safety { border-left: 5px solid #e30613; background: #fff6f6; padding: 16px 18px; margin: 0 0 30px; font-size: 14px; line-height: 1.6; }

/* ----------------------------------------------------------------- filters */

.rda-filter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; border: 1px solid #111; padding: 20px; margin: 0 0 26px; background: #fafafa; }
.rda-filter label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: 800; }
.rda-filter label small { font-weight: 400; color: #555; font-size: 11px; }
.rda-filter input, .rda-filter select { width: 100%; min-height: 45px; padding: 11px; border: 1px solid #111; background: #fff; color: #111; font: inherit; font-weight: 400; border-radius: 0; }
.rda-toggles { grid-column: 1 / -1; border: 1px dashed #111; padding: 14px 16px; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.rda-toggles legend { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #b3000c; padding: 0 6px; }
.rda-toggle { flex-direction: row !important; align-items: center; gap: 8px !important; font-size: 13px !important; font-weight: 700 !important; }
.rda-toggle input { width: auto !important; min-height: 0 !important; }
.rda-filter-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; }
.rda-reset { font-size: 13px; font-weight: 700; color: #111; }

.rda-count { font-size: 15px; margin: 0 0 18px; }
.rda-count strong { font-size: 20px; }

/* ------------------------------------------------------------------- cards */

.rda-card { position: relative; }
.rda-card .rdl-card-img { position: relative; }
.rda-flag { position: absolute; top: 0; left: 0; background: #e30613; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; }
.rda-price { margin: 12px 0 2px; display: flex; align-items: baseline; gap: 7px; }
.rda-price strong { font-size: 23px; font-weight: 800; letter-spacing: -.02em; }
.rda-price span { font-size: 12px; font-weight: 700; color: #555; text-transform: uppercase; letter-spacing: .05em; }
.rda-price-break { font-size: 12px; color: #555; margin: 0 0 10px; }
.rda-chips { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rda-chip { font-size: 11px; font-weight: 700; padding: 4px 8px; border: 1px solid #111; background: #fff; }
.rda-chip-good { background: #f1fff3; }
.rda-chip-warn { background: #fff7e8; }
.rda-fresh { font-size: 11px; color: #555; margin: 12px 0 0; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }

.rda-empty h2 { margin-top: 0; }

/* ------------------------------------------------------- cities & snapshot */

.rda-cities { margin: 46px 0 0; }
.rda-cities ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rda-cities a, .rda-city-current { display: inline-block; border: 1px solid #111; padding: 8px 12px; font-size: 13px; font-weight: 700; }
.rda-cities a { background: #fff; color: #111; }
.rda-cities a:hover { background: #111; color: #fff; }
.rda-city-current { background: #111; color: #fff; }

.rda-snapshot { margin: 46px 0 0; }
.rda-snapshot-note { font-size: 13px; color: #555; margin: 6px 0 16px; }
.rda-snapshot table { width: 100%; border-collapse: collapse; border: 1px solid #111; }
.rda-snapshot th, .rda-snapshot td { border: 1px solid #ddd; padding: 11px 13px; text-align: left; font-size: 14px; }
.rda-snapshot thead th { background: #111; color: #fff; border-color: #111; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.rda-snapshot tbody th { font-weight: 700; }

/* --------------------------------------------------------------------- faq */

.rda-faq { margin: 46px 0 0; }
.rda-faq details { border: 1px solid #111; border-bottom: 0; }
.rda-faq details:last-of-type { border-bottom: 1px solid #111; }
.rda-faq summary { cursor: pointer; padding: 15px 18px; font-weight: 700; font-size: 15px; list-style-position: inside; }
.rda-faq summary:hover { background: #f5f5f5; }
.rda-faq details p { margin: 0; padding: 0 18px 18px; font-size: 15px; line-height: 1.65; color: #333; }

.rda-owner-cta { border: 2px solid #111; box-shadow: 9px 9px 0 #e30613; padding: clamp(22px, 4vw, 36px); margin: 50px 0 10px; background: #fff; }
.rda-owner-cta h2 { margin-top: 0; }

/* ----------------------------------------------------------- single: price */

.rda-gone { border: 2px solid #111; background: #f5f5f5; padding: clamp(20px, 4vw, 32px); margin: 0 0 28px; }
.rda-gone h2 { margin-top: 0; }

.rda-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; border: 1px solid #111; padding: clamp(20px, 4vw, 34px); margin: 0 0 26px; background: #fafafa; }
.rda-badges { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 14px; }
.rda-badge { display: inline-flex; border: 1px solid #111; background: #fff; padding: 5px 9px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.rda-badge-red { background: #e30613; border-color: #e30613; color: #fff; }
.rda-badge-warn { background: #fff7e8; }
.rda-hero-main h2 { margin: 0 0 10px; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.12; letter-spacing: -.03em; }
.rda-hero-fresh { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #555; margin: 0; }
.rda-hero-price { border: 2px solid #111; background: #fff; padding: 20px; }
.rda-hero-total { margin: 0 0 14px; }
.rda-hero-total strong { display: block; font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.rda-hero-total span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #555; }
.rda-hero-break { list-style: none; margin: 0 0 14px; padding: 0; }
.rda-hero-break li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #eee; font-size: 14px; }
.rda-hero-break li span { color: #555; }
.rda-hero-break li b { font-weight: 700; white-space: nowrap; }
.rda-hero-sum { border-top: 2px solid #111; border-bottom: 0 !important; padding-top: 11px !important; font-weight: 800; }
.rda-hero-sum span { color: #111 !important; font-weight: 800; }
.rda-hero-note { font-size: 12px; color: #555; margin: 0 0 16px; line-height: 1.5; }

/* ----------------------------------------------------- single: facts & reqs */

.rda-facts, .rda-req, .rda-includes, .rda-location, .rda-honesty, .rda-similar { margin: 34px 0; }
.rda-facts dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0 0; }
.rda-facts dl > div { border: 1px solid #ddd; padding: 13px; background: #fff; }
.rda-facts dt { font-size: 12px; color: #555; margin: 0 0 4px; }
.rda-facts dd { margin: 0; font-weight: 700; font-size: 15px; }

.rda-req { border: 2px solid #111; padding: clamp(20px, 4vw, 30px); background: #fff; box-shadow: 9px 9px 0 #111; }
.rda-req h2 { margin-top: 0; }
.rda-req-lead { font-size: 14px; color: #3d3d3d; margin: 0 0 18px; }
.rda-req-list { list-style: none; margin: 0; padding: 0; }
.rda-req-list li { border-top: 1px solid #eee; padding: 14px 0; }
.rda-req-list li:first-child { border-top: 0; }
.rda-req-label { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: #b3000c; margin-bottom: 4px; }
.rda-req-list strong { display: block; font-size: 16px; line-height: 1.35; }
.rda-req-list small { display: block; font-size: 13px; color: #555; margin-top: 5px; line-height: 1.55; }

.rda-selfcheck { border: 1px dashed #111; padding: 18px; margin: 22px 0 0; background: #fafafa; }
.rda-selfcheck h3 { margin: 0 0 6px; font-size: 17px; }
.rda-selfcheck p { font-size: 13px; color: #555; margin: 0 0 12px; }
.rda-selfcheck label { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; line-height: 1.5; margin: 9px 0; }
.rda-selfcheck input { margin-top: 4px; flex: 0 0 auto; }
.rda-selfcheck-out { font-weight: 700; margin: 14px 0 0 !important; }
.rda-selfcheck-out:empty { display: none; }
.rda-selfcheck-out.is-ok { color: #147a2d; }
.rda-selfcheck-out.is-partial { color: #8a5a00; }

.rda-amenities { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.rda-amenities li { border: 1px solid #111; padding: 5px 10px; font-size: 13px; font-weight: 700; background: #fff; }

.rda-honesty ul { margin: 14px 0 0; padding-left: 20px; }
.rda-honesty li { margin: 9px 0; line-height: 1.6; }

.rda-apply { scroll-margin-top: 90px; }
.rda-form .rdl-grid { grid-template-columns: repeat(2, 1fr); }

/* ------------------------------------------------------------- responsive */

@media (max-width: 980px) {
  .rda-promise { grid-template-columns: repeat(2, 1fr); }
  .rda-promise div:nth-child(2) { border-right: 0; }
  .rda-promise div:nth-child(-n+2) { border-bottom: 1px solid #111; }
  .rda-filter { grid-template-columns: repeat(2, 1fr); }
  .rda-hero { grid-template-columns: 1fr; }
  .rda-facts dl { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
  .rda-promise { grid-template-columns: 1fr; }
  .rda-promise div { border-right: 0; border-bottom: 1px solid #111; }
  .rda-promise div:last-child { border-bottom: 0; }
  .rda-filter { grid-template-columns: 1fr; padding: 16px; }
  .rda-facts dl { grid-template-columns: 1fr; }
  .rda-form .rdl-grid { grid-template-columns: 1fr; }
  .rda-req { box-shadow: 5px 5px 0 #111; }
  .rda-owner-cta { box-shadow: 5px 5px 0 #e30613; }
  .rda-snapshot table { display: block; overflow-x: auto; }
}
