@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ── Tokens ── */
:root {
  --orange:        #D10621;
  --orange-light:  #FA0030;
  --orange-pale:   #FEE8E9;
  --orange-dark:   #A70505;

  --white:         #FAFAF8;
  --gray-50:       #F4F4F2;
  --gray-100:      #E8E8E5;
  --gray-200:      #D0D0CB;
  --gray-400:      #9A9A94;
  --gray-600:      #5A5A54;
  --gray-800:      #2E2E2A;
  --black:         #1A1A18;

  --gold:          oklch(72% 0.14 75);
  --green-wa:      #25D366;

  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     28px;

  --shadow-sm:     0 1px 4px rgba(0,0,0,.06), 0 0 1px rgba(0,0,0,.04);
  --shadow-md:     0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  --shadow-lg:     0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
  --shadow-orange: 0 8px 24px rgba(209,6,33,0.28);

  --font: 'Plus Jakarta Sans', system-ui, sans-serif;

  --container: 1200px;
  --gap: 24px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: var(--font); cursor: pointer; border: none; }
input, select, textarea { font-family: var(--font); }

/* ── Layout ── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,248,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-100);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -.02em;
  color: var(--black);
}
.logo-mark {
  width: 34px; height: 34px;
  background: var(--orange);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: -.03em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.site-nav a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color .2s;
}
.site-nav a:hover { color: var(--black); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-size: .9rem;
  font-weight: 600;
  transition: all .18s ease;
  line-height: 1;
}
.btn-primary {
  background: var(--orange);
  color: white;
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(209,6,33,0.36);
}
.btn-secondary {
  background: var(--gray-50);
  color: var(--gray-800);
  border: 1px solid var(--gray-100);
}
.btn-secondary:hover {
  background: var(--gray-100);
  transform: translateY(-1px);
}
.btn-whatsapp {
  background: var(--green-wa);
  color: white;
}
.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-1px);
}
.btn-maps {
  background: white;
  color: var(--gray-800);
  border: 1.5px solid var(--gray-200);
}
.btn-maps:hover {
  border-color: var(--gray-400);
  background: var(--gray-50);
}
.btn-lg { padding: 15px 28px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 8px 16px; font-size: .8rem; border-radius: var(--radius-sm); }

/* ── Badge Verificado ── */
.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, rgba(209,6,33,.1), rgba(209,6,33,.05));
  border: 1px solid rgba(209,6,33,.25);
  color: #A70505;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.badge-verified svg { width: 12px; height: 12px; }

/* ── Tags ── */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  background: var(--gray-50);
  color: var(--gray-600);
  border: 1px solid var(--gray-100);
}
.tag-brand {
  background: var(--orange-pale);
  color: var(--orange-dark);
  border-color: rgba(209,6,33,.2);
}

/* ── Stars ── */
.stars {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .85rem;
}
.star-filled { color: var(--gold); }
.stars-count { color: var(--gray-400); font-size: .8rem; }

/* ── Store Card ── */
.store-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all .22s ease;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.store-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-200);
}
.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
}
.card-location {
  font-size: .8rem;
  color: var(--gray-400);
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.card-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.card-actions .btn {
  flex: 1;
  justify-content: center;
  font-size: .8rem;
  padding: 9px 12px;
}

/* ── Section headers ── */
.section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
  color: var(--black);
}
.section-subtitle {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 520px;
}

/* ── Divider ── */
.divider {
  width: 48px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin: 16px 0;
}

/* ── Footer ── */
.site-footer {
  background: var(--black);
  color: white;
  padding: 48px 0 32px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand .logo { color: white; }
.footer-brand .logo-mark { background: var(--orange); }
.footer-tagline {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  max-width: 320px;
  margin-top: 12px;
  line-height: 1.7;
}
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  font-weight: 500;
  transition: color .2s;
}
.footer-links a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.modal-overlay.visible {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px);
  transition: transform .3s ease;
}
.modal-overlay.visible .modal { transform: translateY(0); }
.modal-icon {
  width: 64px; height: 64px;
  background: var(--orange-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}
.modal-title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
.modal-text {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 28px;
}
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal-actions .btn { justify-content: center; }

/* ── Search bar ── */
.search-bar {
  display: flex;
  background: white;
  border-radius: var(--radius-lg);
  padding: 6px;
  gap: 4px;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--gray-100);
  max-width: 780px;
  width: 100%;
}
.search-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px 16px;
  min-width: 0;
}
.search-field label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 3px;
}
.search-field input,
.search-field select {
  border: none;
  outline: none;
  font-size: .9rem;
  font-weight: 500;
  color: var(--black);
  background: transparent;
  padding: 0;
  width: 100%;
}
.search-field select { cursor: pointer; }
.search-divider {
  width: 1px;
  background: var(--gray-100);
  margin: 8px 0;
}
.search-btn {
  background: var(--orange);
  color: white;
  border-radius: var(--radius-md);
  padding: 14px 24px;
  font-size: .9rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all .18s ease;
  flex-shrink: 0;
}
.search-btn:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .site-nav { display: none; }
  .search-bar {
    flex-direction: column;
    padding: 12px;
    gap: 0;
    border-radius: var(--radius-lg);
  }
  .search-field { padding: 10px 8px; }
  .search-divider { width: 100%; height: 1px; margin: 4px 0; }
  .search-btn { border-radius: var(--radius-md); padding: 14px; justify-content: center; }
  .section-title { font-size: 1.6rem; }
  .card-actions { flex-direction: column; }
}
