/* ZEPHYRION
   Paleta: negro cinematográfico + acero para Zephyrion, oro cálido para Cefirion.
   Sin dependencias más allá de la fuente. */

:root {
  --void: #05070a;
  --deep: #090d12;
  --steel-100: #f2f5f8;
  --steel-300: #c3ccd6;
  --steel-500: #8d99a6;
  --steel-600: #7b8794;
  --steel-700: #5d6874;
  --hairline: rgba(195, 204, 214, 0.18);
  --glow: rgba(150, 175, 200, 0.16);

  /* Acento Cefirion */
  --gold-100: #f6e6bd;
  --gold-300: #d8b978;
  --gold-500: #b8934c;
  --gold-hairline: rgba(216, 185, 120, 0.24);

  /* Acento por sección: lo sobreescribe .lineup--cefirion */
  --accent: var(--steel-100);
  --accent-soft: var(--steel-300);
  --accent-hairline: var(--hairline);

  --shell: 1180px;
  --font: "Montserrat", "Helvetica Neue", "Avenir Next", Avenir,
          -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-weight: 300;
  color: var(--steel-300);
  background-color: var(--void);
  background-image: linear-gradient(180deg, #05070a 0%, #070a10 40%, #080b11 72%, #05070a 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

main { flex: 1 1 auto; }

img { max-width: 100%; }

.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;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 60;
  padding: 10px 18px;
  transform: translate(-50%, -160%);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--steel-100);
  background: #0c1219;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.skip-link:focus { transform: translate(-50%, 0); }

:focus-visible {
  outline: 1px solid var(--steel-100);
  outline-offset: 3px;
}

/* Grano fino, inline (sin peticiones externas) */
.grain {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");
}

/* --- Barra superior ------------------------------------------------------ */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(16px, 4vw, 40px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.topbar.is-scrolled {
  background: rgba(5, 7, 10, 0.82);
  border-bottom-color: var(--hairline);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex: 0 0 auto;
}

.topbar__mark { width: 24px; line-height: 0; }
.topbar__mark svg { width: 100%; height: auto; display: block; }

.topbar__name {
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: var(--steel-100);
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 32px);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.topbar__nav::-webkit-scrollbar { display: none; }

.topbar__nav a {
  position: relative;
  flex: 0 0 auto;
  padding: 6px 0;
  font-size: 0.63rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-decoration: none;
  white-space: nowrap;
  color: var(--steel-500);
  transition: color 0.3s ease;
}

.topbar__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0.2em; bottom: 0;
  height: 1px;
  background: var(--steel-300);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.topbar__nav a:hover { color: var(--steel-100); }
.topbar__nav a:hover::after,
.topbar__nav a[aria-current="true"]::after { transform: scaleX(1); }
.topbar__nav a[aria-current="true"] { color: var(--steel-100); }

/* --- Contenedores y títulos ---------------------------------------------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

.shell--narrow { max-width: 680px; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.6rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  color: var(--accent-soft);
  opacity: 0.7;
}

.section-title {
  margin: 0;
  font-size: clamp(1.7rem, 6.4vw, 3.1rem);
  font-weight: 200;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: clamp(0.1em, 1.1vw, 0.2em);
  text-indent: clamp(0.1em, 1.1vw, 0.2em);
  background: linear-gradient(180deg, var(--steel-100) 0%, var(--steel-500) 82%, var(--steel-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-lead {
  margin: clamp(20px, 3vw, 28px) 0 0;
  max-width: 56ch;
  font-size: clamp(0.86rem, 3.2vw, 0.98rem);
  line-height: 1.85;
  color: var(--steel-500);
}

.section-head { margin-bottom: clamp(38px, 6vw, 62px); }

.section-tagline {
  margin: 16px 0 0;
  font-size: clamp(0.6rem, 2.4vw, 0.74rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  color: var(--gold-300);
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100svh - 60px);
  padding: 7vh 24px 12vh;
  overflow: hidden;
  background-image:
    radial-gradient(120% 70% at 50% 88%, var(--glow) 0%, rgba(9, 13, 18, 0) 62%),
    radial-gradient(90% 55% at 50% 4%, rgba(120, 140, 165, 0.1) 0%, rgba(5, 7, 10, 0) 70%);
}

.ridges {
  position: absolute;
  inset: auto 0 0 0;
  height: 58%;
  min-height: 240px;
  pointer-events: none;
  z-index: 0;
}

.ridges svg { width: 100%; height: 100%; display: block; }

.ridge--far  { fill: #0d131b; opacity: 0.85; }
.ridge--mid  { fill: #090e15; }
.ridge--near { fill: #05070a; }

/* Línea de horizonte tenue */
.ridges::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 18%;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(195, 204, 214, 0) 0%,
    rgba(195, 204, 214, 0.14) 50%,
    rgba(195, 204, 214, 0) 100%);
}

