/* ══════════════════════════════════════════
   GOLD STAR COFFEE — Stylesheet (Light Theme)
   ══════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --bg-0:          #ffffff;
  --bg-1:          #fafaf8;
  --bg-2:          #f4f1ec;
  --bg-card:       #ffffff;
  --bg-card-2:     #f8f5f0;

  --green:         #275033;
  --green-light:   #2f6040;
  --green-dim:     rgba(39, 80, 51, 0.08);
  --green-border:  rgba(39, 80, 51, 0.25);

  --gold:          #A8843A;
  --gold-light:    #C8A050;
  --gold-dim:      rgba(168, 132, 58, 0.12);
  --gold-border:   rgba(168, 132, 58, 0.3);

  --white:         #ffffff;
  --text-1:        #1a0e06;
  --text-2:        #4a3a28;
  --text-3:        #8a7a68;
  --border:        rgba(0, 0, 0, 0.08);
  --shadow-sm:     0 2px 12px rgba(0,0,0,0.07);
  --shadow-md:     0 6px 28px rgba(0,0,0,0.10);
  --shadow-green:  0 6px 28px rgba(38,78,49,0.18);
  --shadow-gold:   0 6px 28px rgba(197,160,89,0.18);

  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-0);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; color: var(--text-1); }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { color: var(--text-2); font-size: 1rem; font-weight: 300; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 110px 0; position: relative; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-sub { margin-top: 1rem; font-size: 1.05rem; color: var(--text-3); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1a0e06;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(168,132,58,0.35);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(168,132,58,0.45);
}

.btn-outline {
  border: 1.5px solid var(--green-border);
  color: var(--green);
}
.btn-outline:hover {
  border-color: var(--green);
  background: var(--green-dim);
  transform: translateY(-2px);
}

.btn-tier {
  width: 100%;
  justify-content: center;
  border: 1.5px solid var(--border);
  color: var(--text-3);
  border-radius: 50px;
  padding: 0.7rem 1.5rem;
  font-size: 0.85rem;
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════
   HEADER / NAV
   ══════════════════════════════════════════ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #275033;
  border-bottom: 1px solid rgba(201,168,76,0.18);
  transition: box-shadow 0.3s ease;
}
#header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.45);
}

.navbar {
  display: flex;
  align-items: center;
  gap: 0;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 2rem;
}

.logo-img {
  display: block;
  object-fit: contain;
  filter: none;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-logo:hover .logo-img { transform: scale(1.05); opacity: 0.88; }
.nav-logo-img  { height: 52px; width: auto; }
.footer-logo-img { height: 80px; width: auto; margin-bottom: 0.5rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  margin-right: auto;
}
.nav-link {
  padding: 0.45rem 1.1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.88);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 50px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav-link:hover { background: rgba(255,255,255,0.08); color: #ffffff; }
.nav-link.active { color: var(--gold); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-store-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  padding: 0.4rem 0.75rem;
  border-radius: 50px;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.nav-store-link:hover { background: rgba(255,255,255,0.08); color: #ffffff; }
.nav-store-link svg { flex-shrink: 0; }

.lang-btn {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.75);
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 20px;
  padding: 0.3rem 0.7rem;
  transition: var(--transition);
}
.lang-btn:hover { color: #fff; border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.08); }

.signin-wrap { display: contents; }

.btn-signin {
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.65);
  background: transparent;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-signin:hover { background: rgba(255,255,255,0.10); border-color: #fff; }
.btn-signin.btn-user-account { border-color: var(--gold); color: var(--gold); }
.btn-signin.btn-user-account:hover { background: rgba(201,168,76,0.12); }
.btn-signin .signin-points { color: var(--gold); font-weight: 700; margin-left: 0.35rem; }

.btn-unete {
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  border: 1.5px solid var(--gold);
  background: var(--gold);
  color: #1a0e06;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-unete:hover { background: #e0bc5a; border-color: #e0bc5a; }

/* ── Modal de autenticación (login / registro) ─────────────────── */
.auth-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
.auth-tab-btn {
  flex: 1; padding: 0.6rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--green-border); background: transparent;
  color: var(--text-2); font-size: 0.9rem; cursor: pointer; transition: var(--transition);
}
.auth-tab-btn.active { background: var(--green); color: #fff; border-color: var(--green); }
.form-group { margin-bottom: 1.1rem; }
.form-label { display: block; font-size: 0.82rem; color: var(--text-2); margin-bottom: 0.35rem; }
.form-row { display: flex; gap: 0.6rem; }
.form-row .form-group { flex: 1; }
.auth-modal input, .auth-modal select {
  width: 100%; padding: 0.7rem 0.9rem; border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-sm); font-size: 0.95rem; font-family: inherit; transition: var(--transition);
}
.auth-modal input:focus, .auth-modal select:focus { outline: none; border-color: var(--green); }
.auth-submit { width: 100%; margin-top: 0.4rem; }
.auth-forgot { display: block; text-align: center; margin-top: 1rem; font-size: 0.85rem; color: var(--text-2); text-decoration: underline; cursor: pointer; }
.auth-points-display { text-align: center; padding: 1.5rem 0; }
.auth-points-display .points-num { font-family: 'Playfair Display', serif; font-size: 2.4rem; color: var(--gold); display: block; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer { display: none; }

.mobile-drawer ul { display: flex; flex-direction: column; gap: 0; }
.mobile-drawer a {
  display: block;
  padding: 0.85rem 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.mobile-drawer a:hover { color: var(--gold); }
.mobile-drawer .mobile-drawer-auth { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.mobile-drawer .lang-btn { margin-top: 1.25rem; align-self: flex-start; }

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
  background: linear-gradient(135deg, #f8f5f0 0%, #eef5f0 50%, #f4f1ec 100%);
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.orb-1 {
  width: 600px; height: 600px;
  background: rgba(38,78,49,0.10);
  top: -100px; left: -150px;
}
.orb-2 {
  width: 420px; height: 420px;
  background: rgba(197,160,89,0.10);
  bottom: -50px; right: 20%;
}
.orb-3 {
  width: 320px; height: 320px;
  background: rgba(38,78,49,0.07);
  top: 20%; right: 5%;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding-top: 80px;
  min-height: 100vh;
}

.hero-content { z-index: 1; }

.hero-title {
  margin: 1rem 0 1.5rem;
  color: var(--text-1);
  letter-spacing: -0.02em;
}
.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  color: var(--text-2);
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* CSS Coffee Cup */
.hero-cup-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cup-glow {
  position: absolute;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(38,78,49,0.12) 0%, rgba(197,160,89,0.08) 50%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50%       { transform: scale(1.1); opacity: 1; }
}

.hero-cup {
  position: relative; /* anchor for .cup-handle absolute positioning */
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.steam-group {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  margin-bottom: 8px;
  height: 60px;
}
.steam {
  width: 7px;
  border-radius: 10px;
  background: linear-gradient(to top, rgba(80,55,35,0.45), transparent);
  animation: steam-rise 2.4s ease-in-out infinite;
}
.s1 { height: 30px; animation-delay: 0s; }
.s2 { height: 45px; animation-delay: 0.4s; }
.s3 { height: 25px; animation-delay: 0.8s; }

@keyframes steam-rise {
  0%   { transform: translateY(0) scaleX(1);    opacity: 0; }
  20%  { opacity: 0.7; }
  100% { transform: translateY(-50px) scaleX(0.3); opacity: 0; }
}

.cup-body {
  width: 160px;
  height: 170px;
  background: linear-gradient(160deg, var(--green-light) 0%, var(--green) 60%, #16331f 100%);
  border-radius: 8px 8px 40px 40px;
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(26,14,6,0.2), 0 4px 12px rgba(26,14,6,0.15);
}
.cup-liquid {
  position: absolute;
  top: 0; left: 8px; right: 8px;
  height: 40px;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, #b8893e 0%, #7b3a10 60%, #3a1505 100%);
  border-radius: 50%;
}
.cup-logo-mark {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.5rem;
  color: rgba(197,160,89,0.85);
  font-family: 'Playfair Display', serif;
}
.cup-shine {
  position: absolute;
  top: 0; left: 0;
  width: 35%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0.06), transparent);
}

.cup-handle {
  position: absolute;
  /* cup-body starts at ~68px (steam 60px + gap 8px).
     Place handle at ~25% down the 170px cup body → 68 + 42 = 110px */
  top: 110px;
  /* hero-cup is ~200px wide (saucer). Cup-body right edge = (200+160)/2 = 180px.
     Handle right edge extends 20px beyond container → right: -20px */
  right: -20px;
  width: 40px;
  height: 62px;
  border: 14px solid var(--green);
  border-left: none;
  border-radius: 0 24px 24px 0;
  box-shadow: 4px 2px 10px rgba(0,0,0,0.25);
}

.cup-base {
  width: 130px; height: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 4px;
  margin-top: -2px;
  box-shadow: 0 4px 12px rgba(26,14,6,0.15);
}
.cup-saucer {
  width: 200px; height: 18px;
  background: linear-gradient(160deg, #c8b898, #e8dfc8);
  border-radius: 50%;
  margin-top: 4px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-3);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1.5px;
  height: 40px;
  background: linear-gradient(to bottom, var(--green), transparent);
  animation: scroll-pulse 1.8s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

/* ══════════════════════════════════════════
   STATS STRIP
   ══════════════════════════════════════════ */
.stats-strip {
  background: var(--green);
  padding: 2.8rem 0;
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0) 60%);
  pointer-events: none;
}
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(197,160,89,0.3);
}
.stat-item span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.06em;
  font-weight: 400;
}
.stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.2);
}

