/* ─── Tipografía propia de Confuso · Geoform (otra marca, otra fuente que SC) ─── */
@font-face {
  font-family: 'Geoform';
  src: url('../assets/fonts/geoform-extralight.woff2') format('woff2');
  font-weight: 200; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Geoform';
  src: url('../assets/fonts/geoform-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Geoform';
  src: url('../assets/fonts/geoform-bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ─────── CONFUSO · club privado · pantalla completa con lente reveladora ─────── */
.confuso {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: #07070a;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  /* Posición de la lente · la actualiza el JS · heredada por frost y anillo */
  --mx: -600px;
  --my: -600px;
}

/* Imagen del espacio · nítida, debajo de todo */
.confuso-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}
.confuso-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Veladura · atmósfera + viñeta */
.confuso-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 80% at 50% 45%, transparent 30%, rgba(5,5,8,0.55) 100%),
    linear-gradient(180deg, rgba(5,5,8,0.5) 0%, transparent 30%, transparent 60%, rgba(5,5,8,0.7) 100%);
}

/* Contenido · centrado · se desenfoca con el resto y se revela con la lente */
.confuso-content {
  position: relative;
  z-index: 2;
  margin: auto;
  padding: 0 24px;
  text-align: center;
  max-width: 680px;
}
.confuso-eyebrow {
  display: inline-block;
  font-family: 'Geoform', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 36px;
  padding-left: 0.5em;
}
.confuso-wordmark {
  width: clamp(260px, 46vw, 560px);
  height: auto;
  display: block;
  margin: 0 auto 40px;
  filter: drop-shadow(0 6px 30px rgba(184,154,90,0.25));
}
.confuso-line {
  font-family: 'Geoform', sans-serif;
  font-size: clamp(23px, 2.9vw, 38px);
  font-weight: 200;
  line-height: 1.32;
  letter-spacing: 0.005em;
  color: #ECE6D6;
  margin-bottom: 18px;
}
.confuso-sub {
  font-family: 'Geoform', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.85;
  color: rgba(236,230,214,0.6);
  margin-bottom: 42px;
}
/* Botón Confuso · Geoform + corchetes de esquina que se cierran en marco (techno) */
.confuso-knock {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: 'Geoform', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--oro);
  background: transparent;
  border: 0;
  padding: 18px 36px;
  isolation: isolate;
  transition: color 0.45s var(--ease-out), letter-spacing 0.45s var(--ease-out), background 0.45s var(--ease-out);
}
.confuso-knock::before,
.confuso-knock::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--oro);
  z-index: -1;
  transition: width 0.5s var(--ease-out), height 0.5s var(--ease-out);
}
.confuso-knock::before { top: 0; left: 0; border-width: 1px 0 0 1px; }
.confuso-knock::after  { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
.confuso-knock:hover::before,
.confuso-knock:hover::after { width: 100%; height: 100%; }
.confuso-knock:hover {
  letter-spacing: 0.36em;
  color: #ECE6D6;
  background: rgba(184,154,90,0.08);
}
/* La flecha de SC no se usa en el botón de Confuso */
.confuso-knock-arrow { display: none; }

/* Reclamo permanente · SIEMPRE nítido (z sobre el frost) · dice "esto no se ha
   acabado, sigue" porque el desenfoque hace pensar que la web ha terminado */
.confuso-tease {
  position: absolute;
  z-index: 6;
  top: clamp(92px, 14vh, 140px);
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
  pointer-events: none;
  animation: confusoTeaseBreath 3.6s ease-in-out infinite;
}
.confuso-tease::before,
.confuso-tease::after {
  content: '';
  width: clamp(22px, 6vw, 52px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,154,90,0.55));
}
.confuso-tease::after { transform: scaleX(-1); }
.confuso-tease-text {
  font-family: 'Geoform', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--oro);
  padding-left: 0.4em;
  white-space: nowrap;
}
@keyframes confusoTeaseBreath {
  0%, 100% { opacity: 0.62; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .confuso-tease { animation: none; opacity: 1; }
}

/* ─── FROST · capa de desenfoque con lente ─── */
/* Donde la máscara es opaca: se ve el desenfoque. En la lente (transparente): nítido. */
.confuso-frost {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: rgba(7,7,11,0.4);
  backdrop-filter: blur(22px) saturate(0.72) brightness(0.82);
  -webkit-backdrop-filter: blur(22px) saturate(0.72) brightness(0.82);
  -webkit-mask-image: radial-gradient(circle 180px at var(--mx) var(--my), transparent 0, transparent 60%, #000 100%);
  mask-image: radial-gradient(circle 180px at var(--mx) var(--my), transparent 0, transparent 60%, #000 100%);
  transition: opacity 0.7s var(--ease-out);
}

/* Anillo sutil de la lente · sigue al cursor (se ve solo al interaccionar) */
.confuso-lens {
  position: absolute;
  z-index: 4;
  top: 0; left: 0;
  width: 360px; height: 360px;
  margin: -180px 0 0 -180px;
  border-radius: 50%;
  pointer-events: none;
  border: 1px solid rgba(184,154,90,0.18);
  box-shadow: inset 0 0 60px rgba(184,154,90,0.06);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  transform: translate(var(--mx, -600px), var(--my, -600px));
}
.confuso.is-revealing .confuso-lens { opacity: 1; }

/* Pista de interacción · sobre el frost, nítida · desaparece al interaccionar */
.confuso-hint {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: clamp(28px, 5vh, 56px);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(236,230,214,0.75);
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.confuso-hint-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--oro);
  box-shadow: 0 0 0 0 rgba(184,154,90,0.6);
  animation: confusoHintPulse 2s ease-in-out infinite;
}
@keyframes confusoHintPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184,154,90,0.5); }
  50% { box-shadow: 0 0 0 9px rgba(184,154,90,0); }
}
.confuso.is-revealing .confuso-hint {
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
}
/* Texto de la pista · ratón vs táctil */
.confuso-hint-touch { display: none; }
.confuso.is-touch .confuso-hint-mouse { display: none; }
.confuso.is-touch .confuso-hint-touch { display: inline; }

/* ─── Accesibilidad · teclado y reduced-motion revelan todo ─── */
.confuso:focus-within .confuso-frost { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .confuso-frost {
    backdrop-filter: blur(7px) brightness(0.9);
    -webkit-backdrop-filter: blur(7px) brightness(0.9);
  }
  .confuso-lens { display: none; }
}

@media (max-width: 760px) {
  .confuso-wordmark { width: clamp(220px, 70vw, 360px); margin-bottom: 30px; }
  .confuso-eyebrow { margin-bottom: 28px; }
  .confuso-line { font-size: clamp(20px, 6vw, 28px); }
  .confuso-frost {
    -webkit-mask-image: radial-gradient(circle 130px at var(--mx) var(--my), transparent 0, transparent 58%, #000 100%);
    mask-image: radial-gradient(circle 130px at var(--mx) var(--my), transparent 0, transparent 58%, #000 100%);
  }
  .confuso-lens { width: 260px; height: 260px; margin: -130px 0 0 -130px; }
}
