/* ═══════════════════════════════════════════════════════════
   NEXO EMPRESARIAL — Sistema de diseño
   Ejecutivo · angular · alto contraste · oro como acento fino
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Superficies */
  --bg: #ffffff;
  --bg-soft: #f5f5f4;
  --bg-dark: #101317;

  /* Líneas */
  --line: #e2e2df;
  --line-strong: #c8c8c4;
  --line-dark: rgba(255, 255, 255, .12);

  /* Texto */
  --ink: #0f1216;
  --ink-2: #22262c;
  --muted: #5f6670;
  --faint: #949ba4;

  /* Marca */
  --gold: #a87d22;
  --gold-bright: #cfa03c;
  --gold-deep: #8c6616;

  /* Acento mínimo */
  --red: #b32a24;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-head: 'Archivo', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --radius: 3px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.66;
  font-size: .97rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
::selection { background: rgba(207, 160, 60, .28); }
a { color: inherit; }

/* ── Layout ───────────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 30px; }
section { position: relative; padding: 88px 0; }
section.alt-bg { background: var(--bg-soft); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 62px; align-items: center; }
.center { text-align: center; max-width: 700px; margin: 0 auto 50px; }

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; margin-bottom: 44px;
  padding-bottom: 22px; border-bottom: 1px solid var(--line);
}
.section-head > div:first-child { max-width: 660px; }
.section-head .lead { max-width: 350px; font-size: .93rem; }

/* ── Tipografía ───────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); }
h1 { font-weight: 700; letter-spacing: -.028em; }
h2 {
  font-weight: 700; font-size: clamp(1.7rem, 3.1vw, 2.25rem);
  line-height: 1.16; letter-spacing: -.024em; margin-bottom: 16px;
}
/* El acento de marca es una regla dorada, no cursiva */
h1 em, h2 em {
  font-style: normal; color: var(--ink);
  background-image: linear-gradient(var(--gold-bright), var(--gold-bright));
  background-repeat: no-repeat; background-position: 0 100%;
  background-size: 100% 3px; padding-bottom: 2px;
}
.eyebrow {
  font-size: .67rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--gold); }
.lead { color: var(--muted); font-size: 1rem; }
.body-text { color: var(--muted); margin-bottom: 16px; font-size: .95rem; }
.body-text strong { color: var(--ink); font-weight: 600; }

/* ── Botones ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: var(--radius);
  font-family: var(--font-body); font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: all .25s var(--ease); background: none; color: var(--ink); white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; }
.btn-gold { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-gold:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #94211c; }
.btn-sm { padding: 10px 16px; font-size: .72rem; }
.btn-lg { padding: 16px 32px; font-size: .82rem; }
.btn-full { width: 100%; }
.btn-nav { padding: 11px 20px; font-size: .72rem; margin-left: 4px; }

/* ── Barra superior ──────────────────────────────────────── */
.topbar {
  background: var(--bg-dark); color: rgba(255, 255, 255, .6);
  font-size: .74rem; letter-spacing: .02em;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-top: 8px; padding-bottom: 8px;
}
.topbar-item {
  display: inline-flex; align-items: center; gap: 7px;
  color: rgba(255, 255, 255, .6); text-decoration: none; font-weight: 500;
}
.topbar-item svg { width: 12px; height: 12px; color: var(--gold-bright); }
.topbar-item:hover { color: #fff; }
.topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar-wa { color: rgba(255, 255, 255, .85); font-weight: 600; }
.topbar-wa:hover { color: var(--gold-bright); }

/* ── Header ───────────────────────────────────────────────── */
#header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
#header.scrolled { box-shadow: 0 2px 20px -8px rgba(15, 18, 22, .18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; transition: height .3s var(--ease); }
#header.scrolled .header-inner { height: 64px; }

.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { height: 44px; width: auto; transition: height .3s var(--ease); }
#header.scrolled .brand-logo { height: 37px; }

#nav { display: flex; align-items: center; gap: 26px; }
#nav a {
  text-decoration: none; font-size: .8rem; font-weight: 600; color: var(--ink-2);
  letter-spacing: .04em; text-transform: uppercase;
  position: relative; transition: color .25s;
}
#nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px;
  background: var(--gold); transition: width .3s var(--ease);
}
#nav a:not(.btn):hover { color: var(--ink); }
#nav a:not(.btn):hover::after, #nav a.active::after { width: 100%; }
#nav a.active { color: var(--ink); }
#nav a.btn-gold { color: #fff; letter-spacing: .1em; }

#menu-toggle {
  display: none; flex-direction: column; gap: 5px; padding: 10px;
  background: none; border: 0; cursor: pointer; z-index: 110;
}
#menu-toggle span { width: 23px; height: 2px; background: var(--ink); transition: all .3s var(--ease); }
#menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#menu-toggle.open span:nth-child(2) { opacity: 0; }
#menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { padding: 70px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 58px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.1vw, 3.15rem); line-height: 1.08; margin-bottom: 22px; }
.hero .lead { margin-bottom: 30px; font-size: 1.02rem; max-width: 505px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }

.hero-checks { list-style: none; display: flex; gap: 22px; margin-top: 32px; flex-wrap: wrap; }
.hero-checks li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.hero-checks li::before {
  content: ''; width: 14px; height: 14px; flex-shrink: 0;
  border: 1px solid var(--gold); border-radius: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a87d22' stroke-width='3.6'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E");
  background-size: 9px; background-position: center; background-repeat: no-repeat;
}

.hero-visual { position: relative; }
.hero-photo { overflow: hidden; border: 1px solid var(--line-strong); }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3.15; object-fit: cover; }

.hero-card {
  position: absolute; left: -26px; bottom: 40px;
  background: #fff; border: 1px solid var(--ink); border-left: 3px solid var(--gold-bright);
  padding: 16px 20px; max-width: 205px;
}
.hero-card-num {
  font-family: var(--font-head); font-weight: 700; font-size: 1.9rem;
  color: var(--ink); display: block; line-height: 1; letter-spacing: -.03em;
}
.hero-card-num::after { content: '+'; color: var(--gold); }
.hero-card-label {
  font-size: .67rem; color: var(--muted); line-height: 1.5; display: block; margin-top: 6px;
  letter-spacing: .04em; text-transform: uppercase; font-weight: 600;
}
.hero-card-2 { left: auto; right: -20px; top: 28px; bottom: auto; max-width: 196px; border-left: 3px solid var(--red); }
.hero-card-pill {
  display: inline-block; background: none; border: 1px solid var(--line-strong);
  color: var(--gold-deep); font-size: .58rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 1px; margin-bottom: 7px;
}