/* ══════════════════════════════════════════
   MENU
   ══════════════════════════════════════════ */
#menu { background: var(--bg-1); }

.menu-tabs-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 3rem;
}
.menu-tabs-wrap::-webkit-scrollbar { display: none; }

/* Degradado en el borde por el que aún queda contenido: sin barra de scroll
   visible, es la única pista de que hay más pestañas. Las clases las pone
   _wireScrollHints() en main.js según la posición real del scroll. */
.menu-tabs-wrap.fade-right:not(.fade-left),
.menu-sub-tabs.fade-right:not(.fade-left) {
  -webkit-mask-image: linear-gradient(to right, #000 88%, transparent 100%);
          mask-image: linear-gradient(to right, #000 88%, transparent 100%);
}
.menu-tabs-wrap.fade-left:not(.fade-right),
.menu-sub-tabs.fade-left:not(.fade-right) {
  -webkit-mask-image: linear-gradient(to left, #000 88%, transparent 100%);
          mask-image: linear-gradient(to left, #000 88%, transparent 100%);
}
.menu-tabs-wrap.fade-left.fade-right,
.menu-sub-tabs.fade-left.fade-right {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}

/* En escritorio las pestañas se acomodan en varias filas: todas quedan
   visibles y alcanzables con el ratón. El scroll horizontal se reserva para
   móvil, donde el deslizamiento táctil sí es natural (ver @media 768px).
   Ojo: aquí NO debe ir min-width:max-content — obliga al contenedor a ocupar
   el ancho de una sola línea y anula por completo el flex-wrap. */
.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0 0.25rem;
}
.tab-btn {
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-3);
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.tab-btn:hover {
  color: var(--green);
  border-color: var(--green-border);
  background: var(--green-dim);
}
.tab-btn.active {
  color: #ffffff;
  border-color: var(--green);
  background: linear-gradient(135deg, var(--green), var(--green-light));
  box-shadow: 0 4px 18px rgba(38,78,49,0.35);
}
.tab-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* ── Subcategorías ──────────────────────────────────────────── */

/* Línea divisoria entre tabs padre y caja de subcategorías */
.menu-sub-tabs-divider {
  display: flex;
  align-items: center;
  margin: 0.5rem 0 1.25rem;
}
.menu-sub-tabs-divider::before {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--green-border), transparent);
}

.menu-sub-tabs {
  display: flex;
  justify-content: flex-start;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid var(--green-border);
  box-shadow: 0 2px 16px rgba(38,78,49,0.07), inset 0 1px 3px rgba(38,78,49,0.03);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.menu-sub-tabs::-webkit-scrollbar { display: none; }
.sub-tab-btn {
  padding: 0.45rem 1.15rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--green);
  border: 1.5px solid var(--green-border);
  background: var(--bg-1);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.sub-tab-btn:hover {
  background: var(--green-dim);
  border-color: var(--green);
}
.sub-tab-btn.active {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 3px 12px rgba(38,78,49,0.28);
}

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

.menu-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-green);
}

