/* ═══════════════════════════════════════════════════════════════════
   EXA 2.0 — Design System "Anuario paraguayo moderno"
   Tokens: Tinta #24356B · Tinta oscura #16224A · Ámbar #E09A2F
           Papel #F7F5F0 · Grafito #2B2F36 · Celeste #DCE6F5
   Tipos:  Fraunces (display, con moderación) · Figtree (cuerpo)
   Firma:  el Sello de Promoción (anillo de progreso estilo sello escolar)
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --exa-tinta:        #24356B;
  --exa-tinta-oscura: #16224A;
  --exa-ambar:        #E09A2F;
  --exa-ambar-oscuro: #C4841F;
  --exa-papel:        #F7F5F0;
  --exa-grafito:      #2B2F36;
  --exa-celeste:      #DCE6F5;
  --exa-linea:        #E3DFD6;

  --exa-display: "Fraunces", Georgia, serif;
  --exa-cuerpo:  "Figtree", -apple-system, "Segoe UI", sans-serif;

  --exa-radio:   14px;
  --exa-sombra:  0 10px 30px rgba(22, 34, 74, .10);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--exa-cuerpo);
  color: var(--exa-grafito);
  background: var(--exa-papel);
  display: flex; flex-direction: column; min-height: 100vh;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── Tipografía ─────────────────────────────────────────────────── */
.exa-display {
  font-family: var(--exa-display);
  font-weight: 640; font-size: clamp(2rem, 5.2vw, 3.4rem);
  line-height: 1.08; letter-spacing: -.01em; color: var(--exa-tinta);
  text-wrap: balance;
}
.exa-display-sm {
  font-family: var(--exa-display);
  font-weight: 640; font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  line-height: 1.12; color: var(--exa-tinta); text-wrap: balance;
}
.exa-h2 {
  font-family: var(--exa-display);
  font-weight: 560; font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--exa-tinta);
}
.exa-eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--exa-ambar-oscuro); margin-bottom: .9rem;
}
.exa-lead { font-size: 1.08rem; line-height: 1.65; color: #4A5060; max-width: 34rem; }

/* ── Nav ────────────────────────────────────────────────────────── */
.exa-nav {
  background: rgba(247, 245, 240, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--exa-linea);
  position: sticky; top: 0; z-index: 1020;
}
.exa-brand { text-decoration: none; }
.exa-brand-word {
  font-family: var(--exa-display); font-weight: 640; font-size: 1.5rem;
  color: var(--exa-tinta); letter-spacing: .02em;
}
.exa-nav-link {
  color: var(--exa-grafito); text-decoration: none; font-weight: 500; font-size: .95rem;
}
.exa-nav-link:hover { color: var(--exa-tinta); }
.exa-lang {
  background: none; border: 1px solid var(--exa-linea); border-radius: 8px;
  padding: .2rem .55rem; font-size: .82rem; font-weight: 600; color: var(--exa-grafito);
}
.exa-dropdown { border: 1px solid var(--exa-linea); border-radius: 10px; box-shadow: var(--exa-sombra); }

/* ── Botones ────────────────────────────────────────────────────── */
.exa-btn-primary {
  background: var(--exa-tinta); color: #fff; border: none; border-radius: 10px; font-weight: 600;
}
.exa-btn-primary:hover, .exa-btn-primary:focus { background: var(--exa-tinta-oscura); color: #fff; }
.exa-btn-amber {
  background: var(--exa-ambar); color: var(--exa-tinta-oscura); border: none;
  border-radius: 10px; font-weight: 700;
}
.exa-btn-amber:hover, .exa-btn-amber:focus { background: var(--exa-ambar-oscuro); color: #fff; }
.exa-btn-ghost {
  background: transparent; color: var(--exa-tinta); border: 1.5px solid var(--exa-tinta);
  border-radius: 10px; font-weight: 600;
}
.exa-btn-ghost:hover { background: var(--exa-tinta); color: #fff; }
.btn:focus-visible { outline: 3px solid var(--exa-ambar); outline-offset: 2px; }
a:focus-visible { outline: 3px solid var(--exa-ambar); outline-offset: 2px; border-radius: 4px; }

/* ── Hero ───────────────────────────────────────────────────────── */
.exa-hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem); }

/* ── Sello de Promoción (elemento firma) ────────────────────────── */
.exa-sello-card { position: relative; width: 260px; height: 260px; display: grid; place-items: center; }
.exa-sello-ring { position: absolute; transform: rotate(-90deg); }
.exa-sello-ring .ring-bg { fill: none; stroke: var(--exa-celeste); stroke-width: 10; }
.exa-sello-ring .ring-fg {
  fill: none; stroke: var(--exa-ambar); stroke-width: 10; stroke-linecap: round;
  stroke-dasharray: 35.4 100; /* 17/48 ≈ 35% */
  animation: exa-ring 1.4s cubic-bezier(.65, 0, .35, 1) .3s both;
}
@keyframes exa-ring { from { stroke-dasharray: 0 100; } }
.exa-sello-inner {
  width: 172px; height: 172px; border-radius: 50%;
  background: #fff; border: 1px dashed var(--exa-linea);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: .15rem; box-shadow: var(--exa-sombra); padding: 1rem;
}
.sello-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--exa-ambar-oscuro);
}
.sello-count { font-family: var(--exa-display); font-weight: 640; font-size: 1.25rem; color: var(--exa-tinta); line-height: 1.15; }
.sello-action { font-size: .78rem; font-weight: 600; color: var(--exa-tinta); opacity: .75; }
.exa-orla .orla-dot {
  position: absolute; width: 34px; height: 34px; border-radius: 50%;
  background: var(--exa-celeste); border: 2px solid #fff; box-shadow: 0 3px 10px rgba(22,34,74,.15);
}
.orla-dot.d1 { top: 6px;   left: 30px;  background: var(--exa-ambar); }
.orla-dot.d2 { top: 40px;  right: 4px; }
.orla-dot.d3 { bottom: 26px; right: 18px; background: var(--exa-tinta); }
.orla-dot.d4 { bottom: 4px;  left: 66px; }
.orla-dot.d5 { top: 84px;  left: -8px; }

