/* ============================================================
   EMPRESARIOS BOLIVIANOS — Dark Luxury Edition
   Paleta: #0B0B0F (base) · #15171E (superficie) · #1C1F2A (elevado)
   Oro: #C8A24B → #E7C871 (gradiente) · Tinta: #ECECF1 · Suave: #A7A9B4
   Tipografía: Fraunces (display/títulos) · Space Grotesk (UI/cuerpo)
   ============================================================ */

/* ── Variables ────────────────────────────────────────────── */
:root {
  --bg:          #0B0B0F;
  --bg-surface:  #15171E;
  --bg-elevated: #1C1F2A;
  --bg-hover:    #21253A;
  --line:        rgba(255,255,255,.08);
  --line-strong: rgba(255,255,255,.14);
  --ink:         #ECECF1;
  --ink-soft:    #A7A9B4;
  --ink-mute:    #6C6F82;
  --gold:        #C8A24B;
  --gold-lt:     #E7C871;
  --gold-dim:    rgba(200,162,75,.12);
  --gold-glow:   rgba(200,162,75,.22);
  --gold-grad:   linear-gradient(135deg, #C8A24B 0%, #E7C871 100%);
  --gold-text:   linear-gradient(135deg, #D4A94F 0%, #F0D07A 100%);
  --accent:      #2A3050;   /* frío muy sutil para superficies especiales */
  --red:         #C0392B;
  --green-badge: #1E7A46;
  --disp:        'Fraunces', Georgia, serif;
  --sans:        'Space Grotesk', system-ui, sans-serif;
  --radius:      10px;
  --radius-lg:   16px;
}

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  min-height: 100vh;
  /* Sutil textura de grano: profundidad sin foto */
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(200,162,75,.04) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.028'/%3E%3C/svg%3E");
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: var(--sans); }

/* Focus visible accesible */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Tipografía base ──────────────────────────────────────── */
h1, h2, h3, h4, .disp {
  font-family: var(--disp);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.018em;
  color: var(--ink);
}

/* ── Layout ───────────────────────────────────────────────── */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Chips y badges ───────────────────────────────────────── */
.chip {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: var(--gold-dim);
  color: var(--gold-lt);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(200,162,75,.25);
}

.badge-verif {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--green-badge);
  padding: 3px 9px;
  border-radius: 20px;
  margin-left: 7px;
  vertical-align: middle;
}

/* badge-top: "Destacado" en cards de empresarios */
.badge-top {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--gold-grad);
  color: #0B0B0F;
  padding: 4px 11px;
  border-radius: 20px;
}
.badge-top::before { content: '★'; font-size: 9px; }

/* badge-pago: "Aparición pagada" — honesta, discreta */
.badge-pago {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  padding: 3px 9px;
  border-radius: 20px;
}

/* plan-tag */
.plan-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(200,162,75,.15);
  color: var(--gold);
  border: 1px solid rgba(200,162,75,.3);
  padding: 3px 10px;
  border-radius: 20px;
}

/* ── Botones ──────────────────────────────────────────────── */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  background: var(--bg-elevated);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 11px 22px;
  border-radius: 8px;
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-wa:hover {
  background: var(--bg-hover);
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 4px 20px rgba(0,0,0,.35);
}

.btn-gold {
  background: var(--gold-grad);
  color: #0B0B0F;
  border-color: transparent;
  font-weight: 700;
}
.btn-gold:hover {
  box-shadow: 0 6px 28px var(--gold-glow);
  filter: brightness(1.06);
  border-color: transparent;
}

.btn-sm {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  color: #fff;
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  transition: .2s;
}
.btn-sm:hover { background: var(--bg-hover); }
.btn-sm.red { background: rgba(192,57,43,.8); border-color: rgba(192,57,43,.4); }
.btn-sm.red:hover { background: var(--red); }
.btn-sm.gray { background: rgba(108,111,130,.25); }

