/* ═══════════════════════════════════════════════════════════════
   LexConnect · platform.css
   Design system: dark #1a1a1a · gold #c4a05a · white #f0ece4
   Mobile-first · No heavy shadows · Minimal animations
═══════════════════════════════════════════════════════════════ */

/* ── VARIABLES ───────────────────────────────────────────────── */
:root {
  --bg:          #1a1a1a;
  --bg-2:        #1e1e1e;
  --bg-3:        #222222;
  --gold:        #c4a05a;
  --gold-10:     rgba(196, 160, 90, 0.10);
  --gold-20:     rgba(196, 160, 90, 0.20);
  --gold-30:     rgba(196, 160, 90, 0.30);
  --text:        #f0ece4;
  --text-60:     rgba(240, 236, 228, 0.60);
  --text-35:     rgba(240, 236, 228, 0.35);
  --text-20:     rgba(240, 236, 228, 0.20);
  --border:      rgba(255, 255, 255, 0.08);
  --border-gold: rgba(196, 160, 90, 0.28);
  --green:       #4cd964;
  --green-10:    rgba(76, 217, 100, 0.10);
  --green-25:    rgba(76, 217, 100, 0.25);
  --amber:       rgba(251, 191, 36, 0.12);
  --amber-text:  rgba(251, 191, 36, 0.90);
  --f-title:     'Cormorant Garamond', serif;
  --f-body:      'Inter', sans-serif;
  --r:           10px;
  --r-lg:        18px;
  --nav-h:       56px;
  --max-w:       1080px;
  --pad:         20px;
  --gap:         14px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
  font-size: 16px;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%; /* evita que iOS cambie el font-size */
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: opacity 0.18s;
}
a:hover { opacity: 0.75; }

img { display: block; max-width: 100%; }

/* ── FORM ELEMENTS ───────────────────────────────────────────── */
input,
select,
textarea {
  font-family: var(--f-body);
  font-size: 0.9rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--text);
  padding: 12px 16px;
  width: 100%;
  outline: none;
  transition: border-color 0.18s;
  min-height: 48px;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--border-gold);
}
textarea {
  min-height: 96px;
  resize: vertical;
}
select option { background: var(--bg-2); }
::placeholder { color: var(--text-35); }

/* ── SCROLL FADE-IN ──────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── NAV ─────────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(26, 26, 26, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 var(--pad);
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }

.nav-logo {
  font-family: var(--f-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 12px;
  letter-spacing: 0.3px;
}

.nav-link {
  flex-shrink: 0;
  padding: 0 14px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-60);
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  font-family: var(--f-body);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
.nav-link:hover { color: var(--text); opacity: 1; }
.nav-link.active,
.nav-link--accent {
  color: var(--gold);
  border-color: var(--border-gold);
  background: var(--gold-10);
}

/* ── SECTION WRAPPER ─────────────────────────────────────────── */
.section {
  padding: 80px var(--pad);
}
.section--alt {
  background: var(--bg-2);
}
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--f-title);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-60);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ── HERO (TARJETA) ──────────────────────────────────────────── */
#inicio {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px var(--pad);
  background: var(--bg);
}

/* ── CARD (tarjeta de presentación) ─────────────────────────── */
.card {
  width: 360px;
  max-width: 100%;
  background: #1a1a1a;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.card-nav-row {
  display: flex;
  background: #111;
  border-bottom: 1px solid var(--border);
}
.card-nav-row a {
  flex: 1;
  padding: 12px 8px;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-35);
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s;
  text-decoration: none;
}
.card-nav-row a:hover { color: var(--text-60); opacity: 1; }
.card-nav-row a.active { color: var(--gold); border-bottom-color: var(--gold); }

.card-header { position: relative; height: 200px; background: #111; }
.header-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #1e1b14 0%, #2a2014 60%, #1a1710 100%);
}
.header-accent {
  position: absolute; top: 0; right: 0;
  width: 140px; height: 140px;
  background: radial-gradient(circle at top right, rgba(196,160,90,0.15) 0%, transparent 70%);
}
.avatar-wrap {
  position: absolute;
  left: 50%; bottom: -48px;
  transform: translateX(-50%);
  width: 96px; height: 96px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  overflow: hidden;
  background: #2a2217;
}
.avatar-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 48% 8%;
}
.avatar-initials {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-title);
  font-size: 2rem; font-weight: 600;
  color: var(--gold);
}

.card-body { padding: 64px 28px 28px; text-align: center; }

.badge {
  display: inline-block;
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  border-radius: 30px;
  padding: 3px 12px;
  margin-bottom: 14px;
}

.name {
  font-family: var(--f-title);
  font-size: 1.9rem; font-weight: 700;
  color: var(--text); letter-spacing: 0.3px; line-height: 1.1;
}
.role {
  font-size: 0.72rem; color: var(--text-60);
  letter-spacing: 1.6px; text-transform: uppercase;
  margin-top: 8px; margin-bottom: 24px; line-height: 1.7;
}
.divider {
  width: 32px; height: 1px;
  background: var(--gold);
  margin: 0 auto 24px;
  opacity: 0.5;
}

.contacts { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.contact-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: var(--r);
  background: var(--gold-10); border: 1px solid var(--border);
  text-decoration: none;
  transition: border-color 0.18s;
}
.contact-item:hover { border-color: var(--border-gold); opacity: 1; }
.contact-icon {
  flex-shrink: 0; width: 30px; height: 30px;
  border-radius: 7px; background: var(--gold-10);
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 14px; height: 14px; }
.contact-info { text-align: left; overflow: hidden; }
.contact-label {
  font-size: 0.58rem; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 1px;
}
.contact-value {
  font-size: 0.78rem; color: var(--text-60);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block;
}

.section-label {
  font-size: 0.58rem; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-35); margin-bottom: 12px;
}
.socials {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px; margin-bottom: 14px;
}
.social-btn {
  height: 48px; border-radius: var(--r);
  background: var(--bg-3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: var(--text-60);
  transition: border-color 0.18s, color 0.18s;
}
.social-btn:hover { border-color: var(--border-gold); color: var(--gold); opacity: 1; }
.social-btn svg { width: 17px; height: 17px; }

.wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; min-height: 48px; padding: 12px;
  border-radius: var(--r);
  background: var(--green-10); border: 1px solid var(--green-25);
  text-decoration: none; color: var(--green);
  font-size: 0.82rem; font-weight: 500;
  transition: background 0.18s, border-color 0.18s;
}
.wa-btn:hover { background: rgba(76, 217, 100, 0.18); border-color: rgba(76, 217, 100, 0.45); opacity: 1; }
.wa-btn svg { width: 17px; height: 17px; flex-shrink: 0; }

.card-footer {
  padding: 14px 28px 22px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-link {
  font-size: 0.68rem; color: rgba(196, 160, 90, 0.5);
  text-decoration: none; letter-spacing: 1px;
  transition: color 0.18s;
}
.footer-link:hover { color: var(--gold); opacity: 1; }

/* ── RECURSOS ────────────────────────────────────────────────── */
.recursos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

.recurso-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: border-color 0.18s;
}
.recurso-card:hover { border-color: var(--border-gold); }
.recurso-badge {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #c4a05a;
  border: 1px solid rgba(196,160,90,0.35);
  border-radius: 20px;
  padding: 2px 8px;
}

.recurso-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.recurso-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--gold-10);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.recurso-icon svg { width: 17px; height: 17px; }

.recurso-official {
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 2px 8px;
  white-space: nowrap;
}

.recurso-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}
.recurso-inst {
  font-size: 0.72rem;
  color: var(--text-35);
}

.recurso-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold);
  text-decoration: none;
  transition: gap 0.18s;
}
.recurso-btn:hover { gap: 10px; opacity: 1; }

/* ── DISCAPACIDADES ──────────────────────────────────────────── */
.disc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  margin-bottom: 48px;
}
.disc-card {
  padding: 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: border-color 0.18s;
}
.disc-card:hover { border-color: var(--border-gold); }

.disc-card-icon {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--gold-10);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.disc-card-icon svg { width: 18px; height: 18px; }
.disc-card-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}
.disc-card-desc {
  font-size: 0.82rem;
  color: var(--text-60);
  line-height: 1.65;
}

