/* Taco Taco Jacó — taquería red, pink, cream, black */
:root {
  --red: #d7262e;
  --red-dark: #a91820;
  --pink: #f06b9b;
  --pink-soft: #fde3ec;
  --lime: #8cc63f;
  --cream: #fff6ea;
  --ink: #1b1414;
  --muted: #6b5b57;
  --white: #fff;
  --wa: #25d366;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(27, 20, 20, .12);
  --head: "Bungee", "Rubik", system-ui, sans-serif;
  --body: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--cream); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1, h2, .section-title { font-family: var(--head); font-weight: 400; letter-spacing: .5px; }
h3 { font-weight: 800; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; }

/* papel picado */
.picado { height: 26px; background:
  conic-gradient(from 135deg at 50% 0, var(--red) 90deg, transparent 0) 0 0/40px 26px,
  conic-gradient(from 135deg at 50% 0, var(--pink) 90deg, transparent 0) 20px 0/40px 26px; }

/* header */
.site-header { background: var(--ink); color: var(--white); position: sticky; top: 0; z-index: 40; }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--white); }
.logo-mark { font-family: var(--head); background: var(--red); color: var(--white); padding: 6px 9px; line-height: .95; font-size: 15px; border-radius: 8px; transform: rotate(-3deg); box-shadow: 3px 3px 0 var(--pink); }
.logo-sub { font-family: var(--head); color: var(--pink); font-size: 18px; }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a { color: var(--white); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--red); }
.lang-switch { font-family: var(--head); color: var(--ink); background: var(--pink); text-decoration: none; padding: 6px 12px; border-radius: 999px; }
.nav-toggle { display: none; margin-left: auto; background: var(--red); color: var(--white); border: 0; border-radius: 999px; padding: 8px 16px; font: 700 15px var(--body); }

