/* LUM360 · Cancún inmobiliario v3 · capa 5 · componentes propios de /seo/recorridos-virtuales-inmobiliarios-cancun
 * Usa los tokens de tokens.css (alcance body.sl-page). Modo claro: oro cálido con tinta oscura (estándar dorado); ningún café oscuro como relleno. */

.rc-visually-hidden { position: absolute !important; 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; }

/* ---------- Enlaces dentro del texto ---------- */
.rc-a { color: var(--ws-accent-strong); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; text-decoration-color: color-mix(in oklch, var(--ws-accent-strong) 45%, transparent); transition: text-decoration-color var(--ws-dur-short), color var(--ws-dur-short); }
.rc-a:hover { text-decoration-color: currentColor; }
.rc-statement { font-family: var(--ws-font-display); font-size: var(--ws-text-xl); font-weight: 500; line-height: 1.1; }

/* ---------- Hero: zonas como enlaces ---------- */
.sl-hero__chips a { color: inherit; text-decoration: none; }
.sl-hero__chips li:hover a, .sl-hero__chips a:focus-visible { color: var(--ws-accent-strong); }
.rc-poster-villa { position: relative; background:
  radial-gradient(circle at 76% 45%, oklch(92% 0.09 85) 0 0.5rem, transparent 0.65rem),
  radial-gradient(42% 24% at 76% 46%, oklch(80% 0.14 62 / 0.55), transparent 70%),
  linear-gradient(180deg, #050914 0%, #10203a 36%, #d98c4a 46.5%, #0a2d44 47.5%, #04111c 100%); }
.rc-poster-villa::after { content: ""; position: absolute; left: 40%; top: 36%; width: 52%; aspect-ratio: 5 / 2; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 300 120%22%3E%3Crect x=%2238%22 y=%2222%22 width=%22150%22 height=%225%22 fill=%22%23e9e1d0%22/%3E%3Crect x=%2252%22 y=%2227%22 width=%22108%22 height=%2228%22 fill=%22%23cfc6b3%22/%3E%3Crect x=%2258%22 y=%2233%22 width=%2296%22 height=%2215%22 fill=%22%23f0a954%22/%3E%3Crect x=%2238%22 y=%2255%22 width=%22170%22 height=%224%22 fill=%22%23e9e1d0%22/%3E%3Crect x=%2230%22 y=%2259%22 width=%22164%22 height=%2234%22 fill=%22%2315181f%22/%3E%3Crect x=%2242%22 y=%2264%22 width=%22140%22 height=%2224%22 fill=%22%23f6b45e%22/%3E%3Crect x=%2292%22 y=%2264%22 width=%222%22 height=%2224%22 fill=%22%2315181f%22/%3E%3Crect x=%22140%22 y=%2264%22 width=%222%22 height=%2224%22 fill=%22%2315181f%22/%3E%3Crect x=%22196%22 y=%2296%22 width=%2278%22 height=%229%22 fill=%22%2335d6e4%22/%3E%3Crect x=%2210%22 y=%2293%22 width=%22270%22 height=%226%22 fill=%22%232a1d17%22/%3E%3Cpath d=%22M236 94 q8-40 4-60 M240 36 l-24 10 M240 36 l22 12 M240 36 l-8-16 M240 36 l12-14%22 stroke=%22%230b0d12%22 stroke-width=%223%22 fill=%22none%22/%3E%3Cpath d=%22M18 94 q-6-30-2-48 M16 47 l-18 8 M16 47 l16 9 M16 47 l-4-14 M16 47 l9-10%22 stroke=%22%230b0d12%22 stroke-width=%223%22 fill=%22none%22/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- En breve ---------- */
.rc-lede { display: grid; gap: var(--ws-space-xl); }
.rc-lede .sl-head { margin-bottom: 0; }
@media (min-width: 60rem) {
  .rc-lede { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--ws-space-2xl); align-items: start; }
}
.rc-quick { display: grid; border: 1px solid var(--ws-rule); border-radius: 1rem; overflow: hidden; background: var(--ws-card); }
.rc-quick__row { display: grid; gap: 0.3rem; padding: 1.05rem 1.3rem; border-top: 1px solid var(--ws-rule); }
.rc-quick__row:first-child { border-top: 0; }
.rc-quick dt { color: var(--ws-accent-strong); font-family: var(--sl-mono); font-size: var(--ws-text-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.rc-quick dd { margin: 0; color: var(--ws-muted); font-size: 0.95rem; line-height: 1.55; }

/* ---------- Zonas ---------- */
.rc-step-link { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin-top: var(--ws-space-xs); color: var(--ws-accent-strong); font-size: 0.9rem; font-weight: 600; text-decoration: none; }
.rc-step-link:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.rc-coverage { max-width: 52rem; margin-top: clamp(2.5rem, 5vw, 4rem); color: var(--ws-muted); font-size: var(--ws-text-md); line-height: 1.6; }
.sl-page .ws-label.is-active { color: var(--ws-accent-ink); border-color: transparent; background: var(--ws-accent-fill, var(--ws-accent-strong)); }
.sl-page .ws-label.is-active::before { background: var(--ws-accent-ink); box-shadow: none; }

/* ---------- Comprador a distancia ---------- */
.rc-origin__chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.rc-origin__chips .sl-chip { display: grid; gap: 0.1rem; min-height: 3.3rem; padding: 0.55rem 1.05rem; border-radius: 0.9rem; text-align: left; }
.rc-origin__chips .sl-chip span { font-size: 0.72rem; font-weight: 400; opacity: 0.8; }
.rc-origin__text { display: grid; gap: var(--ws-space-sm); max-width: 38rem; color: var(--ws-muted); line-height: 1.6; }
.rc-origin__text strong { color: var(--ws-ink); }
.rc-origin__panel[hidden] { display: none; }
.rc-origins .sl-ai__stage .sl-stage--wide { aspect-ratio: 16 / 11; }

/* ---------- Tablas (fotos vs recorrido, propiedad del recorrido) ---------- */
.rc-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--ws-rule); border-radius: 1rem; overflow: hidden; background: var(--ws-card); font-size: 0.95rem; }
.rc-table th, .rc-table td { padding: 1rem 1.2rem; text-align: left; vertical-align: top; line-height: 1.5; border-top: 1px solid var(--ws-rule); }
.rc-table thead th { border-top: 0; color: var(--ws-subtle); background: var(--ws-card-2); font-family: var(--sl-mono); font-size: var(--ws-text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.rc-table thead th:last-child { color: var(--ws-accent-strong); }
.rc-table tbody th { width: 28%; color: var(--ws-ink); font-family: var(--ws-font-display); font-size: 1.2rem; font-weight: 500; line-height: 1.15; }
.rc-table td { color: var(--ws-muted); }
.rc-table td:last-child { color: var(--ws-ink); background: color-mix(in oklch, var(--ws-accent-soft) 55%, transparent); }
@media (max-width: 47.999rem) {
  .rc-table, .rc-table tbody, .rc-table tr, .rc-table th, .rc-table td { display: block; }
  .rc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .rc-table tbody th { width: auto; padding-bottom: 0.2rem; border-top: 1px solid var(--ws-rule-strong); }
  .rc-table tbody tr:first-child th { border-top: 0; }
  .rc-table td { padding-top: 0.5rem; border-top: 0; }
  .rc-table td::before { content: attr(data-label); display: block; margin-bottom: 0.15rem; color: var(--ws-subtle); font-family: var(--sl-mono); font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; }
}

/* ---------- Pestañas ---------- */
.rc-tabs { display: flex; gap: 0.5rem; padding-bottom: 0.3rem; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.rc-tabs [role="tab"] { flex: none; min-height: var(--ws-hit); padding: 0.5rem 1.15rem; border: 1px solid var(--ws-rule-strong); border-radius: 999px; color: var(--ws-ink); background: transparent; font-size: 0.9rem; font-weight: 500; cursor: pointer; scroll-snap-align: start; transition: background var(--ws-dur-short), border-color var(--ws-dur-short), color var(--ws-dur-short); }
.rc-tabs [role="tab"]:hover { border-color: var(--ws-accent-line, var(--ws-accent-strong)); }
.rc-tabs [role="tab"][aria-selected="true"] { color: var(--ws-accent-ink); border-color: var(--ws-accent-line, var(--ws-accent-strong)); background: var(--ws-accent-fill, var(--ws-accent-strong)); }

/* ---------- Panorama 360° ---------- */
.rc-pano__work { display: grid; gap: var(--ws-space-lg); }
.rc-pano__figure { display: grid; gap: 0.6rem; margin: 0; min-width: 0; }
.rc-pano__figure .ws-stage { cursor: grab; touch-action: pan-y; }
.rc-pano__figure .ws-stage.is-dragging { cursor: grabbing; }
.sl-page img.ws-stage__poster { object-fit: cover; width: 100%; height: 100%; }
.rc-pano__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.rc-pano__figure figcaption { min-height: 1.3rem; color: var(--ws-subtle); font-size: var(--ws-text-sm); }
.rc-icon-button { display: grid; place-items: center; width: var(--ws-hit); height: var(--ws-hit); padding: 0; border: 1px solid var(--ws-rule-strong); border-radius: 50%; color: var(--ws-ink); background: var(--ws-card); cursor: pointer; transition: border-color var(--ws-dur-short); }
.rc-icon-button:hover { border-color: var(--ws-accent-line, var(--ws-accent-strong)); }
.rc-icon-button svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rc-panel { display: grid; gap: var(--ws-space-sm); padding: clamp(1.2rem, 2.4vw, 2rem); border: 1px solid var(--ws-rule); border-radius: 1rem; background: var(--ws-card); }
.rc-panel h3 { font-size: var(--ws-text-lg); line-height: 1.1; }
.rc-panel p { color: var(--ws-muted); line-height: 1.55; }
.rc-panel.is-entering { animation: sl-rise 0.5s var(--ws-ease-out); }
.rc-panel__result { display: grid; gap: 0.2rem; padding-top: var(--ws-space-sm); border-top: 1px solid var(--ws-rule); }
.rc-panel__result span { color: var(--ws-accent-strong); font-family: var(--sl-mono); font-size: var(--ws-text-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.rc-panel__result strong { color: var(--ws-ink); font-weight: 600; }
@media (min-width: 60rem) {
  .rc-pano__work { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "tabs tabs" "figure panels"; column-gap: var(--ws-space-2xl); align-items: start; }
  .rc-pano__work > .rc-tabs { grid-area: tabs; }
  .rc-pano__figure { grid-area: figure; position: sticky; top: calc(var(--ws-nav-h) + 1.5rem); }
  .rc-pano__panels { grid-area: panels; }
}

/* ---------- Recorridos reales ---------- */
.rc-showcase__panels { margin-top: var(--ws-space-lg); }
.rc-tour { display: grid; gap: var(--ws-space-lg); align-items: center; }
.rc-tour__copy { display: grid; gap: var(--ws-space-sm); }
.rc-tour__label { color: var(--ws-accent-strong); font-family: var(--sl-mono); font-size: var(--ws-text-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.rc-tour__copy h3 { font-size: var(--ws-text-xl); line-height: 1.05; }
.rc-tour__copy p { color: var(--ws-muted); line-height: 1.55; }
.rc-tour__stage { display: grid; gap: 0.6rem; margin: 0; min-width: 0; }
.rc-tour__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--ws-rule-strong); border-radius: 1rem; background: #060608; }
.rc-tour__media picture, .rc-tour__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rc-tour__media iframe { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; border: 0; background: #060608; }
.rc-tour__media .lum-consent-embed { position: absolute; inset: 0; z-index: 2; }
.rc-tour__play { position: absolute; z-index: 3; inset: 0; display: grid; place-content: center; justify-items: center; gap: 0.7rem; padding: 0; border: 0; color: #fff; background: linear-gradient(0deg, oklch(8% 0.01 82 / 0.62), oklch(8% 0.01 82 / 0.08) 60%); cursor: pointer; }
.rc-tour__play span { display: grid; place-items: center; width: 4.2rem; height: 4.2rem; border-radius: 50%; background: var(--ws-accent-fill, var(--ws-accent-strong)); box-shadow: 0 0 2.4rem -0.4rem oklch(80% 0.13 86 / 0.7); transition: transform var(--ws-dur-short) var(--ws-ease-out); }
.rc-tour__play:hover span { transform: scale(1.08); }
.rc-tour__play span::before { content: ""; margin-left: 0.25rem; border-style: solid; border-width: 0.7rem 0 0.7rem 1.1rem; border-color: transparent transparent transparent var(--ws-accent-ink); }
.rc-tour__play strong { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.rc-tour__media.is-open .rc-tour__play { inset: 0.7rem 0.7rem auto auto; display: inline-flex; align-items: center; gap: 0.5rem; width: auto; height: auto; padding: 0.4rem 0.9rem; border-radius: 999px; background: oklch(8% 0.01 82 / 0.82); }
.rc-tour__media.is-open .rc-tour__play span { display: none; }
.rc-tour__stage figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem; color: var(--ws-muted); font-size: var(--ws-text-sm); }
.rc-showcase__cta { display: grid; gap: var(--ws-space-md); justify-items: start; margin-top: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 60rem) {
  .rc-tour { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: var(--ws-space-2xl); }
}

/* ---------- Perfiles ---------- */
.rc-audiences { display: grid; gap: var(--ws-space-md); }
.rc-card__links { margin-top: var(--ws-space-2xs); font-size: 0.9rem; line-height: 1.8; }
@media (min-width: 48rem) { .rc-audiences { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ws-space-lg); } }
@media (min-width: 75rem) { .rc-audiences { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Proceso en seis pasos ---------- */
.sl-route.rc-route { gap: var(--ws-space-lg); }
@media (min-width: 48rem) { .sl-route.rc-route { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--ws-space-xl); } }

/* ---------- Costo ---------- */
.rc-factors { display: grid; gap: 0.9rem var(--ws-space-xl); margin-bottom: var(--ws-space-lg); }
.rc-factors li { color: var(--ws-muted); line-height: 1.55; }
.rc-factors strong { color: var(--ws-ink); font-weight: 600; }
@media (min-width: 48rem) { .rc-factors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Guías ---------- */
.rc-guides { display: grid; gap: var(--ws-space-md); }
.rc-guide { position: relative; display: grid; align-content: start; gap: 0.5rem; height: 100%; padding: 1.3rem 1.3rem 2.6rem; border: 1px solid var(--ws-rule); border-radius: 1rem; color: inherit; background: var(--ws-card); text-decoration: none; transition: transform var(--ws-dur-short) var(--ws-ease-out), border-color var(--ws-dur-short); }
.rc-guide:hover { transform: translateY(-3px); border-color: var(--ws-accent-line, var(--ws-accent-strong)); }
.rc-guide__kind { color: var(--ws-accent-strong); font-family: var(--sl-mono); font-size: var(--ws-text-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.rc-guide strong { color: var(--ws-ink); font-family: var(--ws-font-display); font-size: 1.35rem; font-weight: 500; line-height: 1.12; }
.rc-guide__text { color: var(--ws-muted); font-size: 0.9rem; line-height: 1.5; }
.rc-guide i { position: absolute; right: 1.2rem; bottom: 1rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--ws-accent-fill, var(--ws-accent-strong)); }
.rc-guide i::before { content: ""; position: absolute; inset: 0; margin: auto; width: 0.5rem; height: 0.5rem; border-top: 2px solid var(--ws-accent-ink); border-right: 2px solid var(--ws-accent-ink); transform: translateX(-0.1rem) rotate(45deg); }
@media (min-width: 40rem) { .rc-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 75rem) { .rc-guides { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--ws-space-lg); } }

/* ---------- Preguntas frecuentes ---------- */
.rc-faq__list { display: grid; gap: 0.6rem; max-width: 56rem; }
.rc-faq details { border: 1px solid var(--ws-rule); border-radius: 0.9rem; background: var(--ws-card); transition: border-color var(--ws-dur-short); }
.rc-faq details[open] { border-color: var(--ws-accent-line, var(--ws-accent-strong)); }
.rc-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--ws-hit); padding: 1rem 1.25rem; list-style: none; cursor: pointer; }
.rc-faq summary::-webkit-details-marker { display: none; }
.rc-faq summary h3 { font-size: clamp(1.1rem, 1.2vw + 0.8rem, 1.4rem); line-height: 1.2; }
.rc-faq summary i { position: relative; flex: none; width: 1.6rem; height: 1.6rem; border: 1px solid var(--ws-rule-strong); border-radius: 50%; }
.rc-faq summary i::before, .rc-faq summary i::after { content: ""; position: absolute; inset: 0; margin: auto; width: 0.7rem; height: 2px; background: var(--ws-ink); transition: transform var(--ws-dur-short) var(--ws-ease-out); }
.rc-faq summary i::after { transform: rotate(90deg); }
.rc-faq details[open] summary i::after { transform: rotate(0); }
.rc-faq__answer { padding: 0 1.25rem 1.2rem; color: var(--ws-muted); line-height: 1.65; max-width: 48rem; }

/* ---------- Relacionadas ---------- */
.rc-related { display: grid; gap: var(--ws-space-md); margin-top: clamp(3rem, 6vw, 5rem); padding-top: var(--ws-space-lg); border-top: 1px solid var(--ws-rule); }
.rc-related ul { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.rc-related a { display: inline-flex; align-items: center; min-height: 2.4rem; padding: 0.35rem 0.95rem; border: 1px solid var(--ws-rule-strong); border-radius: 999px; color: var(--ws-ink); background: oklch(100% 0 0 / 0.04); font-size: 0.8125rem; font-weight: 500; text-decoration: none; transition: border-color var(--ws-dur-short), transform var(--ws-dur-short) var(--ws-ease-out); }
.rc-related a:hover { transform: translateY(-2px); border-color: var(--ws-accent-line, var(--ws-accent-strong)); }

@media (prefers-reduced-motion: reduce) { .rc-panel.is-entering, .rc-tour__play span, .rc-guide { animation: none; transition-duration: 0.01ms !important; } }

/* los paneles de pestañas se ocultan con [hidden]: ningún display propio debe ganarle */
.rc-panel[hidden], .rc-tour[hidden], .rc-pano__controls [hidden], .sl-chip[hidden] { display: none !important; }
.rc-factors li { position: relative; display: block; padding-left: 1.9rem; }
.rc-factors li::before { position: absolute; left: 0; top: 0.8em; }