/* ── FORMS ───────────────────────────────────────────────────── */
.form-wrap {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  max-width: 580px;
}
.form-title {
  font-family: var(--f-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.form-sub {
  font-size: 0.82rem;
  color: var(--text-60);
  margin-bottom: 24px;
  line-height: 1.6;
}

.form-row { display: grid; gap: 12px; margin-bottom: 12px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold);
}

.form-check {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 8px;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px; min-height: 18px;
  flex-shrink: 0; margin-top: 2px;
  accent-color: var(--gold);
  border-radius: 4px;
}
.form-check label {
  font-size: 0.78rem;
  color: var(--text-60);
  line-height: 1.55;
  cursor: pointer;
}

.char-hint {
  font-size: 0.68rem;
  color: var(--text-35);
  text-align: right;
  margin-top: 4px;
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--r);
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.18s, border-color 0.18s, opacity 0.18s;
  width: 100%;
  margin-top: 12px;
  text-decoration: none;
  text-align: center;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

.btn--wa {
  background: var(--green-10);
  border-color: var(--green-25);
  color: var(--green);
}
.btn--wa:hover { background: rgba(76, 217, 100, 0.18); opacity: 1; }

.btn--gold {
  background: var(--gold-10);
  border-color: var(--border-gold);
  color: var(--gold);
}
.btn--gold:hover { background: var(--gold-20); opacity: 1; }

.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text-60);
}
.btn--ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.18); opacity: 1; }

/* ── WIZARD ──────────────────────────────────────────────────── */
.wizard-steps-row {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.wizard-dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 600;
  color: var(--text-35);
  flex-shrink: 0;
  transition: all 0.22s;
}
.wizard-dot.current { border-color: var(--gold); color: var(--gold); background: var(--gold-10); }
.wizard-dot.done    { border-color: var(--gold); background: var(--gold); color: #111; }
.wizard-line {
  flex: 1; height: 2px;
  background: var(--border);
  transition: background 0.22s;
}
.wizard-line.done { background: var(--gold); }
.wizard-labels-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem; letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-35);
  margin-bottom: 28px;
}
.wizard-panel { display: none; }
.wizard-panel.active { display: block; }
.wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
}
.wizard-nav .btn { margin-top: 0; flex: 1; }
.wizard-nav .btn:only-child { margin-left: auto; }

/* ── SPEC CHECKBOXES ─────────────────────────────────────────── */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 6px;
}
.spec-item {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  border-radius: var(--r);
  background: var(--bg-3);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-60);
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
  min-height: 48px;
}
.spec-item:has(input:checked) {
  border-color: var(--border-gold);
  color: var(--gold);
  background: var(--gold-10);
}
.spec-item input { accent-color: var(--gold); flex-shrink: 0; }

.photo-area {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px;
}
.photo-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-3);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; cursor: pointer; flex-shrink: 0;
  transition: border-color 0.18s;
}
.photo-circle:hover { border-color: var(--border-gold); }
.photo-circle img { width: 100%; height: 100%; object-fit: cover; display: none; }
.photo-circle svg { width: 22px; height: 22px; color: var(--text-35); }
.photo-hint { font-size: 0.72rem; color: var(--text-35); line-height: 1.5; }
.photo-hint strong { color: var(--text-60); display: block; margin-bottom: 2px; }

/* ── DIRECTORIO TABS ─────────────────────────────────────────── */
.dir-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.tab-btn {
  padding: 0 18px;
  min-height: 44px;
  border-radius: 30px;
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-60);
  cursor: pointer;
  transition: all 0.18s;
}
.tab-btn:hover { color: var(--text); border-color: rgba(255,255,255,0.15); }
.tab-btn.active { background: var(--gold-10); border-color: var(--border-gold); color: var(--gold); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── FILTERS ─────────────────────────────────────────────────── */
.dir-filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 28px;
  padding: 18px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
}
.dir-filters--simple {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0;
  background: transparent;
  border: none;
}
.dir-filters--simple select {
  flex: 1;
  min-width: 140px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 30px;
  color: var(--text);
  padding: 0 16px;
  height: 44px;
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.18s;
}
.dir-filters--simple select:focus { outline: none; border-color: var(--border-gold); }

/* ── LAWYER CARDS ────────────────────────────────────────────── */
.lawyers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

.lawyer-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.18s;
}
.lawyer-card:hover { border-color: var(--border-gold); }

.lawyer-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lawyer-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--border-gold);
  background: var(--gold-10);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: var(--f-title);
  font-size: 1.1rem; font-weight: 700;
  color: var(--gold);
  overflow: hidden;
}
.lawyer-avatar img { width: 100%; height: 100%; object-fit: cover; }

.lawyer-info { flex: 1; min-width: 0; }
.lawyer-name {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 3px;
}
.lawyer-rating-row {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.75rem;
}
.stars { color: var(--gold); letter-spacing: -1px; }
.rating-val { color: var(--text-60); }

.lawyer-spec-line {
  font-size: 0.78rem;
  color: var(--text-60);
}
.lawyer-meta-line {
  font-size: 0.75rem;
  color: var(--text-35);
}

.lawyer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.lawyer-actions .btn { margin-top: 0; }

.btn-wa-sm {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 12px;
  border-radius: var(--r);
  background: var(--green-10);
  border: 1px solid var(--green-25);
  color: var(--green);
  font-family: var(--f-body);
  font-size: 0.75rem; font-weight: 500;
  cursor: pointer;
  transition: background 0.18s;
  text-decoration: none;
}
.btn-wa-sm:hover { background: rgba(76, 217, 100, 0.18); opacity: 1; }
.btn-wa-sm svg { width: 14px; height: 14px; }

.btn-view {
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 12px;
  border-radius: var(--r);
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-60);
  font-family: var(--f-body);
  font-size: 0.75rem; font-weight: 500;
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s;
}
.btn-view:hover { color: var(--text); border-color: rgba(255,255,255,0.18); }

.empty-state {
  text-align: center;
  padding: 56px 20px;
  color: var(--text-35);
  font-size: 0.85rem;
  line-height: 1.7;
}
.empty-state svg { width: 44px; height: 44px; margin: 0 auto 14px; opacity: 0.3; }

/* ── TICKETS ─────────────────────────────────────────────────── */
.tickets-list { margin-top: 32px; }
.tickets-heading {
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-35); margin-bottom: 14px;
}
.ticket-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px 18px;
  margin-bottom: 10px;
}
.ticket-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.ticket-type { font-size: 0.65rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }
.ticket-date { font-size: 0.62rem; color: var(--text-35); }
.ticket-desc { font-size: 0.8rem; color: var(--text-60); line-height: 1.55; }
.ticket-footer { font-size: 0.7rem; color: var(--text-35); margin-top: 6px; }

/* ── BOT WIDGET ──────────────────────────────────────────────── */
.bot-trigger {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 80;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 2px solid var(--border-gold);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  animation: pulse 3.5s ease-in-out infinite;
  transition: transform 0.18s;
}
.bot-trigger:hover { transform: scale(1.07); }
.bot-trigger svg { width: 24px; height: 24px; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196, 160, 90, 0.22); }
  50%       { box-shadow: 0 0 0 8px rgba(196, 160, 90, 0); }
}