.stack {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 640px;
  text-align: center;
  animation: rise 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

.monogram {
  width: clamp(58px, 12vw, 86px);
  margin: 0 auto clamp(28px, 5vw, 44px);
}

.monogram svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 22px rgba(160, 185, 210, 0.18));
}

.wordmark {
  margin: 0;
  font-size: clamp(1.9rem, 8.6vw, 4.4rem);
  font-weight: 200;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: clamp(0.18em, 1.6vw, 0.34em);
  text-indent: clamp(0.18em, 1.6vw, 0.34em); /* compensa el tracking final */
  background: linear-gradient(180deg, var(--steel-100) 0%, var(--steel-500) 78%, var(--steel-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rule {
  width: clamp(70px, 18vw, 120px);
  height: 1px;
  margin: clamp(22px, 4vw, 32px) auto;
  background: linear-gradient(90deg,
    rgba(195, 204, 214, 0) 0%,
    rgba(195, 204, 214, 0.55) 50%,
    rgba(195, 204, 214, 0) 100%);
}

.tagline {
  margin: 0;
  font-size: clamp(0.62rem, 2.5vw, 0.82rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: clamp(0.26em, 2.2vw, 0.46em);
  text-indent: clamp(0.26em, 2.2vw, 0.46em);
  color: var(--steel-300);
}

.dedication {
  margin: clamp(26px, 5vw, 38px) auto 0;
  max-width: 40ch;
  font-size: clamp(0.9rem, 3.6vw, 1.02rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--steel-500);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin: clamp(28px, 5vw, 40px) 0 0;
  padding: 9px 20px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: clamp(0.6rem, 2.4vw, 0.68rem);
  line-height: 1.7;
  text-align: center;
  text-wrap: balance;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  color: var(--steel-300);
  background: rgba(255, 255, 255, 0.015);
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--steel-100);
  box-shadow: 0 0 10px rgba(220, 235, 250, 0.7);
  animation: pulse 2.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.82); }
}

.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: -moz-fit-content;
  width: fit-content;
  margin: clamp(40px, 7vw, 64px) auto 0;
  text-decoration: none;
  color: var(--steel-600);
  transition: color 0.3s ease;
}

.scroll-cue:hover { color: var(--steel-300); }

.scroll-cue span {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
}

.scroll-cue svg { width: 20px; height: auto; display: block; }

.scroll-cue__dot { animation: cue 2.4s ease-in-out infinite; }

@keyframes cue {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(14px); opacity: 0.2; }
}

/* --- Revelado al hacer scroll -------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --- La visión ----------------------------------------------------------- */

.vision {
  position: relative;
  padding: clamp(72px, 12vw, 140px) 0;
  text-align: center;
  border-top: 1px solid var(--hairline);
}

.vision__figure {
  max-width: 900px;
  margin: clamp(38px, 6vw, 60px) auto 0;
}

.vision__caption {
  margin: 16px 0 0;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--steel-600);
}

.vision__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 56px);
  margin-top: clamp(44px, 7vw, 76px);
}

.vision__quote {
  margin: 0 auto;
  max-width: 30ch;
}

.vision__quote p {
  margin: 0;
  font-size: clamp(1.05rem, 4.6vw, 1.7rem);
  font-weight: 200;
  line-height: 1.5;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, var(--steel-100) 0%, var(--steel-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vision__quote cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: var(--steel-600);
}

.vision__text {
  margin: 0 auto;
  max-width: 62ch;
  text-align: left;
}

.vision__text p {
  margin: 0 0 20px;
  font-size: clamp(0.86rem, 3.2vw, 0.98rem);
  line-height: 1.9;
  color: var(--steel-500);
}

.vision__signature {
  margin-bottom: 0 !important;
  text-align: center;
  font-size: 0.72rem !important;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--steel-300) !important;
}

.values {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  margin: clamp(38px, 6vw, 56px) 0 0;
  padding: 0;
  list-style: none;
}

