/* ==========================================================================
   BLACK NEEDLE — demo conceptual
   Dirección de arte: negro tinta, hueso y rojo óxido. Gráfico-editorial.
   Tipografías: Anton (display) · Space Grotesk (cuerpo) · Space Mono (etiquetas)
   ========================================================================== */

/* ---------- Fuentes locales (SIL OFL, alojadas en /assets/fonts) -------- */
@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Mono";
  src: url("../fonts/space-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Mono";
  src: url("../fonts/space-mono-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Paleta exacta de la demo original (globals.css) */
  --ink: #0d0c0a;
  --carbon: #17150f;
  --bone: #e8e1d2;
  --bone-dim: #c9c1af;
  --smoke: #8a8274;
  --rust: #c0431f;
  --rust-deep: #8e2f13;

  /* Derivados de legibilidad (documentados en README/PENDIENTES):
     rust-bright solo para texto pequeño sobre fondo oscuro; el óxido
     puro (#c0431f) queda por debajo de AA en cuerpos pequeños. */
  --rust-bright: #d95b31;

  --linea: rgba(232, 225, 210, 0.12);
  --linea-fuerte: rgba(232, 225, 210, 0.25);
  --linea-tinta: rgba(13, 12, 10, 0.15);

  --font-display: "Anton", "Impact", "Arial Black", sans-serif;
  --font-body: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Space Mono", "Courier New", monospace;

  --header-h: 4rem;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--rust);
  color: var(--bone);
}

:focus-visible {
  outline: 2px solid var(--rust-bright);
  outline-offset: 3px;
}

.sec--estudio :focus-visible,
.stats :focus-visible {
  outline-color: var(--rust-deep);
}

.testimonio :focus-visible {
  outline-color: var(--bone);
}

[hidden] {
  display: none !important;
}

/* ---------- Utilidades ---------- */
.container {
  width: min(80rem, 100% - clamp(2.5rem, 8vw, 4rem));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 100;
  background: var(--rust);
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0.75rem;
}

.accent {
  color: var(--rust);
}

.stroke-bone {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--bone);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rust-bright);
}

.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 0.9;
  text-transform: uppercase;
  margin-top: 1rem;
}

.h2--max {
  max-width: 48rem;
}

.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust-bright);
  border: 1px solid currentColor;
  padding: 0.3em 0.65em;
  vertical-align: middle;
}

.tag--inline {
  font-size: 0.56rem;
  padding: 0.25em 0.55em;
}

.sec--estudio .eyebrow,
.stats .tag,
.sec--estudio .tag {
  color: var(--rust-deep);
}

.sec-aside {
  max-width: 24rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(232, 225, 210, 0.6);
}

.sec-aside--wide {
  max-width: 28rem;
}

.sec-head {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.sec-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Subrayado gráfico de enlaces */
.bn-link {
  position: relative;
  text-decoration: none;
}

.bn-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 2px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.bn-link:hover::after,
.bn-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.95rem 2rem;
  border: 1px solid transparent;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--rust {
  background: var(--rust);
  border-color: var(--rust);
  color: var(--bone);
}

.btn--rust:hover {
  background: var(--rust-deep);
  border-color: var(--rust-deep);
}

.btn--ghost {
  border-color: rgba(232, 225, 210, 0.4);
  color: var(--bone);
}

.btn--ghost:hover {
  border-color: var(--bone);
  background: var(--bone);
  color: var(--ink);
}

.btn--bone {
  background: var(--bone);
  border-color: var(--bone);
  color: var(--ink);
}

.btn--bone:hover {
  border-color: var(--rust);
  background: var(--rust);
  color: var(--bone);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.5s ease, border-color 0.5s ease;
}

.header.is-solid {
  background: rgba(13, 12, 10, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--linea);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.brand-mark {
  width: 0.625rem;
  height: 0.625rem;
  flex-shrink: 0;
  background: var(--rust);
  transform: rotate(45deg);
}

.brand-word {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.demo-chip {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust-bright);
  border: 1px solid rgba(217, 91, 49, 0.55);
  padding: 0.3em 0.6em;
}

.nav {
  display: none;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(232, 225, 210, 0.7);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--bone);
}

.header-cta {
  display: none;
  min-height: 40px;
  padding: 0.6rem 1.5rem;
  font-size: 0.68rem;
}

.menu-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-btn-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 26px;
}