.bot-window {
  position: fixed;
  bottom: 88px; right: 24px;
  z-index: 80;
  width: 340px;
  height: 540px;          /* altura fija para que flex-children tengan espacio real */
  max-height: calc(100vh - 110px);
  background: var(--bg-2);
  border: 1px solid var(--border-gold);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.9) translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.22s ease, opacity 0.22s ease;
  transform-origin: bottom right;
}
.bot-window.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.bot-header {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 14px;
  background: #1a1a1a;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.bot-header-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold-10); border: 1px solid var(--border-gold);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.bot-header-icon svg { width: 16px; height: 16px; }
.bot-header-name { font-size: 0.82rem; font-weight: 500; color: var(--text); }
.bot-header-status { font-size: 0.62rem; color: var(--green); }
.bot-close {
  width: 28px; height: 28px; margin-left: auto; flex-shrink: 0;
  border-radius: 6px; border: none;
  background: var(--bg-3); color: var(--text-60);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; cursor: pointer;
  transition: color 0.18s, background 0.18s;
}
.bot-close:hover { color: var(--text); background: rgba(255,255,255,0.08); }

/* Disclaimer bar — always visible */
.bot-disclaimer-bar {
  padding: 9px 14px;
  background: var(--amber);
  border-bottom: 1px solid rgba(251, 191, 36, 0.18);
  font-size: 0.67rem;
  color: var(--amber-text);
  line-height: 1.45;
  flex-shrink: 0;
}
.bot-disclaimer-bar strong { font-weight: 600; }

.bot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.bot-messages::-webkit-scrollbar { width: 4px; }
.bot-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.bot-msg {
  max-width: 92%;
  padding: 9px 13px;
  font-size: 0.78rem;
  line-height: 1.6;
  border-radius: 10px;
}
.bot-msg--bot {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 10px 10px 10px 3px;
  align-self: flex-start;
  color: var(--text);
}
.bot-msg--bot strong { color: var(--gold); }
.bot-msg--bot a { color: var(--gold); }
.bot-msg--bot ol,
.bot-msg--bot ul { padding-left: 16px; margin-top: 4px; }
.bot-msg--bot li { margin-bottom: 3px; }
.bot-msg--bot em { color: var(--text-35); font-style: normal; font-size: 0.72rem; }

.bot-msg--user {
  background: var(--gold-10);
  border: 1px solid var(--border-gold);
  border-radius: 10px 10px 3px 10px;
  align-self: flex-end;
  color: var(--text);
}

.bot-options {
  padding: 10px 12px 13px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  border-top: 1px solid var(--border);
  max-height: 180px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.bot-opt {
  text-align: left;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-60);
  font-family: var(--f-body);
  font-size: 0.75rem;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.bot-opt:hover { background: var(--gold-10); border-color: var(--border-gold); color: var(--gold); }
.bot-opt--wa { background: var(--green-10); border-color: var(--green-25); color: var(--green); }
.bot-opt--wa:hover { background: rgba(76,217,100,0.18); }
.bot-opt--link { color: var(--gold); border-color: var(--border-gold); }
.bot-opt--link:hover { background: var(--gold-10); }

/* ── BOT INPUT LIBRE ─────────────────────────────────────────── */
.bot-input-row {
  display: flex; gap: 8px; align-items: center;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  flex-shrink: 0;
}
.bot-input {
  flex: 1;
  padding: 8px 13px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text);
  font-family: var(--f-body);
  font-size: 0.78rem;
  outline: none;
  transition: border-color 0.18s;
}
.bot-input:focus { border-color: var(--border-gold); }
.bot-input::placeholder { color: var(--text-35); }
.bot-send {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  color: #111;
  cursor: pointer;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.18s, transform 0.12s;
}
.bot-send:hover { background: #d4b070; transform: scale(1.08); }

/* ── MODALS ──────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.70);
  display: flex; align-items: center; justify-content: center;
  z-index: 100; padding: var(--pad);
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--bg-2);
  border: 1px solid var(--border-gold);
  border-radius: var(--r-lg);
  width: 100%; max-width: 400px;
  max-height: 86vh; overflow-y: auto;
  padding: 28px 22px;
  position: relative;
  transform: translateY(10px);
  transition: transform 0.22s;
}
.modal-overlay.open .modal { transform: translateY(0); }

.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 28px; height: 28px;
  background: var(--bg-3); border: none;
  border-radius: 6px;
  color: var(--text-60); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: color 0.18s;
}
.modal-close:hover { color: var(--text); }

.modal-title {
  font-family: var(--f-title);
  font-size: 1.35rem; font-weight: 700;
  color: var(--text); margin-bottom: 4px;
}
.modal-sub {
  font-size: 0.65rem; color: var(--gold);
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 20px;
}
.modal-section { margin-bottom: 16px; }
.modal-section h3 {
  font-size: 0.63rem; font-weight: 500;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.modal-section p,
.modal-section li {
  font-size: 0.8rem; color: var(--text-60); line-height: 1.7;
}
.modal-section ul { padding-left: 16px; }
.modal-divider { height: 1px; background: var(--border); margin: 14px 0; }
.modal-note { font-size: 0.62rem; color: var(--text-20); line-height: 1.6; margin-top: 14px; }

.profile-header { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.profile-avatar {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: var(--gold-10); border: 2px solid var(--border-gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-title); font-size: 1.3rem; font-weight: 700; color: var(--gold);
  overflow: hidden;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }

.star-rating { display: flex; gap: 8px; justify-content: center; margin: 16px 0; }
.star-btn {
  font-size: 1.9rem; background: none; border: none;
  color: var(--text-20); cursor: pointer;
  transition: color 0.15s, transform 0.15s;
  line-height: 1;
}
.star-btn:hover,
.star-btn.selected { color: var(--gold); transform: scale(1.12); }

/* ── SITE FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: #111;
  border-top: 1px solid var(--border);
  padding: 48px var(--pad) 32px;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top {
  display: flex; flex-wrap: wrap;
  gap: 32px; justify-content: space-between;
  margin-bottom: 32px;
}
.footer-logo {
  font-family: var(--f-title);
  font-size: 1.3rem; font-weight: 700;
  color: var(--gold); margin-bottom: 6px;
}
.footer-desc {
  font-size: 0.8rem; color: var(--text-60);
  max-width: 280px; line-height: 1.65;
}
.footer-socials { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-start; }
.footer-icon {
  width: 40px; height: 40px; border-radius: var(--r);
  background: var(--bg-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-60); text-decoration: none;
  transition: border-color 0.18s, color 0.18s;
}
.footer-icon:hover { border-color: var(--border-gold); color: var(--gold); opacity: 1; }
.footer-icon svg { width: 17px; height: 17px; }

.footer-divider { height: 1px; background: var(--border); margin-bottom: 22px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 0.7rem; color: var(--text-20); }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-lnk {
  font-size: 0.7rem; color: rgba(196,160,90,0.5);
  background: none; border: none; cursor: pointer;
  font-family: var(--f-body); padding: 0;
  text-decoration: none;
  transition: color 0.18s;
}
.footer-lnk:hover { color: var(--gold); }
.footer-flag { font-size: 0.7rem; color: var(--text-20); }

/* ── RESPONSIVE — TABLET (480px) ─────────────────────────────── */
@media (min-width: 480px) {
  :root { --pad: 24px; }

  .recursos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .disc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dir-filters {
    grid-template-columns: repeat(2, 1fr);
  }
  .lawyers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .spec-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── RESPONSIVE — DESKTOP (780px) ────────────────────────────── */
@media (min-width: 780px) {
  :root { --pad: 40px; }

  .section { padding: 96px var(--pad); }

  .recursos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .disc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .dir-filters {
    grid-template-columns: repeat(4, 1fr);
  }
  .lawyers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── SMALL MOBILE OVERRIDES (<400px) ─────────────────────────── */
@media (max-width: 400px) {
  .bot-window {
    width: calc(100vw - 32px);
    height: calc(100vh - 100px);
    right: 16px;
    bottom: 80px;
  }
  .bot-trigger { right: 16px; bottom: 16px; }
  .card { width: 100%; }
}

/* ══════════════════════════════════════════════════════════════
   HERO PLATFORM — Uber Legal
══════════════════════════════════════════════════════════════ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px var(--pad) 60px;
  background: linear-gradient(160deg, #0c0b07 0%, #1a1710 55%, #0f0d09 100%);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(196,160,90,0.07), transparent 70%);
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(91,156,246,0.04), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-w);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(196,160,90,0.3);
  border-radius: 30px;
  padding: 4px 16px;
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--f-title);
  font-size: clamp(2rem, 7vw, 3.4rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.hero-title span { color: var(--gold); }
.hero-desc {
  font-size: 0.92rem;
  color: var(--text-60);
  max-width: 460px;
  line-height: 1.75;
  margin-bottom: 52px;
}

/* 3 CTA cards */
.hero-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
  max-width: 660px;
  margin-bottom: 52px;
}
@media (min-width: 520px) {
  .hero-cards { grid-template-columns: repeat(3, 1fr); }
}
.hero-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--f-body);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
  color: inherit;
}
.hero-card:hover {
  border-color: var(--border-gold);
  background: var(--gold-10);
  transform: translateY(-3px);
}
.hero-card--primary { border-color: rgba(196,160,90,0.25); }
.hero-card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(196,160,90,0.1);
  display: flex; align-items: center; justify-content: center;
}
.hero-card-icon svg { width: 20px; height: 20px; }
.hero-card-title {
  font-family: var(--f-title);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.hero-card-sub {
  font-size: 0.68rem;
  color: var(--text-35);
  line-height: 1.5;
  text-align: center;
}
.hero-card-tag {
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 2px 9px;
  border-radius: 20px;
  margin-top: 2px;
}
.hero-card-tag--free  { color: #4cd964; border: 1px solid rgba(76,217,100,0.3); }
.hero-card-tag--gold  { color: var(--gold); border: 1px solid var(--border-gold); }
.hero-card-tag--blue  { color: #7eb3f7; border: 1px solid rgba(126,179,247,0.3); }

/* Founder strip */
.founder-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 14px 20px;
  max-width: 560px;
  width: 100%;
  flex-wrap: wrap;
}
.founder-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid var(--border-gold);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-3);
}
.founder-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 48% 8%;
}
.founder-info { flex: 1; text-align: left; min-width: 140px; }
.founder-name  { font-family: var(--f-title); font-size: 0.95rem; font-weight: 600; color: var(--text); }
.founder-role  { font-size: 0.6rem; color: var(--text-35); line-height: 1.5; margin-top: 2px; }
.founder-socials { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.f-social-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  color: var(--text-60);
  transition: border-color 0.18s, color 0.18s;
}
.f-social-btn:hover { border-color: var(--border-gold); color: var(--gold); }
.f-social-btn svg { width: 14px; height: 14px; }
.f-wa-btn {
  height: 32px; padding: 0 11px;
  border-radius: 8px;
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.25);
  color: #4cd964;
  font-size: 0.67rem; font-weight: 500;
  display: flex; align-items: center; gap: 5px;
  text-decoration: none;
  transition: background 0.18s;
  white-space: nowrap;
}
.f-wa-btn:hover { background: rgba(37,211,102,0.18); }
.f-wa-btn svg { width: 13px; height: 13px; }