.values li {
  padding: 8px 16px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  color: var(--steel-500);
  background: rgba(255, 255, 255, 0.015);
}

/* --- Secciones de producto ----------------------------------------------- */

.lineup {
  position: relative;
  padding: clamp(72px, 12vw, 140px) 0;
  border-top: 1px solid var(--hairline);
}

.lineup--cefirion {
  --accent: var(--gold-100);
  --accent-soft: var(--gold-300);
  --accent-hairline: var(--gold-hairline);
  border-top-color: var(--gold-hairline);
  background-image:
    radial-gradient(110% 50% at 50% 0%, rgba(184, 147, 76, 0.09) 0%, rgba(5, 7, 10, 0) 70%),
    radial-gradient(80% 40% at 50% 100%, rgba(184, 147, 76, 0.05) 0%, rgba(5, 7, 10, 0) 70%);
}

.section-head--cefirion { text-align: center; }
.section-head--cefirion .section-lead { margin-left: auto; margin-right: auto; }

.section-head--cefirion .section-title {
  background: linear-gradient(180deg, var(--gold-100) 0%, var(--gold-300) 70%, var(--gold-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cf-mark {
  width: clamp(48px, 9vw, 68px);
  margin: 0 auto clamp(22px, 4vw, 34px);
}

.cf-mark svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 20px rgba(200, 165, 95, 0.22));
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 40px);
}

/* --- Tarjeta ------------------------------------------------------------- */

.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hairline);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.026) 0%, rgba(255, 255, 255, 0.008) 100%);
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease;
}

.card:hover {
  border-color: rgba(195, 204, 214, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
}

.card--cf { border-color: var(--gold-hairline); }

.card--cf:hover {
  border-color: rgba(216, 185, 120, 0.5);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.6);
}

/* Placa: la ficha técnica como visual, completa (contain) y ampliable */
.plate {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  background: #04060a;
  cursor: zoom-in;
  overflow: hidden;
}

.card--cf .plate { border-bottom-color: var(--gold-hairline); }

.plate img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}

.plate--wide img {
  aspect-ratio: 5 / 4;
  max-height: 62vh;
}

.plate:hover img { transform: scale(1.025); }

.plate__cue {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 14px;
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  color: var(--steel-100);
  background: rgba(5, 7, 10, 0.72);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.plate:hover .plate__cue,
.plate:focus-visible .plate__cue { opacity: 1; transform: none; }

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: clamp(22px, 3.4vw, 30px);
}

.card__eyebrow {
  margin: 0 0 10px;
  font-size: 0.56rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  text-indent: 0.26em;
  color: var(--accent-soft);
  opacity: 0.75;
}

.card__name {
  margin: 0;
  font-size: clamp(1.05rem, 4vw, 1.35rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-100);
}

.card--cf .card__name { color: var(--gold-100); }

.card__claim {
  margin: 14px 0 0;
  font-size: 0.84rem;
  line-height: 1.75;
  color: var(--steel-500);
}

.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(20px, 3vw, 26px) 0 0;
  padding: 1px 0 0;
  list-style: none;
  background: var(--hairline);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.card--cf .specs {
  background: var(--gold-hairline);
  border-top-color: var(--gold-hairline);
  border-bottom-color: var(--gold-hairline);
}

.specs li {
  padding: 14px 4px 14px 0;
  background: #070a0f;
}

.specs li:nth-child(even) { padding-left: 14px; }

.specs b {
  display: block;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--steel-100);
}

.card--cf .specs b { color: var(--gold-100); }

.specs span {
  display: block;
  margin-top: 5px;
  font-size: 0.56rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--steel-600);
}

/* Línea de programa: exclusividad y calendario, no precio */
.card__meta {
  margin: auto 0 0;
  padding-top: clamp(20px, 3vw, 26px);
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0.04em;
  overflow-wrap: break-word;
  color: var(--steel-300);
}

.card--cf .card__meta { color: var(--gold-300); }

.card__meta span {
  display: block;
  margin-bottom: 9px;
  font-size: 0.56rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  color: var(--steel-600);
}

/* --- Cierre -------------------------------------------------------------- */

.outro {
  padding: clamp(72px, 12vw, 140px) 0 clamp(56px, 9vw, 100px);
  text-align: center;
  border-top: 1px solid var(--hairline);
  background-image: radial-gradient(110% 60% at 50% 100%, var(--glow) 0%, rgba(9, 13, 18, 0) 66%);
}

