/* =============================================================
   0. Fuentes de marca (autoalojadas)
   ============================================================= */
@font-face {
  font-family: "Bahnschrift";
  src: url("assets/fonts/Bahnschrift-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Host Grotesk";
  src: url("assets/fonts/HostGrotesk-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Host Grotesk";
  src: url("assets/fonts/HostGrotesk-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Host Grotesk";
  src: url("assets/fonts/HostGrotesk-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --marfil: #FFFBF4;
  --arena: #D8CFBC;
  --carbon: #11120D;
  --taupe: #565449;
  --niebla: #EAEAEA;
  --blanco: #FFFFFF;

  --bg: var(--marfil);
  --bg-alt: var(--arena);
  --text: var(--carbon);
  --muted: var(--taupe);

  --display: "Bahnschrift", "Arial Narrow", sans-serif;
  --sub: "Host Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Host Grotesk", "Helvetica Neue", Arial, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
  animation: pageFadeIn .6s var(--ease-out) both;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.15; letter-spacing: -0.01em; font-weight: 400; }
::selection { background: var(--carbon); color: var(--marfil); }

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

/* =============================================================
   3. Utilidades
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.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: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--carbon); color: var(--marfil);
  z-index: 9999; font-weight: 500;
  transition: top .25s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   4. Tipografía
   ============================================================= */
.kicker {
  font-family: var(--sub);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-title {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

/* =============================================================
   5. Componentes
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--sub);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.95rem 2.1rem;
  background: var(--carbon);
  color: var(--marfil);
  transition: background-color .3s var(--ease-out);
}
.btn:hover { background: var(--taupe); }

/* Foto a sangre */
.full-bleed { width: 100%; }
.full-bleed img {
  width: 100%;
  height: auto;
  display: block;
}

.producto-img {
  width: 100%;
  height: auto;
}

/* Hero — foto real */
.hero-can-img {
  width: min(920px, 92vw);
  height: auto;
  margin-inline: auto;
}

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid rgba(17,18,13,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.7rem;
}
.brand-mark img { width: 150px; height: auto; }
.site-nav {
  display: none;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  font-family: var(--sub);
  font-weight: 500;
  font-size: 0.92rem;
}
.site-nav a { position: relative; padding-block: 0.2rem; }
.site-nav a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--carbon);
  transition: right .3s var(--ease-out);
}
.site-nav a:hover::after { right: 0; }

@media (min-width: 720px) {
  .site-nav { display: flex; }
}

/* Spec list */
.spec-list { border-top: 1px solid rgba(17,18,13,0.14); }
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.95rem;
  border-bottom: 1px solid rgba(17,18,13,0.14);
}
.spec-row dt {
  font-family: var(--sub);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec-row dd {
  font-family: var(--sub);
  font-weight: 600;
  font-size: 1.02rem;
  text-align: right;
}

/* Momentos */
.momentos-list {
  list-style: none;
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(17,18,13,0.14);
}
.momentos-list li {
  padding-block: 1.6rem;
  border-bottom: 1px solid rgba(17,18,13,0.14);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.25rem;
  align-items: baseline;
}
.momento-num {
  font-family: var(--display);
  font-size: 1rem;
  color: var(--muted);
}
.momento-lugar {
  grid-column: 2;
  font-family: var(--sub);
  font-weight: 600;
  font-size: 1.15rem;
}
.momentos-list p {
  grid-column: 2;
  font-family: var(--body);
  color: var(--muted);
  margin-top: 0.3rem;
}

@media (min-width: 720px) {
  .momentos-list { grid-template-columns: repeat(4, 1fr); }
  .momentos-list li {
    border-bottom: none;
    border-right: 1px solid rgba(17,18,13,0.14);
    grid-template-columns: 1fr;
    padding-inline: 1.25rem;
  }
  .momentos-list li:last-child { border-right: none; }
  .momento-lugar, .momentos-list p { grid-column: 1; }
}

/* Redes — índice editorial */
.redes-list {
  list-style: none;
  border-top: 1px solid rgba(17,18,13,0.14);
}
.redes-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(1.5rem, 3.4vw, 2.3rem);
  border-bottom: 1px solid rgba(17,18,13,0.14);
  transition: color .25s var(--ease-out);
}
.red-nombre {
  font-family: var(--sub);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .25s var(--ease-out);
}
.red-handle {
  position: relative;
  font-family: var(--display);
  font-size: clamp(1.5rem, 4.4vw, 2.6rem);
  text-transform: uppercase;
}
.red-handle::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -0.2em;
  height: 1px; background: var(--carbon);
  transition: right .3s var(--ease-out);
}
.redes-row:hover .red-nombre { color: var(--carbon); }
.redes-row:hover .red-handle::after { right: 0; }

/* =============================================================
   6. Secciones
   ============================================================= */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section--alt { background: var(--bg-alt); }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding-top: clamp(6rem, 14vh, 9rem);
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
  gap: clamp(1.75rem, 4vh, 3rem);
}
.hero-content { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.hero-title {
  font-family: var(--display);
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  text-transform: uppercase;
  max-width: 16ch;
  margin-inline: auto;
}
.hero-visual {
  position: relative;
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

/* Producto */
.producto-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
  justify-items: center;
}
.producto-data { width: 100%; }
@media (min-width: 960px) {
  .producto-grid { grid-template-columns: 0.9fr 1.1fr; }
}

/* Marca */
.marca-inner {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.marca-text {
  font-family: var(--sub);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.68;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(17,18,13,0.12);
  background: var(--bg-alt);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding-block: 2.5rem;
  text-align: center;
}
.footer-mark { height: 50px; width: auto; }
.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
}

/* =============================================================
   7. Carga de página — único efecto permitido
   ============================================================= */
@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
}

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 1280px) {
  .hero-title { font-size: clamp(3.2rem, 6.2vw, 5.6rem); }
}