/* ── Nav glass ────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,11,15,.82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
}

.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.nav-in .brand img { height: 36px; display: block; }
.nav-in .brand svg { height: 36px; width: auto; display: block; }

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 13.5px;
  font-weight: 500;
}
.nav-links a {
  color: var(--ink-soft);
  padding: 7px 13px;
  border-radius: 7px;
  transition: color .18s, background .18s;
  letter-spacing: .01em;
}
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.nav-links a.btn-wa { padding: 9px 18px; }

/* Ocultar links en móvil */
@media (max-width: 1080px) {
  .nav-links a:not(.btn-wa) { display: none; }
  .nav-in .soc { display: none; }
}

/* ── Social icons ─────────────────────────────────────────── */
.soc { display: flex; gap: 10px; align-items: center; }
.soc a {
  color: var(--ink-mute);
  transition: color .18s;
  display: flex;
  align-items: center;
}
.soc a:hover { color: var(--gold); }
.soc svg { width: 19px; height: 19px; display: block; }

/* ── Hero principal ───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.hero .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Sin foto en v1: degrade editorial oscuro */
  opacity: .22;
  filter: grayscale(30%);
}

/* Cuando no hay foto, el hero tiene su propio gradiente */
.hero .ov {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 0% 100%, rgba(200,162,75,.08) 0%, transparent 65%),
    linear-gradient(170deg, #0B0B0F 0%, #12141C 50%, #0E1019 100%);
}

.hero .in {
  position: relative;
  z-index: 2;
  padding: 0 0 80px;
}

.hero .kick {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero .kick::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold-grad);
}

.hero h1 {
  font-size: clamp(42px, 6.5vw, 80px);
  max-width: 15ch;
  color: #fff;
  line-height: 1.04;
  letter-spacing: -.025em;
}

/* Acento dorado en la primera palabra del hero */
.hero h1 em {
  font-style: normal;
  background: var(--gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(16px, 1.8vw, 19px);
  max-width: 52ch;
  margin-top: 24px;
  color: rgba(255,255,255,.72);
  font-weight: 300;
  line-height: 1.7;
}

.hero .cta {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Cat bar (filtros de rubro) ───────────────────────────── */
.catbar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--line);
}

.catbar-in {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 12px 0;
  align-items: center;
}

.catbar a {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-mute);
  padding: 6px 15px;
  border: 1px solid transparent;
  border-radius: 20px;
  transition: color .18s, background .18s, border-color .18s;
  letter-spacing: .03em;
}
.catbar a:hover {
  color: var(--ink-soft);
  background: rgba(255,255,255,.05);
  border-color: var(--line);
}
.catbar a.on {
  background: var(--gold-dim);
  color: var(--gold-lt);
  border-color: rgba(200,162,75,.3);
}

/* ── Secciones ────────────────────────────────────────────── */
.sec { padding: 72px 0; }

.sec-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 36px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 10px;
}
.sec-h h2 {
  font-size: clamp(22px, 2.8vw, 30px);
  letter-spacing: -.02em;
}
.sec-h .m {
  font-size: 11.5px;
  color: var(--ink-mute);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 600;
}

/* ── Grid de cards ────────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .grid { grid-template-columns: 1fr; } }

/* ── Card estándar (notas) ────────────────────────────────── */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(200,162,75,.12);
  border-color: rgba(200,162,75,.18);
}

.card .thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-elevated);
}
.card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s, opacity .3s;
  opacity: .9;
}
.card:hover .thumb img { transform: scale(1.04); opacity: 1; }

.card .body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card h3 {
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -.01em;
}

.card p {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 300;
  line-height: 1.6;
}

.card .meta {
  margin-top: auto;
  padding-top: 10px;
  font-size: 11.5px;
  color: var(--ink-mute);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 600;
  font-family: var(--sans);
}

/* ── Feature card (editorial grande) ─────────────────────── */
.feature {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 48px;
  transition: box-shadow .25s, border-color .25s;
}
.feature:hover {
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  border-color: rgba(200,162,75,.16);
}

.feature .img {
  overflow: hidden;
  min-height: 380px;
  background: var(--bg-elevated);
}
.feature .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .88;
  transition: transform .6s, opacity .3s;
}
.feature:hover .img img { transform: scale(1.03); opacity: 1; }

.feature .txt {
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--line);
}