.outro__lead {
  margin: clamp(22px, 3.4vw, 30px) auto 0;
  max-width: 46ch;
  font-size: clamp(0.86rem, 3.2vw, 0.98rem);
  line-height: 1.85;
  color: var(--steel-500);
}

/* --- Registro (pre-lanzamiento e inversores) ----------------------------- */

.notify {
  display: grid;
  gap: clamp(16px, 2.6vw, 20px);
  width: 100%;
  max-width: 460px;
  margin: clamp(30px, 5vw, 42px) auto 0;
  text-align: left;
}

.notify__row {
  display: grid;
  gap: clamp(16px, 2.6vw, 20px);
}

/* Honeypot: fuera de pantalla en lugar de display:none, porque muchos bots
   descartan los campos ocultos así y la trampa dejaría de funcionar. */
.notify__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
  margin: 0;
}

.field > label,
.field legend {
  padding: 0;
  font-size: 0.58rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  color: var(--steel-500);
}

.field--choice {
  display: block;
  min-width: 0;
  border: 0;
  margin: 0;
  padding: 0;
}

.field--choice legend { display: block; margin-bottom: 11px; }

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 17px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--steel-300);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.choice input {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #c3ccd6;
}

.choice:hover { color: var(--steel-100); border-color: rgba(195, 204, 214, 0.45); }

.choice:has(input:checked) {
  color: var(--steel-100);
  border-color: rgba(195, 204, 214, 0.6);
  background: rgba(255, 255, 255, 0.06);
}

.choice:focus-within {
  outline: 1px solid var(--steel-300);
  outline-offset: 2px;
}

/* Un solo anillo de foco: lo dibuja la píldora, no el radio de dentro. */
.choice input:focus-visible { outline: none; }

.notify input[type="text"],
.notify input[type="email"] {
  width: 100%;
  min-width: 0;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--steel-100);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
  border-radius: 2px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.notify input::placeholder { color: var(--steel-500); }

.notify input[type="text"]:focus,
.notify input[type="email"]:focus {
  outline: none;
  border-color: rgba(195, 204, 214, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

/* El estado de error gana también con el campo enfocado: fail() mueve el foco
   al campo inválido, así que sin el :focus el borde salmón nunca se vería. */
.notify input[aria-invalid="true"],
.notify input[aria-invalid="true"]:focus {
  border-color: rgba(201, 160, 138, 0.7);
  background: rgba(201, 160, 138, 0.07);
}

.field__error {
  font-size: 0.64rem;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: #c9a08a;
}

.field__error:empty { display: none; }

.notify button {
  justify-self: start;
  padding: 14px 30px;
  font-family: inherit;
  font-size: 0.66rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  color: var(--steel-100);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(195, 204, 214, 0.42);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.notify button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(195, 204, 214, 0.75);
}
.notify button:active { transform: translateY(1px); }

/* Mientras el envío está en curso el botón se bloquea: sin señal visual parece
   que la web se ha quedado colgada. */
.notify button:disabled,
.notify button:disabled:hover {
  opacity: 0.5;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(195, 204, 214, 0.42);
  cursor: default;
  transform: none;
}

.notify button:focus-visible,
.notify input[type="text"]:focus-visible,
.notify input[type="email"]:focus-visible {
  outline: 1px solid var(--steel-300);
  outline-offset: 2px;
}

.notify-note {
  width: 100%;
  max-width: 460px;
  margin: 14px auto 0;
  text-align: left;
  font-size: 0.68rem;
  line-height: 1.7;
  letter-spacing: 0.1em;
  color: rgba(141, 153, 166, 0.88);
}

.notify-note.is-error { color: #c9a08a; }

.notify-fallback {
  width: 100%;
  max-width: 460px;
  margin: 8px auto 0;
  text-align: left;
  font-size: 0.68rem;
  line-height: 1.7;
  letter-spacing: 0.1em;
  color: rgba(141, 153, 166, 0.88);
}

.notify-fallback a {
  color: var(--steel-300);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notify-fallback a:hover { color: var(--steel-100); }

.closing {
  margin: clamp(44px, 7vw, 62px) auto 0;
  max-width: 40ch;
  font-size: clamp(0.72rem, 2.9vw, 0.8rem);
  font-weight: 300;
  line-height: 2;
  letter-spacing: 0.14em;
  color: rgba(141, 153, 166, 0.88);
}

/* --- Pie ----------------------------------------------------------------- */

.footer {
  position: relative;
  z-index: 2;
  padding: 0 24px 34px;
  text-align: center;
}

.footer p {
  margin: 0;
  font-size: clamp(0.58rem, 2.3vw, 0.65rem);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
}

.author { color: var(--steel-500); }

.footer .copy {
  margin-top: 10px;
  color: var(--steel-600);
}

/* --- Lightbox ------------------------------------------------------------ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  background: rgba(3, 5, 8, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }

/* Mientras se desvanece (280 ms) el overlay sigue en pantalla: sin esto se traga
   los clics sobre la ficha que hay debajo. */
.lightbox:not(.is-open) { pointer-events: none; }

.lightbox__bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(14px, 3vw, 26px);
  border-bottom: 1px solid var(--hairline);
}

.lightbox__title {
  margin: 0;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--steel-300);
}

.lightbox__close,
.lightbox__step,
.lightbox__zoom {
  padding: 0;
  border: 0;
  background: none;
  color: var(--steel-300);
  cursor: pointer;
}

.lightbox__close {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.lightbox__close:hover { color: var(--steel-100); border-color: rgba(195, 204, 214, 0.55); }
.lightbox__close svg { width: 16px; height: 16px; }

.lightbox__stage {
  flex: 1 1 auto;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 28px);
}

.lightbox__zoom {
  display: block;
  max-width: 100%;
  cursor: zoom-in;
  line-height: 0;
}

.lightbox__zoom img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100svh - 160px);
  border: 1px solid var(--hairline);
  border-radius: 2px;
}

