/* ---------- Colores y tipografías (cámbialos aquí) ---------- */
:root {
  --mq-fondo: #14110e;
  --mq-superficie: #1d1915;
  --mq-texto: #ece6dc;
  --mq-texto-suave: #a79f93;
  --mq-dorado: #c9a86a;
  --mq-titulo: "Cormorant Garamond", Georgia, serif;
  --mq-cuerpo: "Jost", system-ui, sans-serif;
  /* Altura de tu header fijo: súbela o bájala si el título queda tapado o muy separado */
  --mq-alto-header: 100px;
}

body.mq-pagina {
  background: var(--mq-fondo);
  color: var(--mq-texto);
  font-family: var(--mq-cuerpo);
}

/* ---------- Ficha de la modelo ---------- */
.mq-ficha {
  max-width: 1100px;
  margin: 0 auto;
  padding: calc(var(--mq-alto-header) + 40px) 24px 88px;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px;
  align-items: start;
}

.mq-ficha__foto img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.mq-ficha__nombre {
  font-family: var(--mq-titulo);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 32px;
  color: var(--mq-texto);
}

.mq-datos {
  margin: 0 0 32px;
  border-top: 1px solid var(--mq-dorado);
}

.mq-datos__fila {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(201, 168, 106, 0.25);
}

.mq-datos dt {
  color: var(--mq-dorado);
  font-weight: 400;
}

.mq-datos dd {
  margin: 0;
}

.mq-descripcion {
  font-family: var(--mq-titulo);
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--mq-texto);
  margin: 0 0 28px;
}

.mq-ocasiones {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mq-ocasiones li {
  border: 1px solid rgba(201, 168, 106, 0.5);
  padding: 6px 14px;
  font-size: 0.95rem;
  color: var(--mq-texto);
}

.mq-boton {
  display: inline-block;
  background: var(--mq-dorado);
  color: var(--mq-fondo);
  padding: 14px 32px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
}

.mq-boton:hover,
.mq-boton:focus-visible {
  background: var(--mq-texto);
  color: var(--mq-fondo);
}

.mq-volver {
  display: inline-block;
  margin-left: 20px;
  color: var(--mq-texto-suave);
  text-decoration: underline;
}

/* ---------- Catálogo ---------- */
.mq-catalogo {
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--mq-alto-header) + 40px) 24px 96px;
}

.mq-catalogo__titulo {
  font-family: var(--mq-titulo);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
  margin: 0 0 40px;
  color: var(--mq-texto);
}

.mq-rejilla {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.mq-rejilla--fija {
  grid-template-columns: repeat(var(--mq-cols, 4), minmax(0, 1fr));
}

.mq-tarjeta {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--mq-superficie);
  color: var(--mq-texto);
  text-decoration: none;
}

.mq-tarjeta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mq-tarjeta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 55%);
}

.mq-tarjeta__texto {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
}

.mq-tarjeta__nombre {
  display: block;
  font-family: var(--mq-titulo);
  font-size: 1.7rem;
  line-height: 1.1;
	
}


.mq-tarjeta__edad {
  display: block;
  margin-top: 4px;
  color: var(--mq-dorado);
  font-size: 0.95rem;
	font-family: 'Jost';
}

.mq-tarjeta:focus-visible {
  outline: 2px solid var(--mq-dorado);
  outline-offset: 3px;
}

.mq-vacio {
  color: var(--mq-texto-suave);
}

