/*
Theme Name: La Sabana Connect
Theme URI: https://vivechia.com
Author: La Sabana
Author URI: https://vivechia.com
Description: Directorio local para Vive Chía sabana de Bogotá. Incluye directorio de negocios, blog, fichas de negocio con Custom Post Types, integración con Google AdSense y diseño totalmente personalizable desde el Customizer de WordPress.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: la-sabana
Tags: directory, business, blog, custom-post-types, adsense

/* ==========================================================================
   VARIABLES CSS - Edita aquí para cambiar colores, fuentes y espaciados
   ========================================================================== */

   @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
:root {
  /* === COLORES PRINCIPALES === */
  --color-primary:        #2d6a4f;   /* Verde sabana principal */
  --color-primary-light:  #52b788;   /* Verde claro hover */
  --color-primary-dark:   #1b4332;   /* Verde oscuro */
  --color-secondary:      #e76f51;   /* Naranja/acento */
  --color-secondary-light:#f4a261;   /* Naranja claro */

  /* === FONDO Y TEXTO === */
  --color-bg:             #f8faf9;   /* Fondo general */
  --color-bg-card:        #ffffff;   /* Fondo tarjetas */
  --color-text:           #1a1a2e;   /* Texto principal */
  --color-text-muted:     #6b7280;   /* Texto secundario */
  --color-border:         #e5e7eb;   /* Bordes */

  /* === TIPOGRAFÍA === */
  --font-sans:   'Inter', system-ui, sans-serif;
  --font-serif:  "Nunito", sans-serif;

  /* === RADIOS Y SOMBRAS === */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:   0 4px 12px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:   0 10px 30px rgba(0,0,0,.12);

  /* === ESPACIADOS === */
  --container-max: 1200px;
  --container-pad: 1.5rem;
  --section-py:    5rem;

  /* === TRANSICIONES === */
  --transition: .2s ease;
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }

/* ==========================================================================
   TIPOGRAFÍA
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
}

h1 { font-size: clamp(1.875rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { color: var(--color-text-muted); line-height: 1.7; }

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section { padding-block: var(--section-py); }

/* Sidebar layout */
.content-with-sidebar {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .content-with-sidebar { grid-template-columns: 1fr 300px; }
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  transition: opacity var(--transition);
  width: 200px;
  margin-right: 50px;
}
.site-logo:hover { opacity: .85; }
.site-logo svg { width: 1.4rem; height: 1.4rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}
@media (max-width: 767px) { .nav-links { display: none; } }

.nav-link {
  padding: .4rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 10%, transparent);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  color: var(--color-text);
}
@media (max-width: 767px) { .nav-toggle { display: flex; } }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--color-border);
  padding: 1rem;
  background: white;
  animation: fadeInDown .2s ease;
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link {
  padding: .75rem 1rem;
  font-size: .9375rem;
}

/* Leaderboard ad bajo nav */
.ad-leaderboard-wrap {
  background: #f1f3f4;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: .5rem 0;
  min-height: 100px;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 42rem;
  width: 100%;
  padding: 1.5rem;
  text-align: center;
  animation: fadeInUp .6s ease both;
}

.hero-title {
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: rgba(255,255,255,.85);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}

/* Searchbox */
.search-box {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: white;
  border-radius: var(--radius-md);
  padding: .5rem;
  box-shadow: var(--shadow-lg);
}
.search-box input {
  flex: 1;
  border: none;
  outline: none;
  padding: .5rem .75rem;
  font-size: 1rem;
  background: transparent;
  color: var(--color-text);
}
.search-box input::placeholder { color: var(--color-text-muted); }
.search-box svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-text-muted);
  margin-left: .5rem;
  flex-shrink: 0;
}

/* ==========================================================================
   BOTONES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .625rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--color-secondary);
  color: white;
}
.btn-secondary:hover {
  background: #c0532d;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: white;
}

.btn-lg { padding: .875rem 1.75rem; font-size: 1rem; }
.btn-sm { padding: .375rem .875rem; font-size: .8125rem; }

/* WhatsApp btn */
.btn-whatsapp {
  background: #25d366;
  color: white;
  font-weight: 600;
}
.btn-whatsapp:hover { background: #1ebe59; }

/* ==========================================================================
   TARJETAS DE CATEGORÍA
   ========================================================================== */
.categories-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
  text-align: center;
}

.category-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

.category-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--color-primary) 12%, transparent);
  transition: transform var(--transition);
}
.category-card:hover .category-icon { transform: scale(1.1); }
.category-icon svg { width: 2rem; height: 2rem; color: var(--color-primary); }

.category-label {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
}

/* ==========================================================================
   TARJETAS DE NEGOCIO (Directorio)
   ========================================================================== */
.business-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.business-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.business-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.business-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #e5e7eb;
}

.business-card-img-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 10%, white), color-mix(in srgb, var(--color-primary) 5%, white));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}