.feature h2 {
  font-size: clamp(24px, 3vw, 38px);
  margin: 18px 0 16px;
  letter-spacing: -.02em;
}

.feature p {
  font-size: 15.5px;
  color: var(--ink-soft);
  font-weight: 300;
  line-height: 1.7;
}

.feature .meta {
  margin-top: 22px;
  font-size: 11.5px;
  color: var(--ink-mute);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
}

@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; }
  .feature .img { min-height: 240px; }
  .feature .txt { padding: 30px; border-left: none; border-top: 1px solid var(--line); }
}

/* ── Video section ────────────────────────────────────────── */
.videosec {
  background:
    radial-gradient(ellipse 100% 80% at 100% 50%, rgba(200,162,75,.06) 0%, transparent 65%),
    var(--bg-surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.videosec-in {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}

.videosec .kick {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.videosec .kick::before {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: var(--gold);
}

.videosec h2 {
  font-size: clamp(26px, 3.5vw, 44px);
  max-width: 18ch;
}

.videosec p {
  margin-top: 18px;
  color: var(--ink-soft);
  max-width: 46ch;
  font-weight: 300;
  line-height: 1.7;
}

.reelbox {
  width: 290px;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(200,162,75,.3);
  box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 60px rgba(200,162,75,.07);
  background: var(--bg-elevated);
}
.reelbox video { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 820px) {
  .videosec-in { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 40px; }
  .videosec .kick { justify-content: center; }
}

/* ── Newsletter box ───────────────────────────────────────── */
.news {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.news::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: var(--gold-grad);
  opacity: .45;
}

.news h2 { font-size: clamp(22px, 3vw, 30px); }
.news p { color: var(--ink-soft); margin: 14px 0 26px; font-weight: 300; }

.news form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.news input {
  padding: 13px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 15px;
  min-width: 280px;
  background: var(--bg-elevated);
  color: var(--ink);
  transition: border-color .18s;
}
.news input::placeholder { color: var(--ink-mute); }
.news input:focus { outline: none; border-color: rgba(200,162,75,.5); }

/* ── Proto block (CTA verde → ahora oscuro gold) ─────────── */
.proto {
  background:
    radial-gradient(ellipse 120% 140% at 0% 0%, rgba(200,162,75,.1) 0%, transparent 60%),
    var(--bg-elevated);
  border: 1px solid rgba(200,162,75,.2);
  border-radius: var(--radius-lg);
  padding: 56px 52px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 30px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.proto::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,162,75,.5), transparent);
}

.proto .kick {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.proto .kick::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
}

.proto h2 { font-size: clamp(22px, 3vw, 38px); max-width: 22ch; }
.proto p { margin-top: 16px; color: var(--ink-soft); max-width: 48ch; font-weight: 300; line-height: 1.7; }

@media (max-width: 820px) {
  .proto { grid-template-columns: 1fr; padding: 40px 28px; }
}

/* ── Valores / v-cards ────────────────────────────────────── */
.valores {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 820px) { .valores { grid-template-columns: 1fr; } }

.vcard {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s, box-shadow .2s;
}
.vcard:hover {
  border-color: rgba(200,162,75,.2);
  box-shadow: 0 8px 30px rgba(0,0,0,.3);
}

.vcard .n {
  font-family: var(--disp);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  background: var(--gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vcard h3 { font-size: 18px; margin-bottom: 10px; }
.vcard p { font-size: 14px; color: var(--ink-soft); font-weight: 300; line-height: 1.65; }

/* ── Planes / paq ─────────────────────────────────────────── */
.paqs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 820px) { .paqs { grid-template-columns: 1fr; } }

.paq {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, box-shadow .2s;
}
.paq:hover { border-color: var(--line-strong); box-shadow: 0 12px 40px rgba(0,0,0,.35); }

.paq.feat {
  border-color: rgba(200,162,75,.35);
  box-shadow: 0 0 0 1px rgba(200,162,75,.12), 0 20px 50px rgba(0,0,0,.4);
  position: relative;
  overflow: hidden;
}
.paq.feat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold-grad);
}

