/* TACOFROG — taqueria sign-paint style */
:root {
  --c-green: #1F3D2B;
  --c-green-2: #2C5640;
  --c-lime: #9BC53D;
  --c-cream: #FFF4DE;
  --c-cream-2: #F6E6C4;
  --c-chile: #C8401F;
  --c-chile-dark: #A3331A;
  --c-marigold: #F2A93B;
  --c-ink: #1B1A17;
  --c-muted: #4A4740;
  --c-footer-text: #EFE6D2;
  --c-line: rgba(27, 26, 23, 0.16);

  --font-display: 'Bungee', Impact, 'Arial Black', sans-serif;
  --font-body: 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4.5rem;
  --s-9: 6rem;

  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 28px;
  --r-pill: 999px;

  --border: 2px solid var(--c-ink);
  --shadow-hard: 5px 5px 0 var(--c-ink);
  --shadow-hard-sm: 3px 3px 0 var(--c-ink);
  --shadow-soft: 0 18px 40px -22px rgba(27, 26, 23, 0.55);

  --header-h: 64px;
  --container: 1180px;
  --gutter: 1rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-ink);
  background-color: var(--c-cream);
  background-image: radial-gradient(rgba(31, 61, 43, 0.07) 1px, transparent 1.4px);
  background-size: 18px 18px;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--c-chile-dark); text-underline-offset: 3px; }
a:hover { color: var(--c-green); }

:focus-visible { outline: 3px solid var(--c-marigold); outline-offset: 3px; }

h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0 0 var(--s-4); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: var(--s-2);
  z-index: 100;
  padding: var(--s-2) var(--s-4);
  background: var(--c-ink);
  color: var(--c-cream);
  border-radius: var(--r-sm);
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: var(--s-3) var(--s-5);
  border: var(--border);
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-hard-sm);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-hard); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--c-ink); }

.btn-chile { background: var(--c-chile); color: var(--c-cream); }
.btn-chile:hover { color: var(--c-cream); }
.btn-green { background: var(--c-green); color: var(--c-cream); }
.btn-green:hover { color: var(--c-cream); }
.btn-ghost { background: var(--c-cream); color: var(--c-ink); }
.btn-ghost:hover { color: var(--c-ink); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-green);
  color: var(--c-cream);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: var(--s-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--c-cream);
  text-decoration: none;
}
.brand:hover { color: var(--c-lime); }
.brand-mark { width: 40px; height: 40px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0 11px;
  background: var(--c-lime);
  border: var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
}
.burger-line {
  display: block;
  height: 3px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.burger[aria-expanded="true"] .burger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-line:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.site-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  padding: var(--s-6) var(--gutter) var(--s-7);
  background: var(--c-green);
  border-bottom: 4px solid var(--c-lime);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  transform: translateY(-110%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease), visibility 0s linear 0.35s;
}
.site-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease), visibility 0s;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.nav-list a {
  display: block;
  padding: var(--s-2) 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--c-cream);
  text-decoration: none;
}
.nav-list a:hover { color: var(--c-lime); }

/* Papel picado */
.picado {
  list-style: none;
  margin: 0;
  padding: 0 var(--s-2);
  display: flex;
  justify-content: center;
  gap: 6px;
  height: 38px;
  overflow: hidden;
  background: linear-gradient(var(--c-green) 0 3px, transparent 3px);
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  pointer-events: none;
}
.picado::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 1px;
  height: 2px;
  background: var(--c-ink);
}
.picado li {
  flex: 0 0 34px;
  height: 34px;
  margin-top: 2px;
  background-color: var(--c-lime);
  background-image:
    radial-gradient(circle at 50% 42%, var(--c-cream) 0 4px, transparent 4.5px),
    radial-gradient(circle at 25% 20%, var(--c-cream) 0 2px, transparent 2.5px),
    radial-gradient(circle at 75% 20%, var(--c-cream) 0 2px, transparent 2.5px),
    linear-gradient(45deg, transparent 46%, rgba(255, 244, 222, 0.85) 46% 54%, transparent 54%);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 83% 100%, 67% 78%, 50% 100%, 33% 78%, 17% 100%, 0 78%);
  transform-origin: 50% 0;
  animation: sway 3.6s ease-in-out infinite alternate;
}
.picado li:nth-child(4n + 2) { background-color: var(--c-chile); animation-delay: -0.9s; }
.picado li:nth-child(4n + 3) { background-color: var(--c-marigold); animation-delay: -1.8s; }
.picado li:nth-child(4n + 4) { background-color: var(--c-green-2); animation-delay: -2.7s; }
.picado li:nth-child(n + 9) { display: none; }