.menu-btn-box span {
  width: 100%;
  height: 1.6px;
  background: var(--bone);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.menu-btn-box span:last-child {
  width: 65%;
}

.menu-btn[aria-expanded="true"] .menu-btn-box span:first-child {
  transform: translateY(7.6px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-btn-box span:nth-child(2) {
  opacity: 0;
}

.menu-btn[aria-expanded="true"] .menu-btn-box span:last-child {
  width: 100%;
  transform: translateY(-7.6px) rotate(-45deg);
}

/* ---------- Menú móvil ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--ink);
  padding: calc(var(--header-h) + 2rem) clamp(1.5rem, 6vw, 2.5rem) 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-menu ul {
  display: grid;
  gap: 0.75rem;
}

.mobile-menu nav a {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 9vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.5s ease, transform 0.5s ease;
}

.mobile-menu nav a:hover {
  color: var(--rust-bright);
}

.mobile-menu nav li:nth-child(1) a { transition-delay: 120ms; }
.mobile-menu nav li:nth-child(2) a { transition-delay: 180ms; }
.mobile-menu nav li:nth-child(3) a { transition-delay: 240ms; }
.mobile-menu nav li:nth-child(4) a { transition-delay: 300ms; }
.mobile-menu nav li:nth-child(5) a { transition-delay: 360ms; }

.js .mobile-menu:not(.is-open) nav a {
  opacity: 0;
  transform: translateY(16px);
}

.mobile-menu .btn {
  align-self: flex-start;
  margin-top: 1.5rem;
}

.mobile-menu-note {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(232, 225, 210, 0.5);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 9vw, 5.5rem));
  padding-bottom: clamp(4rem, 9vw, 6rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 3.5rem;
}

.hero-copy {
  max-width: 40rem;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(232, 225, 210, 0.6);
}

.hero-diamond {
  width: 0.5rem;
  height: 0.5rem;
  flex-shrink: 0;
  background: var(--rust);
  transform: rotate(45deg);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(4.2rem, 11vw, 9.5rem);
  line-height: 0.88;
  text-transform: uppercase;
  margin-top: 1.5rem;
}

.hero-lead {
  margin-top: 2rem;
  max-width: 28rem;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.7;
  color: rgba(232, 225, 210, 0.7);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-fig {
  position: relative;
  width: min(100%, 28rem);
  margin-bottom: 2.4rem;
  justify-self: end;
}

.hero-fig::before {
  content: "";
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  width: 100%;
  height: 100%;
  border: 1px solid var(--rust);
  pointer-events: none;
}

.hero-fig img {
  position: relative;
  width: 100%;
  object-fit: cover;
}

.hero-fig-cap {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(232, 225, 210, 0.5);
  white-space: nowrap;
}

.hero-side {
  position: absolute;
  left: 1.25rem;
  bottom: 2.5rem;
  display: none;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(232, 225, 210, 0.35);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--linea);
  background: var(--carbon);
  padding-block: 1rem;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
  will-change: transform;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(232, 225, 210, 0.8);
  white-space: nowrap;
}

.marquee-sep {
  color: var(--rust);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Cifras ---------- */
.stats {
  background: var(--bone);
  color: var(--ink);
  padding-block: clamp(2rem, 4vw, 3rem) clamp(2.5rem, 5vw, 4rem);
}

.stats-note {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(13, 12, 10, 0.55);
  margin-bottom: 1.1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--linea-tinta);
  border-left: 1px solid var(--linea-tinta);
}

.stat {
  border-right: 1px solid var(--linea-tinta);
  border-bottom: 1px solid var(--linea-tinta);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8.5vw, 4.5rem);
  line-height: 1;
}

.stat-label {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(13, 12, 10, 0.6);
}

/* ---------- Secciones ---------- */
.sec {
  padding-block: clamp(5rem, 10vw, 7rem);
}

/* Portfolio */
.folio-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.folio-filtros {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
}

.filtro {
  padding: 0.55rem 1rem;
  background: transparent;
  border: 1px solid var(--linea-fuerte);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(232, 225, 210, 0.6);
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.filtro:hover {
  border-color: var(--bone);
  color: var(--bone);
}

.filtro[aria-pressed="true"] {
  border-color: var(--rust);
  background: var(--rust);
  color: var(--bone);
}

.folio-counter {
  display: none;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(232, 225, 210, 0.4);
}

.folio-vacio {
  margin-top: 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: rgba(232, 225, 210, 0.5);
}

.folio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.obra-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--linea);
  background: var(--carbon);
}

.obra-media img {
  width: 100%;
  transition: transform 0.7s ease;
}

.obra:hover .obra-media img {
  transform: scale(1.04);
}

