/* FEKA — versión raw: grilla, líneas de 1px, sin curvas */

:root {
  --bg: #3d2a15;
  --bg-dark: #2e1f0e;
  --bg-mid: #4a3520;
  --olive: #676624;
  --cream: #f1edd8;
  --cream-60: rgba(241, 237, 216, 0.6);
  --cream-40: rgba(241, 237, 216, 0.4);
  --cream-35: rgba(241, 237, 216, 0.35);
  --cream-20: rgba(241, 237, 216, 0.2);
  --line: rgba(241, 237, 216, 0.22);
  --pad: 1rem;
  --font: "Alte Haas Grotesk", "AlteHaasGroteskRegular", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

@media (min-width: 768px) {
  :root { --pad: 1.5rem; }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 3rem;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--olive); color: var(--cream); }
::-webkit-scrollbar { width: 2px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--olive); }

:focus-visible { outline: 1px solid var(--cream); outline-offset: -4px; }

.muted { color: var(--cream-40); }

/* ── Grilla base ───────────────────────────── */

.row {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}

.cell {
  padding: 0.75rem var(--pad);
  border-right: 1px solid var(--line);
}
.row > .cell:last-child,
.topbar > .cell:last-child { border-right: 0; }

.label {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--cream-35);
}

/* Botón rectangular, inversión de color al pasar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--cream);
  color: var(--olive);
  font-size: 0.75rem;
  font-weight: 500;
  transition: background-color 0.15s, color 0.15s;
}
.btn:hover { background: var(--olive); color: var(--cream); }
.btn--ghost { background: transparent; color: var(--olive); }
.btn--ghost:hover { background: var(--olive); color: var(--cream); }

@media (min-width: 1024px) {
  .btn { font-size: 0.875rem; }
}

/* ── Barra superior ────────────────────────── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: stretch;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.topbar .cell {
  display: flex;
  align-items: center;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 10px;
}

.topbar__brand {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--olive);
}

.topbar__nav { display: flex; flex: 1; }
@media (max-width: 639px) {
  .topbar .cell { padding-left: 0.6rem; padding-right: 0.6rem; }
}
.topbar__nav .cell { transition: background-color 0.15s, color 0.15s; }
.topbar__nav .cell:hover { background: var(--cream); color: var(--bg); }
.topbar__nav .topbar__carta { background: var(--olive); color: var(--cream); }
.topbar__nav .topbar__carta:hover { background: var(--cream); color: var(--olive); }

.topbar__loc {
  font-size: 7px !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase;
  border-left: 1px solid var(--line);
}

@media (min-width: 640px) {
  .topbar .cell { font-size: 0.75rem; }
  .topbar__loc { font-size: 10px !important; letter-spacing: 0.3em !important; }
}
@media (min-width: 768px) {
  .topbar .cell { font-size: 0.875rem; }
  .topbar__brand { font-size: 0.75rem !important; }
}

/* ── Hero ──────────────────────────────────── */

.hero__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-mid);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 768px) {
  .hero__media { aspect-ratio: auto; height: calc(100vh - 7.5rem); min-height: 420px; }
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(1.1);
}

.hero__noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.5;
  mix-blend-mode: overlay;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent 40%, rgba(0, 0, 0, 0.6));
}

.hero__tag {
  position: absolute;
  z-index: 5;
  top: var(--pad);
  font-size: 7px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
}
.hero__tag--tl { left: var(--pad); }
.hero__tag--tr { right: var(--pad); }

.hero__logo {
  position: absolute;
  z-index: 5;
  left: var(--pad);
  bottom: var(--pad);
  width: clamp(140px, 42vw, 260px);
  height: auto;
}

@media (min-width: 640px) {
  .hero__tag { font-size: 10px; letter-spacing: 0.3em; }
}
@media (min-width: 1024px) {
  .hero__logo { width: clamp(280px, 55vw, 700px); }
}

.hero__bar { background: var(--bg); }
.hero__bar .cell { display: flex; align-items: center; min-height: 3.5rem; }

.hero__bar .btn { flex: 1 1 100%; background: var(--bg); color: var(--cream); }
.hero__bar .btn:hover { background: var(--olive); color: var(--cream); }

.hero__lead {
  flex: 1 1 100%;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--cream-60);
  border-right: 0;
  border-bottom: 1px solid var(--line);
}
.hero__meta {
  flex: 1;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--cream-35);
}
.hero__bar .btn { flex: 1; }

@media (min-width: 768px) {
  .hero__lead { flex: 2 1 0; border-right: 1px solid var(--line); border-bottom: 0; }
  .hero__meta { flex: 1 1 0; }
}

/* ── Secciones ─────────────────────────────── */

.section {
  position: relative;
  border-bottom: 1px solid var(--line);
}

/* Foto de fondo tenue, como en la versión original */
.section--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--photo) center / cover no-repeat;
  opacity: 0.22;
  pointer-events: none;
}
.section > * { position: relative; }

.section__head { align-items: stretch; }
.section__head { flex-wrap: nowrap; }
.section__head .label {
  flex: 0 0 30%;
  padding-top: 1rem;
}

@media (min-width: 768px) {
  .section__head .label {
    flex: 0 0 25%;
    padding-top: 1.5rem;
  }
}