/* ══════════════════════════════════════════════════════════════
   RECURSOS — 7 TABS con enlaces directos .gob.ec
══════════════════════════════════════════════════════════════ */
.rec-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.rec-tab {
  padding: 0 13px;
  min-height: 34px;
  border-radius: 30px;
  font-family: var(--f-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-60);
  cursor: pointer;
  transition: all 0.18s;
}
.rec-tab:hover { color: var(--text); border-color: rgba(255,255,255,0.15); }
.rec-tab.active { background: var(--gold-10); border-color: var(--border-gold); color: var(--gold); }

.rec-panel { display: none; }
.rec-panel.active { display: block; }

.rec-legal-note {
  font-size: 0.62rem;
  color: var(--text-20);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 18px;
  line-height: 1.6;
}

.rec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 520px) { .rec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .rec-grid { grid-template-columns: repeat(3, 1fr); } }

.rec-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 13px 14px;
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s;
  color: inherit;
}
.rec-item:hover { border-color: var(--border-gold); background: var(--gold-10); }
.rec-item--violeta { border-color: rgba(124,58,237,0.3); background: rgba(124,58,237,0.05); }
.rec-item--violeta:hover { border-color: #7c3aed; background: rgba(124,58,237,0.12); }

.rec-item-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(196,160,90,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rec-item--violeta .rec-item-icon { background: rgba(124,58,237,0.15); }
.rec-item-icon svg { width: 15px; height: 15px; }

.rec-item-body { flex: 1; overflow: hidden; }
.rec-item-title { font-size: 0.8rem; font-weight: 500; color: var(--text); margin-bottom: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec-item--violeta .rec-item-title { color: #c4b5fd; }
.rec-item-inst  { font-size: 0.6rem; color: var(--text-35); }
.rec-item-arrow { color: var(--gold); font-size: 0.85rem; flex-shrink: 0; opacity: 0.7; }
.rec-item--violeta .rec-item-arrow { color: #a78bfa; }

/* ── SEGUROS DE DESGRAVAMEN + BENEFICIOS DISCAPACIDAD 2025 ──── */

/* Sub-tabs */
.seg-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.seg-tab {
  padding: 9px 20px;
  font-family: var(--f-body); font-size: 0.82rem; font-weight: 500;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: var(--bg-3);
  color: var(--text-60);
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.seg-tab:hover { color: var(--text); border-color: rgba(255,255,255,0.18); }
.seg-tab.active { background: var(--gold-10); border-color: var(--border-gold); color: var(--gold); }

/* Panels */
.seg-panel { display: none; }
.seg-panel.active { display: block; }

/* Intro block */
.seg-intro {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 0.87rem;
  color: var(--text-60);
  line-height: 1.65;
}
.seg-intro strong { color: var(--text); }

/* Step cards grid */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
@media (min-width: 580px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
}

.step-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px;
  transition: border-color 0.18s;
}
.step-card:hover { border-color: var(--border-gold); }
.step-card--tip {
  border-color: var(--border-gold);
  background: var(--gold-10);
}

.step-num {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--gold);
  color: #111;
  font-weight: 700;
  font-size: 0.82rem;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-body);
  margin-top: 1px;
}
.step-card--tip .step-num {
  background: transparent;
  font-size: 1.15rem;
  width: auto; height: auto;
}

.step-body { flex: 1; }
.step-title {
  font-size: 0.84rem; font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
}
.step-desc {
  font-size: 0.76rem;
  color: var(--text-60);
  line-height: 1.62;
}
.step-desc strong { color: var(--text); }
.step-desc em {
  display: block;
  margin-top: 5px;
  color: var(--text-35);
  font-style: normal;
  font-size: 0.69rem;
}

/* Benefit cards grid */
.disc-benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
  margin-bottom: 28px;
}
@media (min-width: 580px) {
  .disc-benefits-grid { grid-template-columns: 1fr 1fr; }
}

.disc-benefit {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 16px;
  transition: border-color 0.18s;
}
.disc-benefit:hover { border-color: var(--border-gold); }
.disc-benefit--highlight {
  border-color: var(--border-gold);
  background: var(--gold-10);
  grid-column: 1 / -1;
}

.disc-benefit-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.disc-benefit-body { flex: 1; }
.disc-benefit-title {
  font-size: 0.84rem; font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
}
.disc-benefit-desc {
  font-size: 0.76rem;
  color: var(--text-60);
  line-height: 1.62;
}
.disc-benefit-desc strong { color: var(--text); }
.disc-benefit-desc em {
  display: inline-block;
  margin-top: 4px;
  color: var(--text-35);
  font-style: normal;
  font-size: 0.69rem;
}

/* Action button row */
.seg-actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 40px;
}
.seg-btn {
  padding: 9px 16px;
  border-radius: var(--r);
  border: 1px solid var(--border-gold);
  background: var(--gold-10);
  color: var(--gold);
  font-family: var(--f-body); font-size: 0.8rem; font-weight: 500;
  text-decoration: none;
  transition: background 0.18s;
  cursor: pointer;
}
.seg-btn:hover { background: var(--gold-20); }
.seg-btn--wa {
  background: var(--green-10);
  border-color: var(--green-25);
  color: var(--green);
}
.seg-btn--wa:hover { background: rgba(76,217,100,0.2); }

/* ── SECTION BADGE (eyebrow pill) ────────────────────────────── */
.section-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  border-radius: 30px;
  padding: 3px 12px;
  margin-bottom: 14px;
}

/* ══════════════════════════════════════════════════════════════
   NAV — FOUNDER BADGE + QUICK LINKS
══════════════════════════════════════════════════════════════ */

/* Logo / founder area */
.nav-logo-area {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 6px;
  opacity: 1;
  transition: opacity 0.18s;
}
.nav-logo-area:hover { opacity: 0.8; }

.nav-logo-photo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--border-gold);
  flex-shrink: 0;
}

