:root {
  --negro: #050505;
  --carbon: #111111;
  --panel: #171717;
  --linea: rgba(255, 255, 255, 0.14);
  --linea-fuerte: rgba(255, 255, 255, 0.32);
  --hueso: #efece6;
  --gris: #9a968f;
  --naranja: #f58220;
  --naranja-hover: #ff9a40;
  --ok: #5fd08a;
  --error: #ff6b5b;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --texto: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --margen: clamp(16px, 4vw, 56px);
  --marco: clamp(8px, 1.2vw, 16px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--negro);
  color: var(--hueso);
  font-family: var(--texto);
  font-size: 16px;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--naranja); outline-offset: 3px; }

/* Tipografía display: mayúsculas anchas, peso medio, como un letrero grabado */
.display {
  font-family: var(--display);
  font-weight: 500;
  font-stretch: 118%;
  font-variation-settings: "wdth" 118;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  line-height: 0.92;
  margin: 0;
}
.display .menor { font-size: 0.58em; letter-spacing: -0.02em; vertical-align: baseline; }
.display .naranja, .naranja { color: var(--naranja); }
.etiqueta {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gris);
}
.foto-bn { filter: grayscale(1) contrast(1.08) brightness(0.86); }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  border: 1px solid var(--hueso); border-radius: 0;
  background: transparent; color: var(--hueso);
  font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { background: var(--hueso); color: var(--negro); }
.btn.solido { background: var(--naranja); border-color: var(--naranja); color: var(--negro); }
.btn.solido:hover { background: var(--naranja-hover); border-color: var(--naranja-hover); }
.btn.chico { min-height: 38px; padding: 0 16px; font-size: 11.5px; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.flecha::after { content: "→"; font-size: 1.2em; letter-spacing: 0; transition: transform .25s ease; }
.btn:hover .flecha::after, .btn.flecha:hover::after { transform: translateX(4px); }

/* Greca griega como hilo */
.greca {
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M0 13H28M2 13V1h12v9H7V5h4' fill='none' stroke='%23f58220' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  opacity: .75;
}

/* Cabecera */
.cabecera {
  position: fixed; inset: 0 0 auto; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--margen);
  transition: background .3s ease, backdrop-filter .3s ease;
}
.cabecera.solida { background: rgba(5, 5, 5, .82); backdrop-filter: blur(14px); }
.marca { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.marca img { width: 38px; height: 38px; }
.marca span { font-weight: 600; letter-spacing: 0.42em; font-size: 15px; }
.marca small { display: block; font-size: 9px; letter-spacing: 0.38em; color: var(--gris); font-weight: 500; }
.cabecera nav { display: flex; align-items: center; gap: 14px; }
.menu-btn { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; display: grid; place-content: center; gap: 7px; }
.menu-btn i { display: block; width: 26px; height: 1.5px; background: var(--hueso); transition: transform .3s ease; }
.menu-abierto .menu-btn i:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-abierto .menu-btn i:last-child { transform: translateY(-4.25px) rotate(-45deg); }

.menu-panel {
  position: fixed; inset: 0; z-index: 25; background: var(--negro);
  padding: 120px var(--margen) 40px; display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s;
}
.menu-abierto .menu-panel { opacity: 1; visibility: visible; }
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-panel li a { display: block; padding: 6px 0; text-decoration: none; font-size: clamp(36px, 7vw, 84px); }
.menu-panel li a:hover { color: var(--naranja); }

@media (max-width: 640px) {
  .marca small { display: none; }
  .cabecera .btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
