/* ============================================================
   EMPRENDEDORES VILLA DEL CARMEN — LANDING PAGE OFICIAL
   Paleta inspirada en la identidad institucional y turística:
   - Azul Cobalto Institucional: #006CB5
   - Celeste Agua y Ríos: #38B6FF / #29B6F6
   - Naranja Cálido (Cultura/Sol): #F37B1D
   - Rojo Teja (Historia/Capilla): #DE432B
   - Verde Oliva (Sierras/Naturaleza): #6E8B3D
   - Verde WhatsApp Oficial: #25D366
   ============================================================ */

:root {
  /* Paleta Oficial */
  --azul-oficial: #006CB5;
  --azul-hover: #005691;
  --azul-profundo: #0B4B7B;
  --azul-noche: #0B2238;
  --azul-suave: #EBF5FB;

  --celeste-agua: #38B6FF;
  --celeste-claro: #E0F2FE;

  --naranja-sol: #F37B1D;
  --naranja-hover: #D96512;
  --naranja-suave: #FFF3EA;

  --rojo-teja: #DE432B;
  --rojo-suave: #FDF1EF;

  --verde-sierra: #6E8B3D;
  --verde-suave: #F2F7EC;

  --verde-wa: #25D366;
  --verde-wa-dark: #1EBE5D;
  --verde-wa-suave: #ECFDF5;

  /* Neutros y Superficies */
  --fondo: #F8FAFD;
  --fondo-alt: #FFFFFF;
  --superficie: #FFFFFF;
  --texto: #1E293B;
  --texto-suave: #576577;
  --borde: #E2E8F0;
  --borde-suave: #F1F5F9;

  /* Formas y Sombras */
  --radius-pill: 999px;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;

  --shadow-sm: 0 2px 8px rgba(0, 75, 130, 0.05);
  --shadow-md: 0 10px 25px rgba(0, 75, 130, 0.07);
  --shadow-lg: 0 18px 40px rgba(0, 75, 130, 0.12);
  --shadow-card: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 18px 36px rgba(0, 108, 181, 0.14);

  /* Tipografías */
  --fuente-titulos: 'Outfit', system-ui, -apple-system, sans-serif;
  --fuente-cuerpo: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--fuente-cuerpo);
  color: var(--texto);
  background: var(--fondo);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all .2s ease;
}

button, input {
  font-family: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   BOTONES & BADGES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--fuente-titulos);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  transition: all .25s ease;
  white-space: nowrap;
  cursor: pointer;
}

.btn svg {
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--azul-oficial);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(0, 108, 181, 0.28);
}
.btn-primary:hover {
  background: var(--azul-hover);
  box-shadow: 0 12px 28px rgba(0, 108, 181, 0.36);
  color: #FFFFFF;
}

.btn-naranja {
  background: var(--naranja-sol);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(243, 123, 29, 0.28);
}
.btn-naranja:hover {
  background: var(--naranja-hover);
  box-shadow: 0 12px 28px rgba(243, 123, 29, 0.38);
  color: #FFFFFF;
}

.btn-wa {
  background: var(--verde-wa);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.30);
}
.btn-wa:hover {
  background: var(--verde-wa-dark);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.42);
  color: #FFFFFF;
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
}
.btn-outline-white:hover {
  background: #FFFFFF;
  color: var(--azul-oficial);
}

.btn-outline-blue {
  background: #FFFFFF;
  color: var(--azul-oficial);
  border: 1.5px solid rgba(0, 108, 181, 0.28);
}
.btn-outline-blue:hover {
  background: var(--azul-suave);
  border-color: var(--azul-oficial);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13.5px;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 16px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  transition: height .3s ease, background .3s ease, box-shadow .3s ease;
  height: 78px;
  display: flex;
  align-items: center;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  height: 70px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

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

.nav-back-portal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  background: var(--azul-suave);
  color: var(--azul-oficial);
  font-family: var(--fuente-titulos);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 108, 181, 0.16);
}
.nav-back-portal:hover {
  background: var(--azul-oficial);
  color: #FFFFFF;
}

.nav-back-turismo {
  background: var(--naranja-suave);
  color: var(--naranja-hover);
  border-color: rgba(243, 123, 29, 0.22);
}
.nav-back-turismo:hover {
  background: var(--naranja-sol);
  color: #FFFFFF;
}