.nav-logo-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-logo-brand {
  font-family: var(--f-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.nav-logo-sub {
  font-size: 0.56rem;
  color: var(--text-35);
  white-space: nowrap;
  letter-spacing: 0.4px;
}

/* Quick pill buttons: WA / IG / Web */
.nav-founder-quick {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-shrink: 0;
  margin-right: 4px;
}

.nav-wa-pill,
.nav-ig-pill,
.nav-web-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 9px;
  height: 26px;
  border-radius: 30px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: opacity 0.18s, background 0.18s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-wa-pill:hover,
.nav-ig-pill:hover,
.nav-web-pill:hover { opacity: 0.75; }

.nav-wa-pill {
  background: var(--green-10);
  border-color: var(--green-25);
  color: var(--green);
}

.nav-ig-pill {
  background: rgba(225, 48, 108, 0.10);
  border-color: rgba(225, 48, 108, 0.25);
  color: #e1306c;
}

.nav-web-pill {
  background: var(--gold-10);
  border-color: var(--border-gold);
  color: var(--gold);
}

/* Nav links group wrapper */
.nav-links-group {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  flex-shrink: 0;
}

/* Bot CTA inside nav */
.nav-link--bot {
  background: var(--gold-10) !important;
  border-color: var(--border-gold) !important;
  color: var(--gold) !important;
  font-weight: 600;
}
.nav-link--bot:hover {
  background: var(--gold-20) !important;
  opacity: 1 !important;
}

/* ══════════════════════════════════════════════════════════════
   TOP 8 MÁS BUSCADOS — quick access strip
══════════════════════════════════════════════════════════════ */

.top-buscados {
  margin-bottom: 32px;
}

.top-buscados-label {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.top-buscados-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

@media (max-width: 640px) {
  .top-buscados-grid { grid-template-columns: repeat(2, 1fr); }
}

.top-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--text-60);
  font-size: 0.76rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}
.top-btn:hover {
  border-color: var(--border-gold);
  color: var(--text);
  background: var(--gold-10);
  opacity: 1;
}

.top-btn-icon {
  font-size: 1rem;
  flex-shrink: 0;
  line-height: 1;
}

.top-btn--violeta {
  border-color: rgba(147, 51, 234, 0.30);
  color: rgba(192, 132, 252, 0.85);
  background: rgba(147, 51, 234, 0.07);
}
.top-btn--violeta:hover {
  border-color: rgba(147, 51, 234, 0.55);
  color: rgba(216, 180, 254, 1);
  background: rgba(147, 51, 234, 0.13);
}

/* ══════════════════════════════════════════════════════════════
   SECCIÓN 5 — ÚNETE A LA PLATAFORMA
══════════════════════════════════════════════════════════════ */

.invite-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 8px;
}

@media (max-width: 640px) {
  .invite-grid { grid-template-columns: 1fr; }
}

.invite-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.22s, transform 0.22s;
}
.invite-card:hover {
  transform: translateY(-2px);
}

.invite-card--pro {
  border-color: var(--border-gold);
  background: linear-gradient(145deg, var(--bg-3) 70%, rgba(196,160,90,0.05));
}
.invite-card--pro:hover { border-color: var(--gold); }

.invite-card--client {
  border-color: var(--border);
}
.invite-card--client:hover { border-color: var(--border-gold); }

.invite-icon {
  font-size: 2rem;
  line-height: 1;
}

.invite-title {
  font-family: var(--f-title);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}

.invite-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  flex: 1;
}

.invite-list li {
  font-size: 0.82rem;
  color: var(--text-60);
  line-height: 1.5;
  padding-left: 2px;
}

.invite-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--r);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.18s, opacity 0.18s;
  font-family: var(--f-body);
  letter-spacing: 0.4px;
}

.invite-btn--pro {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
}
.invite-btn--pro:hover { background: #d4af6a; opacity: 1; }

.invite-btn--client {
  background: var(--gold-10);
  color: var(--gold);
  border-color: var(--border-gold);
}
.invite-btn--client:hover { background: var(--gold-20); opacity: 1; }

.invite-note {
  font-size: 0.68rem;
  color: var(--text-35);
  text-align: center;
  letter-spacing: 0.3px;
}

/* ══════════════════════════════════════════════════════════════
   SECCIÓN 6 — TESTIMONIOS
══════════════════════════════════════════════════════════════ */

.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

@media (max-width: 640px) {
  .testi-grid { grid-template-columns: 1fr; }
}

.testi-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.22s;
}
.testi-card:hover {
  border-color: var(--border-gold);
}

.testi-card--pro {
  border-color: var(--border-gold);
  background: linear-gradient(145deg, var(--bg-2) 60%, rgba(196,160,90,0.06));
}

.testi-stars {
  font-size: 0.88rem;
  color: var(--gold);
  letter-spacing: 2px;
  line-height: 1;
}

.testi-quote {
  font-family: var(--f-title);
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.6;
  flex: 1;
  font-style: italic;
}
/* Quotes are inline in HTML — no pseudo-elements needed */

.testi-author {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.testi-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.testi-meta {
  font-size: 0.68rem;
  color: var(--text-35);
  letter-spacing: 0.4px;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — NAV on mobile
══════════════════════════════════════════════════════════════ */

@media (max-width: 640px) {
  .nav-logo-sub    { display: none; }
  .nav-ig-pill,
  .nav-web-pill    { display: none; }
  .nav-wa-pill     { padding: 0 10px; font-size: 0.65rem; }
  .nav-links-group .nav-link { padding: 0 8px; font-size: 0.62rem; letter-spacing: 0.7px; }
}

@media (max-width: 440px) {
  .nav-founder-quick { display: none; }
  .nav-logo-brand { font-size: 0.88rem; }
}

/* ══════════════════════════════════════════════════════════════
   NAV PHOTO WRAP + AVATAR FALLBACK
══════════════════════════════════════════════════════════════ */
.nav-logo-photo-wrap {
  position: relative;
  width: 32px; height: 32px;
  flex-shrink: 0;
}
.nav-logo-photo {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 1.5px solid var(--border-gold);
  display: block;
}

/* NAV AVATAR — initials fallback (when no photo)
══════════════════════════════════════════════════════════════ */
.nav-logo-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-20);
  border: 1.5px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--f-body);
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   JHOANA CONTACT CARD
══════════════════════════════════════════════════════════════ */
.jhoana-card {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: var(--bg-3);
  border: 1px solid var(--border-gold);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  margin-top: 40px;
}

@media (max-width: 640px) {
  .jhoana-card { flex-direction: column; gap: 18px; padding: 22px 18px; }
}

.jhoana-card-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Photo wrapper inside jhoana card */
.jhoana-avatar-wrap {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 2.5px solid var(--border-gold);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-3);
}

.jhoana-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.jhoana-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gold-20);
  border: 2.5px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-title);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.jhoana-id { text-align: center; }

.jhoana-name {
  font-family: var(--f-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.jhoana-title {
  font-size: 0.7rem;
  color: var(--text-60);
  margin-top: 2px;
  white-space: nowrap;
}

.jhoana-verified {
  font-size: 0.64rem;
  color: var(--green);
  margin-top: 4px;
  font-weight: 500;
}

.jhoana-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.jhoana-intro {
  font-size: 0.87rem;
  color: var(--text-60);
  line-height: 1.65;
}
.jhoana-intro strong { color: var(--text); }

.jhoana-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.jhoana-spec {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  background: var(--gold-10);
  border: 1px solid var(--border-gold);
  border-radius: 30px;
  font-size: 0.71rem;
  font-weight: 500;
  color: var(--gold);
  white-space: nowrap;
}

.jhoana-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}

.jhoana-wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  background: var(--green-10);
  border: 1px solid var(--green-25);
  border-radius: var(--r);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s;
}
.jhoana-wa:hover { background: rgba(76,217,100,0.20); opacity: 1; }

.jhoana-social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--text-60);
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.18s, color 0.18s;
}
.jhoana-social:hover { border-color: var(--border-gold); color: var(--text); opacity: 1; }

/* ══════════════════════════════════════════════════════════════
   LOPDP DISCLAIMER NOTE
══════════════════════════════════════════════════════════════ */
.lopdp-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(196, 160, 90, 0.06);
  border: 1px solid var(--border-gold);
  border-radius: var(--r);
  font-size: 0.72rem;
  color: var(--text-35);
  line-height: 1.6;
}
.lopdp-note strong { color: var(--text-60); }
.lopdp-note svg { color: var(--gold); }

/* ══════════════════════════════════════════════════════════════
   MARKETPLACE NOTE (below need form)
══════════════════════════════════════════════════════════════ */
.marketplace-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 12px;
  font-size: 0.72rem;
  color: var(--text-35);
  line-height: 1.55;
}
.marketplace-note svg { color: var(--gold); margin-top: 1px; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════
   JHOANA CARD — tagline + mini-form
══════════════════════════════════════════════════════════════ */
.jhoana-tagline {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-35);
  letter-spacing: 0.3px;
  line-height: 1.5;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2px;
}
.jhoana-tagline-icon { font-size: 0.9rem; flex-shrink: 0; }

.jhoana-form-toggle { margin-top: 4px; }