@keyframes sway {
  from { transform: rotate(-4deg); }
  to { transform: rotate(4deg); }
}

/* ---------- Hero ---------- */
.hero { padding: calc(var(--s-7) + 20px) 0 var(--s-8); overflow: hidden; }

.hero-grid { display: grid; gap: var(--s-7); align-items: center; }

.eyebrow,
.status-line {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
  padding: var(--s-1) var(--s-4);
  background: var(--c-cream);
  border: var(--border);
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.9rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-marigold);
  border: 1.5px solid var(--c-ink);
  flex: none;
}
.status-dot.is-open { background: var(--c-lime); }
.status-dot.is-closed { background: var(--c-chile); }

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.05rem, 8.4vw, 4.6rem);
  line-height: 1.02;
  color: var(--c-green);
  text-transform: uppercase;
  margin-bottom: var(--s-5);
  overflow-wrap: break-word;
}
.hl {
  color: var(--c-chile);
  display: inline;
  background-image: linear-gradient(transparent 70%, rgba(155, 197, 61, 0.55) 70%);
}

.lead { font-size: 1.1rem; max-width: 36rem; color: var(--c-muted); }

.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: var(--s-5) 0 var(--s-6); }

.hero-facts {
  display: grid;
  gap: var(--s-3);
  margin: 0;
  padding-top: var(--s-5);
  border-top: 2px dashed var(--c-line);
}
.hero-facts dt {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--c-chile-dark);
  text-transform: uppercase;
}
.hero-facts dd { margin: 0; font-weight: 600; }

.hero-art { position: relative; display: grid; place-items: center; padding: var(--s-4); }

.comal {
  position: relative;
  width: min(84vw, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--c-green-2) 0 34%, var(--c-ink) 34.5% 36%, transparent 36.5%),
    radial-gradient(circle at 38% 32%, #3a3833 0%, var(--c-ink) 62%);
  border: 4px solid var(--c-ink);
  box-shadow: 10px 10px 0 var(--c-chile), var(--shadow-soft);
  display: grid;
  place-items: center;
}

.stamp {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 28s linear infinite;
}
.stamp-text {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 2.4px;
  fill: var(--c-marigold);
}

.comal-frog { position: relative; width: 38%; height: auto; }

@keyframes spin { to { transform: rotate(360deg); } }

.sticker {
  position: absolute;
  right: 4%;
  bottom: 4%;
  margin: 0;
  width: 92px;
  height: 92px;
  display: grid;
  place-content: center;
  text-align: center;
  line-height: 1.05;
  border-radius: 50%;
  background: var(--c-lime);
  border: var(--border);
  box-shadow: var(--shadow-hard-sm);
  font-weight: 600;
  font-size: 0.85rem;
  transform: rotate(-12deg);
}
.sticker strong { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; }

/* ---------- Sections ---------- */
.section { padding: var(--s-8) 0; }

.section-head { margin-bottom: var(--s-6); max-width: 40rem; }

.kicker {
  display: inline-block;
  margin-bottom: var(--s-3);
  padding: 2px var(--s-3);
  background: var(--c-chile);
  color: var(--c-cream);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}
.kicker-lime { background: var(--c-lime); color: var(--c-ink); }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 6vw, 3.2rem);
  text-transform: uppercase;
  color: var(--c-green);
  margin-bottom: var(--s-3);
}
.section-sub { color: var(--c-muted); font-size: 1.05rem; }

.card-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}

/* ---------- Menu board ---------- */
.board {
  position: relative;
  padding: var(--s-6) var(--s-5);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 255, 255, 0.06), transparent 60%),
    var(--c-green);
  color: var(--c-cream);
  border: 4px solid var(--c-ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-hard);
  margin-bottom: var(--s-6);
}
.board::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px dashed rgba(155, 197, 61, 0.45);
  border-radius: calc(var(--r-md) - 6px);
  pointer-events: none;
}
.board-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 5vw, 2.3rem);
  color: var(--c-lime);
  text-transform: uppercase;
  margin-bottom: var(--s-5);
}

