/* FreeToWork 0.2 — Rediseño premium de portada y componentes.
 * Sobre frontend.css para preservar los estilos del header original.
 * Estilos encapsulados: no alteran las demás páginas de WordPress.
 */
.ftw-root{
  --ftw-navy:#0c1c38;--ftw-text:#25344b;--ftw-muted:#68788d;
  --ftw-blue:#076bea;--ftw-soft:#f6f8fb;--ftw-border:#e2e8f0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ftw-text);background:#fff;overflow:clip;
}
.ftw-root a,.ftw-root a:hover,.ftw-root a:focus,.ftw-root a:active,
.ftw-root .ftw-card a,.ftw-root .ftw-v2-path-card,
.ftw-root .ftw-footer a{text-decoration:none!important;text-decoration-line:none!important;}
.ftw-root h1,.ftw-root h2,.ftw-root h3{letter-spacing:-.045em;font-weight:750}
.ftw-main .ftw-btn{border-radius:9px;box-shadow:none;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.ftw-main .ftw-btn-primary{background:#076bea;box-shadow:none}
.ftw-main .ftw-btn-primary:hover{background:#0058c6}
.ftw-main .ftw-btn-outline:hover{background:#f5f9ff}
.ftw-root :where(button,a,input,select,textarea):focus-visible{outline:3px solid #7fb2ff;outline-offset:3px}
.ftw-root input,.ftw-root select,.ftw-root textarea{border-radius:9px}

/* Portada — hero centrado y buscador real, sin subrayados decorativos. */
.ftw-v2-hero{background:#f7f9fc;border-bottom:1px solid #e8edf4;position:relative;padding:105px 0 83px}
.ftw-v2-hero:before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,#0d67e9 0%,#1689f4 53%,#20c9bd 100%);opacity:.95}
.ftw-v2-hero-inner{display:flex;flex-direction:column;align-items:center}
.ftw-v2-lead{text-align:center;max-width:860px;margin:0 auto}
.ftw-v2-eyebrow{display:inline-flex;align-items:center;gap:10px;background:#fff;border:1px solid #e4eaf3;border-radius:60px;padding:7px 15px;font-size:12px;color:#355474;font-weight:700;letter-spacing:.005em}
.ftw-v2-status-dot{width:7px;height:7px;background:#14b99d;border-radius:50%;box-shadow:0 0 0 3px #d9f7ef}
.ftw-v2-lead h1{font-size:clamp(43px,5.35vw,72px);line-height:1.12;letter-spacing:-.065em!important;margin:23px auto 22px;color:#101f3b;font-weight:780}
.ftw-v2-lead h1 span{color:#0875ea;display:inline;background:none;-webkit-text-fill-color:initial;}
.ftw-v2-lead p{font-size:clamp(15px,1.5vw,18px);color:#64748b;line-height:1.8;max-width:690px;margin:0 auto}
.ftw-v2-search-shell{width:min(100%,940px);background:#fff;border:1px solid #dbe4ee;box-shadow:0 14px 50px rgba(19,42,82,.075);border-radius:15px;margin-top:42px;padding:9px}
.ftw-v2-search-tabs{display:flex;gap:6px;padding:0 0 9px;border-bottom:1px solid #e9edf4}
.ftw-v2-search-tab{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:transparent;border:0!important;border-radius:8px!important;color:#607188;font-size:13px;font-weight:750;padding:12px 18px;min-height:42px;box-shadow:none!important;line-height:1.2;white-space:nowrap;transition:background .16s,color .16s}
.ftw-v2-search-tab svg{height:16px;width:16px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}
.ftw-v2-search-tab.is-active,.ftw-v2-search-tab.is-active:hover{background:#edf5ff;color:#0764d6}
.ftw-v2-search-tab:hover{background:#f4f7fa;color:#243a58}
.ftw-v2-search-form{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.75fr) auto;align-items:stretch;gap:0;padding-top:9px;margin:0}
.ftw-v2-search-field{display:flex;align-items:center;gap:13px;padding:5px 17px;border-right:1px solid #e7ebf1;min-width:0;margin:0!important;cursor:text}
.ftw-v2-search-field>svg{width:21px;height:21px;flex-shrink:0;stroke:#92a2b6;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ftw-v2-search-field>span{min-width:0;flex:1;display:flex;flex-direction:column;align-items:stretch;gap:2px}
.ftw-v2-search-field small{font-size:11px;color:#304560;line-height:1.35;font-weight:760}
.ftw-v2-search-field input,.ftw-root .ftw-v2-search-field input[type="search"],.ftw-root .ftw-v2-search-field input[type="text"]{font-size:13px!important;color:#122441!important;background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important;border-radius:0!important;padding:1px 0!important;min-height:24px!important;max-width:none!important;width:100%!important;margin:0!important;font-weight:500!important;line-height:1.45!important}
.ftw-v2-search-field input::placeholder{color:#9aa8b8;opacity:1}
.ftw-v2-search-location{border-right:0}
.ftw-root .ftw-v2-search-submit{display:flex;align-items:center;justify-content:center;gap:12px;min-width:151px;border:0!important;background:#0870e7!important;color:#fff!important;border-radius:9px!important;font-weight:800;font-size:14px;padding:15px 20px;box-shadow:none!important;margin:0;line-height:1.2}
.ftw-v2-search-submit:hover{background:#0058c1!important}
.ftw-v2-search-submit svg{height:18px;width:18px;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ftw-v2-popular{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;column-gap:15px;row-gap:10px;margin-top:22px;font-size:12px;line-height:1.5}
.ftw-v2-popular>span{color:#8492a5;font-weight:650}
.ftw-v2-popular a{color:#536780!important;font-weight:700;text-decoration:none!important;transition:color .2s}
.ftw-v2-popular a:hover{color:#066cdd!important}

/* Barra de accesos principales */
.ftw-v2-shortcuts{background:white;border-bottom:1px solid #edf0f4}
.ftw-v2-shortcuts-inner{display:grid;grid-template-columns:minmax(0,1fr) auto 1px minmax(0,1fr) auto;gap:21px;align-items:center;min-height:127px}
.ftw-v2-shortcuts-inner>div:not(.ftw-v2-shortcuts-divider){display:flex;align-items:center;gap:13px;min-width:0}
.ftw-v2-shortcuts-icon{width:45px;height:45px;border-radius:12px;display:grid;place-items:center;font-size:26px;line-height:1;background:#eef5ff;color:#0d6de5;flex-shrink:0}
.ftw-v2-shortcuts-icon.is-business{background:#e9f8f5;color:#099d89;font-size:23px}
.ftw-v2-shortcuts-inner strong{display:block;color:#132541;font-size:14px;line-height:1.4;font-weight:750}
.ftw-v2-shortcuts-inner small{display:block;margin-top:3px;color:#8090a4;font-size:12px}
.ftw-v2-shortcuts-inner>a{font-size:12px;color:#076ce2!important;font-weight:800;white-space:nowrap}
.ftw-v2-shortcuts-inner>a:hover{color:#0b468b!important}
.ftw-v2-shortcuts-inner>a span{font-size:18px;margin-left:5px;vertical-align:-1px}
.ftw-v2-shortcuts-divider{height:45px;width:1px;background:#e6ebf2}

/* Explorar: tarjetas editoriales, no cajas decorativas de IA */
.ftw-v2-section{padding-top:89px;padding-bottom:88px}
.ftw-v2-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:33px}
.ftw-v2-kicker{display:block;color:#0b71db;font-size:11px;letter-spacing:.13em;font-weight:800;margin-bottom:14px}
.ftw-v2-section-heading h2{font-size:clamp(30px,3.1vw,42px);line-height:1.16;margin:0 0 10px;color:#101f3b;letter-spacing:-.045em}
.ftw-v2-section-heading p{font-size:15px;line-height:1.7;color:#718096;margin:0}
.ftw-v2-path-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}
.ftw-v2-path-card{min-height:326px;display:flex;flex-direction:column;align-items:flex-start;border:1px solid #dfe7f0;background:#fff;border-radius:15px;padding:30px 29px;box-shadow:0 7px 20px rgba(15,35,65,.024);transition:border-color .18s,transform .18s,box-shadow .18s;color:#112342!important}
.ftw-v2-path-card:hover{border-color:#aac4eb;box-shadow:0 14px 32px rgba(17,54,96,.07);transform:translateY(-3px);color:#112342!important}
.ftw-v2-path-mark{height:55px;width:55px;border-radius:13px;display:grid;place-items:center;margin-bottom:26px}
.ftw-v2-path-mark svg{height:26px;width:26px;stroke:currentColor;stroke-width:1.65;stroke-linejoin:round;stroke-linecap:round}
.ftw-v2-path-blue{background:#eaf2ff;color:#136ce0}.ftw-v2-path-mint{background:#e2f7f3;color:#159888}.ftw-v2-path-slate{background:#edf0f7;color:#526c97}
.ftw-v2-path-label{font-size:10px;color:#8a98aa;font-weight:800;letter-spacing:.10em;margin-bottom:8px}
.ftw-v2-path-card>strong{display:block;color:#132443;font-size:22px;line-height:1.25;letter-spacing:-.04em;font-weight:760;margin-bottom:12px}
.ftw-v2-path-desc{font-size:13px;color:#718097;line-height:1.75;max-width:320px}
.ftw-v2-path-action{display:flex;align-items:center;gap:10px;margin-top:auto;padding-top:27px;font-size:13px;color:#0868d4;font-weight:800}
.ftw-v2-path-action b{font-size:18px;font-weight:500}

/* Últimas oportunidades: sólo publicaciones reales */
.ftw-v2-latest{background:#f7f9fc;border-top:1px solid #edf0f5;border-bottom:1px solid #edf0f5}
.ftw-v2-latest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}
.ftw-v2-latest-grid:has(>div:only-child){grid-template-columns:minmax(0,1fr)}
.ftw-v2-latest-grid:has(>div:only-child) .ftw-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
.ftw-v2-latest .ftw-list-title{margin-bottom:22px}
.ftw-v2-latest .ftw-list-title h3{font-size:21px}
.ftw-v2-latest .ftw-list-title a{font-size:12px;color:#0870d9!important}
.ftw-root .ftw-card{border-radius:13px;border-color:#e0e7f0;box-shadow:0 4px 19px rgba(12,42,82,.025);transition:border-color .2s,box-shadow .2s}
.ftw-root .ftw-card:hover{border-color:#b7d0ee;box-shadow:0 10px 22px rgba(12,42,82,.05)}
.ftw-root .ftw-type-tag{border-radius:6px}
.ftw-root .ftw-card-title{font-weight:760;letter-spacing:-.025em}

/* Cómo funciona */
.ftw-v2-how{background:#fff}
.ftw-v2-how-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1fr);gap:12%;align-items:start}
.ftw-v2-how-heading h2{font-size:clamp(32px,3.5vw,47px);line-height:1.16;letter-spacing:-.055em;color:#14243f;margin:0 0 21px}
.ftw-v2-how-heading>p{font-size:15px;color:#77879a;line-height:1.9;max-width:490px}
.ftw-v2-steps{display:grid;gap:0}
.ftw-v2-steps>div{display:grid;grid-template-columns:50px 1fr;gap:22px;align-items:start;padding:18px 0 22px;border-bottom:1px solid #e9edf3}
.ftw-v2-steps>div:first-child{padding-top:0}
.ftw-v2-steps>div:last-child{border-bottom:0}
.ftw-v2-steps>div>span{font-size:13px;color:#1d74e7;font-weight:800;letter-spacing:.02em;background:#eaf3ff;border-radius:10px;height:42px;width:42px;display:grid;place-items:center}
.ftw-v2-steps h3{font-size:19px;letter-spacing:-.025em;color:#182842;font-weight:760;margin:0 0 8px}
.ftw-v2-steps p{color:#718197;font-size:13px;line-height:1.7;max-width:420px;margin:0}

/* CTA empresa */
.ftw-v2-cta-wrap{padding-bottom:92px}
.ftw-v2-cta{border-radius:17px;background:#102446;padding:51px 58px;display:flex;align-items:center;justify-content:space-between;gap:30px;position:relative;overflow:hidden}
.ftw-v2-cta:after{content:"";position:absolute;width:310px;height:310px;right:-170px;top:-190px;border:1px solid rgba(158,189,238,.15);border-radius:50%;box-shadow:0 0 0 62px rgba(120,159,223,.025),0 0 0 123px rgba(120,159,223,.025);pointer-events:none}
.ftw-v2-cta-label{font-size:11px;color:#7fd8dd;letter-spacing:.12em;font-weight:800}
.ftw-v2-cta h2{font-size:clamp(29px,3vw,39px);color:white;line-height:1.2;letter-spacing:-.05em;margin:10px 0 14px}
.ftw-v2-cta p{font-size:14px;color:#b8c7dc;max-width:555px;line-height:1.8}
.ftw-v2-cta-button{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;gap:15px;padding:15px 19px;min-height:51px;background:#fff;border-radius:9px;color:#0d315d!important;font-size:13px;font-weight:800;position:relative;z-index:1}
.ftw-v2-cta-button:hover{background:#eaf3ff;color:#064c97!important}
.ftw-v2-cta-button span{font-size:20px}

/* Mejora global de páginas internas — preserva formularios, flujos y lógica. */
.ftw-root .ftw-page-hero{padding-top:75px;padding-bottom:41px}
.ftw-root .ftw-page-hero h1{letter-spacing:-.052em;font-weight:760;color:#101f3b}
.ftw-root .ftw-page-hero p{line-height:1.8;color:#718096}
.ftw-root .ftw-overline{font-size:11px;color:#0b71df;letter-spacing:.12em}
.ftw-root .ftw-filter-box,.ftw-root .ftw-side-box,.ftw-root .ftw-form-panel{box-shadow:none;border-color:#e1e8f0;border-radius:13px}
.ftw-root .ftw-filter-box label,.ftw-root .ftw-form-panel label{font-weight:690}
.ftw-root .ftw-person-card{box-shadow:none;border-radius:13px;transition:border-color .18s}
.ftw-root .ftw-person-card:hover{border-color:#b4d0ec}
.ftw-root .ftw-dashboard-heading h1{font-weight:760}
.ftw-root .ftw-switch-tabs{gap:8px;border-bottom:0;margin-bottom:23px}
.ftw-root .ftw-switch-tabs button{border-radius:8px;background:#f2f5f9;color:#687990;padding:11px;box-shadow:none}
.ftw-root .ftw-switch-tabs button.is-active{background:#e9f3ff;color:#0769d8}
.ftw-root .ftw-switch-tabs button.is-active:after{display:none!important}
.ftw-root .ftw-form-panel input:focus,.ftw-root .ftw-form-panel textarea:focus,.ftw-root .ftw-form-panel select:focus{border-color:#77b5ee;box-shadow:0 0 0 3px rgba(29,107,222,.08)}
.ftw-root .ftw-empty{border-radius:13px}

/* Footer sobrio, sin cambiar el logo ni la navegación del header. */
.ftw-root .ftw-footer{background:#f8fafc;border-top:1px solid #e8edf3;padding-top:63px}
.ftw-root .ftw-footer-grid h3{font-size:13px;font-weight:750;letter-spacing:-.02em;color:#233750}
.ftw-root .ftw-footer-grid a{color:#6d7e94;font-weight:500}
.ftw-root .ftw-footer-grid a:hover{color:#0869d7!important}
.ftw-root .ftw-footer-bottom{border-top-color:#e6ebf1}

/* Responsive */
@media(max-width:1060px){
  .ftw-v2-shortcuts-inner{grid-template-columns:minmax(0,1fr) auto;gap:12px 20px;padding:21px 0}
  .ftw-v2-shortcuts-divider{display:none}
  .ftw-v2-shortcuts-inner>div:nth-of-type(3){grid-column:1;grid-row:2}
  .ftw-v2-shortcuts-inner>a:last-child{grid-column:2;grid-row:2}
  .ftw-v2-cta{padding:40px}
}
@media(max-width:800px){
  .ftw-v2-hero{padding:74px 0 67px}
  .ftw-v2-lead h1{font-size:clamp(41px,7vw,59px)}
  .ftw-v2-path-grid{grid-template-columns:1fr 1fr}
  .ftw-v2-path-card:last-child{grid-column:1 / -1;min-height:245px}
  .ftw-v2-how-grid{grid-template-columns:1fr;gap:32px}
  .ftw-v2-latest-grid,.ftw-v2-latest-grid:has(>div:only-child) .ftw-cards{grid-template-columns:1fr}
  .ftw-v2-cta{display:block}
  .ftw-v2-cta-button{margin-top:24px}
}
@media(max-width:620px){
  .ftw-v2-hero{padding:57px 0 58px}
  .ftw-v2-eyebrow{font-size:11px}
  .ftw-v2-lead h1{font-size:clamp(36px,9vw,48px);line-height:1.12!important;margin:20px 0 16px}
  .ftw-v2-lead h1 br{display:none}
  .ftw-v2-lead p{font-size:14px;line-height:1.78}
  .ftw-v2-search-shell{margin-top:31px;padding:7px;border-radius:12px}
  .ftw-v2-search-tabs{gap:4px;padding-bottom:7px}
  .ftw-v2-search-tab{flex:1;min-width:0;padding:11px 7px;font-size:11px;gap:5px;white-space:normal}
  .ftw-v2-search-tab svg{height:15px;width:15px;flex-shrink:0}
  .ftw-v2-search-form{grid-template-columns:1fr;gap:0}
  .ftw-v2-search-field{border-right:0;border-bottom:1px solid #e9eef4;padding:12px 13px;gap:12px}
  .ftw-v2-search-field:last-of-type{border-bottom:0}
  .ftw-root .ftw-v2-search-submit{min-height:48px;margin-top:5px;width:100%;justify-content:center}
  .ftw-v2-popular{margin-top:19px;justify-content:flex-start;column-gap:13px;font-size:11px}
  .ftw-v2-popular>span{width:100%}
  .ftw-v2-shortcuts-inner{grid-template-columns:1fr auto;gap:14px 10px;padding:23px 0}
  .ftw-v2-shortcuts-inner strong{font-size:12px}
  .ftw-v2-shortcuts-inner small{font-size:11px}
  .ftw-v2-shortcuts-icon{width:38px;height:38px;font-size:22px;border-radius:10px}
  .ftw-v2-shortcuts-inner>a{font-size:11px;text-align:right;max-width:112px;white-space:normal}
  .ftw-v2-section{padding-top:60px;padding-bottom:60px}
  .ftw-v2-section-heading{margin-bottom:25px}
  .ftw-v2-section-heading h2{font-size:30px}
  .ftw-v2-path-grid{grid-template-columns:1fr;gap:13px}
  .ftw-v2-path-card,.ftw-v2-path-card:last-child{grid-column:auto;min-height:0;padding:24px}
  .ftw-v2-path-mark{width:49px;height:49px;margin-bottom:18px}
  .ftw-v2-path-card>strong{font-size:21px}
  .ftw-v2-path-action{padding-top:22px}
  .ftw-v2-how-heading h2{font-size:33px}
  .ftw-v2-steps>div{gap:13px;grid-template-columns:44px 1fr}
  .ftw-v2-cta-wrap{padding-bottom:60px}
  .ftw-v2-cta{padding:30px 24px;border-radius:13px}
  .ftw-v2-cta h2{font-size:28px}
  .ftw-v2-cta h2 br{display:none}
  .ftw-v2-cta-button{width:100%;gap:8px}
  .ftw-root .ftw-page-hero{padding-top:53px;padding-bottom:29px}
}
@media(prefers-reduced-motion:reduce){.ftw-v2-path-card,.ftw-v2-search-tab,.ftw-v2-search-submit,.ftw-v2-cta-button{transition:none!important}}