/* Franja de sectores */
.hero-strip { margin-top: 70px; padding: 26px 0 32px; border-top: 1px solid var(--line); }
.strip-label {
  text-align: center; font-size: .64rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--faint); font-weight: 600; margin-bottom: 18px;
}
.logos-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos-track { display: flex; gap: 10px; width: max-content; animation: marquee 46s linear infinite; }
.logos-track:hover { animation-play-state: paused; }
.logo-chip {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  border: 1px solid var(--line); border-radius: 2px;
  padding: 7px 16px 7px 8px; background: #fff; transition: border-color .3s;
}
.logo-chip:hover { border-color: var(--line-strong); }
.logo-chip .lg {
  width: 26px; height: 26px; border-radius: 1px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: .63rem; color: #fff;
  background: var(--ec, var(--ink));
}
.logo-chip span { font-size: .78rem; font-weight: 500; color: var(--ink-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Estadísticas ─────────────────────────────────────────── */
.stats-band { background: var(--bg-dark); padding: 46px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: left; padding: 4px 0 4px 20px; border-left: 1px solid var(--line-dark); }
.stat-num {
  font-family: var(--font-head); font-weight: 700; font-size: 2.6rem;
  color: #fff; display: block; line-height: 1; letter-spacing: -.035em;
}
.stat-num::after { content: '+'; color: var(--gold-bright); font-size: 1.4rem; }
.stat-label {
  font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255, 255, 255, .55); font-weight: 600; margin-top: 10px; display: block;
}

/* ── Visión / Misión ──────────────────────────────────────── */
.vm-list { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.vm-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.vm-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border: 1px solid var(--line-strong); color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
}
.vm-icon svg { width: 20px; height: 20px; }
.vm-item h3 {
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 8px;
}
.vm-item p { color: var(--muted); font-size: .9rem; }

/* ── Marco de foto ────────────────────────────────────────── */
.photo-frame { position: relative; border: 1px solid var(--line-strong); overflow: hidden; }
.photo-frame img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.photo-frame figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(15, 18, 22, .88), transparent);
  color: #fff; font-size: .78rem; font-weight: 500; letter-spacing: .03em;
  padding: 48px 22px 18px;
}

/* ── Motores ──────────────────────────────────────────────── */
.motores-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.motor {
  padding: 30px 26px 32px; border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line); transition: background .3s var(--ease);
}
.motor:nth-child(3n) { border-right: 0; }
.motor:hover { background: #fff; }
.motor-icon {
  width: 42px; height: 42px; margin-bottom: 18px;
  border: 1px solid var(--line-strong); color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s var(--ease);
}
.motor-icon svg { width: 20px; height: 20px; }
.motor:hover .motor-icon { background: var(--ink); border-color: var(--ink); color: var(--gold-bright); }
.motor h3 { font-size: .95rem; font-weight: 700; margin-bottom: 7px; letter-spacing: -.005em; }
.motor p { font-size: .86rem; color: var(--muted); }
.motor-wide { grid-column: 1 / -1; display: flex; gap: 22px; align-items: flex-start; border-right: 0; }
.motor-wide .motor-icon { margin-bottom: 0; }
.motor-wide > div:last-child { flex: 1; }
.motor-wide p { max-width: 800px; }

/* ── Método ───────────────────────────────────────────────── */
.metodo-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.paso { padding: 26px 26px 26px 0; border-top: 2px solid var(--ink); }
.paso:nth-child(3n+2) { padding-left: 26px; }
.paso:nth-child(3n) { padding-left: 26px; padding-right: 0; }
.paso-num {
  font-family: var(--font-head); font-weight: 700; font-size: 1.5rem;
  letter-spacing: -.03em; color: var(--line-strong); display: block; margin-bottom: 12px;
}
.paso h3 { font-size: .98rem; font-weight: 700; margin-bottom: 7px; }
.paso p { font-size: .86rem; color: var(--muted); }

/* ── Radio ────────────────────────────────────────────────── */
.radio-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 58px; align-items: center; }
.radio-panel {
  background: linear-gradient(150deg, #1b2027, #101317 60%, #0a0d10);
  position: relative; aspect-ratio: 1; max-width: 430px; width: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-dark); overflow: hidden;
}
.mic-svg { width: 84%; height: 84%; }
.wave {
  fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1.2;
  transform-origin: 100px 100px;
  animation: wavePulse 3.2s ease-in-out infinite;
}
.w2 { animation-delay: .5s; stroke: rgba(207, 160, 60, .32); }
.w3 { animation-delay: 1s; }
@keyframes wavePulse {
  0%, 100% { transform: scale(.93); opacity: .35; }
  50% { transform: scale(1.04); opacity: 1; }
}
.radio-badge {
  position: absolute; top: 20px; left: 20px;
  background: var(--red); color: #fff;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .6rem; font-weight: 700; letter-spacing: .22em;
  padding: 6px 12px;
}
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.eq i { width: 2.5px; background: #fff; animation: eqB 1s ease-in-out infinite; }
.eq i:nth-child(1) { height: 60%; }
.eq i:nth-child(2) { height: 100%; animation-delay: .2s; }
.eq i:nth-child(3) { height: 45%; animation-delay: .35s; }
.eq i:nth-child(4) { height: 80%; animation-delay: .5s; }
@keyframes eqB { 0%, 100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }

.radio-mark {
  position: absolute; bottom: 18px; right: 18px;
  width: 108px; border: 1px solid var(--line-dark);
}

.radio-list { list-style: none; display: grid; gap: 0; margin-top: 26px; border-top: 1px solid var(--line); }
.radio-list li {
  display: flex; gap: 15px; align-items: flex-start;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.rl-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  border: 1px solid var(--line-strong); color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
}
.rl-icon svg { width: 18px; height: 18px; }
.radio-list strong {
  display: block; font-size: .76rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 3px;
}
.radio-list span:not(.rl-icon) { font-size: .85rem; color: var(--muted); }

/* ── Directorio ───────────────────────────────────────────── */
.demo-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .7rem; color: var(--muted); font-weight: 600;
  letter-spacing: .04em; border: 1px solid var(--line-strong);
  padding: 8px 14px; white-space: nowrap;
}
.demo-tag svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--gold); }