.card-img {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--bg-card) 100%);
}

.card-body { padding: 1.25rem 1.5rem 1.5rem; }
.card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 0.4rem;
}
.card-desc { font-size: 0.85rem; color: var(--text-3); line-height: 1.5; margin-bottom: 1.2rem; }
.card-footer { display: flex; align-items: center; justify-content: space-between; }
.card-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-light);
}
.card-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green-dim);
  border: 1.5px solid var(--green-border);
  color: var(--green);
  font-size: 1.2rem;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.card-btn:hover {
  background: var(--green);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(38,78,49,0.35);
}

/* ══════════════════════════════════════════
   REWARDS
   ══════════════════════════════════════════ */
#rewards {
  background: var(--bg-2);
  overflow: hidden;
}
.rewards-bg-orb {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(38,78,49,0.06), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ── Redeem tabs (estilo Starbucks) ── */
.redeem-section { margin-top: 3rem; }

.redeem-box {
  background: #f0ebe3;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.redeem-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  color: #1a3322;
  text-align: center;
  padding: 2rem 1.5rem 1.25rem;
  margin: 0;
  font-weight: 700;
}

/* Tab strip */
.redeem-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 0 1.5rem;
  border-bottom: 2px solid rgba(0,0,0,0.08);
  overflow-x: auto;
  scrollbar-width: none;
}
.redeem-tabs::-webkit-scrollbar { display: none; }

