/* ============================================
   MEXGUIDE — styles.css
   Brand by Andy · Senior Designer / FE Dev
   ============================================ */

/* --- CSS VARIABLES / BRAND TOKENS --- */
:root {
  --color-cream:   #F5F0E8;
  --color-navy:    #1B2A4A;
  --color-purple:  #8B5CF6;
  --color-gold:    #C9A84C;
  --color-green:   #2E7D52;
  --color-coral:   #E85D4A;

  --color-coral-light:  #FDE8E6;
  --color-gold-light:   #FDF5E0;
  --color-purple-light: #EDE9FE;
  --color-navy-light:   #E8ECF4;

  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Lato', sans-serif;

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

  --shadow-card: 0 2px 12px rgba(27,42,74,.10);
  --shadow-hover: 0 6px 24px rgba(27,42,74,.18);

  --max-width: 1200px;
  --section-pad: 80px 24px;
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--color-cream);
  color: var(--color-navy);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* --- TYPOGRAPHY HELPERS --- */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.25; }
h2 { font-size: clamp(1.6rem, 4vw, 2rem); font-weight: 700; color: var(--color-navy); }
h3 { font-size: 1.1rem; font-weight: 700; color: var(--color-gold); font-family: var(--font-body); }
p  { font-size: 1rem; line-height: 1.75; margin-bottom: .75rem; }
strong { font-weight: 700; }

/* --- LAYOUT HELPERS --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-purple);
  margin-bottom: .5rem;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-navy);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}

.navbar__logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-cream);
  letter-spacing: .04em;
}
.navbar__logo span { color: var(--color-gold); }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.navbar__links a {
  color: rgba(245,240,232,.75);
  font-size: .875rem;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: color .2s;
}
.navbar__links a:hover { color: var(--color-gold); }

.navbar__cta {
  background: var(--color-purple);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  transition: background .2s, transform .15s !important;
}
.navbar__cta:hover { background: #7c3aed !important; transform: translateY(-1px); }

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.navbar__hamburger span {
  display: block; width: 24px; height: 2px; background: var(--color-cream); border-radius: 2px;
  transition: all .3s;
}
.navbar__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .navbar__hamburger { display: flex; }
  .navbar__nav {
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--color-navy);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  .navbar__nav.open { max-height: 400px; }
  .navbar__links {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 16px;
  }
  .navbar__links a { font-size: 1rem; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, #243659 60%, #2a1d4e 100%);
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 24px;
}

/* Decorative pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(139,92,246,.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(201,168,76,.14) 0%, transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--color-cream);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero__eyebrow {
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
}
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero__title em {
  font-style: normal;
  color: var(--color-gold);
}
.hero__tagline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(245,240,232,.8);
  margin-bottom: 2.5rem;
  max-width: 520px;
  line-height: 1.65;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: transform .15s, box-shadow .2s, background .2s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }

.btn--primary { background: var(--color-purple); color: #fff; }
.btn--primary:hover { background: #7c3aed; }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline:hover { border-color: var(--color-gold); color: var(--color-gold); }
.btn--download { background: var(--color-gold); color: var(--color-navy); border-color: var(--color-gold); margin-top: 20px; }
.btn--download:hover { background: #b8922e; border-color: #b8922e; color: var(--color-navy); }

/* ============================================
   PLACEHOLDER SECTIONS
   ============================================ */
.placeholder-section {
  padding: 80px 24px;
  background: var(--color-navy-light);
  border-top: 3px dashed var(--color-gold);
  border-bottom: 3px dashed var(--color-gold);
}
.placeholder-section.alt { background: var(--color-purple-light); border-color: var(--color-purple); }

.placeholder-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.placeholder-section__icon {
  font-size: 3rem;
  flex-shrink: 0;
  opacity: .5;
}
.placeholder-section__text h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-navy);
  margin-bottom: .25rem;
}
.placeholder-section__text p {
  font-size: .9rem;
  color: rgba(27,42,74,.6);
  margin: 0;
}
.placeholder-tag {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: .75rem;
}

/* ============================================
   GUIDE SECTION — outer wrapper
   ============================================ */
#guia {
  background: var(--color-cream);
  padding: 0;
}

.guide-header {
  background: var(--color-navy);
  padding: 72px 24px 64px;
  text-align: center;
}
.guide-header__eyebrow {
  font-family: var(--font-heading);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: .75rem;
}
.guide-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: .75rem;
}
.guide-header p {
  color: rgba(245,240,232,.75);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ============================================
   GUIDE TABS NAV
   ============================================ */
.guide-tabs-nav {
  background: var(--color-navy);
  position: sticky;
  top: 64px;
  z-index: 50;
  border-bottom: 2px solid rgba(255,255,255,.08);
}

.guide-tabs-nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 8px;
}
.guide-tabs-nav__inner::-webkit-scrollbar { display: none; }

.guide-tab-btn {
  flex-shrink: 0;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 16px 20px;
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 700;
  color: rgba(245,240,232,.55);
  cursor: pointer;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.guide-tab-btn:hover { color: var(--color-cream); }
.guide-tab-btn.active {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}

/* ============================================
   GUIDE TAB PANELS
   ============================================ */
.guide-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.guide-panel { display: none; }
.guide-panel.active { display: block; }

/* --- Section title bars (like h1 in the guide) --- */
.guide-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  background: var(--color-navy);
  color: #fff;
  padding: 20px 28px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin-bottom: 0;
  line-height: 1.2;
}

.guide-section-body {
  background: #fff;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 32px 28px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-card);
}

/* --- Headings inside panels --- */
.guide-panel h2 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-navy-light);
}
.guide-panel h2:first-child { margin-top: 0; }

.guide-panel h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-gold);
  margin: 24px 0 8px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.guide-panel p { font-size: 1rem; color: var(--color-navy); line-height: 1.75; margin-bottom: .75rem; }

.guide-panel ul, .guide-panel ol {
  margin: .5rem 0 1rem 1.25rem;
  color: var(--color-navy);
}
.guide-panel li { margin-bottom: .35rem; line-height: 1.65; }

/* --- Cards (places, restaurants, bars) --- */
.place-card {
  background: #fff;
  border-left: 4px solid var(--color-purple);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px;
  margin: 16px 0;
  box-shadow: var(--shadow-card);
  transition: box-shadow .2s, transform .15s;
}
.place-card:hover { box-shadow: var(--shadow-hover); transform: translateX(3px); }

.place-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-navy);
  margin-bottom: 4px;
}
.place-card__meta {
  font-size: .8rem;
  color: rgba(27,42,74,.55);
  margin-bottom: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.place-card__price {
  background: var(--color-gold-light);
  color: var(--color-navy);
  font-weight: 700;
  font-size: .75rem;
  padding: 2px 8px;
  border-radius: 99px;
  border: 1px solid var(--color-gold);
}
.place-card__desc { font-size: .9rem; color: var(--color-navy); margin: 0; line-height: 1.6; }

/* Card grids */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin: 16px 0 24px;
}

/* --- Badge pills --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 4px 12px;
  border-radius: 99px;
  white-space: nowrap;
}
.badge--explorer  { background: #E0F2FE; color: #0369A1; }
.badge--foodie    { background: #FEF3C7; color: #92400E; }
.badge--party     { background: #FCE7F3; color: #9D174D; }
.badge--culture   { background: #D1FAE5; color: #065F46; }

/* --- Alerts & tips --- */
.alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin: 16px 0;
  font-size: .9rem;
  line-height: 1.6;
}
.alert--warning { background: var(--color-coral-light); border-left: 4px solid var(--color-coral); }
.alert--tip     { background: var(--color-gold-light);  border-left: 4px solid var(--color-gold); }
.alert__icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

/* --- Tables --- */
.guide-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: .9rem;
}
.guide-table th {
  background: var(--color-navy);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 10px 14px;
  text-align: left;
}
.guide-table td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--color-navy-light);
}
.guide-table tr:nth-child(even) td { background: var(--color-gold-light); }

/* --- Museum list items --- */
.museum-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-navy-light);
}
.museum-item:last-child { border-bottom: none; }
.museum-item__icon { font-size: 1.6rem; flex-shrink: 0; }
.museum-item__name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-navy);
  font-size: 1rem;
  margin-bottom: 2px;
}
.museum-item__price {
  display: inline-block;
  background: var(--color-green);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  margin-left: 6px;
  font-family: var(--font-heading);
}
.museum-item__desc { font-size: .875rem; color: rgba(27,42,74,.75); margin: 0; }

/* --- Neighborhood label --- */
.neighborhood-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-navy);
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 99px;
  margin: 20px 0 8px;
}

/* --- Venue cards for nightlife --- */
.venue-card {
  background: #fff;
  color: var(--color-navy);
  border-left: 4px solid var(--color-coral);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 22px 24px;
  margin: 16px 0;
  box-shadow: var(--shadow-card);
  transition: box-shadow .2s, transform .15s;
}
.venue-card:hover { box-shadow: var(--shadow-hover); transform: translateX(3px); }
.venue-card__name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-navy);
  margin-bottom: 6px;
}
.venue-card__genre {
  font-size: .78rem;
  color: var(--color-purple);
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-family: var(--font-heading);
}
.venue-card__desc { font-size: .9rem; color: var(--color-navy); margin-bottom: 12px; }
.venue-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .8rem;
  color: rgba(27,42,74,.65);
}
.venue-card__meta span { display: flex; align-items: center; gap: 4px; }
.venue-card__tip {
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--color-purple-light);
  border-left: 3px solid var(--color-purple);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .85rem;
  color: var(--color-navy);
}

/* ============================================
   CTA CONCIERGE SECTION
   ============================================ */
#concierge-cta {
  background: linear-gradient(135deg, var(--color-navy) 0%, #1a1040 100%);
  padding: var(--section-pad);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#concierge-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 90%, rgba(201,168,76,.15) 0%, transparent 45%),
    radial-gradient(circle at 90% 10%, rgba(139,92,246,.15) 0%, transparent 45%);
  pointer-events: none;
}
.concierge-cta__inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.concierge-cta__eyebrow {
  font-family: var(--font-heading);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: .75rem;
}
.concierge-cta__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}
.concierge-cta__title em { font-style: normal; color: var(--color-gold); }
.concierge-cta__body { color: rgba(245,240,232,.78); font-size: 1.05rem; margin-bottom: 2rem; }
.concierge-cta__contact {
  display: flex;
  gap: 12px;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}
.concierge-cta__contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(245,240,232,.75);
  font-size: .95rem;
}
.concierge-cta__contact-item strong { color: var(--color-cream); }
.concierge-cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn--gold { background: var(--color-gold); color: var(--color-navy); }
.btn--gold:hover { background: #b8943e; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-navy);
  color: rgba(245,240,232,.6);
  padding: 48px 24px 32px;
  border-top: 3px solid var(--color-gold);
}
.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer__brand .navbar__logo { font-size: 1.3rem; margin-bottom: .75rem; }
.footer__brand p { font-size: .875rem; line-height: 1.6; }
.footer__col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 12px;
}
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 8px; }
.footer__col a { font-size: .875rem; transition: color .2s; }
.footer__col a:hover { color: var(--color-cream); }
.footer__bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(245,240,232,.1);
  font-size: .8rem;
}
.footer__bottom a { color: var(--color-gold); }

@media (max-width: 768px) {
  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  :root { --section-pad: 56px 20px; }
  .hero { min-height: 88vh; padding: 60px 20px 80px; }
  .guide-content { padding: 32px 16px 64px; }
  .guide-section-body { padding: 20px 16px; }
  .guide-section-title { padding: 16px 18px; font-size: 1.25rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .place-card, .venue-card { margin: 12px 0; }
  .museum-item { gap: 12px; }
  .guide-table { font-size: .8rem; }
  .guide-table th, .guide-table td { padding: 8px 10px; }
  .concierge-cta__contact { align-items: flex-start; }
  .placeholder-section__inner { flex-direction: column; gap: 12px; }
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

@media (min-width: 1200px) {
  .guide-content { padding: 56px 40px 96px; }
}

/* ============================================
   MAPS LINKS
   ============================================ */
.maps-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted var(--color-gold);
}
.maps-link:hover {
  color: var(--color-purple);
  border-bottom-color: var(--color-purple);
}
.maps-link::after {
  content: ' 📍';
  font-size: 0.8em;
}


/* ============================================
   TAB MAPA — Leaflet + controles
   ============================================ */

/* Controles encima del mapa */
.map-controls {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 4px;
}

/* Botones de ciudad */
.map-city-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.map-city-btn {
  font-family: var(--font-heading);
  font-size: .85rem;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 99px;
  border: 2px solid var(--color-navy);
  background: transparent;
  color: var(--color-navy);
  cursor: pointer;
  transition: background .18s, color .18s;
}

.map-city-btn:hover {
  background: var(--color-navy-light);
}

.map-city-btn.active {
  background: var(--color-navy);
  color: var(--color-cream);
}

/* Leyenda filtreable */
.map-legend {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.map-legend-btn {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 99px;
  border: 2px solid var(--color-navy);
  background: var(--color-cream);
  color: var(--color-navy);
  cursor: pointer;
  opacity: 1;
  transition: opacity .18s, background .18s;
}

.map-legend-btn:hover {
  background: var(--color-navy-light);
}

.map-legend-btn.inactive {
  opacity: .35;
  background: transparent;
}

/* Marcadores emoji en el mapa */
.emoji-marker {
  background: none !important;
  border: none !important;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.35));
  cursor: pointer;
}

/* Popup personalizado */
.map-popup-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .9rem;
  color: var(--color-navy);
  margin-bottom: 3px;
}

.map-popup-cat {
  font-size: .75rem;
  color: var(--color-gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 6px;
}

.map-popup-link {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  color: var(--color-purple);
  text-decoration: none;
  border-bottom: 1px dotted var(--color-purple);
}

.map-popup-link:hover {
  color: var(--color-navy);
}

/* Override Leaflet popup para que encaje con la marca */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius-md) !important;
  border: 2px solid var(--color-navy) !important;
  box-shadow: var(--shadow-card) !important;
  background: var(--color-cream) !important;
}

.leaflet-popup-tip {
  background: var(--color-navy) !important;
}

/* ============================================
   TAB MAPA v2 — guide-map + legend-btn
   ============================================ */
#guide-map {
  height: 520px;
  width: 100%;
  border-radius: 12px;
  border: 2px solid var(--color-navy);
  margin-top: 1rem;
}

@media (max-width: 768px) {
  #guide-map { height: 380px; }
}

.legend-btn {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 2px solid var(--color-navy);
  background: var(--color-cream);
  color: var(--color-navy);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  opacity: 0.5;
}

.legend-btn.active {
  opacity: 1;
  background: var(--color-navy);
  color: white;
}