.fillings { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-1); }
.filling {
  display: grid;
  gap: 2px;
  padding: var(--s-3) 0;
  border-bottom: 1px solid rgba(255, 244, 222, 0.18);
}
.filling-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--c-marigold);
}
.filling-desc { color: var(--c-footer-text); font-size: 0.95rem; }

.menu-grid { display: grid; gap: var(--s-5); }

.birria,
.plate-card,
.aguas {
  position: relative;
  padding: var(--s-5);
  border: var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
}

.birria { background: var(--c-chile); color: var(--c-cream); }
.birria-tag {
  display: inline-block;
  margin-bottom: var(--s-3);
  padding: 2px var(--s-3);
  background: var(--c-marigold);
  color: var(--c-ink);
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.birria-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.birria p:last-of-type { position: relative; z-index: 1; max-width: 26rem; }
.birria-art {
  height: 120px;
  margin-top: var(--s-4);
  border-radius: 120px 120px 0 0;
  background:
    repeating-radial-gradient(circle at 50% 100%, rgba(242, 169, 59, 0.9) 0 6px, rgba(163, 51, 26, 0.9) 6px 12px);
  border: var(--border);
  border-bottom: 0;
}

.plate-card { background: var(--c-cream); }
.plate-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.plate-list li { padding-left: var(--s-5); position: relative; }
.plate-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-lime);
  border: 2px solid var(--c-ink);
}

.aguas { background: var(--c-marigold); }
.jars { display: flex; gap: var(--s-3); align-items: flex-end; margin-top: var(--s-4); height: 100px; }
.jars span {
  flex: 1;
  height: 100%;
  border: var(--border);
  border-radius: 10px 10px 18px 18px;
  background: linear-gradient(to top, var(--c-lime) 0 72%, rgba(255, 244, 222, 0.6) 72%);
}
.jars span:nth-child(2) { height: 85%; background: linear-gradient(to top, var(--c-chile) 0 68%, rgba(255, 244, 222, 0.6) 68%); }
.jars span:nth-child(3) { height: 92%; background: linear-gradient(to top, var(--c-cream-2) 0 75%, rgba(255, 244, 222, 0.6) 75%); }

.menu-note {
  margin-top: var(--s-6);
  font-weight: 600;
  color: var(--c-muted);
  border-left: 4px solid var(--c-chile);
  padding-left: var(--s-4);
}

/* Board head, Taco Tuesday, price lists */
.board-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-2) var(--s-4);
  margin-bottom: var(--s-5);
}
.board-head .board-title { margin-bottom: 0; }
.board-price {
  margin: 0;
  padding: var(--s-1) var(--s-4);
  background: var(--c-marigold);
  color: var(--c-ink);
  border: var(--border);
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 1.3rem;
  transform: rotate(-3deg);
}
.board-price span { font-family: var(--font-body); font-weight: 700; font-size: 0.85rem; }

.tuesday {
  display: grid;
  gap: var(--s-1);
  margin-bottom: var(--s-6);
  padding: var(--s-4) var(--s-5);
  background: var(--c-lime);
  border: var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-hard-sm);
}
.tuesday p { margin: 0; }
.tuesday-title { font-family: var(--font-display); font-size: 1.3rem; text-transform: uppercase; }

.price-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-3);
  padding-bottom: var(--s-3);
  border-bottom: 2px dotted var(--c-line);
}
.price-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.price-list .item { display: grid; gap: 2px; }
.price-list small { font-size: 0.9rem; color: var(--c-muted); line-height: 1.45; }
.price-list .price { font-family: var(--font-display); font-size: 1rem; color: var(--c-chile-dark); white-space: nowrap; }
.aguas .price-list small { color: var(--c-ink); }
.aguas .price-list .price { color: var(--c-ink); }
.aguas .price-list li { border-bottom-color: rgba(27, 26, 23, 0.25); }

.combo-card {
  position: relative;
  padding: var(--s-5);
  background: var(--c-cream-2);
  border: var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-hard);
}

/* ---------- Order ---------- */
.order { background: var(--c-cream-2); border-block: var(--border); }
.order-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-5); }
.order-card {
  padding: var(--s-5);
  background: var(--c-cream);
  border: var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-hard-sm);
}
.order-card p { margin: 0; }
.order-num {
  display: inline-block;
  margin-bottom: var(--s-3);
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--c-chile);
}