.jhoana-form-trigger {
  background: none;
  border: 1px dashed var(--border-gold);
  border-radius: var(--r);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 9px 16px;
  cursor: pointer;
  font-family: var(--f-body);
  width: 100%;
  text-align: left;
  transition: background 0.18s;
}
.jhoana-form-trigger:hover { background: var(--gold-10); }

.jhoana-mini-form {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
}

.jhoana-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
@media (max-width: 480px) {
  .jhoana-form-row { grid-template-columns: 1fr; }
}

.jhoana-mini-form input,
.jhoana-mini-form select {
  min-height: 40px;
  font-size: 0.82rem;
  padding: 9px 13px;
}

.jhoana-form-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  background: var(--green-10);
  border: 1px solid var(--green-25);
  border-radius: var(--r);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--f-body);
  cursor: pointer;
  transition: background 0.18s;
  width: 100%;
}
.jhoana-form-send:hover { background: rgba(76,217,100,0.20); }

.jhoana-form-lopdp {
  font-size: 0.66rem;
  color: var(--text-35);
  margin: 0;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════
   MOBILE — Responsive completo (≤ 480px)
   Garantiza que la plataforma funciona perfectamente en celular
══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

  /* GENERAL */
  :root { --pad: 16px; --gap: 10px; }
  body { font-size: 0.95rem; }

  /* NAV */
  .site-nav { height: auto; min-height: var(--nav-h); }
  .nav-inner {
    flex-wrap: nowrap;
    padding: 8px var(--pad);
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-logo-sub { display: none; }
  .nav-ig-pill, .nav-web-pill { display: none; }
  .nav-wa-pill { padding: 0 8px; font-size: 0.6rem; }
  .nav-links-group { gap: 1px; }
  .nav-links-group .nav-link {
    padding: 0 7px;
    font-size: 0.58rem;
    letter-spacing: 0.5px;
    height: 30px;
  }

  /* HERO */
  .hero-section {
    min-height: auto;
    padding: 100px var(--pad) 48px;
    align-items: flex-start;
  }
  .hero-inner { width: 100%; }
  .hero-title { font-size: clamp(1.7rem, 8vw, 2.4rem); margin-bottom: 14px; }
  .hero-desc { font-size: 0.85rem; margin-bottom: 32px; }
  .hero-cards { max-width: 100%; margin-bottom: 32px; gap: 10px; }
  .hero-card { padding: 16px 12px; gap: 7px; }
  .hero-card-icon { width: 36px; height: 36px; }
  .hero-card-title { font-size: 0.88rem; }
  .hero-card-sub { font-size: 0.62rem; }

  /* FOUNDER STRIP */
  .founder-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
  }
  .founder-socials { flex-wrap: wrap; gap: 6px; }

  /* SECTIONS */
  .section { padding: 52px var(--pad); }
  .section-title { font-size: 1.7rem; }
  .section-sub { font-size: 0.8rem; }

  /* RESOURCE TABS */
  .rec-tabs { gap: 5px; }
  .rec-tab { font-size: 0.58rem; padding: 0 9px; min-height: 30px; letter-spacing: 0.5px; }
  .rec-item { padding: 12px; gap: 10px; }
  .rec-item-icon { width: 30px; height: 30px; }
  .rec-item-title { font-size: 0.8rem; }
  .rec-item-inst { font-size: 0.65rem; }

  /* SEGUROS SUB-TABS */
  .seg-tabs { gap: 5px; margin-bottom: 16px; }
  .seg-tab { font-size: 0.65rem; padding: 7px 12px; }
  .steps-grid { gap: 10px; }
  .step-card { padding: 12px; }
  .step-title { font-size: 0.8rem; }
  .step-desc { font-size: 0.72rem; }

  /* JHOANA CARD */
  .jhoana-card {
    flex-direction: column;
    padding: 20px 16px;
    gap: 16px;
  }
  .jhoana-card-left { flex-direction: row; align-items: center; gap: 14px; }
  .jhoana-avatar-wrap, .jhoana-avatar { width: 56px; height: 56px; }
  .jhoana-id { text-align: left; }
  .jhoana-name { font-size: 0.95rem; }
  .jhoana-actions { gap: 7px; }
  .jhoana-wa, .jhoana-social { padding: 9px 13px; font-size: 0.75rem; }

  /* DIRECTORIO */
  .dir-tabs { gap: 5px; flex-wrap: wrap; }
  .tab-btn { font-size: 0.7rem; padding: 7px 12px; }
  .dir-filters { grid-template-columns: 1fr 1fr; gap: 10px; }
  .lawyers-grid { grid-template-columns: 1fr; gap: 12px; }
  .lawyer-card { padding: 16px; }
  .lawyer-name { font-size: 0.9rem; }
  .lawyer-meta-line { font-size: 0.67rem; white-space: normal; }

  /* FORMS */
  .form-row--2 { grid-template-columns: 1fr; }
  input, select, textarea { font-size: 0.85rem; padding: 10px 13px; min-height: 44px; }
  textarea { min-height: 80px; }
  .spec-checkboxes { grid-template-columns: 1fr 1fr; }
  .photo-upload { margin-bottom: 16px; }

  /* INVITE GRID */
  .invite-grid { grid-template-columns: 1fr; gap: 14px; }
  .invite-card { padding: 22px 18px 18px; }
  .invite-title { font-size: 1.3rem; }
  .invite-list li { font-size: 0.78rem; }

  /* TESTIMONIALS */
  .testi-grid { grid-template-columns: 1fr; gap: 12px; }
  .testi-card { padding: 18px 16px; }
  .testi-quote { font-size: 0.95rem; }

  /* BOT WINDOW */
  .bot-window {
    width: calc(100vw - 24px);
    height: calc(100svh - 90px);
    right: 12px;
    bottom: 72px;
    border-radius: 14px;
  }
  .bot-trigger { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .bot-input { font-size: 0.82rem; }

  /* FOOTER */
  .footer-top { flex-direction: column; gap: 20px; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 10px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .footer-socials { justify-content: center; }

  /* MODALS */
  .modal { max-width: calc(100vw - 32px); padding: 24px 18px; max-height: 85svh; }
}

/* ── TABLET 481–768px ──────────────────────────────────────── */
@media (min-width: 481px) and (max-width: 768px) {
  .hero-cards { grid-template-columns: repeat(3, 1fr); max-width: 100%; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .lawyers-grid { grid-template-columns: 1fr 1fr; }
  .dir-filters { grid-template-columns: repeat(2, 1fr); }
}

/* ── SAFE AREA — iPhone notch / home bar ───────────────────── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .bot-trigger { bottom: calc(14px + env(safe-area-inset-bottom)); }
  .site-nav { padding-top: env(safe-area-inset-top); }
}

/* ══════════════════════════════════════════════════════════════
   SÍ SABEMOS — NUEVOS COMPONENTES (v2 rebrand)
══════════════════════════════════════════════════════════════ */

/* ── NAV LOGO SS ─────────────────────────────────────────────── */
.nav-logo-area {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-ss {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); color: #111;
  font-size: 0.75rem; font-weight: 700;
  font-family: var(--f-body);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; letter-spacing: -0.5px;
  box-shadow: 0 0 0 2px rgba(196,160,90,0.25);
}
.nav-logo-txt { display: flex; flex-direction: column; gap: 0; }
.nav-logo-brand {
  font-family: var(--f-title); font-size: 1rem; font-weight: 700;
  color: var(--text); line-height: 1.1; letter-spacing: 0.2px;
}
.nav-logo-sub {
  font-size: 0.58rem; color: var(--text-35);
  font-family: var(--f-body); letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ── HERO CARD TAGS ──────────────────────────────────────────── */
.hero-card-tag {
  display: inline-block; font-size: 0.6rem; font-weight: 600;
  font-family: var(--f-body); letter-spacing: 0.6px;
  text-transform: uppercase; padding: 3px 8px; border-radius: 20px;
  margin-top: auto;
}
.hero-card-tag--free {
  background: rgba(76,217,100,0.15); color: var(--green);
  border: 1px solid rgba(76,217,100,0.3);
}
.hero-card-tag--gold {
  background: var(--gold-10); color: var(--gold);
  border: 1px solid var(--border-gold);
}
.hero-card-tag--blue {
  background: rgba(90,130,196,0.12); color: #7aa0dc;
  border: 1px solid rgba(90,130,196,0.25);
}

/* ── STATS STRIP ─────────────────────────────────────────────── */
.stats-strip {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0;
  background: rgba(196,160,90,0.06);
  border: 1px solid var(--border-gold);
  border-radius: var(--r); padding: 16px 20px;
  margin-top: 24px; width: 100%; max-width: 680px;
}
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 2px; padding: 4px 20px; text-align: center; flex: 1; min-width: 90px;
}
.stat-num {
  font-family: var(--f-title); font-size: 1.5rem; font-weight: 700;
  color: var(--gold); line-height: 1;
}
.stat-label {
  font-size: 0.65rem; color: var(--text-60); letter-spacing: 0.3px;
  font-family: var(--f-body); text-transform: uppercase;
}
.stat-sep {
  width: 1px; height: 40px; background: var(--border-gold);
  opacity: 0.4; flex-shrink: 0;
}

/* ── FOUNDER STRIP ───────────────────────────────────────────── */
.founder-strip {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r); padding: 14px 20px; margin-top: 20px;
  max-width: 680px; width: 100%;
}
.founder-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold-10); border: 1px solid var(--border-gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.avatar-initials {
  font-size: 0.8rem; font-weight: 700; color: var(--gold);
  font-family: var(--f-body); letter-spacing: 0.5px;
}
.founder-info { flex: 1; min-width: 0; }
.founder-name {
  font-size: 0.88rem; font-weight: 600; color: var(--text);
  font-family: var(--f-body); line-height: 1.2;
}
.founder-role {
  font-size: 0.68rem; color: var(--text-60);
  font-family: var(--f-body); margin-top: 2px; line-height: 1.3;
}
.founder-socials { display: flex; gap: 8px; flex-wrap: wrap; flex-shrink: 0; }
.f-wa-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 13px; background: var(--green-10);
  border: 1px solid var(--green-25); border-radius: var(--r);
  color: var(--green); font-size: 0.72rem; font-weight: 600;
  font-family: var(--f-body); text-decoration: none;
  transition: background 0.18s; white-space: nowrap;
}
.f-wa-btn:hover { background: rgba(76,217,100,0.20); opacity: 1; }
.f-social-btn {
  width: 32px; height: 32px; border-radius: var(--r);
  background: var(--bg); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-60); text-decoration: none;
  transition: border-color 0.18s, color 0.18s;
}
.f-social-btn svg { width: 14px; height: 14px; }
.f-social-btn:hover { border-color: var(--border-gold); color: var(--gold); opacity: 1; }