.lightbox.is-zoomed .lightbox__stage { place-items: start; }
.lightbox.is-zoomed .lightbox__zoom { cursor: zoom-out; max-width: none; }

.lightbox.is-zoomed .lightbox__zoom img {
  /* En móvil sube hasta cerca de la resolución nativa de la ficha para poder leerla */
  width: min(2400px, max(1280px, 180vw));
  max-width: none;
  max-height: none;
}

.lightbox__step {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(5, 7, 10, 0.6);
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.lightbox__step:hover {
  color: var(--steel-100);
  border-color: rgba(195, 204, 214, 0.55);
  background: rgba(5, 7, 10, 0.85);
}

.lightbox__step svg { width: 17px; height: 17px; }
.lightbox__step--prev { left: clamp(8px, 2vw, 22px); }
.lightbox__step--next { right: clamp(8px, 2vw, 22px); }

.lightbox__hint {
  flex: 0 0 auto;
  margin: 0;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-600);
  border-top: 1px solid var(--hairline);
}

/* --- Adaptaciones -------------------------------------------------------- */

@media (min-width: 560px) {
  .notify__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 700px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .vision { text-align: left; }
  .vision__body {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(40px, 5vw, 72px);
    align-items: start;
  }
  .vision__quote { margin: 0; max-width: 20ch; }
  .vision__text { margin: 0; }
  .vision__signature { text-align: left; }
  .values { justify-content: flex-start; }
}

@media (min-width: 1080px) {
  .grid--cefirion { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 699px) {
  .hero { padding: 6vh 22px 10vh; }
  .status { padding: 9px 18px; letter-spacing: 0.18em; text-indent: 0.18em; }
  .notify button { justify-self: stretch; width: 100%; text-align: center; }
  .topbar { padding: 12px 16px; }
  .topbar__name { display: none; }
  .plate img { aspect-ratio: auto; }
  .plate--wide img { aspect-ratio: auto; max-height: none; }
  .plate__cue { opacity: 1; transform: none; }
  .lightbox__step { width: 38px; height: 38px; }
}

@media (max-width: 380px) {
  .specs { grid-template-columns: 1fr; }
  .specs li:nth-child(even) { padding-left: 0; }
  .choices { flex-direction: column; align-items: stretch; }
  .choice { justify-content: flex-start; }
}

/* Alto contraste: el degradado recortado sobre texto deja el título invisible */
@media (forced-colors: active) {
  .wordmark,
  .section-title,
  .vision__quote p {
    color: var(--steel-100);
    -webkit-text-fill-color: currentColor;
    background: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stack { animation: none; }
  .dot { animation: none; }
  .scroll-cue__dot { animation: none; }
  .plate:hover img { transform: none; }
  .card:hover { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
  * { transition: none !important; }
}