.dir-toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.search-wrap { position: relative; display: flex; align-items: center; }
.search-wrap svg { position: absolute; left: 14px; width: 15px; height: 15px; color: var(--faint); pointer-events: none; }
.search-wrap input {
  padding: 12px 18px 12px 40px; border-radius: var(--radius); width: 285px;
  background: #fff; border: 1px solid var(--line-strong);
  color: var(--ink); font-family: var(--font-body); font-size: .87rem;
  outline: none; transition: border-color .2s;
}
.search-wrap input:focus { border-color: var(--ink); }
.search-wrap input::placeholder { color: var(--faint); }

.filtros { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.chip {
  padding: 9px 14px; border-radius: var(--radius); font-size: .68rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  background: #fff; border: 1px solid var(--line);
  color: var(--muted); cursor: pointer; font-family: var(--font-body);
  transition: all .2s var(--ease);
}
.chip:hover { color: var(--ink); border-color: var(--line-strong); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .count { opacity: .5; font-size: .72em; margin-left: 3px; }

.admin-bar[hidden] { display: none; }
.admin-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: var(--bg-dark); padding: 16px 20px; margin-bottom: 20px; flex-wrap: wrap;
  border-left: 3px solid var(--gold-bright);
}
.admin-bar p { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: rgba(255,255,255,.68); }
.admin-bar p strong { color: #fff; }
.admin-bar svg { width: 16px; height: 16px; color: var(--gold-bright); flex-shrink: 0; }
.admin-bar-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-bar .btn-gold { background: var(--gold-bright); border-color: var(--gold-bright); color: #101317; }
.admin-bar .btn-gold:hover { background: #fff; border-color: #fff; }
.admin-bar .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.admin-bar .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }

.empresas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.empresa-card {
  background: #fff; padding: 24px; cursor: pointer;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .25s var(--ease); position: relative;
  animation: cardIn .4s var(--ease) backwards;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } }
.empresa-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0;
  background: var(--gold-bright); transition: height .3s var(--ease);
}
.empresa-card:hover { background: var(--bg-soft); }
.empresa-card:hover::before { height: 100%; }

.empresa-top { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.empresa-logo {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  color: #fff; background: var(--ec, var(--ink)); border-radius: 2px;
}
.empresa-top h3 { font-size: .92rem; font-weight: 700; line-height: 1.3; letter-spacing: -.005em; }
.empresa-cat {
  font-size: .62rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--faint); font-weight: 600;
}
.empresa-desc {
  font-size: .84rem; color: var(--muted); margin-bottom: 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.promo-pill {
  display: flex; align-items: flex-start; gap: 8px;
  border: 1px solid var(--line-strong); border-left: 2px solid var(--gold);
  padding: 9px 12px; font-size: .76rem; color: var(--ink-2); font-weight: 500;
}
.promo-pill svg { width: 13px; height: 13px; flex-shrink: 0; color: var(--gold); margin-top: 3px; }
.promo-pill.sin-promo { border-left-color: var(--line-strong); color: var(--faint); }
.promo-pill.sin-promo svg { color: var(--faint); }

.empresa-admin {
  display: none; gap: 8px; margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line);
}
body.admin-mode .empresa-admin { display: flex; }
.mini-btn {
  flex: 1; padding: 8px 12px; border-radius: 2px; font-size: .68rem; font-weight: 700;
  font-family: var(--font-body); cursor: pointer; transition: all .2s;
  letter-spacing: .08em; text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink);
}
.mini-btn svg { width: 12px; height: 12px; }
.mini-btn.edit:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.mini-btn.del:hover { border-color: var(--red); background: var(--red); color: #fff; }

.empresa-add {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; min-height: 196px; border: 1px dashed var(--line-strong);
  color: var(--muted); cursor: pointer;
  font-family: var(--font-body); font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  background: none; transition: all .25s;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
body.admin-mode .empresa-add { display: flex; }
.empresa-add:hover { border-color: var(--gold); color: var(--gold-deep); background: var(--bg-soft); }
.empresa-add .plus {
  width: 40px; height: 40px; border: 1px solid currentColor;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 300;
}
.sin-resultados { text-align: center; color: var(--muted); padding: 52px 0; font-size: .9rem; }

/* ── Detalle (modal) ──────────────────────────────────────── */
.det-header { display: flex; gap: 18px; align-items: center; margin-bottom: 16px; }
.det-header .empresa-logo { width: 56px; height: 56px; font-size: 1.2rem; }
.det-header h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
.det-desc { color: var(--muted); margin-bottom: 18px; font-size: .92rem; }
.det-promo { border: 1px solid var(--line-strong); border-left: 3px solid var(--gold); padding: 15px 18px; margin-bottom: 18px; }
.det-promo strong { color: var(--ink); font-size: .95rem; font-weight: 700; }
.det-promo small { color: var(--muted); display: block; margin-top: 5px; }
.det-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: .84rem; margin-bottom: 22px; }
.det-meta span { display: inline-flex; align-items: center; gap: 7px; }
.det-meta svg { width: 14px; height: 14px; color: var(--gold); }
.det-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Eventos ──────────────────────────────────────────────── */
.eventos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.evento {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; background: #fff; transition: background .25s;
}
.evento:hover { background: var(--bg-soft); }
.evento-photo { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); }
.evento-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.evento:hover .evento-photo img { transform: scale(1.04); }
.evento-body { padding: 22px 22px 24px; }
.ev-fecha {
  display: inline-flex; align-items: baseline; gap: 6px; margin-bottom: 12px;
  font-family: var(--font-head);
}
.ev-dia { font-weight: 700; font-size: 1.3rem; letter-spacing: -.03em; color: var(--ink); }
.ev-mes {
  font-size: .64rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 700;
}
.ev-tag {
  display: inline-block; font-size: .6rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line-strong);
  padding: 3px 9px; margin-bottom: 12px; margin-left: 8px;
}
.evento h3 { font-size: .98rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -.005em; }
.evento p { font-size: .84rem; color: var(--muted); }
.ev-meta {
  font-size: .68rem !important; color: var(--faint) !important; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; margin-top: 12px;
}