/* ── HIW STRIP (Cómo funciona) ───────────────────────────────── */
.hiw-strip {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
  margin-bottom: 32px; margin-top: 8px;
}
.hiw-step {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; text-align: center;
}
.hiw-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold); color: #111;
  font-size: 0.9rem; font-weight: 700; font-family: var(--f-body);
  display: flex; align-items: center; justify-content: center;
}
.hiw-label {
  font-size: 0.78rem; color: var(--text-60); max-width: 100px;
  line-height: 1.3; font-family: var(--f-body);
}
.hiw-arrow {
  font-size: 1.2rem; color: var(--border-gold); flex-shrink: 0;
  line-height: 1;
}

/* ── EXP CATEGORIES FILTER ───────────────────────────────────── */
.exp-cats {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.exp-cat {
  padding: 7px 16px; border-radius: 20px;
  background: var(--bg-2); border: 1px solid var(--border);
  color: var(--text-60); font-size: 0.78rem; font-weight: 500;
  font-family: var(--f-body); cursor: pointer;
  transition: all 0.18s; white-space: nowrap;
}
.exp-cat:hover { border-color: var(--border-gold); color: var(--gold); }
.exp-cat.active {
  background: var(--gold-10); border-color: var(--border-gold);
  color: var(--gold);
}

/* ── EXPERT GRID ─────────────────────────────────────────────── */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px; margin-bottom: 24px;
}
.exp-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.18s, transform 0.18s;
}
.exp-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}
.exp-card-header {
  display: flex; align-items: flex-start; gap: 12px;
}
.exp-card-photo {
  width: 48px; height: 48px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  background: var(--gold-10); border: 1px solid var(--border-gold);
  display: flex; align-items: center; justify-content: center;
}
.exp-card-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.exp-card-initials {
  font-size: 0.85rem; font-weight: 700; color: var(--gold);
  font-family: var(--f-body); letter-spacing: 0.5px;
}
.exp-card-info { flex: 1; min-width: 0; }
.exp-card-name {
  font-size: 0.9rem; font-weight: 600; color: var(--text);
  font-family: var(--f-body); line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.exp-card-sub {
  font-size: 0.68rem; color: var(--text-60); margin-top: 2px;
  font-family: var(--f-body); line-height: 1.3;
}
.exp-card-stars {
  font-size: 0.7rem; margin-top: 4px; color: var(--gold);
}
.exp-card-stars span { color: var(--text-60); }
.exp-card-bio {
  font-size: 0.78rem; color: var(--text-60); line-height: 1.55;
  font-family: var(--f-body);
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}
.exp-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-top: auto;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.exp-card-price {
  font-size: 0.82rem; font-weight: 700; color: var(--gold);
  font-family: var(--f-body);
}
.exp-card-wa {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 13px; background: var(--green-10);
  border: 1px solid var(--green-25); border-radius: var(--r);
  color: var(--green); font-size: 0.72rem; font-weight: 600;
  font-family: var(--f-body); text-decoration: none;
  transition: background 0.18s; white-space: nowrap;
}
.exp-card-wa:hover { background: rgba(76,217,100,0.20); opacity: 1; }

/* ── EXPERT EMPTY STATE ──────────────────────────────────────── */
.exp-empty {
  text-align: center; padding: 40px 20px;
  background: var(--bg-2); border: 1px dashed var(--border);
  border-radius: 12px; margin-bottom: 24px;
}
.exp-empty-icon { font-size: 2rem; margin-bottom: 10px; }
.exp-empty p { font-size: 0.85rem; color: var(--text-60); margin-bottom: 16px; }

/* ── EXPERT REGISTER BAR ─────────────────────────────────────── */
.exp-register-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  background: var(--gold-10); border: 1px solid var(--border-gold);
  border-radius: 12px; padding: 18px 22px; margin-bottom: 24px;
}
.exp-bar-info { display: flex; flex-direction: column; gap: 3px; }
.exp-bar-info strong {
  font-size: 0.92rem; color: var(--text); font-family: var(--f-body);
  font-weight: 600;
}
.exp-bar-info span {
  font-size: 0.72rem; color: var(--text-60); font-family: var(--f-body);
}

/* ── EXPERT BADGES LEGEND ────────────────────────────────────── */
.exp-badges-legend {
  display: flex; gap: 20px; flex-wrap: wrap;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.badge-legend-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.72rem; color: var(--text-60); font-family: var(--f-body);
}
.badge {
  display: inline-flex; align-items: center;
  padding: 2px 9px; border-radius: 20px;
  font-size: 0.65rem; font-weight: 600; font-family: var(--f-body);
  letter-spacing: 0.3px; white-space: nowrap;
}
.badge--basic {
  background: rgba(255,255,255,0.05); color: var(--text-60);
  border: 1px solid var(--border);
}
.badge--verified {
  background: var(--gold-10); color: var(--gold);
  border: 1px solid var(--border-gold);
}
.badge--pro {
  background: rgba(76,217,100,0.12); color: var(--green);
  border: 1px solid var(--green-25);
}

/* ── APRENDE / LEARN SECTION ─────────────────────────────────── */
.learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px; margin-bottom: 32px;
}
.learn-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 22px 18px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color 0.18s, transform 0.18s;
}
.learn-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}
.learn-card--soon {
  opacity: 0.75;
}
.learn-card--soon:hover { opacity: 1; }
.learn-icon { font-size: 1.8rem; line-height: 1; }
.learn-body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.learn-title {
  font-size: 0.9rem; font-weight: 600; color: var(--text);
  font-family: var(--f-body); line-height: 1.3;
}
.learn-desc {
  font-size: 0.78rem; color: var(--text-60); line-height: 1.55;
  font-family: var(--f-body); flex: 1;
}
.learn-btn {
  display: inline-block; margin-top: auto;
  font-size: 0.78rem; font-weight: 600; color: var(--gold);
  font-family: var(--f-body); text-decoration: none;
  background: none; border: none; cursor: pointer; padding: 0;
  transition: opacity 0.18s;
}
.learn-btn:hover { opacity: 0.75; }

