/* ==========================================================================
   ConectaLocalMX — "Neon Atlas"
   Portal nacional de negocios locales · Diseño futurista
   ========================================================================== */

:root {
  --bg: #04060d;
  --bg-2: #070b16;
  --panel: rgba(13, 20, 36, .55);
  --panel-solid: #0c1322;
  --stroke: rgba(148, 197, 255, .14);
  --stroke-2: rgba(148, 197, 255, .28);
  --text: #eaf2ff;
  --muted: #93a4c3;
  --teal: #2dd4bf;
  --cyan: #22d3ee;
  --blue: #60a5fa;
  --gold: #f5c451;
  --violet: #a78bfa;
  --rose: #fb7185;
  --grad: linear-gradient(100deg, #2dd4bf 0%, #22d3ee 35%, #60a5fa 65%, #a78bfa 100%);
  --grad-gold: linear-gradient(100deg, #f5c451, #fbbf24, #f59e0b);
  --shadow: 0 24px 80px rgba(0, 0, 0, .55);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1240px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(45, 212, 191, .35); color: #fff; }

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

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; position: relative; z-index: 2; }

/* ---------- Fondo animado ---------- */
.bg-layer { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55;
  will-change: transform;
}
.aurora.a1 { width: 620px; height: 620px; left: -12%; top: -18%; background: radial-gradient(circle, rgba(45,212,191,.55), transparent 65%); animation: drift 22s ease-in-out infinite alternate; }
.aurora.a2 { width: 720px; height: 720px; right: -18%; top: 4%; background: radial-gradient(circle, rgba(96,165,250,.45), transparent 65%); animation: drift 28s ease-in-out infinite alternate-reverse; }
.aurora.a3 { width: 540px; height: 540px; left: 30%; bottom: -22%; background: radial-gradient(circle, rgba(167,139,250,.4), transparent 65%); animation: drift 26s ease-in-out infinite alternate; }
.aurora.a4 { width: 380px; height: 380px; right: 18%; bottom: 6%; background: radial-gradient(circle, rgba(245,196,81,.25), transparent 65%); animation: drift 19s ease-in-out infinite alternate-reverse; }
@keyframes drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(40px, 30px, 0) scale(1.08); }
  100% { transform: translate3d(-30px, 50px, 0) scale(.96); }
}

.grid-floor {
  position: absolute; left: -20%; right: -20%; bottom: -10%; height: 58vh;
  background-image:
    linear-gradient(rgba(96,165,250,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96,165,250,.14) 1px, transparent 1px);
  background-size: 54px 54px;
  transform: perspective(520px) rotateX(66deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.6) 45%, transparent 85%);
  animation: floorMove 14s linear infinite;
}
@keyframes floorMove { to { background-position: 0 54px, 54px 0; } }

.noise {
  position: absolute; inset: 0; opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}
#particles { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(4, 6, 13, .72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--stroke);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 78px; }

.brand { display: flex; align-items: center; gap: .8rem; }
.brand-logo {
  width: 46px; height: 46px; border-radius: 14px; object-fit: cover;
  border: 1px solid var(--stroke-2);
  box-shadow: 0 0 26px rgba(45,212,191,.35);
}
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.08rem; letter-spacing: -.03em; line-height: 1.1; }
.brand-name span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-sub { display: block; font-size: .58rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--muted); font-size: .9rem; font-weight: 500; position: relative; transition: color .25s; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad); border-radius: 2px; transition: width .3s ease;
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }
.nav .btn-nav {
  padding: .6rem 1.25rem; border-radius: 999px; color: #04121a; font-weight: 800; font-size: .84rem;
  background: var(--grad); box-shadow: 0 0 26px rgba(45,212,191,.35); transition: transform .25s, box-shadow .25s;
}
.nav .btn-nav:hover { transform: translateY(-2px); box-shadow: 0 0 38px rgba(45,212,191,.55); }
.nav .btn-nav::after { display: none; }

.menu-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 10.5rem 0 5.5rem; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal); background: rgba(45,212,191,.08);
  border: 1px solid rgba(45,212,191,.28); padding: .45rem 1rem; border-radius: 999px;
  box-shadow: 0 0 30px rgba(45,212,191,.12);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.8); } }

