/* ===== Fuentes (mismas del sitio) ===== */
@font-face {
  font-family: "Noto Serif Display";
  src: url("../assets/fonts/noto-serif-display-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif Display";
  src: url("../assets/fonts/noto-serif-display-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/outfit-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --neon: #e0ff00;
  --purple: #8807ff;
  --purple-soft: #ac6e95;
  --ink: #0b0b0c;
  --dark: #1e1e1e;
  --text: #e9e9e9;
  --muted: #9a9aa2;
  --line: rgba(255, 255, 255, 0.12);
  --serif: "Noto Serif Display", Georgia, serif;
  --sans: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, p { margin: 0; }
::selection { background: var(--neon); color: var(--ink); }

/* Fondo: textura del footer original (negro con brillo morado) */
.bg {
  position: fixed; inset: 0; z-index: -1;
  background: url("../assets/img/footer-bg-scaled.webp") center bottom / cover no-repeat var(--ink);
}
.bg::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 75% 45%, rgba(136, 7, 255, 0.18), transparent 70%);
}

/* ===== Header ===== */
.header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 22px var(--gutter);
}
.header__logo img { width: 150px; }

.status {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 28px;
  background: var(--dark);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}
.status__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 0 rgba(224, 255, 0, 0.6);
  animation: pulse 1.8s ease-out infinite;
}
.status__sep { color: #55555c; }
.status__text--es { color: var(--muted); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(224, 255, 0, 0.55); }
  100% { box-shadow: 0 0 0 12px rgba(224, 255, 0, 0); }
}

.social { display: flex; justify-content: flex-end; gap: 10px; }
.social a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--neon);
  color: var(--neon);
  transition: background-color .3s, color .3s, transform .3s;
}
.social a:hover, .social a:focus-visible { background: var(--neon); color: var(--ink); transform: translateY(-2px); outline: none; }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* ===== Main ===== */
.main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(16px, 3vh, 40px) var(--gutter) 24px calc(var(--gutter) + 2vw);
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  position: relative;
  padding: 2px 22px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  position: absolute; top: -4px; bottom: -4px; width: 12px;
  border: 2px solid var(--neon);
  border-radius: 50%;
}
.eyebrow::before { left: 0; border-right: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.eyebrow::after { right: 0; border-left: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; }

.title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
}
.title .line { display: block; overflow: hidden; padding-bottom: 0.08em; white-space: nowrap; }
.title .line > span { display: inline-block; }
.dot { color: var(--neon); }