.business-card-body { padding: 1.25rem; }

.business-card-cat {
  display: inline-block;
  padding: .2rem .75rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-primary) 10%, transparent);
  color: var(--color-primary);
  font-size: .75rem;
  font-weight: 600;
  margin-bottom: .75rem;
}

.business-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: .25rem;
  font-family: var(--font-sans);
  transition: color var(--transition);
}
.business-card:hover .business-card-title { color: var(--color-primary); }

.business-card-address {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .8125rem;
  color: var(--color-text-muted);
  margin-bottom: .75rem;
}
.business-card-address svg { width: .9rem; height: .9rem; flex-shrink: 0; }

.business-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.business-rating {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-secondary);
}
.business-rating svg { width: .9rem; height: .9rem; fill: currentColor; }

/* Price range */
.price-range { font-size: .8125rem; color: var(--color-text-muted); }

/* Characteristics badges */
.characteristics {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .75rem;
}
.char-badge {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  padding: .2rem .6rem;
  border-radius: 999px;
  background: #f0fdf4;
  color: #166534;
  font-size: .7rem;
  font-weight: 500;
  border: 1px solid #bbf7d0;
}

/* ==========================================================================
   FICHA DE NEGOCIO (Single)
   ========================================================================== */
.business-single-header {
  background: var(--color-bg-card);
  border-bottom: 1px solid var(--color-border);
  padding-block: 2.5rem;
}

.business-single-gallery {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2rem;
}
.business-single-gallery img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.business-info-table {
  width: 100%;
  border-collapse: collapse;
}
.business-info-table tr { border-bottom: 1px solid var(--color-border); }
.business-info-table tr:last-child { border-bottom: none; }
.business-info-table td { padding: .875rem 0; vertical-align: top; }
.business-info-table td:first-child {
  font-weight: 600;
  color: var(--color-text);
  width: 40%;
  padding-right: 1rem;
}
.business-info-table td:last-child { color: var(--color-text-muted); }

.action-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

/* Sidebar negocio */
.business-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.sidebar-widget {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 25px;
}

.sidebar-widget h2 { 
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: .75rem;
}
.sidebar-widget-title {
  padding: 1rem 1.25rem;
  font-size: .8rem;
  font-weight: 600;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}
.sidebar-widget-body { padding: 1.25rem; }

/* ==========================================================================
   BLOG CARDS
   ========================================================================== */
.blog-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.blog-card-img { width: 100%; height: 200px; object-fit: cover; background: #e5e7eb; }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-cat {
  display: inline-block;
  padding: .2rem .75rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-primary) 10%, transparent);
  color: var(--color-primary);
  font-size: .75rem;
  font-weight: 600;
  margin-bottom: .75rem;
  width: fit-content;
}
.blog-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: .5rem;
  transition: color var(--transition);
}
.blog-card:hover .blog-card-title { color: var(--color-primary); }
.blog-card-excerpt { font-size: .875rem; color: var(--color-text-muted); flex: 1; margin-bottom: 1rem; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; }
.blog-date { display: flex; align-items: center; gap: .3rem; font-size: .8rem; color: var(--color-text-muted); }
.blog-read-more { display: flex; align-items: center; gap: .25rem; font-size: .875rem; font-weight: 600; color: var(--color-primary); transition: gap var(--transition); }
.blog-card:hover .blog-read-more { gap: .5rem; }

/* ==========================================================================
   PLANES / PRECIOS
   ========================================================================== */
.plans-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.plan-card {
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.plan-card:hover { box-shadow: var(--shadow-lg); }
.plan-card.popular {
  border-color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 5%, white);
  box-shadow: var(--shadow-md);
}
.plan-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: white;
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .875rem;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-name { font-size: 1.25rem; font-weight: 700; margin-bottom: .25rem; }
.plan-price { font-size: 1.75rem; font-weight: 800; color: var(--color-primary); margin-bottom: 1.25rem; }
.plan-features { display: flex; flex-direction: column; gap: .6rem; }
.plan-feature {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--color-text-muted);
}
.plan-feature svg { width: 1rem; height: 1rem; color: var(--color-primary); flex-shrink: 0; }

/* ==========================================================================
   FORMULARIOS
   ========================================================================== */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .875rem; font-weight: 600; color: var(--color-text); margin-bottom: .4rem; }
.form-control {
  width: 100%;
  padding: .625rem .875rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: white;
  color: var(--color-text);
  font-size: .9375rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 15%, transparent);
}
.form-control::placeholder { color: var(--color-text-muted); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }

.form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-row.cols-2 { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
  background: var(--color-primary);
  padding-block: var(--section-py);
  text-align: center;
}
.cta-section h2 { color: white; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,.8); margin-bottom: 2rem; font-size: 1.0625rem; }

