/* =========================================================
   AD Express Market — styles
   Palette pulled from the store's own logo (green + red)
   and its shelves (cream, chamoy red, mango, lime).
   ========================================================= */

:root {
  --cream: #FAF5EA;
  --paper: #FFFDF8;
  --ink: #1C1A16;
  --muted: #6A655B;
  --line: #E7DFCF;

  --green: #1F5C39;
  --green-deep: #133F27;
  --green-ink: #0F2E1D;
  --red: #C5372E;
  --red-deep: #9E2A23;
  --mango: #F4A93C;
  --mango-soft: #FBE3B4;
  --lime: #A9C84B;

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(28, 26, 22, .12);
  --shadow-sm: 0 6px 18px rgba(28, 26, 22, .08);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.05; letter-spacing: -.01em; margin: 0; font-variation-settings: "SOFT" 50, "opsz" 72; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 22px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(31, 92, 57, .28); }
.btn-primary:hover { background: var(--green-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(28,26,22,.2); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(28,26,22,.04); }
.btn-sm { padding: 11px 16px; font-size: .92rem; }
.text-link { font-weight: 700; color: var(--green); border-bottom: 2px solid transparent; transition: border-color .2s; }
.text-link:hover { border-color: currentColor; }
.text-link.big { font-size: 1.35rem; font-family: var(--font-head); font-weight: 600; }

/* ---------- eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mango); }
.eyebrow-light { color: var(--mango); }
.eyebrow-light .eyebrow-dot { background: var(--lime); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 245, 234, .86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; }
.nav { display: flex; gap: 28px; font-weight: 600; font-size: .96rem; }
.nav a { position: relative; padding: 6px 0; color: var(--ink); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }

/* wordmark (typographic version of the store's logo) */
.wordmark { display: inline-flex; align-items: baseline; gap: 4px; font-family: var(--font-head); line-height: 1; white-space: nowrap; }
.wm-ad { font-weight: 700; color: var(--red); font-size: .85rem; letter-spacing: .04em; align-self: flex-start; margin-top: 2px; }
.wm-express { font-weight: 700; color: var(--green); font-size: 1.55rem; font-style: italic; letter-spacing: -.02em; }
.wm-market { font-family: var(--font-body); font-weight: 700; color: var(--red-deep); font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; margin-left: 4px; }
.wm-cart { width: 20px; height: 20px; color: var(--green); margin-left: 2px; align-self: center; }

/* language toggle */
.lang-toggle {
  display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); cursor: pointer; font: inherit;
}
.lang-opt { padding: 6px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; color: var(--muted); transition: background .2s, color .2s; }
.lang-opt.is-active { background: var(--ink); color: #fff; }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-copy .lede { margin-top: 22px; font-size: 1.15rem; color: var(--muted); max-width: 52ch; }
.hero-copy h1 { max-width: 14ch; }
.hero-copy h1 em { font-style: italic; color: var(--green); }
.status-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; font-weight: 600; font-size: .95rem; }
.status-pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(169, 200, 75, .25); }
.status-row.is-closed .status-dot { background: var(--red); box-shadow: 0 0 0 4px rgba(197, 55, 46, .18); }
.status-addr { color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero-media { position: relative; aspect-ratio: 4 / 4.6; }
.hero-media figure { margin: 0; }
.hero-main { position: absolute; inset: 0 8% 0 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hero-main img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-float { position: absolute; width: 38%; border-radius: 14px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow); border: 5px solid var(--paper); }
.hero-float img { aspect-ratio: 1; width: 100%; object-fit: cover; }
.hero-float figcaption { position: absolute; left: 10px; bottom: 10px; padding: 6px 10px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.hero-float-a { right: -2%; bottom: 12%; transform: rotate(3deg); }
.hero-float-b { left: -6%; top: 8%; width: 32%; transform: rotate(-4deg); }

/* ---------- trust strip ---------- */
.trust { border-block: 1px solid var(--line); background: var(--paper); }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 18px 12px; font-size: .95rem; color: var(--muted); text-align: center; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item strong { color: var(--ink); font-weight: 700; }
.stars { color: var(--mango); letter-spacing: .05em; }

/* ---------- section heads ---------- */
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-lede { margin-top: 16px; font-size: 1.1rem; color: var(--muted); max-width: 56ch; }

/* ---------- botanas ---------- */
.botanas { background: var(--green-deep); color: #fff; padding: clamp(60px, 8vw, 110px) 0; position: relative; }
.botanas::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 100% 0%, rgba(244,169,60,.16), transparent 60%); pointer-events: none; }
.botanas h2 { color: #fff; }
.botanas .section-lede { color: rgba(255,255,255,.72); }
.botanas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.bcard { background: var(--paper); color: var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.bcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bcard-body { padding: 18px 20px 22px; }
.bcard-body p { margin-top: 6px; color: var(--muted); font-size: .95rem; }
.flavors { margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.14); position: relative; }
.flavors-label { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mango); margin-bottom: 14px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); font-size: .92rem; font-weight: 600; color: #fff; }

/* ---------- photo strip ---------- */
.strip { overflow: hidden; background: var(--green-ink); padding: 14px 0; }
.strip-track { display: flex; gap: 14px; width: max-content; animation: slide 48s linear infinite; }
.strip-track img { width: 200px; height: 200px; object-fit: cover; border-radius: 12px; }
@keyframes slide { to { transform: translateX(-50%); } }
.strip:hover .strip-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }

/* ---------- shop bento ---------- */
.shop { padding: clamp(60px, 8vw, 110px) 0; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 18px; }
.tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-sm); }
.tile-tall { grid-row: span 2; }
.tile-wide { grid-column: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.04); }
.tile-text { position: absolute; inset: auto 0 0 0; padding: 22px 20px 20px; color: #fff; background: linear-gradient(to top, rgba(12,10,8,.86), rgba(12,10,8,.35) 60%, transparent); }
.tile-text h3 { color: #fff; font-size: 1.35rem; }
.tile-text p { margin-top: 4px; font-size: .9rem; color: rgba(255,255,255,.82); max-width: 40ch; }

/* ---------- story ---------- */
.story { padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 110px); }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.story-media { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 4.4; }
.story-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.story-copy p { margin-top: 18px; color: var(--muted); font-size: 1.08rem; max-width: 56ch; }
.story-copy h2 + p { margin-top: 22px; }
.social-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.social-links a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-weight: 700; font-size: .92rem; transition: border-color .2s, transform .15s; }
.social-links a:hover { border-color: var(--ink); transform: translateY(-1px); }
.social-links svg { width: 18px; height: 18px; }

/* ---------- reviews ---------- */
.reviews { padding: 0 0 clamp(60px, 8vw, 110px); }
.reviews-grid { display: grid; grid-template-columns: .8fr 1fr 1fr; gap: 20px; }
.reviews-summary { padding: 30px; border-radius: var(--radius); background: var(--mango-soft); }
.big-rating { display: flex; align-items: baseline; gap: 12px; margin-top: 4px; }
.big-num { font-family: var(--font-head); font-size: 4rem; font-weight: 700; line-height: 1; }
.big-stars { font-size: 1.3rem; }
.rating-sub { color: var(--muted); margin: 6px 0 20px; }
.review { margin: 0; padding: 30px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.review p { font-family: var(--font-head); font-size: 1.35rem; line-height: 1.35; font-weight: 500; }
.review footer { display: flex; align-items: center; gap: 12px; font-size: .92rem; }
.review cite { font-style: normal; font-weight: 700; }
.review .src { color: var(--muted); }
.review .src::before { content: "·"; margin-right: 8px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 700; }

/* ---------- visit ---------- */
.visit { background: var(--green-ink); color: #fff; padding: clamp(60px, 8vw, 110px) 0; }
.visit h2 { color: #fff; max-width: 16ch; }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.visit-block { margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.visit-block h3 { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mango); margin-bottom: 8px; }
.visit-block p { font-size: 1.15rem; }
.visit .text-link { color: var(--lime); }
.visit .text-link.big { color: #fff; }
.hours { border-collapse: collapse; width: 100%; max-width: 380px; font-size: 1rem; }
.hours th, .hours td { padding: 7px 0; text-align: left; font-weight: 500; }
.hours td { text-align: right; color: rgba(255,255,255,.85); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--mango); font-weight: 700; }
.hours tr.is-today th::after { content: " · today"; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
html[lang="es"] .hours tr.is-today th::after { content: " · hoy"; }
.hours-note { margin-top: 14px; font-size: .95rem; color: rgba(255,255,255,.7); }
.visit-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #2b3b30; min-height: 420px; position: sticky; top: 100px; }
.visit-map iframe { display: block; width: 100%; height: 100%; min-height: 520px; border: 0; filter: saturate(.9); }

/* ---------- footer ---------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 44px 0 110px; font-size: .95rem; color: var(--muted); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.footer-inner p { margin-top: 8px; }
.footer-col a { display: inline-block; margin-top: 8px; font-weight: 700; color: var(--green); }
.footer-social { display: flex; gap: 16px; }
.footer-legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; }
.wordmark-footer .wm-express { font-size: 1.4rem; }

/* ---------- mobile bar ---------- */
.mobile-bar { display: none; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .botanas-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .tile-wide { grid-column: span 1; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .reviews-summary { grid-column: span 2; }
}

@media (max-width: 820px) {
  body { font-size: 16px; padding-bottom: 0; }
  .wrap { width: min(var(--wrap), calc(100% - 32px)); }
  .nav { display: none; }
  .header-inner { height: 64px; }
  .hero { padding-top: 28px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy h1 { max-width: none; }
  .hero-media { aspect-ratio: 4 / 3.6; }
  .hero-main { inset: 0 0 0 0; }
  .hero-float-a { right: 4%; bottom: -6%; width: 40%; }
  .hero-float-b { left: 2%; top: -6%; width: 30%; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .story-grid { grid-template-columns: 1fr; }
  .story-media { aspect-ratio: 4 / 3; }
  .visit-grid { grid-template-columns: 1fr; }
  .visit-map { position: static; min-height: 320px; }
  .visit-map iframe { min-height: 320px; }
  .footer-inner { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 96px; }

  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    background: rgba(255,253,248,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px 10px; font-size: .74rem; font-weight: 700; color: var(--ink); }
  .mobile-bar a:first-child { color: var(--green); }
  .mobile-bar svg { width: 22px; height: 22px; }
}

@media (max-width: 520px) {
  .botanas-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .tile-tall { grid-row: span 1; }
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-summary { grid-column: auto; }
  .strip-track img { width: 150px; height: 150px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .header-actions .btn-sm span { display: none; }
  .header-actions .btn-sm { padding: 11px; }
}