/* ── LEARN CTA ───────────────────────────────────────────────── */
.learn-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px 22px;
}
.learn-cta-text { display: flex; flex-direction: column; gap: 3px; }
.learn-cta-text strong {
  font-size: 0.92rem; color: var(--text); font-family: var(--f-body);
  font-weight: 600;
}
.learn-cta-text span {
  font-size: 0.72rem; color: var(--text-60); font-family: var(--f-body);
}

/* ── NEW FOOTER (4 columnas) ─────────────────────────────────── */
.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px; margin-bottom: 32px;
}
.footer-brand-col { display: flex; flex-direction: column; gap: 12px; }
.footer-logo-text {
  font-family: var(--f-title); font-size: 1.5rem; font-weight: 700;
  color: var(--text); line-height: 1;
}
.footer-si { color: var(--gold); }
.footer-tagline {
  font-size: 0.78rem; color: var(--text-60); line-height: 1.6;
  font-family: var(--f-body); margin: 0;
}
.footer-socials {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px;
}
.footer-social-btn {
  width: 36px; height: 36px; border-radius: var(--r);
  background: var(--bg); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-60); text-decoration: none;
  transition: border-color 0.18s, color 0.18s;
}
.footer-social-btn svg { width: 15px; height: 15px; }
.footer-social-btn:hover {
  border-color: var(--border-gold); color: var(--gold); opacity: 1;
}
.footer-links-col {
  display: flex; flex-direction: column; gap: 10px;
}
.footer-links-col a,
.footer-links-col button {
  font-size: 0.78rem; color: var(--text-60); text-decoration: none;
  font-family: var(--f-body); transition: color 0.18s;
  background: none; border: none; cursor: pointer; padding: 0;
  text-align: left;
}
.footer-links-col a:hover,
.footer-links-col button:hover { color: var(--gold); opacity: 1; }
.footer-col-title {
  font-size: 0.7rem; font-weight: 600; color: var(--gold);
  text-transform: uppercase; letter-spacing: 0.8px;
  font-family: var(--f-body); margin-bottom: 2px;
}
.footer-bottom span {
  font-size: 0.7rem; color: var(--text-20);
  font-family: var(--f-body);
}

/* ── RESPONSIVE NUEVOS COMPONENTES (≤480px) ──────────────────── */
@media (max-width: 480px) {
  .nav-logo-ss { width: 28px; height: 28px; font-size: 0.65rem; }
  .nav-logo-brand { font-size: 0.88rem; }

  .stats-strip {
    gap: 0; padding: 12px 10px;
  }
  .stat-item { padding: 4px 10px; min-width: 70px; }
  .stat-num { font-size: 1.2rem; }
  .stat-label { font-size: 0.58rem; }
  .stat-sep { height: 28px; }

  .founder-strip { flex-wrap: wrap; padding: 14px 16px; gap: 12px; }
  .founder-socials { width: 100%; }

  .hiw-strip { gap: 8px; }
  .hiw-arrow { display: none; }
  .hiw-step { flex-direction: row; align-items: center; gap: 10px; }
  .hiw-label { text-align: left; max-width: none; }

  .exp-cats { gap: 6px; }
  .exp-cat { font-size: 0.72rem; padding: 6px 12px; }

  .exp-grid { grid-template-columns: 1fr; }

  .exp-register-bar { flex-direction: column; align-items: flex-start; }
  .exp-bar-info strong { font-size: 0.85rem; }

  .exp-badges-legend { gap: 12px; }

  .learn-grid { grid-template-columns: 1fr; }
  .learn-cta { flex-direction: column; align-items: flex-start; }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-brand-col { padding-bottom: 8px; border-bottom: 1px solid var(--border); }
  .footer-bottom {
    flex-direction: column; align-items: center;
    gap: 8px; text-align: center;
  }
}

/* ── RESPONSIVE NUEVOS COMPONENTES (481px–768px) ─────────────── */
@media (min-width: 481px) and (max-width: 900px) {
  .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .exp-grid { grid-template-columns: 1fr 1fr; }
  .learn-grid { grid-template-columns: 1fr 1fr; }
}

/* ── BTN-GOLD SMALL VARIANT ──────────────────────────────────── */
.btn-gold.small {
  font-size: 0.8rem; padding: 9px 18px;
}

/* ══════════════════════════════════════════════════════════════
   COMUNIDAD SECTION
══════════════════════════════════════════════════════════════ */
/* ACTION ROW — Comunidad rediseñada */
.title-gold { color: var(--gold); }

.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.action-box {
  border-radius: 14px;
  padding: 28px 24px 24px;
  display: flex; flex-direction: column; gap: 14px;
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.18s;
}
.action-box:hover { transform: translateY(-2px); }
.action-box--offer {
  background: linear-gradient(135deg, rgba(196,160,90,0.08) 0%, var(--bg-2) 100%);
  border-color: var(--border-gold);
}
.action-box--find {
  background: var(--bg-2);
}
.action-box-top {
  display: flex; align-items: center; gap: 12px;
}
.action-box-icon { font-size: 1.8rem; line-height: 1; flex-shrink: 0; }
.action-box-title {
  font-family: var(--f-title); font-size: 1.15rem; font-weight: 600;
  color: var(--text); line-height: 1.2;
}
.action-box-desc {
  font-size: 0.82rem; color: var(--text-60);
  line-height: 1.65; font-family: var(--f-body); flex: 1;
}
.action-box-note {
  font-size: 0.7rem; color: var(--text-35);
  font-family: var(--f-body); margin-top: -4px;
}
.action-box-links {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px;
}
.action-link {
  font-size: 0.82rem; font-weight: 600; color: var(--gold);
  font-family: var(--f-body); text-decoration: none;
  border: 1px solid var(--border-gold); border-radius: 30px;
  padding: 8px 16px; transition: background 0.18s;
}
.action-link:hover { background: var(--gold-10); }

/* Legacy (unused but kept for safety) */
.com-grid { display: none; }
.com-card { display: none; }
.com-icon { font-size: 2rem; }
.com-title { font-family: var(--f-title); }
.com-desc { font-size: 0.8rem; }
.com-btn { color: var(--gold); }

.com-bot-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px 22px; margin-bottom: 28px;
}
.com-bot-text { display: flex; flex-direction: column; gap: 3px; }
.com-bot-text strong {
  font-size: 0.92rem; color: var(--text); font-family: var(--f-body);
  font-weight: 600;
}
.com-bot-text span {
  font-size: 0.72rem; color: var(--text-60); font-family: var(--f-body);
}

/* ══════════════════════════════════════════════════════════════
   LOPDP BANNER (Protección de datos prominente)
══════════════════════════════════════════════════════════════ */
.lopdp-banner {
  display: flex; align-items: flex-start; gap: 14px;
  background: rgba(196,160,90,0.05);
  border: 1px solid var(--border-gold);
  border-left: 3px solid var(--gold);
  border-radius: var(--r); padding: 16px 18px;
}
.lopdp-banner-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.lopdp-banner-text {
  flex: 1; display: flex; flex-direction: column; gap: 5px;
}
.lopdp-banner-text strong {
  font-size: 0.8rem; font-weight: 600; color: var(--text);
  font-family: var(--f-body); letter-spacing: 0.2px;
}
.lopdp-banner-text span {
  font-size: 0.72rem; color: var(--text-60); font-family: var(--f-body);
  line-height: 1.65;
}
.lopdp-banner-text a {
  color: var(--gold); text-decoration: underline;
}
.lopdp-banner-link {
  background: none; border: 1px solid var(--border-gold);
  border-radius: var(--r); color: var(--gold);
  font-size: 0.72rem; font-weight: 600; font-family: var(--f-body);
  padding: 7px 14px; cursor: pointer; white-space: nowrap;
  transition: background 0.18s; flex-shrink: 0;
  align-self: center;
}
.lopdp-banner-link:hover { background: var(--gold-10); }

/* ── RESPONSIVE COMUNIDAD ────────────────────────────────────── */
@media (max-width: 600px) {
  .action-row { grid-template-columns: 1fr; }
  .com-bot-bar { flex-direction: column; align-items: flex-start; }
  .lopdp-banner { flex-direction: column; gap: 10px; }
  .lopdp-banner-link { align-self: flex-start; }
}
