:root {
  --mar: #0c4a6e;
  --mar-deep: #082f49;
  --arena: #f5efe6;
  --arena-dark: #e8dfd1;
  --chile: #c2410c;
  --chile-hot: #9a3412;
  --limon: #fef08a;
  --tinta: #1c1917;
  --tinta-soft: #57534e;
  --blanco: #fffdf8;
  --line: rgba(28, 25, 23, 0.12);
  --font-display: "Archivo Black", sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--tinta);
  background: var(--arena);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

address {
  font-style: normal;
}

.container {
  width: min(1080px, 92%);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--chile);
  color: var(--blanco);
  padding: 0.5rem 1rem;
  z-index: 200;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Topbar */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.topbar.scrolled {
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(10px);
  border-color: var(--line);
  box-shadow: 0 4px 20px rgba(8, 47, 73, 0.08);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand__mark {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  background: var(--mar);
  color: var(--limon);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: -0.03em;
  transform: rotate(-4deg);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__text strong {
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.brand__text small {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tinta-soft);
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar__nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--tinta-soft);
  transition: color 0.2s;
}

.topbar__nav a:hover {
  color: var(--mar);
}

.topbar__call {
  background: var(--chile) !important;
  color: var(--blanco) !important;
  padding: 0.55rem 1rem;
  border-radius: 4px;
  font-weight: 600 !important;
}

.topbar__call:hover {
  background: var(--chile-hot) !important;
  color: var(--blanco) !important;
}

.topbar__toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: var(--blanco);
  cursor: pointer;
  position: relative;
}

.topbar__toggle span {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  height: 2px;
  background: var(--tinta);
  transition: transform 0.2s, opacity 0.2s;
}

.topbar__toggle span:first-child { top: 0.95rem; }
.topbar__toggle span:last-child { bottom: 0.95rem; }

.topbar__toggle.active span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.topbar__toggle.active span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  padding: 6.5rem 0 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(254, 240, 138, 0.45), transparent 35%),
    linear-gradient(160deg, var(--mar-deep) 0%, var(--mar) 42%, #155e75 100%);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

.hero__layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.hero__copy {
  color: var(--blanco);
  padding-top: 1rem;
}

.hero__chip {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--limon);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  max-width: 14ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--limon);
}

.hero__lead {
  font-size: 1.05rem;
  max-width: 38ch;
  color: rgba(255, 253, 248, 0.88);
  margin-bottom: 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero__status {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--limon);
}

.hero__status.closed {
  color: #fecaca;
}

/* Board */
.board {
  background: var(--blanco);
  border: 3px solid var(--tinta);
  box-shadow: 8px 8px 0 var(--chile);
  padding: 1.5rem;
  transform: rotate(1.5deg);
}

.board__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px dashed var(--line);
}

.board__list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px dotted var(--line);
  font-size: 0.95rem;
}

.board__list li span:last-child {
  color: var(--tinta-soft);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.board__note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--tinta-soft);
  line-height: 1.45;
}

.board__footer {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 2px solid var(--tinta);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 4px;
  border: 2px solid transparent;
  transition: transform 0.15s, background 0.15s, color 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--fill {
  background: var(--chile);
  color: var(--blanco);
}

.btn--fill:hover {
  background: var(--chile-hot);
}

.btn--ghost {
  border-color: rgba(255, 253, 248, 0.45);
  color: var(--blanco);
}

.btn--ghost:hover {
  background: rgba(255, 253, 248, 0.1);
}

.btn--line {
  border-color: var(--mar);
  color: var(--mar);
}

.btn--line:hover {
  background: var(--mar);
  color: var(--blanco);
}

/* Strip */
.strip {
  background: var(--tinta);
  color: var(--blanco);
  padding: 1.25rem 0;
}

.strip__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.strip__item {
  text-align: center;
  padding: 0.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.strip__item:last-child {
  border-right: 0;
}

.strip__item strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.strip__item span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 52ch;
  margin-bottom: 2.5rem;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chile);
  margin-bottom: 0.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--tinta-soft);
}

/* Comida */
.comida {
  background: var(--blanco);
}

.comida__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.plate {
  background: var(--arena);
  border: 1px solid var(--line);
  padding: 1.5rem;
  min-height: 100%;
}

.plate__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--mar);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.plate h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.plate p {
  font-size: 0.92rem;
  color: var(--tinta-soft);
}

.quote {
  border-left: 4px solid var(--chile);
  padding: 1rem 0 1rem 1.25rem;
  max-width: 42ch;
}

.quote p {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.quote footer {
  font-size: 0.88rem;
  color: var(--tinta-soft);
}

/* Horario */
.horario {
  background: var(--arena-dark);
}

.horario__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.horario__list {
  list-style: none;
  background: var(--blanco);
  border: 1px solid var(--line);
}

.horario__list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.horario__list li:last-child {
  border-bottom: 0;
}

.horario__list li span {
  font-weight: 600;
}

.horario__list li time {
  color: var(--tinta-soft);
}

.horario__list li.today {
  background: var(--mar);
  color: var(--blanco);
}

.horario__list li.today time {
  color: var(--limon);
}

/* Donde */
.donde__layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: center;
}

.donde__info address {
  margin: 1rem 0;
  line-height: 1.75;
  color: var(--tinta-soft);
}

.donde__info address strong {
  color: var(--tinta);
  display: block;
  margin-bottom: 0.25rem;
}

.donde__hint {
  font-size: 0.92rem;
  color: var(--tinta-soft);
  margin-bottom: 1.5rem;
}

.donde__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.donde__map {
  border: 3px solid var(--tinta);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--arena-dark);
}

.donde__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
.footer {
  background: var(--mar-deep);
  color: rgba(255, 253, 248, 0.75);
  padding: 1.5rem 0 5rem;
  font-size: 0.88rem;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer a {
  color: var(--limon);
  font-weight: 600;
}

.footer a:hover {
  text-decoration: underline;
}

/* Mobile bar */
.mobile-bar {
  display: none;
  position: fixed;
  inset: auto 0 0;
  z-index: 90;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  background: var(--blanco);
}

.mobile-bar a {
  text-align: center;
  padding: 0.95rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.mobile-bar a:first-child {
  background: var(--chile);
  color: var(--blanco);
}

.mobile-bar a:last-child {
  color: var(--mar);
  border-left: 1px solid var(--line);
}

/* Responsive */
@media (max-width: 900px) {
  .hero__layout,
  .comida__grid,
  .horario__layout,
  .donde__layout {
    grid-template-columns: 1fr;
  }

  .board {
    transform: none;
    max-width: 420px;
  }

  .hero h1 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .topbar__toggle {
    display: block;
  }

  .topbar__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(280px, 82vw);
    height: 100vh;
    background: var(--blanco);
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 1.5rem 1.5rem;
    gap: 0;
    border-left: 1px solid var(--line);
    transition: right 0.2s;
  }

  .topbar__nav.open {
    right: 0;
  }

  .topbar__nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .strip__inner {
    grid-template-columns: 1fr;
  }

  .strip__item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .strip__item:last-child {
    border-bottom: 0;
  }

  .mobile-bar {
    display: grid;
  }

  .footer {
    padding-bottom: 4.5rem;
  }
}