.paq h3 {
  font-size: 22px;
  background: var(--gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.paq .d { color: var(--ink-mute); font-size: 13.5px; margin: 8px 0 20px; line-height: 1.5; }

.paq ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
  flex: 1;
}
.paq li {
  font-size: 14px;
  color: var(--ink-soft);
  padding-left: 22px;
  position: relative;
  line-height: 1.55;
}
.paq li::before {
  content: '✓';
  position: absolute;
  left: 0;
  background: var(--gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* ── Simple hero (páginas interiores) ────────────────────── */
.simple-hero {
  background:
    radial-gradient(ellipse 100% 150% at 15% 0%, rgba(200,162,75,.09) 0%, transparent 60%),
    var(--bg-surface);
  border-bottom: 1px solid var(--line);
  padding: 88px 0 68px;
}

.simple-hero .kick {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.simple-hero .kick::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold-grad);
}

.simple-hero h1 {
  font-size: clamp(32px, 5.5vw, 58px);
  max-width: 22ch;
  letter-spacing: -.025em;
}

.simple-hero p {
  margin-top: 20px;
  color: var(--ink-soft);
  max-width: 60ch;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.72;
}

/* ── Artículo ─────────────────────────────────────────────── */
.art-hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.art-hero .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .3;
  filter: grayscale(20%);
}

.art-hero .ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,11,15,.96) 0%, rgba(11,11,15,.5) 55%, rgba(11,11,15,.7) 100%);
}

.art-hero .in {
  position: relative;
  z-index: 2;
  padding: 0 0 56px;
}

.art-hero h1 {
  font-size: clamp(28px, 4.5vw, 52px);
  max-width: 22ch;
  margin-top: 18px;
  letter-spacing: -.02em;
}

.art-hero .meta {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  letter-spacing: .05em;
  font-weight: 500;
  text-transform: uppercase;
}

/* ── Cuerpo del artículo ──────────────────────────────────── */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 28px;
}

.article .lead {
  font-size: 20px;
  font-family: var(--disp);
  font-weight: 500;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 34px;
}

.article p {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 22px;
  line-height: 1.8;
}

.article .back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 12px 0 32px;
  color: var(--gold);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .04em;
  transition: color .15s;
}
.article .back:hover { color: var(--gold-lt); }

/* Prose (bloque de texto largo, sobre) */
.prose { max-width: 760px; }
.prose p {
  font-size: 17.5px;
  color: var(--ink-soft);
  margin-bottom: 20px;
  line-height: 1.78;
}

/* ── Two columns / boxes ──────────────────────────────────── */
.twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 12px 0;
}
@media (max-width: 820px) { .twocol { grid-template-columns: 1fr; } }

.twocol .box {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color .2s;
}
.twocol .box:hover { border-color: rgba(200,162,75,.18); }

.twocol .box .n {
  font-family: var(--disp);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  background: var(--gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.twocol .box p {
  font-size: 15.5px;
  color: var(--ink-soft);
  font-weight: 300;
  line-height: 1.68;
}

/* ── Calendario (tabla) ───────────────────────────────────── */
.cal {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14.5px;
}

.cal th {
  text-align: left;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 16px 22px;
  border-bottom: 1px solid var(--line-strong);
  background: var(--bg-elevated);
  font-family: var(--sans);
  font-weight: 700;
}

.cal td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  color: var(--ink-soft);
}
.cal tr:last-child td { border-bottom: none; }
.cal tr:hover td { background: rgba(255,255,255,.025); }

.cal .fecha {
  font-family: var(--disp);
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}
.cal .ev { font-weight: 600; color: var(--ink); }

/* Tags de tipo en calendario */
.tg {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 20px;
  font-family: var(--sans);
}

.tg.Remate  { background: rgba(200,162,75,.15); color: var(--gold-lt); border: 1px solid rgba(200,162,75,.25); }
.tg.Feria   { background: rgba(50,160,100,.12); color: #5EC98A; border: 1px solid rgba(50,160,100,.22); }
.tg.Jornada { background: rgba(255,255,255,.06); color: var(--ink-mute); border: 1px solid var(--line); }
.tg.Venta   { background: rgba(200,162,75,.15); color: var(--gold-lt); border: 1px solid rgba(200,162,75,.25); }
.tg.Compra  { background: rgba(50,160,100,.12); color: #5EC98A; border: 1px solid rgba(50,160,100,.22); }
.tg.Servicio{ background: rgba(255,255,255,.06); color: var(--ink-mute); border: 1px solid var(--line); }

/* ── Directorio cards ─────────────────────────────────────── */
.dir-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  display: flex;
  flex-direction: column;
}
.dir-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(200,162,75,.12);
  border-color: rgba(200,162,75,.18);
}

.dir-card .thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-elevated);
}
.dir-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .8;
  transition: transform .5s, opacity .3s;
}
.dir-card:hover .thumb img { transform: scale(1.04); opacity: 1; }

