/* MM4U · Models (models.html). Página en negro: se distingue de Talento (claro) y se siente aspiracional.
   Animaciones: ligadas al scroll con CSS (animation-timeline) donde el navegador las soporta; si no, la página se
   ve igual sin movimiento. Todo se apaga con «reducir movimiento». Sin naranja. */
.page-models {
  --md-bg: #000;
  --md-ink: #f4f2ee;
  --md-mute: rgba(244, 242, 238, .64);
  --md-line: rgba(244, 242, 238, .14);
  --md-card: #1b1917;
  --md-ease: cubic-bezier(.16, 1, .3, 1);
  --md-gut: clamp(16px, 3vw, 44px);
  background: var(--md-bg);
  color: var(--md-ink);
}
.page-models body, body.page-models { background: var(--md-bg); }
body.page-models > main#main { padding-top: 0; }
.mdl { color: var(--md-ink); }
.mdl :focus-visible { outline: 2px solid var(--md-ink); outline-offset: 3px; }
.mdl-kicker { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--md-mute); }
.mdl h2, .mdl h3 { color: var(--md-ink); }

/* Botones */
.mdl-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px rgba(244, 242, 238, .35); color: var(--md-ink); font: 700 15px/1 var(--s-text, Inter, sans-serif); text-decoration: none; cursor: pointer; transition: background .2s ease, color .2s ease, transform .16s ease-out; }
.mdl-btn:hover { background: var(--md-ink); color: var(--md-bg); }
.mdl-btn:active { transform: scale(.97); }
.mdl-btn.is-light { background: var(--md-ink); color: var(--md-bg); box-shadow: none; }
.mdl-btn.is-light:hover { background: #fff; }
.mdl-btn.is-ghost { box-shadow: inset 0 0 0 1px rgba(244, 242, 238, .3); }
.mdl-btn:disabled { opacity: .55; cursor: wait; }
.mdl-link { padding: 0; border: 0; background: none; color: var(--md-ink); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Without a scroll timeline the wordmark and the two routes remain in normal flow. */
.mdl-hero { position: relative; background: #000; }
.mdl-stage { position: relative; isolation: isolate; }
.mdl-screen { position: relative; height: max(330px, 68svh); overflow: clip; }
.mdl-hero h1.mdl-hero-title {
  position: absolute; z-index: 1; top: 47%; left: 50%; translate: -50% -50%;
  width: min(92%, 1080px); margin: 0; color: #000; pointer-events: none;
}
.mdl-stencil { display: block; width: 100%; height: auto; overflow: visible; }
.mdl-stencil path { stroke: none; }
.mdl-hero-media { position: absolute; inset: 0; background: var(--md-card); }
.mdl-hero-media :is(picture, img, video) { position: absolute; inset: 0; width: 100%; height: 100%; }
.mdl-hero-media :is(img, video) { object-fit: cover; object-position: 50% 37%; }
.mdl-hero-video { opacity: 0; transition: opacity .38s ease-out; }
.mdl-hero-video.is-on { opacity: 1; }
.mdl-hero-pause, .mdl-film-cue {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px;
  border-radius: 50%; background: rgba(0, 0, 0, .78); border: 1px solid rgba(244, 242, 238, .4);
  color: var(--md-ink);
}
.mdl-hero-pause { position: absolute; z-index: 2; top: clamp(82px, 9svh, 106px); right: var(--md-gut); cursor: pointer; transition: background .18s, color .18s; }
.mdl-hero-pause:hover { background: var(--md-ink); color: var(--md-bg); }
.mdl-hero-pause:not([data-playing]) .mdl-pause-icon,
.mdl-hero-pause[data-playing] .mdl-play-icon, .mdl-film-cue, .mdl-shot-end { display: none; }
.mdl-hero-copy { padding: 18px var(--md-gut); }
.mdl-hero-lead { max-width: min(52ch, 100% - 2 * var(--md-gut)); margin: 0 auto 26px; text-align: center; font-size: 14px; line-height: 1.55; color: rgba(244, 242, 238, .78); }
/* Dos accesos minimalistas: marfil (marcas) y vidrio (talento). */
.mdl-paths {
  --mdl-control-ink: #1a1613;
  --mdl-control-ivory: #f5f3ef;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.mdl-path {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 22px;
  border-radius: 999px; background: rgba(245, 243, 239, .08); color: var(--mdl-control-ivory);
  font-size: 14px; font-weight: 600; letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(245, 243, 239, .38);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: background .25s ease, color .25s ease, transform .25s var(--md-ease);
}
.mdl-path.is-main { background: var(--mdl-control-ivory); color: var(--mdl-control-ink); box-shadow: none; }
.mdl-path svg { transition: transform .3s var(--md-ease); }
.mdl-path:hover { background: rgba(245, 243, 239, .18); }
.mdl-path.is-main:hover { background: #fff; }
.mdl-path:hover svg { transform: translate(2px, -2px); }
.mdl-path:active { transform: scale(.97); }
.mdl-path:focus-visible { outline: 2px solid var(--mdl-control-ivory); outline-offset: 3px; }
.mdl-hero-logo { display: none; }
@media (max-width: 720px) {
  .mdl-path { height: 44px; padding: 0 14px 0 18px; font-size: 13.5px; }
}

/* La placa con el logo «Select models» se acerca por el trazo de en medio de la «m»; el video va en otra capa. */
@media (prefers-reduced-motion: no-preference) and (min-height: 490px) {
  /* models-scroll.js mueve estas animaciones con el scroll (html.mdl-shot): cada una dura 1 s, está en pausa y el script
     fija su currentTime. Solo transform y opacity, cada pieza en su propia capa: el iPhone no repinta al bajar. */
  html.mdl-shot .mdl-hero { min-height: 120svh; }
  html.mdl-shot .mdl-stage { position: sticky; top: 0; height: 100svh; overflow: clip; }
  html.mdl-shot .mdl-screen { position: absolute; inset: 0; height: auto; }
  html.mdl-shot .mdl-hero h1.mdl-hero-title { transform-origin: 55.5% 69.16%; }
  html.mdl-shot :is(.mdl-hero-logo, .mdl-hero-copy, .mdl-film-cue) { will-change: transform, opacity; }
  html.mdl-shot .mdl-film-cue { display: grid; position: absolute; z-index: 2; left: 50%; bottom: max(30px, env(safe-area-inset-bottom)); translate: -50% 0; }
  html.mdl-shot .mdl-film-cue:hover { background: var(--md-ink); color: var(--md-bg); }
  html.mdl-shot .mdl-shot-end { display: block; position: absolute; top: calc(100% - 100svh + 80px); }
  html.mdl-shot .mdl-hero-copy { position: absolute; z-index: 3; inset-inline: 0; bottom: max(44px, calc(env(safe-area-inset-bottom) + 32px)); padding: 0 var(--md-gut); }
  html.mdl-shot .mdl-hero-logo { display: block; position: absolute; z-index: 3; left: 50%; top: 47%; width: min(78%, 760px); height: auto; translate: -50% -50%; pointer-events: none; filter: drop-shadow(0 6px 30px rgba(0, 0, 0, .35)); animation: mdl-logo-in linear both; animation-duration: 1s; animation-play-state: paused; }
  html.mdl-shot .mdl-stage::after { content: ""; position: absolute; z-index: 2; inset: auto 0 0; height: 100%; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, .12) 40%, rgba(0, 0, 0, .6)); animation: mdl-routes-in linear both; animation-duration: 1s; animation-play-state: paused; }
  html.mdl-shot .mdl-hero-lead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

  html.mdl-shot .mdl-hero h1.mdl-hero-title { animation: mdl-dolly linear both; }
  html.mdl-shot .mdl-hero-media { animation: mdl-push linear both; transform-origin: 50% 45%; }
  html.mdl-shot .mdl-film-cue { animation: mdl-cue-out linear both; }
  html.mdl-shot .mdl-hero-copy, html.mdl-shot .mdl-hero-lead { animation: mdl-routes-in linear both; }
  html.mdl-shot .mdl-stage :is(h1.mdl-hero-title, .mdl-hero-media, .mdl-film-cue, .mdl-hero-copy, .mdl-hero-lead) {
    animation-duration: 1s; animation-play-state: paused;
  }
  html.mdl-shot .mdl-stage:has(.mdl-hero-copy :focus-visible) :is(.mdl-hero-copy, .mdl-hero-lead) { animation: none; }
  html.mdl-shot .mdl-stage:has(.mdl-hero-copy :focus-visible) .mdl-hero-title { animation: none; opacity: 0; }
  html.mdl-shot .mdl-stage:has(.mdl-hero-copy :focus-visible) .mdl-film-cue { visibility: hidden; }

  /* Celular (models-scroll.js pone html.mdl-auto): la entrada corre sola al abrir, en la capa gráfica del teléfono.
     Amarrada al dedo se sentía trabada en iPhone (el scroll lo mueve el sistema y la animación llega un cuadro tarde). */
  html.mdl-shot.mdl-auto .mdl-hero { min-height: 100svh; }
  html.mdl-shot.mdl-auto .mdl-stage :is(h1.mdl-hero-title, .mdl-hero-media, .mdl-film-cue, .mdl-hero-copy, .mdl-hero-lead),
  html.mdl-shot.mdl-auto .mdl-hero-logo,
  html.mdl-shot.mdl-auto .mdl-stage::after { animation-duration: 2.2s; animation-delay: .2s; animation-play-state: running; }
}
/* Dolly in por el trazo de en medio de la «m»: escala exponencial (ritmo visual constante) que arranca suave y
   acelera al cruzar la «m», como un push-in de cámara; la placa solo se desvanece en el último tramo. Detrás, el
   video avanza un poco hacia la cámara (mdl-push). 20 pasos entre 7 % y 84 %. */
@keyframes mdl-dolly {
  0%, 7% { transform: translate(0, 0) scale(1); opacity: 1; }
  10.85% { transform: translate(-0.034%, -0.118%) scale(1.022); opacity: 1.000; }
  14.70% { transform: translate(-0.110%, -0.382%) scale(1.074); opacity: 1.000; }
  18.55% { transform: translate(-0.219%, -0.762%) scale(1.153); opacity: 1.000; }
  22.40% { transform: translate(-0.357%, -1.242%) scale(1.262); opacity: 1.000; }
  26.25% { transform: translate(-0.521%, -1.815%) scale(1.404); opacity: 1.000; }
  30.10% { transform: translate(-0.710%, -2.475%) scale(1.589); opacity: 1.000; }
  33.95% { transform: translate(-0.923%, -3.216%) scale(1.825); opacity: 1.000; }
  37.80% { transform: translate(-1.158%, -4.036%) scale(2.127); opacity: 1.000; }
  41.65% { transform: translate(-1.415%, -4.930%) scale(2.515); opacity: 1.000; }
  45.50% { transform: translate(-1.693%, -5.897%) scale(3.013); opacity: 1.000; }
  49.35% { transform: translate(-1.991%, -6.934%) scale(3.658); opacity: 1.000; }
  53.20% { transform: translate(-2.308%, -8.040%) scale(4.498); opacity: 1.000; }
  57.05% { transform: translate(-2.644%, -9.212%) scale(5.601); opacity: 1.000; }
  60.90% { transform: translate(-2.999%, -10.449%) scale(7.059); opacity: 1.000; }
  64.75% { transform: translate(-3.373%, -11.749%) scale(9.002); opacity: 1.000; }
  68.60% { transform: translate(-3.764%, -13.111%) scale(11.614); opacity: 1.000; }
  72.45% { transform: translate(-4.172%, -14.535%) scale(15.157); opacity: 1.000; }
  76.30% { transform: translate(-4.598%, -16.018%) scale(20.003); opacity: 1.000; }
  80.15% { transform: translate(-5.041%, -17.560%) scale(26.690); opacity: 0.835; }
  84%, 100% { transform: translate(-5.5%, -19.16%) scale(36); opacity: 0; }
}
@keyframes mdl-push {
  0%, 7% { transform: scale(1.24); animation-timing-function: cubic-bezier(.45, 0, .25, 1); }
  84%, 100% { transform: scale(1); }
}

@keyframes mdl-cue-out {
  0%, 12% { opacity: 1; visibility: visible; }
  38%, 100% { opacity: 0; visibility: hidden; }
}
@keyframes mdl-logo-in {
  0%, 81% { opacity: 0; transform: translateY(14px) scale(.96); }
  96%, 100% { opacity: 1; transform: none; }
}
@keyframes mdl-routes-in {
  0%, 79% { opacity: 0; transform: translateY(10px); pointer-events: none; }
  92%, 100% { opacity: 1; transform: none; pointer-events: auto; }
}

/* ───────── Board ───────── */
.mdl-board { padding: clamp(64px, 8vw, 110px) var(--md-gut) 40px; display: grid; gap: 28px; }
.mdl-board-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--md-line); }
.mdl-board-head h2 { margin: 0; font-size: 4rem; line-height: 1.06; letter-spacing: 0; }
.mdl-board-meta { margin: 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--md-mute); }
.mdl-filters { position: sticky; top: clamp(78px, 8vw, 96px); z-index: 5; display: flex; align-items: center; gap: 10px; margin: 0 calc(-1 * var(--md-gut)); padding: 10px var(--md-gut) 14px; overflow-x: auto; scrollbar-width: none; background: linear-gradient(var(--md-bg) 82%, rgba(0, 0, 0, 0)); }
.mdl-filters::-webkit-scrollbar { display: none; }
.mdl-filters > * { flex: none; }
.mdl-seg { display: flex; padding: 4px; border-radius: 999px; background: var(--md-card); }
.mdl-seg button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--md-ink); font: 500 14px var(--s-text, Inter, sans-serif); cursor: pointer; transition: background .2s ease, color .2s ease; }
.mdl-seg button[aria-pressed="true"] { background: var(--md-ink); color: var(--md-bg); font-weight: 600; }
.mdl-selects { display: flex; gap: 8px; }
.mdl-select { appearance: none; min-height: 44px; padding: 0 34px 0 16px; border: 0; border-radius: 999px; background: var(--md-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23f4f2ee' stroke-width='1.5'/%3E%3C/svg%3E") right 14px center no-repeat; box-shadow: inset 0 0 0 1px rgba(244, 242, 238, .16); color: var(--md-ink); font: 500 14px var(--s-text, Inter, sans-serif); cursor: pointer; }
.mdl-select.is-on { background-color: var(--md-ink); color: var(--md-bg); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%230c0b0a' stroke-width='1.5'/%3E%3C/svg%3E"); }
.mdl-select option { background: var(--md-card); color: var(--md-ink); }
.mdl-count { margin: 0 0 0 auto; padding-left: 8px; font-size: 13px; color: var(--md-mute); white-space: nowrap; }

.mdl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(12px, 1.7vw, 24px); }
.mdl-card { position: relative; }
.mdl-card-open { display: grid; gap: 12px; width: 100%; padding: 0; border: 0; background: none; color: var(--md-ink); text-align: left; font: inherit; cursor: pointer; }
.mdl-card-media { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 6px; background: var(--md-card); }
.mdl-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .9s var(--md-ease), opacity .45s ease; }
.mdl-card-media .is-alt { opacity: 0; }
.mdl-card-open:hover .mdl-card-media img { transform: scale(1.035); }
.mdl-card-open:hover .mdl-card-media .is-alt { opacity: 1; }
.mdl-new { position: absolute; top: 12px; left: 12px; z-index: 1; display: flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; background: var(--md-ink); color: var(--md-bg); font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.mdl-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 12px; color: var(--md-mute); }
.mdl-card-name { font-size: 14.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--md-ink); }
.mdl-card-line { margin-top: -6px; font-size: 12.5px; letter-spacing: .04em; color: rgba(244, 242, 238, .72); font-variant-numeric: tabular-nums; }
.mdl-card-add { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(244, 242, 238, .35); color: var(--md-ink); font: 300 22px/1 var(--s-text, Inter, sans-serif); cursor: pointer; transition: background .2s ease, color .2s ease, transform .16s ease-out; }
.mdl-card-add:hover, .mdl-card-add.is-on { background: var(--md-ink); color: var(--md-bg); }
.mdl-card-add:active { transform: scale(.92); }
.mdl-none { margin: 0; padding: 40px 0; text-align: center; color: var(--md-mute); }

