/* Conex. Catálogo, perfil y registro. Se apoya en los tokens y piezas de styles.css. */

.page-title { text-transform: uppercase; }
.proto-note { font-size: 1rem; margin-top: 16px; color: var(--soft); max-width: 70ch; }
.bar__nav a[aria-current="page"] { text-decoration-color: currentColor; }

/* ---------- catálogo: el título se escribe con los filtros ---------- */
.cat-head { background: var(--magenta); color: #fff; padding: clamp(92px, 12vh, 124px) var(--m) clamp(22px, 3.4vh, 36px); }
.cat-title { font: 400 10.2vw/1 var(--display); }

.filters { background: var(--plum); color: #fff; padding: clamp(18px, 2.4vh, 26px) var(--m) clamp(20px, 3vh, 30px); display: grid; gap: 16px; }
.f-more { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr) minmax(0, 3fr) minmax(0, 2.2fr) minmax(0, 2.3fr); gap: 16px clamp(16px, 2vw, 28px); align-items: start; }
.f-group { display: grid; gap: 8px; align-content: start; min-width: 0; }
.f-label { font-weight: 600; font-size: 1rem; }
.f-label output { color: var(--amber); font-variant-numeric: tabular-nums; }
.f-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chip {
  min-height: 44px; padding: 8px 14px; background: var(--plum-2); color: #fff; font-weight: 600; font-size: 1rem; white-space: nowrap;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.chip:active { transform: scale(0.96); }
.chip[aria-pressed="true"] { background: var(--amber); color: var(--plum); }
@media (hover: hover) and (pointer: fine) { .chip:not([aria-pressed="true"]):hover { background: var(--magenta); } }
.f-input {
  width: 100%; min-height: 44px; padding: 8px 14px; border: 0; background: #fff; color: var(--plum);
  font: 400 1rem/1.2 var(--text); -webkit-appearance: none; appearance: none;
}
.f-input::placeholder { color: var(--soft); opacity: 1; }
.f-toggle { display: none; min-height: 44px; padding: 8px 14px; background: var(--plum-2); font-weight: 600; font-size: 1rem; justify-self: start; }
.filters input[type="range"], .field--rate input[type="range"] { width: 100%; height: 44px; margin: 0; background: none; cursor: pointer; -webkit-appearance: none; appearance: none; }
.filters input[type="range"]::-webkit-slider-runnable-track { height: 8px; background: var(--plum-2); }
.filters input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; background: var(--amber); border: 0; transition: transform var(--t-press) var(--ease-out); }
.filters input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.14); }
.filters input[type="range"]::-moz-range-track { height: 8px; background: var(--plum-2); }
.filters input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; background: var(--amber); border: 0; }

.results { background: var(--paper); padding: 0 var(--m) clamp(72px, 12vh, 140px); min-height: 60vh; }
.res-bar {
  position: sticky; top: 60px; z-index: 30; background: var(--paper);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 0;
}
.res-count { font: 600 var(--step-lead)/1.2 var(--text); margin-right: auto; }
.res-bar .sort { margin: 0; }
.res-clear { min-height: 44px; padding: 8px 14px; font-weight: 600; font-size: 1rem; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--magenta); }
.row[hidden] { display: none; }
.row__pic { display: block; }
.row__name a { color: inherit; text-decoration: none; }
.row__link { display: inline-block; margin-top: 6px; padding: 6px 0; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--magenta); text-underline-offset: 4px; transition: color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .row__link:hover { color: var(--magenta); } }

.empty { background: var(--paper-2); padding: clamp(28px, 5vh, 64px) clamp(16px, 3vw, 44px); margin-top: var(--gap); }
.empty__title { font: 400 var(--step-head)/1.05 var(--display); text-transform: uppercase; }
.empty__text { font-size: var(--step-lead); line-height: 1.3; font-weight: 600; margin-top: 10px; max-width: 46ch; }
.empty__row { margin-top: 20px; }
.suggest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 12px 40px; margin-top: clamp(32px, 6vh, 64px); }
.suggest__text { display: block; font-size: var(--step-lead); line-height: 1.3; font-weight: 600; max-width: 46ch; }
.suggest__row { display: flex; gap: 4px; min-width: 0; }
.suggest__row .f-input { flex: 1; min-width: 0; min-height: 52px; }
.f-input--paper { background: var(--paper-2); }
.suggest__ok { grid-column: 1 / -1; font-weight: 600; }
.suggest__ok[hidden] { display: none; }

