/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #FAF3E6;   /* light cream canvas */
  --bg-2:      #EFE2C6;   /* arena — deeper cream for alt sections */
  --paper:     #FFFFFF;
  --ink:       #231421;   /* near-black, warm purple tint */
  --ink-soft:  #3B2A38;
  --ink-mute:  #6E6259;

  --acai:      #701D5B;   /* Açaí Puro — primary accent */
  --acai-dark: #55153F;
  --selva:     #2D894C;   /* Selva Viva — secondary accent */
  --miel:      #E3A720;   /* Miel — warm highlight */
  --papaya:    #EC663B;   /* Papaya — warm highlight 2 */
  --arena:     #E4D6B8;

  /* Morado tomado del sitio de referencia (amazoniacai.com, rgb(137,61,98))
     — alterna con --bg-2 como los dos tonos de fondo de sección del sitio. */
  --amazonia-purpura: #893D62;

  --line:      rgba(35, 20, 33, 0.12);
  --line-soft: rgba(35, 20, 33, 0.06);

  --display: "Julius Sans One", sans-serif;
  --accent-font: "Fraunces", serif;
  --sans: "Montserrat", sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --radius: 22px;
  --radius-sm: 12px;
  --nav-h: 84px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.01em; font-family: var(--display); font-weight: 400; }
ul { list-style: none; padding: 0; }
::selection { background: var(--acai); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--acai);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--ink); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 600;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 720px) { .container { padding-inline: 2rem; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--acai);
}
.kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--selva); }

.eyebrow-num {
  font-family: var(--accent-font);
  font-size: 3.2rem;
  color: var(--arena);
  -webkit-text-stroke: 1.5px var(--acai);
  line-height: 1;
}

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.7rem;
  border-radius: 100px;
  font-family: var(--sans); font-weight: 600; font-size: .92rem;
  letter-spacing: .01em;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background .3s var(--ease-out), color .3s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--acai); color: var(--bg);
  box-shadow: 0 10px 26px -10px rgba(112,29,91,.55);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -10px rgba(112,29,91,.6); background: var(--acai-dark); }

.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--acai); color: var(--acai); transform: translateY(-3px); }

.btn-sm { padding: .6rem 1.1rem; font-size: .82rem; }

/* =============================================================
   5. Nav
   ============================================================= */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  box-shadow: none;
  transition: background .4s var(--ease-out), box-shadow .4s var(--ease-out), height .4s var(--ease-out);
}
.nav.is-solid {
  background: var(--bg);
  box-shadow: 0 1px 0 var(--line);
  height: 72px;
}
.nav.is-solid .brand,
.nav.is-solid .brand-word em { color: var(--acai); }
.nav.is-solid .nav-links { color: var(--ink-soft); }
.nav.is-solid .nav-links a::after { background: var(--acai); }
.nav.is-solid .nav-burger span,
.nav.is-solid .nav-burger span::before,
.nav.is-solid .nav-burger span::after { background: var(--ink); }
.nav.is-solid .nav-btn-secondary { border-color: var(--line); color: var(--ink); }
.nav.is-solid .nav-btn-secondary:hover { border-color: var(--acai); color: var(--acai); }
.nav-btn-secondary { display: none; }
@media (min-width: 540px) { .nav-btn-secondary { display: inline-flex; } }
.nav-inner {
  width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
@media (min-width: 720px) { .nav-inner { padding-inline: 2rem; } }

.brand {
  display: flex; align-items: center; gap: .4rem;
  font-family: var(--display); font-size: 1.2rem; color: var(--bg);
  letter-spacing: -.04em;
  white-space: nowrap;
  transition: color .4s var(--ease-out);
}
@media (min-width: 720px) { .brand { font-size: 1.7rem; } }
.brand-mark { position: relative; width: 34px; height: 34px; flex-shrink: 0; }
@media (min-width: 720px) { .brand-mark { width: 46px; height: 46px; } }
.brand-mark img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; display: block;
  transition: opacity .4s var(--ease-out);
}
.brand-mark .logo-dark { opacity: 0; }
.nav.is-solid .brand-mark .logo-light { opacity: 0; }
.nav.is-solid .brand-mark .logo-dark { opacity: 1; }
.brand-word em { font-family: var(--accent-font); font-style: normal; color: var(--bg); transition: color .4s var(--ease-out); }

.nav-links {
  display: none; align-items: center; gap: 2.1rem;
  font-size: .92rem; font-weight: 600;
  color: var(--bg);
  transition: color .4s var(--ease-out);
}
@media (min-width: 960px) { .nav-links { display: flex; } }
.nav-links a { position: relative; padding-block: .3rem; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--miel); transition: right .4s var(--ease-out);
}
.nav-links a:hover::after { right: 0; }

.nav-actions { display: flex; align-items: center; gap: .7rem; }
.nav-burger { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; }
@media (min-width: 960px) { .nav-burger { display: none; } }
.nav-burger span { position: relative; width: 20px; height: 2px; background: var(--bg); display: block; }
.nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--bg);
  transition: transform .3s var(--ease-out);
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }

.nav-mobile {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 400;
  background: var(--bg);
  display: flex; flex-direction: column; gap: 1.6rem; padding: 2.2rem 1.5rem;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.nav-mobile.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav-mobile a { font-family: var(--display); font-size: 1.6rem; }
.nav-mobile .nav-mobile-cta { font-family: var(--sans); font-size: 1rem; margin-top: .6rem; padding-inline: 1.6rem; align-self: flex-start; }
@media (min-width: 960px) { .nav-mobile { display: none; } }

/* =============================================================
   6. Hero — video background (amazoniacai.com-style)
   ============================================================= */
.hero-video {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: clip;
  padding-top: var(--nav-h);
  background: var(--ink);
}
.hero-video-bg {
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(100% - var(--nav-h));
  object-fit: cover;
  z-index: 0;
  background: var(--ink);
}
.hero-video-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* La banda del medio (donde cae el título) va más oscura que antes —
     el letrero de la pared del video se transparentaba detrás del texto. */
  background:
    linear-gradient(180deg, rgba(35,20,33,.55) 0%, rgba(35,20,33,.48) 35%, rgba(35,20,33,.55) 78%, rgba(35,20,33,.72) 100%);
  pointer-events: none;
}
.hero-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .3rem;
  padding-block: 3rem;
}
.kicker.kicker-light { color: var(--miel); }
.kicker.kicker-light .dot { background: var(--bg); }
.hero-title.hero-title-center {
  color: var(--bg);
  max-width: 20ch;
  text-shadow: 0 2px 10px rgba(0,0,0,.45), 0 4px 30px rgba(0,0,0,.35);
}
.hero-title.hero-title-center em { color: var(--miel); }
.hero-title.hero-title-brand {
  font-size: clamp(2.8rem, 8vw, 6rem);
  max-width: none;
}
.hero-sub.hero-sub-center {
  color: rgba(250,243,230,.88);
  max-width: 52ch;
  margin-inline: auto;
  text-shadow: 0 2px 16px rgba(0,0,0,.3);
}
.hero-sub.hero-sub-stack {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.4;
  letter-spacing: .02em;
  color: var(--bg);
  margin-top: .6rem;
}
.hero-actions.hero-actions-center { justify-content: center; margin-top: .4rem; }
.btn-ghost.btn-ghost-light {
  border-color: rgba(250,243,230,.55);
  color: var(--bg);
}
.btn-ghost.btn-ghost-light:hover { border-color: var(--bg); color: var(--bg); background: rgba(250,243,230,.12); }
.hero-meta.hero-meta-center {
  justify-content: center;
  color: rgba(250,243,230,.85);
}
.hero-meta.hero-meta-center strong { color: var(--bg); }

/* =============================================================
   6b. Hero — legacy floating-figure rules (kept for reference,
   unused now that the hero uses a full-bleed video background)
   ============================================================= */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 2.5rem);
  padding-bottom: 4rem;
  overflow: clip;
}
.hero-blobs { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
  animation: blobDrift 22s ease-in-out infinite;
}
.hero-blob.b1 { width: 460px; height: 460px; top: -140px; left: -120px; background: var(--selva); opacity: .28; }
.hero-blob.b2 { width: 380px; height: 380px; top: 60px; right: -140px; background: var(--miel); opacity: .32; animation-delay: -8s; }
.hero-blob.b3 { width: 300px; height: 300px; bottom: -120px; left: 30%; background: var(--acai); opacity: .16; animation-delay: -14s; }
@keyframes blobDrift {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(30px,-24px) scale(1.08); }
}

.hero-grid {
  position: relative; z-index: 1;
  display: grid; gap: 2.5rem;
  align-items: center;
}
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 3rem; } }

.hero-title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  color: var(--ink);
  max-width: 26ch;
  margin-block: 1.1rem .9rem;
}
.hero-title em { font-family: var(--accent-font); font-style: normal; color: var(--acai); }

.hero-sub {
  font-size: 1.08rem; color: var(--ink-mute); max-width: 46ch; margin-bottom: 1.9rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2rem; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 1.4rem 1.8rem; font-size: .86rem; color: var(--ink-mute); }
.hero-meta strong { color: var(--ink); font-weight: 700; }

.hero-visual { position: relative; }
.hero-figure {
  position: relative;
  width: min(440px, 92%);
  margin-inline: auto;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--paper), var(--arena) 78%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 50px 90px -30px rgba(35,20,33,.35);
}
.hero-figure img {
  width: 84%; border-radius: 50%; object-fit: cover; aspect-ratio: 1/1;
  filter: drop-shadow(0 30px 40px rgba(35,20,33,.28));
  animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
.hero-figure-badge {
  position: absolute; bottom: 6%; left: -4%;
  background: var(--acai); color: var(--bg);
  padding: .8rem 1.15rem; border-radius: 100px;
  font-weight: 700; font-size: .85rem;
  display: flex; align-items: center; gap: .5rem;
  box-shadow: 0 14px 28px -10px rgba(112,29,91,.5);
}
.hero-figure-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--miel); }

/* =============================================================
   7. Marquee
   ============================================================= */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding-block: 1.1rem;
}
.marquee-track {
  display: flex; width: max-content; gap: 2.4rem;
  animation: marqueeScroll 32s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .marquee-track { animation-duration: 60s; } }
.marquee-track span {
  font-family: var(--display); font-size: 1.1rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--acai); display: flex; align-items: center; gap: 2.4rem;
}
.marquee-track span::after { content: "•"; color: var(--miel); }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =============================================================
   8. About / Sobre nosotros
   ============================================================= */
