/* creyentecocina.com v2 — dark chocolate, Creyente's own type: Bebas Neue (his current site + jar labels) for headings,
   Montserrat (his printed material) for text. Colors from his logo, labels and print palette (print/impresos.html). Mobile first. */
@font-face { font-family: 'Bebas Neue'; src: url(/fonts/bebas-neue-latin.woff2) format('woff2'); font-weight: 400; font-display: optional; }
@font-face { font-family: Montserrat; src: url(/fonts/montserrat-latin-wght.woff2) format('woff2'); font-weight: 100 900; font-display: optional; }
:root {
  --bg: #1A1512; --bg-2: #221B17; --card: #2B221D; --card-2: #342923;
  --cream: #F3EADB; --cream-2: #CDBDA4; --muted: #A8977F;
  --terra: #A84D28; --terra-2: #C0603A; --caramel: #C29560; --green: #2A483C; --wa: #17663F;
  --line: rgba(243, 234, 219, .12); --radius: 20px; --shadow: 0 18px 40px rgba(0, 0, 0, .35);
  --display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif; --sans: Montserrat, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--cream); font: 400 16px/1.65 var(--sans); padding-bottom: 76px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: .95; margin: 0 0 .35em; letter-spacing: .015em; text-transform: uppercase; }
h1 { font-size: clamp(3.2rem, 13vw, 7rem); }
h2 { font-size: clamp(2.4rem, 8vw, 4rem); }
h3 { font-size: 1.9rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); } .small { font-size: .86rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 18px 0 6px; }
.kicker { font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: .72rem; color: var(--caramel); margin-bottom: 12px; }
.lead { font-size: 1.12rem; color: var(--cream-2); max-width: 38em; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; background: var(--cream); color: var(--bg); padding: 8px 12px; z-index: 40; }
:focus-visible { outline: 3px solid var(--terra-2); outline-offset: 3px; }
.draft { background: var(--terra); color: #fff; font-size: .8rem; text-align: center; padding: 6px 12px; position: relative; z-index: 6; }
::selection { background: var(--terra); color: #fff; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 14px 0; flex-wrap: wrap; position: relative; z-index: 5; }
.top .logo img { height: 30px; width: auto; }
.top nav { display: flex; gap: 20px; overflow-x: auto; width: 100%; scrollbar-width: none; }
.top nav::-webkit-scrollbar { display: none; }
.top nav a { white-space: nowrap; text-decoration: none; font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; padding: 8px 0; color: var(--cream-2); }
.top nav a:hover { color: var(--cream); }
@media (min-width: 900px) { .top { flex-wrap: nowrap; } .top nav { width: auto; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 26px; border-radius: 999px;
  border: 1.5px solid var(--cream); background: var(--cream); color: var(--bg); font: 700 .82rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; transition: transform .15s, background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.alt, .btn.light { background: transparent; color: var(--cream); border-color: rgba(243, 234, 219, .45); }
.btn.alt:hover, .btn.light:hover { border-color: var(--cream); background: rgba(243, 234, 219, .08); }
.btn.accent { background: var(--terra); border-color: var(--terra); color: #fff; }
.btn.accent:hover { background: var(--terra-2); border-color: var(--terra-2); }
.btn.wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.row-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.stack { display: grid; gap: 12px; max-width: 420px; }

/* hero: full-bleed photo, dark gradient, big type */
.hero { position: relative; padding: 0; min-height: 88vh; display: grid; align-items: end; margin-top: -64px; }
.hero-ph { position: absolute; inset: 0; } .hero-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero-ph::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,21,18,.55) 0%, rgba(26,21,18,.15) 30%, rgba(26,21,18,.75) 65%, var(--bg) 100%); }
.hero-tx { position: relative; padding: 140px 0 48px; }
.hero h1 { max-width: 9em; }
.hero .lead { color: var(--cream); }
@media (min-width: 900px) {
  .hero-ph::after { background: linear-gradient(90deg, rgba(26,21,18,.92) 0%, rgba(26,21,18,.6) 45%, rgba(26,21,18,.1) 80%), linear-gradient(180deg, transparent 70%, var(--bg) 100%); }
  .hero-tx { padding: 160px 0 90px; } .hero-tx > * { max-width: 620px; }
}
.openb { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9rem; margin: 6px 0 18px; padding: 8px 14px; border-radius: 999px; background: rgba(26,21,18,.6); border: 1px solid var(--line); }
.openb::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.openb.is-open::before { background: #4CC37A; box-shadow: 0 0 0 4px rgba(76,195,122,.22); }
.openb.is-closed::before { background: #E07B4F; }
.club-nudge { margin-top: 18px; font-weight: 600; font-size: .92rem; } .club-nudge a { color: var(--caramel); }

/* sections */
section { padding: 64px 0; }
@media (min-width: 900px) { section { padding: 96px 0; } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
figcaption { font-size: .8rem; color: var(--muted); margin-top: 8px; letter-spacing: .04em; }

.favs { display: grid; gap: 36px; align-items: center; }
.favs figure, .gallery figure, .msec-ph { margin: 0; }
.favs img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
@media (min-width: 900px) { .favs { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.mlist { list-style: none; padding: 0; margin: 0 0 16px; }
.mlist li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.mlist li > div { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; flex: 1; }
.thumb { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--card-2); }
.dish { font-weight: 600; }
.sub { width: 100%; font-size: .82rem; color: var(--muted); }
.price { font-family: var(--display); font-size: 1.5rem; color: var(--caramel); white-space: nowrap; letter-spacing: .03em; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.tag svg { width: 11px; height: 11px; }
.tag.fav { background: var(--terra); color: #fff; }
.tag.try { background: rgba(194, 149, 96, .18); color: var(--caramel); border: 1px solid rgba(194,149,96,.35); }

.gallery-sec { background: var(--bg-2); }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: min(70%, 300px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 16px; scrollbar-width: thin; scrollbar-color: var(--card-2) transparent; }
.gallery figure { scroll-snap-align: start; }
.gallery img { border-radius: 16px; aspect-ratio: 4/5; object-fit: cover; width: 100%; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.02); }
@media (min-width: 1212px) { .gallery { padding-inline: calc((100% - 1180px) / 2); } }

.promos { display: grid; gap: 18px; }
@media (min-width: 860px) { .promos { grid-template-columns: repeat(2, 1fr); } }
.promo { align-content: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; margin: 0; }
.promo img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.promo > div { padding: 26px; } .promo .kicker { color: #E89A74; }

.club { background: linear-gradient(135deg, var(--green) 0%, #1F362D 100%); }
.club-in { display: grid; gap: 28px; align-items: center; }
.club-in img { border-radius: var(--radius); box-shadow: var(--shadow); }
.club .kicker { color: #C9DCC0; } .club-fine { color: #C9DCC0; margin-top: 14px; } .club-fine a { color: #fff; }
@media (min-width: 860px) { .club-in { grid-template-columns: 1.2fr .8fr; gap: 56px; } }

.reviews { background: var(--bg-2); text-align: center; }
.rv-sum { font-weight: 600; color: var(--cream-2); }
.rv-grid { display: grid; gap: 16px; margin: 24px 0; text-align: left; }
@media (min-width: 760px) { .rv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .rv-grid { grid-template-columns: repeat(3, 1fr); } .rv:last-child:nth-child(3n+2) { grid-column: span 2; } }
.rv { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; align-content: start; gap: 10px; }
.rv blockquote { margin: 0; font-size: .98rem; color: var(--cream); }
.rv blockquote::before { content: '\201C'; font: 400 3rem/0 var(--display); color: #E07B4F; vertical-align: -.45em; margin-right: 4px; }
.stars { color: #E7B04B; letter-spacing: 3px; }
.reviews .row-btns { justify-content: center; }

.salsa .salsa-teaser { display: grid; background: #0F0C0A; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.salsa .salsa-teaser > div { padding: 32px; } .salsa .salsa-teaser img { width: 100%; height: 100%; object-fit: cover; max-height: 460px; }
@media (min-width: 760px) { .salsa .salsa-teaser { grid-template-columns: .9fr 1.1fr; align-items: center; } }

.visit { background: var(--bg-2); }
.visit-in { display: grid; gap: 32px; align-items: center; }
.visit-in img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 860px) { .visit-in { grid-template-columns: 1fr 1fr; gap: 64px; } }
dl { margin: 0 0 24px; } dt { font-weight: 700; margin-top: 14px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--caramel); } dd { margin: 4px 0 0; }
dd a { font-weight: 600; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 2px 20px; margin-bottom: 10px; max-width: 780px; }
summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; float: right; color: var(--caramel); font-size: 1.2rem; } details[open] summary::after { content: '–'; }

/* instagram strip */
.ig h2 a { text-decoration: none; color: var(--caramel); }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 18px; }
@media (min-width: 760px) { .ig-grid { grid-template-columns: repeat(6, 1fr); } }
.ig-grid a { display: block; overflow: hidden; border-radius: 10px; }
.ig-grid img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .4s, opacity .3s; }
.ig-grid a:hover img { transform: scale(1.05); opacity: .85; }

/* inner pages */
.phead { padding-top: 40px; padding-bottom: 20px; }
.phead.two-col { display: grid; gap: 28px; align-items: center; }
.phead.two-col img { border-radius: var(--radius); }
@media (min-width: 860px) { .phead.two-col { grid-template-columns: 1fr 1fr; } }
.jump { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; position: sticky; top: 0; background: rgba(26,21,18,.92); backdrop-filter: blur(8px); z-index: 6; border-bottom: 1px solid var(--line); width: 100%; scrollbar-width: none; }
.jump::-webkit-scrollbar { display: none; }
.jump a { white-space: nowrap; text-decoration: none; font-weight: 600; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; padding: 9px 14px; border-radius: 999px; background: var(--card); color: var(--cream-2); }
.jump a:hover { color: var(--cream); background: var(--card-2); }
.menu { padding: 16px 0 40px; }
.msec { display: grid; gap: 24px; padding: 44px 0; border-bottom: 1px solid var(--line); }
.msec-ph img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
@media (min-width: 900px) { .msec { grid-template-columns: 380px 1fr; gap: 56px; } .msec-ph { position: sticky; top: 80px; align-self: start; } }
.extras { background: var(--card); border: 1px dashed var(--line); border-radius: 14px; padding: 16px 18px; font-size: .92rem; color: var(--cream-2); }
.extras strong { color: var(--caramel); }

.cards { display: grid; gap: 18px; }
@media (min-width: 860px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.big-price { font: 400 3rem/1 var(--display); color: var(--caramel); } .big-price small { display: block; font: 500 .8rem var(--sans); color: var(--muted); margin-top: 6px; }
.courses { padding-left: 1.2em; margin: 0; } .courses li { margin: 8px 0; }
.facts { padding-left: 1.2em; max-width: 46em; } .facts li { margin: 12px 0; } .facts strong { color: var(--caramel); }
.flav { columns: 2; padding-left: 1.2em; font-weight: 600; margin-bottom: 22px; }

/* salsa macha page */
.salsa-hero { background: #0F0C0A; padding: 40px 0 64px; }
.salsa-hero-in { display: grid; gap: 32px; align-items: center; }
.salsa-hero-ph { margin: 0; } .salsa-hero-ph img { border-radius: 24px; max-height: 680px; width: 100%; object-fit: cover; box-shadow: var(--shadow); }
@media (min-width: 900px) { .salsa-hero-in { grid-template-columns: 1fr 1fr; gap: 64px; } }
.jars { display: grid; gap: 20px; margin-top: 22px; }
@media (min-width: 860px) { .jars { grid-template-columns: repeat(3, 1fr); } }
.jar { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; align-content: start; }
.jar img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.jar-tx { padding: 22px; }
.heat { margin: 0 0 6px; letter-spacing: 2px; } .chili { filter: grayscale(1); opacity: .25; } .chili.on { filter: none; opacity: 1; }
.sizes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.size { display: grid; gap: 2px; text-decoration: none; border: 1.5px solid rgba(243,234,219,.35); border-radius: 14px; padding: 10px 12px; text-align: center; transition: background .2s, border-color .2s; }
.size span { font-size: .8rem; color: var(--muted); } .size strong { font-family: var(--display); font-size: 1.6rem; font-weight: 400; color: var(--caramel); line-height: 1; } .size small { font-size: .66rem; color: var(--muted); }
.size:hover { background: var(--card-2); border-color: var(--caramel); }
.salsa-story { background: var(--bg-2); }
.story-in { display: grid; gap: 28px; align-items: center; }
.story-in img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
@media (min-width: 900px) { .story-in { grid-template-columns: .8fr 1.2fr .8fr; gap: 48px; } }
.uses { padding-left: 1.2em; } .uses li { margin: 8px 0; }
.where-head { display: grid; gap: 28px; align-items: center; margin-bottom: 22px; }
.where-head figure { margin: 0; } .where-head img { border-radius: var(--radius); width: 100%; aspect-ratio: 16/10; object-fit: cover; }
@media (min-width: 860px) { .where-head { grid-template-columns: 1fr 1fr; gap: 56px; } }
.stores { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .stores { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .stores { grid-template-columns: repeat(3, 1fr); } }
.stores a { display: grid; gap: 2px; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; height: 100%; transition: border-color .2s; }
.stores a:hover { border-color: var(--caramel); }
.stores span { color: var(--muted); font-size: .88rem; } .stores em { font-style: normal; color: var(--caramel); font-weight: 700; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; margin-top: 6px; }
.salsa-dist { background: linear-gradient(135deg, #3A2418 0%, #22150F 100%); }
.dist-in { display: grid; gap: 28px; align-items: center; }
.dist-in img { border-radius: var(--radius); width: 100%; max-height: 480px; object-fit: cover; }
@media (min-width: 860px) { .dist-in { grid-template-columns: .9fr 1.1fr; gap: 56px; } }

/* footer + sticky action bar */
.foot { background: #110D0B; color: var(--muted); padding: 56px 0 36px; font-size: .9rem; border-top: 1px solid var(--line); }
.foot-grid { display: grid; gap: 28px; } .foot img { margin-bottom: 14px; }
.foot strong { color: var(--cream); }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.foot a { color: var(--cream-2); }
.foot-credit { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .78rem; }
.foot-credit a { color: var(--cream-2); }
@media (min-width: 760px) { .foot-grid { grid-template-columns: repeat(3, 1fr); } }
.social { display: flex; gap: 12px; margin-bottom: 6px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--card); color: var(--cream); }
.social a:hover { background: var(--terra); }
.social svg { width: 22px; height: 22px; }
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(17,13,11,.96); backdrop-filter: blur(10px);
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.bar a { color: var(--cream); text-decoration: none; display: grid; justify-items: center; gap: 2px; padding: 8px 4px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 12px; }
.bar a svg { width: 22px; height: 22px; }
.bar .bar-wa { background: var(--wa); }
/* Room for the website chat bubble (GHL widget, bottom-right). */
.bar { right: 76px; }
@media (min-width: 900px) { body { padding-bottom: 0; } .foot { padding-bottom: 120px; } .bar { left: auto; right: 96px; bottom: 20px; grid-template-columns: repeat(3, 100px); border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .gallery img, .ig-grid img { transition: none; } .reveal { opacity: 1; transform: none; transition: none; } }
.desc { width: 100%; font-size: .86rem; color: var(--cream-2); line-height: 1.5; margin-top: 2px; }

/* "Favoritos de la casa": stars + high-margin puzzles, first thing on the menu page */
.featured { padding: 8px 0 28px; }
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .feat-grid { grid-template-columns: repeat(6, 1fr); } }
.feat { position: relative; display: block; border-radius: 16px; overflow: hidden; text-decoration: none; background: var(--card); }
.feat img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .4s; }
.feat:hover img { transform: scale(1.04); }
.feat-tx { position: absolute; inset: auto 0 0 0; padding: 28px 12px 10px; background: linear-gradient(transparent, rgba(17,13,11,.92)); display: flex; justify-content: space-between; align-items: end; gap: 8px; }
.feat-tx strong { font-size: .86rem; line-height: 1.25; }
.feat-tx .price { font-size: 1.3rem; }

/* Cookie notice (GA4): above the phone bar; bottom-left card on desktop, clear of the quick-action bar */
.ck { position: fixed; left: 12px; right: 12px; bottom: 84px; z-index: 30; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 14px 16px; font-size: .85rem; line-height: 1.5; }
.ck[hidden] { display: none; }
.ck p { margin: 0 0 10px; color: var(--cream-2); }
.ck a { color: var(--caramel); }
.ck-b { display: flex; gap: 10px; flex-wrap: wrap; }
.ck .btn { padding: 10px 18px; font-size: .74rem; min-height: 44px; }
@media (min-width: 900px) { .ck { left: 20px; right: auto; bottom: 20px; max-width: 420px; } }
