@font-face{font-family:'Outfit Logo';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/outfit-600.woff2') format('woff2')}
@font-face{font-family:'Outfit Logo';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/outfit-700.woff2') format('woff2')}

/* Compatibilidad con contenido y formularios que vienen del sitio anterior. */
.btn--crimson{background:var(--crimson);color:#fff}
.btn--crimson:hover{background:var(--crimson-600);color:#fff}

.form-extra{margin-top:.5rem;border-top:1px solid var(--line);padding-top:.9rem}
.form-extra summary{cursor:pointer;color:var(--teal);font-weight:700;font-size:.86rem}
.form-extra .field:first-of-type{margin-top:.9rem}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-status{min-height:1.2em;margin:.8rem 0 0;font-size:.86rem;color:var(--teal)}
.form-status--error{color:var(--crimson)}
.mail-fallback{font-size:.9rem;color:var(--muted)}
.mail-fallback strong{display:inline;color:var(--plum)}

/* Artículos del sitio anterior, dentro del layout 09. */
.article-main .container{max-width:none;padding:0;margin:0}
.article-main .article-hero{padding:0;background:none;border:0}
.article-main .article-header{max-width:70ch;margin:0 0 2rem}
.article-main .article-header h1{font-size:clamp(2.1rem,1.7rem + 2vw,3.4rem);line-height:1.08;letter-spacing:-.04em;color:var(--teal);margin:.7rem 0 .8rem}
.article-main .article-header .lead{font-size:1.1rem;line-height:1.65;color:var(--muted);max-width:62ch}
.article-main .post-meta{display:flex;flex-wrap:wrap;gap:.4rem .9rem;color:var(--muted);font-size:.8rem;margin:1.1rem 0 0}
.article-main .article-body{max-width:70ch;margin:0;font-size:1.1rem;line-height:1.8}
.article-main .article-body h2{font-size:clamp(1.4rem,1.2rem + .8vw,1.85rem);line-height:1.2;margin:2.2rem 0 .8rem;letter-spacing:-.02em}
.article-main .article-body h3{font-size:1.2rem;margin:1.6rem 0 .5rem}
.article-main .article-body p{margin:0 0 1.1rem}
.article-main .article-body ul,.article-main .article-body ol{margin:0 0 1.2rem;padding-left:1.2rem}
.article-main .article-body li{margin:.35rem 0}
.article-main .article-figure{margin:1.8rem 0;max-width:100%}
.article-main .article-figure img{max-width:100%;height:auto;border-radius:14px}
.article-main .article-figure figcaption{font-size:.78rem;color:var(--muted);margin-top:.5rem}
.article-main .data-box{background:rgba(18,100,122,.06);border:1px solid var(--line);border-left:4px solid var(--teal);border-radius:0 14px 14px 0;padding:1.2rem 1.4rem;margin:1.6rem 0}
.article-main .data-box__title{font-weight:800;color:var(--plum);margin:0 0 .5rem}
.article-main .data-box ul{margin:0;padding-left:1.1rem}
.article-main .breadcrumb a{color:var(--teal)}
.article-side .side-toc ol{margin:0;padding-left:1.1rem}
.article-side .side-toc li{margin:.45rem 0;font-size:.84rem;color:var(--muted)}
.article-side .side-toc a{color:var(--plum)}
.article-side .side-cta p{color:rgba(255,255,255,.8)}

/* Legales del sitio anterior dentro del shell 09. */
.legal.container{max-width:820px;margin-inline:auto;padding-inline:0}
.legal h3{font-size:1.2rem;margin:1.8rem 0 .5rem;color:var(--plum)}
.legal .toc{margin:1rem 0 2rem;padding:1rem 1.2rem;background:var(--surface);border:1px solid var(--line);border-radius:14px}
.legal .toc a{color:var(--teal)}


/* El artículo hereda .section del sitio anterior: evitar el doble padding superior. */
.article-main .article-section{padding-block:0;background:transparent}
.article-main .article-section > .container{padding:0}
.article-main .article-section .article-body{padding-top:1.75rem}

/* Breadcrumb de artículos: misma tipografía y tamaño que .crumbs */
.article-main .breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:0 0 1.4rem;font-family:var(--font-ui);font-size:.78rem;color:var(--muted)}
.article-main .breadcrumb a{color:var(--muted);text-decoration:none;font-weight:400}
.article-main .breadcrumb a:hover{color:var(--crimson)}
.article-main .breadcrumb span[aria-hidden]{color:var(--line-strong)}
.article-main .breadcrumb span[aria-current]{color:var(--plum);font-weight:400}

/* Artículos 1160: main 736 + sidebar 320, CTA dual en mobile. */
.page-articulo .article-layout{grid-template-columns:minmax(0,1fr) 320px!important;gap:40px}
.page-articulo .article-body{max-width:72ch;font-size:19px;line-height:1.8}

.article-toc-inline{margin:0 0 2rem;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:1rem 1.2rem}
.article-toc-inline summary{cursor:pointer;font-family:var(--font-ui);font-weight:700;font-size:.86rem;color:var(--plum)}
.article-toc-inline ol{margin:.8rem 0 0;padding-left:1.2rem;columns:2;column-gap:2rem}
.article-toc-inline li{break-inside:avoid;margin:.35rem 0;font-size:.82rem;line-height:1.45}
.article-toc-inline a{color:var(--muted);text-decoration:none}
.article-toc-inline a:hover{color:var(--teal)}
.article-side .side-card--accent{background:rgba(244,226,202,.5);border-color:rgba(216,148,60,.25)}

.article-mobile-cta{display:none}

@media(max-width:960px){
  .page-articulo .article-layout{grid-template-columns:1fr!important;gap:0}
  .page-articulo .article-side{display:none!important}
  .page-articulo .article-body{max-width:none;font-size:17px;line-height:1.75}
  .article-toc-inline{margin-bottom:1.5rem}
  .article-toc-inline ol{columns:1}
  .article-mobile-cta{display:grid;gap:.65rem;margin:2rem 0;padding:1.25rem;background:var(--surface);border:1px solid var(--line);border-radius:16px}
  .article-mobile-cta__eyebrow{margin:0;font-family:var(--font-ui);font-size:.68rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--crimson)}
  .article-mobile-cta__title{margin:0 0 .25rem;font-family:var(--font-display);font-size:1.45rem;line-height:1.15;color:var(--plum)}
  .article-mobile-cta .btn{width:100%;justify-content:center}
  .article-mobile-cta .btn--outline{background:transparent!important;color:var(--teal)!important;border:1px solid var(--line-strong)!important}
  .article-mobile-cta .btn--outline:hover{background:var(--surface)!important;color:var(--crimson)!important;border-color:var(--crimson)!important}
  .article-body .cta-inline{display:none!important}
}

/* Base de talento: un contenedor, dos columnas. Widgets a la izquierda (430) y
   formulario a la derecha (el resto). En móvil manda el orden del DOM: form primero. */
.base-layout{display:grid;grid-template-columns:minmax(0,600px) minmax(0,456px);gap:40px;align-items:start}
.base-widgets{display:grid;gap:1rem}
.base-contact-card{padding:clamp(1.25rem,1rem + 1vw,1.75rem)}
.base-contact-card .contact-card__title{font-size:clamp(1.45rem,1.3rem + .5vw,1.75rem);margin-bottom:1rem}
.base-contact-card .cv-email-box{padding:1.35rem 1.15rem}
.base-contact-card .cv-email-box__lead{font-size:.9rem;margin-bottom:1.1rem}
.base-contact-card .cv-email-btn{min-width:0;width:100%}
.base-contact-card .contact-consent{font-size:.72rem;line-height:1.5}
.base-layout .form-card{max-width:600px}
@media(max-width:960px){
  .base-layout{grid-template-columns:1fr;gap:2rem}
  .base-layout .form-card{max-width:600px}
  .base-widgets{max-width:none}
}

/* "Tus datos" (privacidad) como banda a todo el ancho, antes del pie. */
.base-datos{background:var(--surface);border-top:1px solid var(--line)}
.base-datos__grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.7fr);gap:1rem 3.5rem;align-items:start}
.base-datos h2{margin:.4rem 0 0;font-size:clamp(1.35rem,1.2rem + .8vw,1.75rem);letter-spacing:-.025em;color:var(--plum)}
.base-datos__txt{margin:0 0 1rem;font-size:.95rem;line-height:1.7;color:var(--muted);max-width:68ch}
@media(max-width:760px){
  .base-datos__grid{grid-template-columns:1fr;gap:.6rem 0}
}