/* ── Precios ──────────────────────────────────────────────── */
.precios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); align-items: stretch; }
.precio-card {
  padding: 34px 30px; display: flex; flex-direction: column;
  border-right: 1px solid var(--line); position: relative;
}
.precio-card:last-child { border-right: 0; }
.precio-card.destacado { background: var(--bg-soft); }
.precio-card.destacado::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold-bright);
}
.precio-badge {
  position: absolute; top: 0; right: 0;
  background: var(--ink); color: #fff;
  font-size: .58rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 12px;
}
.precio-label {
  font-size: .64rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin-bottom: 14px;
}
.precio-num {
  font-family: var(--font-head); font-size: 2.5rem; font-weight: 700;
  color: var(--ink); line-height: 1; margin-bottom: 10px; letter-spacing: -.04em;
}
.precio-cur { font-size: .72rem; color: var(--muted); font-family: var(--font-body); font-weight: 600; margin-left: 7px; letter-spacing: .08em; text-transform: uppercase; }
.precio-desc { color: var(--muted); font-size: .86rem; margin-bottom: 20px; }
.precio-list { list-style: none; }
.precio-list li {
  padding: 10px 0 10px 22px; font-size: .85rem; color: var(--ink-2);
  border-top: 1px solid var(--line); position: relative;
}
.precio-list li::before {
  content: ''; position: absolute; left: 0; top: 15px;
  width: 10px; height: 5px;
  border-left: 1.6px solid var(--gold); border-bottom: 1.6px solid var(--gold);
  transform: rotate(-45deg);
}
.precio-beneficios { font-size: .9rem; line-height: 1.85; }
.precio-card .btn { margin-top: auto; }
.precio-beneficios { margin-bottom: 0; }

/* ── Testimonios ──────────────────────────────────────────── */
.testimonios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 54px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.testimonio {
  padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: #fff;
}
.testimonio blockquote {
  font-size: .92rem; line-height: 1.7; color: var(--ink-2); margin-bottom: 20px;
  padding-left: 16px; border-left: 2px solid var(--gold-bright);
}
.testimonio figcaption { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 36px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: .72rem;
  color: #fff; background: var(--ink); border-radius: 2px;
}
.testimonio figcaption span:last-child { font-size: .72rem; color: var(--muted); line-height: 1.45; letter-spacing: .02em; }
.testimonio figcaption strong { display: block; font-size: .84rem; color: var(--ink); font-weight: 700; }

/* ── CTA ──────────────────────────────────────────────────── */
.cta-band { background: var(--bg-dark); padding: 60px 0; border-top: 3px solid var(--gold-bright); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.5rem, 2.8vw, 2.05rem); }
.cta-band h2 em { color: var(--gold-bright); background-image: none; }
.cta-band p { color: rgba(255, 255, 255, .62); font-size: .95rem; }
.cta-band .btn-gold { background: var(--gold-bright); border-color: var(--gold-bright); color: #101317; }
.cta-band .btn-gold:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* ── Contacto ─────────────────────────────────────────────── */
.contact-list { list-style: none; margin-top: 24px; border-top: 1px solid var(--line); }
.contact-list li {
  display: flex; align-items: center; gap: 14px; padding: 14px 0;
  color: var(--muted); font-size: .88rem; border-bottom: 1px solid var(--line);
}
.contact-list svg { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--gold-deep); }
.contact-photo { margin-top: 26px; border: 1px solid var(--line-strong); }
.contact-photo img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }

.contact-form {
  background: #fff; border: 1px solid var(--line); padding: 34px; display: grid; gap: 16px;
  border-top: 3px solid var(--ink);
}
.form-title {
  font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-form label, .empresa-form label {
  font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); display: grid; gap: 7px;
}
.contact-form input, .contact-form select, .contact-form textarea,
.empresa-form input, .empresa-form textarea {
  padding: 12px 14px; border-radius: 2px; font-family: var(--font-body);
  font-size: .9rem; color: var(--ink); width: 100%;
  background: #fff; border: 1px solid var(--line-strong);
  outline: none; transition: border-color .2s; resize: vertical;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus,
.empresa-form input:focus, .empresa-form textarea:focus { border-color: var(--ink); }
.contact-form select { appearance: none; }
.form-note { font-size: .72rem; color: var(--faint); text-align: center; }

/* ── Footer ───────────────────────────────────────────────── */
footer { background: var(--bg-dark); padding: 54px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .9fr .8fr; gap: 40px; padding-bottom: 42px; }
.footer-logo { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.footer-logo svg { width: 22px; height: 22px; }
.footer-brand strong {
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 700;
  color: #fff; letter-spacing: .02em;
}
.footer-brand strong span { color: var(--gold-bright); font-weight: 400; }
.footer-brand em {
  display: block; font-family: var(--font-serif); font-size: .84rem;
  color: var(--gold-bright); margin-bottom: 14px; font-style: normal;
}
.footer-brand p { font-size: .82rem; color: rgba(255, 255, 255, .48); max-width: 285px; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col h4 {
  color: #fff; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 6px; font-weight: 700;
}
.footer-col a { font-size: .84rem; color: rgba(255, 255, 255, .55); text-decoration: none; transition: color .25s; width: fit-content; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-col span { font-size: .84rem; color: rgba(255, 255, 255, .55); line-height: 1.7; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  border-top: 1px solid var(--line-dark); padding-top: 20px; padding-bottom: 20px;
}
.footer-copy { font-size: .72rem; color: rgba(255, 255, 255, .35); letter-spacing: .04em; }

/* ── WhatsApp + volver arriba ─────────────────────────────── */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 150;
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25D366; color: #fff; text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .45);
  transition: transform .3s var(--ease), background .3s;
  animation: waPulse 2.4s ease-in-out infinite;
}
.wa-float > svg { width: 26px; height: 26px; }
.wa-float:hover { transform: scale(1.1); background: #1ebe5d; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, .4); }
  50% { box-shadow: 0 4px 32px rgba(37, 211, 102, .75); }
}

#back-top {
  position: fixed; bottom: 82px; right: 29px; z-index: 90;
  width: 34px; height: 34px; border-radius: 2px;
  background: #fff; border: 1px solid var(--line-strong); color: var(--ink);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: all .3s var(--ease);
}
#back-top svg { width: 16px; height: 16px; }
#back-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
#back-top:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── Modales ──────────────────────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 22px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15, 18, 22, .6); animation: fadeIn .2s; }
.modal-card {
  position: relative; width: 100%; max-width: 540px; max-height: 88vh; overflow: auto;
  background: #fff; padding: 34px; border-top: 3px solid var(--ink);
  box-shadow: 0 40px 90px -20px rgba(15, 18, 22, .5);
  animation: modalIn .3s var(--ease);
}
.modal-sm { max-width: 400px; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px); } }
.modal-x {
  position: absolute; top: 14px; right: 14px; width: 30px; height: 30px;
  border: 1px solid var(--line); background: #fff;
  color: var(--muted); cursor: pointer; font-size: .78rem; transition: all .2s;
}
.modal-x:hover { color: var(--ink); border-color: var(--ink); }
.modal-title {
  font-size: .84rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 20px;
}