/* buttons */
.btn { display: inline-block; background: var(--red); color: var(--white); text-decoration: none; font-weight: 800; padding: 13px 22px; border-radius: 999px; border: 3px solid var(--red); cursor: pointer; font-family: var(--body); font-size: 16px; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); background: var(--red-dark); border-color: var(--red-dark); }
.btn-ghost { background: transparent; color: var(--red); }
.btn-ghost:hover { color: var(--white); }
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-small { padding: 7px 14px; font-size: 14px; border-width: 2px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* hero */
.hero { background: radial-gradient(circle at 80% 20%, #ffe0ea 0, transparent 50%), var(--cream); padding: 48px 0 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.kicker { display: inline-block; background: var(--ink); color: var(--white); padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 62px); color: var(--red); margin-top: 14px; }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-meta span { background: var(--white); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 14px; box-shadow: var(--shadow); }
.hero-photos { position: relative; aspect-ratio: 1 / 1; }
.hp { position: absolute; border-radius: var(--radius); box-shadow: var(--shadow); border: 6px solid var(--white); object-fit: cover; }
.hp1 { width: 68%; left: 0; top: 4%; transform: rotate(-4deg); z-index: 2; }
.hp2 { width: 46%; right: 0; top: 0; transform: rotate(5deg); }
.hp3 { width: 50%; right: 4%; bottom: 0; transform: rotate(-2deg); z-index: 3; }

/* bands & sections */
.band-deal { background: var(--lime); }
.deal { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; flex-wrap: wrap; }
.deal h2 { margin: 0; font-size: 28px; }
.deal p { margin: 4px 0 0; font-weight: 500; }
.section { padding: 56px 0; }
.section-dark { background: var(--ink); color: var(--white); }
.section-title { font-size: clamp(26px, 3.4vw, 40px); }
.section-dark .section-title { color: var(--pink); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.page-head { background: var(--red); color: var(--white); padding: 40px 0 34px; }
.page-head h1 { font-size: clamp(32px, 5vw, 54px); margin: 0; }
.page-head p { margin: 8px 0 0; font-size: 18px; max-width: 46em; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card, .post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card img, .post-card img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.card-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: 15px; margin: 0 0 12px; }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.price { font-weight: 800; color: var(--red); font-size: 18px; white-space: nowrap; }
.price small { font-weight: 500; color: var(--muted); font-size: 13px; }

/* salsas */
.salsas { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.salsa { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; background: rgba(255,255,255,.07); border-radius: 14px; padding: 12px 16px; }
.salsa-name { font-weight: 800; font-size: 18px; }
.salsa-desc { grid-column: 1 / -1; color: #d9cfcc; font-size: 15px; }
.heat { display: flex; gap: 4px; align-items: center; }
.heat i { width: 14px; height: 22px; border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%; background: #4a3a38; }
.heat i.on { background: var(--red); box-shadow: 0 0 8px rgba(215,38,46,.7); }

/* map */
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: #eee; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* menu */
.menu-tabs { position: sticky; top: 68px; z-index: 30; background: var(--cream); border-bottom: 2px solid #f1d9c9; }
.menu-tabs .wrap { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; }
.menu-tabs a { white-space: nowrap; text-decoration: none; background: var(--white); color: var(--ink); padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; border: 2px solid #f1d9c9; }
.menu-tabs a:hover { border-color: var(--red); color: var(--red); }
.menu-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; padding: 32px 0 56px; align-items: start; }
.menu-cat { scroll-margin-top: 130px; margin-bottom: 36px; }
.menu-cat h2 { font-size: 28px; color: var(--red); border-bottom: 3px dashed var(--pink); padding-bottom: 6px; }
.items { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.item { background: var(--white); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.item.has-img { grid-template-columns: 110px 1fr; }
.item-img { width: 110px; height: 110px; object-fit: cover; border-radius: 12px; }
.item-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.item-top h3 { margin: 0; font-size: 19px; }
.item-body p { margin: 4px 0 8px; color: var(--muted); font-size: 15px; }
.item-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.item-foot .btn { margin-left: auto; }
.tag { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--pink-soft); color: var(--red-dark); }
.tag-deal { background: var(--lime); color: var(--ink); }
.tag-veg { background: #e5f4d6; color: #2f6a12; }
.tag-heat { background: #ffe8e0; }
.builder { position: sticky; top: 140px; background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.builder h2 { font-size: 22px; color: var(--pink); }
.builder label, .wa-form label { display: block; font-weight: 700; margin-bottom: 12px; font-size: 15px; }
input, select, textarea { width: 100%; margin-top: 4px; padding: 11px 12px; border-radius: 12px; border: 2px solid #e6d3c6; font: 16px var(--body); background: var(--white); color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--pink); border-color: var(--red); }
.total { font-size: 18px; }
.total strong { color: var(--lime); font-size: 22px; }

/* about / blog / faq */
.prose { max-width: 760px; }
.prose p, .prose li { font-size: 18px; }
.prose h2 { font-size: 28px; color: var(--red); margin-top: 1.4em; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.g-img { border-radius: var(--radius); aspect-ratio: 1 / 1; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.post-card h2 { font-family: var(--body); font-weight: 800; font-size: 20px; letter-spacing: 0; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card time, .post-meta { color: var(--muted); font-size: 14px; }
.more { font-weight: 800; text-decoration: none; margin-top: auto; }
.post h1 { font-size: clamp(28px, 4vw, 44px); color: var(--red); }
.post-img { border-radius: var(--radius); margin: 20px 0; width: 100%; max-height: 460px; object-fit: cover; }
.faq { max-width: 820px; display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: 14px; padding: 4px 18px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 800; padding: 12px 0; font-size: 18px; }
.faq details p { margin-top: 0; color: var(--muted); }

/* contact */
.wa-form { background: var(--white); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-info .big { font-size: 20px; }
.contact-info .map { margin-top: 20px; }

/* footer */
.site-footer { background: var(--ink); color: #e9dfdc; padding: 40px 0 20px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
.footer-logo { margin-bottom: 10px; }
.site-footer a { color: var(--pink); }
.footer-links { display: grid; gap: 6px; }
.copyright { border-top: 1px solid #3a2e2c; padding-top: 16px; margin-top: 24px; font-size: 14px; color: #a99e9b; }

/* WhatsApp float */
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 60; animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* responsive */
@media (max-width: 900px) {
  .hero-grid, .two-col, .menu-layout, .footer-grid { grid-template-columns: 1fr; }
  .hero-photos { max-width: 460px; width: 100%; margin-inline: auto; }
  .builder { position: static; }
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--ink); flex-direction: column; padding: 12px 16px 18px; }
  .site-nav.open { display: flex; }
  .header-row { position: relative; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .item.has-img { grid-template-columns: 84px 1fr; }
  .item-img { width: 84px; height: 84px; }
  .deal h2 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
