/* Don Lucho: base, botones, nav y entradas.
   Colores de la Guia de marca (Drive): rojo, amarillo, crema, rojo oscuro; verde solo en detalles.
   hero.css = portada + cinta. sections.css = secciones. footer.css = pie + boton WhatsApp. */
@font-face {
  font-family: "Anton";
  src:
    url("assets/fonts/Anton-Regular.woff2") format("woff2"),
    url("assets/fonts/Anton-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src:
    url("assets/fonts/BricolageGrotesque-Regular.woff2") format("woff2"),
    url("assets/fonts/BricolageGrotesque-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src:
    url("assets/fonts/BricolageGrotesque-Bold.woff2") format("woff2"),
    url("assets/fonts/BricolageGrotesque-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --red: #a3161a;
  --red-dk: #5a0a12;
  --yellow: #f2b45a;
  --cream: #fff8ee;
  --ink: #3d0608;
  --green: #3fd47a;
  --r: 18px;
  --gut: 20px;
  --pad: 88px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --shadow: 6px 6px 0 var(--ink);
  color-scheme: light;
}
* {
  box-sizing: border-box;
  margin: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: "Bricolage Grotesque", sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.55;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
figure {
  margin: 0;
}
ul {
  list-style: none;
  padding: 0;
}
a {
  color: inherit;
}
h1,
h2 {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}
p,
address,
li {
  text-wrap: pretty;
}
b,
.btn,
.reel__item {
  font-variant-numeric: lining-nums tabular-nums;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--yellow);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--r);
  z-index: 100;
}
.skip:focus {
  left: 8px;
}
:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}
.visit :focus-visible,
.menu :focus-visible,
.story :focus-visible {
  outline-color: var(--red);
}
section[id] {
  scroll-margin-top: 96px;
}

/* Botones: borde y sombra dura tipo sticker */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  font:
    700 18px/1 "Bricolage Grotesque",
    sans-serif;
  text-decoration: none;
  white-space: nowrap;
  border: 2.5px solid var(--ink);
  cursor: pointer;
  touch-action: manipulation;
  box-shadow: 4px 4px 0 var(--ink);
  transition:
    transform 160ms var(--ease-out),
    box-shadow 160ms var(--ease-out),
    background-color 160ms ease,
    color 160ms ease;
}
.btn:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--ink);
}
.btn--yellow {
  background: var(--yellow);
  color: var(--ink);
}
.btn--line {
  background: var(--cream);
  color: var(--red);
}
.btn--red {
  background: var(--red);
  color: var(--cream);
}
.btn--ghost {
  background: var(--cream);
  color: var(--red);
}
.btn--icon {
  width: 56px;
  padding: 0;
}
.btn--icon .ico {
  width: 24px;
  height: 24px;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--ink);
  }
  .btn:active {
    transform: translate(3px, 3px);
    box-shadow: 1px 1px 0 var(--ink);
  }
  .btn--yellow:hover {
    background: #f7c377;
  }
  .btn--red:hover {
    background: var(--red-dk);
  }
}

/* Nav: pastilla flotante, se esconde al bajar y vuelve al subir */
.nav {
  position: fixed;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 30;
  max-width: 1120px;
  margin: 0 auto;
  height: 64px;
  padding: 0 8px 0 14px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-radius: 999px;
  background: rgba(90, 10, 18, 0.62);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border: 1.5px solid rgba(255, 248, 238, 0.14);
  color: var(--cream);
  transition:
    transform 320ms var(--ease-out),
    background-color 200ms ease;
}
.nav.solid {
  background: rgba(90, 10, 18, 0.9);
}
.nav.hide {
  transform: translateY(calc(-100% - 20px));
}
.nav__logo {
  display: block;
  flex: none;
  transition: transform 200ms var(--ease-out);
}
.nav__logo img {
  height: 50px;
  width: auto;
}
.nav__links {
  display: none;
}
.lang {
  margin-left: auto;
  flex: none;
  height: 40px;
  min-width: 48px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 248, 238, 0.4);
  background: transparent;
  color: var(--cream);
  font:
    700 14px/1 "Bricolage Grotesque",
    sans-serif;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}
.lang:active {
  transform: scale(0.96);
}
.nav__cta {
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 160ms var(--ease-out),
    background-color 160ms ease;
}
.nav__cta::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(63, 212, 122, 0.25);
}
.nav__cta:active {
  transform: scale(0.96);
}
@media (hover: hover) and (pointer: fine) {
  .nav__logo:hover {
    transform: rotate(-4deg) scale(1.04);
  }
  .nav__cta:hover {
    background: #f7c377;
  }
  .nav__links a:hover {
    background: rgba(255, 248, 238, 0.12);
  }
  .lang:hover {
    background: var(--cream);
    color: var(--red-dk);
  }
}

/* Entradas al hacer scroll (una vez) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 600ms var(--ease-out),
      transform 600ms var(--ease-out);
    transition-delay: calc(var(--i, 0) * 70ms);
  }
  .js [data-reveal].in {
    opacity: 1;
    transform: none;
  }
  .js h2[data-reveal] {
    clip-path: inset(0 0 100% 0);
    transform: translateY(30px);
    transition:
      clip-path 700ms var(--ease-in-out),
      transform 700ms var(--ease-out),
      opacity 300ms ease;
  }
  .js h2[data-reveal].in {
    clip-path: inset(-10% -5% -10% -5%);
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .nav {
    transition: none;
  }
}

@media (min-width: 900px) {
  :root {
    --gut: 48px;
    --pad: 128px;
  }
  .nav {
    top: 18px;
    height: 72px;
    padding: 0 10px 0 18px;
  }
  .nav__logo img {
    height: 56px;
  }
  .nav__links {
    display: flex;
    gap: 4px;
    margin-left: auto;
  }
  .lang {
    margin-left: 8px;
  }
  .nav__links a {
    font-weight: 700;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 999px;
    transition: background-color 160ms ease;
  }
  .nav__cta {
    margin-left: 8px;
    height: 52px;
  }
}