/* ── Form empresa ─────────────────────────────────────────── */
.empresa-form { display: grid; gap: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row > *, .empresa-form label > *, .contact-form label > * { min-width: 0; }
.color-picker { display: flex; gap: 8px; flex-wrap: wrap; }
.color-dot {
  width: 28px; height: 28px; cursor: pointer; border: 1px solid transparent;
  transition: all .2s; background: var(--dot); border-radius: 2px;
}
.color-dot:hover { transform: scale(1.1); }
.color-dot.selected { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--dot); }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 5px; }

/* ── Toast ────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 86px; left: 50%; transform: translate(-50%, 14px);
  background: var(--ink); color: #fff; border-left: 3px solid var(--gold-bright);
  padding: 13px 22px; font-size: .84rem; font-weight: 500;
  box-shadow: 0 16px 44px -10px rgba(15, 18, 22, .5); z-index: 300;
  opacity: 0; pointer-events: none; transition: all .3s var(--ease);
  max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── Reveal ───────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .hero-card { left: -14px; }
  .hero-card-2 { right: -10px; }
}

@media (max-width: 960px) {
  section { padding: 64px 0; }
  .grid-2, .hero-grid, .radio-grid { grid-template-columns: 1fr; gap: 42px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  .section-head .lead { max-width: 540px; }
  .motores-grid, .empresas-grid, .eventos-grid, .testimonios { grid-template-columns: repeat(2, 1fr); }
  .motor:nth-child(3n) { border-right: 1px solid var(--line); }
  .motor:nth-child(2n) { border-right: 0; }
  .precios { grid-template-columns: 1fr; }
  .precio-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .precio-card:last-child { border-bottom: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 18px; }
  .metodo-grid { grid-template-columns: repeat(2, 1fr); }
  .paso:nth-child(3n+2), .paso:nth-child(3n) { padding-left: 0; }
  .paso:nth-child(even) { padding-left: 26px; }
  .motor-wide { grid-column: 1 / -1; }
  .hero-visual { max-width: 560px; }
  .search-wrap, .search-wrap input { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  section { padding: 52px 0; }

  .topbar-item.hide-sm { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar-right { gap: 16px; }

  #nav {
    position: fixed; inset: 0; background: rgba(255, 255, 255, .98);
    flex-direction: column; justify-content: center;
    gap: 22px; opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  #nav.open { opacity: 1; pointer-events: auto; }
  #nav a { font-size: 1rem; letter-spacing: .14em; }
  #nav .btn-nav { margin-left: 0; font-size: .78rem; }
  #menu-toggle { display: flex; }

  .brand-logo { height: 36px; }
  .header-inner { height: 64px; }

  .hero { padding: 48px 0 0; }
  .hero h1 { font-size: clamp(1.85rem, 8vw, 2.3rem); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-checks { gap: 10px 16px; }

  .hero-visual { max-width: 100%; }
  .hero-card, .hero-card-2 {
    position: static; max-width: none; margin: 0;
    display: flex; align-items: center; gap: 14px;
    border: 1px solid var(--line-strong); border-left: 3px solid var(--gold-bright);
    border-top: 0;
  }
  .hero-card-2 { border-left-color: var(--red); }
  .hero-card-num { font-size: 1.5rem; }
  .hero-card-pill { margin-bottom: 0; }
  .hero-strip { margin-top: 44px; }

  .stats-band { padding: 36px 0; }
  .stat { padding-left: 16px; }
  .stat-num { font-size: 2.1rem; }

  .motores-grid, .empresas-grid, .eventos-grid, .testimonios,
  .form-row, .metodo-grid { grid-template-columns: 1fr; }
  .motor { border-right: 0 !important; }
  .paso { padding: 22px 0 !important; }
  .motor-wide { flex-direction: column; gap: 14px; }

  .demo-tag { white-space: normal; }
  .radio-panel { max-width: 100%; }
  .radio-mark { width: 88px; }
  .contact-photo img { aspect-ratio: 16 / 10; }

  .modal-card { padding: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; text-align: center; align-items: center; }
  .cta-inner { flex-direction: column; align-items: flex-start; }

  .wa-float { width: 46px; height: 46px; bottom: 16px; right: 16px; }
  .wa-float > svg { width: 23px; height: 23px; }
  #back-top { width: 32px; height: 32px; bottom: 72px; right: 18px; }
}

/* ═══════════════════════════════════════════════════════════
   SECCIONES RESTAURADAS — versión anterior exacta (v2)
   Directorio + Radio · valores originales sin cambios
   ═══════════════════════════════════════════════════════════ */