.rdm-tab {
  flex-shrink: 0;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 0.65rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #5a4a3a;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s;
  white-space: nowrap;
}
.rdm-tab:hover { color: #1a3322; }
.rdm-tab.active { color: #1a3322; border-bottom-color: var(--green); }

/* Panels */
.redeem-panels { background: #e8e2d9; }

.rdm-panel {
  display: none;
  align-items: center;
  gap: 3rem;
  padding: 3rem 3.5rem;
  min-height: 240px;
}
.rdm-panel.active { display: flex; }

/* Visual side */
.rdm-visual {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
}
.rdm-emoji-group {
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
}
.rdm-cup      { font-size: 5rem;  line-height: 1; filter: drop-shadow(0 6px 16px rgba(0,0,0,0.18)); }
.rdm-cup-sm   { font-size: 3.2rem; }
.rdm-img      { max-height: 200px; max-width: 100%; object-fit: contain; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.18)); }

/* Description side */
.rdm-desc { flex: 1; }
.rdm-desc p {
  font-size: 1.05rem;
  color: #3a2e22;
  line-height: 1.65;
  margin: 0;
  text-align: center;
}

@media (max-width: 640px) {
  .rdm-panel { flex-direction: column; gap: 1.5rem; padding: 2rem 1.5rem; min-height: auto; }
  .rdm-visual { width: auto; }
  .rdm-cup    { font-size: 3.5rem; }
  .rdm-cup-sm { font-size: 2.2rem; }
  .rdm-desc p { font-size: 0.95rem; }
  .rdm-tab    { padding: 0.65rem 0.75rem; font-size: 0.85rem; }
}

/* Promo Banner */
.promo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(135deg, var(--green) 0%, #1a3d22 100%);
  border-radius: 20px;
  padding: 3rem 3.5rem;
  margin: 4rem 0;
  color: #fff;
}
.promo-banner .eyebrow { color: var(--gold); opacity: 1; }
.promo-banner h3 { color: #fff; margin: 0.5rem 0; font-size: clamp(1.4rem, 3vw, 2rem); }
.promo-banner p { color: rgba(255,255,255,0.8); margin: 0; }
.promo-banner-text { flex: 1; }
.promo-banner .btn-gold { flex-shrink: 0; white-space: nowrap; }

@media (max-width: 640px) {
  .promo-banner { flex-direction: column; align-items: flex-start; padding: 2rem; }
  .promo-banner .btn-gold { width: 100%; text-align: center; }
}

.how-it-works { margin-bottom: 80px; }
.how-it-works h3 { text-align: center; margin-bottom: 3rem; }

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.step:hover {
  border-color: var(--green-border);
  box-shadow: var(--shadow-green);
  transform: translateY(-3px);
}
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.step-icon { font-size: 2rem; margin-bottom: 1rem; }
.step h4 { color: var(--text-1); margin-bottom: 0.5rem; }
.step p  { font-size: 0.88rem; color: var(--text-3); line-height: 1.6; }

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  padding-top: 4rem;
  flex-shrink: 0;
}
.step-connector::before {
  content: '';
  display: block;
  width: 40px;
  height: 1.5px;
  background: linear-gradient(to right, var(--green-border), transparent);
}
.step-connector::after {
  content: '›';
  color: var(--green);
  font-size: 1.5rem;
  margin-left: -6px;
}

/* Tiers */
.tiers h3 { text-align: center; margin-bottom: 3rem; }
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.tier-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 14px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(38,78,49,0.4);
}
.featured-tier {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green), var(--shadow-green);
  background: linear-gradient(180deg, rgba(38,78,49,0.04) 0%, var(--bg-card) 100%);
}