.about { padding-block: 6.5rem; background: var(--bg-2); }

/* Section headline */
.about-hero-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.8rem, 4.4vw, 3.2rem);
  color: var(--acai);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin-bottom: 4.5rem;
}

/* Alternating image / copy rows */
.feature-row {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 5rem;
}
.feature-row:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .feature-row { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
  .feature-row-reverse .feature-figure { order: 2; }
}

.feature-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
}
.feature-figure img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.feature-copy p {
  font-size: 1.05rem;
  color: var(--ink-mute);
  max-width: 46ch;
  margin-bottom: 1.5rem;
}
.feature-copy p strong { color: var(--acai); font-weight: 700; }
.feature-copy .btn { margin-top: .4rem; }

.feature-title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  color: var(--acai);
  letter-spacing: -.01em;
  line-height: 1.05;
  margin-bottom: 1.4rem;
}
.feature-title-sub {
  display: block;
  font-weight: 500;
  font-size: .42em;
  letter-spacing: 0;
  color: var(--acai);
  margin-top: .3rem;
  padding-bottom: .5rem;
  position: relative;
}
.feature-title-sub::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 4.5rem; height: 2px;
  background: var(--acai);
  opacity: .5;
}

/* Benefit checklist */
.check-list {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  margin-bottom: 1.5rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: 1rem;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 1.15rem; height: 1.15rem;
  margin-top: .18rem;
  background: var(--selva);
  clip-path: polygon(16% 52%, 8% 60%, 40% 92%, 96% 22%, 88% 14%, 39% 74%);
}

/* Legacy about layout (unused after redesign) */
.about-grid {
  display: grid; gap: 3rem;
}
@media (min-width: 960px) { .about-grid { grid-template-columns: .55fr 1fr; gap: 4rem; align-items: start; } }

.about-head { display: flex; flex-direction: column; gap: 1rem; }
.about-mark { width: 64px; height: 64px; }
.about-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }

.about-copy p { font-size: 1.28rem; line-height: 1.55; color: var(--ink-soft); max-width: 56ch; }
.about-copy p + p { margin-top: 1.3rem; }
.about-copy strong { color: var(--acai); font-weight: 700; }

.pillars { display: grid; gap: 1.4rem; margin-top: 3rem; }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar {
  padding: 1.6rem; border-radius: var(--radius-sm); background: var(--paper);
  border: 1px solid var(--line-soft);
}
.pillar h3 { font-family: var(--accent-font); font-size: 1.3rem; color: var(--selva); margin-bottom: .5rem; }
.pillar p { font-size: .92rem; color: var(--ink-mute); }

.founders { display: flex; gap: .6rem; margin-top: 1.6rem; flex-wrap: wrap; }
.founder-chip {
  padding: .5rem 1rem; border-radius: 100px; background: var(--paper);
  border: 1px solid var(--line); font-size: .85rem; font-weight: 600;
}

/* =============================================================
   9. Carta / Menu
   ============================================================= */
.menu { padding-block: 6.5rem; background: var(--bg-2); }
.menu-head { max-width: 60ch; margin-bottom: 2.6rem; }
.menu-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin-top: .8rem; color: var(--acai); }

.menu-filters {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-bottom: 2.8rem;
}
.filter-btn {
  padding: .6rem 1.15rem; border-radius: 100px;
  border: 1.5px solid var(--line); background: var(--paper);
  font-size: .86rem; font-weight: 600; color: var(--ink-soft);
  transition: all .3s var(--ease-out);
}
.filter-btn:hover { border-color: var(--acai); color: var(--acai); }
.filter-btn.is-active { background: var(--acai); border-color: var(--acai); color: var(--bg); }

.menu-grid {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.product-card {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  display: flex; flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px) rotate(-.4deg);
  box-shadow: 0 26px 46px -22px rgba(35,20,33,.32), 0 0 0 1px var(--line);
}
.product-figure {
  aspect-ratio: 4/3; width: 100%; overflow: hidden;
  background: linear-gradient(135deg, var(--bg-2), var(--arena));
  display: flex; align-items: center; justify-content: center;
}
.product-figure img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease-out);
}
.product-card:hover .product-figure img { transform: scale(1.08); }
.product-figure .ph-mark { width: 44px; height: 44px; object-fit: contain; opacity: .3; }

.product-body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.product-body h3 { font-family: var(--accent-font); font-size: 1.16rem; color: var(--ink); }
.product-body p { font-size: .86rem; color: var(--ink-mute); flex: 1; }
.product-price {
  margin-top: .4rem; font-weight: 700; color: var(--acai); font-size: .96rem;
  display: flex; align-items: center; justify-content: space-between;
}
.product-price .cat-tag { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--selva); font-weight: 700; }

/* =============================================================
   10. Location
   ============================================================= */
.location { padding-block: 6.5rem; background: var(--amazonia-purpura); }
.location-head { margin-bottom: 2.4rem; }
.location-grid { display: grid; gap: 2.4rem; }
@media (min-width: 960px) { .location-grid { grid-template-columns: .85fr 1.15fr; align-items: stretch; } }