/* ── RADIO (original) ─────────────────────────────────────── */
#radio .radio-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
#radio .radio-panel {
  background: linear-gradient(150deg, #1d3a56, #12263a 60%, #0d1a2a);
  border-radius: 22px; padding: 40px; position: relative;
  aspect-ratio: 1; max-width: 440px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 32px 70px -18px rgba(16, 29, 44, .3); overflow: hidden;
  border: 0;
}
#radio .radio-panel::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(200, 16, 46, .35), transparent 55%);
  pointer-events: none;
}
#radio .mic-svg { width: 100%; height: 100%; }
#radio .wave {
  fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 1.5;
  transform-origin: 100px 100px;
  animation: wavePulse 3.2s ease-in-out infinite;
}
#radio .w2 { animation-delay: .5s; stroke: rgba(233, 181, 88, .35); }
#radio .w3 { animation-delay: 1s; }
#radio .radio-badge {
  position: absolute; top: 22px; left: 22px;
  background: #c8102e; color: #fff;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .64rem; font-weight: 800; letter-spacing: .22em;
  padding: 7px 14px; border-radius: 100px;
  box-shadow: 0 8px 20px -6px rgba(200, 16, 46, .6);
}
#radio .eq { display: inline-flex; align-items: flex-end; gap: 2.5px; height: 12px; }
#radio .eq i { width: 3px; background: #fff; border-radius: 2px; animation: eqB 1s ease-in-out infinite; }
#radio .eq i:nth-child(1) { height: 60%; }
#radio .eq i:nth-child(2) { height: 100%; animation-delay: .2s; }
#radio .eq i:nth-child(3) { height: 45%; animation-delay: .35s; }
#radio .eq i:nth-child(4) { height: 80%; animation-delay: .5s; }
#radio .radio-list { list-style: none; display: grid; gap: 16px; margin-top: 30px; border-top: 0; }
#radio .radio-list li {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid #e3e8ef; border-radius: 13px;
  padding: 18px; transition: all .3s var(--ease);
}
#radio .radio-list li:hover { border-color: #cdd5e0; box-shadow: 0 6px 18px -6px rgba(16, 29, 44, .12); transform: translateX(4px); }
#radio .rl-icon {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  background: #fdf0f2; color: #c8102e; border: 0;
  display: flex; align-items: center; justify-content: center;
}
#radio .rl-icon svg { width: 20px; height: 20px; }
#radio .radio-list strong { display: block; font-size: .95rem; margin-bottom: 2px; letter-spacing: 0; text-transform: none; font-weight: 600; }
#radio .radio-list span:not(.rl-icon) { font-size: .85rem; color: #54687e; }
#radio .eyebrow { color: #c8102e; }
#radio .eyebrow::before { background: #c8102e; }
#radio h2 em { color: #c8102e; font-style: normal; background: none; padding-bottom: 0; }
#radio .body-text { color: #54687e; font-size: 1rem; }

/* ── DIRECTORIO (original) ────────────────────────────────── */
#directorio .section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; margin-bottom: 48px; padding-bottom: 0; border-bottom: 0;
}
#directorio .eyebrow { color: #c8102e; font-size: .72rem; letter-spacing: .3em; }
#directorio .eyebrow::before { background: #c8102e; width: 26px; height: 2px; }
#directorio h2 em { color: #c8102e; font-style: normal; background: none; padding-bottom: 0; }
#directorio .lead { font-size: 1.05rem; }
#directorio .demo-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; color: #8a6d1f; font-weight: 500;
  background: #fdf6e3; border: 1px solid #ecd9a4;
  padding: 8px 16px; border-radius: 100px; white-space: nowrap;
}
#directorio .demo-tag svg { width: 15px; height: 15px; flex-shrink: 0; color: inherit; }

#directorio .dir-toolbar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
#directorio .search-wrap { position: relative; display: flex; align-items: center; }
#directorio .search-wrap svg { position: absolute; left: 15px; width: 16px; height: 16px; color: #8a99ab; pointer-events: none; }
#directorio .search-wrap input {
  padding: 11px 18px 11px 42px; border-radius: 10px; width: 300px;
  background: #fff; border: 1px solid #cdd5e0;
  color: #101d2c; font-family: var(--font-body); font-size: .9rem;
  outline: none; transition: all .25s;
}
#directorio .search-wrap input:focus { border-color: #12263a; box-shadow: 0 0 0 3px rgba(18, 38, 58, .1); }
#directorio .search-wrap input::placeholder { color: #8a99ab; }

#directorio .filtros { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
#directorio .chip {
  padding: 8px 16px; border-radius: 9px; font-size: .8rem; font-weight: 600;
  background: #fff; border: 1px solid #e3e8ef;
  color: #54687e; cursor: pointer; font-family: var(--font-body);
  transition: all .25s var(--ease); letter-spacing: 0; text-transform: none;
}
#directorio .chip:hover { color: #101d2c; border-color: #cdd5e0; }
#directorio .chip.active { background: #12263a; color: #fff; border-color: #12263a; }
#directorio .chip .count { opacity: .55; font-size: .75em; margin-left: 3px; }

#directorio .admin-bar[hidden] { display: none; }
#directorio .admin-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: #12263a; border-radius: 14px; border-left: 0;
  padding: 16px 22px; margin-bottom: 24px; flex-wrap: wrap;
  animation: slideDown .35s var(--ease);
}
#directorio .admin-bar p { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: rgba(255,255,255,.75); }
#directorio .admin-bar p strong { color: #fff; }
#directorio .admin-bar svg { width: 17px; height: 17px; color: #e9b558; flex-shrink: 0; }
#directorio .admin-bar-actions { display: flex; gap: 10px; flex-wrap: wrap; }