.tier-icon-wrap { font-size: 2.5rem; margin-bottom: 0.75rem; }
.tier-name { font-size: 1.4rem; color: var(--green); margin-bottom: 0.25rem; }
.tier-range { font-size: 0.82rem; color: var(--text-3); margin-bottom: 1.5rem; }

.tier-perks {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.tier-perks li {
  font-size: 0.85rem;
  color: var(--text-2);
  padding-left: 1.2rem;
  position: relative;
}
.tier-perks li::before {
  content: '★';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.65rem;
  top: 2px;
}

/* ══════════════════════════════════════════
   LOCATIONS
   ══════════════════════════════════════════ */
#locations { background: var(--bg-1); }

.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  gap: 1.5rem;
  align-items: stretch;
}

.location-map {
  height: 100%;
  min-height: 480px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
  display: block;
}

.location-card {
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.location-card:hover {
  border-color: var(--green-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-green);
}

.location-pin-wrap {
  height: 140px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f0ea, #d4e8da);
}
.location-pin-bg {
  position: absolute;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(38,78,49,0.25), transparent 70%);
  animation: pulse-glow 3s ease-in-out infinite;
}
.location-pin-icon {
  font-size: 2.5rem;
  z-index: 1;
  filter: drop-shadow(0 4px 8px rgba(38,78,49,0.3));
}

.location-info { padding: 1.5rem; }
.location-info h3 { font-size: 1.15rem; color: var(--text-1); margin-bottom: 0.4rem; }
.loc-addr { font-size: 0.85rem; color: var(--text-3); margin-bottom: 1rem; }

.loc-hours {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: var(--bg-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.hours-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.2rem;
}
.loc-hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.loc-hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
}
.loc-day  { color: var(--text-1); font-weight: 600; }
.loc-time { color: var(--text-2); text-align: right; }

.loc-phone {
  font-size: 0.85rem;
  color: var(--green-light);
  font-weight: 500;
  transition: color var(--transition);
}
.loc-phone:hover { color: var(--green); }

.loc-social-links { display: flex; gap: 0.6rem; margin-top: 0.75rem; }
.loc-social-link {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--green-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  transition: var(--transition);
}
.loc-social-link svg { width: 16px; height: 16px; }
.loc-social-link:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* ══════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════ */
#about {
  background: var(--bg-2);
  overflow: hidden;
}
.about-bg-orb {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(38,78,49,0.06), transparent 70%);
  top: 0; right: -200px;
  pointer-events: none;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
}

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}
.about-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--green-border);
}
.ring-outer { width: 340px; height: 340px; animation: rotate-ring 30s linear infinite; }
.ring-mid   { width: 260px; height: 260px; animation: rotate-ring 20s linear infinite reverse; }
.ring-inner { width: 180px; height: 180px; border-color: rgba(38,78,49,0.4); }

@keyframes rotate-ring {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.about-star-center {
  font-size: 4rem;
  color: var(--gold);
  position: relative;
  z-index: 1;
  animation: pulse-glow 3s ease-in-out infinite;
}
.about-quote {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--text-3);
}

.about-text h2 { color: var(--text-1); margin: 0.75rem 0 1.5rem; }
.about-text p  { margin-bottom: 1.25rem; line-height: 1.8; }

