/* ===== MiLogopeda · Confianza Cálida — sistema hi-fi (handoff Claude Design) =====
   Neutros cálidos fijos; --accent/--accent-deep/--accent-tint los inyecta header.ejs
   desde vertical.json.branding (override DESPUÉS de este archivo en la cascada). */
:root {
  --ink: #1a2620;
  --ink-soft: #5e6b65;
  --ink-faint: #a5aea8;
  --bg: #faf7f2;
  --surface: #ffffff;
  --surface-alt: #f0ebe1;
  --border: #e5dfd2;
  --border-strong: #d0c8b5;
  --accent: #0d9488;
  --accent-deep: #0f766e;
  --accent-tint: #d4f0eb;
  --dark: #1c2b25;
  --success: #16a34a;
  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px; --radius-xl: 22px; --pill: 999px;
  --shadow-sm: 0 1px 3px rgba(45,60,50,.06);
  --shadow-md: 0 4px 16px rgba(45,60,50,.08);
  --shadow-lg: 0 14px 40px rgba(45,60,50,.14);
  --maxw: 1240px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap, .container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.kicker { font-family: 'Hanken Grotesk', sans-serif; font-size: 11px; font-weight: 600; color: var(--accent); letter-spacing: 0.16em; text-transform: uppercase; }
h1, h2 { font-family: 'Newsreader', 'Times New Roman', serif; font-weight: 500; letter-spacing: -0.02em; line-height: 1.04; margin: 0; color: var(--ink); }
h2 { font-weight: 600; }
h3 { font-family: 'Newsreader', serif; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin: 0; color: var(--ink); }
h1 .accent, .accent-italic { color: var(--accent); }
p { line-height: 1.55; margin: 0; color: var(--ink-soft); }

/* ===== Botones ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: var(--pill); font-family: inherit; font-size: 14px; font-weight: 600; letter-spacing: -0.005em; cursor: pointer; border: 1px solid transparent; transition: all .15s; white-space: nowrap; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-deep); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-outline:hover { background: var(--surface-alt); }
.btn-ghost { background: transparent; color: var(--ink); border-color: transparent; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; }
.btn .ar { width: 16px; height: 16px; }

/* ===== Navbar ===== */
header.site { background: var(--bg); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.nav-left { display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand .logo-mark { width: 38px; height: 38px; flex-shrink: 0; display: inline-flex; }
.brand .logo-mark svg { width: 100%; height: 100%; display: block; }
.brand .wordmark { font-family: 'Newsreader', serif; font-weight: 500; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.brand .wordmark .dot { color: var(--accent); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--ink); }
.nav-links a:hover { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 14px; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ===== Hero ===== */
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.5vw, 76px); margin-top: 22px; }
.hero .tagline { font-size: 17px; max-width: 480px; margin-top: 22px; line-height: 1.55; }
.hero-search { display: flex; align-items: center; gap: 4px; padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--pill); box-shadow: var(--shadow-md); max-width: 620px; margin-top: 32px; }
.hero-search .hs-field { display: flex; align-items: center; gap: 12px; padding: 0 20px; height: 56px; flex: 1; }
.hero-search .hs-field + .hs-field { border-left: 1px solid var(--border); flex: 0 0 200px; }
.hero-search label { display: block; font-size: 11px; color: var(--ink-soft); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 2px; }
.hero-search input, .hero-search select { border: none; background: transparent; font: inherit; font-size: 14px; color: var(--ink); outline: none; width: 100%; padding: 0; }
.hero-search .hs-go { height: 48px; padding: 0 22px; border: 0; border-radius: var(--pill); background: var(--accent); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.hero-search .hs-go:hover { background: var(--accent-deep); }
.trust-strip { display: flex; gap: 24px; margin-top: 26px; font-size: 12px; color: var(--ink-soft); font-weight: 500; flex-wrap: wrap; }
.trust-strip span { display: inline-flex; align-items: center; gap: 6px; }
.trust-strip svg { color: var(--accent); width: 15px; height: 15px; }

/* Hero collage */
.hero-visual { display: flex; justify-content: flex-end; }
.hero-photo { width: 100%; max-width: 460px; height: 480px; border-radius: var(--radius-xl); overflow: hidden; background: var(--surface-alt); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.float-card { position: absolute; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 14px; box-shadow: var(--shadow-lg); }
.float-card.fc-pro { top: 56px; left: -8px; width: 250px; }
.float-card.fc-cita { bottom: 24px; left: 24px; width: 232px; display: flex; align-items: center; gap: 10px; }
.fc-pro-row { display: flex; align-items: center; gap: 10px; }
.fc-name { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-sub { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.fc-tags { display: flex; gap: 6px; margin-top: 12px; }
.fc-lbl { font-size: 11px; color: var(--ink-soft); font-weight: 500; }
.fc-val { font-size: 14px; color: var(--ink); font-weight: 600; }
.fc-ico { width: 38px; height: 38px; border-radius: var(--radius-md); background: var(--accent-tint); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 700; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } .hero-visual { display: none; } }

/* ===== Bandas / secciones ===== */
.band { background: var(--surface-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section { padding: 80px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head .kicker { margin-bottom: 12px; }
.section-head h2 { font-size: clamp(30px, 4.5vw, 48px); }
.section-head p { max-width: 480px; margin-top: 10px; font-size: 15px; }

/* ===== Estrellas ===== */
.stars { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink); }
.stars .s { display: inline-flex; gap: 1px; color: var(--accent); }
.stars .s svg { width: 13px; height: 13px; }
.stars b { font-weight: 600; }
.stars .muted { color: var(--ink-soft); font-weight: 400; }

/* ===== Tags / chips ===== */
.tag { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 12px; font-size: 12px; font-weight: 500; border-radius: var(--pill); border: 1px solid transparent; white-space: nowrap; }
.tag-soft { background: var(--surface-alt); color: var(--ink); }
.tag-accent { background: var(--accent-tint); color: var(--accent-deep); }
.tag-filled { background: var(--accent); color: #fff; }
.tag-outline { background: transparent; color: var(--ink); border-color: var(--border); }
.tag-light { background: var(--surface); color: var(--ink); border-color: var(--border); }
.tag-lg { height: 34px; padding: 0 18px; font-size: 14px; }
.tag-lg .n { color: var(--ink-soft); margin-left: 6px; font-size: 12px; }

/* ===== Especialidades ===== */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.spec-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; min-height: 168px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm); transition: all .15s; }
.spec-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.spec-ico { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--accent-tint); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.spec-ico svg { width: 26px; height: 26px; }
.spec-card h3 { font-size: 20px; }
.spec-card .sub { font-size: 12px; color: var(--ink-soft); margin-top: 4px; }
.spec-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--ink-soft); }
.spec-foot b { color: var(--ink); font-weight: 600; }
@media (max-width: 1000px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== Pro-cards (directorio) ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .cards { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: all .15s; }
.card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.card-top { padding: 20px 20px 14px; position: relative; }
.card-badge { position: absolute; top: 16px; right: 16px; height: 24px; padding: 0 10px; display: inline-flex; align-items: center; background: var(--accent-tint); color: var(--accent-deep); border-radius: var(--pill); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; }
.card-row { display: flex; gap: 14px; align-items: center; }
.avatar { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 23px; color: var(--ink); background: linear-gradient(135deg, var(--accent-tint), var(--surface-alt)); box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.card-name { font-size: 16px; font-weight: 700; color: var(--ink); }
.card-sub { font-size: 12px; color: var(--ink-soft); margin: 2px 0 0; }
.card-bio { font-size: 13px; color: var(--ink); line-height: 1.45; margin: 14px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.card-foot { margin-top: auto; padding: 14px 20px; background: var(--surface-alt); border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.card-foot .lbl { font-size: 11px; color: var(--ink-soft); font-weight: 500; }
.card-foot .val { font-size: 14px; color: var(--ink); font-weight: 700; margin-top: 2px; }
.card-foot .go { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; background: var(--accent); color: #fff; border-radius: var(--pill); font-size: 13px; font-weight: 600; }

/* ===== Provincias (pills) ===== */
.prov-section { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 52px 44px; margin: 24px 0; }
.prov-block { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; align-items: center; }
.prov-pills { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 880px) { .prov-block { grid-template-columns: 1fr; gap: 28px; } }

/* ===== Premium / Promo CTA (oscuro) ===== */
.promo-cta { background: var(--dark); color: #fff; border-radius: var(--radius-xl); padding: 56px; margin: 72px 0; display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: center; }
.promo-cta .kicker { color: var(--accent); }
.promo-cta h2 { color: #fff; font-size: clamp(30px, 4.5vw, 52px); margin-top: 14px; }
.promo-cta > div > p { color: rgba(255,255,255,.72); font-size: 15px; max-width: 460px; margin-top: 18px; }
.promo-stats { display: flex; gap: 30px; margin-top: 30px; }
.promo-stats .pv { font-family: 'Newsreader', serif; font-weight: 600; font-size: 30px; color: #fff; }
.promo-stats .pl { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 4px; }
.promo-form { background: var(--surface); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 10px; }
.promo-form .pf-title { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.promo-form input { height: 46px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--bg); font: inherit; font-size: 14px; color: var(--ink); }
.promo-form input:focus { outline: none; border-color: var(--accent); background: #fff; }
.promo-form button { height: 48px; border: 0; border-radius: var(--pill); background: var(--accent); color: #fff; font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; }
.promo-form button:hover { background: var(--accent-deep); }
.promo-form .pf-note { font-size: 11px; color: var(--ink-faint); text-align: center; }
@media (max-width: 800px) { .promo-cta { grid-template-columns: 1fr; gap: 28px; padding: 32px; } }

/* ===== Breadcrumbs / listados ===== */
.crumbs { font-size: 13px; color: var(--ink-faint); padding: 22px 0 4px; }
.crumbs a { color: var(--ink-soft); } .crumbs a:hover { color: var(--accent); }
.crumbs span { color: var(--ink); }
.list-head { padding: 6px 0 26px; }
.list-head h1 { font-size: clamp(32px, 4.5vw, 52px); }
.list-head .count { color: var(--ink-soft); margin-top: 10px; font-size: 15px; }

/* ===== Ficha ===== */
.ficha { padding: 8px 0 0; }
.ficha-grid { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; margin-top: 8px; }
.ficha-head { display: flex; gap: 22px; align-items: center; }
.ficha-head .avatar { width: 96px; height: 96px; border-radius: var(--radius-lg); font-size: 34px; }
.ficha-head h1 { font-size: clamp(28px, 4vw, 42px); }
.loc { color: var(--ink-soft); margin-top: 8px; font-size: 15px; }
.badge { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-tint); color: var(--accent-deep); padding: 6px 13px; border-radius: var(--pill); font-size: 13px; font-weight: 600; margin-top: 12px; }
.flags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.desc { margin: 24px 0; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); line-height: 1.7; color: var(--ink); box-shadow: var(--shadow-sm); }
.datos { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.datos h2 { font-family: 'Hanken Grotesk', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.datos p { margin: 8px 0; color: var(--ink); font-size: 14px; }
.datos a { color: var(--accent); font-weight: 600; }
.hours { list-style: none; padding: 0; margin: 8px 0 0; }
.hours li { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.hours span { text-transform: capitalize; color: var(--ink-soft); }
.contact-cta { position: sticky; top: 92px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-md); }
.contact-cta h2 { font-family: 'Hanken Grotesk', sans-serif; font-size: 19px; font-weight: 700; margin-bottom: 14px; }
.map { margin: 28px 0; }
.map iframe { border-radius: var(--radius-lg); border: 1px solid var(--border); }
.related { margin-top: 56px; }
.related h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 24px; }
.chips { list-style: none; display: flex; gap: 6px; flex-wrap: wrap; padding: 0; margin: 16px 0; }
.chips li { background: var(--surface-alt); color: var(--ink); padding: 4px 12px; border-radius: var(--pill); font-size: 12px; font-weight: 500; text-transform: capitalize; }
@media (max-width: 860px) { .ficha-grid { grid-template-columns: 1fr; } .contact-cta { position: static; } .ficha-head { flex-direction: column; align-items: flex-start; } }

/* ===== Lead form ===== */
.lead input, .lead textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); margin: 5px 0; font: inherit; font-size: 14px; background: var(--bg); }
.lead input:focus, .lead textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.lead .row { display: flex; gap: 8px; }
.lead button { width: 100%; background: var(--accent); color: #fff; border: 0; padding: 13px; border-radius: var(--pill); font-weight: 600; font-size: 15px; font-family: inherit; cursor: pointer; margin-top: 8px; }
.lead button:hover { background: var(--accent-deep); }
.lead-note { font-size: 12px; color: var(--ink-faint); margin-top: 10px; text-align: center; }

/* ===== Contenido editorial / SEO intro ===== */
.ciudad-content, .landing-content { max-width: 760px; line-height: 1.7; color: var(--ink); }
.ciudad-content h1, .landing-content h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 12px; }
.ciudad-content h2, .landing-content h2 { margin-top: 28px; font-size: 24px; }
.list h2 { font-size: clamp(22px, 3vw, 30px); margin: 44px 0 24px; }
.seo-intro { margin: 8px 0; padding: 36px 40px; background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius-xl); max-width: 900px; }
.seo-intro .kicker { display: block; margin-bottom: 10px; }
.seo-intro h2 { font-size: 26px; font-weight: 600; margin-bottom: 14px; }
.seo-intro p { font-size: 15px; line-height: 1.7; }
.eeat { margin-top: 28px; padding: 16px 20px; background: var(--surface-alt); border-radius: var(--radius-md); font-size: 13px; color: var(--ink-soft); }
.eeat a { color: var(--accent); font-weight: 600; }

/* ===== Footer ===== */
footer.site { background: var(--surface-alt); border-top: 1px solid var(--border); margin-top: 80px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 56px 24px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-brand p { font-size: 13px; color: var(--ink-soft); margin-top: 16px; max-width: 320px; line-height: 1.6; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--ink); margin: 0 0 14px; }
.footer-col a { display: block; font-size: 13px; color: var(--ink-soft); margin-bottom: 8px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--ink-soft); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ===== Promo box compacta (ciudad/ficha) ===== */
.promo-box { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center; background: var(--dark); color: #fff; border-radius: var(--radius-xl); padding: 36px 40px; margin: 48px 0; }
.promo-box .kicker { color: var(--accent); }
.promo-box h3 { font-family: 'Newsreader', serif; font-weight: 500; font-size: 26px; color: #fff; margin-top: 8px; }
.promo-box > div > p { color: rgba(255,255,255,.72); font-size: 14px; margin-top: 10px; }
@media (max-width: 760px) { .promo-box { grid-template-columns: 1fr; gap: 20px; padding: 28px; } }

/* ===== Página de Especialidad ===== */
.esp-head { padding: 28px 0 28px; border-bottom: 1px solid var(--border); }
.esp-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 14px; flex-wrap: wrap; }
.esp-head-main { max-width: 680px; }
.esp-head-main h1 { font-size: clamp(34px, 5vw, 60px); }
.esp-head-main h1 .accent { color: var(--accent); }
.esp-desc { margin-top: 14px; font-size: 15px; line-height: 1.55; }
.esp-stats { display: flex; gap: 28px; }
.esp-stats .sv { font-family: 'Newsreader', serif; font-weight: 600; font-size: 40px; line-height: 1; color: var(--ink); }
.esp-stats .sv.accent { color: var(--accent); }
.esp-stats .sl { font-size: 12px; color: var(--ink-soft); margin-top: 6px; }
.esp-filterbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 14px 0; border-bottom: 1px solid var(--border); }
.esp-count { font-size: 13px; color: var(--ink-soft); }
.esp-count b { color: var(--ink); }
.esp-layout { display: grid; grid-template-columns: 264px 1fr; gap: 36px; align-items: start; padding-top: 32px; }
.esp-sidebar { position: sticky; top: 88px; }
.esp-sb-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.esp-sb-head h3 { font-family: 'Hanken Grotesk', sans-serif; font-size: 18px; font-weight: 700; }
.esp-clear { font-size: 12px; color: var(--accent); font-weight: 600; }
.filter-group { margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.filter-group.last { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.fg-title { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.fg-opt, .fg-check { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: var(--radius-md); font-size: 13px; color: var(--ink); }
.fg-opt span:first-child, .fg-lbl { flex: 1; }
.fg-opt:hover, .fg-check:hover { background: var(--surface-alt); }
.fg-opt.on { background: var(--accent-tint); color: var(--accent-deep); font-weight: 600; }
.fg-n { font-size: 11px; color: var(--ink-faint); }
.fg-box { width: 17px; height: 17px; border-radius: 5px; border: 1.5px solid var(--border-strong); background: var(--surface); flex-shrink: 0; position: relative; }
.fg-check.on .fg-box { background: var(--accent); border-color: var(--accent); }
.fg-check.on .fg-box::after { content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 880px) { .esp-layout { grid-template-columns: 1fr; } .esp-sidebar { position: static; } }

.premium-banner { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--accent-tint); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); border-radius: var(--radius-lg); margin-bottom: 22px; }
.premium-banner .pb-ico { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.premium-banner .pb-ico svg { width: 22px; height: 22px; }
.premium-banner .pb-text { flex: 1; }
.premium-banner .pb-text b { font-size: 13px; color: var(--accent-deep); }
.premium-banner .pb-text p { font-size: 12px; margin-top: 2px; }

.card-h-list { display: flex; flex-direction: column; gap: 16px; }
.card-h { display: flex; gap: 22px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 24px; box-shadow: var(--shadow-sm); transition: all .15s; color: inherit; }
.card-h:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.avatar-lg { width: 84px; height: 84px; border-radius: var(--radius-lg); font-size: 30px; flex-shrink: 0; }
.card-h-body { flex: 1; min-width: 0; }
.card-h-top { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.card-h-name { font-size: 19px; font-weight: 700; color: var(--ink); }
.card-h-col { font-size: 11px; color: var(--ink-soft); }
.card-h-loc { font-size: 13px; color: var(--ink-soft); margin: 3px 0 0; }
.card-h-bio { font-size: 13px; color: var(--ink); line-height: 1.5; margin: 12px 0 0; }
.card-h-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.card-h-side { width: 150px; flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.card-h-verif { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--success); }
.card-h-verif .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.card-h-go { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; background: var(--accent); color: #fff; border-radius: var(--pill); font-size: 13px; font-weight: 600; }
.esp-showing { margin-top: 28px; font-size: 13px; color: var(--ink-soft); }
.esp-showing b { color: var(--ink); }
.esp-empty { padding: 48px 0; text-align: center; color: var(--ink-soft); }
.esp-empty .btn { margin-top: 16px; }
@media (max-width: 640px) { .card-h { flex-wrap: wrap; } .card-h-side { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; } }

/* Búsqueda — barra de filtros */
.filter-bar { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 14px; box-shadow: var(--shadow-sm); }
.filter-bar .fb-field { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 5px; padding: 0 6px; }
.filter-bar label { font-size: 11px; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.04em; }
.filter-bar input, .filter-bar select { border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: 11px 13px; font: inherit; font-size: 14px; background: var(--bg); color: var(--ink); }
.filter-bar input:focus, .filter-bar select:focus { outline: none; border-color: var(--accent); background: #fff; }

/* 404 */
.notfound { padding: 96px 0 80px; text-align: center; }
.notfound .kicker { display: block; margin-bottom: 14px; }
.notfound h1 { font-size: clamp(72px, 13vw, 128px); color: var(--accent); line-height: 1; }
.notfound p { max-width: 440px; margin: 16px auto 0; }
.nf-actions { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== Legales (TOC + artículo) ===== */
.legal-wrap { max-width: 1040px; margin: 0 auto; padding: 52px 0 40px; }
.legal-wrap h1 { font-size: clamp(40px, 6vw, 56px); margin-top: 14px; }
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; margin-top: 48px; }
.legal-toc { position: sticky; top: 88px; }
.toc-title { font-size: 11px; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.toc-item { display: flex; gap: 8px; padding: 6px 12px; margin-left: -12px; border-left: 2px solid transparent; font-size: 12px; color: var(--ink-soft); line-height: 1.35; }
.toc-item.on, .toc-item:hover { color: var(--ink); border-left-color: var(--accent); font-weight: 600; }
.toc-n { color: var(--ink-faint); }
.toc-cta { margin-top: 26px; padding: 16px; background: var(--accent-tint); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); border-radius: var(--radius-lg); }
.toc-cta p { font-size: 12px; color: var(--accent-deep); line-height: 1.5; }
.toc-cta p + p { margin-top: 6px; }
.toc-cta a { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--accent); }
.legal-article { max-width: 680px; }
.legal-article h2 { font-size: clamp(24px, 3vw, 30px); margin: 40px 0 16px; scroll-margin-top: 90px; }
.legal-article h2:first-child { margin-top: 0; }
.legal-article p { font-size: 16px; line-height: 1.75; color: var(--ink); }
.legal-note { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--ink-soft); }
@media (max-width: 820px) { .legal-layout { grid-template-columns: 1fr; gap: 28px; } .legal-toc { position: static; } }

/* ===== Éxito post-lead ===== */
.exito { padding: 64px 0 80px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.exito-check { width: 108px; height: 108px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-deep); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 16px color-mix(in srgb, var(--accent) 10%, transparent), 0 0 0 32px color-mix(in srgb, var(--accent) 5%, transparent); }
.exito-check svg { width: 52px; height: 52px; }
.exito .kicker { margin-top: 38px; }
.exito h1 { font-size: clamp(36px, 5.5vw, 56px); margin-top: 14px; max-width: 720px; line-height: 1.04; }
.exito-sub { margin-top: 16px; max-width: 460px; font-size: 16px; line-height: 1.55; }
.exito-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 40px 0; width: 100%; max-width: 720px; text-align: left; }
.exito-steps .es { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-sm); }
.exito-steps .es-n { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.exito-steps b { font-size: 13px; color: var(--ink); }
.exito-steps p { font-size: 11px; color: var(--ink-soft); margin-top: 4px; }
@media (max-width: 680px) { .exito-steps { grid-template-columns: 1fr; } }