.soon {
  margin-top: 6px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(30px, 3.8vw, 62px);
  line-height: 1.1;
  background: linear-gradient(90deg, var(--purple) 0%, #a24de0 55%, var(--purple-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.copy { max-width: 560px; margin-top: 22px; }
.copy p { color: #c9c9cf; font-size: 17px; }
.copy p + p { margin-top: 12px; }
.copy__es { color: var(--muted) !important; font-size: 15px !important; }

.progress {
  position: relative;
  width: min(420px, 100%);
  height: 2px;
  margin-top: 26px;
  background: var(--line);
  overflow: hidden;
  border-radius: 2px;
}
.progress span {
  position: absolute; top: 0; left: -40%;
  width: 40%; height: 100%;
  background: var(--neon);
  box-shadow: 0 0 12px var(--neon);
  animation: load 2.2s cubic-bezier(.65, 0, .35, 1) infinite;
}
@keyframes load { to { left: 100%; } }

/* Contacto */
.contact {
  display: flex; align-items: center; gap: 28px;
  margin-top: 28px;
}
.badge {
  position: relative;
  flex: 0 0 auto;
  width: 132px; height: 132px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  transition: transform .4s ease, background-color .4s ease;
}
.badge__ring {
  position: absolute; inset: 0; width: 100%; height: 100%;
  animation: spin 14s linear infinite;
}
.badge__ring text {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  fill: var(--ink);
}
.badge__core {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--neon);
  transition: transform .4s ease;
}
.badge__core svg { width: 22px; height: 22px; }
.badge:hover, .badge:focus-visible { background: var(--neon); transform: rotate(-8deg) scale(1.04); outline: none; }
.badge:hover .badge__core { transform: rotate(-37deg); }

.contact__info { display: flex; flex-direction: column; gap: 4px; }
.contact__label {
  font-family: var(--serif); font-style: italic; font-size: 22px; color: #fff;
}
.email {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0; border: 0; background: none; cursor: pointer;
  font: 400 18px/1.4 var(--sans);
  color: var(--text);
  text-align: left;
}
.email__text { border-bottom: 1px solid var(--neon); transition: color .3s; }
.email:hover .email__text, .email:focus-visible .email__text { color: var(--neon); }
.email:focus-visible { outline: none; }
.email__hint {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted);
  transition: all .3s;
}
.email.is-copied .email__hint { background: var(--neon); border-color: var(--neon); color: var(--ink); }
.phone { color: var(--muted); font-size: 15px; transition: color .3s; }
.phone:hover { color: var(--neon); }

/* Visual */
.visual {
  position: relative;
  justify-self: center;
  width: min(100%, 440px, 62vh);
  aspect-ratio: 694 / 1000;
}
.visual__frame {
  position: absolute; inset: 6% 4% 0 10%;
  border-radius: 999px 999px 28px 28px;
  background: linear-gradient(160deg, var(--purple) 0%, #4b0a8f 60%, #1e1e1e 100%);
  overflow: hidden;
}
.visual__photo {
  position: absolute; bottom: 0; left: 50%;
  width: 104%; max-width: none;
  transform: translateX(-50%);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45));
}
.visual__shape {
  position: absolute; z-index: 2;
  width: 26%; top: -2%; left: -4%;
  animation: spin 18s linear infinite;
}
.visual__star {
  position: absolute; z-index: 2;
  width: 17%; right: -2%; top: 22%;
  animation: twinkle 3.2s ease-in-out infinite;
}
.visual__tag {
  position: absolute; z-index: 2;
  right: -6%; bottom: 8%;
  padding: 14px 20px;
  background: var(--neon);
  color: var(--ink);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.15;
  border-radius: 18px;
  transform: rotate(-4deg);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .35);
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(.78) rotate(20deg); opacity: .7; }
}

/* Slogan vertical (como en el sitio) */
.slogan {
  position: fixed; right: 14px; top: 50%;
  transform: translateY(-50%) rotate(-90deg) translateX(50%);
  transform-origin: right center;
  width: 240px;
  opacity: .5;
  pointer-events: none;
}
.slogan img { filter: brightness(2.4); }

/* Footer */
.footer {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  flex-wrap: wrap;
  padding: 18px var(--gutter);
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.footer__formula { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--text); }
.footer__formula span { color: var(--neon); font-style: normal; padding: 0 4px; }

/* Cursor neón (solo dispositivos con mouse) */
.cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 50;
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--neon);
  mix-blend-mode: difference;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s, width .25s, height .25s, margin .25s;
}
.cursor-dot.is-visible { opacity: 1; }
.cursor-dot.is-hover { width: 46px; height: 46px; margin: -23px 0 0 -23px; }

/* Animaciones de entrada */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: reveal .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms) forwards;
}
.title .reveal { transform: translateY(105%); }
@keyframes reveal { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .cursor-dot { display: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .header { grid-template-columns: auto 1fr; }
  .status { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .main { grid-template-columns: 1fr; padding-left: var(--gutter); text-align: left; }
  .visual { width: min(70vw, 380px); margin-top: 16px; }
  .slogan { display: none; }
}
@media (max-width: 600px) {
  .header { padding-top: 16px; }
  .header__logo img { width: 118px; }
  .social a { width: 38px; height: 38px; }
  .status { padding: 10px 18px; font-size: 12px; gap: 9px; }
  .visual { width: min(78vw, 320px); }
  .visual__tag { right: -2%; }
  .copy p { font-size: 16px; }
  .contact { flex-direction: column; align-items: flex-start; gap: 22px; }
  .badge { width: 112px; height: 112px; }
  .footer { flex-direction: column; text-align: center; }
}
@media (hover: none) { .cursor-dot { display: none; } }
