/* ==========================================================================
   PLAZA COMERCIAL VILLAS DEL CAMPO - ESTILOS ELEGANTES, MINIMALISTAS & MOBILE-FIRST
   ========================================================================== */

:root {
  /* Paleta Base Cálida & Minimalista */
  --bg-primary: #FAF9F5;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #F5F3EC;
  --bg-card: #FFFFFF;
  --border-light: #EEEEEE;
  --border-subtle: #F0EFEA;

  /* Tipografía */
  --text-main: #2A2D2B;
  --text-secondary: #656C67;
  --text-muted: #8E9690;
  --text-light: #777777;

  /* Acentos de Marca */
  --gold-main: #E1C774;
  --gold-dark: #C9B060;
  --brand-green: #1E4D36;
  --brand-green-light: #EBF3EE;
  --brand-coral: #E74C3C;
  --brand-coral-light: #FFF5F5;
  --brand-blue: #4A90E2;
  --brand-blue-light: #F0F7FF;

  /* Sombras Sutiles */
  --shadow-card: 0 4px 15px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.08);

  /* Bordes & Transiciones */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  --transition: all 0.25s ease;
}

[data-theme="dark"] {
  --bg-primary: #121413;
  --bg-secondary: #191C1A;
  --bg-tertiary: #202422;
  --bg-card: #191C1A;
  --border-light: #2A2E2C;
  --border-subtle: #252927;

  --text-main: #F0F2F0;
  --text-secondary: #A2A9A4;
  --text-muted: #6E7570;
  --text-light: #9EA5A0;

  --brand-green-light: rgba(30, 77, 54, 0.25);
  --brand-coral-light: rgba(231, 76, 60, 0.15);
  --brand-blue-light: rgba(74, 144, 226, 0.15);
  --shadow-card: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   RESET & BASE MOBILE-FIRST
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  padding-bottom: 70px; /* Espacio para barra de navegación móvil */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

/* ==========================================================================
   TOP MINI BAR
   ========================================================================== */
.top-mini-bar {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
  padding: 6px 0;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.top-mini-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #27ae60;
  box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(39, 174, 96, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(39, 174, 96, 0); }
}

.theme-btn {
  background: var(--bg-tertiary);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.8rem;
  transition: var(--transition);
}

/* ==========================================================================
   NAVBAR (COMPACTO & ELEGANTE)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  background-color: rgba(250, 249, 245, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
}

[data-theme="dark"] .site-header {
  background-color: rgba(18, 20, 19, 0.95);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--gold-dark);
  box-shadow: 0 4px 14px rgba(197, 155, 78, 0.28);
  background: #FFFFFF;
}

.brand-title {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-main);
}

.brand-sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold-dark);
  font-weight: 700;
}

.desktop-nav {
  display: none;
}

@media (min-width: 992px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
  }

  .nav-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
  }

  .nav-link:hover, .nav-link.active {
    color: var(--brand-green);
  }
}

.header-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background-color: var(--brand-green);
  color: #fff !important;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(30, 77, 54, 0.2);
}

/* ==========================================================================
   HERO MOBILE-FIRST (LOGO DESTACADO EN ALTO)
   ========================================================================== */
.hero-compact {
  padding: 24px 0 24px;
  text-align: center;
}

.hero-elevated-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  position: relative;
}

.hero-elevated-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 26px;
  background: radial-gradient(circle, rgba(197, 155, 78, 0.35) 0%, transparent 70%);
  filter: blur(8px);
  z-index: 0;
}

.hero-elevated-logo {
  width: 86px;
  height: 86px;
  border-radius: 20px;
  object-fit: cover;
  border: 3px solid var(--gold-dark);
  box-shadow: 0 10px 25px rgba(30, 77, 54, 0.25), 0 0 0 4px rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.hero-elevated-logo:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 30px rgba(197, 155, 78, 0.4), 0 0 0 4px #FFFFFF;
}

@media (min-width: 768px) {
  .hero-elevated-logo {
    width: 98px;
    height: 98px;
    border-radius: 24px;
  }
}

.hero-tagline {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

.hero-main-title {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.18;
  color: var(--text-main);
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .hero-main-title {
    font-size: 2.5rem;
  }
}

.hero-sub-quote {
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 20px;
  line-height: 1.5;
}

/* Barra de Búsqueda Rápida */
.search-bar-wrap {
  position: relative;
  max-width: 520px;
  margin: 0 auto 16px;
}

.search-bar-wrap i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.main-search-input {
  width: 100%;
  padding: 12px 18px 12px 46px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: var(--bg-secondary);
  font-size: 0.92rem;
  color: var(--text-main);
  font-family: inherit;
  outline: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.main-search-input:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 4px 15px rgba(201, 176, 96, 0.2);
}

/* ==========================================================================
   DASHBOARD CLIMA & CAMINANTE (EXACTO AL DISEÑO SOLICITADO)
   ========================================================================== */
.community-dashboard {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 10px 0 32px;
}

@media (min-width: 768px) {
  .community-dashboard {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

.dash-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 22px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-light);
  transition: transform 0.3s, box-shadow 0.3s;
}

@media (min-width: 768px) {
  .dash-card {
    padding: 25px;
    gap: 20px;
  }
}

.dash-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  border-color: rgba(225, 199, 116, 0.3);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.weather-card .card-icon {
  background: var(--brand-blue-light);
  color: var(--brand-blue);
}

.transport-card .card-icon {
  background: var(--brand-coral-light);
  color: var(--brand-coral);
}

.card-info {
  flex: 1;
}

.card-info h4 {
  margin: 0 0 6px 0;
  font-size: 0.95rem;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.weather-card .temp {
  font-size: 1.7rem;
  font-weight: 300;
  margin: 0 0 4px 0;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.weather-card .temp span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-dark);
}

.sub-text {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.45;
}

.route-text {
  margin: 0 0 2px 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.price-badge {
  color: var(--gold-dark);
  font-weight: 800;
  font-size: 0.95rem;
}

.btn-outline-small {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid #ddd;
  color: var(--text-main);
  text-decoration: none;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-outline-small:hover {
  border-color: var(--gold-main);
  background: var(--gold-main);
  color: #fff;
}

/* ==========================================================================
   SECCIONES DE NAVEGACIÓN
   ========================================================================= */
.section-wrap {
  padding: 24px 0 36px;
}

.section-head {
  margin-bottom: 20px;
  text-align: left;
}

.section-title-sm {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-desc-sm {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* ==========================================================================
   MAPA INTERACTIVO MOBILE-FIRST
   ========================================================================== */
.map-mobile-box {
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: 30px;
}

.map-top-bar {
  padding: 14px 16px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.map-quick-selector {
  flex: 1;
  min-width: 180px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: var(--bg-tertiary);
  font-size: 0.82rem;
  color: var(--text-main);
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

.map-zoom-buttons {
  display: flex;
  gap: 6px;
}

.map-zbtn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-main);
}

.map-mobile-viewport {
  width: 100%;
  height: 480px;
  position: relative;
  overflow: hidden; /* Controlado con drag en JS para que no se desplace de más */
  cursor: grab;
  touch-action: none;
  background-color: #EDEAE1;
  background-image: radial-gradient(#C6BFB0 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  border-radius: 0 0 16px 16px;
  user-select: none;
}

[data-theme="dark"] .map-mobile-viewport {
  background-color: #171A18;
  background-image: radial-gradient(#2D332F 1.5px, transparent 1.5px);
}

@media (min-width: 768px) {
  .map-mobile-viewport {
    height: 580px;
  }
}

.map-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 1325px;
  height: 2048px;
  transform-origin: 0 0;
  will-change: transform;
}

.map-cad-img {
  width: 100%;
  height: 100%;
  pointer-events: none;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  background-color: #FFFFFF;
}

/* Pines en el mapa - AHORA MÁS GRANDES Y TÁCTILES */
.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.map-pin:hover,
.map-pin.highlighted,
.map-pin.active {
  transform: translate(-50%, -50%) scale(1.22);
  z-index: 80;
  box-shadow: 0 0 0 4px rgba(30, 77, 54, 0.35), 0 8px 24px rgba(0, 0, 0, 0.35);
}

.map-pin.highlighted {
  animation: pulsePinBig 2s infinite;
}

/* GLOBO / POPUP DIRECTO SOBRE EL PIN DEL MAPA */
.map-pin-popup {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 250px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  cursor: default;
  z-index: 120;
  text-align: left;
}

.map-pin.active .map-pin-popup {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Flechita / Triángulo del globo hacia el pin */
.map-pin-popup::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 8px 0 8px;
  border-style: solid;
  border-color: var(--bg-card) transparent transparent transparent;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.06));
}

.popup-top-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.popup-logo-thumb {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid var(--border-light);
  flex-shrink: 0;
  background: #fff;
}

.popup-header-info {
  flex: 1;
  min-width: 0;
}

.popup-category-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-dark);
  letter-spacing: 0.4px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.popup-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.popup-loc {
  font-size: 0.72rem;
  color: var(--text-light);
  line-height: 1.2;
  margin-top: 2px;
}

.popup-close-x {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: var(--bg-tertiary);
  color: var(--text-light);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease;
}

.popup-close-x:hover {
  background: var(--border-light);
  color: var(--text-main);
}

.popup-actions-row {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.popup-btn-wa {
  flex: 1;
  padding: 7px 10px;
  border-radius: 8px;
  background: #25D366;
  color: #fff !important;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
}

.popup-btn-info {
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--bg-tertiary);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

@keyframes pulsePinBig {
  0% { box-shadow: 0 0 0 0 rgba(30, 77, 54, 0.7); }
  70% { box-shadow: 0 0 0 14px rgba(30, 77, 54, 0); }
  100% { box-shadow: 0 0 0 0 rgba(30, 77, 54, 0); }
}

.map-pin-inner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.82rem;
}

/* Tarjeta inferior fija cuando se selecciona un local en el mapa */
.map-selected-card {
  padding: 14px 16px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  display: none;
  align-items: center;
  gap: 12px;
}

.map-selected-card.active {
  display: flex;
}

.map-selected-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}

.map-selected-info {
  flex: 1;
}

.map-selected-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.map-selected-sub {
  font-size: 0.78rem;
  color: var(--text-light);
}

.btn-map-wa {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: #25D366;
  color: #fff !important;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   DICCIONARIO DE LOCALES - TARJETAS SENCILLAS & MOBILE-FIRST
   ========================================================================== */
.category-filter-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 16px;
  scrollbar-width: none;
}

.category-filter-chips::-webkit-scrollbar {
  display: none;
}

.chip-btn {
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  white-space: nowrap;
  transition: var(--transition);
}

.chip-btn.active {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #fff;
  box-shadow: 0 3px 10px rgba(30, 77, 54, 0.2);
}

/* Grid de Tarjetas Sencillas */
.tenants-compact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 600px) {
  .tenants-compact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (min-width: 992px) {
  .tenants-compact-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* Estilo de la Tarjeta Sencilla */
.tenant-simple-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.tenant-simple-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(225, 199, 116, 0.4);
}

.tenant-card-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.tenant-avatar-box {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  flex-shrink: 0;
}

.tenant-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tenant-main-meta {
  flex: 1;
  min-width: 0;
}

.tenant-cat-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-dark);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.tenant-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tenant-loc-text {
  font-size: 0.78rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tenant-desc-short {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tenant-actions-row {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.btn-card-wa-sm {
  flex: 1;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: #25D366;
  color: #fff !important;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-card-wa-sm:hover {
  background: #1ebe5d;
}

.btn-card-web-sm {
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: var(--brand-blue);
  color: #fff !important;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
  transition: var(--transition);
}

.btn-card-web-sm:hover {
  background: #1f5577;
  transform: translateY(-1px);
}

.btn-card-map-sm {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid #ddd;
  background: var(--bg-tertiary);
  color: var(--text-main);
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.btn-card-map-sm:hover {
  border-color: var(--gold-main);
  color: var(--brand-green);
}

/* ==========================================================================
   SECCIÓN COMUNIDAD "EMPRENDE SIN CULPA" (SENCILLA)
   ========================================================================== */
.community-card-simple {
  background: var(--bg-secondary);
  border-radius: 20px;
  padding: 24px 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  text-align: center;
  margin-bottom: 24px;
}

.community-card-simple h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.community-card-simple p {
  font-size: 0.88rem;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto 18px;
  line-height: 1.5;
}

.community-btn-group {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-emprende-main {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: var(--gold-dark);
  color: #fff !important;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-transparencia-sec {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid #ddd;
  background: transparent;
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   MODAL DE LOCAL (ADAPTADO A MÓVIL)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

@media (min-width: 768px) {
  .modal-overlay {
    align-items: center;
    padding: 20px;
  }
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-sheet {
  background: var(--bg-card);
  width: 100%;
  max-width: 540px;
  border-radius: 24px 24px 0 0;
  padding: 24px 20px 30px;
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .modal-sheet {
    border-radius: 20px;
    padding: 28px;
    transform: translateY(20px);
  }
}

.modal-overlay.active .modal-sheet {
  transform: translateY(0);
}

.modal-grabber {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: #ddd;
  margin: 0 auto 16px;
}

@media (min-width: 768px) {
  .modal-grabber {
    display: none;
  }
}

.modal-top-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.modal-logo {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--border-light);
}

.modal-title-group h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.modal-cat {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
}

.modal-desc-full {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
}

.modal-info-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-tertiary);
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.82rem;
  color: var(--text-main);
  margin-bottom: 20px;
}

.modal-product-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.modal-chip {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--brand-green-light);
  color: var(--brand-green);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION BAR (FIXED)
   ========================================================================== */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 62px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 99;
}

[data-theme="dark"] .mobile-bottom-nav {
  background: rgba(18, 20, 19, 0.96);
  border-top-color: #2A2E2C;
}

@media (min-width: 992px) {
  .mobile-bottom-nav {
    display: none;
  }
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  flex: 1;
  height: 100%;
  transition: var(--transition);
}

.bottom-nav-item i {
  font-size: 1.15rem;
}

.bottom-nav-item span {
  font-size: 0.64rem;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
  color: var(--brand-green);
}

/* ==========================================================================
   FOOTER SENCILLO
   ========================================================================== */
.site-footer-compact {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  padding: 30px 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-light);
}

.site-footer-compact a {
  color: var(--gold-dark);
  font-weight: 700;
}

/* ==========================================================================
   BANNERS PUBLICITARIOS & DESTACADOS (MOBILE-FIRST)
   ========================================================================== */
.promo-banners-slider {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 0 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.promo-banners-slider::-webkit-scrollbar {
  display: none;
}

.promo-banner-card {
  flex: 0 0 88%;
  max-width: 380px;
  scroll-snap-align: center;
  border-radius: 20px;
  padding: 22px 20px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
  transition: transform 0.25s ease;
}

@media (min-width: 768px) {
  .promo-banner-card {
    flex: 0 0 340px;
  }
}

.promo-banner-card:hover {
  transform: translateY(-2px);
}

.banner-sin-culpa {
  background: linear-gradient(135deg, #2C1810 0%, #4A2818 100%);
  border: 1px solid rgba(225, 199, 116, 0.3);
}

.banner-two-brothers {
  background: linear-gradient(135deg, #1C2321 0%, #2F3E38 100%);
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.banner-balrau {
  background: linear-gradient(135deg, #102B3F 0%, #1A4768 100%);
  border: 1px solid rgba(74, 144, 226, 0.3);
}

.banner-farma {
  background: linear-gradient(135deg, #1E3A2F 0%, #17523B 100%);
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.banner-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.banner-biz-pill {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.banner-discount-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: #FFE680;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.banner-headline {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 6px;
}

.banner-subtitle {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  margin-bottom: 16px;
}

.banner-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.95);
  color: #1a1a1a !important;
  font-size: 0.8rem;
  font-weight: 700;
  width: fit-content;
  transition: transform 0.2s ease, background 0.2s ease;
}

.banner-cta-link:hover {
  transform: scale(1.03);
  background: #ffffff;
}

/* ==========================================================================
   CALENDARIO DE EVENTOS
   ========================================================================== */
.events-list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 768px) {
  .events-list-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.event-card-item {
  background: var(--bg-card);
  border-radius: 18px;
  padding: 18px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event-card-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(225, 199, 116, 0.4);
}

.event-date-tile {
  width: 58px;
  height: 64px;
  border-radius: 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-align: center;
}

.event-month {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--brand-coral);
  letter-spacing: 0.5px;
}

.event-day {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-main);
  margin-top: 2px;
}

.event-content {
  flex: 1;
  min-width: 0;
}

.event-tag-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 2px;
}

.event-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 6px;
}

.event-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.event-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 12px;
}

.btn-event-rsvp {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: var(--bg-tertiary);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-main);
}

.btn-event-rsvp:hover {
  background: var(--gold-main);
  border-color: var(--gold-main);
  color: #fff;
}

/* ==========================================================================
   BUZÓN DE QUEJAS Y SUGERENCIAS
   ========================================================================== */
.feedback-box-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 24px 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .feedback-box-card {
    padding: 32px;
  }
}

.feedback-category-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.feedback-pill-btn {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: var(--bg-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.feedback-pill-btn.active {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #fff;
  box-shadow: 0 3px 10px rgba(30, 77, 54, 0.2);
}

.feedback-form-group {
  margin-bottom: 14px;
}

.feedback-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--text-main);
}

.feedback-input,
.feedback-textarea,
.feedback-select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  background: var(--bg-primary);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
}

.feedback-input:focus,
.feedback-textarea:focus,
.feedback-select:focus {
  border-color: var(--gold-dark);
  background: var(--bg-secondary);
}

.feedback-textarea {
  resize: vertical;
  min-height: 90px;
}

.feedback-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.btn-feedback-submit {
  flex: 1;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: var(--brand-green);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(30, 77, 54, 0.25);
}

.btn-feedback-submit:hover {
  background: #173d2a;
}

.btn-feedback-wa {
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: #25D366;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.feedback-success-msg {
  display: none;
  background: var(--brand-green-light);
  color: var(--brand-green);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ==========================================================================
   DIRECTORIO DE TELÉFONOS DE EMERGENCIA DE CALIMAYA
   ========================================================================== */
.emergency-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .emergency-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .emergency-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.emergency-card {
  background: var(--bg-card);
  border-radius: 18px;
  padding: 16px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.emergency-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(231, 76, 60, 0.35);
}

.emergency-card.primary-alert {
  border-left: 4px solid var(--brand-coral);
}

.emergency-card.police-alert {
  border-left: 4px solid var(--brand-blue);
}

.emergency-card.admin-alert {
  border-left: 4px solid var(--brand-green);
}

.emergency-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.emergency-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.emergency-card.primary-alert .emergency-icon-box {
  background: rgba(231, 76, 60, 0.12);
  color: var(--brand-coral);
}

.emergency-card.police-alert .emergency-icon-box {
  background: rgba(42, 107, 150, 0.12);
  color: var(--brand-blue);
}

.emergency-card.admin-alert .emergency-icon-box {
  background: rgba(30, 77, 54, 0.12);
  color: var(--brand-green);
}

.emergency-info {
  flex: 1;
  min-width: 0;
}

.emergency-badge {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 2px;
}

.emergency-card.primary-alert .emergency-badge { color: var(--brand-coral); }
.emergency-card.police-alert .emergency-badge { color: var(--brand-blue); }
.emergency-card.admin-alert .emergency-badge { color: var(--brand-green); }

.emergency-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.emergency-desc {
  font-size: 0.76rem;
  color: var(--text-light);
  line-height: 1.35;
  margin-top: 4px;
}

.emergency-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.btn-emergency-call {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: var(--brand-coral);
  color: #fff !important;
  font-size: 0.84rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.25);
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-emergency-call:hover {
  background: #d63c2c;
  transform: scale(1.02);
}

.btn-emergency-wa {
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: #25D366;
  color: #fff !important;
  font-size: 0.84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

/* ==========================================================================
   PASAPORTE DIGITAL DE LEALTAD ("VECINO FRECUENTE")
   ========================================================================== */
.passport-card {
  background: linear-gradient(135deg, #1E4D36 0%, #153827 50%, #0F281C 100%);
  color: #FAF9F5;
  border-radius: 24px;
  padding: 24px 20px;
  box-shadow: 0 16px 40px rgba(15, 40, 28, 0.35);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(225, 199, 116, 0.35);
}

@media (min-width: 768px) {
  .passport-card {
    padding: 32px;
  }
}

.passport-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 199, 116, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.passport-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.passport-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #E1C774;
}

.passport-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FAF9F5;
  margin: 2px 0;
  letter-spacing: -0.3px;
}

.passport-user-badge {
  background: rgba(225, 199, 116, 0.18);
  border: 1px solid rgba(225, 199, 116, 0.4);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  color: #E1C774;
  white-space: nowrap;
}

.passport-progress-bar {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  height: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.passport-progress-fill {
  background: linear-gradient(90deg, #E1C774, #FFD97D);
  height: 100%;
  width: 50%;
  border-radius: 10px;
  transition: width 0.4s ease;
}

.stamps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .stamps-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.stamp-slot {
  aspect-ratio: 1;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 2px dashed rgba(225, 199, 116, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.stamp-slot:hover {
  background: rgba(225, 199, 116, 0.14);
  border-color: #E1C774;
  transform: translateY(-2px);
}

.stamp-slot.stamped {
  background: rgba(225, 199, 116, 0.22);
  border: 2px solid #E1C774;
  box-shadow: 0 4px 14px rgba(225, 199, 116, 0.25);
}

.stamp-slot-num {
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}

.stamp-slot.stamped .stamp-slot-num {
  color: #E1C774;
}

.stamp-slot-icon {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.35);
}

.stamp-slot.stamped .stamp-slot-icon {
  color: #E1C774;
  animation: stampPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes stampPop {
  0% { transform: scale(0.6); }
  60% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.stamp-slot-text {
  font-size: 0.65rem;
  font-weight: 700;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.1;
}

.passport-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
  position: relative;
  z-index: 1;
}

.passport-folio-code {
  font-family: monospace;
  font-size: 0.88rem;
  letter-spacing: 1px;
  color: #E1C774;
  font-weight: 700;
}

.btn-passport-stamp {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: #E1C774;
  color: #173827;
  font-size: 0.8rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-passport-stamp:hover {
  background: #f0dba0;
  transform: scale(1.03);
}

/* ==========================================================================
   CLASIFICADOS DE SERVICIOS DE RESIDENTES
   ========================================================================== */
.classifieds-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 16px;
  -webkit-overflow-scrolling: touch;
}

.classifieds-filters::-webkit-scrollbar {
  display: none;
}

.classifieds-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .classifieds-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .classifieds-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.classified-card {
  background: var(--bg-card);
  border-radius: 18px;
  padding: 18px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.classified-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.classified-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.classified-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-tertiary);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  border: 1px solid var(--border-light);
}

.classified-info {
  flex: 1;
  min-width: 0;
}

.classified-category {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 2px;
}

.classified-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.classified-resident-meta {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.classified-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.classified-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
}

.btn-classified-wa {
  flex: 1;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: #25D366;
  color: #fff !important;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.btn-publish-classified {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--brand-green);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  margin-top: 14px;
}