#directorio .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border-radius: 10px;
  font-family: var(--font-body); font-size: .94rem; font-weight: 600;
  letter-spacing: .01em; text-transform: none;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: all .3s var(--ease); background: none; color: #101d2c; white-space: nowrap;
}
#directorio .btn svg { width: 17px; height: 17px; }
#directorio .btn-primary { background: #c8102e; color: #fff; border-color: transparent; box-shadow: 0 8px 20px -8px rgba(200, 16, 46, .5); }
#directorio .btn-primary:hover { background: #a00d25; transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(200, 16, 46, .55); }
#directorio .btn-outline { border-color: #cdd5e0; color: #101d2c; background: #fff; }
#directorio .btn-outline:hover { border-color: #12263a; background: #fff; color: #101d2c; transform: translateY(-2px); box-shadow: 0 6px 18px -6px rgba(16, 29, 44, .12); }
#directorio .admin-bar .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
#directorio .admin-bar .btn-outline:hover { border-color: #fff; background: transparent; color: #fff; }
#directorio .btn-sm { padding: 10px 20px; font-size: .85rem; border-radius: 9px; }

#directorio .empresas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; border: 0; }
#directorio .empresa-card {
  background: #fff; border: 1px solid #e3e8ef; border-radius: 14px;
  padding: 24px; cursor: pointer; transition: all .35s var(--ease);
  position: relative; overflow: hidden; animation: cardIn .45s var(--ease) backwards;
}
#directorio .empresa-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; width: auto;
  background: var(--ec, #12263a); opacity: .9; transition: none;
}
#directorio .empresa-card:hover { transform: translateY(-5px); box-shadow: 0 20px 45px -15px rgba(16, 29, 44, .22); border-color: #cdd5e0; background: #fff; }
#directorio .empresa-card:hover::before { height: 3px; }

#directorio .empresa-top { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
#directorio .empresa-logo {
  width: 50px; height: 50px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.1rem;
  color: #fff; letter-spacing: .02em; background: var(--ec, #12263a);
  box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--ec, #12263a) 60%, transparent);
}
#directorio .empresa-top h3 { font-size: .98rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
#directorio .empresa-cat { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #8a99ab; font-weight: 600; }
#directorio .empresa-desc { font-size: .87rem; color: #54687e; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

#directorio .promo-pill {
  display: flex; align-items: flex-start; gap: 8px;
  background: #fdf0f2; border: 1px solid #f3ccd3; border-left: 1px solid #f3ccd3;
  border-radius: 9px; padding: 9px 13px; font-size: .79rem; color: #a00d25; font-weight: 500;
}
#directorio .promo-pill svg { width: 13px; height: 13px; flex-shrink: 0; color: #c8102e; margin-top: 3px; }
#directorio .promo-pill.sin-promo { background: #f4f6f9; border-color: #e3e8ef; color: #8a99ab; }
#directorio .promo-pill.sin-promo svg { color: #8a99ab; }

#directorio .empresa-admin {
  display: none; gap: 8px; margin-top: 14px; padding-top: 14px;
  border-top: 1px dashed #cdd5e0;
}
body.admin-mode #directorio .empresa-admin { display: flex; }
#directorio .mini-btn {
  flex: 1; padding: 8px 12px; border-radius: 8px; font-size: .77rem; font-weight: 600;
  font-family: var(--font-body); cursor: pointer; transition: all .25s;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid #cdd5e0; background: #fff; color: #101d2c;
  letter-spacing: 0; text-transform: none;
}
#directorio .mini-btn svg { width: 13px; height: 13px; }
#directorio .mini-btn.edit:hover { border-color: #12263a; background: #f4f6f9; }
#directorio .mini-btn.del:hover { border-color: #c8102e; color: #c8102e; background: #fdf0f2; }

#directorio .empresa-add {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; min-height: 210px; border: 2px dashed #cdd5e0; border-right: 2px dashed #cdd5e0;
  border-radius: 14px; color: #54687e; cursor: pointer;
  font-family: var(--font-body); font-size: .9rem; font-weight: 600;
  background: none; transition: all .3s var(--ease); letter-spacing: 0; text-transform: none;
}
body.admin-mode #directorio .empresa-add { display: flex; }
#directorio .empresa-add:hover { border-color: #c8102e; color: #c8102e; background: #fdf0f2; }
#directorio .empresa-add .plus {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid currentColor;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 300;
}
#directorio .sin-resultados { text-align: center; color: #54687e; padding: 60px 0; font-style: italic; }

/* ── DETALLE EMPRESA (original) ───────────────────────────── */
#modal-detalle .det-header { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
#modal-detalle .det-header .empresa-logo { width: 62px; height: 62px; font-size: 1.4rem; border-radius: 14px; }
#modal-detalle .det-header h3 { font-size: 1.4rem; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
#modal-detalle .det-desc { color: #54687e; margin-bottom: 18px; font-size: .95rem; }
#modal-detalle .det-promo {
  background: #fdf0f2; border: 1px solid #f3ccd3; border-left: 1px solid #f3ccd3;
  border-radius: 12px; padding: 16px 18px; margin-bottom: 18px;
}
#modal-detalle .det-promo strong { color: #a00d25; font-size: 1rem; }
#modal-detalle .det-promo small { color: #54687e; display: block; margin-top: 6px; }
#modal-detalle .det-meta { display: flex; gap: 18px; flex-wrap: wrap; color: #54687e; font-size: .87rem; margin-bottom: 22px; }
#modal-detalle .det-meta svg { width: 15px; height: 15px; color: #c8102e; }
#modal-detalle .det-actions { display: flex; gap: 12px; flex-wrap: wrap; }
#modal-detalle .det-actions .btn { padding: 14px 30px; border-radius: 10px; font-size: .94rem; font-weight: 600; letter-spacing: .01em; text-transform: none; }
#modal-detalle .det-actions .btn-primary { background: #c8102e; color: #fff; }
#modal-detalle .det-actions .btn-outline { border-color: #cdd5e0; color: #101d2c; background: #fff; }

/* ── Responsive de las secciones restauradas ──────────────── */
@media (max-width: 960px) {
  #radio .radio-grid { grid-template-columns: 1fr; gap: 48px; }
  #directorio .empresas-grid { grid-template-columns: repeat(2, 1fr); }
  #directorio .section-head { align-items: flex-start; flex-direction: column; gap: 18px; }
}
@media (max-width: 720px) {
  #directorio .empresas-grid { grid-template-columns: 1fr; }
  #directorio .dir-toolbar { gap: 10px; }
  #directorio .demo-tag { white-space: normal; }
  #radio .radio-panel { max-width: 100%; padding: 28px; }
  #radio .radio-list li { padding: 14px; }
}

