/* ==========================================================
   Modelos y Edecanes EXI — Landing page
   ========================================================== */

:root {
  --bg: #0e0b14;
  --bg-2: #161220;
  --surface: #1d1828;
  --light: #faf7f2;
  --light-2: #f1ebe2;
  --ink: #1b1622;
  --muted: #8d8699;
  --muted-dark: #5f5869;
  --gold: #d4af6a;
  --gold-2: #f0d9a8;
  --rose: #c9708d;
  --violet: #6b4fa0;
  --wa: #25d366;
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .45);
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; }
h1 em, h2 em { font-style: italic; color: var(--gold); }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 .95rem/1 var(--font-sans);
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, #b8904c);
  color: var(--ink);
  box-shadow: 0 10px 30px -10px rgba(212, 175, 106, .7);
}
.btn--gold:hover { box-shadow: 0 16px 40px -12px rgba(212, 175, 106, .85); }
.btn--ghost { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: var(--wa); color: var(--wa); }
.btn--outline { border-color: rgba(212, 175, 106, .55); color: var(--gold); }
.btn--outline:hover { background: rgba(212, 175, 106, .1); border-color: var(--gold); color: #fff; }
.btn--small { padding: .65rem 1.25rem; font-size: .85rem; }
.btn--block { width: 100%; }
.btn:focus-visible, .chip:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Navegación ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 1.1rem 0;
  transition: background .3s, padding .3s, box-shadow .3s;
}
.nav.is-scrolled {
  background: rgba(14, 11, 20, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: .7rem 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__menu { display: flex; align-items: center; gap: 2rem; }
.nav__menu a:not(.btn) {
  color: rgba(255, 255, 255, .8);
  font-size: .92rem;
  position: relative;
}
.nav__menu a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__menu a:not(.btn):hover { color: #fff; }
.nav__menu a:not(.btn):hover::after { transform: scaleX(1); }
.nav__toggle { display: none; }
.nav__menu .btn--small svg { width: 15px; height: 15px; }
@media (max-width: 1100px) and (min-width: 761px) {
  .nav__menu { gap: 1.2rem; }
  .nav__menu a:not(.btn) { font-size: .85rem; }
}

.logo { display: inline-flex; align-items: center; gap: .7rem; color: #fff; }
/* Logotipo de la cabecera (partials/logo-mark): imagen logo-192.png con fondo transparente. */
.logo__mark {
  display: block;
  width: 46px; height: 46px;
  object-fit: contain;
  flex: none;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 106, .35));
  transition: transform .3s, filter .3s;
}
.logo:hover .logo__mark { transform: rotate(-6deg) scale(1.05); filter: drop-shadow(0 4px 14px rgba(212, 175, 106, .6)); }
.logo__text { font: 700 1.35rem/1 var(--font-serif); letter-spacing: .04em; }
.logo__text small {
  display: block;
  font: 500 .62rem/1.6 var(--font-sans);
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  background: var(--bg);
  color: #fff;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: float 14s ease-in-out infinite; }
.orb--1 { width: 520px; height: 520px; background: var(--violet); top: -160px; left: -140px; }
.orb--2 { width: 420px; height: 420px; background: var(--rose); bottom: -160px; right: 10%; animation-delay: -5s; opacity: .4; }
.orb--3 { width: 280px; height: 280px; background: var(--gold); top: 30%; right: -80px; animation-delay: -9s; opacity: .25; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 4rem;
  align-items: center;
}
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); margin-bottom: 1.5rem; }
.hero__lead { font-size: 1.1rem; color: rgba(255, 255, 255, .72); max-width: 540px; font-weight: 300; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2.2rem 0 0; }

.hero__visual { position: relative; height: 560px; }
.frame {
  position: absolute;
  border-radius: 200px 200px var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, .12);
}
.frame--main {
  inset: 0 12% 0 8%;
  background:
    radial-gradient(circle at 50% 28%, rgba(240, 217, 168, .35), transparent 45%),
    linear-gradient(170deg, #3b2a5c 0%, #7a3e63 55%, #c9708d 100%);
}
.frame__silhouette {
  position: absolute;
  left: 50%; bottom: 0;
  width: 62%; height: 82%;
  transform: translateX(-50%);
  background: rgba(14, 11, 20, .55);
  /* silueta estilizada */
  clip-path: path("M 160 0 C 120 0 98 32 100 70 C 102 104 120 128 142 136 L 138 156 C 90 164 54 186 40 230 L 0 460 L 320 460 L 280 230 C 266 186 230 164 182 156 L 178 136 C 200 128 218 104 220 70 C 222 32 200 0 160 0 Z");
}
@supports not (clip-path: path("M0 0")) {
  .frame__silhouette { border-radius: 50% 50% 0 0; }
}
.frame__tag {
  position: absolute;
  left: 1.2rem; bottom: 1.2rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  background: rgba(14, 11, 20, .6);
  backdrop-filter: blur(8px);
  font-size: .78rem;
  letter-spacing: .05em;
}
.frame--small {
  width: 150px; height: 190px;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 1rem;
  font: italic 500 1rem var(--font-serif);
  color: var(--ink);
  animation: float 10s ease-in-out infinite;
}
.frame--a { top: 8%; right: 0; background: linear-gradient(160deg, var(--gold-2), var(--gold)); }
.frame--b { bottom: 10%; left: -2%; background: linear-gradient(160deg, #fff, var(--light-2)); animation-delay: -4s; }

/* Carrusel de servicios de la portada (App\Support\HeroServices + "Carrusel de la portada" en script.js) */
.frame__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.frame__slide.is-active { opacity: 1; }
.frame--main .frame__slide {
  background:
    radial-gradient(circle at 50% 28%, rgba(240, 217, 168, .35), transparent 45%),
    linear-gradient(170deg, hsl(var(--h1) 38% 26%) 0%, hsl(var(--h2) 42% 42%) 100%);
}
.frame__slide.has-img {
  background: linear-gradient(180deg, transparent 55%, rgba(14, 11, 20, .65)), var(--img) center / cover no-repeat;
  transform: scale(1.06);
  transition: opacity 1.1s ease, transform 7s ease-out;
}
.frame__slide.has-img.is-active { transform: scale(1); }
.frame__tag { transition: transform .9s ease .25s, opacity .9s ease .25s; }
.frame__slide:not(.is-active) .frame__tag { transform: translateY(10px); opacity: 0; }
.frame__label {
  position: absolute; left: .6rem; right: .6rem; bottom: 1rem;
  text-align: center; line-height: 1.2;
}
.frame--small .frame__slide.has-img { color: #fff; }
.hero__counter {
  position: absolute; right: 0; bottom: 3%;
  margin: 0;
  font: 500 .8rem var(--font-sans);
  letter-spacing: .2em;
  color: var(--muted);
}
.hero__counter span { color: var(--gold); }

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 1.8rem;
  width: 26px; height: 42px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 20px;
}
.hero__scroll span {
  position: absolute;
  left: 50%; top: 8px;
  width: 3px; height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--gold);
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--gold);
  color: var(--ink);
  padding: 1rem 0;
}
.marquee__track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 90s linear infinite;
  font: italic 500 1.15rem var(--font-serif);
  white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
/* Mismo espacio arriba y abajo en todas las secciones. */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--dark { background: var(--bg); color: #fff; }
.section--dark .section__head p:not(.eyebrow) { color: rgba(255, 255, 255, .65); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.section__head h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.section__head p:not(.eyebrow) { color: var(--muted-dark); font-size: 1.05rem; }
.section__head--left { text-align: left; margin: 0; }

/* ---------- Servicios ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.4rem 2rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(27, 22, 34, .07);
  box-shadow: 0 2px 4px rgba(27, 22, 34, .03);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(27, 22, 34, .35); }
.service--featured {
  background: linear-gradient(165deg, var(--surface), var(--bg));
  color: #fff;
  border-color: rgba(212, 175, 106, .35);
}
.service--featured p, .service--featured li { color: rgba(255, 255, 255, .72); }
.service__badge {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  padding: .3rem .8rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.service__icon {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  margin-bottom: 1.6rem;
  border-radius: 50%;
  background: rgba(212, 175, 106, .14);
}
.service__icon svg {
  width: 32px; height: 32px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service h3 { font-size: 1.45rem; }
.service p { color: var(--muted-dark); }
.service ul { list-style: none; padding: 0; margin: 0; flex: 1; }
.service li {
  position: relative;
  padding: .45rem 0 .45rem 1.6rem;
  font-size: .94rem;
  color: var(--muted-dark);
  border-bottom: 1px dashed rgba(127, 120, 140, .2);
}
.service li::before {
  content: "✦";
  position: absolute; left: 0;
  color: var(--gold);
  font-size: .8rem;
}

/* ---------- Book ---------- */
.book__filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2.5rem; }
/* Filtros: dorados; al pasar el mouse se vuelven contorno dorado. El activo queda en contorno con fondo tenue. */
.chip {
  display: inline-block;
  padding: .55rem 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--ink);
  font: 500 .88rem var(--font-sans);
  cursor: pointer;
  transition: all .25s;
}
.chip:hover { background: transparent; color: var(--gold); }
.chip.is-active { background: rgba(212, 175, 106, .14); color: var(--gold-2); font-weight: 600; }

/* Catálogo (/talentos) */
.catalog { background: var(--bg); color: #fff; padding: 7.5rem 0 clamp(4rem, 8vw, 6rem); }
.catalog__head { text-align: center; margin-bottom: 1.6rem; }
.catalog__head h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); margin: 0; }
.catalog .book { transition: opacity .25s; }
.catalog.is-loading .book { opacity: .55; }
.catalog__more:not([hidden]) { display: flex; justify-content: center; align-items: center; margin: 2.4rem 0 0; }
.catalog__spinner { display: none; width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(212, 175, 106, .25); border-top-color: var(--gold); animation: spin .8s linear infinite; }
.js .catalog__more a { display: none; } /* con JS carga sola al bajar; sin JS queda el botón "Ver más" */
.js .catalog.is-loading .catalog__spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.book {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.profile {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .06);
  transition: transform .35s var(--ease), opacity .35s, border-color .35s;
}
.profile:hover { transform: translateY(-6px); border-color: rgba(212, 175, 106, .4); }
.profile.is-hidden { display: none; }
.profile__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, .25), transparent 45%),
    linear-gradient(160deg, hsl(var(--h1) 45% 35%), hsl(var(--h2) 55% 55%));
  overflow: hidden;
}
.profile__photo::before {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 70%; height: 78%;
  transform: translateX(-50%);
  background: rgba(14, 11, 20, .35);
  border-radius: 50% 50% 0 0 / 38% 38% 0 0;
  transition: transform .6s var(--ease);
}
.profile:hover .profile__photo::before { transform: translateX(-50%) scale(1.04); }
.profile__photo span {
  position: relative;
  font: italic 500 3rem var(--font-serif);
  color: rgba(255, 255, 255, .85);
  letter-spacing: .05em;
}
/* Foto real del talento (--img): reemplaza el fondo de color, la silueta y las iniciales. */
.profile__photo.has-photo { background: var(--img) center / cover no-repeat; }
.profile__photo.has-photo::before, .profile__photo.has-photo span { display: none; }
.gallery--photos .gallery__main, .gallery--photos .gallery__thumb { background: var(--img, linear-gradient(160deg, hsl(var(--h1) 45% 35%), hsl(var(--h2) 55% 55%))) center / cover no-repeat; }
.gallery--photos .gallery__main::before { display: none; }
.book__empty { text-align: center; color: var(--muted); }
.book__more { text-align: center; margin: 2.8rem 0 0; }
.profile__info { padding: 1.4rem 1.5rem 1.6rem; }
.profile__info h3 { font-size: 1.3rem; margin-bottom: .2rem; }
.profile__info > p { color: var(--gold); font-size: .88rem; margin-bottom: 1rem; }
.profile dl { display: flex; gap: 2rem; margin: 0; }
.profile dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.profile dd { margin: 0; font-weight: 500; }