/* ---------- Móvil ---------- */
@media (max-width: 767px) {
  .mq-ficha {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  :root {
    --mq-alto-header: 72px;
  }
  .mq-datos__fila {
    grid-template-columns: 6rem 1fr;
  }
  .mq-rejilla,
  .mq-rejilla--fija {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .mq-tarjeta__nombre {
    font-size: 1.3rem;
  }
}

.mq-estado {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  line-height: 1;
}

.mq-estado__punto {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}

/* Activo: punto verde con destello */
.mq-estado--activo .mq-estado__punto {
  background: #22e06b;
  box-shadow: 0 0 6px 2px rgba(34, 224, 107, 0.7);
  animation: mq-destello 1.8s ease-in-out infinite;
}

/* No disponible: punto gris, sin brillo */
.mq-estado--no { border-color: rgba(255, 255, 255, 0.35); opacity: 0.75; }
.mq-estado--no .mq-estado__punto { background: #9a9a9a; }

@keyframes mq-destello {
  0%, 100% { box-shadow: 0 0 5px 1px rgba(34, 224, 107, 0.6); }
  50%      { box-shadow: 0 0 14px 5px rgba(34, 224, 107, 0.95); }
}

@media (prefers-reduced-motion: reduce) {
  .mq-estado--activo .mq-estado__punto { animation: none; }
}

.mq-otras {
  max-width: 1200px;
  margin: 90px auto 0;
  padding: 0 20px;
}
.mq-otras__titulo {
  margin: 0 0 28px;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.mq-carrusel { position: relative; }

.mq-carrusel__pista {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 12px 0 24px;
  scrollbar-width: none;
}
.mq-carrusel__pista::-webkit-scrollbar { display: none; }

/* Tarjetas con alturas distintas (efecto masonry) */
.mq-otra {
  position: relative;
  display: block;
  flex: 0 0 clamp(190px, 22vw, 270px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 18px;
  scroll-snap-align: start;
  text-decoration: none;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.mq-otra:nth-child(3n + 2) { aspect-ratio: 3 / 5; }
.mq-otra:nth-child(3n)     { aspect-ratio: 4 / 5; }
.mq-otra:nth-child(4n)     { margin-top: 28px; }

.mq-otra img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.mq-otra__nombre {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 16px 16px;
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.mq-otra:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}
.mq-otra:hover img { transform: scale(1.08); }
.mq-otra:hover .mq-otra__nombre { transform: translateY(0); opacity: 1; }

/* Flechas */
.mq-carrusel__flecha {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: none;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s ease;
}
.mq-carrusel__flecha:hover { background: rgba(0, 0, 0, 0.85); }
.mq-carrusel__flecha--prev { left: -8px; }
.mq-carrusel__flecha--next { right: -8px; }

@media (max-width: 700px) {
  .mq-carrusel__flecha { display: none; }
  .mq-otra__nombre { opacity: 1; transform: none; } /* en celular no hay hover */
}

/* ---------- Carrusel: espacio para las flechas fuera de las fotos ---------- */
.mq-carrusel { padding: 0 72px; }

.mq-carrusel__pista { padding: 36px 24px 46px; } /* deja sitio al brillo */

/* ---------- Flechas: trazo blanco fino, flecha blanca y brillo ---------- */
.mq-carrusel .mq-carrusel__flecha,
.mq-carrusel .mq-carrusel__flecha:hover,
.mq-carrusel .mq-carrusel__flecha:focus {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10;
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: 0;
  text-shadow: 0;
  box-shadow: 0;
}
.mq-carrusel .mq-carrusel__flecha:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 0 18px 5px rgba(255, 255, 255, 0.6);
}
.mq-carrusel .mq-carrusel__flecha--prev { left: 0; }
.mq-carrusel .mq-carrusel__flecha--next { right: 0; }

@keyframes mq-brillo-flecha {
  0%, 100% { box-shadow: 0 0 8px 1px rgba(255, 255, 255, 0.25); }
  50%      { box-shadow: 0 0 16px 4px rgba(255, 255, 255, 0.5); }
}

/* ---------- Fotos: brillo al pasar el mouse ---------- */
.mq-otra { --brillo: 255, 255, 255; } /* color del brillo (R, G, B) */

.mq-otra:hover {
  transform: translateY(-8px);
  box-shadow:
    0 0 0 1px rgba(var(--brillo), 0.85),
    0 0 22px 4px rgba(var(--brillo), 0.35),
    0 18px 36px rgba(0, 0, 0, 0.4);
  animation: mq-brillo-foto 1.8s ease-in-out infinite;
}
@keyframes mq-brillo-foto {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(var(--brillo), 0.85),
      0 0 14px 2px rgba(var(--brillo), 0.25),
      0 18px 36px rgba(0, 0, 0, 0.4);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(var(--brillo), 1),
      0 0 30px 8px rgba(var(--brillo), 0.5),
      0 18px 36px rgba(0, 0, 0, 0.4);
  }
}

/* ---------- Insignia "Activo" siempre visible sobre la foto ---------- */
.mq-otra .mq-estado {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 14px 6px 11px;
  font-size: 0.75rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* Nombre y edad al hacer hover */
.mq-otra__nombre small {
  display: block;
  margin-top: 3px;
  font-size: 0.8rem;
  opacity: 0.85;
}

/* ---------- Celular y movimiento reducido ---------- */
@media (max-width: 700px) {
  .mq-carrusel { padding: 0; }
  .mq-carrusel .mq-carrusel__flecha { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .mq-otra:hover,
  .mq-carrusel .mq-carrusel__flecha { animation: none; }
}