.obra-num {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(13, 12, 10, 0.85);
  padding: 0.3rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: rgba(232, 225, 210, 0.8);
}

.obra-cap {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 3rem 1rem 1rem;
  background: linear-gradient(to top, var(--ink) 20%, rgba(13, 12, 10, 0.8) 60%, transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.obra:hover .obra-cap,
.obra:focus-within .obra-cap {
  opacity: 1;
  transform: none;
}

.obra-meta {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rust-bright);
}

.obra-titulo {
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bone);
}

/* El estudio (fondo hueso) */
.sec--estudio {
  background: var(--bone);
  color: var(--ink);
}

.grid-2 {
  display: grid;
  gap: 3.5rem;
}

.lead-ink {
  margin-top: 2rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(13, 12, 10, 0.75);
}

.body-ink {
  margin-top: 1rem;
  max-width: 36rem;
  line-height: 1.7;
  color: rgba(13, 12, 10, 0.6);
}

.valores {
  margin-top: 2.5rem;
}

.valor {
  display: flex;
  gap: 1.5rem;
  border-top: 1px solid var(--linea-tinta);
  padding-top: 1.25rem;
}

.valor + .valor {
  margin-top: 1.25rem;
}

.valor-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--rust-deep);
}

.valor-titulo {
  font-weight: 500;
}

.valor-texto {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(13, 12, 10, 0.6);
}

.estudio-fig {
  position: relative;
  padding-bottom: 3rem;
  padding-left: 2rem;
  align-self: center;
}

.estudio-img {
  width: 100%;
  border: 1px solid var(--linea-tinta);
  object-fit: cover;
}

.estudio-inset {
  position: absolute;
  bottom: 0;
  left: 0;
  width: clamp(8rem, 12vw, 12rem);
  border: 4px solid var(--bone);
  box-shadow: 0 25px 50px -12px rgba(13, 12, 10, 0.35);
  object-fit: cover;
}

.estudio-cap {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: calc(100% - 13.5rem); /* no pisar la foto inset solapada */
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(13, 12, 10, 0.5);
}

/* Artistas */
.artistas-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
}

.artista-media {
  overflow: hidden;
  border: 1px solid var(--linea);
}

.artista-media img {
  width: 100%;
  transition: transform 0.7s ease;
}

.artista:hover .artista-media img {
  transform: scale(1.05);
}

.artista-meta {
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rust-bright);
}

.artista-nombre {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.artista-bio {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(232, 225, 210, 0.6);
}

.artista-cta {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(232, 225, 210, 0.8);
}

.artista-cta:hover {
  color: var(--bone);
}

/* Proceso */
.sec--proceso {
  background: var(--carbon);
  border-block: 1px solid var(--linea);
}

.proceso-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 3.5rem;
  counter-reset: paso;
}

.paso {
  border-top: 1px solid rgba(232, 225, 210, 0.15);
  padding-top: 2rem;
}

.paso-num {
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  opacity: 0.8;
}

.paso-titulo {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.paso-texto {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(232, 225, 210, 0.6);
}

/* Tarifas */
.grid-tarifas {
  display: grid;
  gap: 3rem;
}

.tarifas-intro .sec-aside {
  margin-top: 1.5rem;
}

.tarifas-lista .tarifa {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  border-bottom: 1px solid rgba(232, 225, 210, 0.15);
  padding-block: 1.5rem;
}

.tarifa-servicio {
  font-size: 1.125rem;
  font-weight: 500;
}

.tarifa-detalle {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: rgba(232, 225, 210, 0.55);
}

.tarifa-guion {
  flex: 1;
  margin-inline: 0.5rem;
  border-bottom: 1px dotted rgba(232, 225, 210, 0.3);
  transform: translateY(-4px);
}

.tarifa-precio {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  line-height: 1.1;
  color: var(--rust);
  white-space: nowrap;
}

/* Testimonio */
.testimonio {
  background: var(--rust);
  color: var(--bone);
}

.testimonio-inner {
  max-width: 64rem;
  padding-block: clamp(5rem, 10vw, 7rem);
}

.testimonio-marca {
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  color: rgba(232, 225, 210, 0.55);
}

.testimonio-cita p {
  margin-top: 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.35;
}

.testimonio-autor {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2.25rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bone);
}

.testimonio-tag {
  color: var(--bone);
  border-color: rgba(232, 225, 210, 0.6);
}

/* Reservas */
.sec--cita {
  background: var(--carbon);
  border-top: 1px solid var(--linea);
}