.nav-divider {
  width: 1px;
  height: 28px;
  background: var(--borde);
}

.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-family: var(--fuente-titulos);
  font-size: 15px;
  font-weight: 600;
  color: var(--texto);
  position: relative;
  padding: 4px 0;
}
.nav-link:hover {
  color: var(--azul-oficial);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2.5px;
  background: var(--naranja-sol);
  border-radius: 2px;
  transition: width .25s ease;
}
.nav-link:hover::after {
  width: 100%;
}

.nav-link-mobile-only {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--azul-suave);
  padding: 9px;
}
.nav-burger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--azul-oficial);
  border-radius: 2px;
  transition: .25s ease;
}

/* ============================================================
   HERO PRINCIPAL
   ============================================================ */
.hero {
  position: relative;
  padding: 112px 0 48px;
  background: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 52%, #FFF7ED 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--borde);
}

.hero-glow-1 {
  position: absolute;
  top: -120px;
  left: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 182, 255, 0.20) 0%, rgba(56, 182, 255, 0) 70%);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -140px;
  right: -100px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 123, 29, 0.16) 0%, rgba(243, 123, 29, 0) 70%);
  pointer-events: none;
}

.hero-centered {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.badge-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--azul-suave);
  color: var(--azul-oficial);
  font-family: var(--fuente-titulos);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(0, 108, 181, 0.16);
}

.badge-community {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--naranja-suave);
  color: var(--naranja-hover);
  font-family: var(--fuente-titulos);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(243, 123, 29, 0.22);
}

.hero-title {
  font-family: var(--fuente-titulos);
  font-size: clamp(32px, 4.8vw, 52px);
  font-weight: 900;
  line-height: 1.12;
  color: var(--azul-profundo);
  margin-bottom: 22px;
  letter-spacing: -0.8px;
}

.hero-title .highlight {
  color: var(--azul-oficial);
  position: relative;
}

.hero-quote-box {
  background: #FFFFFF;
  border-top: 4px solid var(--naranja-sol);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-md);
  margin-bottom: 28px;
  border-left: 1px solid var(--borde);
  border-right: 1px solid var(--borde);
  border-bottom: 1px solid var(--borde);
}

.hero-desc {
  font-size: 16.5px;
  color: var(--texto);
  line-height: 1.65;
  margin-bottom: 10px;
}

.hero-desc:last-child {
  margin-bottom: 0;
  color: var(--texto-suave);
  font-size: 15.5px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ============================================================
   BARRA DE BÚSQUEDA Y FILTROS
   ============================================================ */
.directory-section {
  padding: 64px 0 80px;
}

.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 36px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fuente-titulos);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--azul-oficial);
  background: var(--azul-suave);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--fuente-titulos);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.18;
  color: var(--azul-profundo);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-title span {
  color: var(--naranja-sol);
}

.section-desc {
  font-size: 16px;
  color: var(--texto-suave);
  line-height: 1.65;
}

.controls-wrapper {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--borde);
  margin-bottom: 36px;
  position: sticky;
  top: 78px;
  z-index: 90;
}

.controls-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.search-box {
  position: relative;
  flex: 1;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--azul-oficial);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 13px 42px 13px 46px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--borde);
  background: var(--fondo);
  font-size: 15px;
  color: var(--texto);
  transition: all .2s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--azul-oficial);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(0, 108, 181, 0.10);
}

.search-clear {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--borde);
  color: var(--texto);
  font-size: 13px;
  display: none;
  align-items: center;
  justify-content: center;
}
.search-clear.visible {
  display: inline-flex;
}

.results-counter {
  font-family: var(--fuente-titulos);
  font-size: 14px;
  font-weight: 600;
  color: var(--texto-suave);
  background: var(--azul-suave);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.results-counter strong {
  color: var(--azul-oficial);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--fuente-titulos);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--texto-suave);
  background: var(--fondo);
  border: 1px solid var(--borde);
  transition: all .2s ease;
}

.filter-btn:hover {
  color: var(--azul-oficial);
  border-color: var(--azul-oficial);
  background: var(--azul-suave);
}