.dir-card .body { padding: 20px 22px 24px; }

.dir-card .rub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.dir-card h3 { font-size: 19px; margin: 6px 0 10px; }
.dir-card p { font-size: 13.5px; color: var(--ink-soft); font-weight: 300; line-height: 1.6; }

.dir-card .loc {
  margin-top: 14px;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: .04em;
}

/* ── Formularios ──────────────────────────────────────────── */
.formbox {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
}
@media (max-width: 600px) { .formbox { padding: 28px 22px; } }

.formbox .row { margin-bottom: 18px; }

.formbox label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-mute);
  margin-bottom: 7px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.formbox input,
.formbox select,
.formbox textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 15px;
  background: var(--bg-elevated);
  color: var(--ink);
  transition: border-color .18s, box-shadow .18s;
}
.formbox input::placeholder { color: var(--ink-mute); }
.formbox select option { background: var(--bg-elevated); }

.formbox input:focus,
.formbox select:focus,
.formbox textarea:focus {
  outline: none;
  border-color: rgba(200,162,75,.55);
  box-shadow: 0 0 0 3px rgba(200,162,75,.08);
}

.formbox textarea { min-height: 110px; resize: vertical; }

.formbox .two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .formbox .two { grid-template-columns: 1fr; } }

/* ── Notas / Alerts ───────────────────────────────────────── */
.note {
  background: rgba(200,162,75,.07);
  border: 1px solid rgba(200,162,75,.2);
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--gold-lt);
  font-size: 13.5px;
  margin-bottom: 20px;
  line-height: 1.6;
}
.note.warn {
  background: rgba(200,150,50,.08);
  border-color: rgba(200,150,50,.25);
  color: #E0B86A;
}
.note.err {
  background: rgba(192,57,43,.08);
  border-color: rgba(192,57,43,.25);
  color: #E07070;
}

/* ── Admin bar ────────────────────────────────────────────── */
.admin-top {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.admin-top .in { display: flex; justify-content: space-between; align-items: center; }
.admin-top b { font-size: 14px; font-weight: 600; color: var(--ink); }

.admin-top a {
  color: var(--ink-mute);
  font-size: 13px;
  font-weight: 500;
  margin-left: 20px;
  transition: color .15s;
}
.admin-top a:hover { color: var(--gold); }

/* ── Tabla admin ──────────────────────────────────────────── */
.tbl {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 13.5px;
}

.tbl th {
  text-align: left;
  padding: 13px 18px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--line-strong);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 700;
}

.tbl td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  color: var(--ink-soft);
}
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: rgba(255,255,255,.02); }