.about-values {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.value-item:hover {
  border-color: var(--green-border);
  background: linear-gradient(135deg, rgba(38,78,49,0.04), var(--bg-card));
  box-shadow: var(--shadow-green);
}
.value-icon { font-size: 1.4rem; flex-shrink: 0; line-height: 1.4; }
.value-item h4 { color: var(--text-1); margin-bottom: 0.2rem; }
.value-item p  { font-size: 0.85rem; line-height: 1.5; margin: 0; }

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
#footer {
  background: var(--green);
  color: rgba(255,255,255,0.9);
  padding-top: 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  align-items: start;
}

/* Brand column: logo inline + tagline + social */
.footer-brand { display: flex; flex-direction: column; gap: 0.75rem; }

.footer-brand-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-brand-top img { height: 32px; width: auto; }
.footer-brand-top span {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.footer-brand p {
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.social-links { display: flex; gap: 0.5rem; margin-top: 0.25rem; }
.social-link {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.social-link svg { width: 14px; height: 14px; }
.social-link:hover {
  border-color: rgba(255,255,255,0.55);
  color: #ffffff;
  background: rgba(255,255,255,0.1);
}

.footer-col h5 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.45rem; }
.footer-col a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-col span { font-size: 0.82rem; color: rgba(255,255,255,0.65); }
.footer-col a:hover { color: #ffffff; }

.link-disabled { pointer-events: none; }
.soon-tag {
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 600;
  background: rgba(197,160,89,0.2);
  color: var(--gold);
  padding: 1px 6px;
  border-radius: 20px;
  border: 1px solid rgba(197,160,89,0.35);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1rem 0;
  margin-top: 0.5rem;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a { font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.footer-legal a:hover { color: rgba(255,255,255,0.8); }

/* ══════════════════════════════════════════
   ODOO CARDS & STATES
   ══════════════════════════════════════════ */

/* Tarjeta de Odoo — toda la card es un enlace */
a.odoo-card {
  text-decoration: none;
  color: inherit;
  display: block;
}
a.odoo-card:hover {
  transform: translateY(-6px);
  border-color: var(--green-border);
  box-shadow: var(--shadow-green);
}

/* Imagen real de Odoo */
.card-img-odoo {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0ede8, #e8e4dc);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-img-real {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 8px;
  transition: transform var(--transition);
}
a.odoo-card:hover .card-img-real { transform: scale(1.04); }

.card-img-emoji {
  font-size: 3.5rem;
  opacity: 0.6;
}
.card-img-placeholder { font-size: 3rem; color: var(--text-3); }

/* Subcategoría en card */
.card-cat {
  font-size: 0.72rem;
  color: var(--green-light);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  margin-top: -0.2rem;
}

/* Cards clickeables (no link) */
div.odoo-card { cursor: pointer; }
div.odoo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* Badge "Personalizable" */
.card-custom-badge {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--gold-light);
  background: rgba(197,160,89,0.12);
  border: 1px solid rgba(197,160,89,0.3);
  padding: 0.18rem 0.55rem;
  border-radius: 50px;
  white-space: nowrap;
}

/* ══ MODAL DE PRODUCTO ══════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,8,3,0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(6px);
  animation: fadeIn 0.18s ease;
}
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }

.modal-card {
  background: #fff;
  border-radius: 22px;
  max-width: 520px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 1.75rem 1.75rem 1.5rem;
  position: relative;
  box-shadow: 0 24px 70px rgba(0,0,0,0.22);
  animation: slideUp 0.22s cubic-bezier(.34,1.3,.64,1);
}
@keyframes slideUp { from { transform: translateY(24px); opacity: 0 } to { transform: translateY(0); opacity: 1 } }

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--bg-2);
  color: var(--text-2);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: var(--border); }

/* ── Auth: pantalla completa (login/registro/cuenta) ───────────── */
.auth-fullscreen {
  position: fixed;
  inset: 0;
  background: var(--bg-0);
  z-index: 9999;
  overflow-y: auto;
  animation: fadeIn 0.18s ease;
}
.auth-fullscreen-inner {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.25rem 3rem;
}
.auth-fullscreen-card {
  max-width: 420px;
  width: 100%;
  animation: slideUp 0.22s cubic-bezier(.34,1.3,.64,1);
}
.auth-fullscreen-close {
  position: fixed;
  top: 1.25rem; right: 1.25rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--bg-2);
  color: var(--text-2);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.auth-fullscreen-close:hover { background: var(--border); }

.modal-img-wrap {
  width: 100%;
  height: 200px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #f0ede8, #e8e4dc);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 12px;
}

.modal-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0.3rem;
  padding-right: 2rem;
}
.modal-desc {
  font-size: 0.88rem;
  color: var(--text-3);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.modal-attrs { margin-top: 1.25rem; }

.modal-attr-group { margin-bottom: 1.25rem; }
.modal-attr-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.5rem;
}
.modal-attr-values { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.modal-attr-btn {
  padding: 0.38rem 0.9rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--bg-1);
  color: var(--text-2);
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.modal-attr-btn:hover   { border-color: var(--green); color: var(--green); }
.modal-attr-btn.active  { border-color: var(--green); background: var(--green-dim); color: var(--green); font-weight: 600; }
.modal-attr-extra       { font-size: 0.73rem; color: var(--gold); font-weight: 600; }

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 1.1rem;
  margin-top: 1.25rem;
}
.modal-price-label { font-size: 0.85rem; color: var(--text-3); font-weight: 500; }
.modal-price       { font-size: 1.5rem; font-weight: 700; color: var(--gold); }
.modal-price small { font-size: 0.7rem; color: var(--text-3); font-weight: 400; }

/* Spinner de carga */
.spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Banners de alerta */
.alert-box {
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.alert-warn {
  background: #fff8e1;
  border: 1px solid #f0c040;
  color: #7a5c00;
}
.alert-info {
  background: #e8f4fd;
  border: 1px solid #90cdf4;
  color: #1a4a6e;
}
.alert-box strong { display: block; margin-bottom: 0.4rem; font-size: 0.95rem; }
.alert-box p      { margin: 0.15rem 0; }

/* ── Footer simplificado (menu / rewards / locations) ─────────── */
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.75rem 0;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */

/* ── Tablet grande (1024px) ── */
@media (max-width: 1024px) {
  .tiers-grid    { grid-template-columns: 1fr 1fr; }
  .about-layout  { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual  { min-height: 280px; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .ring-outer    { width: 260px; height: 260px; }
  .ring-mid      { width: 200px; height: 200px; }
  .ring-inner    { width: 140px; height: 140px; }
}

/* ── Tablet (900px) ── */
@media (max-width: 900px) {
  .hero-layout    { grid-template-columns: 1fr; text-align: center; padding-top: 100px; padding-bottom: 3rem; min-height: auto; }
  .hero-cup-wrap  { display: none; }
  .hero-sub       { margin: 0 auto 2.5rem; }
  .hero-ctas      { justify-content: center; }
  .locations-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .steps-grid     { grid-template-columns: 1fr; gap: 1rem; }
  .step-connector { display: none; }
  .tiers-grid     { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .about-values   { gap: 1rem; }
}

/* ── Móvil (768px) ── */
@media (max-width: 768px) {
  section     { padding: 64px 0; }
  .container  { padding: 0 1.1rem; }

  /* Navbar */
  .nav-links, .nav-actions { display: none; }
  .hamburger  { display: flex; }
  .mobile-drawer {
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: #275033;
    padding: 0 1.1rem;
    transition: max-height 0.38s ease, opacity 0.3s ease, padding 0.3s ease;
  }
  .mobile-drawer.open {
    max-height: 520px;
    opacity: 1;
    padding: 1.25rem 1.1rem 1.75rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  /* Section header */
  .section-header { margin-bottom: 2.5rem; }
  .section-sub    { font-size: 0.95rem; }

  /* Stats */
  .stats-strip     { padding: 1.75rem 0; }
  .stats-grid      { flex-wrap: wrap; justify-content: center; gap: 1.25rem 2rem; }
  .stat-divider    { display: none; }
  .stat-num        { font-size: 2rem; }

  /* Tabs de menú — una sola fila con scroll horizontal (deslizamiento táctil).
     min-width:max-content es lo que hace que la fila se desborde en vez de
     encoger los botones; sin él, flex los comprimiría hasta cortar el texto. */
  .menu-tabs-wrap  { margin-bottom: 1.5rem; }
  .menu-tabs       { justify-content: flex-start; flex-wrap: nowrap; min-width: max-content; }
  .tab-btn         { font-size: 0.82rem; padding: 0.55rem 1.1rem; white-space: nowrap; }
  .sub-tab-btn     { font-size: 0.78rem; padding: 0.4rem 0.9rem; white-space: nowrap; }
  .menu-sub-tabs   { margin-bottom: 1.5rem; flex-wrap: nowrap; }
  .tab-btn, .sub-tab-btn { flex: 0 0 auto; }

  /* Grid de productos */
  .menu-grid       { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.85rem; }

  /* Rewards */
  .how-it-works    { margin-bottom: 2.5rem; }
  .tiers-grid      { grid-template-columns: 1fr; max-width: 100%; }

  /* Locations (en index.html) */
  .locations-grid  { grid-template-columns: 1fr; }
  .location-map    { min-height: 280px; }
  .location-map iframe { min-height: 280px; }

  /* About */
  .about-layout    { grid-template-columns: 1fr; gap: 2rem; }
  .about-visual    { min-height: 220px; }

  /* Footer completo */
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  #footer          { padding-top: 2rem; }

  /* Footer simplificado (menu / rewards / locations) */
  .footer-inner    { flex-direction: column; align-items: flex-start; gap: 0.5rem; }

  /* Auth modal — casi pantalla completa */
  .auth-fullscreen-inner { padding: 0; align-items: flex-end; }
  .auth-fullscreen-card  {
    width: 100%;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 92vh;
    overflow-y: auto;
  }
  .auth-fullscreen-close {
    top: 0.75rem;
    right: 1rem;
  }

  /* Modales de producto */
  .modal-overlay   { align-items: flex-end; }
  .modal-card      {
    width: 100%;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 88vh;
    overflow-y: auto;
    padding: 1.25rem 1rem;
  }
  .modal-close     { top: 0.75rem; right: 0.75rem; }

  /* Formularios */
  .form-row        { flex-direction: column; gap: 0; }
}

/* ── Móvil pequeño (480px) ── */
@media (max-width: 480px) {
  section         { padding: 52px 0; }
  .container      { padding: 0 0.9rem; }

  /* Hero */
  .hero-layout    { padding-top: 88px; }
  .hero-ctas      { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-scroll-hint { display: none; }

  /* Stats */
  .stat-item      { min-width: 45%; }

  /* Tabs */
  .tab-btn        { font-size: 0.78rem; padding: 0.5rem 0.9rem; }

  /* Grid de productos — 1 columna */
  .menu-grid      { grid-template-columns: 1fr; gap: 0.75rem; }
  .card-img       { height: 130px; }

  /* Steps */
  .steps-grid     { gap: 0.75rem; }
  .step           { padding: 1.25rem 1rem; }
  .step-num       { font-size: 2.2rem; }

  /* Tiers */
  .tiers-grid     { gap: 0.85rem; }
  .tier-card      { padding: 1.75rem 1.25rem; }

  /* About */
  .about-ring     { display: none; }
  .about-visual   { min-height: 120px; }
  .value-item     { flex-direction: row; align-items: flex-start; gap: 0.75rem; }

  /* Footer — columna única en pantallas muy pequeñas */
  .footer-grid          { grid-template-columns: 1fr; }
  .footer-brand-top span { white-space: normal; }
  .footer-bottom-inner  { flex-direction: column; align-items: flex-start; }
  .loc-hours-list li    { flex-direction: column; gap: 0.1rem; }
  .loc-time             { text-align: left; }

  /* Modales */
  .modal-card     { padding: 1rem 0.85rem; }
  .modal-name     { font-size: 1.15rem; }
  .modal-attr-values { gap: 0.4rem; }
  .modal-attr-btn { font-size: 0.8rem; padding: 0.4rem 0.75rem; }
}

/* ── Touch / hover fix ── */
@media (hover: none) {
  .menu-card:hover  { transform: none; }
  .btn-gold:hover   { transform: none; }
  .btn-outline:hover { transform: none; }
  .step:hover       { transform: none; }
}
