/* Galería · estilos. Un lienzo claro de herramienta de diseño: fondo gris, marcos blancos, el azul de la selección y
   los colores de los cursores de cada persona. La letra y el negro son los de webnou.com (Outfit). */

@font-face {
  font-family: 'Outfit';
  src: url('/fonts/outfit-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --canvas: #f1f1f1;
  --paper: #ffffff;
  --ink: #141414;
  --muted: #7d7d7d;
  --soft: #f3f3f3;
  --line: #e4e4e4;
  --blue: #0d99ff; /* la selección */
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --dock: 64px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

html,
body {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

button:disabled {
  cursor: default;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

svg[class^='i-'] {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------------------------------------------------------------- Cabecera */
.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 18px;
  font-size: 13px;
  pointer-events: none;
  transition: opacity 0.5s;
}

.top a {
  pointer-events: auto;
}

.crumb {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.crumb-star {
  width: 13px;
  height: 13px;
  margin-right: 3px;
  transition: transform 0.7s var(--spring);
}

.crumb:hover .crumb-star {
  transform: rotate(90deg);
}

.crumb b {
  font-weight: 600;
}

.crumb-sep,
#crumb-page {
  color: var(--muted);
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  transition: color 0.2s;
}

.top-link:hover {
  color: var(--ink);
}

/* Sin la entrada terminada, ni cabecera ni barra */
html:not(.is-ready) .top,
html:not(.is-ready) .dock {
  opacity: 0;
  pointer-events: none;
}

/* ---------------------------------------------------------------- Vistas */
.view {
  position: fixed;
  inset: 0;
  overflow: clip;
  transition:
    opacity 0.42s var(--ease),
    transform 0.6s var(--ease-out);
}

.view.is-leaving {
  opacity: 0;
  transform: scale(0.97);
  pointer-events: none;
}

.view.is-entering {
  opacity: 0;
  transform: scale(1.03);
  transition: none;
}

/* ---------------------------------------------------------------- Pasillo */
.stage {
  perspective: 800px;
  perspective-origin: 50% 46%;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.stage.is-dragging {
  cursor: grabbing;
}

.world {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
}

.frame {
  position: absolute;
  left: -480px;
  top: -300px;
  width: 960px;
  height: 600px;
}

.frame-hit {
  position: absolute;
  inset: 0;
  display: block;
  background: var(--paper);
  cursor: zoom-in;
}

.frame.is-focus .frame-hit {
  cursor: inherit;
}

.frame-hit img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  pointer-events: none;
}

.frame-name {
  position: absolute;
  left: 0;
  bottom: 100%;
  margin-bottom: 12px;
  font-size: 17px;
  color: #8c8c8c;
  white-space: nowrap;
  transition: color 0.3s;
}

.frame.is-focus .frame-name {
  color: var(--blue);
}

.frame-foot {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  color: #8c8c8c;
}

.frame-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #5e5e5e;
  transition: color 0.2s;
}

.frame-link:hover {
  color: var(--ink);
}

.frame:not(.is-focus) .frame-foot {
  pointer-events: none;
}

.frame:not(.is-focus) .frame-host {
  opacity: 0;
}

/* Selección: el filete azul y los cuatro tiradores de las esquinas (marcos, tarjetas, la entrada y la cara) */
.frame-handles {
  position: absolute;
  inset: 0;
  outline: 1.5px solid var(--blue);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.frame-handles i {
  position: absolute;
  width: 9px;
  height: 9px;
  background: #fff;
  border: 1.5px solid var(--blue);
  transform: translate(-50%, -50%);
}

.frame-handles i:nth-child(1) {
  left: 0;
  top: 0;
}

.frame-handles i:nth-child(2) {
  left: 100%;
  top: 0;
}

.frame-handles i:nth-child(3) {
  left: 0;
  top: 100%;
}

.frame-handles i:nth-child(4) {
  left: 100%;
  top: 100%;
}

.frame.is-focus .frame-handles {
  opacity: 1;
}

/* ---------------------------------------------------------------- Entrada */
.intro {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: var(--canvas);
  transition: opacity 0.65s var(--ease);
}

.intro.is-done {
  opacity: 0;
  pointer-events: none;
}

.intro-frame {
  position: absolute;
  --w: 1100px;
  background: var(--paper);
  visibility: hidden;
}

.intro-frame.is-drawing {
  visibility: visible;
}

.intro-frame .frame-handles {
  opacity: 1;
}

.intro-label {
  position: absolute;
  left: 0;
  bottom: 100%;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--blue);
  white-space: nowrap;
}

.intro-size {
  position: absolute;
  left: 50%;
  top: 100%;
  margin-top: 8px;
  transform: translateX(-50%);
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-size: 10.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.intro-label,
.intro-size {
  transition: opacity 0.25s;
}

.intro-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(var(--w) * 0.01);
  padding: 0 4%;
  text-align: center;
  transition: opacity 0.45s;
}

.intro-name {
  min-height: 1em;
  font-size: calc(var(--w) * 0.086);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}

.intro-role {
  min-height: 1.2em;
  font-size: max(13px, calc(var(--w) * 0.023));
  color: #6c6c6c;
  white-space: nowrap;
}

.caret {
  display: none;
  width: 2px;
  height: 0.92em;
  margin-left: 2px;
  background: var(--blue);
  vertical-align: -0.1em;
}

.is-typing-name #caret-name,
.is-typing-role #caret-role {
  display: inline-block;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.intro-frame.is-plain .frame-handles,
.intro-frame.is-plain .intro-label,
.intro-frame.is-plain .intro-size {
  opacity: 0;
}

.intro-frame.is-plain .intro-text {
  opacity: 0.45;
}

.intro-frame.is-expanding {
  transition:
    left 0.62s var(--ease),
    top 0.62s var(--ease),
    width 0.62s var(--ease),
    height 0.62s var(--ease);
}

.intro-frame.is-expanding .intro-text {
  opacity: 0;
}

.skip {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 12px;
  transition: background-color 0.2s;
}

.skip:hover {
  background: var(--soft);
}

.intro.is-done .skip,
.intro:not(.is-playing) .skip {
  opacity: 0;
  pointer-events: none;
}

.intro-error {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: min(420px, calc(100vw - 32px));
  padding: 28px;
  background: var(--paper);
  text-align: center;
}

.intro-error p {
  font-size: 18px;
  font-weight: 500;
}

.intro-error-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 500;
  transition:
    background-color 0.2s,
    transform 0.25s var(--spring);
}

.pill:active {
  transform: scale(0.96);
}

.pill-dark {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.pill-dark:hover {
  background: #333;
}

/* ---------------------------------------------------------------- Carta «Cómo funciona» */
.letter-wrap {
  position: fixed;
  left: 50%;
  bottom: calc(var(--dock) + 4vh);
  z-index: 25;
  width: min(330px, calc(100vw - 32px));
  transform: translate(-50%, 34px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.45s var(--ease),
    transform 0.6s var(--ease-out);
}

.letter-wrap.is-open {
  opacity: 1;
  transform: translate(-50%, 0);
}

.letter-wrap.is-closing {
  opacity: 0;
  transform: translate(-50%, 34px);
  transition-delay: 0.28s;
}

.envelope {
  position: relative;
  height: 150px;
}

.envelope-back,
.envelope-front {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
}

.envelope-back {
  height: 138px;
  background: #e4e4e4;
  box-shadow: 0 18px 40px -18px rgb(0 0 0 / 0.3);
}

.letter-clip {
  position: absolute;
  left: -40px;
  right: -40px;
  bottom: 0;
  height: 520px;
  overflow: hidden;
  pointer-events: none;
}

.letter {
  position: absolute;
  left: 54px;
  right: 54px;
  bottom: 58px;
  padding: 18px 18px 22px;
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 10px 30px -8px rgb(0 0 0 / 0.18);
  font-size: 12.5px;
  line-height: 1.45;
  color: #3c3c3c;
  transform: translateY(100%) rotate(0deg);
  transition: transform 0.85s var(--spring) 0.2s;
  pointer-events: auto;
}

.letter-wrap.is-open .letter {
  transform: translateY(0) rotate(-2.4deg);
}

.letter-wrap.is-closing .letter {
  transform: translateY(100%) rotate(0deg);
  transition: transform 0.38s var(--ease) 0s;
}

.letter-title {
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.letter p + p {
  margin-top: 6px;
}

.letter b {
  color: var(--ink);
  font-weight: 600;
}

.touch .for-mouse,
html:not(.touch) .for-touch {
  display: none;
}

.letter-sign {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}

.letter-sign span {
  display: grid;
  font-size: 11.5px;
  line-height: 1.3;
}

.letter-sign small {
  color: var(--muted);
  font-size: 10.5px;
}

.signature {
  width: 86px;
  height: 30px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
}

.letter-wrap.is-open .signature {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.3s var(--ease) 0.95s;
}

/* El bolsillo del sobre: corte en V arriba, y el botón encima */
.envelope-front {
  height: 92px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 14px;
  background: linear-gradient(#efefef, #e9e9e9);
  clip-path: polygon(0 0, 50% 46%, 100% 0, 100% 100%, 0 100%);
  pointer-events: auto;
}

/* ---------------------------------------------------------------- Barra de abajo */
.dock {
  position: fixed;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border-radius: 12px;
  background: var(--paper);
  box-shadow:
    0 1px 2px rgb(0 0 0 / 0.06),
    0 10px 30px -10px rgb(0 0 0 / 0.18);
  font-size: 13px;
  transform: translateX(-50%);
  transition: opacity 0.5s;
  white-space: nowrap;
}

.dock-tabs,
.dock-pager {
  display: flex;
  align-items: center;
  gap: 2px;
}

.dock-tabs a {
  padding: 6px 10px;
  border-radius: 8px;
  transition:
    background-color 0.25s,
    color 0.25s;
}

.dock-tabs a:hover {
  background: var(--soft);
}

.dock-tabs a[aria-current] {
  background: var(--blue);
  color: #fff;
}

.dock-sep {
  width: 1px;
  height: 18px;
  margin: 0 5px;
  background: var(--line);
}

.dock-btn {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 15px;
  transition:
    background-color 0.2s,
    opacity 0.2s;
}

.dock-btn:hover:not(:disabled) {
  background: var(--soft);
}

.dock-btn:disabled {
  opacity: 0.3;
}

.dock-help {
  font-size: 13px;
  font-weight: 600;
}

.dock-count {
  min-width: 52px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

/* ---------------------------------------------------------------- Cursores */
.cursors {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.cursors.is-on {
  opacity: 1;
}

.cursor {
  position: absolute;
  left: 0;
  top: 0;
  will-change: transform;
}

.cursor-arrow {
  display: block;
  width: 15px;
  height: 17px;
  margin: -1px 0 0 -1px;
  filter: drop-shadow(0 1px 1.5px rgb(0 0 0 / 0.2));
  transform-origin: 2px 2px;
}

.cursor.is-click .cursor-arrow {
  animation: press 0.32s var(--ease);
}

@keyframes press {
  40% {
    transform: scale(0.78);
  }
}

.cursor-tag {
  position: absolute;
  left: 13px;
  top: 15px;
  padding: 1px 6px 2px;
  border-radius: 4px;
  background: var(--who);
  color: #fff;
  font-size: 10.5px;
  font-weight: 500;
  white-space: nowrap;
}

.touch .cursor {
  scale: 0.85;
}

/* ---------------------------------------------------------------- Sobre mí */
.about-track {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  gap: 56px;
  transform-origin: 0 0;
  transition: transform 0.95s var(--ease-out);
}

.card {
  position: relative;
  flex: none;
  width: 380px;
  height: 470px;
  background: var(--paper);
  cursor: pointer;
  transition: box-shadow 0.4s;
}

.card.is-focus {
  cursor: default;
}

.card.is-focus .frame-handles {
  opacity: 1;
}

.card-name {
  position: absolute;
  left: 0;
  bottom: 100%;
  margin-bottom: 7px;
  font-size: 11px;
  color: #8c8c8c;
  white-space: nowrap;
  transition: color 0.3s;
}

.card.is-focus .card-name,
.contact-frame .card-name {
  color: var(--blue);
}

.card-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.photo {
  position: relative;
  aspect-ratio: 1;
  background: var(--soft);
}

.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
}

.face {
  position: absolute;
  left: 26%;
  top: 25%;
  width: 47%;
  height: 54%;
}

.face .frame-handles i {
  width: 7px;
  height: 7px;
}

.card.is-focus .face .frame-handles {
  opacity: 1;
  transition-delay: 0.55s;
}

.profile-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.profile-hello {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.profile-role {
  font-size: 10.5px;
  color: var(--muted);
  text-align: right;
}

.about-statement {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.about-text {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

.tags {
  margin-top: auto;
}

.tags + .tags {
  margin-top: 14px;
}

.tags-title {
  margin-bottom: 6px;
  font-size: 10.5px;
  color: var(--muted);
}

.tags ul {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  list-style: none;
}

.tags li {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--soft);
  font-size: 11.5px;
}

.card-numbers {
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.number {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}

.number + .number {
  border-top: 1px solid var(--line);
}

.number-value {
  font-size: 76px;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.85;
}

.number-label {
  padding-bottom: 4px;
  font-size: 11px;
  color: var(--muted);
}

.card-experience {
  gap: 20px;
  padding-top: 26px;
}

.job {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
}

.job-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--soft);
  font-size: 12px;
  font-weight: 600;
  color: #555;
}

.job-mark.is-star {
  background: var(--ink);
  color: #fff;
}

.job-mark svg {
  width: 16px;
  height: 16px;
}

.job-title {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.job-meta {
  margin-top: 2px;
  font-size: 10.5px;
  color: var(--muted);
}

.job-text {
  margin-top: 5px;
  font-size: 11.5px;
  color: #4e4e4e;
  line-height: 1.4;
}

/* ---------------------------------------------------------------- Contacto */
.contact {
  display: grid;
  place-items: center;
  padding: 84px 16px calc(var(--dock) + 36px);
}

.contact-frame {
  position: relative;
  width: min(880px, 100%);
  padding: 26px 28px 18px;
  background: var(--paper);
}

.contact-frame .frame-handles {
  opacity: 1;
}

.contact-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.contact-title {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.contact-text {
  max-width: 46ch;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.socials a {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.socials a:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.booker {
  display: grid;
  grid-template-columns: 1fr 210px;
  max-width: 640px;
  margin: 28px auto 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.cal {
  padding: 18px;
  border-right: 1px solid var(--line);
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cal-title,
.slots-title {
  font-size: 13px;
  color: var(--muted);
}

.cal-title b,
.slots-title b {
  color: var(--ink);
  font-weight: 600;
}

.cal-navs {
  display: flex;
  gap: 2px;
}

.cal-nav {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  font-size: 14px;
}

.cal-nav:hover:not(:disabled) {
  background: var(--soft);
}

.cal-nav:disabled {
  opacity: 0.3;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.cal-dow {
  padding: 2px 0 4px;
  font-size: 10px;
  color: var(--muted);
  text-align: center;
}

.cal-day {
  position: relative;
  aspect-ratio: 1;
  border-radius: 7px;
  background: #ececec;
  font-size: 12.5px;
  font-weight: 500;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.cal-day:disabled {
  background: none;
  color: #c2c2c2;
}

.cal-day:not(:disabled):hover {
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.cal-day.is-on {
  background: var(--ink);
  color: #fff;
}

.cal-day.is-today::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: currentColor;
}

.slots {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: 330px;
  padding: 18px 14px;
}

.slots-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.fmt {
  display: flex;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.fmt button {
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 10.5px;
  color: var(--muted);
}

.fmt button[aria-pressed='true'] {
  background: var(--soft);
  color: var(--ink);
}

.slots-list {
  display: grid;
  gap: 6px;
  overflow: auto;
  list-style: none;
}

.slots-list li.is-picked {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.slot,
.slot-ask {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  padding: 8px 6px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.slot:hover {
  border-color: var(--ink);
}

.is-picked .slot {
  border-color: #5f5f5f;
  background: #5f5f5f;
  color: #fff;
}

.slot-ask {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  animation: ask 0.35s var(--spring);
}

@keyframes ask {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
}

.slots-note {
  margin-top: 10px;
  font-size: 10.5px;
  color: var(--muted);
}

.booker-foot {
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
}

/* ---------------------------------------------------------------- Pantallas estrechas */
@media (max-width: 760px) {
  :root {
    --dock: 58px;
  }

  .top {
    height: 46px;
    padding: 0 14px;
    font-size: 12px;
  }

  .dock {
    font-size: 12px;
    padding: 4px;
  }

  .dock-tabs a {
    padding: 6px 7px;
  }

  .dock-sep {
    margin: 0 2px;
  }

  .dock-count {
    min-width: 40px;
  }

  .contact {
    place-items: start center;
    padding-top: 66px;
    overflow-y: auto;
  }

  .contact-frame {
    padding: 20px 16px 14px;
  }

  .contact-head {
    flex-direction: column;
    gap: 14px;
  }

  .booker {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .cal {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px;
  }

  .slots {
    max-height: none;
    padding: 14px;
  }

  .slots-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .slots-list li.is-picked {
    grid-column: span 2;
  }
}

@media (max-width: 400px) {
  .dock-tabs a {
    padding: 6px 5px;
  }

  .dock-btn {
    width: 24px;
  }
}

/* ---------------------------------------------------------------- Sin movimiento */
.motion-none *,
.motion-none *::before,
.motion-none *::after {
  transition-duration: 0s !important;
  transition-delay: 0s !important;
  animation-duration: 0s !important;
}

.motion-none .caret {
  display: none !important;
}

.noscript {
  position: fixed;
  inset: auto 16px 16px;
  padding: 14px;
  background: var(--paper);
  font-size: 14px;
}

/* ---------------------------------------------------------------- 404 */
.lost {
  position: fixed;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
}

.lost svg {
  width: 26px;
  height: 26px;
}

.lost h1 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.lost p {
  max-width: 36ch;
  color: var(--muted);
}