.filter-btn.active {
  background: var(--azul-oficial);
  color: #FFFFFF;
  border-color: var(--azul-oficial);
  box-shadow: 0 4px 12px rgba(0, 108, 181, 0.25);
}

.filter-count {
  font-size: 11.5px;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.08);
  color: inherit;
}
.filter-btn.active .filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

/* ============================================================
   GRILLA DE TARJETAS DE EMPRENDEDORES
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.emp-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--borde);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.emp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 108, 181, 0.35);
}

/* Flyer preview header */
.emp-media {
  position: relative;
  height: 270px;
  background: linear-gradient(145deg, #EEF5FC 0%, #F8FAFD 100%);
  overflow: hidden;
  cursor: zoom-in;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--borde-suave);
}

.emp-media-bg {
  position: absolute;
  inset: -16px;
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(0.92);
  opacity: 0.35;
  transform: scale(1.1);
}

.emp-img {
  position: relative;
  z-index: 1;
  max-height: 92%;
  max-width: 92%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.14);
  transition: transform .35s ease;
}

.emp-card:hover .emp-img {
  transform: scale(1.04);
}

.emp-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--fuente-titulos);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.cat-gastronomia {
  background: rgba(243, 123, 29, 0.94);
  color: #FFFFFF;
}
.cat-comercios {
  background: rgba(0, 108, 181, 0.94);
  color: #FFFFFF;
}
.cat-indumentaria {
  background: rgba(222, 67, 43, 0.94);
  color: #FFFFFF;
}
.cat-alojamiento {
  background: rgba(110, 139, 61, 0.95);
  color: #FFFFFF;
}
.cat-bienestar {
  background: rgba(11, 75, 123, 0.94);
  color: #FFFFFF;
}

.emp-zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  background: rgba(11, 34, 56, 0.78);
  color: #FFFFFF;
  font-family: var(--fuente-titulos);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(4px);
  transition: background .2s ease;
}

.emp-media:hover .emp-zoom-hint {
  background: var(--azul-oficial);
}

/* Body of card */
.emp-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.emp-title {
  font-family: var(--fuente-titulos);
  font-size: 20px;
  font-weight: 800;
  color: var(--azul-profundo);
  line-height: 1.25;
  margin-bottom: 4px;
}

.emp-subtitle {
  font-size: 13px;
  font-weight: 600;
  color: var(--naranja-sol);
  margin-bottom: 10px;
}

.emp-desc {
  font-size: 14.2px;
  color: var(--texto-suave);
  line-height: 1.55;
  margin-bottom: 14px;
}

.emp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.emp-tag {
  font-size: 12px;
  font-weight: 500;
  background: var(--fondo);
  color: var(--texto);
  border: 1px solid var(--borde);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

/* Meta info list (address, hours, social) */
.emp-meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--borde);
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
  font-size: 13.2px;
  color: var(--texto-suave);
}

.emp-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.emp-meta-icon {
  flex-shrink: 0;
  font-size: 14px;
  margin-top: 1px;
}

.emp-social-link {
  color: var(--azul-oficial);
  font-weight: 600;
}
.emp-social-link:hover {
  text-decoration: underline;
  color: var(--naranja-sol);
}

/* Action buttons */
.emp-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-wa-card {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: var(--radius-md);
  background: var(--verde-wa);
  color: #FFFFFF;
  font-family: var(--fuente-titulos);
  font-size: 14.2px;
  font-weight: 700;
  box-shadow: 0 5px 14px rgba(37, 211, 102, 0.25);
  transition: all .2s ease;
}

.btn-wa-card:hover {
  background: var(--verde-wa-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.36);
  color: #FFFFFF;
}

.emp-multi-wa {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 7px;
}

.emp-multi-wa .btn-wa-card {
  padding: 9px 10px;
  font-size: 12.8px;
}

.btn-visit-card {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: var(--radius-md);
  background: var(--azul-suave);
  color: var(--azul-oficial);
  border: 1px solid rgba(0, 108, 181, 0.22);
  font-family: var(--fuente-titulos);
  font-size: 13.8px;
  font-weight: 700;
}

.btn-visit-card:hover {
  background: var(--azul-oficial);
  color: #FFFFFF;
}