/* ---------- Visit ---------- */
.visit-grid { display: grid; gap: var(--s-6); align-items: center; }
.visit-address {
  font-style: normal;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--s-4);
}
.hours { border-collapse: collapse; margin-bottom: var(--s-4); width: 100%; max-width: 26rem; }
.hours caption {
  text-align: left;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-chile-dark);
  padding-bottom: var(--s-2);
}
.hours th, .hours td { padding: var(--s-2) 0; border-top: 2px dashed var(--c-line); border-bottom: 2px dashed var(--c-line); text-align: left; }
.hours td { text-align: right; font-weight: 600; }
.status-line { margin-bottom: var(--s-5); }

.map {
  position: relative;
  min-height: 300px;
  border: 4px solid var(--c-ink);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
  background-color: #E9DDBF;
  background-image:
    linear-gradient(rgba(27, 26, 23, 0.12) 2px, transparent 2px),
    linear-gradient(90deg, rgba(27, 26, 23, 0.12) 2px, transparent 2px),
    radial-gradient(circle at 80% 78%, rgba(155, 197, 61, 0.55) 0 46px, transparent 47px),
    radial-gradient(circle at 15% 20%, rgba(155, 197, 61, 0.45) 0 34px, transparent 35px);
  background-size: 44px 44px, 44px 44px, 100% 100%, 100% 100%;
}
.map-road { position: absolute; background: var(--c-cream); border: 2px solid var(--c-ink); }
.map-road-v { top: -10px; bottom: -10px; left: 52%; width: 34px; border-block: 0; }
.map-road-h { left: -10px; right: -10px; top: 58%; height: 22px; border-inline: 0; }
.map-label {
  position: absolute;
  left: calc(52% + 17px);
  top: 12%;
  transform: translateX(-50%) rotate(-90deg);
  transform-origin: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  white-space: nowrap;
  color: var(--c-ink);
}
.map-pin {
  position: absolute;
  left: calc(52% - 4px);
  top: 36%;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: var(--c-chile);
  border: var(--border);
  border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -50%) rotate(-45deg);
  box-shadow: var(--shadow-hard-sm);
}
.map-pin img { transform: rotate(45deg); }

/* ---------- Contact ---------- */
.contact { background: var(--c-green); color: var(--c-cream); }
.contact .section-title { color: var(--c-cream); }
.contact-grid { display: grid; gap: var(--s-6); }
.contact-info > p { color: var(--c-footer-text); max-width: 30rem; }
.contact-info a { color: var(--c-lime); }
.contact-info a:hover { color: var(--c-cream); }
.contact-list { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; gap: var(--s-3); }
.contact-list li { display: grid; gap: 2px; overflow-wrap: anywhere; }
.contact-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-marigold);
}

.form-wrap {
  background: var(--c-cream);
  color: var(--c-ink);
  border: 4px solid var(--c-ink);
  border-radius: var(--r-lg);
  box-shadow: 8px 8px 0 var(--c-lime);
  padding: var(--s-5);
}
.contact-form { display: grid; gap: var(--s-4); }
.field { display: grid; gap: var(--s-1); }
.field label { font-weight: 600; }
.optional { font-weight: 400; color: var(--c-muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--s-3);
  font: inherit;
  color: var(--c-ink);
  background: #FFFDF7;
  border: var(--border);
  border-radius: var(--r-sm);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--c-chile); background: #FFF0EA; }

.field-check { grid-template-columns: auto 1fr; align-items: start; column-gap: var(--s-3); }
.field-check input { width: 22px; min-height: 22px; height: 22px; margin-top: 3px; accent-color: var(--c-green); }
.field-check label { font-weight: 400; font-size: 0.95rem; }
.field-check .field-error { grid-column: 1 / -1; }

.field-error { margin: 0; min-height: 0; font-size: 0.875rem; font-weight: 600; color: var(--c-chile-dark); }
.field-error:empty { display: none; }

.form-success { text-align: center; display: grid; justify-items: center; gap: var(--s-3); padding: var(--s-5) 0; }
.form-success[hidden] { display: none; }
.form-success p { color: var(--c-muted); max-width: 26rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-ink);
  color: var(--c-footer-text);
  padding-top: var(--s-7);
  border-top: 6px solid var(--c-chile);
}
.site-footer a { color: var(--c-lime); }
.site-footer a:hover { color: var(--c-cream); }
.footer-grid { display: grid; gap: var(--s-6); padding-bottom: var(--s-6); }
.brand-footer { margin-bottom: var(--s-3); }
.footer-brand p { max-width: 22rem; }
.footer-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
  color: var(--c-marigold);
  margin-bottom: var(--s-3);
}
.footer-nav ul,
.footer-contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.footer-contact li { overflow-wrap: anywhere; }