.menu__title {
  flex: 1;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 0.95;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.menu__title span:last-child { color: var(--cream); }

@media (min-width: 640px) { .menu__title { font-size: 1.25rem; } }
@media (min-width: 768px) { .menu__title { font-size: 1.5rem; padding-top: 4rem; padding-bottom: 4rem; } }
@media (min-width: 1024px) { .menu__title { font-size: 1.875rem; } }

/* ── Tarjetas ──────────────────────────────── */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 768px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex;
  flex-direction: column;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--line);
}
.card:last-child { border-bottom: 0; }

@media (min-width: 768px) {
  .card { border-right: 1px solid var(--line); border-bottom: 0; }
  .card:nth-child(2n) { border-right: 0; }
  .card:nth-child(3) { border-top: 1px solid var(--line); }
}
@media (min-width: 1024px) {
  .card:nth-child(2n) { border-right: 1px solid var(--line); }
  .card:nth-child(3n) { border-right: 0; }
  .card:nth-child(3) { border-top: 0; }
}

.card__head {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem var(--pad);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  text-transform: uppercase;
  color: var(--cream-35);
}
.card__num { color: var(--olive); }

.card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem var(--pad) 1.5rem;
}

.card__title {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
@media (min-width: 768px) {
  .card__body { gap: 1.25rem; }
  .card__title { font-size: 1.25rem; }
}

/* ── Fila de info ──────────────────────────── */

.info { border-bottom: 0; }
.info { flex-wrap: nowrap; }
.info__text {
  flex: 0 0 70%;
  font-size: 0.75rem;
  color: var(--cream-60);
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.info .btn { flex: 1 1 0; min-height: 3.5rem; font-size: 0.75rem; }

@media (min-width: 640px) {
  .info__text { flex: 2 1 0; font-size: 0.875rem; }
  .info .btn { font-size: 0.875rem; }
}

/* ── El espacio ───────────────────────────── */

.espacio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.espacio__grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ── Bolsos ────────────────────────────────── */

.merch { border-bottom: 1px solid var(--line); }
.merch .card__body { gap: 0.5rem; }
.merch__title {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.merch__text {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--cream-60);
}
@media (min-width: 768px) {
  .merch__title { font-size: 1rem; }
  .merch__text { font-size: 0.8125rem; }
}

.bolsos__scroll { overflow: hidden; }

/* Carrusel continuo: la serie está duplicada y se desplaza la mitad */
.bolsos__grid {
  display: flex;
  width: max-content;
  background: var(--line);
  animation: marquee 30s linear infinite;
}

.bolsos__grid img {
  flex: 0 0 auto;
  margin-right: 1px;
  width: 45vw;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
@media (min-width: 768px) {
  .bolsos__grid img { width: 25vw; }
}
@media (prefers-reduced-motion: reduce) {
  .bolsos__grid { animation: none; }
}

/* ── Marquesina ────────────────────────────── */

.marquee {
  position: relative;
  /* Se superpone a la línea de la sección anterior para que ambos bordes
     se pinten sobre el mismo fondo y tengan el mismo tono */
  margin-top: -1px;
  overflow: hidden;
  background: var(--olive);
  color: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  height: 20px;
  animation: marquee 40s linear infinite;
}
.marquee__track span {
  display: block;
  font-size: 7px;
  line-height: 1;
  text-transform: uppercase;
  /* Recorta el espacio extra de la fuente para centrar las mayúsculas */
  text-box: trim-both cap alphabetic;
}
/* En mobile: misma altura de la franja, letra más chica */
@media (max-width: 639px) {
  .marquee__track span { font-size: 5.5px; }
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ── Carta ─────────────────────────────────── */

.carta__title {
  flex: 1;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.1;
}
@media (min-width: 640px) { .carta__title { font-size: 1.25rem; } }
@media (min-width: 768px) { .carta__title { font-size: 1.5rem; } }

.carta__link { color: inherit; text-decoration: none; transition: color 0.2s; }
.carta__link:hover { text-decoration: underline; text-underline-offset: 0.15em; }

.carta__sign {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}
.carta__sign img { width: 4rem; height: auto; }

/* ── Footer ────────────────────────────────── */

.footer { background: var(--olive); }

.footer__grid .cell {
  flex: 1 1 100%;
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-right: 0;
  border-bottom: 1px solid var(--line);
}
.footer__grid .cell:last-child { border-bottom: 0; }

@media (min-width: 640px) {
  .footer__grid .cell { flex: 1 1 0; border-right: 1px solid var(--line); border-bottom: 0; }
  .footer__grid .cell:last-child { border-right: 0; }
}

.footer__label {
  margin-bottom: 1rem;
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--cream);
}
.footer__text {
  font-size: 0.75rem;
  line-height: 1.625;
  color: var(--cream-60);
}
.footer__links { display: flex; flex-direction: column; gap: 0; }
.footer__links a {
  display: inline-block;
  font-size: 0.75rem;
  line-height: 1.625;
  color: var(--cream-60);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--cream); }

.footer__bottom { border-bottom: 0; border-top: 1px solid var(--line); }
.footer__bottom .cell {
  flex: 1;
  font-size: 10px;
  color: var(--cream-40);
}
.footer__up { flex: 0 0 auto !important; transition: color 0.2s; }
.footer__up:hover { color: var(--cream); }