/* ---------- Por qué ---------- */
.why {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.why .section__head { position: sticky; top: 110px; }
.why .section__head > :last-child { margin-bottom: 0; }
.why__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.why__item {
  padding: 1.8rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(27, 22, 34, .07);
  transition: border-color .3s, transform .3s var(--ease);
}
.why__item:hover { border-color: var(--gold); transform: translateY(-4px); }
.why__num { font: italic 500 1.9rem var(--font-serif); color: var(--gold); display: block; margin-bottom: .6rem; }
.why__item h3 { font-size: 1.2rem; }
.why__item p { color: var(--muted-dark); font-size: .95rem; margin: 0; }

/* ---------- Cotización ---------- */
.quote {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 4rem;
  align-items: start;
}
.quote__info h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
.quote__info > p { color: rgba(255, 255, 255, .65); }
/* Invitación a crear cuenta de cliente (#contacto); WhatsApp queda debajo como alternativa. */
.client-cta {
  padding: 1.4rem; border-radius: 18px; border: 1px solid rgba(212, 175, 106, .35);
  background: linear-gradient(160deg, rgba(212, 175, 106, .12), rgba(212, 175, 106, .02));
}
.client-cta__title { margin: 0 0 .4rem; font-family: "Playfair Display", Georgia, serif; font-size: 1.35rem; color: var(--gold); }
.client-cta p:not(.client-cta__title) { margin: 0 0 1.1rem; color: rgba(255, 255, 255, .72); font-size: .95rem; }
.quote__info > p.client-cta__alt { margin: 1.4rem 0 .6rem; font-size: .88rem; color: rgba(255, 255, 255, .6); }
.quote__contact { list-style: none; padding: 0; margin: 2.2rem 0 0; }
.quote__contact li {
  display: flex; flex-direction: column;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.quote__contact strong { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.quote__contact a:hover { color: var(--gold-2); }
.quote__contact a, .quote__contact span { word-break: break-word; }

.form {
  padding: clamp(1.5rem, 4vw, 2.6rem);
  border-radius: calc(var(--radius) + 6px);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__row--3 { grid-template-columns: 1.2fr 1fr 1fr; }
.field { display: flex; flex-direction: column; margin-bottom: 1.1rem; min-width: 0; }
.field label { font-size: .8rem; font-weight: 500; margin-bottom: .45rem; color: rgba(255, 255, 255, .75); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  color: #fff;
  font: 400 .95rem var(--font-sans);
  transition: border-color .25s, background .25s, box-shadow .25s;
  color-scheme: dark;
}
.field select option { background: var(--surface); color: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .35); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 0 0 3px rgba(212, 175, 106, .18);
}
.field.has-error input, .field.has-error select { border-color: #ef7a8f; }
.field__error { min-height: 0; color: #ef9aa9; font-size: .78rem; margin-top: .3rem; }
.field__error:empty { display: none; }
.form__note { margin: 1rem 0 0; text-align: center; font-size: .88rem; color: rgba(255, 255, 255, .6); }
.form__note.is-success { color: var(--wa); }

/* ---------- Footer ---------- */
.footer { background: #08060c; color: rgba(255, 255, 255, .6); padding: 3rem 0 6rem; text-align: center; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.footer p { margin: 0; font-size: .9rem; }
.footer__copy { font-size: .8rem !important; color: var(--muted); }

/* Franja "Bolsa de trabajo" arriba del pie: dos "pases" con muescas y borde punteado (talento dorado, staff sobrio). */
.casting-strip { background: #08060c; padding: clamp(2rem, 4vw, 3rem) 0 0; }
.casting-strip__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.casting-strip__pass {
  --pass-line: rgba(212, 175, 106, .45);
  position: relative; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 1.2rem;
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3.5vw, 2.4rem); border-radius: 18px; color: #fff;
  background: var(--bg-2); border: 1px dashed var(--pass-line);
}
.casting-strip__pass--talent { background: linear-gradient(120deg, rgba(212, 175, 106, .16), rgba(212, 175, 106, .04) 60%), var(--bg-2); }
.casting-strip__pass--staff { --pass-line: rgba(255, 255, 255, .22); }
.casting-strip__pass::before, .casting-strip__pass::after {
  content: ""; position: absolute; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: #08060c; border: 1px dashed var(--pass-line);
}
.casting-strip__pass::before { left: -12px; clip-path: inset(0 0 0 50%); }
.casting-strip__pass::after { right: -12px; clip-path: inset(0 50% 0 0); }
.casting-strip__eyebrow { display: flex; align-items: center; gap: .5rem; margin: 0 0 .4rem; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.casting-strip__pass--staff .casting-strip__eyebrow { color: rgba(255, 255, 255, .55); }
.casting-strip__dot { width: 8px; height: 8px; border-radius: 50%; background: #e0524b; box-shadow: 0 0 0 0 rgba(224, 82, 75, .6); animation: casting-rec 1.8s infinite; }
@keyframes casting-rec { 70% { box-shadow: 0 0 0 8px rgba(224, 82, 75, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 82, 75, 0); } }
.casting-strip h2 { margin: 0 0 .3rem; font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.casting-strip h2 em { color: var(--gold); }
.casting-strip__roles { margin: 0; font-size: .88rem; color: rgba(255, 255, 255, .6); }
.casting-strip__pass .btn { min-width: 220px; }
@media (max-width: 860px) {
  .casting-strip__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .casting-strip__pass { align-items: stretch; text-align: center; }
  .casting-strip__eyebrow { justify-content: center; }
  .casting-strip__pass .btn { width: 100%; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { .casting-strip__dot { animation: none; } }

/* ---------- Animación de aparición ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { height: 440px; max-width: 460px; width: 100%; margin-inline: auto; }
  .services, .book { grid-template-columns: repeat(2, 1fr); }
  .why, .quote { grid-template-columns: 1fr; gap: 3rem; }
  .why .section__head { position: static; }
}

@media (max-width: 760px) {
  .nav__toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px;
    padding: 0 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    z-index: 2;
  }
  .nav__toggle span { display: block; height: 1.5px; background: #fff; transition: transform .3s, opacity .3s; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .nav__menu {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: rgba(14, 11, 20, .97);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }
  .nav__menu a:not(.btn) { font: 500 1.6rem var(--font-serif); }
  .nav__menu.is-open { opacity: 1; visibility: visible; }

  .hero { padding-top: 7rem; }
  .hero__visual { height: 380px; }
  .frame--small { width: 110px; height: 140px; font-size: .9rem; }
  .hero__scroll { display: none; }

  .services, .book, .why__grid { grid-template-columns: 1fr; }
  .book { max-width: 420px; margin-inline: auto; }
  .form__row, .form__row--3 { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 420px) {
  .hero__actions .btn { width: 100%; }
}

/* =========================================================
   Sitio completo: navegación sólida, páginas internas, acceso y panel
   ========================================================= */

/* Páginas internas: la barra es sólida desde el inicio (no hay portada oscura detrás). */
.has-solid-nav .nav {
  background: rgba(14, 11, 20, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.nav__menu a[aria-current="page"]:not(.btn) { color: #fff; }
.nav__menu a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
/* Menú de la cuenta (clic en la foto y el nombre): Mi panel, Mi perfil, Configuración, Cerrar sesión */
.nav-pop { position: relative; }
.nav-pop__list {
  position: absolute; top: calc(100% + .6rem); right: 0; z-index: 60;
  width: 260px; padding: .5rem;
  background: var(--surface); border: 1px solid rgba(212, 175, 106, .25); border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.nav-pop.is-open .nav-pop__list,
html:not(.js) .nav-pop:focus-within .nav-pop__list { opacity: 1; visibility: visible; transform: none; }
.user-menu__toggle { cursor: pointer; }
.user-menu__caret { width: 16px !important; height: 16px !important; fill: currentColor; margin-right: -.3rem; transition: transform .2s; }
.user-menu.is-open .user-menu__caret { transform: rotate(180deg); }
.user-menu__head { display: flex; align-items: center; gap: .7rem; padding: .5rem .6rem .8rem; margin-bottom: .3rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.user-menu__head div { min-width: 0; }
.user-menu__head strong { display: block; color: #fff; font-size: .88rem; line-height: 1.3; }
.user-menu__head small { display: block; color: var(--muted); font-size: .76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-menu form { margin: 0; }
.nav__menu .user-menu .user-menu__item {
  display: flex; align-items: center; gap: .7rem; width: 100%;
  padding: .6rem .7rem; border: 0; border-radius: 9px; background: none;
  color: rgba(255, 255, 255, .85); font: 500 .88rem var(--font-sans); text-align: left; cursor: pointer;
}
.nav__menu .user-menu .user-menu__item::after { content: none; }
.nav__menu .user-menu .user-menu__item svg { width: 18px; height: 18px; flex: none; fill: var(--gold); }
.nav__menu .user-menu .user-menu__item:hover,
.nav__menu .user-menu .user-menu__item:focus-visible { background: rgba(212, 175, 106, .1); color: #fff; }
.nav__menu .user-menu .user-menu__item.is-disabled { color: rgba(255, 255, 255, .4); cursor: default; }
.nav__menu .user-menu .user-menu__item.is-disabled:hover { background: none; color: rgba(255, 255, 255, .4); }
.nav__menu .user-menu .user-menu__item.is-disabled svg { fill: rgba(255, 255, 255, .35); }
.user-menu__soon { margin-left: auto; padding: .1rem .45rem; border-radius: 99px; background: rgba(255, 255, 255, .08); color: var(--muted); font-size: .68rem; }
.user-menu__sep { margin: .3rem .2rem; border: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.nav__menu .user-menu .user-menu__item--logout svg { fill: var(--rose); }


/* Utilidades */
.muted { color: rgba(255, 255, 255, .55); }
.small { font-size: .82rem; }
.field__hint { color: rgba(255, 255, 255, .45); font-size: .75rem; margin-top: .3rem; }
fieldset.field { border: 0; padding: 0; min-width: 0; }
fieldset.field legend { font-size: .8rem; font-weight: 500; margin-bottom: .6rem; color: rgba(255, 255, 255, .75); padding: 0; }

.alert { padding: .9rem 1.1rem; border-radius: 12px; margin-bottom: 1.4rem; font-size: .9rem; border: 1px solid; }
.alert ul { margin: 0; padding-left: 1.1rem; }
.alert--success { background: rgba(37, 211, 102, .08); border-color: rgba(37, 211, 102, .35); color: #b8f3cf; }
.alert--error { background: rgba(239, 122, 143, .08); border-color: rgba(239, 122, 143, .4); color: #f7c3cc; }
.alert--info { background: rgba(212, 175, 106, .08); border-color: rgba(212, 175, 106, .4); color: var(--gold-2); }

.check { display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; color: rgba(255, 255, 255, .8); cursor: pointer; margin-bottom: 1.1rem; }
.check input { width: 18px; height: 18px; margin: .15rem 0 0; accent-color: var(--gold); flex-shrink: 0; }
.check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .2rem 1rem; }
.check-grid .check { margin-bottom: .5rem; }
.check-grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.tabs { display: flex; gap: .4rem; padding: .3rem; margin-bottom: 1.6rem; border-radius: 999px; background: rgba(255, 255, 255, .05); width: fit-content; max-width: 100%; overflow-x: auto; }
.tabs__item { padding: .55rem 1.1rem; border-radius: 999px; font-size: .85rem; color: rgba(255, 255, 255, .65); white-space: nowrap; }
.tabs__item:hover { color: #fff; }
.tabs__item.is-active { background: var(--gold); color: var(--ink); font-weight: 600; }

.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.tag-list li { padding: .4rem .9rem; border-radius: 999px; border: 1px solid rgba(212, 175, 106, .4); color: var(--gold-2); font-size: .85rem; }
.tag-list--small li { padding: .25rem .7rem; font-size: .75rem; }

.badge { display: inline-block; padding: .2rem .65rem; border-radius: 999px; font: 600 .72rem var(--font-sans); letter-spacing: .03em; vertical-align: middle; }
.badge--activo { background: rgba(37, 211, 102, .15); color: #8eeab3; }
.badge--pendiente { background: rgba(212, 175, 106, .18); color: var(--gold-2); }
.badge--rechazado, .badge--suspendido { background: rgba(239, 122, 143, .15); color: #f4a9b6; }
/* Disponibilidad del talento */
.badge--disponible { background: rgba(37, 211, 102, .15); color: #8eeab3; }
.badge--ocupado { background: rgba(239, 122, 143, .15); color: #f4a9b6; }

/* Foto de perfil (partials/avatar): imagen o silueta por defecto */
.avatar { display: inline-grid; place-items: center; flex: none; overflow: hidden; border-radius: 50%; background: rgba(212, 175, 106, .15); border: 1px solid rgba(212, 175, 106, .35); color: var(--gold); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar svg { width: 62%; height: 62%; fill: currentColor; }
.avatar--sm { width: 24px; height: 24px; }
.avatar--md { width: 48px; height: 48px; }
.avatar--lg { width: 112px; height: 112px; }
.avatar--xl { width: 128px; height: 128px; }
/* Mi perfil, tipo red social: foto con lápiz + nombre, ID y edad. */
.profile-head { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.profile-head__photo { position: relative; margin: 0; }
.profile-head__edit { position: absolute; right: 2px; bottom: 2px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; background: var(--gold); color: #1b1622; border: 3px solid var(--bg-2); transition: transform .2s; }
.profile-head__edit:hover, .profile-head__photo:focus-within .profile-head__edit { transform: scale(1.08); }
.profile-head__edit svg { width: 18px; height: 18px; fill: currentColor; }
.js .profile-head__upload { display: none; } /* con JS la foto se sube sola al elegirla */
.profile-head__upload { margin-top: .6rem; }
.profile-head__info h1 { margin: 0 0 .2rem; }
.profile-head__info p { margin: 0 0 .6rem; }
.profile-head__info .profile-head__name { margin: 0 0 .3rem; color: rgba(255, 255, 255, .75); font-weight: 500; letter-spacing: .02em; }
/* Datos que el usuario no puede cambiar: grises y con candado */
.locked input { opacity: .55; cursor: not-allowed; }
.locked label { display: inline-flex; align-items: center; gap: .35rem; }
.locked__icon { width: 13px; height: 13px; fill: currentColor; opacity: .7; }
.nav__account { gap: .45rem; }
.nav__menu .btn--small .avatar svg { width: 62%; height: 62%; }
.account__photo { display: flex; align-items: center; gap: 1.4rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.account__photo .field { flex: 1; min-width: 220px; margin: 0; }
.availability__options { display: flex; gap: .6rem; flex-wrap: wrap; }
.talent-availability { margin: .2rem 0 .8rem; }

/* Cabecera de páginas internas (bolsa de trabajo) */
.page-hero { background: var(--bg); color: #fff; padding: clamp(8rem, 14vw, 10rem) 0 clamp(4rem, 8vw, 6rem); text-align: center; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.page-hero__lead { max-width: 640px; margin: 0 auto 2rem; color: rgba(255, 255, 255, .7); font-size: 1.08rem; }
.page-hero .hero__actions { justify-content: center; }
.page-hero .btn--outline { padding: .95rem 1.7rem; }
.steps { grid-template-columns: repeat(3, 1fr); }
.categories { text-align: center; margin-top: 3.5rem; }
.categories .tag-list { justify-content: center; }
.categories .tag-list li { color: var(--ink); border-color: var(--gold); }

/* Acceso: login y registro */
.auth { background: var(--bg); color: #fff; min-height: 100vh; padding: 8rem 0 4rem; display: flex; align-items: center; }
.auth__inner { display: flex; justify-content: center; }
.auth__card { width: min(460px, 100%); }
.auth__inner--wide .auth__card { width: min(720px, 100%); }
.auth__card h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.auth__lead { color: rgba(255, 255, 255, .6); margin-bottom: 1.6rem; }
.auth__alt { text-align: center; margin: 1.4rem 0 0; font-size: .88rem; color: rgba(255, 255, 255, .6); }
.auth__alt a { color: var(--gold); }
.auth__alt a:hover { text-decoration: underline; }

/* Panel */
.is-panel { background: var(--bg); }
.panel { color: #fff; padding: 7.5rem 0 4rem; min-height: 100vh; }
.panel__inner { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.panel__side { position: sticky; top: 6.5rem; padding: 1.4rem; border-radius: var(--radius); background: var(--surface); border: 1px solid rgba(255, 255, 255, .08); }
.panel__nav { display: flex; flex-direction: column; gap: .2rem; }
.panel__nav a { padding: .6rem .8rem; border-radius: 10px; color: rgba(255, 255, 255, .7); font-size: .9rem; }
.panel__nav a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.panel__nav a.is-active { background: rgba(212, 175, 106, .14); color: var(--gold-2); }
.panel__nav a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }

/* Notificaciones: globitos con el número de pendientes (campana de la cabecera y menú del panel) */
.notice-count {
  display: inline-flex; align-items: center; justify-content: center; min-width: 1.4rem; height: 1.4rem; padding: 0 .4rem;
  border-radius: 999px; background: rgba(212, 175, 106, .2); color: var(--gold-2); font: 600 .72rem/1 var(--font-sans);
}
.notice-count--alert { background: var(--gold); color: var(--ink); }
.notice-count[hidden] { display: none; }
.notice-count.is-new { animation: notice-pop .6s var(--ease); }
@keyframes notice-pop { 40% { transform: scale(1.35); } }
@media (prefers-reduced-motion: reduce) { .notice-count.is-new { animation: none; } }
/* Campana de notificaciones de la cabecera (antes "Novedades" del menú lateral) */
.notify__toggle {
  position: relative; display: grid; place-items: center; width: 38px; height: 38px; padding: 0;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; background: none; cursor: pointer; color: #fff;
  transition: border-color .2s, background .2s;
}
.notify__toggle:hover, .notify.is-open .notify__toggle { border-color: var(--gold); background: rgba(212, 175, 106, .1); }
.notify__toggle svg { width: 18px; height: 18px; fill: currentColor; }
.notify__badge { position: absolute; top: -5px; right: -7px; box-shadow: 0 0 0 2px var(--bg); }
.notify__list { width: 300px; }
.notify__title { margin: 0; padding: .5rem .6rem .6rem; border-bottom: 1px solid rgba(255, 255, 255, .08); font: 500 1rem var(--font-serif); color: #fff; }
.notify__body { display: flex; flex-direction: column; padding-top: .3rem; }
.nav__menu .notify .notify__item::after { content: none; }
.nav__menu .notify .notify__item { display: flex; align-items: baseline; gap: .6rem; padding: .55rem .6rem; border-radius: 8px; font: 400 .86rem var(--font-sans); color: rgba(255, 255, 255, .8); text-align: left; }
.nav__menu .notify .notify__item:hover { background: rgba(212, 175, 106, .1); color: #fff; }
.notify__item strong { font: 500 1.1rem/1 var(--font-serif); color: var(--gold); min-width: 1.6rem; }
.notify__empty { margin: 0; padding: .5rem; font-size: .82rem; color: rgba(255, 255, 255, .55); }

.panel__main h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.panel__lead { color: rgba(255, 255, 255, .6); }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.panel__head h1 { margin: 0; }
/* Talentos / Empleados: pestañas de postulaciones y de cuentas en la misma sección (panel/section-head) */
.section-tabs { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-bottom: 1.6rem; }
.section-tabs__group { display: flex; flex-direction: column; gap: .35rem; min-width: 0; max-width: 100%; }
.section-tabs__label { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-left: .4rem; }
.section-tabs .tabs { margin-bottom: 0; }

.card { padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid rgba(255, 255, 255, .08); margin-bottom: 1.2rem; }
.card h2 { font-size: 1.3rem; }
.card > p:last-child { margin-bottom: 0; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 1.6rem 0; }
.stat { padding: 1.2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid rgba(255, 255, 255, .08); }
.stat strong { display: block; font: 500 2rem/1.1 var(--font-serif); color: #fff; }
.stat span { font-size: .8rem; color: rgba(255, 255, 255, .55); }
.stat--accent { border-color: rgba(212, 175, 106, .5); }
.stat--accent strong { color: var(--gold); }
a.stat:hover { border-color: var(--gold); }

.details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.4rem; margin: 0; }
.details dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .45); }
.details dd { margin: .15rem 0 0; }
.details--inline { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: .8rem 0; }

.talent-row { display: flex; justify-content: space-between; gap: 1.5rem; align-items: flex-start; }
.talent-row__info { min-width: 0; flex: 1; }
.talent-row__info h2 { font-size: 1.2rem; margin-bottom: .2rem; }
.talent-row__info p { margin-bottom: .3rem; }
.talent-row__actions { display: flex; flex-direction: column; gap: .6rem; align-items: stretch; width: 220px; flex-shrink: 0; }
.talent-row__actions form { margin: 0; }
.talent-row__actions .btn { width: 100%; }
.reject-form { display: flex; flex-direction: column; gap: .4rem; }
.talent-form { margin-bottom: 1.4rem; }

/* Álbumes de fotos del talento (panel) */
.photo-upload.form { padding: 0; border: 0; background: none; box-shadow: none; margin: 1rem 0 1.4rem; }
.photo-upload input[type="file"] { padding: .6rem; }
.photo-album__title { font: 600 .8rem var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 1.6rem 0 .8rem; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .8rem; list-style: none; margin: 0; padding: 0; }
.photo-grid__item { position: relative; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .05); }
.photo-grid__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-grid__item form { position: absolute; top: .4rem; right: .4rem; margin: 0; }
.photo-grid__delete {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(14, 11, 20, .7); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer;
}
.photo-grid__delete:hover { border-color: #f4a9b6; color: #f4a9b6; }
.reject-form input {
  padding: .55rem .8rem; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04); color: #fff; font: 400 .85rem var(--font-sans);
}
.reject-form input:focus { outline: none; border-color: var(--gold); }

.form__actions { display: flex; justify-content: flex-end; gap: .8rem; margin-top: .6rem; }

.pager { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.4rem; font-size: .88rem; }
.pager__item { padding: .5rem 1rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .15); }
.pager__item.is-disabled { opacity: .4; }
.pager__info { color: rgba(255, 255, 255, .55); }

@media (max-width: 1024px) {
  .panel__inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .panel__side { position: static; }
  .panel__nav { flex-direction: row; flex-wrap: wrap; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .details--inline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  /* En el menú del celular la lista de la cuenta se despliega debajo del botón, sin flotar. */
  .nav-pop { display: flex; flex-direction: column; align-items: center; }
  .nav-pop__list { position: static; display: none; margin-top: .8rem; width: min(280px, 80vw); transform: none; }
  .nav-pop.is-open .nav-pop__list, html:not(.js) .nav-pop:focus-within .nav-pop__list { display: block; }
  .steps, .check-grid--wide, .details { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .talent-row { flex-direction: column; }
  .talent-row__actions { width: 100%; }
  .auth { padding-top: 6.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Campo trampa anti-spam del formulario de contacto (invisible para personas) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.message-body { white-space: pre-line; margin: .8rem 0 0; }
.auth__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin-bottom: 1.2rem; }
.auth__row .check { margin: 0; }
.auth__forgot { font-size: .88rem; color: var(--gold); }
.auth__forgot:hover { text-decoration: underline; }

/* ==========================================================
   Talentos: tarjeta clicable, estrellas y book completo
   ========================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.profile { position: relative; cursor: pointer; }
.profile .rating { margin-bottom: 1rem; }
.profile__open {
  margin-top: 1.2rem; padding: 0; border: 0; background: none;
  font: 600 .9rem var(--font-sans); color: var(--gold); cursor: pointer;
}
/* Toda la tarjeta abre el book. */
.profile__open::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.profile__open:focus-visible { outline: none; }
.profile:has(.profile__open:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.profile:hover .profile__open { text-decoration: underline; text-underline-offset: 4px; }
/* Tarjeta compacta (destacados del inicio): solo la foto y debajo el primer nombre centrado en dorado. */
.profile--compact .profile__info { padding: 1.1rem 1rem 1.2rem; text-align: center; }
.profile--compact .profile__open { margin: 0; font-size: 1rem; letter-spacing: .06em; }
/* "Explorar catálogo" centrado en la columna de texto de la portada (entre el borde izquierdo y el carrusel). */
.hero__actions--center { justify-content: center; }

.rating { display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; }
.rating strong { font-weight: 600; }
.rating__count { color: var(--muted); }
.stars { --pct: calc(var(--rating) / 5 * 100%); display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: .12em; }
.stars::before {
  content: "★★★★★";
  background: linear-gradient(90deg, var(--gold) var(--pct), rgba(141, 134, 153, .45) var(--pct));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Calificar talento (solo clientes): al pasar el mouse se encienden las estrellas hasta la señalada. */
.rate { margin: 1.6rem 0; padding: 1.1rem 1.2rem; border: 1px solid rgba(212, 175, 106, .25); border-radius: 14px; }
.rate h3 { margin: 0 0 .4rem; }
/* Sin hueco entre estrellas (gap: 0): así el mouse nunca "enciende todas" al pasar entre dos. */
.rate__stars { display: inline-flex; gap: 0; }
.rate__star { border: 0; background: none; padding: .1rem .2rem; font-size: 1.9rem; line-height: 1; cursor: pointer; color: rgba(141, 134, 153, .45); transition: color .15s, transform .15s; }
.rate__star.is-on { color: var(--gold); }
/* Vista previa con mouse o teclado: se colorean de la 1 hasta la señalada; al salir vuelve la guardada. */
.rate__stars:hover .rate__star, .rate__stars:has(.rate__star:focus-visible) .rate__star { color: var(--gold); }
.rate__stars .rate__star:hover ~ .rate__star, .rate__stars .rate__star:focus-visible ~ .rate__star { color: rgba(141, 134, 153, .45); }
.rate__star:hover, .rate__star:focus-visible { transform: scale(1.15); outline: none; }
.rate__note { margin: .3rem 0 0; color: var(--muted); font-size: .85rem; }
.rate__remove { margin-top: .5rem; }

body:has(dialog[open]) { overflow: hidden; }
.talent-dialog {
  width: min(1040px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem);
  padding: 0; border: 1px solid rgba(212, 175, 106, .25); border-radius: var(--radius);
  background: var(--bg-2); color: #fff; box-shadow: var(--shadow);
}
.talent-dialog::backdrop { background: rgba(8, 6, 12, .78); backdrop-filter: blur(4px); }
.talent-dialog[open] { animation: dialog-in .35s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.talent-dialog__body { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; padding: 2.2rem; }
.talent-dialog__close {
  position: absolute; top: .9rem; right: .9rem; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2); background: rgba(14, 11, 20, .6);
  color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.talent-dialog__close:hover { border-color: var(--gold); color: var(--gold); }
.talent-dialog__info h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: .2rem; }
.talent-dialog__info h3 { font: 600 .75rem var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 1.6rem 0 .7rem; }
.talent-dialog__role { color: var(--gold-2); margin-bottom: .6rem; }
.talent-dialog__info .btn { margin-top: 1.8rem; }

.gallery { display: flex; flex-direction: column; gap: .8rem; }
.gallery__main, .gallery__thumb {
  position: relative; overflow: hidden; border-radius: 14px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, .25), transparent 45%),
    linear-gradient(160deg, hsl(var(--h1) 45% 35%), hsl(var(--h2) 55% 55%));
}
.gallery__main { aspect-ratio: 4 / 5; display: grid; place-items: center; }
.gallery__main::before {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 66%; height: 78%; transform: translateX(-50%);
  background: rgba(14, 11, 20, .35); border-radius: 50% 50% 0 0 / 38% 38% 0 0;
}
.gallery__initials { position: relative; font: italic 500 4rem var(--font-serif); color: rgba(255, 255, 255, .85); }
.gallery__label {
  position: absolute; left: 1rem; bottom: 1rem; padding: .3rem .8rem; border-radius: 999px;
  background: rgba(14, 11, 20, .65); font-size: .78rem; letter-spacing: .08em;
}
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.gallery__thumb { aspect-ratio: 1; border: 2px solid transparent; cursor: pointer; padding: 0; }
.gallery__thumb span { position: absolute; inset: auto 0 .35rem; font-size: .68rem; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.gallery__thumb.is-active, .gallery__thumb:hover { border-color: var(--gold); }
.gallery__main { transition: background-image .35s var(--ease); }
.gallery__main.is-zoomable { cursor: zoom-in; }
.gallery__arrow, .lightbox__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; padding: 0 0 .2rem;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: rgba(14, 11, 20, .55);
  color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; transition: border-color .2s, color .2s, background .2s;
}
.gallery__arrow:hover, .lightbox__arrow:hover { border-color: var(--gold); color: var(--gold); background: rgba(14, 11, 20, .8); }
.gallery__arrow--prev { left: .7rem; }
.gallery__arrow--next { right: .7rem; }

/* Foto del book en pantalla completa (la crea script.js). */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: rgba(5, 4, 8, .96); color: #fff;
}
.lightbox::backdrop { background: rgba(5, 4, 8, .96); }
.lightbox[open] { animation: dialog-in .25s var(--ease); }
.lightbox__img { position: absolute; inset: 3.5rem 4.5rem 3.5rem; background: var(--img) center / contain no-repeat; cursor: zoom-out; }
.lightbox__close {
  position: absolute; top: 1rem; right: 1rem; z-index: 2; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(14, 11, 20, .55); color: #fff; font-size: 1.5rem; cursor: pointer;
}
.lightbox__close:hover { border-color: var(--gold); color: var(--gold); }
.lightbox__arrow--prev { left: 1rem; }
.lightbox__arrow--next { right: 1rem; }
.lightbox.is-single .lightbox__arrow { display: none; }
.lightbox__caption { position: absolute; left: 0; right: 0; bottom: 1rem; margin: 0; text-align: center; font-size: .85rem; letter-spacing: .08em; color: rgba(255, 255, 255, .75); }
@media (max-width: 640px) {
  .lightbox__img { inset: 3.5rem .5rem 3rem; }
  .lightbox__arrow { top: auto; bottom: .6rem; transform: none; }
}

.talent-data { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 1.2rem; margin: 1.6rem 0 0; }
.talent-data__wide { grid-column: span 3; }
.talent-data dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.talent-data dd { margin: 0; font-weight: 500; }

/* ==========================================================
   Nosotros y Clientes
   ========================================================== */
.subhead { font: 600 .78rem var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: #a07f3f; text-align: center; margin-bottom: 2rem; }
.nosotros__why { margin-top: clamp(4rem, 8vw, 6.5rem); }

.section--soft { background: linear-gradient(135deg, var(--light-2), #ead9c8); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.review { margin: 0; padding: 2rem; border-radius: var(--radius); background: #fff; border: 1px solid rgba(27, 22, 34, .07); display: flex; flex-direction: column; gap: 1rem; }
.review blockquote { margin: 0; flex: 1; font: italic 500 1.12rem/1.55 var(--font-serif); }
.review figcaption { color: var(--muted-dark); font-size: .85rem; }

/* Eventos realizados (Clientes): carrusel con scroll-snap (se desliza con el dedo); script.js lo avanza solo.
   --img = foto real; sin foto, fondo de color con --h1/--h2. */
.events { --per-view: 3; --gap: 1rem; position: relative; }
.events__track {
  display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding: .5rem 0 1rem; outline: none;
}
.events__track::-webkit-scrollbar { display: none; }
.events__arrow {
  position: absolute; top: calc(50% - .25rem); transform: translateY(-50%); z-index: 1;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(27, 22, 34, .1);
  background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer;
  box-shadow: 0 8px 20px rgba(27, 22, 34, .15); transition: background .25s, color .25s;
}
.events__arrow:hover, .events__arrow:focus-visible { background: var(--gold); color: var(--ink); }
.events__arrow--prev { left: -22px; }
.events__arrow--next { right: -22px; }
.events__more { text-align: center; margin: 1.6rem 0 clamp(3.5rem, 7vw, 5rem); }
.event-tile {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  aspect-ratio: 4 / 3; scroll-snap-align: start;
  position: relative; overflow: hidden; border: 0; padding: 1.2rem; cursor: pointer; text-align: left;
  border-radius: var(--radius); color: #fff; font: inherit;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  background:
    linear-gradient(180deg, rgba(14, 11, 20, .05) 35%, rgba(14, 11, 20, .78)),
    var(--img, radial-gradient(circle at 70% 25%, rgba(255, 255, 255, .28), transparent 45%)),
    linear-gradient(150deg, hsl(var(--h1) 45% 35%), hsl(var(--h2) 55% 55%));
  background-size: cover; background-position: center;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.event-tile:hover, .event-tile:focus-visible { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(27, 22, 34, .22); }
.event-tile__sector {
  padding: .3rem .8rem; border-radius: 999px; background: rgba(14, 11, 20, .55);
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
}
.event-tile__caption { display: flex; flex-direction: column; gap: .25rem; }
.event-tile__caption strong { font: 500 1.35rem/1.2 var(--font-serif); }
.event-tile__caption small { font-size: .82rem; color: rgba(255, 255, 255, .8); }

.gallery--event .gallery__main { aspect-ratio: 4 / 3; }
.gallery--event .gallery__main::before { display: none; }
.gallery--event .gallery__main, .gallery--event .gallery__thumb {
  background:
    var(--img, radial-gradient(circle at 70% 25%, rgba(255, 255, 255, .25), transparent 45%)),
    linear-gradient(150deg, hsl(var(--h1) 45% 35%), hsl(var(--h2) 55% 55%));
  background-size: cover; background-position: center;
}
.event-dialog__summary { color: rgba(255, 255, 255, .78); line-height: 1.6; }
.event-dialog .talent-data { grid-template-columns: repeat(2, 1fr); }

/* ==========================================================
   Contacto: WhatsApp y redes sociales
   ========================================================== */

.social { margin-top: 2rem; }
.social__title { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: .8rem; }
.social__list { display: flex; flex-wrap: wrap; gap: .9rem; list-style: none; padding: 0; margin: 0; }
.social__list a {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .85);
  transition: color .25s, border-color .25s, transform .25s var(--ease);
}
.social__list a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.social__list svg { width: 27px; height: 27px; }

@media (max-width: 1024px) {
  .events { --per-view: 2; }
  .events__arrow--prev { left: -12px; }
  .events__arrow--next { right: -12px; }
  .reviews { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
}
@media (max-width: 760px) {
  .talent-dialog { width: 100%; max-width: none; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .talent-dialog__body { grid-template-columns: 1fr; gap: 1.6rem; padding: 1.2rem 1rem 2rem; }
  .gallery__main { aspect-ratio: 1; }
  .talent-data { grid-template-columns: repeat(2, 1fr); }
  .talent-data__wide { grid-column: span 2; }
  .events { --per-view: 1.15; }
  .events__arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .events__track { scroll-behavior: auto; }
}

/* Botón "Escríbenos por WhatsApp" de Contacto, con destello: un halo verde que sale del botón y se desvanece. */
.btn--wa { background: var(--wa); border-color: var(--wa); color: #08060c; }
.btn--wa:hover { background: #1ebe5a; border-color: #1ebe5a; color: #08060c; }
.wa-cta { margin: 0 0 .6rem; padding-block: 1rem; font-size: 1rem; animation: wa-pulse 2.2s infinite; }
.wa-cta svg { width: 22px; height: 22px; fill: currentColor; }
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .7); }
  70%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
}
@media (prefers-reduced-motion: reduce) { .wa-cta { animation: none; } }

/* Botón "Ir arriba" (partials/footer), centrado abajo */
.to-top {
  position: fixed; left: 50%; bottom: 1.6rem; z-index: 60; margin-left: -23px;
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(14, 11, 20, .75); backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 106, .55); color: var(--gold);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s, background .25s, color .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: var(--ink); }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Burbuja flotante del asistente (partials/assistant), abajo a la derecha; destello dorado como el del botón de WhatsApp. */
.assistant { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 70; }
.assistant__toggle {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink);
  box-shadow: 0 12px 30px -8px rgba(212, 175, 106, .7); transition: transform .25s var(--ease);
  animation: assistant-pulse 2.4s infinite;
}
.assistant__toggle:hover { transform: scale(1.07); }
.assistant__toggle .icon-assistant { width: 30px; height: 30px; }
.assistant.is-open .assistant__toggle { animation: none; }
@keyframes assistant-pulse {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 106, .65); }
  70%, 100% { box-shadow: 0 0 0 16px rgba(212, 175, 106, 0); }
}
.assistant__panel {
  position: absolute; right: 0; bottom: calc(100% + .9rem);
  width: min(360px, calc(100vw - 2rem)); max-height: min(560px, calc(100dvh - 7rem));
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: calc(var(--radius) + 4px); background: var(--surface); color: #fff;
  border: 1px solid rgba(212, 175, 106, .3); box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  animation: assistant-in .25s var(--ease);
}
@keyframes assistant-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.assistant__head {
  display: flex; align-items: center; gap: .8rem; padding: 1rem 1.1rem;
  background: linear-gradient(135deg, rgba(212, 175, 106, .18), transparent); border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.assistant__head h2 { font-size: 1.15rem; margin: 0; }
.assistant__head p { margin: 0; font-size: .78rem; color: rgba(255, 255, 255, .6); }
.assistant__avatar {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink);
}
.assistant__avatar .icon-assistant { width: 22px; height: 22px; }
.assistant__close {
  margin-left: auto; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1.3rem; line-height: 1;
  border: 1px solid rgba(255, 255, 255, .15); background: none; color: rgba(255, 255, 255, .75);
}
.assistant__close:hover { border-color: var(--gold); color: var(--gold); }
.assistant__body { padding: 1.1rem; overflow-y: auto; }
.assistant__bubble {
  margin: 0 0 1rem; padding: .8rem 1rem; border-radius: 4px 16px 16px 16px; font-size: .92rem; line-height: 1.5;
  background: rgba(255, 255, 255, .07);
}
.assistant__actions { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.assistant__actions a {
  display: block; padding: .65rem .9rem; border-radius: 999px; font-size: .88rem; color: var(--gold-2);
  border: 1px solid rgba(212, 175, 106, .4); transition: background .2s, border-color .2s;
}
.assistant__actions a:hover { background: rgba(212, 175, 106, .12); border-color: var(--gold); }
.assistant__input { display: flex; gap: .5rem; padding: .8rem 1rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.assistant__input input {
  flex: 1; min-width: 0; padding: .65rem .9rem; border-radius: 999px; font: inherit; font-size: .85rem;
  border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); color: #fff;
}
.assistant__input input:disabled { cursor: not-allowed; }
.assistant__input button {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(212, 175, 106, .25); color: var(--ink); cursor: not-allowed;
}
.assistant__input svg { width: 18px; height: 18px; fill: var(--gold-2); }
@media (max-width: 560px) { .assistant { right: 1rem; bottom: 1rem; } }
@media (prefers-reduced-motion: reduce) { .assistant__toggle, .assistant__panel { animation: none; } }

/* Ventana de aviso del buzón de Contacto (enviado / error), con botón "Aceptar". */
.notice-dialog {
  width: min(400px, calc(100vw - 2rem)); padding: 0; border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(212, 175, 106, .35); background: var(--surface); color: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.notice-dialog::backdrop { background: rgba(8, 6, 12, .78); backdrop-filter: blur(4px); }
.notice-dialog[open] { animation: dialog-in .3s var(--ease); }
.notice-dialog__body { padding: 2rem 1.8rem 1.6rem; text-align: center; }
.notice-dialog__icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%;
  font-size: 1.6rem; font-weight: 600; color: var(--ink); background: linear-gradient(135deg, var(--gold-2), var(--gold));
}
.notice-dialog.is-error .notice-dialog__icon { background: #ef7a8f; }
.notice-dialog h2 { font-size: 1.5rem; margin-bottom: .4rem; }
.notice-dialog p { color: rgba(255, 255, 255, .75); margin: 0 0 1.4rem; }
@media (prefers-reduced-motion: reduce) { .notice-dialog[open] { animation: none; } }

/* Título de formularios (panel y buzón de Contacto) */
.form__title { font-size: 1.5rem; margin-bottom: .3rem; }
#contactForm .form__title { margin-bottom: 1.4rem; }

/* Cotización (guardada para después, resources/views/quotes): secciones, personal, mapa y fechas. */
.form__section {
  font: 600 .72rem var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  margin: 1.8rem 0 1rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .08);
}
.form__section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.form__hint { font-size: .85rem; color: rgba(255, 255, 255, .55); margin: -.4rem 0 .9rem; }

/* Cotización: personal (casilla + cantidad por tipo). */
.staff__row {
  display: grid; grid-template-columns: 1fr 130px; align-items: center; gap: .3rem 1rem;
  padding: .55rem .8rem; margin-bottom: .5rem; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .08); transition: border-color .2s, background .2s;
}
.staff__row.is-on { border-color: rgba(212, 175, 106, .45); background: rgba(212, 175, 106, .06); }
.staff__row .check { margin: 0; font-size: .95rem; }
.staff__qty input { width: 100%; padding: .55rem .7rem; }
.staff__qty input:disabled { opacity: .35; }
.staff__error { grid-column: 1 / -1; }

/* Cotización: mapa con pin (Leaflet). */
.map-field__label { font-size: .8rem; font-weight: 500; margin-bottom: .45rem; color: rgba(255, 255, 255, .75); }
.map-field__map {
  height: 280px; border-radius: 12px; overflow: hidden; z-index: 0;
  border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04);
}
.map-field__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: .7rem 0 .4rem; }
.map-field__status { font-size: .8rem; }

/* Cotización: fechas y horarios (una fila por día). */
.dates__row { display: grid; grid-template-columns: 1.3fr 1fr 1fr 40px; gap: .8rem; align-items: start; }
.dates__row .field { margin-bottom: .8rem; }
.dates__remove {
  margin-top: 1.55rem; width: 40px; height: 44px; border-radius: 10px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .15); background: none; color: rgba(255, 255, 255, .7); font-size: 1.3rem;
}
.dates__remove:hover { border-color: #ef7a8f; color: #ef7a8f; }
.dates__add { margin: 0 0 1.4rem; }
.field input[type=date], .field input[type=time] { color-scheme: dark; }
@media (max-width: 560px) {
  .dates__row { grid-template-columns: 1fr 1fr 40px; padding-bottom: .4rem; border-bottom: 1px dashed rgba(255, 255, 255, .1); margin-bottom: .8rem; }
  .dates__row .field:first-child { grid-column: 1 / -1; }
  .staff__row { grid-template-columns: 1fr 110px; }
}

/* ==========================================================
   Bolsa de trabajo: página, formularios por pasos y panel de postulaciones
   ========================================================== */
.req { color: var(--gold); }
.link-btn { background: none; border: 0; padding: 0; color: var(--gold); font: 500 .85rem var(--font-sans); cursor: pointer; text-underline-offset: 3px; }
.link-btn:hover { text-decoration: underline; color: var(--gold-2); }
.link { color: var(--gold-2); text-underline-offset: 3px; }
.link:hover { text-decoration: underline; }

/* Página /bolsa-de-trabajo ("casting abierto"): identidad propia, distinta del inicio. Talento protagonista; staff al final. */
/* Portada: escenario con un haz de luz desde arriba y el "pase de casting". */
.casting {
  position: relative; overflow: hidden; color: #fff; padding: clamp(8rem, 14vw, 10rem) 0 clamp(4rem, 8vw, 6rem);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 88px),
    linear-gradient(180deg, #08060c 0%, var(--bg) 60%, var(--bg-2) 100%);
}
.casting__light {
  position: absolute; top: -10%; left: 50%; width: min(1100px, 140vw); height: 120%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse 38% 60% at 50% 0%, rgba(240, 217, 168, .22), rgba(212, 175, 106, .06) 55%, transparent 75%);
  clip-path: polygon(38% 0, 62% 0, 92% 100%, 8% 100%);
  animation: casting-light 7s ease-in-out infinite alternate;
}
@keyframes casting-light { from { opacity: .75; } to { opacity: 1; } }
.casting__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.casting__live {
  display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.4rem; padding: .4rem .9rem; border-radius: 999px;
  border: 1px solid rgba(212, 175, 106, .5); font: 600 .72rem var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2);
}
.casting__live span { width: 8px; height: 8px; border-radius: 50%; background: #ef4f6b; box-shadow: 0 0 0 0 rgba(239, 79, 107, .6); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(239, 79, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 79, 107, 0); } }
.casting h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: 1.02; margin-bottom: 1.3rem; letter-spacing: -.01em; }
.casting h1 em { display: block; }
.casting__lead { max-width: 520px; font-size: 1.08rem; font-weight: 300; color: rgba(255, 255, 255, .72); margin-bottom: 2rem; }
.casting__cta { padding: 1.15rem 2.3rem; font-size: 1.02rem; }
.casting__more { display: inline-block; margin-left: 1.4rem; font-size: .88rem; color: rgba(255, 255, 255, .6); text-underline-offset: 4px; }
.casting__more:hover { color: var(--gold); text-decoration: underline; }
.casting-pass {
  position: relative; padding: 1.6rem 1.7rem 1.3rem; border-radius: 20px; color: var(--ink); transform: rotate(2deg);
  background: linear-gradient(160deg, #fbf6ec, #efe3cc);
  box-shadow: 0 30px 70px -25px rgba(0, 0, 0, .8), 0 0 0 1px rgba(212, 175, 106, .5);
  /* muescas de boleto a los lados */
  -webkit-mask: radial-gradient(circle 13px at 0 72%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% 72%, transparent 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 13px at 0 72%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% 72%, transparent 98%, #000) right / 51% 100% no-repeat;
  transition: transform .5s var(--ease);
}
.casting-pass:hover { transform: rotate(0); }
.casting-pass__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: .9rem; border-bottom: 2px solid var(--ink); }
.casting-pass__head span { font: 600 .68rem var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: #8a6a2f; }
.casting-pass__head strong { font: italic 500 1.5rem var(--font-serif); }
.casting-pass__rows { margin: .4rem 0 0; }
.casting-pass__rows div { display: grid; grid-template-columns: 96px 1fr; gap: .8rem; padding: .62rem 0; border-bottom: 1px solid rgba(27, 22, 34, .12); }
.casting-pass__rows dt { font: 600 .68rem var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: #8a6a2f; padding-top: .15rem; }
.casting-pass__rows dd { margin: 0; font-weight: 500; font-size: .93rem; }
.casting-pass__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.3rem; padding-top: 1rem; border-top: 2px dashed rgba(27, 22, 34, .3); font: 600 .68rem var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: #8a6a2f; }
.casting-pass__code { width: 110px; height: 30px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 13px); opacity: .85; }

/* Perfiles: índice editorial numerado (no tarjetas). */
.casting-roles { background: var(--bg-2); color: #fff; padding: clamp(3rem, 6vw, 5rem) 0; }
.casting-roles__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .4rem 2rem; margin-bottom: 2.2rem; }
.casting-roles__head .eyebrow { grid-column: 1 / -1; margin: 0; }
.casting-roles__head h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 0; }
.casting-roles__head p:not(.eyebrow) { margin: 0; color: rgba(255, 255, 255, .55); }
.casting-roles__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(212, 175, 106, .3); }
.casting-role {
  display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, .9fr); gap: 1.5rem; align-items: center;
  padding: 1.6rem .4rem; border-bottom: 1px solid rgba(212, 175, 106, .3); transition: background .3s, padding .3s var(--ease);
}
.casting-role:hover { background: linear-gradient(90deg, rgba(212, 175, 106, .1), transparent 70%); padding-left: 1rem; }
.casting-role__num { font: italic 500 clamp(2.2rem, 4vw, 3.2rem)/1 var(--font-serif); color: var(--gold); }
.casting-role__body h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .25rem; }
.casting-role__body p { margin: 0; color: rgba(255, 255, 255, .62); font-size: .92rem; }
.casting-role__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .45rem; }
.casting-role__tags li { padding: .32rem .8rem; border-radius: 999px; font-size: .78rem; color: var(--gold-2); border: 1px solid rgba(212, 175, 106, .4); }

/* Proceso: línea de tiempo horizontal sobre fondo claro. */
.casting-flow { padding: clamp(3rem, 6vw, 5rem) 0; background: var(--light); }
.casting-flow__head { text-align: center; margin-bottom: 3rem; }
.casting-flow__head h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
.casting-flow__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; position: relative; }
.casting-flow__steps::before { content: ""; position: absolute; top: 22px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--gold-2), var(--gold), #b8904c); }
.casting-flow__steps li { position: relative; text-align: center; }
.casting-flow__dot {
  position: relative; display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 1.1rem; border-radius: 50%;
  background: var(--ink); color: var(--gold-2); font: italic 500 1.2rem var(--font-serif); box-shadow: 0 0 0 6px var(--light);
}
.casting-flow__steps h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.casting-flow__steps p { margin: 0; font-size: .9rem; color: var(--muted-dark); }

/* Requisitos + preguntas frecuentes. */
.casting-faq { padding: clamp(3rem, 6vw, 5rem) 0; background: var(--light-2); }
.casting-faq__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.casting-faq h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.casting-checklist { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .8rem; }
.casting-checklist li { position: relative; padding: 1rem 1rem 1rem 3.1rem; border-radius: 14px; background: #fff; border: 1px solid rgba(27, 22, 34, .07); font-size: .94rem; color: var(--muted-dark); }
.casting-checklist li::before {
  content: "✓"; position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%; font-size: .8rem; font-weight: 700; color: var(--ink); background: linear-gradient(135deg, var(--gold-2), var(--gold));
}
.casting-checklist strong { color: var(--ink); font-weight: 600; }
.faq { border-bottom: 1px solid rgba(27, 22, 34, .12); }
.faq summary {
  position: relative; list-style: none; cursor: pointer; padding: 1.1rem 2.4rem 1.1rem 0; font: 500 1.15rem var(--font-serif); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%); font: 300 1.6rem var(--font-sans); color: #a07f3f; transition: transform .3s var(--ease); }
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.faq p { margin: 0 0 1.1rem; color: var(--muted-dark); font-size: .94rem; max-width: 560px; }
.faq[open] p { animation: reveal-in .35s var(--ease); }

/* Llamado final: franja dorada. */
.casting-cta { background: linear-gradient(120deg, var(--gold-2), var(--gold) 55%, #b8904c); color: var(--ink); padding: 2.4rem 0; }
.casting-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.casting-cta h2 { margin: 0; font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
.btn--dark { background: var(--ink); color: var(--gold-2); box-shadow: 0 12px 30px -14px rgba(27, 22, 34, .8); }
.btn--dark:hover { background: #000; color: #fff; }
.staff-band { background: var(--bg-2); color: #fff; padding: 2.2rem 0; border-top: 1px solid rgba(212, 175, 106, .18); }
.staff-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; flex-wrap: wrap; }
.staff-band .eyebrow { margin-bottom: .4rem; font-size: .7rem; }
.staff-band h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin-bottom: .3rem; }
.staff-band__areas { margin: 0; font-size: .85rem; color: rgba(255, 255, 255, .6); }

/* Formularios por pasos (/bolsa-de-trabajo/talento y /staff) */
.apply { background: var(--bg); color: #fff; min-height: 100vh; padding: clamp(6.5rem, 12vw, 8rem) 0 4rem; }
.apply__inner { max-width: 820px; }
.apply__head { margin-bottom: 1.6rem; }
.apply__head h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .4rem; }
.apply__lead { color: rgba(255, 255, 255, .6); margin: 0; }
.apply__back { display: inline-block; margin-bottom: 1.2rem; font-size: .85rem; color: rgba(255, 255, 255, .6); }
.apply__back:hover { color: var(--gold); }
.wizard { position: relative; scroll-margin-top: 90px; }
.wizard__title { display: flex; align-items: center; gap: .7rem; font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: 1.4rem; outline: none; }
.wizard__title span {
  display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%;
  font: 600 .85rem var(--font-sans); color: var(--ink); background: linear-gradient(135deg, var(--gold-2), var(--gold));
}
.wizard__step + .wizard__step { margin-top: 2.4rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.wizard.is-enhanced .wizard__step { margin-top: 0; padding-top: 0; border-top: 0; }
.wizard.is-enhanced .wizard__step:not(.is-current) { display: none; }
.wizard.is-enhanced .wizard__step.is-current { animation: step-in .4s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(18px); } }
.wizard__progress { margin: 0 0 1.8rem; }
.wizard__bar { height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.wizard__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold-2), var(--gold)); transition: width .5s var(--ease); }
.wizard__steps { list-style: none; display: flex; justify-content: space-between; gap: .4rem; margin: .9rem 0 0; padding: 0; }
.wizard__steps li { display: flex; align-items: center; gap: .45rem; font-size: .78rem; color: rgba(255, 255, 255, .45); transition: color .3s; }
.wizard__dot {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, .2); font-size: .7rem; font-weight: 600; transition: background .3s, border-color .3s, color .3s;
}
.wizard__steps li.is-current { color: #fff; }
.wizard__steps li.is-current .wizard__dot { border-color: var(--gold); color: var(--gold); }
.wizard__steps li.is-done { color: var(--gold-2); }
.wizard__steps li.is-done .wizard__dot { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.wizard__draft { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1rem; }
.wizard__nav {
  display: flex; align-items: center; gap: .8rem; margin: 1.8rem calc(-1 * clamp(1.5rem, 4vw, 2.6rem)) calc(-1 * clamp(1.5rem, 4vw, 2.6rem));
  padding: 1rem clamp(1.5rem, 4vw, 2.6rem); border-top: 1px solid rgba(255, 255, 255, .08);
  border-radius: 0 0 calc(var(--radius) + 6px) calc(var(--radius) + 6px); background: var(--surface);
}
.wizard.is-enhanced .wizard__nav { position: sticky; bottom: 0; z-index: 5; }
.wizard__count { flex: 1; text-align: center; font-size: .8rem; color: rgba(255, 255, 255, .5); }
.wizard__nav [data-wizard-next], .wizard__nav [data-wizard-submit] { margin-left: auto; min-width: 150px; }
.wizard:not(.is-enhanced) .wizard__nav { justify-content: flex-end; }
.wizard.is-sending { pointer-events: none; }
.form__row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.form__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gender-hint { margin-top: .4rem; }
.reveal-block.is-revealing { animation: reveal-in .4s var(--ease); }
@keyframes reveal-in { from { opacity: 0; transform: translateY(-6px); } }

/* Opciones como tarjetas (radio / checkbox): el input queda accesible pero invisible. */
.choice { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.choice > span {
  display: flex; align-items: center; justify-content: center; gap: .3rem; min-height: 48px; padding: .7rem 1rem;
  border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .03);
  color: rgba(255, 255, 255, .82); text-align: center; font-size: .92rem; line-height: 1.25;
  transition: border-color .2s, background .2s, color .2s, transform .15s var(--ease), box-shadow .2s;
}
.choice:hover > span { border-color: rgba(212, 175, 106, .55); }
.choice:active > span { transform: scale(.97); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.choice input:checked + span {
  border-color: var(--gold); background: rgba(212, 175, 106, .13); color: #fff;
  box-shadow: inset 0 0 0 1px var(--gold), 0 8px 22px -14px rgba(212, 175, 106, .9);
}
.choice input:disabled + span { opacity: .4; cursor: not-allowed; }
.choice-row { display: flex; gap: .7rem; }
.choice--pill { min-width: 96px; }
.choice--pill > span { border-radius: 999px; }
.gender-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.choice--card > span { flex-direction: column; min-height: 96px; padding: 1.1rem; }
.choice--card strong { font: 500 1.35rem var(--font-serif); }
.choice--card small { font-size: .78rem; color: rgba(255, 255, 255, .5); }
.category-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: .7rem; }
.choice--tile > span { justify-content: flex-start; text-align: left; padding-right: 2.4rem; min-height: 56px; }
.choice--tile > span::after {
  content: ""; position: absolute; right: .9rem; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, .3); transition: background .2s, border-color .2s;
}
.choice--tile input[type=radio] + span::after { border-radius: 50%; }
.choice--tile input:checked + span::after {
  border-color: var(--gold);
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%231b1622' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .45rem; margin-bottom: .6rem; }
.choice--day > span { padding: .6rem .2rem; font-size: .85rem; }
.choice--day abbr { text-decoration: none; }
fieldset.field.has-error .choice > span { border-color: rgba(239, 122, 143, .55); }

/* Archivos: book (varias fotos con vista previa) e INE / CV (uno). */
.upload { margin-bottom: 1.3rem; }
.upload__label { display: block; font-size: .8rem; font-weight: 500; margin-bottom: .5rem; color: rgba(255, 255, 255, .75); }
.dropzone {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem;
  padding: 1.8rem 1.2rem; border-radius: 16px; border: 1.5px dashed rgba(212, 175, 106, .45); background: rgba(212, 175, 106, .04);
  text-align: center; cursor: pointer; transition: background .2s, border-color .2s;
}
.dropzone:hover, .dropzone.is-over { background: rgba(212, 175, 106, .1); border-color: var(--gold); }
.dropzone__input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.wizard:not(.is-enhanced) .dropzone__input { position: static; opacity: 1; margin-top: .8rem; }
.dropzone__icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; margin-bottom: .3rem;
  font-size: 1.6rem; line-height: 1; color: var(--ink); background: linear-gradient(135deg, var(--gold-2), var(--gold));
}
.dropzone small { color: rgba(255, 255, 255, .5); font-size: .78rem; max-width: 420px; }
.dropzone:focus-within { outline: 2px solid var(--gold); outline-offset: 3px; }
.field.has-error .dropzone { border-color: #ef7a8f; }
.book-preview { list-style: none; padding: 0; margin: .9rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: .6rem; }
.book-preview:empty { display: none; }
.book-preview__item { position: relative; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .05); animation: reveal-in .3s var(--ease); }
.book-preview__item img { width: 100%; height: 100%; object-fit: cover; }
.book-preview__remove {
  position: absolute; top: .35rem; right: .35rem; width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(14, 11, 20, .72); color: #fff; font-size: 1.1rem; line-height: 1;
}
.book-preview__remove:hover { border-color: #f4a9b6; color: #f4a9b6; }
.book-preview__size { position: absolute; left: .35rem; bottom: .35rem; padding: .1rem .45rem; border-radius: 99px; background: rgba(14, 11, 20, .7); font-size: .65rem; }
.book-preview__spinner, .upload-dialog__spinner, .filebox.is-loading .filebox__thumb::after {
  display: block; width: 26px; height: 26px; border-radius: 50%;
  border: 2.5px solid rgba(212, 175, 106, .25); border-top-color: var(--gold); animation: spin .8s linear infinite;
}
.book-preview__item.is-loading { display: grid; place-items: center; }
@keyframes spin { to { transform: rotate(360deg); } }
.upload__count { margin: .6rem 0 0; font-size: .82rem; color: rgba(255, 255, 255, .55); }
.upload__count.is-ok { color: #8eeab3; }
.filebox {
  display: flex; align-items: center; gap: .9rem; padding: .8rem; border-radius: 14px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .03); transition: border-color .2s, background .2s;
}
.filebox:hover { border-color: rgba(212, 175, 106, .55); }
.filebox:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.filebox__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wizard:not(.is-enhanced) .filebox__input, .filebox--plain:not(.is-enhanced) .filebox__input { position: static; opacity: 1; width: auto; height: auto; }
.filebox__thumb {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; flex-shrink: 0; overflow: hidden;
  border-radius: 10px; background: rgba(212, 175, 106, .1); color: var(--gold);
}
.filebox__thumb svg { width: 24px; height: 24px; }
.filebox__thumb img { width: 100%; height: 100%; object-fit: cover; }
.filebox.is-loading .filebox__thumb > * { display: none; }
.filebox.is-loading .filebox__thumb::after { content: ""; }
.filebox__pdf { font: 700 .75rem var(--font-sans); letter-spacing: .06em; }
.filebox__text { display: flex; flex-direction: column; min-width: 0; }
.filebox__text strong { font-weight: 500; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filebox__text small { font-size: .75rem; color: rgba(255, 255, 255, .5); }
.has-file .filebox { border-color: rgba(37, 211, 102, .45); }
.field.has-error .filebox { border-color: #ef7a8f; }
.privacy-box { margin-top: 1.4rem; padding: 1rem 1.1rem; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); }
.privacy-box .check { margin: 0; }

/* Ventana de envío: progreso → enviado / error. En el celular sale como hoja desde abajo. */
.upload-dialog .notice-dialog__body { padding-top: 2.2rem; }
.upload-dialog__spinner { width: 52px; height: 52px; margin: 0 auto 1.1rem; border-width: 3px; }
.upload-dialog__bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; margin: 0 0 .4rem; }
.upload-dialog__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold-2), var(--gold)); transition: width .25s linear; }
.upload-dialog__pct { margin: 0 0 .4rem !important; font: 600 .85rem var(--font-sans); color: var(--gold-2) !important; }
.upload-dialog.is-done .notice-dialog__icon { animation: pop .45s var(--ease); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.1); } }

.assistant__actions a.assistant__action--featured {
  color: var(--ink); border-color: transparent; font-weight: 600;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 60%, #b8904c);
}
.assistant__actions a.assistant__action--featured:hover { filter: brightness(1.06); }

/* Panel: bandejas y ficha de postulaciones */
.badge--en_revision { background: rgba(107, 79, 160, .3); color: #cbb8f0; }
.badge--aprobado { background: rgba(37, 211, 102, .15); color: #8eeab3; }
.tabs__count { display: inline-block; min-width: 1.5em; margin-left: .25rem; padding: 0 .4em; border-radius: 99px; background: rgba(255, 255, 255, .08); font-size: .72rem; text-align: center; }
.tabs__item.is-active .tabs__count { background: rgba(212, 175, 106, .3); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0 0 1.4rem; }
.filters__search { flex: 1 1 240px; }
.filters input, .filters select {
  width: 100%; padding: .6rem .85rem; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04); color: #fff; font: 400 .85rem var(--font-sans); color-scheme: dark;
}
.filters select { width: auto; max-width: 100%; flex: 0 1 auto; }
.filters select option { background: var(--surface); }
.filters input:focus, .filters select:focus { outline: none; border-color: var(--gold); }
.filters select:disabled { opacity: .45; }
.application-row { display: flex; align-items: center; gap: 1.1rem; transition: border-color .2s, transform .2s var(--ease); }
.application-row:hover { border-color: rgba(212, 175, 106, .5); transform: translateY(-2px); }
.application-row__photo {
  display: grid; place-items: center; width: 64px; height: 80px; flex-shrink: 0; overflow: hidden; border-radius: 12px;
  background: linear-gradient(160deg, #3b2a5c, #7a3e63); font: italic 500 1.6rem var(--font-serif);
}
.application-row__photo img { width: 100%; height: 100%; object-fit: cover; }
.application-row__info { display: flex; flex-direction: column; gap: .3rem; flex: 1; min-width: 0; }
.application-row__info strong { font-weight: 600; }
.application-row__meta { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; text-align: right; flex-shrink: 0; }
.tag { padding: .2rem .65rem; border-radius: 999px; border: 1px solid rgba(212, 175, 106, .4); color: var(--gold-2); font-size: .72rem; }
.application { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.4rem; align-items: start; }
.application__side { position: sticky; top: 6.5rem; }
.details__wide { grid-column: 1 / -1; }
.app-gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .7rem; }
.app-gallery a { display: block; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .05); }
.app-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.app-gallery a:hover img { transform: scale(1.04); }
.card--gold { border-color: rgba(212, 175, 106, .55); background: linear-gradient(160deg, rgba(212, 175, 106, .1), var(--surface) 60%); }
.review__actions { display: flex; flex-direction: column; gap: .6rem; margin-top: 1rem; }
.review__actions form { margin: 0; }
.doc-list { list-style: none; margin: 0 0 .8rem; padding: 0; display: grid; gap: .6rem; }
.doc { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.doc__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(212, 175, 106, .12); color: var(--gold); font: 700 .65rem var(--font-sans); }
.doc__info { display: flex; flex-direction: column; flex: 1; min-width: 110px; }
.doc__info strong { font-weight: 500; font-size: .88rem; }
.doc__actions { display: flex; gap: .4rem; }
.doc__actions .btn { padding: .45rem .8rem; font-size: .78rem; }
.audit summary { cursor: pointer; font-size: .82rem; color: var(--gold-2); }
.audit ul { margin: .6rem 0 0; padding-left: 1.1rem; font-size: .78rem; color: rgba(255, 255, 255, .6); }
.notes-form textarea {
  width: 100%; min-height: 110px; padding: .75rem .9rem; margin-bottom: .7rem; border-radius: 12px; resize: vertical;
  border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); color: #fff; font: 400 .88rem var(--font-sans);
}
.notes-form textarea:focus { outline: none; border-color: var(--gold); }

.review__link { margin-top: .6rem; }
.review__delete { margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.btn--danger { border-color: rgba(239, 122, 143, .55); color: #f4a9b6; background: transparent; }
.btn--danger:hover { background: rgba(239, 122, 143, .12); border-color: #ef7a8f; color: #fff; }
/* Historial de la postulación: línea de tiempo (más reciente arriba). */
.history { list-style: none; margin: 0; padding: 0 0 0 1.1rem; border-left: 1px solid rgba(212, 175, 106, .3); }
.history__item { position: relative; display: flex; flex-direction: column; gap: .1rem; padding: 0 0 1rem .6rem; }
.history__item::before {
  content: ""; position: absolute; left: calc(-1.1rem - 5px); top: .4rem; width: 9px; height: 9px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--gold);
}
.history__item:last-child { padding-bottom: 0; }
.history__item strong { font-weight: 500; font-size: .88rem; }
.history__item--aprobado::before, .history__item--account_created::before { background: #8eeab3; border-color: #8eeab3; }
.history__item--rechazado::before, .history__item--email_failed::before { background: #f4a9b6; border-color: #f4a9b6; }
.history__note { font-size: .8rem; color: rgba(255, 255, 255, .75); }

/* Visor de fotos del book (panel) */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 6, 12, .96); color: #fff; }
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; animation: dialog-in .25s var(--ease); }
.lightbox::backdrop { background: rgba(8, 6, 12, .9); }
.lightbox__figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; padding: 3.5rem 0 1.5rem; min-width: 0; }
.lightbox__figure img { max-width: 100%; max-height: calc(100dvh - 6rem); object-fit: contain; border-radius: 10px; }
.lightbox__figure figcaption { font-size: .8rem; color: rgba(255, 255, 255, .6); }
.lightbox__nav, .lightbox__close {
  display: grid; place-items: center; width: 46px; height: 46px; margin: auto; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(14, 11, 20, .6); color: #fff; font-size: 1.8rem; line-height: 1;
}
.lightbox__close { position: absolute; top: 1rem; right: 1rem; z-index: 2; font-size: 1.5rem; }
.lightbox__nav:hover, .lightbox__close:hover { border-color: var(--gold); color: var(--gold); }

@media (max-width: 1024px) {
  .casting__inner { grid-template-columns: 1fr; }
  .casting-pass { max-width: 440px; width: 100%; margin-inline: auto; }
  .casting-role { grid-template-columns: 70px minmax(0, 1fr); }
  .casting-role__tags { grid-column: 2; justify-content: flex-start; }
  .casting-flow__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.4rem; }
  .casting-flow__steps::before { display: none; }
  .casting-faq__inner { grid-template-columns: 1fr; }
  .application { grid-template-columns: 1fr; }
  .application__side { position: static; }
}

@media (max-width: 760px) {
  .casting { padding-top: 7.5rem; }
  .casting__cta { width: 100%; }
  .casting__more { display: block; margin: 1rem 0 0; text-align: center; }
  .casting-pass { transform: none; padding: 1.3rem 1.2rem 1.1rem; }
  .casting-pass__rows div { grid-template-columns: 84px 1fr; }
  .casting-roles__head { grid-template-columns: 1fr; }
  .casting-role { grid-template-columns: 52px minmax(0, 1fr); gap: 1rem; padding: 1.3rem 0; }
  .casting-role:hover { padding-left: 0; }
  /* Pasos: lista vertical con línea a la izquierda. */
  .casting-flow__steps { grid-template-columns: 1fr; gap: 1.6rem; padding-left: 1.4rem; border-left: 2px solid var(--gold); }
  .casting-flow__steps li { text-align: left; padding-left: 1.6rem; }
  .casting-flow__dot { position: absolute; left: -2.55rem; top: -.2rem; width: 38px; height: 38px; margin: 0; font-size: 1rem; }
  .casting-cta__inner { flex-direction: column; text-align: center; }
  .casting-cta .btn { width: 100%; }
  .staff-band__inner { flex-direction: column; align-items: stretch; text-align: center; }
  .staff-band .btn { width: 100%; }
  .form__row--3, .form__row--4 { grid-template-columns: 1fr 1fr; gap: 0 .8rem; }
  /* 16 px: así Safari del iPhone no hace zoom al tocar un campo. */
  .wizard .field input, .wizard .field select, .wizard .field textarea { font-size: 16px; }
  .wizard__label { display: none; }
  .wizard__steps li.is-current .wizard__label { display: inline; }
  .wizard__nav { padding-bottom: calc(1rem + env(safe-area-inset-bottom)); gap: .5rem; }
  .wizard__nav [data-wizard-next], .wizard__nav [data-wizard-submit] { min-width: 0; flex: 1 1 auto; }
  .wizard__count { flex: 0 0 auto; font-size: .72rem; }
  .category-cards { grid-template-columns: 1fr 1fr; }
  .days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .book-preview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .application-row { align-items: flex-start; flex-wrap: wrap; }
  .application-row__meta { flex-direction: row; flex-wrap: wrap; align-items: center; width: 100%; justify-content: flex-start; gap: .5rem .8rem; text-align: left; }
  .filters select { flex: 1 1 45%; }
  /* Hoja desde abajo en el celular (pulgar a la mano, sin brincos). */
  .upload-dialog {
    width: 100%; max-width: none; margin: auto 0 0; border-radius: 22px 22px 0 0; border-bottom: 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .upload-dialog[open] { animation: sheet-in .35s var(--ease); }
  .lightbox[open] { grid-template-columns: 1fr; }
  .lightbox__nav { position: absolute; bottom: 1.2rem; z-index: 2; }
  .lightbox__nav--prev { left: 1.2rem; }
  .lightbox__nav--next { right: 1.2rem; }
  .lightbox__figure { padding: 3.5rem .6rem 5rem; }
}
@keyframes sheet-in { from { transform: translateY(100%); } }
@media (max-width: 420px) {
  .category-cards { grid-template-columns: 1fr; }
  .choice--card > span { min-height: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .upload-dialog[open], .wizard.is-enhanced .wizard__step.is-current, .reveal-block.is-revealing { animation: none; }
  .casting__light, .casting__live span { animation: none; }
  .casting-pass { transform: none; }
}

/* ==========================================================
   Carrito de talentos y cotización (solo clientes)
   ========================================================== */
/* Icono del carrito en la cabecera (junto a la campana): el número = talentos seleccionados. */
.cart-link {
  position: relative; display: grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; color: #fff; transition: border-color .2s, background .2s;
}
.nav__menu a.cart-link::after { content: none; }
.cart-link:hover { border-color: var(--gold); background: rgba(212, 175, 106, .1); }
.cart-link svg { width: 18px; height: 18px; fill: currentColor; }
.cart-link__badge { position: absolute; top: -5px; right: -7px; box-shadow: 0 0 0 2px var(--bg); }

/* Botón "Seleccionar para mi evento" del book */
.cart-pick { margin: 1.2rem 0 .8rem; padding: 1rem; border-radius: 14px; border: 1px solid rgba(212, 175, 106, .3); background: rgba(212, 175, 106, .06); }
.cart-pick__form { display: flex; flex-direction: column; gap: .6rem; }
.cart-pick__price { margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .8); }
.cart-pick__price strong { color: var(--gold-2); }
.cart-pick .btn svg { width: 18px; height: 18px; fill: currentColor; }
.cart-pick__done { display: flex; align-items: center; gap: .5rem; margin: 0 0 .7rem; color: var(--gold-2); font-size: .9rem; }
.cart-pick__done svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.cart-pick__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cart-pick__actions form { margin: 0; }
.cart-pick__error { margin: .6rem 0 0; }

/* Páginas del carrito (/carrito y /carrito/evento) */
.shop { background: var(--bg); color: #fff; padding: 7.5rem 0 clamp(4rem, 8vw, 6rem); min-height: 70vh; }
.shop__head { text-align: center; margin-bottom: 2rem; }
.shop__head h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); margin: 0 0 1.2rem; }
.shop-steps { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem 1.6rem; margin: 0; padding: 0; list-style: none; font-size: .85rem; color: rgba(255, 255, 255, .45); }
.shop-steps li { display: flex; align-items: center; gap: .5rem; }
.shop-steps span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); font-weight: 600; font-size: .78rem; }
.shop-steps .is-current { color: #fff; }
.shop-steps .is-current span { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.shop-steps .is-done span { border-color: var(--gold); color: var(--gold); }
.shop__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 2rem; align-items: start; }
.shop-empty { max-width: 560px; margin: 0 auto; text-align: center; }
.shop-form { margin: 0; }
.shop-summary { position: sticky; top: 6.5rem; margin: 0; }
.shop-summary .btn + .btn { margin-top: .6rem; }
.shop-summary__count { margin: 0; font: 500 1.6rem var(--font-serif); color: var(--gold); }
.shop-summary__edit { display: inline-block; margin: .2rem 0 .6rem; font-size: .85rem; color: var(--gold-2); text-decoration: underline; }
.shop-list { display: flex; flex-direction: column; gap: .8rem; margin: 0; padding: 0; list-style: none; }
.shop-item {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto; gap: 1rem; align-items: center;
  padding: .8rem; border-radius: 14px; background: var(--surface); border: 1px solid rgba(255, 255, 255, .08);
}
.shop-item__photo {
  width: 64px; aspect-ratio: 4 / 5; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(160deg, hsl(var(--h1) 45% 35%), hsl(var(--h2) 55% 55%));
  font: 500 1.3rem var(--font-serif); color: rgba(255, 255, 255, .85);
}
.shop-item__photo.has-photo { background: var(--img) center / cover no-repeat; }
.shop-item__info { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.shop-item__info strong { font-weight: 600; }
.shop-item__info span { font-size: .85rem; color: rgba(255, 255, 255, .6); }
.shop-item__info .badge { align-self: flex-start; }
.shop-item__price { font: 500 1.1rem var(--font-serif); color: var(--gold-2); white-space: nowrap; }
.shop-item__price small { margin-left: .25rem; font: 400 .75rem var(--font-sans); color: rgba(255, 255, 255, .5); }
.shop-item__remove { margin: 0; }
.shop-list--compact { gap: .5rem; }
.shop-list--compact .shop-item { grid-template-columns: 40px minmax(0, 1fr) auto; gap: .7rem; padding: .5rem; background: rgba(255, 255, 255, .03); }
.shop-list--compact .shop-item__photo { width: 40px; font-size: 1rem; border-radius: 8px; }
.shop-list--compact .shop-item__price { font-size: .95rem; }
.shop-totals { margin: 1rem 0; padding-top: .8rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.shop-totals div { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; font-size: .9rem; }
.shop-totals dt { color: rgba(255, 255, 255, .65); }
.shop-totals dd { margin: 0; white-space: nowrap; }
.shop-totals__sub { margin-top: .3rem; padding-top: .6rem !important; border-top: 1px solid rgba(255, 255, 255, .1); }
.shop-totals__total dt small { display: block; font: 400 .72rem var(--font-sans); color: rgba(255, 255, 255, .5); }
.shop-totals__total { margin-top: .4rem; padding-top: .7rem !important; border-top: 1px solid rgba(212, 175, 106, .35); }
.shop-totals__total dt, .shop-totals__total dd { font: 500 1.35rem var(--font-serif); color: var(--gold); }

/* Vestuario: tres opciones */
.wardrobe { border: 0; padding: 0; margin: 0 0 1rem; gap: .6rem; }
.wardrobe__option {
  display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 1rem; border-radius: 12px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .03); transition: border-color .2s, background .2s;
}
.wardrobe__option:has(input:checked) { border-color: var(--gold); background: rgba(212, 175, 106, .08); }
.wardrobe__option input { margin-top: .3rem; accent-color: var(--gold); }
.wardrobe__option span { display: flex; flex-direction: column; gap: .15rem; }
.wardrobe__option strong { font-weight: 500; }
.wardrobe__option small { font-size: .8rem; color: rgba(255, 255, 255, .6); }
.wardrobe__warning { margin-top: 0; }

/* Panel: precios y cotizaciones */
.price-table-wrap { overflow-x: auto; margin: 0 0 1rem; }
.price-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .9rem; }
.price-table th, .price-table td { padding: .5rem; text-align: left; vertical-align: middle; border-top: 1px solid rgba(255, 255, 255, .08); }
.price-table thead th { border-top: 0; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .45); font-weight: 500; }
.price-table tbody th { font-weight: 500; white-space: nowrap; }
.price-table .field { margin: 0; }
.price-table input { min-width: 0; width: 100%; }
.price-table__margin { color: var(--gold-2); white-space: nowrap; }
.service-rules { margin: 1rem 0 0; font-size: .85rem; color: rgba(255, 255, 255, .7); }
.service-rules summary { cursor: pointer; color: var(--gold-2); }
.service-rules ul { margin: .6rem 0 0; padding-left: 1.1rem; display: grid; gap: .35rem; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0 1rem; }
.price-grid__single { max-width: 320px; }
.money-input { display: flex; align-items: center; gap: .5rem; }
.money-input span { color: rgba(255, 255, 255, .55); font-size: .85rem; white-space: nowrap; }
.quote-total { font: 500 1.3rem var(--font-serif); color: var(--gold); text-align: right; }
.quote-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.quote-table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .45); font-weight: 500; padding: .4rem .5rem; }
.quote-table td { padding: .6rem .5rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.quote-table td:nth-child(n+3), .quote-table th:nth-child(n+3) { text-align: right; white-space: nowrap; }
.quote-status { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; }
.client-steps { margin: 0 0 1.2rem; padding-left: 1.2rem; color: rgba(255, 255, 255, .75); }
.client-steps li { margin-bottom: .3rem; }
.form__actions--start { justify-content: flex-start; flex-wrap: wrap; }
.client-quotes { margin: 0; padding: 0; list-style: none; }
.client-quotes li { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; padding: .7rem 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.client-quotes a { color: var(--gold-2); font-weight: 600; }
.client-quotes strong { margin-left: auto; color: var(--gold); }

@media (max-width: 1024px) {
  .shop__grid { grid-template-columns: 1fr; }
  .shop-summary { position: static; }
}
@media (max-width: 560px) {
  .shop-item { grid-template-columns: 56px minmax(0, 1fr); }
  .shop-item__photo { width: 56px; }
  .shop-item__price, .shop-item__remove { grid-column: 2; }
  .shop-list--compact .shop-item { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .shop-list--compact .shop-item__price { grid-column: auto; }
  .quote-table th:nth-child(3), .quote-table td:nth-child(3) { display: none; }
}

/* Botón "Seleccionar" al final de la tarjeta, debajo de sus datos (por encima de la capa que abre el book) */
.card-pick { position: relative; z-index: 2; }
.card-pick form { margin: 0; }
.card-pick__btn { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; }
.card-pick__btn svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.card-pick__btn.is-on { border-color: var(--gold); color: var(--gold-2); }
.card-pick__btn:disabled { opacity: .6; cursor: wait; }
.card-pick__btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; border-color: rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .6); }
.card-pick__btn[aria-disabled="true"]:hover { background: transparent; }

/* Catálogo: segunda fila de filtros con los niveles del grupo (Edecanes → Demoedecán, A, AA, AAA) */
.book__filters--sub { margin-top: -1.6rem; }
.chip--small { padding: .35rem .9rem; font-size: .8rem; background: transparent; color: var(--gold-2); border-color: rgba(212, 175, 106, .45); }
.chip--small:hover { border-color: var(--gold); }
.chip--small.is-active { border-color: var(--gold); background: rgba(212, 175, 106, .14); }
/* El grupo de la subsección elegida (Edecanes cuando se ve Edecán AA) queda resaltado como activo. */
.chip.is-parent { background: rgba(212, 175, 106, .14); color: var(--gold-2); }

/* ==========================================================
   Tarjeta del talento (inicio, Destacados y catálogo): foto con el nombre y la calificación encima (degradado) y,
   para clientes, una franja abajo con "Seleccionar". Toda la foto abre el book.
   ========================================================== */
.profile--compact { display: flex; flex-direction: column; border-color: rgba(255, 255, 255, .07); box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .8); }
.profile--compact:hover { border-color: rgba(212, 175, 106, .45); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .85), 0 0 0 1px rgba(212, 175, 106, .15); }
/* Seleccionado: marco dorado. */
.profile--compact:has(.card-pick__btn.is-on) { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 22px 45px -25px rgba(212, 175, 106, .45); }

/* Foto y texto en la misma celda: el nombre queda sobre la parte de abajo de la foto. */
.profile__media { position: relative; display: grid; overflow: hidden; }
.profile__media > * { grid-area: 1 / 1; }
.profile--compact .profile__photo { aspect-ratio: 3 / 4; transition: transform .8s var(--ease); }
.profile--compact:hover .profile__photo { transform: scale(1.05); }
.profile--compact .profile__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(14, 11, 20, .95) 0%, rgba(14, 11, 20, .55) 28%, rgba(14, 11, 20, 0) 55%);
}
.profile--compact .profile__photo span { margin-bottom: 18%; }

.profile--compact .profile__info {
  align-self: end; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .35rem;
  padding: 1.2rem 1rem 1.1rem; text-align: center; pointer-events: none;
}
.profile--compact .profile__open {
  margin: 0; pointer-events: auto; font: 500 1.45rem/1.1 var(--font-serif); letter-spacing: .1em; color: var(--gold-2);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
}
.profile--compact:hover .profile__open { text-decoration: none; color: #fff; }
/* La capa que abre el book cubre solo la foto (no la franja del botón). */
.profile--compact .profile__open::after { inset: 0; }
.profile--compact .rating { margin: 0; gap: .35rem; font-size: .8rem; color: rgba(255, 255, 255, .9); }
.profile--compact .stars { font-size: .85rem; }
.profile--compact .rating__count { color: rgba(255, 255, 255, .55); }
.profile__new {
  padding: .15rem .6rem; border: 1px solid rgba(212, 175, 106, .45); border-radius: 999px;
  font: 500 .68rem var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2);
}

/* Franja de abajo con el botón (solo clientes). */
.profile__foot { position: relative; z-index: 2; padding: .8rem .9rem .9rem; background: var(--surface); border-top: 1px solid rgba(212, 175, 106, .15); }
.profile__foot .card-pick { margin: 0; }
.profile__foot .card-pick__btn { padding: .62rem 1rem; border-radius: 999px; letter-spacing: .04em; }
.profile__foot .card-pick__btn.is-on { background: rgba(212, 175, 106, .14); }

/* Tarjetas chicas (destacados del inicio). */
.profile--small .profile__open { font-size: 1.2rem; }
.profile--small .profile__info { padding: 1rem .8rem .9rem; }

@media (prefers-reduced-motion: reduce) {
  .profile--compact .profile__photo, .profile--compact:hover .profile__photo { transition: none; transform: none; }
}