.legal {
  padding-block: var(--s-5) var(--s-6);
  border-top: 1px solid rgba(239, 230, 210, 0.22);
  font-size: 0.875rem;
  line-height: 1.55;
}
.legal-list { margin: 0 0 var(--s-4); display: grid; gap: var(--s-1) var(--s-5); }
.legal-list div { display: flex; flex-wrap: wrap; gap: 0 var(--s-2); }
.legal-list dt { font-weight: 600; color: #F7EFDD; }
.legal-list dd { margin: 0; overflow-wrap: anywhere; }
.legal-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px dashed rgba(239, 230, 210, 0.22);
}
.legal-bottom p { margin: 0; }
.legal-links { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--s-5); }

/* ---------- Legal pages & 404 ---------- */
.page-hero { padding: calc(var(--s-7) + 20px) 0 var(--s-5); }
.page-hero .section-title { font-size: clamp(2rem, 7vw, 3.6rem); }
.updated { font-weight: 600; color: var(--c-muted); }

.doc { padding-bottom: var(--s-8); }
.doc-body {
  max-width: 46rem;
  background: var(--c-cream);
  border: var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-hard);
  padding: var(--s-5);
}
.doc-body h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--c-green);
  text-transform: uppercase;
  margin: var(--s-6) 0 var(--s-3);
}
.doc-body h2:first-child { margin-top: 0; }
.doc-body ul { padding-left: var(--s-5); margin: 0 0 var(--s-4); }
.doc-body li { margin-bottom: var(--s-2); }
.doc-body address { font-style: normal; margin-bottom: var(--s-4); }

.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: var(--s-8) 0; }
.notfound-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 26vw, 11rem);
  line-height: 1;
  color: var(--c-chile);
  margin: 0 0 var(--s-3);
  text-shadow: 6px 6px 0 var(--c-ink);
}
.notfound-frog { margin: 0 auto var(--s-4); }
.notfound .hero-actions { justify-content: center; }

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Breakpoints ---------- */
@media (min-width: 480px) {
  :root { --gutter: 1.5rem; }
  .picado li:nth-child(n + 9) { display: block; }
  .picado li:nth-child(n + 12) { display: none; }
  .fillings { grid-template-columns: 1fr 1fr; column-gap: var(--s-6); }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .legal-list { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  :root { --header-h: 76px; --gutter: 2rem; }
  .burger { display: none; }
  .site-nav {
    position: static;
    inset: auto;
    padding: 0;
    background: none;
    border: 0;
    flex-direction: row;
    align-items: center;
    gap: var(--s-5);
    transform: none;
    opacity: 1;
    visibility: visible;
    transition: none;
  }
  .nav-list { flex-direction: row; gap: var(--s-5); }
  .nav-list a { font-size: 0.95rem; padding: var(--s-1) 0; }
  .nav-cta { min-height: 42px; padding: var(--s-2) var(--s-4); font-size: 0.9rem; }
  .picado li:nth-child(n + 12) { display: block; }
  .section { padding: var(--s-9) 0; }
  .board { padding: var(--s-7); }
  .fillings { grid-template-columns: repeat(3, 1fr); }
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .birria { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; }
  .plate-card { grid-column: 2; grid-row: 1 / span 2; }
  .combo-card { grid-column: 1; grid-row: 2; }
  .aguas { grid-column: 1 / -1; }
  .aguas .price-list { grid-template-columns: 1fr 1fr; column-gap: var(--s-6); }
  .birria-art { margin-top: auto; height: 170px; }
  .order-steps { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1.15fr; align-items: start; }
  .form-wrap { padding: var(--s-6); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .doc-body { padding: var(--s-7); }
  .sticker { width: 110px; height: 110px; }
}

@media (min-width: 1024px) {
  .hero { padding-top: calc(var(--s-8) + 20px); }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
  .visit-grid { grid-template-columns: 1fr 1.1fr; }
  .map { min-height: 420px; }
  .legal-list { grid-template-columns: repeat(3, 1fr); }
  .nav-list { gap: var(--s-6); }
  .nav-list a { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