/* ── Stats (admin) ────────────────────────────────────────── */
.stat {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
@media (max-width: 700px) { .stat { grid-template-columns: repeat(2, 1fr); } }

.stat .s {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.stat .s .n {
  font-family: var(--disp);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -.02em;
  background: var(--gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.stat .s .l {
  font-size: 11px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
}

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 64px 0 36px;
  margin-top: 20px;
}

footer .top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
}

footer img { height: 40px; margin-bottom: 18px; }

footer .c {
  font-size: 14px;
  line-height: 2;
  color: var(--ink-mute);
}
footer .c a {
  color: var(--ink-soft);
  transition: color .15s;
}
footer .c a:hover { color: var(--gold); }
footer .c b, footer .c strong { color: var(--ink); font-weight: 600; }

footer .soc { margin-top: 18px; }
footer .soc a { color: var(--ink-mute); }
footer .soc a:hover { color: var(--gold); }
footer .soc svg { width: 20px; height: 20px; }

footer .fin {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-mute);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  letter-spacing: .04em;
}

/* ── MONOGRAMA (".mono") — la cara del empresario ─────────── */
/*
   Sin fotos en v1: el monograma es EL retrato.
   Cuadrado ligeramente redondeado, fondo oscuro con gradiente
   sutil frío, borde línea dorada, iniciales en Fraunces
   con gradiente champán. Tiene que verse CARO.
*/
.mono {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  background:
    radial-gradient(ellipse 120% 120% at 30% 20%, rgba(40,48,80,.9) 0%, rgba(21,23,30,.95) 100%);
  border: 1px solid rgba(200,162,75,.28);
  border-radius: 12px;
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 54px);
  letter-spacing: -.02em;
  background-clip: padding-box;
  /* Texto dorado */
  color: transparent;
  background-color: transparent;
  /* Sombra interna muy sutil */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.07),
    inset 0 -1px 0 rgba(0,0,0,.4),
    0 8px 30px rgba(0,0,0,.4),
    0 0 0 1px rgba(200,162,75,.1);
  user-select: none;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

/* Iniciales con gradiente dorado vía pseudo */
.mono::after {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #D4A94F 0%, #F0D07A 55%, #C8A24B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--disp);
  font-weight: 600;
  font-size: inherit;
  letter-spacing: inherit;
}

/* Brillo diagonal muy sutil: efecto lámina premium */
.mono::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -30%;
  width: 60%;
  height: 80%;
  background: linear-gradient(135deg, rgba(255,255,255,.06), transparent 60%);
  pointer-events: none;
  border-radius: 50%;
}

/* ── Tamaños del monograma ──────────────────────────── */
/* En card pequeña: cuadrado completo dentro del thumb */
.mono--card {
  width: 100%;
  font-size: clamp(42px, 8vw, 68px);
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  box-shadow: none;
  min-height: 180px;
}

/* En ficha grande / art-hero */
.mono--hero {
  width: 160px;
  font-size: 58px;
  border-radius: 18px;
  border-width: 1.5px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 20px 60px rgba(0,0,0,.5),
    0 0 0 1px rgba(200,162,75,.14),
    0 0 40px rgba(200,162,75,.08);
}

/* ── EMP-CARD — card de empresario destacado ─────────────── */
/*
   Composición: monograma arriba (thumb) + cuerpo con nombre
   en Fraunces + cargo + empresa + chip de rubro + ciudad.
   Hover: el borde se ilumina con glow dorado.
*/
.emp-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
}

.emp-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200,162,75,.3);
  box-shadow:
    0 24px 60px rgba(0,0,0,.55),
    0 0 0 1px rgba(200,162,75,.15),
    0 0 40px rgba(200,162,75,.06);
}

/* Foto real: ficha (hero) y card de destacado */
.emp-hero-retrato img {
  width: 150px; height: 150px; object-fit: cover; object-position: 50% 16%;
  border-radius: 18px; border: 1.5px solid rgba(200,162,75,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 20px 60px rgba(0,0,0,.5), 0 0 40px rgba(200,162,75,.1);
  display: block;
}
.emp-card .emp-mono img { display: block; }

/* El monograma ocupa el "thumb" de la card */
.emp-card .emp-mono {
  aspect-ratio: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 130% 130% at 30% 20%, rgba(42,48,80,.88) 0%, rgba(15,17,26,.98) 100%);
  border-bottom: 1px solid rgba(200,162,75,.12);
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(38px, 6vw, 62px);
  letter-spacing: -.02em;
  position: relative;
  overflow: hidden;
  transition: background .3s;
}
.emp-card:hover .emp-mono {
  background:
    radial-gradient(ellipse 130% 130% at 30% 20%, rgba(52,60,100,.92) 0%, rgba(18,20,30,.98) 100%);
}

/* Iniciales dentro del monograma de card */
.emp-card .emp-mono::after {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, #C8A24B 0%, #F0D07A 50%, #C8A24B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--disp);
  font-weight: 600;
  font-size: inherit;
  letter-spacing: inherit;
}