/* ---------- perfil ---------- */
.prof { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 100svh; background: var(--plum); color: #fff; }
.prof__pic { position: relative; overflow: hidden; background: var(--plum-2); }
.prof__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; filter: grayscale(1) contrast(1.08); }
.prof__copy { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 14px; padding: 84px var(--m) clamp(24px, 4vh, 44px) clamp(20px, 3vw, 44px); }
.prof__back { order: -1; margin-bottom: auto; padding: 8px 0; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--amber); }
.prof__name { font: 400 var(--step-poster)/1 var(--display); }
.prof__what { font-size: var(--step-lead); line-height: 1.25; font-weight: 600; max-width: 34ch; }
.prof__stats { display: flex; flex-wrap: wrap; gap: 10px clamp(24px, 4vw, 56px); margin: 0; }
.prof__stats div { display: flex; flex-direction: column-reverse; }
.prof__stats dt { font-size: 1rem; }
.prof__stats dd { font: 400 var(--step-head)/1.05 var(--display); }
.prof__cta { align-self: stretch; justify-content: space-between; }

.prof-main { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); padding: clamp(84px, 11vh, 130px) var(--m) clamp(72px, 12vh, 140px); align-items: start; background: var(--paper); }
.agenda { grid-column: 2; grid-row: 1; position: sticky; top: 72px; max-height: calc(100svh - 84px); overflow-y: auto; background: var(--plum); color: #fff; padding: clamp(14px, 1.6vw, 22px); display: grid; gap: 12px; scroll-margin-top: 72px; }
.agenda__title { font: 400 var(--step-sub)/1.1 var(--display); text-transform: uppercase; }
.prof-body { grid-column: 1; grid-row: 1; display: grid; gap: clamp(48px, 8vh, 90px); min-width: 0; }
.pb__title { font: 400 var(--step-head)/1.05 var(--display); text-transform: uppercase; margin-bottom: 14px; }
.pb__bio { font-size: var(--step-lead); line-height: 1.35; font-weight: 600; max-width: 42ch; }

[data-ui] .cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
[data-ui] .cal-month { font-weight: 600; }
[data-ui] .cal-nav { width: 44px; height: 44px; background: var(--plum-2); font-weight: 600; font-size: 1.125rem; transition: background-color var(--t-hover) ease; }
[data-ui] .cal-nav:disabled { opacity: 0.35; cursor: default; }
@media (hover: hover) and (pointer: fine) { [data-ui] .cal-nav:not(:disabled):hover { background: var(--magenta); } }
[data-ui] .cal { width: 100%; border-collapse: separate; border-spacing: 2px; table-layout: fixed; margin-top: 6px; }
[data-ui] .cal th { font-size: var(--step-small); font-weight: 600; padding: 2px 0 4px; }
[data-ui] .cal td { padding: 0; }
[data-ui] .d {
  display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 44px; line-height: 1.05;
  font-weight: 600; font-size: 1rem; font-variant-numeric: tabular-nums; color: #fff; background: none;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
[data-ui] .d small { font-size: 0.8125rem; font-weight: 400; min-height: 0.9em; }
[data-ui] .d:not(:disabled):active { transform: scale(0.94); }
[data-ui] .d--libres { background: var(--amber); color: var(--plum); }
[data-ui] .d--ultimos { background: var(--magenta); color: #fff; }
[data-ui] .d--agotada { background: var(--plum-2); color: #DCC9D8; text-decoration: line-through; cursor: not-allowed; }
[data-ui] .d--sin { color: #DCC9D8; cursor: not-allowed; }
[data-ui] .d--past { color: #BFA6B9; cursor: not-allowed; }
[data-ui] .d--past small, [data-ui] .d--sin small { display: none; }
[data-ui] .d.is-sel { outline: 3px solid #fff; outline-offset: -3px; }
[data-ui] .d--libres.is-sel { outline-color: var(--plum); }
[data-ui] .cal-legend { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 6px; font-size: var(--step-small); }
[data-ui] .cal-legend li { display: inline-flex; align-items: center; gap: 6px; }
[data-ui] .k { display: block; width: 12px; height: 12px; }
[data-ui] .k--libres { background: var(--amber); }
[data-ui] .k--ultimos { background: var(--magenta); }
[data-ui] .k--agotada { background: var(--plum-2); }
[data-ui] .k--sin { background: none; box-shadow: inset 0 0 0 2px #DCC9D8; }
[data-ui] .day-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; margin-top: 10px; }
[data-ui] .t {
  min-height: 46px; padding: 6px 4px; background: var(--plum-2); color: #fff; font-weight: 600; font-size: 1rem; white-space: nowrap;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
[data-ui] .t:active { transform: scale(0.96); }
[data-ui] .t[aria-pressed="true"] { background: var(--amber); color: var(--plum); }
@media (hover: hover) and (pointer: fine) { [data-ui] .t:not([aria-pressed="true"]):hover { background: var(--magenta); } }

.agenda__sum { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.agenda__when strong { display: block; font: 400 var(--step-sub)/1.1 var(--display); text-transform: uppercase; color: var(--amber); }
.agenda__when span { font-size: 1rem; }
.agenda__price { display: flex; align-items: baseline; gap: 4px; flex: none; }
.agenda__price strong { font: 400 var(--step-sub)/1.1 var(--display); }
.agenda__price > span { font-size: 1rem; }

.offers { display: grid; gap: var(--gap); }
.offer a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 20px; padding: 16px clamp(14px, 1.6vw, 22px);
  background: var(--paper-2); text-decoration: none; transition: background-color var(--t-hover) ease;
}
.offer__title { font-weight: 600; grid-column: 1; }
.offer__mode { grid-column: 1; }
.offer__price { grid-column: 2; grid-row: 1 / 3; align-self: center; font: 400 var(--step-sub)/1 var(--display); white-space: nowrap; }
.offer__price span { font: 400 1rem/1 var(--text); }
@media (hover: hover) and (pointer: fine) { .offer a:hover { background: var(--paper-3); } }

.scores { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px clamp(20px, 3vw, 44px); align-items: end; }
.scores__main { display: grid; gap: 2px; max-width: 24ch; }
.scores__main strong { font: 400 var(--step-mega)/1 var(--display); color: var(--magenta); overflow: hidden; }
.scores__list { display: grid; gap: 6px; margin: 0; }
.scores__list div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; background: var(--paper-2); padding: 8px 14px; }
.scores__list dd { font: 400 var(--step-sub)/1.1 var(--display); }
.quotes { display: grid; gap: var(--gap); margin-top: var(--gap); }
.quote { margin: 0; background: var(--paper-2); padding: clamp(14px, 1.8vw, 24px); }
.quote p { font-size: var(--step-lead); line-height: 1.3; font-weight: 600; max-width: 44ch; }
.quote footer { margin-top: 8px; }

.safe { background: var(--magenta); color: #fff; padding: clamp(84px, 13vh, 150px) var(--m); }
.safe__list { display: grid; gap: var(--gap); margin-top: clamp(24px, 4vh, 44px); }
.safe__list li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 6px clamp(20px, 3vw, 48px); align-items: baseline; background: var(--plum); padding: clamp(14px, 2vw, 26px); }
.safe__list strong { font: 400 var(--step-head)/1.05 var(--display); text-transform: uppercase; }
.safe__list span { font-size: var(--step-lead); line-height: 1.3; font-weight: 600; }

.others { background: var(--paper); padding: clamp(84px, 13vh, 150px) var(--m) clamp(72px, 12vh, 140px); }
.others .rows { margin-top: clamp(20px, 3vh, 32px); }
.others__all { margin-top: clamp(20px, 3vh, 32px); }

/* ---------- registro ---------- */
.btn--magenta { background: var(--magenta); color: #fff; white-space: normal; text-align: center; }
@media (hover: hover) and (pointer: fine) { .btn--magenta:hover { background: var(--magenta-2); } }

.reg { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 100svh; }
.reg__side {
  position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--plum); color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; gap: clamp(14px, 2vh, 22px); padding: var(--m);
}
.reg__media { position: absolute; inset: 0; }
.reg__media video { object-position: 94% 30%; }
.reg__brand { position: absolute; z-index: 3; top: 14px; left: var(--m); --tile-bg: #fff; --tile-fg: var(--magenta); }
.reg__poster, .reg__ticket, .reg__earn, .reg__faces { position: relative; z-index: 3; }
.reg__big { font: 400 5.4vw/1.04 var(--display); text-transform: uppercase; }
.reg__lead { font-size: var(--step-lead); line-height: 1.25; font-weight: 600; margin-top: 12px; max-width: 30ch; }
.reg__faces { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.reg__faces[hidden], .reg__ticket[hidden], .reg__earn[hidden], .reg__lead[hidden] { display: none; }
.reg__faces img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.05); background: var(--plum-2); }

.reg__ticket { display: grid; grid-template-columns: 7fr 3fr; background: var(--amber); color: var(--plum); }
.rt__main { padding: clamp(14px, 1.6vw, 22px); display: grid; gap: 4px; align-content: start; }
.rt__title { font: 400 var(--step-sub)/1.1 var(--display); text-transform: uppercase; }
.rt__when { font-size: var(--step-lead); line-height: 1.2; font-weight: 600; }
.rt__change { justify-self: start; padding: 6px 0; font-weight: 600; font-size: 1rem; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.rt__stub { border-left: 4px dashed var(--plum); padding: clamp(14px, 1.6vw, 22px) 12px; display: grid; align-content: center; gap: 2px; }
.rt__price { display: flex; align-items: baseline; gap: 4px; }
.rt__price strong { font: 400 var(--step-head)/1 var(--display); }
.rt__price > span { font-weight: 600; font-size: 1rem; }
.rt__note { font-size: var(--step-small); }

.reg__earn-num { display: grid; gap: 2px; }
.reg__earn-num strong { font: 400 var(--step-mega)/1 var(--display); color: var(--amber); font-variant-numeric: tabular-nums; }
.reg__earn-num > span { font-size: var(--step-lead); line-height: 1.25; font-weight: 600; }

.reg__main { background: var(--paper); padding: clamp(20px, 4vh, 44px) clamp(16px, 4vw, 64px) clamp(32px, 6vh, 64px); display: grid; align-content: start; gap: clamp(14px, 2vh, 22px); }
.reg__main > * { width: 100%; max-width: 680px; }
.reg__login { position: absolute; z-index: 3; top: 12px; right: var(--m); min-height: 44px; display: flex; align-items: center; padding: 8px 14px; background: var(--plum); color: #fff; font-weight: 600; font-size: 1rem; text-decoration: none; transition: background-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .reg__login:hover { background: var(--plum-2); } }
.reg__title { font: 400 var(--step-head)/1.05 var(--display); text-transform: uppercase; }

.reg__sub { font-size: var(--step-lead); line-height: 1.3; font-weight: 600; }
.reg__sub[hidden], .reg__alt[hidden], .reg__switch[hidden] { display: none; }
.reg__alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; background: var(--paper-2); padding: 14px 16px; }
.reg__alt-text { font-size: var(--step-lead); line-height: 1.2; font-weight: 600; }
.reg__switch { font-size: 1rem; }
.reg__switch a { display: inline-block; padding: 8px 0; font-weight: 600; text-decoration-thickness: 2px; text-decoration-color: var(--magenta); text-underline-offset: 4px; transition: color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .reg__switch a:hover { color: var(--magenta); } }
.reg__title:focus { outline: none; }
@media (min-width: 901px) { .login-page .reg__main { align-content: center; } }
.link-btn { justify-self: start; min-height: 44px; padding: 8px 0; font-weight: 600; font-size: 1rem; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--magenta); text-underline-offset: 4px; transition: color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .link-btn:hover { color: var(--magenta); } }
.book__note a { font-weight: 600; text-decoration-thickness: 2px; text-decoration-color: var(--amber); text-underline-offset: 4px; display: inline-block; padding: 4px 0; }

.err-sum { background: var(--magenta); color: #fff; padding: 14px 18px; }
.err-sum[hidden] { display: none; }
.err-sum:focus { outline: 3px solid var(--plum); outline-offset: 2px; }
.err-sum__title { font-weight: 600; }
.err-sum ul { margin-top: 4px; display: grid; gap: 2px; }
.err-sum a { display: inline-block; padding: 4px 0; text-decoration-thickness: 2px; text-underline-offset: 3px; }

.form { display: grid; gap: clamp(14px, 2vh, 20px); }
.form[hidden] { display: none; }
.form__two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 600; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0; width: 100%; }
.field__opt, .field__count { font-weight: 400; font-size: var(--step-small); font-variant-numeric: tabular-nums; }
.field input:not([type="range"]):not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 12px 14px; border: 0; background: var(--paper-2); color: var(--plum);
  font: 400 1.0625rem/1.3 var(--text); -webkit-appearance: none; appearance: none;
  transition: background-color var(--t-hover) ease;
}
.field select { padding-right: 40px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M0 0h14L7 9z' fill='%233D0F36'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { background: var(--paper-3); outline: 3px solid var(--plum); outline-offset: 0; }
.field input::placeholder { color: var(--soft); opacity: 1; }
.field input.is-bad, .field select.is-bad, .field textarea.is-bad { border-left: 6px solid var(--magenta); }
.field--areas.is-bad { border-left: 6px solid var(--magenta); padding-left: 12px; }
.field__help { font-size: 1rem; }
.field__err { font-weight: 600; font-size: 1rem; color: var(--magenta-2); }
.field__err[hidden] { display: none; }
.field__pass { position: relative; }
.field__pass input { padding-right: 92px; }
.field__show { position: absolute; top: 5px; right: 5px; bottom: 5px; padding: 0 14px; background: var(--plum); color: #fff; font-weight: 600; font-size: 1rem; }

.edu { display: grid; gap: clamp(14px, 2vh, 20px); padding: clamp(14px, 2vh, 20px) 0 0; margin: 0; }
.edu[hidden] { display: none; }
.edu__title { font: 400 var(--step-sub)/1.1 var(--display); text-transform: uppercase; padding: 0; margin-bottom: clamp(10px, 1.6vh, 16px); }
.edu__note { font-size: var(--step-body); background: var(--paper-2); padding: 14px 16px; }
.area-opts { display: flex; flex-wrap: wrap; gap: 4px; }
.area-opt { display: block !important; width: auto !important; cursor: pointer; }
.area-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.area-opt span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; background: var(--paper-2); font-weight: 600;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.area-opt input:checked + span { background: var(--plum); color: #fff; }
.area-opt input:disabled + span { opacity: 0.45; cursor: not-allowed; }
.area-opt input:focus-visible + span { outline: 3px solid var(--magenta); outline-offset: 2px; }
.field--areas { border: 0; padding: 0; margin: 0; }
.field--areas legend { margin-bottom: 6px; }
.field--rate input[type="range"]::-webkit-slider-runnable-track { height: 8px; background: var(--paper-3); }
.field--rate input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; background: var(--magenta); border: 0; }
.field--rate input[type="range"]::-moz-range-track { height: 8px; background: var(--paper-3); }
.field--rate input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; background: var(--magenta); border: 0; }
.field--rate output { color: var(--magenta); font-variant-numeric: tabular-nums; }
.field--rate label { justify-content: flex-start; }
.form__legal { font-size: 1rem; max-width: 62ch; }
.form__legal a { text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.done { display: grid; gap: 16px; justify-items: start; }
.done[hidden] { display: none; }
.done:focus { outline: none; }
.done__title { font: 400 var(--step-mega)/1.04 var(--display); text-transform: uppercase; color: var(--magenta); overflow-wrap: anywhere; }
.done__text { font-size: var(--step-lead); line-height: 1.3; font-weight: 600; max-width: 42ch; }
.reg-page :focus-visible, .results :focus-visible, .prof-main :focus-visible, .others :focus-visible { outline-color: var(--magenta); }
.agenda :focus-visible { outline-color: #fff; }

/* ---------- movimiento ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .page-title .line__in, .js .reg__big .line__in { transform: translateY(112%); animation: line-up 1000ms var(--ease-out) forwards; }
  .js .page-title .line + .line .line__in, .js .reg__big .line + .line .line__in { animation-delay: 110ms; }
  .js .filters { opacity: 0; transform: translateY(20px); animation: rise 700ms var(--ease-out) 260ms forwards; }
  .js .prof__pic { clip-path: inset(0 0 100% 0); animation: shutter 1100ms var(--ease-in-out) forwards; }
  .js .prof__pic img { transform: scale(1.1); animation: settle-pic 1500ms var(--ease-soft) forwards; }
  .js .prof__what, .js .prof__stats, .js .prof__city, .js .prof__cta { opacity: 0; transform: translateY(18px); animation: rise 700ms var(--ease-out) forwards; }
  .js .prof__what { animation-delay: 380ms; }
  .js .prof__stats { animation-delay: 460ms; }
  .js .prof__city { animation-delay: 540ms; }
  .js .prof__cta { animation-delay: 620ms; }
  .js .reg__faces li { opacity: 0; transform: translateY(16px); animation: rise 600ms var(--ease-out) forwards; }
  .js .reg__faces li:nth-child(1) { animation-delay: 300ms; }
  .js .reg__faces li:nth-child(2) { animation-delay: 370ms; }
  .js .reg__faces li:nth-child(3) { animation-delay: 440ms; }
  .js .reg__faces li:nth-child(4) { animation-delay: 510ms; }
  .js .reg__ticket { clip-path: inset(0 0 100% 0); animation: shutter 800ms var(--ease-in-out) 300ms forwards; }
  .js .reg__main > * { opacity: 0; transform: translateY(16px); animation: rise 600ms var(--ease-out) forwards; }
  .js .reg__main > :nth-child(2) { animation-delay: 80ms; }
  .js .reg__main > :nth-child(3) { animation-delay: 160ms; }
  .js .reg__main > :nth-child(n+4) { animation-delay: 240ms; }
}
@keyframes shutter { to { clip-path: inset(0); } }
@keyframes settle-pic { to { transform: none; } }

/* ---------- tableta ---------- */
@media (max-width: 1180px) {
  .f-more { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .f-group--search { grid-column: span 2; }
  .f-group--range { grid-column: span 1; }
  .prof-main { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
  .scores { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .prof-main { grid-template-columns: minmax(0, 1fr); }
  .agenda { grid-column: 1; grid-row: auto; position: static; max-height: none; overflow: visible; }
  .prof-body { grid-column: 1; grid-row: auto; }
  .reg { grid-template-columns: minmax(0, 1fr); }
  .reg__side { position: relative; height: auto; min-height: 0; padding-top: 72px; }
  .reg__media { display: none; }
  .reg__big { font-size: var(--step-poster); }
  .reg__faces { display: none; }
  .reg__lead { display: none; }
  .reg__main > * { max-width: none; }
  .safe__list li { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- teléfono ---------- */
@media (max-width: 640px) {
  .cat-head { padding-top: 84px; }
  .cat-title { font-size: 9.8vw; }
  .f-toggle { display: block; }
  .f-more { display: none; grid-template-columns: minmax(0, 1fr); }
  .f-more.is-open { display: grid; animation: rise-menu 240ms var(--ease-out); }
  .f-group--search, .f-group--range { grid-column: auto; }
  .suggest { grid-template-columns: minmax(0, 1fr); }
  .suggest__row { flex-direction: column; }
  .chip { padding: 8px 12px; }
  .row__stat span { font-size: 1rem; }
  .slot-btn { padding: 8px 10px; font-size: 1rem; white-space: nowrap; }
  .res-bar { position: static; }
  .res-count { width: 100%; margin: 0; }

  .prof { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .prof__pic { height: 56svh; }
  .prof__pic img { object-position: 50% 20%; }
  .prof__copy { padding: 16px; }
  .prof__back { position: absolute; top: 66px; left: 16px; margin: 0; background: var(--plum); padding: 8px 12px; z-index: 3; }
  .prof__name { font-size: 22vw; }
  .prof__stats { gap: 8px 22px; }
  .prof-main { padding-top: 16px; }
  .form__two { grid-template-columns: minmax(0, 1fr); }
  .scores__main strong { font-size: 6rem; }
  .reg__ticket { grid-template-columns: minmax(0, 1fr) auto; }
}

/* ---------- páginas legales ---------- */
.legal-head { background: var(--plum); color: #fff; padding: clamp(92px, 13vh, 130px) var(--m) clamp(28px, 5vh, 56px); }
.legal-title { font: 400 var(--step-mega)/1.02 var(--display); text-transform: uppercase; }
.legal { background: var(--paper); padding: clamp(40px, 8vh, 90px) var(--m) clamp(72px, 12vh, 140px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(24px, 4vw, 64px); align-items: start; }
.legal__side { position: sticky; top: 84px; display: grid; gap: 8px; justify-items: start; }
.legal__side a { display: inline-block; padding: 6px 0; font-weight: 600; text-decoration-thickness: 2px; text-decoration-color: var(--magenta); text-underline-offset: 4px; }
.legal__body { display: grid; gap: clamp(28px, 5vh, 48px); }
.legal__body h2 { font: 400 var(--step-sub)/1.15 var(--display); text-transform: uppercase; margin-bottom: 8px; }
.legal__body p { max-width: 68ch; }
.legal-note { font-size: var(--step-small); }
.legal :focus-visible { outline-color: var(--magenta); }
@media (max-width: 900px) {
  .legal { grid-template-columns: minmax(0, 1fr); }
  .legal__side { position: static; }
}