/* ── Ayer · Hoy · Mañana ────────────────────────────────────────── */
.exa-journey { border-top: 1px solid var(--exa-linea); border-bottom: 1px solid var(--exa-linea); padding: 1.6rem 0; background: #fff; }
.exa-journey .journey-when {
  display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--exa-ambar-oscuro);
}
.exa-journey .journey-what { display: block; font-family: var(--exa-display); font-weight: 560; color: var(--exa-tinta); font-size: clamp(.9rem, 2.4vw, 1.15rem); }
.exa-journey .journey-mid { border-left: 1px solid var(--exa-linea); border-right: 1px solid var(--exa-linea); }

/* ── Cómo funciona ──────────────────────────────────────────────── */
.exa-how { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.exa-step {
  background: #fff; border: 1px solid var(--exa-linea); border-radius: var(--exa-radio);
  padding: 1.4rem; height: 100%;
}
.exa-step .step-num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--exa-celeste); color: var(--exa-tinta); font-weight: 700; margin-bottom: .7rem;
}
.exa-step h3 { font-size: 1.05rem; font-weight: 700; color: var(--exa-tinta); }
.exa-step p { font-size: .93rem; color: #4A5060; margin: 0; }

/* ── Stats ──────────────────────────────────────────────────────── */
.exa-stats { background: var(--exa-tinta); color: #fff; padding: 2.4rem 0; }
.exa-stats .stat-n { display: block; font-family: var(--exa-display); font-weight: 640; font-size: clamp(1.6rem, 4vw, 2.6rem); color: var(--exa-ambar); }
.exa-stats .stat-l { font-size: .85rem; opacity: .85; }

/* ── Cierre ─────────────────────────────────────────────────────── */
.exa-closing { padding: clamp(3rem, 7vw, 5rem) 0; }
.exa-closing .exa-lead { max-width: 30rem; }

/* ── Páginas / errores / alerts ─────────────────────────────────── */
.exa-page  { padding: 3rem 0 4rem; }
.exa-error { padding: clamp(4rem, 12vw, 7rem) 0; }
.exa-error .error-code {
  display: block; font-family: var(--exa-display); font-weight: 640;
  font-size: clamp(3.5rem, 12vw, 6rem); color: var(--exa-celeste); line-height: 1;
}
.exa-error .exa-lead { max-width: 26rem; }
.exa-alert { border-radius: 10px; }

/* ── Footer ─────────────────────────────────────────────────────── */
.exa-footer { border-top: 1px solid var(--exa-linea); font-size: .87rem; color: #6A7080; background: #fff; }
.exa-footer a { color: var(--exa-tinta); text-decoration: none; font-weight: 500; }
.exa-footer a:hover { text-decoration: underline; }
.exa-footer-py { white-space: nowrap; }
.exa-footer-mark { opacity: .8; }

/* ── F2: Autenticación ──────────────────────────────────────────────── */
.exa-auth { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.exa-auth-card {
  max-width: 440px; background: #fff; border: 1px solid var(--exa-linea);
  border-radius: var(--exa-radio); padding: 2rem 1.8rem; box-shadow: var(--exa-sombra);
}
.exa-auth-sub { color: #6A7080; font-size: .95rem; max-width: 24rem; }
.exa-btn-oauth {
  border: 1.5px solid var(--exa-linea); background: #fff; color: var(--exa-grafito);
  border-radius: 10px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: .55rem;
}
.exa-btn-oauth:hover { border-color: var(--exa-tinta); color: var(--exa-tinta); background: #fff; }
.exa-divider { display: flex; align-items: center; gap: .8rem; color: #9aa0ae; font-size: .8rem; margin: .9rem 0; }
.exa-divider::before, .exa-divider::after { content: ""; flex: 1; height: 1px; background: var(--exa-linea); }
.exa-verify-icon { font-size: 2.6rem; }
.form-control:focus, .form-select:focus { border-color: var(--exa-tinta); box-shadow: 0 0 0 .2rem rgba(36,53,107,.12); }
.form-check-input:checked { background-color: var(--exa-tinta); border-color: var(--exa-tinta); }

/* ── Cards genéricas / dashboard ────────────────────────────────────── */
.exa-card {
  background: #fff; border: 1px solid var(--exa-linea); border-radius: var(--exa-radio);
  padding: 1.3rem;
}
/* Igualar alturas solo cuando se pide explícitamente (Bootstrap .h-100) */
.exa-card-title { color: var(--exa-tinta); font-weight: 700; }
.exa-badge { background: var(--exa-celeste); color: var(--exa-tinta); font-weight: 600; }

/* ── Menú de usuario ────────────────────────────────────────────────── */
.exa-user-btn {
  background: none; border: 1px solid var(--exa-linea); border-radius: 999px;
  padding: .25rem .7rem .25rem .3rem; display: flex; align-items: center; gap: .5rem;
  font-weight: 600; color: var(--exa-grafito);
}
.exa-avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--exa-tinta);
  color: #fff; display: inline-grid; place-items: center; font-size: .78rem; font-weight: 700;
}

/* ── F3: Perfil ─────────────────────────────────────────────────────── */
.exa-progress { height: 8px; border-radius: 999px; background: var(--exa-celeste); overflow: hidden; }
.exa-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--exa-tinta), var(--exa-ambar)); border-radius: 999px; transition: width .5s ease; }
.exa-avatar-xl {
  width: 132px; height: 132px; border-radius: 50%; object-fit: cover;
  display: inline-grid; place-items: center;
}
.exa-avatar-initials { background: var(--exa-tinta); color: #fff; font-family: var(--exa-display); font-size: 2.4rem; font-weight: 640; }
.exa-avatar-ring { border: 4px solid #fff; box-shadow: var(--exa-sombra); }
.exa-cover-preview {
  width: 100%; aspect-ratio: 3 / 1; object-fit: cover; border-radius: 10px;
  background: var(--exa-celeste); display: grid; place-items: center; color: var(--exa-tinta);
  font-size: .85rem;
}
.exa-cover-empty { border: 1.5px dashed var(--exa-linea); }
.exa-profile-cover {
  height: clamp(140px, 24vw, 240px);
  background: linear-gradient(115deg, var(--exa-tinta) 0%, var(--exa-tinta-oscura) 70%);
  background-size: cover; background-position: center;
}
.exa-profile-head {
  display: flex; align-items: flex-end; gap: 1rem; flex-wrap: wrap;
  margin-top: -56px; padding-bottom: .6rem; border-bottom: 1px solid var(--exa-linea);
}
.exa-profile-name { font-family: var(--exa-display); font-weight: 640; font-size: clamp(1.4rem, 3.4vw, 2rem); color: var(--exa-tinta); margin: 0; }
.exa-contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; font-size: .95rem; }
.exa-contact-list a { color: var(--exa-tinta); }
.exa-card-empty { border-style: dashed; text-align: center; color: #6A7080; }
.exa-privacy-row {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .8rem 0; border-bottom: 1px solid var(--exa-linea);
}
.exa-privacy-row:last-of-type { border-bottom: 0; }

/* ── F4: Formación e instituciones ──────────────────────────────────── */
.exa-edu-level {
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--exa-ambar-oscuro);
}
.exa-inst-link { color: var(--exa-tinta); text-decoration: none; }
.exa-inst-link:hover { text-decoration: underline; }
.exa-promo-hook {
  font-size: .9rem; background: var(--exa-papel); border: 1px dashed var(--exa-linea);
  border-radius: 10px; padding: .55rem .8rem;
}
.exa-promo-hook.has-mates { background: #FDF4E3; border-color: var(--exa-ambar); }
.exa-level-picker { display: flex; gap: .5rem; flex-wrap: wrap; }
.exa-level-btn {
  border: 1.5px solid var(--exa-linea); border-radius: 10px; font-weight: 600;
  color: var(--exa-grafito); background: #fff;
}
.btn-check:checked + .exa-level-btn { background: var(--exa-tinta); color: #fff; border-color: var(--exa-tinta); }
.exa-typeahead {
  position: absolute; z-index: 40; left: 0; right: 0; top: 100%;
  background: #fff; border: 1px solid var(--exa-linea); border-radius: 10px;
  box-shadow: var(--exa-sombra); overflow: hidden; max-height: 260px; overflow-y: auto;
}
.exa-typeahead-item {
  display: block; width: 100%; text-align: left; background: none; border: 0;
  padding: .6rem .85rem; border-bottom: 1px solid var(--exa-papel); font-size: .93rem;
}
.exa-typeahead-item:hover { background: var(--exa-papel); }
.exa-stat-big { font-family: var(--exa-display); font-weight: 640; font-size: 2.2rem; color: var(--exa-tinta); }
.exa-promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .6rem; }
.exa-promo-chip {
  border: 1px solid var(--exa-linea); border-radius: 10px; padding: .5rem .6rem; text-align: center;
  background: var(--exa-papel);
}
.exa-promo-chip strong { display: block; font-family: var(--exa-display); color: var(--exa-tinta); font-size: 1.15rem; }
.exa-promo-chip span { font-size: .75rem; color: #6A7080; }

/* ── F5: EXA Match ──────────────────────────────────────────────────── */
.exa-match-summary { display: flex; gap: .5rem; flex-wrap: wrap; }
.exa-match-pill {
  border-radius: 999px; padding: .3rem .85rem; font-size: .85rem;
  background: var(--exa-celeste); color: var(--exa-tinta);
}
.exa-match-pill.lv-a { background: #FDF4E3; color: var(--exa-ambar-oscuro); border: 1px solid var(--exa-ambar); }
.exa-level-dot {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  font-size: .8rem; font-weight: 700; color: #fff; background: var(--exa-tinta);
}
.exa-level-dot.lv-a { background: var(--exa-ambar); color: var(--exa-tinta-oscura); }
.exa-level-dot.lv-c { background: #6A7080; }
.exa-people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .7rem; }
.exa-person-card {
  display: flex; gap: .7rem; align-items: center; text-decoration: none; color: var(--exa-grafito);
  background: #fff; border: 1px solid var(--exa-linea); border-radius: 12px; padding: .7rem .8rem;
  transition: box-shadow .15s ease, transform .15s ease;
}
.exa-person-card:hover { box-shadow: var(--exa-sombra); transform: translateY(-1px); color: var(--exa-grafito); }
.exa-person-avatar {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  display: inline-grid; place-items: center; font-size: 1rem;
}
.exa-person-info { display: flex; flex-direction: column; min-width: 0; }
.exa-person-info strong { font-size: .95rem; color: var(--exa-tinta); }
.exa-person-via { font-size: .78rem; color: #6A7080; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── F6: Viralidad ──────────────────────────────────────────────────── */
a.exa-sello-card { text-decoration: none; cursor: pointer; }
.exa-btn-wa { background: #25D366; color: #fff; border: none; border-radius: 10px; font-weight: 600; }
.exa-btn-wa:hover { background: #1eb955; color: #fff; }
.exa-invite-banner {
  background: #FDF4E3; border: 1px solid var(--exa-ambar); border-radius: 10px;
  padding: .7rem .9rem; font-size: .92rem; color: var(--exa-tinta-oscura);
}
.exa-missing-row {
  display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--exa-linea); border-radius: 10px; padding: .55rem .8rem;
}
.exa-missing-name { font-weight: 600; color: var(--exa-grafito); }
.exa-promo-landing .exa-sello-inner { width: 176px; height: 176px; }
a.exa-promo-chip { text-decoration: none; display: block; transition: box-shadow .15s ease; }
a.exa-promo-chip:hover { box-shadow: var(--exa-sombra); }

/* ── F7: Conexiones ─────────────────────────────────────────────────── */
.exa-nav-badge {
  position: absolute; top: -6px; right: -12px;
  background: var(--exa-ambar); color: var(--exa-tinta-oscura);
  font-size: .66rem; font-weight: 700; border-radius: 999px;
  padding: .05rem .38rem; line-height: 1.3;
}
.exa-conn-chip { font-size: 1.1rem; flex-shrink: 0; }
.exa-person-card form { flex-shrink: 0; }

/* ── F8: Feed ───────────────────────────────────────────────────────── */
.exa-composer textarea { border: none; resize: none; background: var(--exa-papel); border-radius: 10px; }
.exa-composer textarea:focus { background: #fff; box-shadow: 0 0 0 .2rem rgba(36,53,107,.12); }
.exa-post {
  background: #fff; border: 1px solid var(--exa-linea); border-radius: var(--exa-radio);
  padding: 1rem 1.1rem;
}
.exa-post-author { font-weight: 700; color: var(--exa-tinta); text-decoration: none; }
.exa-post-author:hover { text-decoration: underline; }
.exa-post-meta { font-size: .78rem; color: #8a8f9c; }
.exa-post-body { margin-top: .6rem; white-space: normal; overflow-wrap: break-word; }
.exa-post-body a { color: var(--exa-tinta); }
.exa-post-images { display: grid; gap: 4px; margin-top: .7rem; border-radius: 12px; overflow: hidden; }
.exa-post-images.imgs-1 { grid-template-columns: 1fr; }
.exa-post-images.imgs-2 { grid-template-columns: 1fr 1fr; }
.exa-post-images.imgs-3 { grid-template-columns: 1fr 1fr 1fr; }
.exa-post-images.imgs-4 { grid-template-columns: 1fr 1fr; }
.exa-post-images img { width: 100%; height: 100%; object-fit: cover; max-height: 420px; display: block; }
.exa-post-actions {
  display: flex; gap: 1.2rem; align-items: center; margin-top: .8rem;
  padding-top: .6rem; border-top: 1px solid var(--exa-papel);
}
.exa-like-btn {
  background: none; border: none; display: inline-flex; gap: .35rem; align-items: center;
  font-size: .9rem; color: #6A7080; padding: 0; cursor: pointer;
}
.exa-like-btn .like-icon { filter: grayscale(1); transition: transform .15s ease, filter .15s ease; }
.exa-like-btn.liked .like-icon { filter: none; transform: scale(1.15); }
.exa-like-btn.liked { color: #c0304a; font-weight: 600; }
.exa-comment-link { font-size: .9rem; color: #6A7080; text-decoration: none; }
.exa-comment-link:hover { color: var(--exa-tinta); }
.exa-comment { background: var(--exa-papel); border-radius: 10px; padding: .5rem .7rem; }

/* ── F8: Feed ───────────────────────────────────────────────────────── */
.exa-composer {
  background: #fff; border: 1px solid var(--exa-linea); border-radius: var(--exa-radio);
  padding: .9rem; box-shadow: var(--exa-sombra);
}
.exa-composer textarea { border: none; resize: none; padding: .2rem; }
.exa-composer textarea:focus { box-shadow: none; }
.exa-composer-bar {
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  border-top: 1px solid var(--exa-papel); padding-top: .6rem; margin-top: .4rem;
}
.exa-composer-attach { cursor: pointer; font-size: 1.15rem; user-select: none; }
.exa-attach-count { font-size: .75rem; font-weight: 700; color: var(--exa-ambar-oscuro); }
.exa-post {
  background: #fff; border: 1px solid var(--exa-linea); border-radius: var(--exa-radio);
  padding: 1rem 1.1rem;
}
.exa-post-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; }
.exa-post-body { margin-top: .7rem; white-space: normal; line-height: 1.55; }
.exa-post-images { display: grid; gap: 4px; margin-top: .7rem; border-radius: 10px; overflow: hidden; }
.exa-post-images.n1 { grid-template-columns: 1fr; }
.exa-post-images.n2 { grid-template-columns: 1fr 1fr; }
.exa-post-images.n3 { grid-template-columns: 1fr 1fr 1fr; }
.exa-post-images.n4 { grid-template-columns: 1fr 1fr; }
.exa-post-images img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; display: block; }
.exa-post-images.n1 img { aspect-ratio: auto; max-height: 460px; object-fit: contain; background: var(--exa-papel); }
.exa-post-foot {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--exa-papel); margin-top: .8rem; padding-top: .55rem;
}
.exa-react-bar { display: flex; align-items: center; gap: .15rem; }
.exa-react-btn {
  background: none; border: none; font-size: 1.05rem; padding: .15rem .3rem;
  border-radius: 8px; filter: grayscale(60%); opacity: .75; transition: transform .12s ease;
}
.exa-react-btn:hover { transform: scale(1.2); filter: none; opacity: 1; }
.exa-react-btn.active { filter: none; opacity: 1; background: var(--exa-celeste); }
.exa-react-count { font-size: .82rem; color: #6A7080; margin-left: .25rem; min-width: 1ch; }
.exa-comments { border-top: 1px solid var(--exa-papel); margin-top: .6rem; padding-top: .7rem; display: flex; flex-direction: column; gap: .6rem; }
.exa-comment { display: flex; gap: .5rem; }
.exa-comment-avatar {
  width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  display: inline-grid; place-items: center; font-size: .7rem;
}
.exa-comment-bubble {
  background: var(--exa-papel); border-radius: 12px; padding: .45rem .7rem; font-size: .92rem; flex-grow: 1;
}
.exa-comment-form { display: flex; gap: .5rem; margin-top: .2rem; }

/* ── F9: Grupos ─────────────────────────────────────────────────────── */
.exa-groups-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .7rem; }
.exa-group-card {
  display: flex; gap: .7rem; align-items: center; text-decoration: none;
  background: #fff; border: 1px solid var(--exa-linea); border-radius: 12px; padding: .8rem .9rem;
  transition: box-shadow .15s ease, transform .15s ease; color: var(--exa-grafito);
}
.exa-group-card:hover { box-shadow: var(--exa-sombra); transform: translateY(-1px); color: var(--exa-grafito); }
.exa-group-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--exa-celeste);
  display: inline-grid; place-items: center; font-size: 1.3rem; flex-shrink: 0;
}
.exa-group-info { display: flex; flex-direction: column; min-width: 0; }
.exa-group-info strong { color: var(--exa-tinta); font-size: .95rem; }
.exa-group-type-chip { font-size: .78rem; color: #6A7080; }
.exa-post-group-link { color: inherit; font-weight: 600; }

/* ── F10: Eventos ───────────────────────────────────────────────────── */
.exa-event-card { display: flex; gap: .9rem; align-items: center; }
.exa-event-card:hover { box-shadow: var(--exa-sombra); }
.exa-event-date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 12px; flex-shrink: 0;
  background: var(--exa-celeste); color: var(--exa-tinta);
}
.exa-event-date .d { font-family: Fraunces, serif; font-size: 1.4rem; font-weight: 700; line-height: 1; }
.exa-event-date .m { font-size: .68rem; }
.exa-event-info { display: flex; flex-direction: column; min-width: 0; color: var(--exa-grafito); }
.exa-event-info strong { color: var(--exa-tinta); }

/* ── F11: Mensajes ──────────────────────────────────────────────────── */
.exa-msg-row { display: flex; gap: .8rem; align-items: center; text-decoration: none; color: var(--exa-grafito); }
.exa-msg-row:hover { box-shadow: var(--exa-sombra); color: var(--exa-grafito); }
.exa-msg-row.has-unread { border-color: var(--exa-ambar); }
.exa-msg-info { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; }
.exa-msg-info strong { color: var(--exa-tinta); }
.exa-msg-preview { font-size: .85rem; color: #6A7080; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.exa-msg-row.has-unread .exa-msg-preview { color: var(--exa-grafito); font-weight: 600; }
.exa-msg-badge {
  background: var(--exa-ambar); color: var(--exa-tinta-oscura); font-size: .72rem; font-weight: 700;
  border-radius: 999px; padding: .1rem .5rem; flex-shrink: 0;
}
.exa-thread { padding: 0; overflow: hidden; }
.exa-thread-head { padding: .8rem 1rem; border-bottom: 1px solid var(--exa-linea); background: #fff; }
.exa-thread-body { padding: 1rem; max-height: 55vh; overflow-y: auto; background: var(--exa-papel); display: flex; flex-direction: column; }
.exa-bubble-row { display: flex; margin-bottom: .5rem; }
.exa-bubble-row.mine { justify-content: flex-end; }
.exa-bubble {
  max-width: 78%; background: #fff; border: 1px solid var(--exa-linea);
  border-radius: 14px 14px 14px 4px; padding: .5rem .75rem; font-size: .93rem;
}
.exa-bubble-row.mine .exa-bubble {
  background: var(--exa-celeste); border-color: transparent; border-radius: 14px 14px 4px 14px;
}
.exa-bubble-time { display: block; font-size: .68rem; color: #8a8f9a; margin-top: .2rem; text-align: right; }
.exa-thread-form { display: flex; gap: .5rem; padding: .8rem 1rem; border-top: 1px solid var(--exa-linea); background: #fff; }
.exa-thread-form textarea { resize: none; }

/* ── F12: Notificaciones ────────────────────────────────────────────── */
.exa-notif-row { display: flex; gap: .8rem; align-items: center; text-decoration: none; color: var(--exa-grafito); }
.exa-notif-row:hover { box-shadow: var(--exa-sombra); color: var(--exa-grafito); }
.exa-notif-row.is-unread { border-color: var(--exa-ambar); background: #FFFDF7; }
.exa-notif-icon {
  width: 40px; height: 40px; border-radius: 50%; background: var(--exa-celeste);
  display: inline-grid; place-items: center; font-size: 1.1rem; flex-shrink: 0;
}
.exa-notif-info { display: flex; flex-direction: column; min-width: 0; font-size: .92rem; }
.exa-notif-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--exa-ambar); flex-shrink: 0; }

/* ── F14: Gestión ───────────────────────────────────────────────────── */
.exa-gestion { background: #F2F3F7; min-height: 100vh; }
.exa-gestion-top {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  background: var(--exa-tinta-oscura); color: #fff; padding: .6rem 1rem;
}
.exa-gestion-brand { font-family: 'Fraunces', serif; font-weight: 700; letter-spacing: .02em; color: #fff; font-size: 1.05rem; }
.exa-gestion-nav { display: flex; gap: .2rem; flex-wrap: wrap; }
.exa-gestion-nav a {
  color: #cdd6ee; text-decoration: none; padding: .35rem .7rem; border-radius: 8px; font-size: .9rem;
}
.exa-gestion-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.exa-gestion-nav a.active { background: var(--exa-ambar); color: var(--exa-tinta-oscura); font-weight: 600; }
.exa-gestion .card { border: 1px solid var(--exa-linea); border-radius: 12px; }
.exa-gestion-auth .exa-gestion-brand { font-size: 1.4rem; }

/* ── Gestión 2.0: sidebar profesional ───────────────────────────────── */
.exa-gestion { background: #F2F3F7; min-height: 100vh; }
.exa-g-sidebar {
  position: fixed; inset: 0 auto 0 0; width: 240px; z-index: 1030;
  background: var(--exa-tinta-oscura); color: #fff;
  flex-direction: column; overflow-y: auto;
}
.exa-g-offcanvas { background: var(--exa-tinta-oscura); color: #fff; width: 260px; }
.exa-g-brand {
  display: flex; align-items: center; gap: .6rem; padding: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.exa-g-sello {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--exa-tinta); border: 3px solid var(--exa-ambar);
  display: grid; place-items: center; font-weight: 800; font-size: .8rem; color: #fff;
}
.exa-g-brand strong { display: block; font-family: 'Fraunces', serif; letter-spacing: .02em; }
.exa-g-brand small { color: #8fa0c9; font-size: .72rem; }
.exa-g-nav { padding: .6rem .55rem 1.2rem; display: flex; flex-direction: column; gap: 1px; }
.exa-g-group {
  font-size: .66rem; letter-spacing: .1em; color: #7688b3; font-weight: 700;
  padding: .85rem .6rem .3rem;
}
.exa-g-nav a {
  display: flex; align-items: center; gap: .6rem; color: #cdd6ee; text-decoration: none;
  padding: .45rem .6rem; border-radius: 8px; font-size: .9rem;
}
.exa-g-nav a .ico { width: 22px; text-align: center; }
.exa-g-nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.exa-g-nav a.active { background: var(--exa-ambar); color: var(--exa-tinta-oscura); font-weight: 600; }
.exa-g-wrap { margin-left: 240px; min-height: 100vh; display: flex; flex-direction: column; }
@media (max-width: 991px) { .exa-g-wrap { margin-left: 0; } }
.exa-g-top {
  display: flex; align-items: center; gap: .8rem;
  background: var(--exa-tinta); color: #fff; padding: .55rem 1rem;
  position: sticky; top: 0; z-index: 1020;
}
.exa-g-title { font-weight: 600; font-size: .95rem; opacity: .9; }
.exa-g-main { padding: 1.2rem; max-width: 1200px; width: 100%; }
.exa-gestion .card { border: 1px solid var(--exa-linea); border-radius: 12px; }
.exa-gestion .table { background: #fff; border-radius: 10px; overflow: hidden; }
.exa-g-config-hint { font-size: .82rem; color: #6A7080; }
.exa-g-status-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: .3rem; }
.exa-g-status-dot.on { background: #1fa858; }
.exa-g-status-dot.off { background: #c2c8d4; }

/* ── Branding: logo oficial ─────────────────────────────────────────── */
.exa-brand-logo { height: 40px; width: auto; display: block; }
@media (max-width: 575px) { .exa-brand-logo { height: 34px; } }

.exa-footer-dev { color: var(--exa-ambar); text-decoration: none; font-weight: 600; }
.exa-footer-dev:hover { text-decoration: underline; }

/* ── Inicio 2.0: layout tipo red social (menú | feed | novedades) ──── */
.exa-inicio .container-xxl { max-width: 1320px; }
.exa-fb-grid {
  display: grid; grid-template-columns: 280px minmax(0, 1fr) 320px;
  gap: 1.25rem; align-items: start;
}
@media (max-width: 1199px) { .exa-fb-grid { grid-template-columns: 280px minmax(0, 1fr); } }
@media (max-width: 991px)  { .exa-fb-grid { grid-template-columns: minmax(0, 1fr); } }
.exa-fb-left, .exa-fb-right {
  position: sticky; top: 82px;
  max-height: calc(100vh - 98px); overflow-y: auto;
  scrollbar-width: thin;
}
.exa-fb-center { min-width: 0; }

/* Tarjeta de perfil */
.exa-fb-me { padding: 1rem; }
.exa-fb-me-head { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--exa-grafito); }
.exa-fb-me-head strong { display: block; line-height: 1.15; }
.exa-fb-me-head small { color: #6A7080; }
.exa-fb-avatar {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--exa-ambar);
}
.exa-fb-avatar-ini {
  display: grid; place-items: center; background: var(--exa-tinta); color: #fff;
  font-weight: 700; font-size: 1.05rem;
}
.exa-fb-promo {
  margin-top: .6rem; font-size: .8rem; color: var(--exa-tinta);
  background: var(--exa-celeste); border-radius: 8px; padding: .35rem .6rem;
}

/* Menú vertical */
.exa-fb-menu { padding: .5rem; margin-top: 1rem; display: flex; flex-direction: column; }
.exa-fb-menu a, .exa-fb-menu button {
  display: flex; align-items: center; gap: .65rem; width: 100%;
  padding: .5rem .65rem; border-radius: 10px; border: 0; background: none;
  color: var(--exa-grafito); text-decoration: none; font-size: .93rem; text-align: left;
  cursor: pointer;
}
.exa-fb-menu .ico { width: 24px; text-align: center; font-size: 1.05rem; }
.exa-fb-menu a:hover, .exa-fb-menu button:hover { background: var(--exa-celeste); }
.exa-fb-menu a.active { background: var(--exa-tinta); color: #fff; font-weight: 600; }
.exa-fb-badge {
  margin-left: auto; background: var(--exa-ambar); color: var(--exa-tinta-oscura);
  font-size: .7rem; font-weight: 700; border-radius: 999px; padding: .1rem .45rem;
}
.exa-fb-menu a.active .exa-fb-badge { background: #fff; }

/* Aviso compacto (conexiones pendientes) */
.exa-fb-flash { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .8rem 1rem; }

/* Nuevos en EXA */
.exa-fb-newlist { display: flex; flex-direction: column; }
.exa-fb-newitem {
  display: flex; align-items: center; gap: .6rem; padding: .4rem .3rem;
  border-radius: 10px; text-decoration: none; color: var(--exa-grafito);
}
.exa-fb-newitem:hover { background: var(--exa-celeste); }
.exa-fb-newitem strong { display: block; font-size: .88rem; line-height: 1.15; }
.exa-fb-newitem small { color: #6A7080; font-size: .76rem; }
.exa-fb-mini-avatar {
  width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  font-size: .8rem;
}

/* Números */
.exa-fb-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.exa-fb-stats > div {
  background: var(--exa-papel); border-radius: 10px; padding: .55rem .5rem; text-align: center;
}
.exa-fb-stats strong { display: block; font-family: 'Fraunces', serif; font-size: 1.15rem; color: var(--exa-tinta); }
.exa-fb-stats small { color: #6A7080; font-size: .72rem; }

/* Panel: las vistas internas se funden en la columna central (sin doble padding) */
.exa-fb-center > .exa-page, .exa-fb-center > section.exa-page { padding: 0; }
.exa-fb-center > .exa-page > .container,
.exa-fb-center > .exa-page > .container-xxl { padding-left: 0; padding-right: 0; max-width: 100% !important; }
.exa-panel .exa-fb-center h1.exa-display-sm { font-size: 1.5rem; }

/* ── Cropper de imágenes (avatar / portada) ─────────────────────────── */
.exa-crop-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(10,14,25,.75);
  display: grid; place-items: center; padding: 1rem;
}
.exa-crop-modal {
  background: #fff; border-radius: 14px; width: min(680px, 96vw);
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.exa-crop-head { display: flex; justify-content: space-between; align-items: center; padding: .7rem 1rem; border-bottom: 1px solid var(--exa-linea); }
.exa-crop-x { border: 0; background: none; font-size: 1.1rem; cursor: pointer; color: #6A7080; }
.exa-crop-stage { height: min(420px, 58vh); background: #0d1526; }
.exa-crop-stage canvas { display: block; cursor: grab; }
.exa-crop-stage canvas:active { cursor: grabbing; }
.exa-crop-hint { text-align: center; font-size: .78rem; color: #6A7080; padding: .35rem .8rem 0; }
.exa-crop-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; flex-wrap: wrap; }
.exa-crop-zoom { display: flex; align-items: center; gap: .5rem; flex: 1; min-width: 180px; }
.exa-crop-zoom input { width: 100%; }
.exa-crop-actions { display: flex; gap: .5rem; }

/* ── Perfil público 2.0: hero estilo red social ─────────────────────── */
.exa-pf-hero { background: #fff; border-bottom: 1px solid var(--exa-linea); }
.exa-pf-cover {
  height: 260px; background-size: cover; background-position: center;
}
@media (max-width: 575px) { .exa-pf-cover { height: 170px; } }
.exa-pf-cover-default {
  background: linear-gradient(120deg, var(--exa-tinta-oscura) 0%, var(--exa-tinta) 55%, #3A5498 100%);
  position: relative; overflow: hidden;
}
.exa-pf-cover-default::after {
  content: 'EXA'; position: absolute; right: -20px; bottom: -60px;
  font-family: 'Fraunces', serif; font-weight: 800; font-size: 13rem;
  color: rgba(224,154,47,.12); letter-spacing: -.04em;
}
.exa-pf-head {
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
  padding: .55rem 0 1.1rem; margin-top: 0; position: relative;
}
.exa-pf-avatar {
  width: 148px; height: 148px; border-radius: 50%; object-fit: cover;
  border: 5px solid #fff; box-shadow: 0 4px 18px rgba(0,0,0,.18);
  background: var(--exa-tinta); flex-shrink: 0;
  margin-top: -64px; /* solo el avatar solapa la portada */
}
.exa-pf-avatar-ini {
  display: grid; place-items: center; color: #fff;
  font-family: 'Fraunces', serif; font-weight: 700; font-size: 2.6rem;
}
@media (max-width: 575px) {
  /* Mobile: SOLO el avatar solapa la portada; nombre y botones quedan
     debajo del banner, sobre fondo blanco, centrados y con aire */
  .exa-pf-head {
    flex-direction: column; align-items: center; text-align: center;
    gap: .35rem; padding-top: 0; padding-bottom: .9rem;
  }
  .exa-pf-avatar { width: 112px; height: 112px; margin-top: -52px; }
  .exa-pf-id { padding-top: .4rem; }
  .exa-pf-chips { justify-content: center; }
  .exa-pf-actions { width: 100%; justify-content: center; padding-bottom: 0; }
}
.exa-pf-id { flex: 1; min-width: 220px; padding-bottom: .2rem; }
.exa-pf-id h1 {
  font-family: 'Fraunces', serif; font-size: 2rem; margin: 0; color: var(--exa-tinta-oscura);
}
.exa-pf-sub { color: #6A7080; margin: .1rem 0 .35rem; font-size: .92rem; }
.exa-pf-sello {
  display: inline-block; background: var(--exa-celeste); color: var(--exa-tinta);
  border: 1px solid rgba(36,53,107,.18); border-radius: 999px;
  padding: .25rem .75rem; font-size: .82rem; font-weight: 600;
}
.exa-pf-actions { display: flex; gap: .6rem; flex-wrap: wrap; padding-bottom: .3rem; }
.exa-btn-lg { padding: .55rem 1.25rem !important; font-size: 1rem !important; border-radius: 12px !important; }
.exa-pf-connected { pointer-events: none; opacity: .85; }

.exa-pf-edu { display: flex; gap: .7rem; align-items: flex-start; }
.exa-pf-edu-ico { font-size: 1.3rem; line-height: 1.4; }

.exa-pf-locked { background: linear-gradient(180deg, #fff 0%, var(--exa-papel) 100%); }
.exa-pf-join { border: 2px solid var(--exa-ambar); }

/* ── Estructura: footer siempre fijado al fondo del documento ───────── */
.exa-main { flex: 1 0 auto; display: block; width: 100%; }
.exa-footer { flex-shrink: 0; position: relative; z-index: 5; margin-top: 0 !important; }

.exa-pf-chips { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.exa-pf-chip {
  display: inline-block; background: #fff; border: 1px solid var(--exa-linea);
  border-radius: 999px; padding: .25rem .7rem; font-size: .8rem; color: var(--exa-grafito);
}
.exa-pf-sello {
  background: linear-gradient(135deg, #FBF3E2, var(--exa-celeste));
  border: 1.5px solid var(--exa-ambar);
  box-shadow: 0 1px 6px rgba(224,154,47,.25);
}
.exa-pf-check {
  display: flex; align-items: center; gap: .55rem; padding: .45rem .6rem;
  border-radius: 10px; text-decoration: none; color: var(--exa-grafito); font-size: .92rem;
  border: 1px dashed var(--exa-linea);
}
.exa-pf-check.done { border-style: solid; background: var(--exa-papel); color: #6A7080; }
a.exa-pf-check:hover { background: var(--exa-celeste); border-color: var(--exa-tinta); }
.exa-card-title { border-left: 3px solid var(--exa-ambar); padding-left: .55rem; }

/* ── Puntos y credenciales ──────────────────────────────────────────── */
.exa-pts-hero { background: linear-gradient(135deg, #fff 60%, #FBF3E2); }
.exa-pts-medal {
  width: 74px; height: 74px; border-radius: 50%; flex-shrink: 0;
  background: var(--exa-tinta); display: grid; place-items: center; font-size: 2.2rem;
  border: 3px solid var(--exa-ambar);
}
.exa-pts-total { font-family: 'Fraunces', serif; font-size: 2.3rem; font-weight: 700; color: var(--exa-tinta-oscura); line-height: 1; }
.exa-pts-invite { border: 2px dashed var(--exa-ambar); }
.exa-fb-points {
  display: block; margin-top: .6rem; text-decoration: none; text-align: center;
  background: #FBF3E2; border: 1px solid var(--exa-ambar); border-radius: 10px;
  padding: .35rem .6rem; font-size: .85rem; color: var(--exa-grafito);
}
.exa-fb-points:hover { background: var(--exa-ambar); color: var(--exa-tinta-oscura); }

/* ── Contacto del perfil: botones de acción ─────────────────────────── */
.exa-ct-list { display: flex; flex-direction: column; gap: .55rem; }
.exa-ct-btn {
  display: flex; align-items: center; gap: .7rem;
  padding: .6rem .85rem; border-radius: 12px; text-decoration: none;
  font-weight: 600; font-size: .93rem; border: 1.5px solid transparent;
  transition: transform .08s ease, box-shadow .12s ease;
}
.exa-ct-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.10); }
.exa-ct-ico {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1.15rem; background: rgba(255,255,255,.55);
}
.exa-ct-btn small { display: block; font-weight: 400; font-size: .74rem; opacity: .75; }
.exa-ct-wa   { background: #E7F8EE; color: #0E6B3C; border-color: #BFE8CF; }
.exa-ct-wa:hover   { color: #0E6B3C; }
.exa-ct-web  { background: var(--exa-celeste); color: var(--exa-tinta); border-color: rgba(36,53,107,.2); }
.exa-ct-web:hover  { color: var(--exa-tinta); }
.exa-ct-mail { background: #FBF3E2; color: #8A5A00; border-color: rgba(224,154,47,.4); }
.exa-ct-mail:hover { color: #8A5A00; }
.exa-ct-tel  { background: var(--exa-papel); color: var(--exa-grafito); border-color: var(--exa-linea); }
.exa-ct-tel:hover  { color: var(--exa-grafito); }
.exa-ct-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--exa-papel); border: 1px solid var(--exa-linea);
  border-radius: 999px; padding: .3rem .8rem; font-size: .84rem; color: var(--exa-grafito);
}

/* ── Compartir: fila de iconos con logos oficiales ──────────────────── */
.exa-share-row { display: flex; align-items: center; gap: .65rem; flex-wrap: nowrap; position: relative; }
.exa-share-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 0; padding: 0;
  display: grid; place-items: center; cursor: pointer; color: #fff;
  text-decoration: none; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.16);
  transition: transform .1s ease, box-shadow .15s ease;
}
.exa-share-btn:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 6px 16px rgba(0,0,0,.22); color: #fff; }
.exa-share-btn svg { width: 22px; height: 22px; }
.exa-share-copy { background: var(--exa-tinta); }
.exa-share-wa   { background: #25D366; }
.exa-share-fb   { background: #1877F2; }
.exa-share-x    { background: #000000; }
.exa-share-ig   {
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.exa-share-toast {
  position: absolute; top: -34px; left: 0;
  background: var(--exa-tinta-oscura); color: #fff; font-size: .78rem;
  padding: .3rem .7rem; border-radius: 8px; white-space: nowrap;
}

/* ── PWA: banner de instalación + instrucciones iOS ─────────────────── */
.exa-pwa-banner {
  position: fixed; left: 10px; right: 10px; bottom: 12px; z-index: 1900;
  background: #fff; border: 1.5px solid var(--exa-linea); border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
  display: flex; align-items: center; gap: .8rem; padding: .8rem .9rem;
  animation: exaPwaUp .35s ease;
}
@keyframes exaPwaUp { from { transform: translateY(120%); opacity: 0; } to { transform: none; opacity: 1; } }
.exa-pwa-ico { width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; }
.exa-pwa-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.exa-pwa-txt strong { font-size: .92rem; color: var(--exa-tinta-oscura); }
.exa-pwa-txt span { font-size: .78rem; color: #6A7080; }
.exa-pwa-actions { display: flex; flex-direction: column; gap: .25rem; align-items: center; }
.exa-pwa-footer-link {
  display: block; width: 100%; margin: .9rem 0 0; padding: .65rem 1rem;
  background: var(--exa-tinta); color: #fff; border: 0; border-radius: 12px;
  font-weight: 600; font-size: .95rem;
}
.exa-pwa-footer-link:active { background: var(--exa-tinta-oscura); }
.exa-pwa-ios-overlay {
  position: fixed; inset: 0; z-index: 2000; background: rgba(10,14,25,.7);
  display: grid; place-items: end center; padding: 1rem;
}
.exa-pwa-ios {
  background: #fff; border-radius: 18px 18px 14px 14px; padding: 1.3rem;
  width: min(420px, 100%); text-align: center;
  animation: exaPwaUp .3s ease;
}
.exa-pwa-ios h3 { font-family: 'Fraunces', serif; font-size: 1.15rem; color: var(--exa-tinta-oscura); }
.exa-pwa-ios ol { text-align: left; margin: .8rem 0 1rem; padding-left: 1.3rem; }
.exa-pwa-ios li { margin-bottom: .5rem; }
.exa-pwa-ios svg { vertical-align: -4px; color: #0B84FE; }
.exa-pwa-plus { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid #444; border-radius: 5px; font-size: .9rem; vertical-align: -5px; }

/* ── Mobile: nunca desbordar horizontalmente ────────────────────────── */
html, body { overflow-x: hidden; max-width: 100%; }
img, svg, video { max-width: 100%; }
.exa-url-break { overflow-wrap: anywhere; word-break: break-all; white-space: normal; }
@media (max-width: 575px) {
  .exa-pf-id h1 { font-size: 1.55rem; }
  .exa-pf-sub { font-size: .85rem; }
  .exa-btn-lg { padding: .5rem 1rem !important; font-size: .95rem !important; }
}

/* ── Videos embebidos en publicaciones ──────────────────────────────── */
.exa-post-video { margin-top: .7rem; border-radius: 12px; overflow: hidden; background: #000; }
.exa-video-wide { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.exa-video-wide iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.exa-video-vertical { width: min(340px, 100%); margin-left: auto; margin-right: auto; aspect-ratio: 9 / 16; position: relative; }
.exa-video-vertical iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ── Navbar mobile: hamburguesa + panel ─────────────────────────────── */
.exa-burger {
  width: 40px; height: 40px; border: 1.5px solid var(--exa-linea); border-radius: 10px;
  background: #fff; display: grid; place-items: center; gap: 0; padding: 9px 8px;
  flex-direction: column; cursor: pointer;
}
.exa-burger span {
  display: block; width: 20px; height: 2px; background: var(--exa-tinta);
  border-radius: 2px; margin: 2.5px 0; transition: transform .2s ease, opacity .2s ease;
}
.exa-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.exa-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.exa-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.exa-nav-movil { background: #fff; border-top: 1px solid var(--exa-linea); box-shadow: 0 12px 20px rgba(0,0,0,.08); }
.exa-nm-link {
  display: flex; align-items: center; gap: .6rem;
  padding: .65rem .5rem; border-radius: 10px; text-decoration: none;
  color: var(--exa-grafito); font-weight: 600; font-size: 1rem;
}
.exa-nm-link:active, .exa-nm-link:hover { background: var(--exa-celeste); color: var(--exa-tinta); }
.exa-nm-badge {
  margin-left: auto; background: var(--exa-ambar); color: var(--exa-tinta-oscura);
  border-radius: 999px; font-size: .75rem; font-weight: 700; padding: .1rem .55rem;
}
.exa-nm-lang { display: flex; align-items: center; gap: .8rem; padding: .7rem .5rem .3rem; border-top: 1px solid var(--exa-linea); margin-top: .4rem; }
.exa-nm-lang a { text-decoration: none; font-weight: 700; color: #6A7080; padding: .15rem .5rem; border-radius: 8px; }
.exa-nm-lang a.active { background: var(--exa-tinta); color: #fff; }
