/* ══════════════════════════════════════════════════════════════
   Technify · nav + footer compartidos por todas las páginas
   Autocontenido: no depende de Tailwind (styles.css) ni de technify.css.
   El HTML se genera con build-chrome.js — no editarlo a mano en cada página.
   ══════════════════════════════════════════════════════════════ */

.tf-nav, .tf-foot { font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
.tf-nav *, .tf-foot * { box-sizing: border-box; }
.tf-i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ─────────────────────────── NAV ─────────────────────────── */
.tf-nav { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.85); -webkit-backdrop-filter: saturate(150%) blur(12px); backdrop-filter: saturate(150%) blur(12px); border-bottom: 1px solid #E6EAF2; }
.tf-nav-in { max-width: 80rem; margin: 0 auto; padding: 0 20px; height: 64px; display: flex; align-items: center; gap: 24px; }
.tf-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em; color: #0B1220; text-decoration: none; flex-shrink: 0; }
.tf-brand img { display: block; }

/* neutraliza la regla `nav{position:sticky}` de technify.css */
.tf-nav .tf-links { display: none; align-items: center; gap: 24px; margin-left: 8px; font-size: .875rem; font-weight: 500; color: #1F2A44; position: static; background: none; border: 0; padding: 0; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
@media (min-width: 768px) { .tf-nav .tf-links { display: flex; } }
.tf-links > a { color: inherit; text-decoration: none; transition: color .15s; }
.tf-links > a:hover { color: #0B1220; }

.tf-nav-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.tf-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 8px; font-size: .875rem; font-weight: 600; text-decoration: none; white-space: nowrap; font-family: inherit; transition: background .15s, border-color .15s, color .15s; }
.tf-btn-ghost { background: #fff; border: 1px solid #E6EAF2; color: #1F2A44; }
.tf-btn-ghost:hover { background: #F6F8FC; color: #0B1220; }
.tf-btn-primary { background: #1F5EFF; border: 1px solid #1F5EFF; color: #fff; }
.tf-btn-primary:hover { background: #0B3FD1; border-color: #0B3FD1; color: #fff; }
.tf-btn .tf-i { width: 14px; height: 14px; }
.tf-only-xs { display: inline; }
.tf-only-sm { display: none; }
@media (min-width: 640px) { .tf-only-xs { display: none; } .tf-only-sm { display: inline; } }

/* ── Desplegables del nav ── */
.tf-dd { position: relative; }
.tf-dd-trigger { display: inline-flex; align-items: center; gap: 4px; font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; transition: color .15s; }
.tf-dd-trigger .tf-i { width: 14px; height: 14px; transition: transform .18s; }
.tf-dd:hover .tf-dd-trigger, .tf-dd[data-open="true"] .tf-dd-trigger, .tf-dd-trigger:hover { color: #0B1220; }
.tf-dd:hover .tf-dd-trigger .tf-i, .tf-dd[data-open="true"] .tf-dd-trigger .tf-i { transform: rotate(180deg); }
.tf-dd-panel { position: absolute; top: 100%; left: -18px; margin-top: 14px; z-index: 50; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .16s ease, transform .16s ease, visibility .16s; background: #fff; border: 1px solid #E6EAF2; border-radius: 16px; box-shadow: 0 24px 48px -16px rgba(11,18,32,.18); padding: 18px; width: max-content; max-width: min(92vw, 720px); }
/* puente invisible: el hover no se corta en el hueco entre trigger y panel */
.tf-dd-panel::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.tf-dd:hover .tf-dd-panel, .tf-dd:focus-within .tf-dd-panel, .tf-dd[data-open="true"] .tf-dd-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.tf-dd-cols { display: grid; grid-template-columns: repeat(2, minmax(196px, 1fr)); gap: 20px 26px; }
@media (min-width: 1024px) { .tf-dd-cols.is-3 { grid-template-columns: repeat(3, minmax(190px, 1fr)); } }
.tf-dd-title { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8A94A6; margin-bottom: 6px; }
.tf-dd-panel a { display: flex; align-items: flex-start; gap: 9px; padding: 7px 9px; margin: 0 -9px; border-radius: 9px; color: #1F2A44; text-decoration: none; font-size: 13.5px; font-weight: 500; line-height: 1.35; transition: background .14s, color .14s; }
.tf-dd-panel a:hover { background: #F6F8FC; color: #0B1220; }
.tf-dd-panel a .tf-i { margin-top: 1px; color: #1F5EFF; }
.tf-dd-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid #E6EAF2; }
.tf-dd-foot a { font-weight: 600; color: #1F5EFF; }
.tf-dd-foot a:hover { color: #0B3FD1; background: none; }
.tf-dd-foot a .tf-i { color: inherit; }

/* ────────────────────────── FOOTER ────────────────────────── */
/* !important puntuales: technify.css define `footer{background:var(--bg-soft);padding:44px 0}` */
.tf-foot { background: #0B1220 !important; color: rgba(255,255,255,.6); border-top: 0 !important; padding: 0 !important; font-size: 14px; }
.tf-foot a { color: rgba(255,255,255,.6); text-decoration: none; transition: color .15s, background .15s, border-color .15s; }
.tf-foot a:hover { color: #fff; }
.tf-foot-in { max-width: 80rem; margin: 0 auto; padding: 56px 20px; display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .tf-foot-in { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tf-foot-in { grid-template-columns: repeat(4, 1fr); } }
.tf-foot-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; color: #fff; font-size: 1.125rem; margin-bottom: 12px; }
.tf-foot-brand .tf-foot-mark { width: 28px; height: 28px; border-radius: 8px; background: #fff; padding: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tf-foot-desc { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.45); margin: 0; }
.tf-social { display: flex; flex-wrap: nowrap; gap: 8px; margin-top: 14px; }
.tf-foot a.tf-social-link { flex: 1 1 0; min-width: 0; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); line-height: 0; }
.tf-foot a.tf-social-link:hover { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.18); }
.tf-social svg { width: 18px; height: 18px; display: block; }
.tf-foot-h { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.tf-foot-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.tf-foot a.tf-foot-cta { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; border-radius: 12px; font-size: 14px; font-weight: 600; color: #fff; background: #1F5EFF; }
.tf-foot a.tf-foot-cta:hover { background: #0B3FD1; }
.tf-foot a.tf-foot-cta-alt { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; padding: 10px; border-radius: 12px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.85); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.tf-foot a.tf-foot-cta-alt:hover { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.24); }
.tf-foot a.tf-foot-cta2 { display: flex; align-items: center; justify-content: center; margin-top: 8px; padding: 8px; border-radius: 12px; font-size: 12px; color: rgba(255,255,255,.45); }
.tf-foot-note { font-size: 12px; margin: 8px 0 0; color: rgba(255,255,255,.35); }

/* ── Directorio de landings (desplegables) ── */
.tf-dir { border-top: 1px solid rgba(255,255,255,.08); }
.tf-dir-in { max-width: 80rem; margin: 0 auto; padding: 6px 20px; }
.tf-acc { border-bottom: 1px solid rgba(255,255,255,.07); }
.tf-acc:last-child { border-bottom: 0; }
.tf-acc > summary { display: flex; align-items: center; gap: 10px; list-style: none; cursor: pointer; padding: 18px 0; font-size: 15px; font-weight: 600; color: #fff; }
.tf-acc > summary::-webkit-details-marker { display: none; }
.tf-acc > summary::marker { content: ''; }
.tf-acc-count { font-size: 12px; font-weight: 500; color: rgba(255,255,255,.35); }
.tf-acc-chev { width: 18px; height: 18px; margin-left: auto; color: rgba(255,255,255,.5); transition: transform .2s; }
.tf-acc[open] .tf-acc-chev { transform: rotate(180deg); }
.tf-acc > summary:hover .tf-acc-chev { color: #fff; }
.tf-acc-list { list-style: none; margin: 0; padding: 2px 0 22px; display: grid; grid-template-columns: 1fr; gap: 10px 24px; font-size: 14px; }
@media (min-width: 640px) { .tf-acc-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tf-acc-list { grid-template-columns: repeat(4, 1fr); } }

.tf-foot-legal { border-top: 1px solid rgba(255,255,255,.08); }
.tf-foot-legal-in { max-width: 80rem; margin: 0 auto; padding: 16px 20px; font-size: 12px; color: rgba(255,255,255,.35); }
