/* Plataforma · Experiencia del huésped. Diseño propio (includes/pages/plataforma-experiencia-huesped.php). Prefijo ehx-. */

/* 1 · Cabecera: móvil del huésped + ficha de recepción */
.ehx-stage { display: grid; grid-template-columns: 228px minmax(0, 1fr); gap: 22px; align-items: center; }
.ehx-stage::before { inset: 48px -24px -24px 60px; }
.ehx-phone { position: relative; z-index: 2; padding: 14px 16px 18px; border-radius: 36px; background: white; box-shadow: 0 0 0 8px #0b1424, 0 40px 80px -30px rgb(6 22 51 / 65%); transform: translateY(26px); }
.ehx-phone-notch { display: flex; justify-content: center; margin: 0 0 14px; }
.ehx-phone-notch i { width: 72px; height: 18px; border-radius: 999px; background: #0b1424; }
.ehx-phone-title { margin: 0 0 14px; }
.ehx-phone-title small { display: block; color: var(--brand); font-weight: 600; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.ehx-phone-title b { display: block; color: var(--ink); font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.ehx-phone-steps { display: grid; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.ehx-phone-steps li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #f6faff; border: 1px solid #e3eefb; font-size: .9rem; color: var(--ink); }
.ehx-phone-steps i { display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; background: white; color: var(--brand); font-style: normal; font-weight: 700; font-size: .75rem; box-shadow: inset 0 0 0 1.5px #b9d3f5; }
.ehx-phone-steps li.done i { background: #16a34a; color: white; box-shadow: none; }
.ehx-phone-steps li:not(.done) { background: white; border-color: #b9d3f5; border-style: dashed; }
.ehx-phone-btn { margin: 0; padding: 12px; border-radius: 999px; background: var(--brand); color: white; text-align: center; font-weight: 600; font-size: .92rem; }
.ehx-desk-body { padding: 22px 24px 24px; }
.ehx-guest { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.ehx-guest > span:nth-child(2) { flex: 1; min-width: 0; }
.ehx-guest b { display: block; color: var(--ink); font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; }
.ehx-guest small { display: block; color: var(--muted); font-size: .9rem; }
.ehx-ava { display: grid; place-items: center; width: 54px; height: 54px; flex: 0 0 54px; border-radius: 50%; background: linear-gradient(135deg, #a78bfa, #7c5cff); color: white; font-weight: 700; }
.ehx-eta { text-align: right; }
.ehx-eta b { font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.ehx-status { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ehx-status li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: #f6faff; border: 1px solid #e3eefb; }
.ehx-status li > span:nth-child(2) { flex: 1; min-width: 0; }
.ehx-status small { display: block; color: var(--muted); font-size: .82rem; }
.ehx-status b { display: block; color: var(--ink); font-size: 1.12rem; font-weight: 600; }
.ehx-status-icon .editorial-symbol { width: 40px; height: 40px; flex-basis: 40px; border-radius: 12px; background: white; color: var(--brand); box-shadow: inset 0 0 0 1px #e3eefb; }
.ehx-status-icon .editorial-symbol svg { width: 19px; height: 19px; }
.ehx-meter { margin-top: 18px; }
.ehx-meter p { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 8px; color: var(--muted); font-size: .9rem; }
.ehx-meter p b { color: #11704a; }
.ehx-meter > span { display: block; height: 10px; border-radius: 999px; background: #dbe9fb; overflow: hidden; }
.ehx-meter > span i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0d6efd, #16a34a); }

/* 2 · Recorrido */
.ehx-journey .kx-head--center > p:not(.interior-kicker) { max-width: 620px; margin-inline: auto; }
.ehx-track { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0 0 28px; padding: 0; list-style: none; }
.ehx-track::before { content: ''; position: absolute; left: 16.66%; right: 16.66%; top: 22px; height: 3px; border-radius: 3px; background: repeating-linear-gradient(90deg, #0d6efd 0 14px, transparent 14px 22px); opacity: .5; }
.ehx-track li { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; }
.ehx-track span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: white; font-weight: 700; font-size: 1.05rem; box-shadow: 0 0 0 8px white, 0 0 0 9px #cfe1fb; }
.ehx-track b { color: var(--ink); font-weight: 600; font-size: 1.05rem; }
.ehx-stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ehx-stage-tile > p:not(.kx-tag) { flex: 0 0 auto; }
.ehx-mock { margin-top: 4px; }
.ehx-mock-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 10px; }
.ehx-mock-head b { color: var(--ink); font-weight: 600; }
.ehx-mock-head > span { color: var(--brand); font-weight: 600; font-size: .9rem; }
.ehx-bar { display: block; height: 8px; margin-bottom: 12px; border-radius: 999px; background: #dbe9fb; overflow: hidden; }
.ehx-bar i { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.ehx-mock--form ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ehx-mock--form li { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--ink); }
.ehx-mock--form li::before { content: '✓'; display: grid; place-items: center; width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; background: #16a34a; color: white; font-size: .72rem; font-weight: 700; }
.ehx-mock--form li.wait { color: var(--muted); }
.ehx-mock--form li.wait::before { content: ''; background: white; box-shadow: inset 0 0 0 2px #f59e0b; }
.ehx-room { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 6px; padding-bottom: 10px; border-bottom: 1px solid #e3eefb; }
.ehx-room small { display: block; color: var(--muted); font-size: .82rem; }
.ehx-room b { display: block; color: var(--ink); font-size: 1.9rem; font-weight: 600; line-height: 1.1; letter-spacing: -.03em; }
.ehx-mock .kx-rows li { padding: 9px 0; font-size: .95rem; }
.ehx-mock .kx-rows b { color: var(--ink); font-weight: 600; }

/* 3 · Panel oscuro: comparativa */
.ehx-shift { padding: 0 0 clamp(80px, 9vw, 120px) !important; background: white; }
.ehx-shift-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 40px; align-items: center; margin-bottom: clamp(28px, 4vw, 44px); }
.interior-bespoke main .ehx-shift-head h2 { margin: 0 !important; }
.ehx-shift-photo { margin: 0; }
.ehx-shift-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 22px; box-shadow: 0 0 0 1px rgb(255 255 255 / 14%); }
.ehx-shift-table { display: grid; gap: 12px; }
.ehx-shift-row { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); align-items: stretch; gap: 12px; }
.ehx-shift-row--head span { color: #61a5ff; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.ehx-before { display: flex; align-items: center; padding: 16px 20px; border-radius: 16px; border: 1px dashed rgb(255 255 255 / 22%); color: #9fb6d3; font-size: 1rem; line-height: 1.5; }
.ehx-arrow { display: grid; place-items: center; color: #61a5ff; font-size: 1.3rem; }
.ehx-after { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 16px; background: white; color: var(--ink); font-weight: 500; font-size: 1rem; line-height: 1.5; }
.ehx-after i { display: grid; place-items: center; width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; background: #e3f6ec; color: #11704a; font-style: normal; font-weight: 700; font-size: .8rem; }

/* 4 · Piezas */
.ehx-pieces-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.ehx-pieces-copy { position: sticky; top: 7rem; }
.ehx-points { display: grid; gap: 22px; margin: 28px 0 0; padding: 0; list-style: none; }
.ehx-points li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; }
.ehx-points li > span { color: var(--brand); font-weight: 700; font-size: 1.1rem; font-variant-numeric: tabular-nums; padding-top: 2px; border-top: 2px solid var(--brand); }
.ehx-points h3 { margin: 0 0 6px; font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
.ehx-points p { margin: 0; color: var(--muted); font-size: 1.02rem; line-height: 1.7; }
.ehx-piece-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ehx-piece:nth-child(even) { transform: translateY(40px); }
.ehx-piece:nth-child(even):hover { transform: translateY(36px); }
.ehx-piece .kx-icon { margin-bottom: 20px; }
.ehx-pieces { padding-bottom: calc(clamp(80px, 9vw, 120px) + 40px) !important; }

/* Adaptación */
@media (max-width: 1199.98px) {
  .ehx-stage { grid-template-columns: 200px minmax(0, 1fr); gap: 16px; }
  .ehx-phone { padding: 12px 12px 14px; }
  .ehx-phone-steps li { font-size: .84rem; padding: 9px 10px; }
}
@media (max-width: 991.98px) {
  .ehx-stage { max-width: 680px; }
  .ehx-stages { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
  .ehx-shift-head, .ehx-pieces-grid { grid-template-columns: minmax(0, 1fr); }
  .ehx-shift-photo { max-width: 420px; }
  .ehx-pieces-copy { position: static; }
}
@media (max-width: 767.98px) {
  .ehx-stage { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ehx-stage::before { inset: 24px -8px -8px 24px; }
  .ehx-phone { order: 2; transform: none; max-width: 300px; margin: 0 auto 8px; }
  .ehx-desk-body { padding: 16px; }
  .ehx-guest { flex-wrap: wrap; gap: 12px; }
  .ehx-guest b { font-size: 1.15rem; }
  .ehx-eta { width: 100%; display: flex; align-items: baseline; gap: 8px; text-align: left; }
  .ehx-eta b { font-size: 1.1rem; }
  .ehx-ava { width: 46px; height: 46px; flex-basis: 46px; }
  .ehx-status li { gap: 10px; padding: 10px; }
  .ehx-status-icon .editorial-symbol { width: 34px; height: 34px; flex-basis: 34px; }
  .ehx-status b { font-size: 1rem; }
  .ehx-track { gap: 8px; }
  .ehx-track b { font-size: .85rem; line-height: 1.3; }
  .ehx-track span { width: 38px; height: 38px; font-size: .95rem; }
  .ehx-track::before { top: 18px; }
  .ehx-shift-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ehx-shift-row--head { display: none; }
  .ehx-shift-row + .ehx-shift-row { margin-top: 10px; }
  .ehx-arrow { transform: rotate(90deg); height: 24px; }
  .ehx-before, .ehx-after { padding: 12px 14px; font-size: .95rem; }
  .ehx-piece-tiles { grid-template-columns: minmax(0, 1fr); }
  .ehx-piece:nth-child(even), .ehx-piece:nth-child(even):hover { transform: none; }
  .ehx-pieces { padding-bottom: clamp(80px, 9vw, 120px) !important; }
}
@media (prefers-reduced-motion: reduce) {
  .ehx-piece:nth-child(even):hover { transform: translateY(40px); }
}
@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) {
  .ehx-piece:nth-child(even):hover { transform: none; }
}
@media (forced-colors: active) {
  .ehx-phone, .ehx-after, .ehx-before { border: 1px solid CanvasText; }
}

/* Bloques comunes (FAQ y «Solicitar demo») en pantallas estrechas */
@media (max-width: 991.98px) {
  .interior-bespoke .faq-panel { grid-template-columns: minmax(0, 1fr); }
  .interior-bespoke .faq-accordion .accordion-button { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (max-width: 379.98px) {
  .interior-bespoke .faq-title { font-size: 2.6rem !important; }
  .interior-bespoke .hotel-cta-copy { grid-template-columns: minmax(0, 1fr); padding: 1.75rem 1.1rem; }
  .interior-bespoke .hotel-cta-title { font-size: 2.4rem !important; }
  .interior-bespoke .hotel-cta-badge { max-width: 100%; white-space: normal; }
}
@media (max-width: 767.98px) {
  .ehx-phone { display: none; }
}