/* Brillo diagonal */
.emp-card .emp-mono::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 55%;
  height: 90%;
  background: linear-gradient(135deg, rgba(255,255,255,.05), transparent 65%);
  pointer-events: none;
  border-radius: 50%;
  transition: opacity .3s;
}
.emp-card:hover .emp-mono::before { opacity: 1.5; }

/* Cuerpo de la emp-card */
.emp-card .emp-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

/* Nombre del empresario: Fraunces grande */
.emp-card .emp-nombre {
  font-family: var(--disp);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-top: 2px;
}

/* Cargo */
.emp-card .emp-cargo {
  font-size: 12.5px;
  color: var(--ink-mute);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Empresa */
.emp-card .emp-empresa {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
}

/* Footer de la card: chips y ciudad */
.emp-card .emp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.emp-card .emp-ciudad {
  font-size: 11.5px;
  color: var(--ink-mute);
  letter-spacing: .05em;
  display: flex;
  align-items: center;
  gap: 4px;
}
.emp-card .emp-ciudad::before { content: '◎'; font-size: 9px; opacity: .7; }

/* Glow extra al hacer hover: ::after en el borde */
.emp-card .emp-glow {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 0 60px rgba(200,162,75,.15);
  transition: opacity .3s;
}
.emp-card:hover .emp-glow { opacity: 1; }

/* ── Logo tile — empresas del directorio con logo oficial ─── */
/*
   Sustituye al .thumb/.mono--card cuando la empresa tiene logo.
   Fondo claro neutro para que logos con transparencia o fondo
   blanco se vean correctamente (no "flotan" sobre negro).
   Mismo aspect-ratio y posición que .dir-card .thumb.
   Versión hero: más grande, para la ficha individual.
*/
.logo-tile {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #F4F5F7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.logo-tile img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: opacity .25s;
}

.dir-card:hover .logo-tile img { opacity: .88; }

/* Versión hero en la ficha individual del directorio */
.logo-tile--hero {
  width: 180px;
  height: 120px;
  aspect-ratio: unset;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
  padding: 20px 26px;
  margin-bottom: 20px;
}

/* ── Rub (etiqueta de rubro en dir-card) ─────────────────── */
.rub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
  font-family: var(--sans);
}

/* ── Loc (ubicación) ─────────────────────────────────────── */
.loc {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: .04em;
  margin-top: 12px;
}

/* ── Kick line (decorativa pequeña) ─────────────────────── */
.kick {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Back link ───────────────────────────────────────────── */
.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-weight: 600;
  font-size: 13px;
  transition: color .15s;
}
.back:hover { color: var(--gold-lt); }

/* ── Meta (subtextos) ────────────────────────────────────── */
.meta {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: .06em;
}

/* ── Brand (nav logo) ────────────────────────────────────── */
.brand { display: flex; align-items: center; }
.brand img, .brand svg { height: 34px; }

/* ── Top (footer top row) ────────────────────────────────── */
.top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  align-items: flex-start;
}

/* ── Fin (footer bottom) ─────────────────────────────────── */
.fin {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-mute);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ── Red (botón rojo) ────────────────────────────────────── */
.red { background: rgba(192,57,43,.8) !important; }
.red:hover { background: var(--red) !important; }

/* ── Stat items S / L / N (admin) ───────────────────────── */
.s { /* stat box — ver .stat .s arriba */ }
.l { font-size: 11px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.n { /* número stat — ver .stat .s .n arriba */ }

/* ── News block (alias) ──────────────────────────────────── */
.news { /* ver .news arriba */ }

/* ── Responsive global ───────────────────────────────────── */
@media (max-width: 600px) {
  .sec { padding: 52px 0; }
  .formbox { padding: 24px 18px; }
  .news { padding: 36px 24px; }
  .proto { padding: 36px 24px; }
  .simple-hero { padding: 62px 0 48px; }
  .article { padding: 40px 18px 18px; }
}

/* ── Print: fondo limpio ─────────────────────────────────── */
@media print {
  body { background: #fff; color: #000; }
  nav, footer, .catbar { display: none; }
}