/* ═══════════════════════════════════════════════════════════
   LEGIBILIDAD — escala para laptops de 15" y teléfonos
   ═══════════════════════════════════════════════════════════ */

html { font-size: 17px; }

body { font-size: 1rem; line-height: 1.7; }

/* Texto de contenido */
.lead { font-size: 1.07rem; line-height: 1.65; }
.body-text { font-size: 1.01rem; }
.hero .lead { font-size: 1.1rem; }

/* Navegación y etiquetas */
#nav a { font-size: .86rem; }
.eyebrow { font-size: .74rem; letter-spacing: .24em; }
.topbar { font-size: .81rem; }
.hero-checks li { font-size: .78rem; }
.hero-card-label { font-size: .72rem; }
.strip-label { font-size: .7rem; }
.logo-chip span { font-size: .85rem; }
.stat-label { font-size: .73rem; }

/* Secciones de contenido */
.vm-item h3 { font-size: .84rem; }
.vm-item p { font-size: .96rem; }
.motor h3 { font-size: 1.03rem; }
.motor p { font-size: .95rem; }
.paso h3 { font-size: 1.05rem; }
.paso p { font-size: .93rem; }
.radio-list strong { font-size: .98rem; }
.radio-list span:not(.rl-icon) { font-size: .94rem; }
.radio-badge { font-size: .67rem; }

/* Directorio (contenido) */
.demo-tag { font-size: .84rem; }
.search-wrap input { font-size: .95rem; }
.chip { font-size: .87rem; }
.empresa-top h3 { font-size: 1.01rem; }
.empresa-cat { font-size: .74rem; }
.empresa-desc { font-size: .95rem; }
.promo-pill { font-size: .87rem; }
.mini-btn { font-size: .84rem; }
.admin-bar p { font-size: .9rem; }
.sin-resultados { font-size: .96rem; }
.det-desc { font-size: .98rem; }
.det-meta { font-size: .93rem; }
.det-promo strong { font-size: 1.03rem; }

/* Eventos, precios, testimonios */
.evento h3 { font-size: 1.06rem; }
.evento p { font-size: .94rem; }
.ev-meta { font-size: .75rem !important; }
.precio-label { font-size: .71rem; }
.precio-desc { font-size: .94rem; }
.precio-list li { font-size: .94rem; }
.precio-beneficios { font-size: .98rem; }
.testimonio blockquote { font-size: 1rem; }
.testimonio figcaption span:last-child { font-size: .79rem; }
.testimonio figcaption strong { font-size: .9rem; }

/* Formularios y contacto */
.contact-list li { font-size: .96rem; }
.contact-form label, .empresa-form label { font-size: .71rem; }
.contact-form input, .contact-form select, .contact-form textarea,
.empresa-form input, .empresa-form textarea { font-size: .97rem; }
.form-note { font-size: .8rem; }
.form-title { font-size: .9rem; }
.modal-title { font-size: .92rem; }

/* Pie de página */
.footer-brand p { font-size: .91rem; }
.footer-col a, .footer-col span { font-size: .92rem; }
.footer-col h4 { font-size: .71rem; }
.footer-copy { font-size: .8rem; }
.toast { font-size: .92rem; }

/* Teléfonos: misma escala, ajustes de espacios */
@media (max-width: 720px) {
  html { font-size: 17px; }
  body { line-height: 1.72; }
  .hero .lead { font-size: 1.06rem; }
  .eyebrow { font-size: .71rem; letter-spacing: .2em; }
  #nav a { font-size: 1.05rem; }
  .motor p, .evento p, .empresa-desc, .precio-desc { font-size: .96rem; }
  .chip { font-size: .84rem; }
  .btn { font-size: .8rem; }
}

/* ═══════════════════════════════════════════════════════════
   ICONOS DE LOS SIETE MOTORES — arte SVG a dos tintas
   ═══════════════════════════════════════════════════════════ */

.motor-icon {
  width: 68px; height: 68px; margin-bottom: 24px;
  border: 1px solid var(--line-strong); background: #fff; border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  transition: all .32s var(--ease);
}
.motor-icon svg { width: 38px; height: 38px; }
.motor-icon svg .m { stroke: var(--ink); }
.motor-icon svg .a { stroke: var(--gold); }
.motor:hover .motor-icon { background: var(--ink); border-color: var(--ink); }
.motor:hover .motor-icon svg .m,
.motor:hover .motor-icon svg .a { stroke: var(--gold-bright); }
.motor-wide .motor-icon { margin-bottom: 0; }

@media (max-width: 720px) {
  .motor-icon { width: 62px; height: 62px; margin-bottom: 20px; }
  .motor-icon svg { width: 34px; height: 34px; }
}

/* ── Sistema de iconos: Visión/Misión y lista de radio ────── */
.vm-icon {
  width: 68px; height: 68px; border: 1px solid var(--line-strong);
  background: #fff; border-radius: 2px; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: all .32s var(--ease);
}
.vm-icon svg { width: 38px; height: 38px; }
.vm-icon svg .m { stroke: var(--ink); }
.vm-icon svg .a { stroke: var(--gold); }
.vm-item:hover .vm-icon { background: var(--ink); border-color: var(--ink); }
.vm-item:hover .vm-icon svg .m,
.vm-item:hover .vm-icon svg .a { stroke: var(--gold-bright); }

#radio .rl-icon svg { width: 22px; height: 22px; }
#radio .rl-icon svg .m { stroke: var(--ink); }
#radio .rl-icon svg .a { stroke: #c8102e; }

@media (max-width: 720px) {
  .vm-icon { width: 62px; height: 62px; }
  .vm-icon svg { width: 34px; height: 34px; }
}

/* ── Foto de la sección Nosotros: formato panorámico ──────── */
#nosotros .photo-frame img { aspect-ratio: 3 / 2; }

/* ── Franja de sectores: monogramas en tonos sobrios ──────── */
/* Solo afecta la franja del hero; el directorio conserva
   su paleta original intacta. */
.logo-chip .lg {
  background: var(--ink);
  background: color-mix(in srgb, var(--ec) 40%, var(--ink));
}