.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 4.4rem); line-height: 1.02; letter-spacing: -.045em;
  margin: 1.4rem 0 1.2rem;
}
.hero h1 .line { display: block; }
.gradient-text {
  background: var(--grad); background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 220% center; } }

.rotator { display: inline-block; position: relative; min-width: 8.6ch; }
.rotator .word {
  display: inline-block; color: var(--gold);
  text-shadow: 0 0 30px rgba(245,196,81,.5);
  transition: opacity .32s ease, transform .32s ease, filter .32s ease;
}
.rotator .word.out { opacity: 0; transform: translateY(12px); filter: blur(4px); }

.hero p.lead { color: var(--muted); font-size: 1.06rem; max-width: 34rem; margin: 0 0 2rem; }
.hero p.lead strong { color: var(--text); font-weight: 600; }

/* Buscador */
.searchbar {
  display: flex; align-items: center; gap: .5rem;
  background: rgba(12, 19, 34, .8); border: 1px solid var(--stroke-2);
  border-radius: 16px; padding: .45rem .45rem .45rem 1rem; max-width: 620px;
  box-shadow: 0 0 0 1px rgba(45,212,191,.06), 0 20px 60px rgba(0,0,0,.45);
  backdrop-filter: blur(14px);
  transition: border-color .3s, box-shadow .3s;
}
.searchbar:focus-within { border-color: rgba(45,212,191,.55); box-shadow: 0 0 0 3px rgba(45,212,191,.12), 0 20px 60px rgba(0,0,0,.5); }
.searchbar .ico { color: var(--teal); font-size: 1.05rem; flex-shrink: 0; }
.searchbar input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  color: var(--text); font-size: .98rem; font-family: var(--font); padding: .65rem .2rem;
}
.searchbar input::placeholder { color: #5f7191; }
.searchbar button {
  border: 0; cursor: pointer; padding: .72rem 1.5rem; border-radius: 11px;
  background: var(--grad); color: #04121a; font-weight: 800; font-size: .9rem;
  transition: transform .2s, box-shadow .2s; flex-shrink: 0;
}
.searchbar button:hover { transform: translateY(-1px); box-shadow: 0 0 28px rgba(45,212,191,.45); }

.hero-stats { display: flex; gap: 2.4rem; margin-top: 2.4rem; }
.hero-stats strong {
  display: block; font-family: var(--display); font-size: 1.9rem; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -.03em;
}
.hero-stats span { font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }

/* Orbe / logo */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.orbit { position: absolute; inset: 0; display: grid; place-items: center; }
.orbit .ring {
  position: absolute; border-radius: 50%; border: 1px solid rgba(96,165,250,.18);
  animation: spin 22s linear infinite;
}
.orbit .r1 { width: 360px; height: 360px; border-top-color: rgba(45,212,191,.7); border-right-color: rgba(96,165,250,.4); }
.orbit .r2 { width: 440px; height: 440px; border-bottom-color: rgba(167,139,250,.5); animation-duration: 32s; animation-direction: reverse; }
.orbit .r3 { width: 520px; height: 520px; border-left-color: rgba(245,196,81,.28); animation-duration: 46s; }
@keyframes spin { to { transform: rotate(360deg); } }

.orb {
  width: 300px; height: 300px; border-radius: 50%; position: relative;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, rgba(45,212,191,.35), rgba(96,165,250,.16) 45%, rgba(4,6,13,.1) 70%);
  box-shadow: inset 0 0 80px rgba(45,212,191,.18), 0 0 120px rgba(45,212,191,.22);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
.orb::before {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  padding: 1px; background: conic-gradient(from 0deg, transparent, rgba(45,212,191,.8), transparent 40%, rgba(167,139,250,.8), transparent 75%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 9s linear infinite;
}
.orb img {
  width: 200px; height: 200px; border-radius: 50%; object-fit: cover;
  border: 1px solid rgba(255,255,255,.18); box-shadow: 0 0 60px rgba(45,212,191,.4);
  animation: float 7s ease-in-out infinite reverse;
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; padding: 1.1rem 0; border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke);
  background: rgba(7, 11, 22, .5); backdrop-filter: blur(6px);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item {
  display: flex; align-items: center; gap: .7rem; color: var(--muted);
  font-family: var(--display); font-weight: 600; letter-spacing: .02em; white-space: nowrap; font-size: .92rem;
}
.marquee-item img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; opacity: .8; }
.marquee-item b { color: var(--text); font-weight: 600; }
.marquee-item .mcat { color: var(--teal); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }

/* ---------- Secciones ---------- */
.section { padding: 6rem 0; position: relative; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.4rem; flex-wrap: wrap; }
.kicker {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .7rem; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase; color: var(--teal); margin-bottom: .7rem;
}
.kicker::before { content: ""; width: 22px; height: 1px; background: var(--grad); }
.section-title { font-family: var(--display); font-size: clamp(1.9rem, 3.4vw, 2.9rem); letter-spacing: -.04em; line-height: 1.06; margin: 0; }
.section-sub { color: var(--muted); margin: .6rem 0 0; font-size: .98rem; max-width: 36rem; }

/* ---------- Panel de filtros ---------- */
.filters-panel {
  background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--radius);
  padding: 1.1rem; backdrop-filter: blur(18px); box-shadow: var(--shadow);
  margin-bottom: 2rem; position: relative; overflow: hidden;
}
.filters-panel::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(120deg, rgba(45,212,191,.5), transparent 30%, transparent 70%, rgba(167,139,250,.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.filters-row { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; }
.field { display: flex; flex-direction: column; gap: .3rem; flex: 1 1 180px; }
.field label { font-size: .62rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field select, .field input {
  width: 100%; background: rgba(4,6,13,.65); border: 1px solid var(--stroke-2);
  color: var(--text); padding: .7rem .9rem; border-radius: 11px; font-family: var(--font);
  font-size: .9rem; outline: none; transition: border-color .25s, box-shadow .25s;
}
.field select:focus, .field input:focus { border-color: rgba(45,212,191,.6); box-shadow: 0 0 0 3px rgba(45,212,191,.1); }
.field select option { background: #0c1322; color: var(--text); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--stroke); }
.chip {
  border: 1px solid var(--stroke-2); background: transparent; color: var(--muted);
  padding: .45rem .95rem; border-radius: 999px; font-size: .8rem; font-weight: 600;
  cursor: pointer; transition: all .25s; font-family: var(--font);
}
.chip:hover { color: var(--text); border-color: rgba(45,212,191,.5); }
.chip.active { background: rgba(45,212,191,.12); color: var(--teal); border-color: rgba(45,212,191,.6); box-shadow: 0 0 20px rgba(45,212,191,.15); }

.results-bar { display: flex; justify-content: space-between; align-items: center; margin: 0 0 1.4rem; gap: 1rem; flex-wrap: wrap; }
.results-bar .count { color: var(--muted); font-size: .88rem; }
.results-bar .count b { color: var(--teal); }
.clear-btn { background: none; border: 0; color: var(--muted); font-size: .82rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.clear-btn:hover { color: var(--text); }

/* ---------- Grid de tarjetas ---------- */
.negocios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }

.card {
  position: relative; border-radius: var(--radius); padding: 1.5rem 1.3rem 1.3rem;
  background: linear-gradient(160deg, rgba(17, 27, 47, .85), rgba(8, 12, 22, .9));
  border: 1px solid var(--stroke); overflow: hidden;
  transform-style: preserve-3d; will-change: transform;
  transition: transform .18s ease-out, border-color .3s, box-shadow .3s;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
html.js .card { opacity: 0; transform: translateY(24px); }
html.js .card.visible { opacity: 1; transform: translateY(0); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.card:hover { border-color: rgba(45,212,191,.45); box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 40px rgba(45,212,191,.08); }
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(45,212,191,.6), transparent 35%, transparent 65%, rgba(167,139,250,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card .glow {
  position: absolute; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(45,212,191,.18), transparent 65%);
  top: -80px; right: -80px; pointer-events: none; transition: opacity .3s;
  opacity: .5;
}
.card:hover .glow { opacity: 1; }

.badge-new {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  font-size: .56rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase;
  color: #1a1300; background: var(--grad-gold); padding: .22rem .6rem; border-radius: 999px;
  box-shadow: 0 0 18px rgba(245,196,81,.4);
}

.logo-wrap {
  width: 96px; height: 96px; border-radius: 50%; padding: 3px;
  background: conic-gradient(from 0deg, rgba(45,212,191,.7), rgba(96,165,250,.4), rgba(167,139,250,.6), rgba(45,212,191,.7));
  margin-bottom: 1.1rem; transition: transform .35s;
  box-shadow: 0 0 30px rgba(45,212,191,.2);
}
.card:hover .logo-wrap { transform: scale(1.06) rotate(3deg); }
.logo-wrap img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #0a101c; border: 2px solid #0a101c; }

.card h3 { font-family: var(--display); font-size: 1.08rem; letter-spacing: -.02em; margin: 0 0 .2rem; font-weight: 700; }
.card .cat { color: var(--teal); font-size: .74rem; font-weight: 700; letter-spacing: .04em; margin: 0 0 .55rem; }
.card .loc { color: var(--muted); font-size: .74rem; margin: 0 0 1.1rem; display: inline-flex; align-items: center; gap: .35rem; }
.card .loc svg { width: 12px; height: 12px; flex-shrink: 0; }
.card .ver {
  margin-top: auto; display: inline-flex; align-items: center; gap: .45rem;
  font-size: .8rem; font-weight: 700; color: var(--text);
  border: 1px solid var(--stroke-2); padding: .5rem 1.05rem; border-radius: 999px;
  transition: all .25s; background: rgba(4,6,13,.4);
}
.card .ver:hover { background: rgba(45,212,191,.12); color: var(--teal); border-color: rgba(45,212,191,.6); }
.card .ver .arrow { transition: transform .25s; }
.card:hover .ver .arrow { transform: translateX(4px); }

/* ---------- Mapa estilizado ---------- */
.map-wrap {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: center;
  background: var(--panel); border: 1px solid var(--stroke); border-radius: 28px;
  padding: 2.5rem; backdrop-filter: blur(18px); box-shadow: var(--shadow); overflow: hidden;
  position: relative;
}
.map-wrap::after {
  content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -160px;
  background: radial-gradient(circle, rgba(45,212,191,.16), transparent 65%); filter: blur(10px);
}
.map-svg { width: 100%; height: auto; position: relative; z-index: 1; }
.map-svg .estado { fill: rgba(45,212,191,.07); stroke: rgba(45,212,191,.55); stroke-width: 1.4; }
.map-svg .estado-2 { fill: rgba(96,165,250,.05); stroke: rgba(96,165,250,.28); stroke-width: 1; }
.map-svg .marker { fill: var(--gold); }
.map-svg .marker-ring { fill: none; stroke: var(--gold); stroke-width: 1.2; opacity: .8; animation: ringPulse 2.6s ease-out infinite; transform-origin: center; }
@keyframes ringPulse { 0% { r: 6; opacity: .8; } 100% { r: 22; opacity: 0; } }
.map-caption { color: var(--muted); font-size: .84rem; margin-top: 1rem; }

.map-legend { position: relative; z-index: 1; }
.map-legend h3 { font-family: var(--display); font-size: 1.5rem; margin: 0 0 .6rem; letter-spacing: -.02em; }
.map-legend p { color: var(--muted); margin: 0 0 1.4rem; font-size: .94rem; }
.muni-list { display: flex; flex-direction: column; gap: .6rem; }
.muni-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem .9rem; border: 1px solid var(--stroke); border-radius: 12px;
  background: rgba(4,6,13,.4); transition: border-color .25s, background .25s;
}
.muni-row:hover { border-color: rgba(45,212,191,.45); background: rgba(45,212,191,.06); }
.muni-row .name { font-weight: 600; font-size: .9rem; }
.muni-row .n { color: var(--teal); font-weight: 800; font-size: .82rem; }
.muni-row .bar { flex: 1; height: 4px; border-radius: 4px; background: rgba(148,197,255,.1); overflow: hidden; max-width: 130px; }
.muni-row .bar i { display: block; height: 100%; background: var(--grad); border-radius: 4px; }

/* ---------- CTA ---------- */
.cta-panel {
  position: relative; border-radius: 30px; padding: 3.5rem; overflow: hidden;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(45,212,191,.22), transparent 60%),
    radial-gradient(600px 300px at 90% 100%, rgba(96,165,250,.2), transparent 60%),
    #0a1220;
  border: 1px solid var(--stroke-2);
  display: grid; grid-template-columns: 1.35fr .65fr; gap: 2rem; align-items: center;
  box-shadow: var(--shadow);
}
.cta-panel h2 { font-family: var(--display); font-size: clamp(1.8rem, 3.4vw, 2.8rem); letter-spacing: -.04em; line-height: 1.08; margin: 0 0 .8rem; }
.cta-panel h2 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-panel p { color: var(--muted); margin: 0; max-width: 34rem; }
.cta-actions { display: flex; flex-direction: column; gap: .8rem; align-items: stretch; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.5rem; border-radius: 14px; font-weight: 800; font-size: .95rem;
  background: var(--grad); color: #04121a; box-shadow: 0 0 34px rgba(45,212,191,.3);
  transition: transform .25s, box-shadow .25s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 48px rgba(45,212,191,.5); }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.5rem; border-radius: 14px; font-weight: 700; font-size: .9rem;
  border: 1px solid var(--stroke-2); color: var(--text); transition: all .25s;
}
.btn-ghost:hover { border-color: rgba(45,212,191,.5); color: var(--teal); background: rgba(45,212,191,.06); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--stroke); margin-top: 4rem; padding: 4rem 0 2rem; background: rgba(4,6,13,.6); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem; }
.footer-brand img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; border: 1px solid var(--stroke-2); }
.footer-brand strong { font-family: var(--display); font-size: 1.02rem; }
.site-footer p { color: var(--muted); font-size: .86rem; max-width: 26rem; }
.site-footer h4 { font-size: .68rem; text-transform: uppercase; letter-spacing: .2em; color: var(--text); margin: 0 0 .9rem; font-weight: 800; }
.site-footer a { display: block; color: var(--muted); font-size: .86rem; padding: .24rem 0; transition: color .2s; }
.site-footer a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid var(--stroke); margin-top: 3rem; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .78rem; color: #5f7191; }

/* ---------- Página de negocio ---------- */
.biz-hero { padding: 9rem 0 3rem; position: relative; }
.biz-hero-inner { display: flex; align-items: center; gap: 1.8rem; flex-wrap: wrap; }
.biz-logo-ring {
  width: 150px; height: 150px; border-radius: 50%; padding: 3px;
  background: conic-gradient(from 0deg, rgba(45,212,191,.8), rgba(96,165,250,.4), rgba(167,139,250,.7), rgba(45,212,191,.8));
  box-shadow: 0 0 50px rgba(45,212,191,.25);
}
.biz-logo-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #0a101c; border: 3px solid #0a101c; }
.biz-hero h1 { font-family: var(--display); font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.04em; margin: 0 0 .3rem; }
.biz-hero .cat { color: var(--teal); font-weight: 700; font-size: .86rem; letter-spacing: .04em; }
.biz-hero .loc { color: var(--muted); font-size: .88rem; margin-top: .4rem; }

.biz-body { padding: 2rem 0 4rem; }
.biz-card {
  background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--radius);
  padding: 2.4rem; box-shadow: var(--shadow); max-width: 820px; backdrop-filter: blur(18px);
}
.biz-card h2 { font-family: var(--display); font-size: 1.5rem; margin: 0 0 .7rem; letter-spacing: -.02em; }
.biz-card p { color: var(--muted); }
.biz-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.biz-note { margin-top: 1.3rem; font-size: .78rem; color: #5f7191; }
.biz-note a { color: var(--teal); font-weight: 600; }

/* ---------- Reveal ---------- */
html.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
html.js .reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .negocios-grid { grid-template-columns: repeat(2, 1fr); }
  .map-wrap { grid-template-columns: 1fr; }
  .cta-panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .nav { display: none; }
  .nav.open {
    display: flex; position: absolute; top: 78px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 1.1rem;
    padding: 1.4rem 1.6rem; background: rgba(4,6,13,.96);
    border-bottom: 1px solid var(--stroke); backdrop-filter: blur(18px);
  }
  .menu-toggle { display: block; }
  .hero { padding: 8rem 0 3.5rem; }
  .hero-stats { gap: 1.4rem; }
  .negocios-grid { grid-template-columns: 1fr; }
  .cta-panel { padding: 2.2rem 1.6rem; }
  .map-wrap { padding: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .searchbar { flex-wrap: wrap; }
  .searchbar button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .card { opacity: 1 !important; transform: none !important; }
  .bg-layer { display: none; }
}