.location-card {
  background: var(--paper); border-radius: var(--radius); padding: 2.4rem;
  border: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 1.4rem;
}
.location-title {
  font-family: var(--accent-font); font-weight: 600;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem); color: var(--bg);
}
.location-item { display: flex; gap: 1rem; align-items: flex-start; }
.location-item .ic { width: 22px; height: 22px; flex-shrink: 0; color: var(--acai); margin-top: 2px; }
.location-item h3 { font-family: var(--sans); font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-mute); margin-bottom: .3rem; font-weight: 700; }
.location-item p { color: var(--ink-soft); }
.location-item a:hover { color: var(--acai); }

.map-frame {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft);
  min-height: 340px; background: var(--bg-2);
}
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* =============================================================
   11. Footer
   ============================================================= */
.footer { background: var(--ink); color: var(--bg); padding-block: 4rem 2.2rem; }
.footer-grid { display: grid; gap: 2.4rem; margin-bottom: 3rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer .brand { color: var(--bg); }
.footer-tag { color: rgba(250,243,230,.65); margin-top: .8rem; max-width: 34ch; }
.footer h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(250,243,230,.55); margin-bottom: 1rem; font-weight: 700; font-family: var(--sans); }
.footer-links { display: flex; flex-direction: column; gap: .7rem; }
.footer-links a { color: rgba(250,243,230,.85); transition: color .3s var(--ease-out); }
.footer-links a:hover { color: var(--miel); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  padding-top: 1.8rem; border-top: 1px solid rgba(250,243,230,.14);
  font-size: .8rem; color: rgba(250,243,230,.5);
}

/* =============================================================
   12. Reveal / cursor / misc effects
   ============================================================= */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
/* Belt-and-suspenders: if JS never runs (disabled/blocked), .no-js stays on
   <html> and every .reveal shows immediately — content is never JS-gated. */
.no-js .reveal { opacity: 1; transform: none; }

.cursor {
  position: fixed; top: 0; left: 0; z-index: 9998; pointer-events: none;
  opacity: 0; transition: opacity .25s var(--ease-out);
}
.cursor.is-ready { opacity: 1; }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 9998; }
.cursor-dot { width: 7px; height: 7px; background: var(--acai); }
.cursor-ring {
  width: 34px; height: 34px; border: 1.5px solid var(--acai);
  mix-blend-mode: normal;
  transition: width .3s var(--ease-out), height .3s var(--ease-out), border-color .3s var(--ease-out);
}
.cursor-ring.is-hover { width: 54px; height: 54px; border-color: var(--miel); }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot, .cursor-ring { display: none; } }

.section-label {
  display: block; font-family: var(--sans); font-weight: 700; font-size: .8rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--selva); margin-bottom: .6rem;
}

/* Splash */
.splash {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  animation: splashSafety .01s 3.6s forwards;
}
.splash img { width: 72px; height: 72px; object-fit: contain; animation: splashPulse 1.1s ease-in-out infinite; }
.splash.is-out { opacity: 0; pointer-events: none; transition: opacity .5s var(--ease-out); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; } }
@keyframes splashPulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.12); opacity: .7; } }

/* =============================================================
   13. Responsive helpers
   ============================================================= */
@media (min-width: 540px) {}
@media (min-width: 720px) {}
@media (min-width: 960px) {}
@media (min-width: 1280px) {
  .hero-title { max-width: 28ch; }
}

/* =============================================================
   14. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-blob { animation: none; }
  .hero-figure img { animation: none; }
  .splash { animation: none; opacity: 0; pointer-events: none; }
}

/* =============================================================
   15. Blog / article page
   ============================================================= */
.page-blog { background: var(--bg); }
.post { padding-top: calc(var(--nav-h) + 2.5rem); padding-bottom: 5rem; }

.post-header { max-width: 760px; }
.post-kicker {
  font-family: var(--sans); font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--selva);
  margin-bottom: 1rem;
}
.post-title {
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  color: var(--acai);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}
.post-lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}
.post-meta { font-size: .85rem; color: var(--ink-mute); }

.post-hero { max-width: 900px; margin-block: 2.5rem 3rem; }
.post-hero img {
  width: 100%; aspect-ratio: 3/2; object-fit: cover;
  border-radius: var(--radius);
}

.post-body { max-width: 720px; }
.post-body h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  color: var(--acai);
  margin-top: 3rem; margin-bottom: 1rem;
}
.post-body h3 {
  font-family: var(--accent-font);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--ink); font-weight: 600;
  margin-top: 2rem; margin-bottom: .6rem;
}
.post-body p {
  font-size: 1.05rem; line-height: 1.75; color: var(--ink-soft);
  margin-bottom: 1.1rem;
}
.post-body strong { color: var(--acai); font-weight: 700; }
.post-body em { font-style: italic; }

.post-list { margin: 0 0 1.4rem; display: flex; flex-direction: column; gap: .7rem; }
.post-list li {
  position: relative; padding-left: 1.4rem;
  font-size: 1.05rem; line-height: 1.7; color: var(--ink-soft);
}
.post-list li::before {
  content: ""; position: absolute; left: 0; top: .65em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--selva);
}