.grid-cita {
  display: grid;
  gap: 3rem;
}

.cita-info {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}

.cita-bloque {
  border-top: 1px solid rgba(232, 225, 210, 0.15);
  padding-top: 1.25rem;
}

.cita-clave {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(232, 225, 210, 0.5);
}

.cita-clave .tag--inline {
  color: var(--rust-bright);
}

.cita-valor {
  margin-top: 0.5rem;
  font-size: 1.125rem;
  line-height: 1.5;
}

.cita-enlace {
  color: var(--bone);
}

.cita-enlace:hover {
  color: var(--rust-bright);
}

/* Formulario */
.form-panel {
  align-self: start;
  border: 1px solid var(--linea-fuerte);
  background: rgba(23, 21, 15, 0.8);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}

.form-titulo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-titulo .tag--inline {
  color: var(--rust-bright);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 2rem;
}

.field--full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(232, 225, 210, 0.55);
}

.form-input {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0 0 0.6rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--linea-fuerte);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: var(--bone);
  outline: none;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  border-bottom-color: var(--rust);
}

.form-select {
  cursor: pointer;
}

select.form-select option {
  background: var(--carbon);
  color: var(--bone);
}

.form-fecha {
  cursor: pointer;
}

.form-hint {
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  color: rgba(232, 225, 210, 0.4);
}

.form-error {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--rust-bright);
}

.form-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2.25rem;
}

.form-submit {
  width: 100%;
  letter-spacing: 0.25em;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.form-nota {
  max-width: 16rem;
  font-size: 0.75rem;
  line-height: 1.65;
  color: rgba(232, 225, 210, 0.5);
}

/* Pantalla de éxito (simulada) */
.form-exito {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(192, 67, 31, 0.5);
  background: var(--carbon);
  padding: clamp(2rem, 4vw, 3rem);
}

.form-exito-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rust-bright);
}

.form-exito-titulo {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.875rem, 3.4vw, 2.25rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--bone);
  outline: none;
}

.form-exito-texto {
  margin-top: 1rem;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(232, 225, 210, 0.7);
}

.form-exito-texto strong {
  font-weight: 500;
  color: var(--bone);
}

.form-exito-reset {
  margin-top: 2rem;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rust-bright);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  border-top: 1px solid var(--linea);
  overflow: hidden;
  padding-top: clamp(2rem, 5vw, 3rem);
}

.footer-word {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.6rem, 13.5vw, 12.5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  opacity: 0.6;
  user-select: none;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  padding-bottom: 2.25rem;
  text-align: center;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-sub {
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(232, 225, 210, 0.45);
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.footer-nav a {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(232, 225, 210, 0.6);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--bone);
}

.footer-legal {
  border-top: 1px solid var(--linea);
  padding-block: 1.5rem 2rem;
}

.footer-legal p {
  max-width: 78ch;
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(232, 225, 210, 0.55);
}

.footer-legal strong {
  color: var(--bone);
  font-weight: 500;
}

.footer-credits {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.62rem !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.9;
  color: rgba(232, 225, 210, 0.45) !important;
}

.footer-top {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-top:hover {
  color: var(--bone);
}

/* ---------- Reveals (solo con JS disponible) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0ms);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

.d1 { --d: 90ms; }
.d2 { --d: 180ms; }
.d3 { --d: 270ms; }
.d4 { --d: 360ms; }

/* ---------- Breakpoints ---------- */
@media (min-width: 640px) {
  .folio-counter {
    display: block;
  }

  .form-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 2rem;
  }

  .form-foot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .form-submit {
    width: auto;
  }

  .marquee-item {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) {
  :root {
    --header-h: 5rem;
  }

  .artistas-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .proceso-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    flex-direction: row;
    text-align: left;
  }

  .footer-nav ul {
    justify-content: flex-end;
  }
}

@media (min-width: 1024px) {
  .nav {
    display: block;
  }

  .header-cta {
    display: inline-flex;
  }

  .menu-btn {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
    gap: 3rem;
  }

  .hero-fig {
    justify-self: end;
    width: 100%;
  }

  .folio-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .proceso-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .grid-tarifas {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .tarifas-intro {
    position: sticky;
    top: 7rem;
    align-self: start;
  }

  .grid-cita {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .mobile-menu {
    display: none;
  }
}

@media (min-width: 1280px) {
  .hero-side {
    display: block;
  }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .marquee-track {
    animation: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .js .mobile-menu:not(.is-open) nav a {
    opacity: 1;
    transform: none;
  }
}