/* El bloque "Antes de postularte" vive en la columna de widgets. */
.base-steps{margin-top:.5rem}
html[data-theme="dark"] .base-datos h2{color:#EDF5F6}

/* Preview Base: caja de contacto con acento rojo y pasos compactos */
.base-contact-card{border-top:4px solid var(--crimson);border-radius:20px}
.side-card--steps{padding:1.2rem 1.35rem}
.side-card--steps h2{font-size:1rem;margin-bottom:.65rem;letter-spacing:-.02em}
.side-card--steps .side-steps{gap:.55rem}
.side-card--steps .side-steps li{font-size:.8rem;line-height:1.45}

/* ===== Modo oscuro / claro + Subir ===== */
.theme-toggle{
  display:inline-flex;align-items:center;justify-content:center;
  width:38px;height:38px;padding:0;border:1px solid var(--line-strong);
  border-radius:999px;background:transparent;color:var(--teal);
  cursor:pointer;flex:0 0 auto;transition:background .2s,color .2s,border-color .2s,transform .2s;
}
.theme-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle:hover{background:var(--surface);transform:translateY(-1px)}
.theme-toggle:focus-visible{outline:2px solid var(--gold);outline-offset:3px}

.backtop{
  position:fixed;right:24px;bottom:24px;z-index:90;
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  min-height:44px;padding:.7rem 1rem;border-radius:999px;
  background:var(--teal);color:#fff;text-decoration:none;
  font-family:var(--font-ui);font-size:.78rem;font-weight:700;letter-spacing:.02em;
  box-shadow:0 12px 28px rgba(15,60,70,.22);
  opacity:0;visibility:hidden;transform:translateY(10px);
  transition:opacity .2s,transform .2s,visibility .2s;
}
.backtop.is-visible{opacity:1;visibility:visible;transform:none}
.backtop svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.backtop:hover{background:var(--teal-900);color:#fff}

/* Variante 1: toggle outline + Subir pill */
html[data-tt="1"] .theme-toggle{border-color:var(--teal);background:rgba(92,198,216,.10);color:var(--teal)}
html[data-tt="1"] .backtop{background:var(--teal);color:#fff}

/* Variante 2: toggle sólido + Subir crema */
html[data-tt="2"] .theme-toggle{background:var(--teal);border-color:var(--teal);color:#fff}
html[data-tt="2"] .theme-toggle:hover{background:var(--teal-900);border-color:var(--teal-900)}
html[data-tt="2"] .backtop{background:var(--surface);color:var(--plum);border:1px solid var(--line-strong);box-shadow:0 12px 28px rgba(15,60,70,.14)}
html[data-tt="2"] .backtop:hover{background:#fff;color:var(--crimson)}

/* Variante 3: toggle mínimo + Subir rectangular */
html[data-tt="3"] .theme-toggle{border-color:transparent;background:transparent}
html[data-tt="3"] .theme-toggle:hover{background:var(--surface);border-color:var(--line)}
html[data-tt="3"] .backtop{border-radius:10px;background:transparent;color:var(--teal);border:1.5px solid var(--teal);box-shadow:none}
html[data-tt="3"] .backtop:hover{background:var(--teal);color:#fff}

@media(max-width:960px){
  .backtop{right:16px;bottom:16px;min-height:42px;padding:.65rem .9rem}
  .theme-toggle{width:36px;height:36px;margin-left:auto}
}

/* Modo oscuro */
html[data-theme="dark"]{
  color-scheme:dark;
  --bg:#0B1416;--surface:#132226;--ink:#E8F0F1;--muted:#A9B8BB;
  --line:#26383D;--line-strong:#3B5258;--plum:#E8F0F1;--teal:#5CC6D8;
  --h1-color:#8FE0EC;--card-border:1px solid #26383D;
}
html[data-theme="dark"] body{background:var(--bg);color:var(--ink)}
html[data-theme="dark"] .site-head{background:rgba(11,20,22,.97);border-color:var(--line)}
html[data-theme="dark"] .brand img{filter:brightness(0) invert(1)}
html[data-theme="dark"] .nav a{color:#D6E4E6}
html[data-theme="dark"] .nav a[aria-current="page"]{background:rgba(92,198,216,.14);color:#8FE0EC}
html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] h3,html[data-theme="dark"] h4{color:#EDF5F6}
html[data-theme="dark"] .lead,html[data-theme="dark"] p,html[data-theme="dark"] li{color:#B9C9CC}
html[data-theme="dark"] .hero,html[data-theme="dark"] .section{background:var(--bg)}
html[data-theme="dark"] .section--surface{background:var(--surface)}
html[data-theme="dark"] .service-card,html[data-theme="dark"] .post-card,html[data-theme="dark"] .featured-post,html[data-theme="dark"] .path-card,html[data-theme="dark"] .quickpath,html[data-theme="dark"] .value-card,html[data-theme="dark"] .form-card,html[data-theme="dark"] .contact-card,html[data-theme="dark"] .side-card,html[data-theme="dark"] .contact-help,html[data-theme="dark"] .article-body .data-box,html[data-theme="dark"] .article-toc-inline,html[data-theme="dark"] .article-mobile-cta,html[data-theme="dark"] .base-contact-card{background:var(--surface);border-color:var(--line);box-shadow:none}
html[data-theme="dark"] .service-card,html[data-theme="dark"] .post-card,html[data-theme="dark"] .path-card,html[data-theme="dark"] .quickpath,html[data-theme="dark"] .value-card,html[data-theme="dark"] .side-card,html[data-theme="dark"] .article-body .data-box{border-color:var(--line)}
html[data-theme="dark"] .side-card--dark{background:linear-gradient(135deg,#22182B,#0F4C5C);border-color:transparent}
html[data-theme="dark"] .side-card--dark h2,html[data-theme="dark"] .side-card--dark p,html[data-theme="dark"] .side-card--dark li{color:#F2F8F9}
html[data-theme="dark"] .btn--ghost{color:#8FE0EC;border-color:#3B5258}
html[data-theme="dark"] .btn--ghost:hover{background:#5CC6D8;border-color:#5CC6D8;color:#071114}
html[data-theme="dark"] .form-section,html[data-theme="dark"] .contact-page,html[data-theme="dark"] .article-section{background:var(--bg)}
html[data-theme="dark"] .form-card__head,html[data-theme="dark"] .form-card__head h2{color:#EDF5F6}
html[data-theme="dark"] .field input,html[data-theme="dark"] .field select,html[data-theme="dark"] .field textarea{background:#0F1C1F;border-color:#3B5258;color:#EDF5F6}
html[data-theme="dark"] .field label,html[data-theme="dark"] .consent{color:#C9D8DA}
html[data-theme="dark"] .article-body blockquote{background:#17262A;border-color:#3B5258}
html[data-theme="dark"] .article-body table th{background:#17262A}
html[data-theme="dark"] .article-body a{color:#8FE0EC}
html[data-theme="dark"] .crumbs,html[data-theme="dark"] .crumbs a,html[data-theme="dark"] .article-main .breadcrumb,html[data-theme="dark"] .article-main .breadcrumb a{color:#A9B8BB}
html[data-theme="dark"] .article-toc-inline summary{color:#8FE0EC}
html[data-theme="dark"] .article-toc-inline a{color:#B9C9CC}
html[data-theme="dark"] .article-side .side-card--accent{background:#17262A;border-color:#3B5258}
html[data-theme="dark"] .theme-toggle{color:#8FE0EC;border-color:#3B5258}
html[data-theme="dark"] .theme-toggle:hover{background:#17262A}
html[data-theme="dark"] .backtop{box-shadow:0 12px 28px rgba(0,0,0,.35)}
html[data-theme="dark"] .foot{background:#071012}
html[data-theme="dark"] .foot-cta{background:#071012}
html[data-theme="dark"] .hero-media figcaption,html[data-theme="dark"] .article-figure figcaption{color:#A9B8BB}
html[data-theme="dark"] .contact-consent,html[data-theme="dark"] .cv-fallback{color:#A9B8BB}
html[data-theme="dark"] .contact-consent a,html[data-theme="dark"] .cv-fallback a{color:#8FE0EC}
html[data-theme="dark"] .cv-email-box{background:#0F1C1F;border-color:#3B5258}
html[data-theme="dark"] .copy-btn{color:#8FE0EC;border-color:#5CC6D8}
html[data-theme="dark"] .contact-card__title{color:#EDF5F6}
html[data-theme="dark"] .side-card--steps{background:#132226}
html[data-theme="dark"] ::selection{background:rgba(92,198,216,.3);color:#fff}

html[data-theme=dark] .page-hero{background:radial-gradient(680px 360px at 90% -20%, rgba(92,198,216,.10), transparent 65%), var(--bg)}
html[data-theme=dark] .btn--secondary{background:transparent;color:#8FE0EC;border:1px solid #3B5258}
html[data-theme=dark] .btn--secondary:hover{background:#5CC6D8;color:#071114;border-color:#5CC6D8}

html[data-theme=dark] .section--manifesto{background:#1B1422}
html[data-theme=dark] .path-card--empresa{background:#1B1422;border-color:#1B1422}
html[data-theme=dark] .cta-band{background:linear-gradient(135deg,#1B1422,#0F4C5C)}
html[data-theme=dark] .section--manifesto h2,html[data-theme=dark] .cta-band h2{color:#fff}
@media(max-width:960px){.menu-btn{margin-left:0}.theme-toggle{margin-left:auto}}

/* Ajuste final del toggle: icono chico, transparente, círculo de línea, cerca de Hablemos */
.theme-toggle{width:34px;height:34px;background:transparent!important;border:1px solid var(--line-strong)!important;color:var(--teal);margin-left:-1.2rem}
.theme-toggle svg{width:16px;height:16px}
html[data-theme=dark] .theme-toggle{background:transparent!important;border-color:#3B5258!important;color:#8FE0EC}
html[data-theme=dark] .theme-toggle:hover{background:#17262A!important}
@media(max-width:960px){.theme-toggle{margin-left:auto}}

/* Correcciones de contraste modo oscuro */
html[data-theme=dark] .steps li{background:var(--surface);border-color:var(--line)}
html[data-theme=dark] .radar-panel{background:linear-gradient(135deg,#0F4C5C,#12647A);border-color:transparent}
html[data-theme=dark] .job-card{background:var(--surface);border-color:var(--line)}
html[data-theme=dark] .job-card h3{color:#EDF5F6}
html[data-theme=dark] .job-card p,html[data-theme=dark] .job-card__meta,html[data-theme=dark] .job-card__req{color:#B9C9CC}
html[data-theme=dark] .site-foot{background:linear-gradient(180deg,#160F1D 0%,#0B0710 100%)}
html[data-theme=dark] .article-body table td{color:#C9D8DA}
html[data-theme=dark] .article-body table th{color:#EDF5F6;background:#17262A}
html[data-theme=dark] .article-body table tr{border-color:#26383D}
html[data-theme=dark] .consent span,html[data-theme=dark] .form-extra summary{color:#C9D8DA}
html[data-theme=dark] .form-extra summary{color:#8FE0EC}
html[data-theme=dark] .field input[type=checkbox],html[data-theme=dark] .consent input{accent-color:#5CC6D8}

/* El toggle debe mantener el mismo estilo en las 3 pruebas, también en claro */
html[data-tt=1] .theme-toggle,html[data-tt=2] .theme-toggle,html[data-tt=3] .theme-toggle{background:transparent!important;border:1px solid var(--line-strong)!important;color:var(--teal)!important}
html[data-theme=dark] html[data-tt] .theme-toggle,html[data-theme=dark][data-tt] .theme-toggle{background:transparent!important;border-color:#3B5258!important;color:#8FE0EC!important}

.theme-toggle svg,.theme-toggle svg path,.theme-toggle svg circle{stroke:var(--teal)!important;fill:none!important}
html[data-theme=dark] .theme-toggle svg,html[data-theme=dark] .theme-toggle svg path,html[data-theme=dark] .theme-toggle svg circle{stroke:#8FE0EC!important}

/* Empleos individuales: sidebar oscura legible */
html[data-theme=dark] .apply-card{background:linear-gradient(135deg,#0F4C5C,#12647A);color:#fff}
html[data-theme=dark] .apply-card .side-list a{color:#E8F0F1;border-bottom-color:rgba(255,255,255,.2)}
html[data-theme=dark] .apply-card .side-list a:hover{color:#D8943C}
html[data-theme=dark] .apply-card .side-list span{color:rgba(255,255,255,.68)}
html[data-theme=dark] .apply-card p{color:rgba(255,255,255,.84)}
html[data-theme=dark] .foot-cta{background:transparent}


/* Contacto: la columna de ayuda no lleva fondo propio en oscuro */
html[data-theme="dark"] .contact-help{background:transparent!important;border:0;padding-top:.35rem}
/* Tarjeta "Dejá tu CV": sin botón al formulario, el correo es la acción principal. */
.base-contact-card .cv-email-box{padding:1.6rem 1.25rem}
.cv-email-box__hint{margin:0 0 .35rem;font-size:.78rem;letter-spacing:.02em;color:var(--muted)}
.cv-email-box__mail{
  display:inline-block;font-size:clamp(1.1rem,1rem + .6vw,1.38rem);font-weight:800;letter-spacing:-.02em;
  color:var(--teal);text-decoration:none;border-bottom:2px solid rgba(18,100,122,.22);
  padding-bottom:.12rem;word-break:break-word;transition:color .2s ease,border-color .2s ease;
}
.cv-email-box__mail:hover{color:var(--crimson);border-bottom-color:currentColor}
.cv-email-box__actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.55rem .9rem;margin-top:1.15rem}
.cv-email-box .copy-btn{font-size:.82rem;padding:.45rem .85rem}
.cv-email-box__gmail{font-size:.82rem;font-weight:700;color:var(--teal);text-decoration:none;border-bottom:1px solid rgba(18,100,122,.3);padding-bottom:.06rem}
.cv-email-box__gmail:hover{color:var(--crimson);border-bottom-color:currentColor}
html[data-theme="dark"] .cv-email-box__gmail,
html[data-theme="dark"] .cv-email-box__mail{color:#8FE0EC}