.post-note {
  margin: 2.2rem 0;
  padding: 1.3rem 1.5rem;
  background: var(--bg-2);
  border-left: 3px solid var(--miel);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.post-note p { margin: 0; font-size: 1rem; color: var(--ink-soft); }

.post-cta {
  display: flex; flex-wrap: wrap; gap: .8rem;
  margin: 2.5rem 0 1rem;
}

/* The landing page starts with a dark video behind the nav, so the nav is
   transparent with light text until scroll. Secondary pages open on a cream
   background, where light-on-cream would be unreadable — keep them solid. */
.page-blog .nav {
  background: var(--bg);
  box-shadow: 0 1px 0 var(--line);
}
.page-blog .nav .brand,
.page-blog .nav .brand-word em { color: var(--acai); }
.page-blog .nav .nav-links { color: var(--ink-soft); }
.page-blog .nav .nav-links a::after { background: var(--acai); }
.page-blog .nav .nav-burger span,
.page-blog .nav .nav-burger span::before,
.page-blog .nav .nav-burger span::after { background: var(--ink); }
.page-blog .nav .nav-btn-secondary { border-color: var(--line); color: var(--ink); }
.page-blog .nav .nav-btn-secondary:hover { border-color: var(--acai); color: var(--acai); }
.page-blog .nav .brand-mark .logo-light { opacity: 0; }
.page-blog .nav .brand-mark .logo-dark { opacity: 1; }

/* =============================================================
   16. Loyalty card page
   ============================================================= */
.loyalty-hero {
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 4.5rem;
  background: var(--bg);
  text-align: center;
}
.loyalty-hero-inner { display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.loyalty-title {
  font-size: clamp(2.1rem, 5.4vw, 3.8rem);
  color: var(--acai);
  margin-block: 1rem .9rem;
  max-width: 18ch;
}
.loyalty-title em { font-family: var(--accent-font); font-style: normal; color: var(--selva); }
.loyalty-lede {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--ink-mute);
  max-width: 52ch;
  margin-bottom: 1.8rem;
}
.btn-lg { padding: 1.1rem 2.2rem; font-size: 1rem; }
.loyalty-note { font-size: .85rem; color: var(--ink-mute); margin-top: .9rem; }
.loyalty-note a { color: var(--acai); font-weight: 600; text-decoration: underline; }

.section-heading {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  color: var(--acai);
  text-align: center;
  margin-bottom: .8rem;
}
.section-sub {
  text-align: center; color: var(--ink-mute);
  max-width: 48ch; margin: 0 auto 3rem;
}

/* Rewards */
.loyalty-rewards { padding-block: 5rem; background: var(--bg-2); }
.reward-grid { display: grid; gap: 1.6rem; }
@media (min-width: 800px) { .reward-grid { grid-template-columns: 1fr 1fr; } }
.reward-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  text-align: center;
}
.reward-card-gold { border-color: var(--miel); box-shadow: 0 18px 40px -26px rgba(112,29,91,.4); }
.reward-stamps {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .5rem; margin-bottom: 1.4rem;
}
.stamp {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--line);
}
.stamp.is-on { background: var(--acai); border-color: var(--acai); }
.reward-card-gold .stamp.is-on { background: var(--miel); border-color: var(--miel); }
.reward-count {
  font-family: var(--sans); font-weight: 700; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--selva);
  margin-bottom: .4rem;
}
.reward-prize {
  font-family: var(--accent-font); font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  color: var(--ink); margin-bottom: .6rem;
}
.reward-desc { color: var(--ink-mute); font-size: .95rem; max-width: 34ch; margin-inline: auto; }

/* Steps */
.loyalty-steps { padding-block: 5rem; background: var(--bg); }
.step-grid { display: grid; gap: 1.4rem; list-style: none; padding: 0; margin: 0; }
@media (min-width: 640px) { .step-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .step-grid { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 1.6rem 1.4rem;
}
.step-num {
  display: block;
  font-family: var(--accent-font); font-size: 1.9rem;
  color: var(--miel); line-height: 1; margin-bottom: .7rem;
}
.step h3 {
  font-family: var(--sans); font-weight: 700; font-size: 1rem;
  color: var(--acai); margin-bottom: .4rem;
}
.step p { font-size: .92rem; color: var(--ink-mute); }

/* Closing CTA */
.loyalty-cta { padding-block: 5rem; background: var(--bg-2); text-align: center; }
.loyalty-cta-inner { display: flex; flex-direction: column; align-items: center; }
.loyalty-cta h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--acai); margin-bottom: .6rem;
}
.loyalty-cta p { color: var(--ink-mute); margin-bottom: 1.6rem; }

/* =============================================================
   17. Delivery apps
   ============================================================= */
.delivery { padding-block: 6rem; background: var(--bg); }
.delivery-head { max-width: 56ch; margin-bottom: 2.8rem; }
.delivery-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  color: var(--acai);
  margin-block: .8rem .7rem;
}
.delivery-head p { color: var(--ink-mute); font-size: 1.05rem; }

.delivery-grid { display: grid; gap: 1.2rem; }
@media (min-width: 720px) { .delivery-grid { grid-template-columns: repeat(3, 1fr); } }