/* ==========================================================================
   GOOGLE ADSENSE SLOTS
   Nota: reemplaza data-ad-client y data-ad-slot con tus valores reales
   ========================================================================== */

/* Leaderboard 728x90 — debajo del nav */
.ad-slot-leaderboard {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100px;
  padding: .5rem 0;
  background: #f9fafb;
}
/* Medium Rectangle 300x250 — sidebar */
.ad-slot-medium-rect {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 270px;
  padding: .75rem;
  background: #f9fafb;
  border-radius: var(--radius-md);
}
/* Large Rectangle 336x280 — final de artículo */
.ad-slot-large-rect {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  padding: 1rem;
  background: #f9fafb;
  border-radius: var(--radius-md);
  margin-block: 2rem;
}
/* Skyscraper 300x600 — sidebar amplio */
.ad-slot-skyscraper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 620px;
  padding: .75rem;
  background: #f9fafb;
  border-radius: var(--radius-md);
}
/* In-feed ad (entre resultados directorio) */
.ad-slot-infeed {
  border-radius: var(--radius-md);
  border: 1px dashed var(--color-border);
  background: #f9fafb;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90px;
}

/* Spacing de seguridad alrededor de anuncios (política AdSense) */
.ad-slot-leaderboard,
.ad-slot-medium-rect,
.ad-slot-large-rect,
.ad-slot-skyscraper,
.ad-slot-infeed {
  margin-block: 1.25rem;
}

/* Anuncios adaptativos (responsive) — SIEMPRE usa tipo adaptativo en AdSense */
.adsbygoogle { display: block; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  padding-block: 3.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.footer-brand { max-width: 260px; }
.footer-brand p { font-size: .875rem; margin-top: .75rem; }

.footer-nav-title { font-size: .875rem; font-weight: 700; color: var(--color-text); margin-bottom: .75rem; }
.footer-nav li + li { margin-top: .5rem; }
.footer-nav a { font-size: .875rem; color: var(--color-text-muted); transition: color var(--transition); }
.footer-nav a:hover { color: var(--color-primary); }

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: .8125rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   FILTROS DIRECTORIO
   ========================================================================== */
.directory-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.75rem;
}

.filter-search {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: .5rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: white;
  padding: .4rem .875rem;
}
.filter-search svg { width: 1rem; height: 1rem; color: var(--color-text-muted); flex-shrink: 0; }
.filter-search input { border: none; outline: none; background: transparent; flex: 1; font-size: .9375rem; color: var(--color-text); }

.view-toggle {
  display: flex;
  gap: .25rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: .25rem;
  background: white;
}

/* ==========================================================================
   MAP PLACEHOLDER
   ========================================================================== */
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 24rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-muted);
  text-align: center;
  gap: .75rem;
}
.map-placeholder svg { width: 3rem; height: 3rem; opacity: .5; }

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8125rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--color-primary); transition: opacity var(--transition); }
.breadcrumb a:hover { opacity: .8; }
.breadcrumb-sep { opacity: .5; }

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-in-up  { animation: fadeInUp  .6s ease both; }
.animate-fade-in     { animation: fadeIn    .3s ease both; }

/* Stagger para grids */
.business-grid .business-card:nth-child(1) { animation-delay: .05s; }
.business-grid .business-card:nth-child(2) { animation-delay: .10s; }
.business-grid .business-card:nth-child(3) { animation-delay: .15s; }

/* ==========================================================================
   NOTICE / ALERT
   ========================================================================== */
.notice {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 8%, white);
  color: var(--color-text);
  font-size: .9375rem;
  margin-bottom: 1.5rem;
}
.notice.success { border-color: #22c55e; background: #f0fdf4; }
.notice.error   { border-color: #ef4444; background: #fef2f2; }

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary) !important; }
.text-muted  { color: var(--color-text-muted) !important; }
.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.py-4 { padding-block: 1rem; }
.gap-2 { gap: .5rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ── Botones de contacto rápido en cards del directorio ──────────── */
.business-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  margin-top: .875rem;
  padding-top: .875rem;
  border-top: 1px solid var(--color-border);
}
.business-card-actions:has(.bca-btn:only-child) {
  grid-template-columns: 1fr;
}
.bca-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .5rem .625rem;
  border-radius: var(--radius-sm);
  font-size: .8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  line-height: 1;
}
.bca-btn--call {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1.5px solid #bfdbfe;
}
.bca-btn--call:hover {
  background: #1d4ed8;
  color: white;
  border-color: #1d4ed8;
}
.bca-btn--whatsapp {
  background: #f0fdf4;
  color: #15803d;
  border: 1.5px solid #bbf7d0;
}
.bca-btn--whatsapp:hover {
  background: #25d366;
  color: white;
  border-color: #25d366;
}
/* En mobile los botones son más fáciles de tocar */
@media (max-width: 480px) {
  .bca-btn { padding: .625rem .5rem; font-size: .875rem; }
}