/* Empty state */
.empty-state {
  display: none;
  text-align: center;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 56px 24px;
  border: 1px dashed var(--borde);
  margin-top: 20px;
}
.empty-state.visible {
  display: block;
}
.empty-state-icon {
  font-size: 46px;
  margin-bottom: 12px;
}
.empty-state h3 {
  font-family: var(--fuente-titulos);
  font-size: 22px;
  color: var(--azul-profundo);
  margin-bottom: 8px;
}
.empty-state p {
  color: var(--texto-suave);
  margin-bottom: 20px;
}

/* ============================================================
   BANNER SUMÁ TU EMPRENDIMIENTO
   ============================================================ */
.cta-section {
  padding: 20px 0 84px;
}

.cta-banner {
  background: linear-gradient(135deg, var(--azul-profundo) 0%, var(--azul-oficial) 60%, #1683D0 100%);
  border-radius: var(--radius-xl);
  padding: 52px 48px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 123, 29, 0.35) 0%, rgba(243, 123, 29, 0) 70%);
  pointer-events: none;
}

.cta-banner-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.cta-eyebrow {
  display: inline-block;
  font-family: var(--fuente-titulos);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  background: rgba(255, 255, 255, 0.16);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.cta-title {
  font-family: var(--fuente-titulos);
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 14px;
}

.cta-text {
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ============================================================
   FOOTER COMPACTO DE LANDING
   ============================================================ */
.footer {
  background: var(--azul-noche);
  color: rgba(255, 255, 255, 0.85);
  padding: 40px 0 28px;
}

.footer-landing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand strong {
  font-family: var(--fuente-titulos);
  font-size: 16px;
  color: #FFFFFF;
  display: block;
  margin-bottom: 2px;
}

.footer-brand-logo {
  height: 56px;
  width: auto;
  flex-shrink: 0;
}

.footer-desc {
  font-size: 13.8px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   LIGHTBOX (VISOR DE FLYERS EN PANTALLA COMPLETA)
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(11, 22, 36, 0.92);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-height: 80vh;
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  object-fit: contain;
  background: #FFFFFF;
}

.lightbox-caption {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 560px;
  background: rgba(255, 255, 255, 0.12);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  color: #FFFFFF;
  font-family: var(--fuente-titulos);
}

.lightbox-title {
  font-size: 15px;
  font-weight: 700;
}

.lightbox-btn {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.lightbox-btn:hover {
  background: var(--rojo-teja);
}

/* ============================================================
   BOTÓN FLOTANTE WHATSAPP
   ============================================================ */
.wa-floating {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 990;
  background: var(--verde-wa);
  color: #FFFFFF;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--fuente-titulos);
  font-weight: 700;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.42);
}
.wa-floating svg {
  width: 22px;
  height: 22px;
}
.wa-floating:hover {
  background: var(--verde-wa-dark);
  transform: translateY(-3px);
  color: #FFFFFF;
}

/* ============================================================
   RESPONSIVE DESIGN (DESKTOP, TABLET Y CELULARES)
   ============================================================ */
@media (max-width: 1040px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

@media (max-width: 820px) {
  .controls-wrapper {
    position: static;
    padding: 16px;
  }
  .controls-top {
    flex-direction: column;
    align-items: stretch;
  }
  .results-counter {
    text-align: center;
  }
  .footer-landing {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-banner {
    padding: 36px 24px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
  .nav {
    height: 68px;
  }
  .nav-logo-img {
    height: 38px;
  }
  .nav-back-portal {
    padding: 6px 11px;
    font-size: 12px;
  }
  .hero {
    padding: 92px 0 36px;
  }
  .hero-quote-box {
    padding: 18px 18px;
  }
  .hero-desc {
    font-size: 15px;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .hero-ctas .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
  .directory-section {
    padding: 40px 0 56px;
  }
  .filter-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .filter-btn {
    flex-shrink: 0;
  }
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .emp-media {
    height: 240px;
  }
  .cta-actions {
    flex-direction: column;
  }
  .cta-actions .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }
  .lightbox-caption {
    flex-direction: column;
    border-radius: var(--radius-md);
    text-align: center;
  }
  .wa-floating span {
    display: none;
  }
  .wa-floating {
    padding: 14px;
    bottom: 16px;
    right: 16px;
  }
}