.delivery-card {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 2.2rem;
  min-height: 190px;
  padding: 1.8rem;
  border-radius: var(--radius);
  color: #fff;
  overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.delivery-card:hover { transform: translateY(-6px); }
.delivery-uber { background: #048A47; box-shadow: 0 18px 38px -22px rgba(4,138,71,.9); }
.delivery-rappi { background: #FF441F; box-shadow: 0 18px 38px -22px rgba(255,68,31,.9); }
.delivery-pya  { background: #FA0050; box-shadow: 0 18px 38px -22px rgba(250,0,80,.9); }
.delivery-uber:hover { box-shadow: 0 26px 48px -22px rgba(4,138,71,1); }
.delivery-rappi:hover { box-shadow: 0 26px 48px -22px rgba(255,68,31,1); }
.delivery-pya:hover  { box-shadow: 0 26px 48px -22px rgba(250,0,80,1); }

.delivery-name {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -.01em;
}
.delivery-action {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--sans); font-weight: 700; font-size: .92rem;
}
.delivery-arrow { transition: transform .4s var(--ease-out); display: inline-block; }
.delivery-card:hover .delivery-arrow { transform: translate(3px, -3px); }

/* =============================================================
   18. Opening hours + open/closed status
   ============================================================= */
.hours-list { display: flex; flex-direction: column; gap: .15rem; }
.hours-list span { display: block; }
.hours-list strong { color: var(--ink); font-weight: 600; }

.open-status {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: .6rem;
  padding: .3rem .75rem .3rem .6rem;
  border-radius: 100px;
  background: rgba(35,20,33,.06);
  font-size: .82rem; font-weight: 600; color: var(--ink-mute);
}
.open-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ink-mute); flex-shrink: 0;
}
.open-status.is-open { background: rgba(45,137,76,.12); color: var(--selva); }
.open-status.is-open .open-dot { background: var(--selva); }

.footer-hours { display: flex; flex-direction: column; gap: .5rem; color: rgba(250,243,230,.85); font-size: .92rem; }
.footer-h4-gap { margin-top: 1.8rem; }

/* =============================================================
   19. Pedido y pago online — imagen + timeline, estilo premium/minimal
   ============================================================= */
.pickup { padding-block: 7rem; background: var(--amazonia-purpura); color: var(--bg); }
.pickup .section-label { color: var(--miel); }

.pickup-split { display: grid; gap: 2.6rem; align-items: center; }
@media (min-width: 900px) { .pickup-split { grid-template-columns: 1fr 1.05fr; gap: 4.5rem; } }

.pickup-figure { aspect-ratio: 4/3; }
@media (min-width: 900px) { .pickup-figure { aspect-ratio: 3/4; } }
.pickup-figure img { height: 100%; }

.pickup-content { display: flex; flex-direction: column; gap: 1.3rem; }
.pickup-title {
  font-family: var(--accent-font); font-weight: 600;
  font-size: clamp(2.1rem, 4.4vw, 3.2rem); line-height: 1.05;
  color: var(--bg); margin-top: .4rem;
}
.pickup-lede { color: rgba(250,243,230,.75); font-size: 1.05rem; max-width: 42ch; }

.pickup-timeline { display: flex; flex-direction: column; margin-block: .4rem; }
.pickup-timeline li {
  display: grid; grid-template-columns: 34px 1fr; gap: 1rem;
  position: relative; padding-bottom: 1.5rem;
}
.pickup-timeline li:last-child { padding-bottom: 0; }
.pickup-timeline li::before {
  content: ""; position: absolute; left: 17px; top: 34px; bottom: 0;
  width: 1px; background: rgba(250,243,230,.25);
}
.pickup-timeline li:last-child::before { display: none; }
.pickup-tnum {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--miel); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--accent-font); font-weight: 600; font-size: 1rem;
  position: relative; z-index: 1;
}
.pickup-timeline h3 { font-family: var(--accent-font); font-size: 1.08rem; color: var(--bg); margin-bottom: .2rem; }
.pickup-timeline p { font-size: .92rem; color: rgba(250,243,230,.7); }

.pickup-cta { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; margin-top: .3rem; }

/* Primary CTA — the online store, styled to be the obvious "buy now" action.
   Gold on the purple background pops far more than another purple would. */
.btn-store {
  background: var(--miel); color: var(--ink);
  box-shadow: 0 16px 36px -14px rgba(0,0,0,.45);
  font-size: 1.02rem;
}
.btn-store:hover {
  background: #F0C04A;
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -14px rgba(0,0,0,.5);
}
.store-icon { width: 20px; height: 20px; flex-shrink: 0; }

.pickup-note { font-size: .85rem; color: rgba(250,243,230,.65); max-width: 48ch; }
.pickup-whatsapp-link { color: var(--miel); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.pickup-whatsapp-link:hover { color: #F0C04A; }

/* ------- Delivery as a secondary option (see section 17) -------
   Deliberately quieter than the pickup section: smaller cards, muted
   surface and a flat tint instead of the full brand colour, so the
   in-store path stays the visually dominant one. */
.delivery-secondary { padding-block: 4rem; background: var(--bg-2); }
.delivery-secondary .delivery-head { margin-bottom: 1.8rem; }
.delivery-secondary .delivery-head h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.delivery-secondary .delivery-head p { font-size: .95rem; }
.delivery-secondary .delivery-grid { gap: .9rem; }
.delivery-secondary .delivery-card {
  min-height: 0;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
  border-radius: var(--radius-sm);
  box-shadow: none;
}
.delivery-secondary .delivery-card:hover { transform: translateY(-3px); box-shadow: none; }
.delivery-secondary .delivery-name {
  font-family: var(--sans); font-weight: 700;
  font-size: 1.05rem; letter-spacing: 0;
}
.delivery-secondary .delivery-action { font-size: .82rem; font-weight: 600; opacity: .95; }

/* =============================================================
   20. Social proof — gallery + Google reviews
   ============================================================= */
.social { padding-block: 6rem; background: var(--bg-2); }
.social-head { max-width: 56ch; margin-bottom: 2.4rem; }
.social-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  color: var(--acai);
  margin-block: .8rem .6rem;
}
.social-head p { color: var(--ink-mute); font-size: 1.02rem; }

/* Gallery */
.social-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
  margin-bottom: 4rem;
}
@media (min-width: 900px) { .social-gallery { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.social-shot {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--arena);
}
.social-shot img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
  transition: transform .7s var(--ease-out);
}
.social-shot:hover img { transform: scale(1.06); }