.mdl-soon { display: grid; justify-items: start; gap: 18px; padding: clamp(36px, 5vw, 64px); border-radius: 28px; background: var(--md-card); }
.mdl-soon h3 { margin: 0; font-size: clamp(34px, 4vw, 56px); line-height: .95; letter-spacing: -.05em; font-family: var(--s-title); font-weight: 800; }
.mdl-soon p:not(.mdl-kicker) { max-width: 48ch; margin: 0; font-size: 16px; line-height: 1.55; color: var(--md-mute); }
.mdl-soon-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ───────── Registro ───────── */
.mdl-join { margin: clamp(40px, 6vw, 80px) var(--md-gut) clamp(40px, 6vw, 80px); display: grid; grid-template-columns: minmax(280px, 440px) minmax(0, 1fr); border-radius: 28px; overflow: hidden; background: var(--md-card); scroll-margin-top: 90px; }
.mdl-join-side { position: relative; min-height: 520px; }
/* Registro: tres fotos de campaña que se van empujando de lado (6 s cada una). */
.mdl-join-photos { position: absolute; inset: 0; overflow: hidden; background: #111; }
.mdl-join-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mdl-join-photos .is-1 { object-position: 50% 40%; }
.mdl-join-photos .is-2 { object-position: 42% 30%; }
.mdl-join-photos .is-3 { object-position: 50% 30%; }
@media (prefers-reduced-motion: reduce) { .mdl-join-photos .is-2, .mdl-join-photos .is-3 { visibility: hidden; } }
@media (prefers-reduced-motion: no-preference) {
  .mdl-join-photos img { transform: translateX(100%); animation: mdl-join-slide 18s infinite both; animation-delay: -.9s; }
  .mdl-join-photos .is-2 { animation-delay: 5.1s; }
  .mdl-join-photos .is-3 { animation-delay: 11.1s; }
}
@keyframes mdl-join-slide {
  0% { transform: translateX(100%); animation-timing-function: cubic-bezier(.77, 0, .175, 1); }
  5%, 33.33% { transform: translateX(0); animation-timing-function: cubic-bezier(.77, 0, .175, 1); }
  38.33%, 100% { transform: translateX(-100%); }
}
.mdl-join-copy { position: absolute; inset: auto 0 0; display: grid; gap: 14px; padding: 36px; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .16) 10%, rgba(0, 0, 0, .45) 22%, rgba(0, 0, 0, .74) 34%, rgba(0, 0, 0, .9) 46%, rgba(0, 0, 0, .94) 60%); }
.mdl-join-copy h2 { margin: 0; font-size: clamp(48px, 5vw, 72px); line-height: .86; letter-spacing: -.06em; }
.mdl-join-copy p:not(.mdl-kicker) { margin: 0; font-size: 15px; line-height: 1.55; color: rgba(244, 242, 238, .82); }
.mdl-join-copy ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 13.5px; color: var(--md-mute); }
.mdl-join-copy li::before { content: "— "; }

.mdl-form { padding: clamp(24px, 4vw, 48px) clamp(20px, 4vw, 60px); display: grid; gap: 22px; align-content: start; background: var(--md-bg); }
.mdl-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.mdl-steps li { display: grid; gap: 10px; font-size: 12px; color: var(--md-mute); }
.mdl-steps li::before { content: ""; height: 4px; border-radius: 4px; background: rgba(244, 242, 238, .18); transition: background .4s ease; }
.mdl-steps li span { display: none; }
.mdl-steps li.is-done::before, .mdl-steps li[aria-current]::before { background: var(--md-ink); }
.mdl-steps li[aria-current] { color: var(--md-ink); font-weight: 700; }
.mdl-step { margin: 0; padding: 0; border: 0; display: grid; gap: 20px; min-width: 0; }
.mdl-step[hidden] { display: none; }
.mdl-step > legend { padding: 0; margin-bottom: 4px; font-family: var(--s-title); font-size: clamp(28px, 2.6vw, 38px); font-weight: 800; letter-spacing: -.04em; color: var(--md-ink); }
.mdl-step > legend:focus { outline: 0; }
.mdl-help { margin: -8px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--md-mute); }
.mdl-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mdl-fields.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mdl-fields .span-2 { grid-column: span 2; }
.mdl-fields label, .mdl-wide { display: grid; gap: 8px; font-size: 13px; font-weight: 600; color: var(--md-ink); }
.mdl-fields small, .mdl-box legend small { font-weight: 400; color: var(--md-mute); }
.mdl input:not([type=checkbox]):not([type=radio]):not([type=file]), .mdl select:not(.mdl-select), .mdl textarea { width: 100%; min-height: 52px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--md-card); box-shadow: inset 0 0 0 1px rgba(244, 242, 238, .14); color: var(--md-ink); font: 400 16px var(--s-text, Inter, sans-serif); color-scheme: dark; transition: box-shadow .2s ease; }
.mdl textarea { padding: 14px 16px; resize: vertical; }
.mdl input::placeholder, .mdl textarea::placeholder { color: rgba(244, 242, 238, .38); }
.mdl input:focus, .mdl select:focus, .mdl textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--md-ink); }
.mdl input:user-invalid, .mdl select:user-invalid { box-shadow: inset 0 0 0 2px #e8a08a; }

.mdl-chips, .mdl-skins, .mdl-box { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.mdl-chips > legend, .mdl-skins > legend, .mdl-box > legend { float: left; width: 100%; margin-bottom: 10px; padding: 0; font-size: 13px; font-weight: 600; color: var(--md-ink); }
.mdl-chips label { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--md-card); box-shadow: inset 0 0 0 1px rgba(244, 242, 238, .16); font-size: 14px; cursor: pointer; transition: background .2s ease, color .2s ease; }
.mdl-chips input, .mdl-skins input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mdl-chips label:has(input:checked) { background: var(--md-ink); color: var(--md-bg); font-weight: 600; }
.mdl-chips label:has(input:focus-visible), .mdl-skins label:has(input:focus-visible) { outline: 2px solid var(--md-ink); outline-offset: 3px; }
.mdl-skins label { position: relative; display: grid; justify-items: center; gap: 6px; font-size: 11.5px; color: var(--md-mute); cursor: pointer; }
.mdl-skins label::before { content: ""; width: 44px; height: 44px; border-radius: 50%; transition: box-shadow .2s ease; }
.mdl-skins .s1::before { background: #f3dcc8; } .mdl-skins .s2::before { background: #e6bf9c; } .mdl-skins .s3::before { background: #c99467; }
.mdl-skins .s4::before { background: #9c6a43; } .mdl-skins .s5::before { background: #6b4329; } .mdl-skins .s6::before { background: #3f2718; box-shadow: inset 0 0 0 1px rgba(244, 242, 238, .25); }
.mdl-skins label:has(input:checked)::before { box-shadow: 0 0 0 3px var(--md-bg), 0 0 0 5px var(--md-ink); }
.mdl-skins label:has(input:checked) { color: var(--md-ink); font-weight: 600; }
.mdl-box { display: block; padding: 16px 18px; border-radius: 16px; background: var(--md-card); }
.mdl-checks { clear: both; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 20px; }
.mdl-checks.is-2 { grid-template-columns: 1fr; }
.mdl-checks label, .mdl-consents label { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; cursor: pointer; }
.mdl input[type=checkbox], .mdl input[type=radio] { width: 18px; height: 18px; min-height: 0; flex: none; accent-color: var(--md-ink); }
.mdl-box .mdl-help { margin: 8px 0 0; }
.mdl-consents { display: grid; gap: 2px; }
.mdl-consents a { color: var(--md-ink); }

.mdl-photos-block { display: grid; gap: 10px; }
.mdl-photos-block h3 { margin: 0; font-size: 16px; }
.mdl-photos-block h3 small { font-weight: 400; color: var(--md-mute); }
.mdl-slots { display: grid; gap: 10px; clear: both; }
.mdl-slots.is-3 { grid-template-columns: repeat(3, minmax(0, 150px)); }
.mdl-slots.is-4 { grid-template-columns: repeat(auto-fill, minmax(96px, 120px)); }
.mdl-slot { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 8px; border: 1.5px dashed rgba(244, 242, 238, .4); font-size: 12.5px; font-weight: 600; text-align: center; color: var(--md-mute); cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.mdl-slot:hover { border-color: var(--md-ink); background: rgba(244, 242, 238, .04); }
.mdl-slot.is-book { font-size: 22px; font-weight: 300; }
.mdl-slot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.mdl-slot:has(input:focus-visible) { outline: 2px solid var(--md-ink); outline-offset: 3px; }
.mdl-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mdl-slot.is-full { border-style: solid; border-color: transparent; }
.mdl-slot.is-full span { position: absolute; left: 6px; bottom: 6px; padding: 4px 9px; border-radius: 999px; background: rgba(0, 0, 0, .78); color: var(--md-ink); font-size: 10.5px; }
.mdl-slot.is-book.is-full span { display: none; }

.mdl-error { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(232, 160, 138, .14); color: #f4c7b9; font-size: 14px; }
.mdl-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; }
.mdl-nav [hidden] { display: none; }
.mdl-saved { margin: 0 auto; font-size: 12px; color: var(--md-mute); text-align: center; }
.mdl-done { display: grid; gap: 14px; padding: 24px 0; }
.mdl-done:focus { outline: 0; }
.mdl-done h3 { margin: 0; font-family: var(--s-title); font-size: clamp(36px, 4vw, 56px); line-height: .95; letter-spacing: -.05em; }
.mdl-done p:not(.mdl-kicker) { margin: 0; max-width: 48ch; color: var(--md-mute); line-height: 1.55; }


/* ───────── Registro de 12 pantallas: encabezado, chips, ruedas, colores y silueta ───────── */
.mdl-rhead { display: flex; align-items: center; gap: 12px; }
.mdl-back { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--md-card); color: var(--md-ink); font-size: 17px; cursor: pointer; transition: opacity .2s ease, transform .15s ease; }
.mdl-back:active { transform: scale(.94); }
.mdl-back.is-off { opacity: 0; pointer-events: none; }
.mdl-prog { flex: 1; height: 4px; border-radius: 4px; background: rgba(244, 242, 238, .18); overflow: hidden; }
.mdl-prog i { display: block; height: 100%; background: var(--md-ink); transform-origin: 0 50%; transform: scaleX(var(--w, .083)); transition: transform .5s var(--md-ease); }
.mdl-rcount { font-size: 12px; color: var(--md-mute); font-variant-numeric: tabular-nums; }
.mdl-in { display: grid; gap: 7px; font-size: 13px; font-weight: 600; color: var(--md-ink); }
.mdl-in[hidden], .mdl-wcell[hidden], .mdl-tattoo[hidden] { display: none; }
.mdl-note { margin: 0; padding: 12px 14px; border-radius: 14px; background: rgba(244, 242, 238, .06); font-size: 12.5px; line-height: 1.5; color: rgba(244, 242, 238, .72); }
.mdl-note b { color: var(--md-ink); }
.mdl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Chips: máximo 4 por fila, todos del mismo tamaño. */
.mdl-step .mdl-chips { display: grid; grid-template-columns: repeat(var(--c, 3), minmax(0, 1fr)); gap: 6px; }
.mdl-step .mdl-chips.is-c1 { --c: 1; } .mdl-step .mdl-chips.is-c2 { --c: 2; } .mdl-step .mdl-chips.is-c3 { --c: 3; } .mdl-step .mdl-chips.is-c4 { --c: 4; }
.mdl-step .mdl-chips > legend { grid-column: 1 / -1; float: none; margin-bottom: 4px; }
.mdl-chips legend small { font-weight: 400; color: var(--md-mute); }
.mdl-step .mdl-chips label { justify-content: center; min-height: 42px; padding: 0 6px; border-radius: 12px; font-size: 13.5px; font-weight: 600; white-space: nowrap; text-align: center; }
.mdl-step .mdl-chips.is-small label { font-size: 12.5px; letter-spacing: -.01em; }
.mdl-chips label:active { transform: scale(.97); }

/* Ruedas: lista con scroll-snap; la opción centrada queda elegida. */
.mdl-wheels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.mdl-wheels.is-c1 { grid-template-columns: 1fr; }
.mdl-wheels-t { grid-column: 1 / -1; margin: 0; font-size: 13px; font-weight: 600; }
.mdl-wheels-t small { font-weight: 400; color: var(--md-mute); }
.mdl-wcell { min-width: 0; }
.mdl-wheel { --i: 38px; margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 6px; }
.mdl-wheel > legend { float: left; width: 100%; padding: 0; margin-bottom: 6px; text-align: center; font-size: 12px; font-weight: 700; }
.mdl-wheel > legend small { display: block; font-size: 10.5px; font-weight: 500; color: var(--md-mute); }
.mdl-wheels.is-date .mdl-wheel > legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.mdl-wheel-list { position: relative; clear: both; height: calc(var(--i) * 5); overflow-y: auto; overscroll-behavior: contain; scroll-snap-type: y mandatory; padding-block: calc(var(--i) * 2); border-radius: 16px; background: linear-gradient(var(--md-card), var(--md-card)) padding-box; scrollbar-width: none; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.mdl-wheel-list::-webkit-scrollbar { display: none; }
.mdl-wheel { position: relative; }
.mdl-wheel::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: calc(var(--i) * 2); height: var(--i); border-radius: 10px; background: rgba(244, 242, 238, .1); pointer-events: none; }
.mdl-wheel-list label { display: grid; place-items: center; height: var(--i); scroll-snap-align: center; font-size: 15px; font-weight: 500; color: rgba(244, 242, 238, .4); font-variant-numeric: tabular-nums; cursor: pointer; transition: color .15s ease, font-size .15s ease; }
.mdl-wheel-list input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mdl-wheel-list label.is-c { font-size: 19px; color: rgba(244, 242, 238, .75); }
.mdl-wheel-list label:has(input:checked) { font-size: 19px; font-weight: 800; color: var(--md-ink); }
.mdl-wheel-list label:has(input:focus-visible) { outline: 2px solid var(--md-ink); outline-offset: -4px; border-radius: 10px; }

/* Tarifa: rueda + opciones a un lado. */
.mdl-rate { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 6px; align-items: end; }
.mdl-rate .mdl-chips.is-stack label { min-height: 88px; white-space: normal; line-height: 1.25; }

/* Colores: 6 círculos por fila. */
.mdl-swatches { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; min-width: 0; }
.mdl-swatches > legend { grid-column: 1 / -1; float: left; width: 100%; padding: 0; margin-bottom: 10px; font-size: 13px; font-weight: 600; }
.mdl-swatches label { position: relative; display: grid; justify-items: center; gap: 7px; font-size: 11px; color: var(--md-mute); text-align: center; cursor: pointer; }
.mdl-swatches input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mdl-swatches i { width: 42px; height: 42px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(244, 242, 238, .18); transition: box-shadow .2s ease, transform .15s ease; }
.mdl-swatches label:active i { transform: scale(.94); }
.mdl-swatches label:has(input:checked) { color: var(--md-ink); font-weight: 700; }
.mdl-swatches label:has(input:checked) i { box-shadow: 0 0 0 2px var(--md-bg), 0 0 0 4px var(--md-ink); }
.mdl-swatches label:has(input:focus-visible) i { outline: 2px solid var(--md-ink); outline-offset: 5px; }
.sw-ojos-1 i { background: #1d1411; } .sw-ojos-2 i { background: hsl(23 52% 19%); } .sw-ojos-3 i { background: hsl(34 56% 39%); } .sw-ojos-4 i { background: #5f7d4b; } .sw-ojos-5 i { background: #5a80a8; } .sw-ojos-6 i { background: #8b9196; }
.sw-cabello-1 i { background: #151110; } .sw-cabello-2 i { background: hsl(26 45% 24%); } .sw-cabello-3 i { background: #d6b36e; } .sw-cabello-4 i { background: hsl(14 59% 40%); } .sw-cabello-5 i { background: #c9c6c0; } .sw-cabello-6 i { background: conic-gradient(#d55, #57c, #5b8, #d55); }
.sw-piel-1 i { background: hsl(27 68% 86%); } .sw-piel-2 i { background: hsl(27 56% 74%); } .sw-piel-3 i { background: hsl(27 43% 59%); } .sw-piel-4 i { background: hsl(26 37% 44%); } .sw-piel-5 i { background: hsl(22 38% 30%); } .sw-piel-6 i { background: hsl(21 39% 17%); }

/* Silueta de frente y de espalda: cada zona es una casilla que se toca. */
.mdl-map { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; min-width: 0; }
.mdl-map > legend { grid-column: 1 / -1; float: left; width: 100%; padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.mdl-map > legend small { font-weight: 400; color: var(--md-mute); }
.mdl-body { display: grid; justify-items: center; gap: 6px; padding: 12px 6px 10px; border-radius: 16px; background: var(--md-card); font-size: 11px; color: var(--md-mute); }
.mdl-fig { position: relative; width: min(118px, 100%); aspect-ratio: 120 / 262; }
.mdl-fig > * { position: absolute; display: block; border-radius: 8px; background: rgba(244, 242, 238, .16); }
.mdl-fig label { cursor: pointer; transition: background .15s ease; }
.mdl-fig label:hover { background: rgba(244, 242, 238, .32); }
.mdl-fig label:has(input:checked) { background: var(--md-ink); }
.mdl-fig label:has(input:focus-visible) { outline: 2px solid var(--md-ink); outline-offset: 2px; }
.mdl-fig input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mdl-fig i { background: rgba(244, 242, 238, .08); }
.mdl-fig .z-cabeza { left: 38.3%; top: 1.5%; width: 23.3%; height: 13%; border-radius: 40%; }
.mdl-fig .z-cuello, .mdl-fig .z-nuca { left: 44.2%; top: 14.5%; width: 11.7%; height: 3.8%; border-radius: 3px; }
.mdl-fig .z-pecho, .mdl-fig .z-esp-alta { left: 30%; top: 18.3%; width: 40%; height: 16%; border-radius: 10px; }
.mdl-fig .z-abdomen, .mdl-fig .z-esp-baja { left: 31.7%; top: 35.1%; width: 36.7%; height: 15.3%; }
.mdl-fig .z-cadera, .mdl-fig .z-gluteos { left: 31.7%; top: 51.1%; width: 36.7%; height: 8.4%; }
.mdl-fig .z-brazo-d { left: 16.7%; top: 19.8%; width: 11.7%; height: 16.8%; } .mdl-fig .z-brazo-i { left: 71.7%; top: 19.8%; width: 11.7%; height: 16.8%; }
.mdl-fig .z-ante-d { left: 13.3%; top: 37.4%; width: 11.7%; height: 21.4%; } .mdl-fig .z-ante-i { left: 75%; top: 37.4%; width: 11.7%; height: 21.4%; }
.mdl-fig .z-muslo-d { left: 33.3%; top: 60.3%; width: 15.8%; height: 19.1%; } .mdl-fig .z-muslo-i { left: 50.8%; top: 60.3%; width: 15.8%; height: 19.1%; }
.mdl-fig .z-pierna-d { left: 34.2%; top: 80.2%; width: 14.2%; height: 18.3%; } .mdl-fig .z-pierna-i { left: 51.7%; top: 80.2%; width: 14.2%; height: 18.3%; }
.mdl-picked { grid-column: 1 / -1; margin: 2px 0 0; font-size: 12px; color: rgba(244, 242, 238, .72); }
.mdl-tattoo { display: grid; gap: 14px; }

/* Guía de fotos. */
.mdl-guide { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 12px; padding: 14px; border-radius: 16px; background: rgba(244, 242, 238, .06); font-size: 12px; }
.mdl-bg { list-style: none; margin: 8px 0 0; padding: 0; display: flex; gap: 10px; }
.mdl-bg li { display: grid; justify-items: center; gap: 5px; color: var(--md-mute); font-size: 11px; }
.mdl-bg li::before { content: ""; width: 30px; height: 30px; border-radius: 8px; }
.mdl-bg .is-white { color: var(--md-ink); font-weight: 700; } .mdl-bg .is-white::before { background: #f4f2ee; box-shadow: 0 0 0 2px var(--md-bg), 0 0 0 3px var(--md-ink); }
.mdl-bg .is-grey::before { background: #8d8a86; } .mdl-bg .is-black::before { background: #050505; box-shadow: inset 0 0 0 1px rgba(244, 242, 238, .25); }
.mdl-tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; color: rgba(244, 242, 238, .75); }
.mdl-tips li::before { content: "✓ "; }
.mdl-skip { justify-self: start; }
.mdl-next-steps { list-style: none; margin: 4px 0; padding: 0; display: grid; border-radius: 16px; background: var(--md-card); }
.mdl-next-steps li { display: flex; gap: 14px; padding: 14px 16px; border-top: 1px solid var(--md-line); font-size: 13.5px; }
.mdl-next-steps li:first-child { border-top: 0; }
.mdl-next-steps b { width: 22px; font-size: 12px; color: var(--md-mute); font-variant-numeric: tabular-nums; }
.mdl-rhead[hidden], .mdl-saved[hidden], .mdl-nav[hidden] { display: none; }
.mdl-nav { justify-content: stretch; }
.mdl-nav .mdl-btn { flex: 1; justify-content: center; min-height: 54px; }
@media (max-width: 640px) {
  .mdl-step .mdl-chips label { font-size: 13px; }
  .mdl-step .mdl-chips.is-small label { font-size: 12px; }
  .mdl-swatches i { width: 38px; height: 38px; }
  .mdl-wheel-list label.is-c, .mdl-wheel-list label:has(input:checked) { font-size: 17px; }
}

/* ───────── Barra de selección ───────── */
.mdl-bar { position: fixed; left: 50%; bottom: 18px; z-index: 40; translate: -50% 0; display: flex; align-items: center; gap: 14px; max-width: calc(100% - 24px); padding: 8px 8px 8px 12px; border-radius: 999px; background: rgba(27, 25, 23, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(244, 242, 238, .16), 0 20px 50px rgba(0, 0, 0, .5); color: var(--md-ink); }
.mdl-bar[hidden] { display: none; }
.mdl-bar { transition: translate .45s var(--md-ease), opacity .3s ease; }
.mdl-bar.is-away { translate: -50% 160%; opacity: 0; pointer-events: none; }
.mdl-bar p { margin: 0; font-size: 14px; white-space: nowrap; }
.mdl-bar b { display: inline-block; }
.mdl-bar-faces { display: flex; }
.mdl-bar-faces img { width: 36px; height: 36px; margin-left: -10px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #1b1917; }
.mdl-bar-faces img:first-child { margin-left: 0; }
.mdl-bar .mdl-btn { min-height: 46px; }
.mdl-fly { position: fixed; z-index: 60; object-fit: cover; border-radius: 8px; pointer-events: none; }

/* ───────── Ficha ───────── */
.mdl-ficha, .mdl-request { width: min(1320px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 26px; background: var(--md-bg); color: var(--md-ink); box-shadow: 0 40px 120px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(244, 242, 238, .1); }
.mdl-ficha::backdrop, .mdl-request::backdrop { background: rgba(0, 0, 0, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
html.mdl-lock { overflow: hidden; }
.mdl-ficha-inner { position: relative; display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); height: min(820px, calc(100dvh - 24px)); }
.mdl-ficha-info { display: flex; flex-direction: column; gap: 18px; padding: 36px; overflow-y: auto; min-height: 0; }
.mdl-close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(244, 242, 238, .3); color: var(--md-ink); font-size: 16px; cursor: pointer; }
.mdl-request .mdl-close { background: var(--md-card); box-shadow: none; }
.mdl-close:hover { background: var(--md-ink); color: var(--md-bg); }
.mdl-ficha-info h2 { margin: 0; font-size: clamp(40px, 4vw, 60px); line-height: .9; letter-spacing: -.055em; }
.mdl-ficha-from { margin: -8px 0 0; font-size: 14px; color: var(--md-mute); }
.mdl-specs { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--md-line); }
.mdl-specs div { padding: 12px 0; border-bottom: 1px solid var(--md-line); }
.mdl-specs dt { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--md-mute); }
.mdl-specs dd { margin: 4px 0 0; font-size: 18px; font-weight: 600; }
.mdl-ficha-extra { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(244, 242, 238, .72); }
.mdl-ficha-extra:empty { display: none; }
.mdl-ficha-actions { margin-top: auto; display: grid; gap: 10px; }
.mdl-ficha-gallery { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; padding: 16px 16px 16px 0; }
.mdl-ficha-tabs { display: flex; gap: 6px; padding-bottom: 12px; }
.mdl-ficha-tabs button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--md-card); color: var(--md-ink); font: 600 13px var(--s-text, Inter, sans-serif); cursor: pointer; }
.mdl-ficha-tabs button[aria-selected="true"] { background: var(--md-ink); color: var(--md-bg); }
.mdl-ficha-tabs button[hidden] { display: none; }
.mdl-ficha-photos { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: 8px; }
.mdl-ficha-photos::-webkit-scrollbar { display: none; }
.mdl-ficha-photos li { flex: none; height: 100%; aspect-ratio: 3 / 4; scroll-snap-align: start; }
.mdl-ficha-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; background: var(--md-card); }
.mdl-ficha-ctrl { position: absolute; right: 32px; bottom: 32px; display: flex; align-items: center; gap: 10px; }
.mdl-ficha-ctrl span { margin-right: 6px; font-size: 13px; letter-spacing: .16em; font-variant-numeric: tabular-nums; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.mdl-ficha-ctrl button { width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(244, 242, 238, .4); color: var(--md-ink); font-size: 18px; cursor: pointer; }
.mdl-ficha-ctrl button:last-child { background: var(--md-ink); color: var(--md-bg); }
@view-transition { navigation: none; }

/* Pedir disponibilidad */
.mdl-request { width: min(640px, calc(100% - 24px)); }
.mdl-request form { position: relative; display: grid; gap: 18px; padding: 32px; }
.mdl-request h2 { margin: 0; font-size: 34px; letter-spacing: -.04em; padding-right: 48px; }
.mdl-req-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mdl-req-list li { display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 14px; background: var(--md-card); font-size: 14px; }
.mdl-req-list img { width: 40px; height: 52px; border-radius: 6px; object-fit: cover; }
.mdl-req-list button { margin-left: auto; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--md-mute); cursor: pointer; }
.mdl-done-line { margin: 0; color: var(--md-ink); }

/* Títulos de sección. */
.mdl-lr { display: block; overflow: hidden; padding: .32em 0 .08em; margin: -.32em 0 -.08em; }
.mdl-lr > span { display: block; }

/* ───────── Franja de palabras ───────── */
.mdl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mdl-reel { position: relative; padding: clamp(56px, 8vw, 120px) 0 clamp(24px, 4vw, 48px); overflow: hidden; display: grid; gap: clamp(4px, 1vw, 12px); }
.mdl-reel-row { margin: 0; width: max-content; display: flex; gap: .38em; white-space: nowrap; font-family: var(--s-title); font-weight: 800; font-size: 7rem; line-height: 1.08; letter-spacing: 0; }
.mdl-reel-row span { flex: none; }
.mdl-reel-row span::after { content: "·"; margin-left: .38em; opacity: .45; }
.mdl-reel-row.is-b { color: #aaa49d; }
.mdl-reel-copy { max-width: 46ch; margin: clamp(20px, 3vw, 36px) var(--md-gut) 0 auto; padding-right: var(--md-gut); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.5; color: var(--md-mute); }

/* Línea de avance arriba de la pantalla */
.mdl-progress { position: fixed; z-index: 70; top: 0; left: 0; right: 0; height: 3px; background: var(--md-ink); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* ───────── Animaciones con el scroll (CSS) ───────── */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .mdl-progress { animation: mdl-grow linear both; animation-timeline: scroll(root); }
    /* Franja: las palabras corren en sentidos contrarios mientras bajas. */
    .mdl-reel { view-timeline: --mdl-reel block; }
    .mdl-reel-row.is-a { animation: mdl-slide-l linear both; animation-timeline: --mdl-reel; animation-range: entry 0% exit 100%; }
    .mdl-reel-row.is-b { animation: mdl-slide-r linear both; animation-timeline: --mdl-reel; animation-range: entry 0% exit 100%; }
    .mdl-reel-copy { animation: mdl-rise linear both; animation-timeline: view(); animation-range: entry 10% cover 35%; }
    /* Tarjetas: aparecen y la foto se descubre de abajo hacia arriba. */
    .mdl-card { animation: mdl-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
    .mdl-card-media { animation: mdl-curtain linear both; animation-timeline: view(); animation-range: entry 0% cover 34%; }
  }
  /* En pantallas táctiles nada de lo de abajo se mueve con el scroll: en iPhone el recorte de las fotos y las franjas
     se redibujaban en cada cuadro y trababan el scroll. */
  @media (hover: none) and (pointer: coarse) {
    .mdl-progress, .mdl-reel-row.is-a, .mdl-reel-row.is-b, .mdl-reel-copy, .mdl-card, .mdl-card-media { animation: none; }
  }
  .mdl-ficha[open] .mdl-ficha-inner { animation: mdl-ficha-in .22s var(--md-ease) both; }
  /* Cada paso del registro entra deslizándose. */
  .mdl-step:not([hidden]) { animation: mdl-step-in .24s var(--md-ease) both; }
  .mdl-slot.is-full img { animation: mdl-pop .45s var(--md-ease) both; }
}
@keyframes mdl-grow { to { transform: scaleX(1); } }
@keyframes mdl-slide-l { from { transform: translateX(0); } to { transform: translateX(calc(100vw - 100%)); } }
@keyframes mdl-slide-r { from { transform: translateX(calc(100vw - 100%)); } to { transform: translateX(0); } }
@keyframes mdl-step-in { from { opacity: 0; transform: translateX(8px); } }
@keyframes mdl-pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes mdl-rise { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
@keyframes mdl-curtain { from { clip-path: inset(100% 0 0 0 round 6px); } to { clip-path: inset(0 0 0 0 round 6px); } }
@keyframes mdl-ficha-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes mdl-title-in { from { opacity: 0; transform: translateY(.18em); letter-spacing: -.02em; } to { opacity: 1; transform: none; } }
@keyframes mdl-fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ───────── Pantallas medianas y celular ───────── */
@media (max-width: 1100px) {
  .mdl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mdl-join { grid-template-columns: 1fr; }
  .mdl-join-side { min-height: 0; }
  .mdl-join-copy { position: relative; padding-top: clamp(180px, 34vw, 300px); }
  .mdl-fields.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .mdl-ficha-inner { grid-template-columns: 1fr; grid-template-rows: auto auto; height: auto; max-height: calc(100dvh - 24px); overflow-y: auto; }
  .mdl-ficha-gallery { order: -1; padding: 12px 12px 0; }
  .mdl-ficha-photos li { height: min(68vh, 520px); }
  .mdl-ficha-ctrl { right: 22px; bottom: 12px; }
  .mdl-ficha-info { padding: 22px 18px 24px; overflow: visible; }
  .mdl-close { position: fixed; top: 22px; right: 22px; z-index: 2; background: rgba(0, 0, 0, .7); }
  .mdl-checks { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  html.mdl-clear-actions :is(.wa-fab, .fl-launch) { visibility: hidden; }
  .mdl-board-head h2 { font-size: 2.375rem; }
  .mdl-reel-row { font-size: 3.5rem; }
  .mdl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mdl-card-name { font-size: 12.5px; }
  .mdl-card-top > span:last-child { display: none; }
  .mdl-card-line { font-size: 11.5px; }
  .mdl-select { flex: none; }
  .mdl-count { display: none; }
  .mdl-join { margin-inline: 0; border-radius: 0; }
  .mdl-join-copy { padding: 200px 16px 22px; }
  .mdl-form { padding: 22px 16px 28px; }
  .mdl-steps li { font-size: 0; gap: 0; }
  .mdl-steps li[aria-current] { font-size: 11px; gap: 8px; }
  .mdl-fields, .mdl-fields.is-4 { grid-template-columns: 1fr; }
  .mdl-fields .span-2 { grid-column: auto; }
  .mdl-checks { grid-template-columns: 1fr; }
  .mdl-slots.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mdl-slots.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mdl-nav { position: sticky; bottom: 0; z-index: 3; margin: 0 -16px -28px; padding: 12px 16px 18px; background: var(--md-bg); border-top: 1px solid var(--md-line); }
  .mdl-saved { display: none; }
  .mdl-nav .mdl-btn { flex: 1; }
  .mdl-bar { left: 12px; right: 80px; translate: none; bottom: 16px; justify-content: space-between; gap: 10px; padding-left: 16px; }
  .mdl-bar.is-away { translate: 0 160%; }
  .mdl-bar-faces, .mdl-bar p span { display: none; }
  .mdl-bar .mdl-btn { padding: 0 16px; font-size: 14px; }
  .mdl-request form { padding: 24px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .mdl-card-media img, .mdl-path, .mdl-path svg, .mdl-hero-video { transition: none; }
}
.mdl [hidden] { display: none; }
html.mdl-hero-in-view :is(.wa-fab, .fl-launch) { visibility: hidden; }
html.mdl-hero-in-view header.island-wrap.is-hidden { translate: none; }
.mdl-done-also { margin: 18px 0 0; font-size: 14px; line-height: 1.55; color: rgba(245, 243, 239, .75); }
.mdl-done-also a { color: #f5f3ef; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Registro en tablet y celular (13 nov 2026): la foto arriba se funde en negro y el texto va debajo, sin cortes ni bordes */
@media (max-width: 1100px) {
  .mdl-join { --ph: clamp(340px, 62vw, 600px); background: #000; }
  .mdl-join-photos { inset: 0 0 auto; height: var(--ph); background: #000;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 40%, rgba(0, 0, 0, .9) 52%, rgba(0, 0, 0, .7) 64%, rgba(0, 0, 0, .45) 76%, rgba(0, 0, 0, .2) 88%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 40%, rgba(0, 0, 0, .9) 52%, rgba(0, 0, 0, .7) 64%, rgba(0, 0, 0, .45) 76%, rgba(0, 0, 0, .2) 88%, transparent 100%); }
  .mdl-join-copy { padding: calc(var(--ph) - 170px) clamp(20px, 5vw, 48px) 32px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) calc(var(--ph) - 420px), rgba(0, 0, 0, .1) calc(var(--ph) - 360px), rgba(0, 0, 0, .26) calc(var(--ph) - 300px), rgba(0, 0, 0, .48) calc(var(--ph) - 240px), rgba(0, 0, 0, .7) calc(var(--ph) - 180px), rgba(0, 0, 0, .88) calc(var(--ph) - 120px), #000 calc(var(--ph) - 50px)); }
}
@media (max-width: 640px) {
  .mdl-join { --ph: clamp(380px, 118vw, 560px); }
  .mdl-join-copy { padding: calc(var(--ph) - 150px) 16px 24px; }
}

/* «Ya soy creador de MM4U» (13 nov 2026): todo mide lo mismo cerrado, abierto o elegido; la lista flota sin mover nada */
.mdl-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mdl-soy { position: relative; height: 64px; }
.mdl-soy[hidden], .mdl-soy-pick[hidden], .mdl-soy-on[hidden], .mdl-soy-btn[hidden], .mdl-soy-none[hidden] { display: none; }
.mdl-soy-btn, .mdl-soy-pick, .mdl-soy-on { position: absolute; inset: 0; height: 64px; box-sizing: border-box; border-radius: 18px; }
.mdl-soy-btn { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: 0 12px 0 18px; border: 0; background: var(--md-card); box-shadow: inset 0 0 0 1px var(--md-line); color: var(--md-ink); font: inherit; text-align: left; cursor: pointer; transition: box-shadow .2s ease, background .2s ease; }
.mdl-soy-btn:hover { box-shadow: inset 0 0 0 1px rgba(244, 242, 238, .4); }
.mdl-soy-btn:active { background: rgba(244, 242, 238, .1); }
.mdl-soy-btn:focus-visible { outline: 2px solid var(--md-ink); outline-offset: 3px; }
.mdl-soy-btn span { display: grid; gap: 3px; min-width: 0; }
.mdl-soy-btn b { font-size: 15px; font-weight: 700; }
.mdl-soy-btn small { overflow: hidden; font-size: 12.5px; color: var(--md-mute); white-space: nowrap; text-overflow: ellipsis; }
.mdl-soy-btn i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--md-ink); color: var(--md-bg); font-style: normal; }
.mdl-soy-pick { z-index: 6; background: var(--md-card); box-shadow: inset 0 0 0 1px rgba(244, 242, 238, .4); }
.mdl-soy-field { display: flex; align-items: center; gap: 10px; height: 100%; padding: 0 54px 0 18px; }
.mdl-soy-field svg { flex: none; fill: none; stroke: var(--md-ink); stroke-width: 2.2; opacity: .7; }
.mdl .mdl-soy-field input, .mdl-soy-field input { flex: 1; min-width: 0; height: 100%; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--md-ink); font: 400 16px var(--s-text, Inter, sans-serif); outline: none; }
.mdl-soy-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--md-mute); font-size: 22px; line-height: 1; cursor: pointer; }
.mdl-soy-x:hover { color: var(--md-ink); background: rgba(244, 242, 238, .08); }
.mdl-soy-list:not(:empty), .mdl-soy-none { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 7; display: grid; gap: 4px; max-height: 264px; overflow-y: auto; padding: 6px; border-radius: 16px; background: #141312; box-shadow: 0 0 0 1px var(--md-line), 0 18px 40px rgba(0, 0, 0, .55); }
.mdl-soy-item { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-height: 48px; padding: 10px 14px; border: 0; border-radius: 12px; background: transparent; color: var(--md-ink); font: inherit; text-align: left; cursor: pointer; }
.mdl-soy-item:hover, .mdl-soy-item:focus-visible { background: rgba(244, 242, 238, .1); outline: none; }
.mdl-soy-item b { font-size: 14.5px; font-weight: 600; }
.mdl-soy-item small { font-size: 12.5px; color: var(--md-mute); }
.mdl-soy-none { margin: 0; padding: 14px 16px; font-size: 13px; line-height: 1.45; color: var(--md-mute); }
.mdl-soy-on { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; padding: 0 16px 0 18px; background: rgba(244, 242, 238, .08); font-size: 13.5px; }
.mdl-soy-on span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ── Destacadas (14 nov 2026): una modelo a la vez. La foto va completa a la derecha y el texto a la izquierda,
   así nunca queda debajo de las letras. El fondo es la misma foto, desenfocada y oscura. ── */
.mdl-spot { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto; gap: 0 clamp(24px, 4vw, 56px); min-height: 640px; padding: clamp(28px, 4vw, 48px); border-radius: 22px; overflow: hidden; background: #111; }
.mdl-spot[hidden] { display: none; }
.mdl-spot-bg { position: absolute; inset: -40px; z-index: -1; background-size: cover; background-position: center; filter: blur(38px) brightness(.38) saturate(1.1); transform: scale(1.08); }
.mdl-spot-tx { grid-column: 1; grid-row: 1 / span 2; align-self: end; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 560px; }
.mdl-spot-pill { padding: 7px 13px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(244, 242, 238, .45); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--md-ink); }
.mdl-spot-name { margin: 0; font-size: clamp(3.4rem, 1.6rem + 5vw, 7rem); line-height: .9; letter-spacing: -.05em; font-weight: 800; color: var(--md-ink); }
.mdl-spot-stats { display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 4px 0 6px; }
.mdl-spot-stats div { display: flex; flex-direction: column-reverse; gap: 4px; }
.mdl-spot-stats dd { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--md-ink); }
.mdl-spot-stats dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--md-mute); }
.mdl-spot-ctl { display: flex; align-items: center; gap: 14px; margin-top: 10px; padding-top: 18px; border-top: 1px solid rgba(244, 242, 238, .16); align-self: stretch; }
.mdl-spot-ctl[hidden], .mdl-spot-thumbs[hidden] { display: none; }
.mdl-spot-arrow { width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; box-shadow: inset 0 0 0 1px rgba(244, 242, 238, .35); color: var(--md-ink); font-size: 22px; line-height: 1; cursor: pointer; transition: background .2s ease, color .2s ease, transform .16s ease-out; }
.mdl-spot-arrow:hover { background: var(--md-ink); color: #111; }
.mdl-spot-arrow:active { transform: scale(.94); }
.mdl-spot-num { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--md-ink); }
.mdl-spot-pause { margin-left: auto; padding: 8px 0; border: 0; background: none; color: var(--md-mute); font: 700 14px/1 var(--s-text, Inter, sans-serif); cursor: pointer; }
.mdl-spot-pause:hover { color: var(--md-ink); }
.mdl-spot-ph { grid-column: 2; grid-row: 1; margin: 0; height: clamp(440px, 46vw, 600px); aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); cursor: zoom-in; }
.mdl-spot-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mdl-spot-thumbs { grid-column: 2; grid-row: 2; display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.mdl-spot-thumb { width: 58px; height: 78px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #222; opacity: .5; cursor: pointer; transition: opacity .2s ease, transform .16s ease-out, box-shadow .2s ease; }
.mdl-spot-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mdl-spot-thumb:hover { opacity: .85; }
.mdl-spot-thumb[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--md-ink); }
.mdl-spot button:focus-visible, .mdl-reset:focus-visible { outline: 2px solid var(--md-ink); outline-offset: 3px; }
@media (max-width: 767px) {
  .mdl-spot { grid-template-columns: 1fr; grid-template-rows: auto auto auto; min-height: 0; padding: 16px 16px 22px; gap: 0; }
  .mdl-spot-ph { grid-column: 1; grid-row: 1; height: auto; width: 100%; }
  .mdl-spot-thumbs { grid-column: 1; grid-row: 2; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .mdl-spot-tx { grid-column: 1; grid-row: 3; margin-top: 22px; max-width: none; }
  .mdl-spot-stats { gap: 12px 24px; }
  .mdl-spot-stats dd { font-size: 20px; }
}

/* Restablecer filtros: aparece en cuanto hay un filtro puesto */
.mdl-reset { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--md-ink); color: #111; font: 700 13px/1 var(--s-text, Inter, sans-serif); cursor: pointer; transition: transform .16s ease-out, background .2s ease; }
.mdl-reset[hidden] { display: none; }
.mdl-reset:hover { background: #fff; }
.mdl-reset:active { transform: scale(.96); }

/* Registro movido a Únete (16 nov 2026): aquí queda una franja que lleva a unete.html#modelos. */
.mdl-cta-unete { margin: clamp(40px, 6vw, 80px) var(--md-gut); padding: clamp(32px, 5vw, 64px); display: grid; justify-items: start; gap: 16px; border-radius: 28px; background: var(--md-card); scroll-margin-top: 90px; }
.mdl-cta-unete h2 { margin: 0; font-size: clamp(40px, 5vw, 72px); line-height: .9; letter-spacing: -.05em; }
.mdl-cta-unete p:not(.mdl-kicker) { margin: 0; max-width: 52ch; font-size: 16px; line-height: 1.55; color: var(--md-mute); }
.mdl-cta-unete .mdl-btn { margin-top: 8px; }