/* Reviews */
.reviews-head {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: .6rem;
  margin-bottom: 1.6rem;
}
.reviews-head h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--acai);
}
.reviews-link {
  font-size: .88rem; font-weight: 600; color: var(--acai);
  border-bottom: 1px solid rgba(112,29,91,.3);
  padding-bottom: 1px;
}
.reviews-link:hover { border-bottom-color: var(--acai); }

.reviews-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px)  { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }

.review-card {
  display: flex; flex-direction: column; gap: .9rem;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}
.review-top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.review-stars { display: inline-flex; gap: .1rem; font-size: 1rem; line-height: 1; }
.star { color: var(--line); }
.star.is-on { color: #F5B301; }

/* Small Google wordmark, drawn with type so it needs no extra asset */
.g-logo { font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: .82rem; letter-spacing: -.02em; }
.g-b { color: #4285F4; } .g-r { color: #EA4335; } .g-y { color: #FBBC05; } .g-g { color: #34A853; }

.review-text { font-size: .95rem; line-height: 1.6; color: var(--ink-soft); flex: 1; }
.review-foot { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; }
.review-author { font-weight: 700; font-size: .9rem; color: var(--ink); }
.review-date { font-size: .8rem; color: var(--ink-mute); text-transform: capitalize; }
.reviews-fallback { color: var(--ink-mute); }
.reviews-fallback a { color: var(--acai); text-decoration: underline; }

/* =============================================================
   21. Very narrow phones (≤360px) — keep the nav inside the viewport
   On a 320px screen the brand + CTA + burger no longer fit at their
   default sizes and the burger was being pushed past the right edge.
   ============================================================= */
@media (max-width: 360px) {
  .nav-inner { padding-inline: .85rem; gap: .5rem; }
  .brand { font-size: 1.02rem; gap: .3rem; }
  .brand-mark { width: 28px; height: 28px; }
  .nav-actions { gap: .35rem; }
  .nav-actions .btn-sm { padding: .5rem .8rem; font-size: .76rem; }
  .nav-burger { width: 38px; height: 38px; }
  .container { padding-inline: 1rem; }
}

/* =============================================================
   22. Alianzas Terra — fondo morado, alterna con el arena de Carta/Opiniones
   ============================================================= */
.alliances {
  padding-block: 6.5rem;
  background: var(--amazonia-purpura);
  color: var(--bg);
}
.alliances-head { max-width: 56ch; margin-bottom: 2.6rem; }
.alliances .section-label { color: var(--miel); }
.alliances-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  color: var(--bg);
  margin-block: .8rem .6rem;
}
.alliances-head p { color: rgba(250,243,230,.75); font-size: 1.02rem; }

.alliances-kicker {
  font-family: var(--sans); font-weight: 700; font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(250,243,230,.55); margin-bottom: 1rem;
}

.alliance-grid { display: grid; gap: 1.4rem; }
@media (min-width: 780px) { .alliance-grid { grid-template-columns: repeat(2, 1fr); } }

.alliance-card {
  display: flex; flex-direction: column; gap: 1rem;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.9rem 1.8rem;
  text-align: left;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
a.alliance-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 50px -24px rgba(0,0,0,.4);
}
.alliance-top { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }

/* Fixed-height box keeps both partner lockups visually equal in weight,
   regardless of each logo's native proportions. */
.alliance-logo-box { display: flex; align-items: center; height: 32px; }

.alliance-logo-lockup { display: flex; align-items: center; gap: .55rem; }
.alliance-logo-mark { width: 30px; height: 30px; flex-shrink: 0; }
.alliance-logo-classpass {
  font-family: var(--sans); font-weight: 800; font-size: 1.55rem;
  color: #1F4BDC; letter-spacing: -.01em;
}
.alliance-logo-box-banks { gap: 0; max-width: 100%; }
.alliance-logo-group { display: flex; align-items: center; gap: .7rem; height: 100%; max-width: 100%; }
.alliance-logo-img { height: 100%; max-height: 32px; width: auto; display: block; flex-shrink: 1; min-width: 0; object-fit: contain; }
.alliance-logo-bice { padding-block: 4px; }
.alliance-logo-security { border-radius: 3px; }
.alliance-logo-plus { font-size: 1rem; color: var(--ink-mute); opacity: .5; font-weight: 300; flex-shrink: 0; }

/* Two wide logos + a divider don't fit one row on narrow cards — stack
   them instead of letting Security's logo overflow the card edge. */
@media (max-width: 480px) {
  .alliance-logo-box, .alliance-logo-box-banks { height: auto; }
  .alliance-logo-group { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .alliance-logo-plus { display: none; }
  .alliance-logo-img { max-height: 26px; flex-shrink: 0; }
}

.alliance-badge {
  font-family: var(--sans); font-weight: 700; font-size: .76rem;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--selva); background: rgba(45,137,76,.12);
  padding: .35rem .7rem; border-radius: 999px; white-space: nowrap;
}
.alliance-badge-gold { color: #92650A; background: rgba(227,167,32,.18); }

.alliance-title { font-family: var(--accent-font); font-size: 1.3rem; color: var(--ink); }
.alliance-desc { font-size: .95rem; color: var(--ink-mute); }

.alliance-conditions { display: flex; flex-direction: column; gap: .4rem; margin-top: -.2rem; }
.alliance-conditions li {
  font-size: .86rem; color: var(--ink-mute); padding-left: 1.1rem; position: relative;
}
.alliance-conditions li::before {
  content: "✓"; position: absolute; left: 0; color: var(--selva); font-weight: 700;
}

.alliance-cta {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 700; font-size: .92rem; color: var(--acai);
  margin-top: auto; padding-top: .4rem;
}
.alliance-arrow { transition: transform .3s var(--ease-out); }
a.alliance-card:hover .alliance-arrow { transform: translate(3px,-3px); }

/* Static equivalent of .alliance-cta for the bank card, which has no link —
   keeps both cards the same visual weight/height instead of one just stopping short. */
.alliance-cta-static { color: var(--ink-mute); font-weight: 600; }

.alliance-card-banks { justify-content: flex-start; }

/* Divider between the permanent alliances and the weekly calendar, so the
   two ideas ("always on" vs "different each day") don't read as one list. */
.alliances-divider {
  display: flex; align-items: center; gap: 1rem;
  margin: 3.6rem 0 2.4rem; color: rgba(250,243,230,.55);
}
.alliances-divider::before, .alliances-divider::after {
  content: ""; flex: 1; height: 1px; background: rgba(250,243,230,.2);
}
.alliances-divider span {
  font-family: var(--sans); font-weight: 700; font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}

/* =============================================================
   23. Semana Terra — calendario de promos dentro de Alianzas
   ============================================================= */
.week-head { margin-bottom: 1.6rem; }
.week-head h3 {
  font-family: var(--accent-font); font-weight: 600;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem); color: var(--bg);
  margin-bottom: .35rem;
}
.week-head p { color: rgba(250,243,230,.6); font-size: .9rem; }

.week-grid { display: grid; gap: 1rem; margin-bottom: 1rem; grid-template-columns: 1fr; }
@media (min-width: 480px) { .week-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .week-grid { grid-template-columns: repeat(4, 1fr); } }

.week-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-top: 3px solid var(--week-accent, var(--miel));
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.2rem;
  display: flex; flex-direction: column; gap: .35rem;
  box-shadow: 0 14px 30px -22px rgba(35,20,33,.25);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.week-card:hover { transform: translateY(-3px); box-shadow: 0 20px 38px -22px rgba(35,20,33,.32); }

.week-card-mon { --week-accent: var(--papaya); }
.week-card-tue { --week-accent: var(--acai); }
.week-card-wed { --week-accent: #336298; }
.week-card-thu { --week-accent: var(--selva); }

.week-card-top { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; margin-bottom: .2rem; }
.week-day {
  font-family: var(--sans); font-weight: 700; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .08em; color: var(--week-accent, var(--miel));
}
.week-badge {
  font-family: var(--accent-font); font-weight: 600; font-size: 1.1rem;
  color: var(--ink);
}
.week-card h4 { font-family: var(--accent-font); font-size: 1.05rem; color: var(--ink); }
.week-offer { font-size: .88rem; color: var(--ink-soft); }
.week-note { font-size: .76rem; color: var(--ink-mute); }

.week-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--miel);
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.5rem;
  box-shadow: 0 14px 30px -22px rgba(35,20,33,.25);
}
.week-banner-icon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(227,167,32,.15); color: var(--miel);
}
.week-banner-icon svg { width: 20px; height: 20px; }
.week-banner-copy { display: flex; flex-direction: column; gap: .3rem; flex: 1; min-width: 200px; }
.week-day-banner { color: var(--miel); }
.week-banner h4 { font-family: var(--accent-font); font-size: 1.1rem; color: var(--ink); }
.week-banner .week-offer { max-width: 46ch; color: var(--ink-soft); }
.week-note-banner { font-weight: 700; color: var(--acai); white-space: nowrap; margin-left: auto; }

/* =============================================================
   24. Página 404
   ============================================================= */
.error-page {
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 6rem;
  background: var(--bg);
  min-height: 70vh;
}
.error-page-inner {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: .6rem; max-width: 46ch; margin-inline: auto;
}
.error-code {
  font-family: var(--accent-font);
  font-size: clamp(4.5rem, 14vw, 8rem);
  line-height: 1; color: var(--arena);
  -webkit-text-stroke: 2px var(--acai);
}
.error-page h1 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  color: var(--acai); margin-top: .8rem;
}
.error-page p { color: var(--ink-mute); font-size: 1.02rem; margin-top: .5rem; }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }
