/* Página «Empleo» de eperformance.es (16/11/2026).
   Las capas de la web usan :root.ep-ios:not(#ep-ios-x):not(.customer-teslize); todas las reglas llevan ese prefijo
   y clases propias epe- para ganar sin depender del orden de carga (ios-theme se carga al final del body). */
:root{
  --epe-bg2:#1c1c1e;--epe-bg3:#2c2c2e;--epe-bg4:#3a3a3c;
  --epe-fill2:rgba(120,120,128,.16);
  --epe-line:rgba(255,255,255,.1);
  --epe-tx2:rgba(235,235,245,.62);--epe-tx3:rgba(235,235,245,.34);--epe-muted:rgba(235,235,245,.5);
  --epe-ac:#d23a58;--epe-ac2:#ee6f86;--epe-ok:#30d158;--epe-err:#ff7a8f;
  --epe-sfd:-apple-system,BlinkMacSystemFont,"SF Pro Display","EP iOS Sans","Inter",system-ui,sans-serif;
  --epe-sf:-apple-system,BlinkMacSystemFont,"SF Pro Text","EP iOS Sans","Inter",system-ui,sans-serif;
  --epe-gut:clamp(16px,3.4vw,48px);
  --epe-max:1320px;
}

/* Base del bloque: sin márgenes heredados */
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-pagina{display:block;box-sizing:border-box;margin:0;padding:clamp(28px,4vw,56px) 0 clamp(64px,8vw,104px);background:#000;color:#fff;font-family:var(--epe-sf);letter-spacing:-.011em}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-pagina :where(h1,h2,p,figure,fieldset,legend){margin:0;padding:0}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-pagina :where(fieldset){border:0;min-width:0}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-pagina :where(img){display:block;max-width:100%}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-pagina [hidden]{display:none!important}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-wrap{box-sizing:border-box;width:100%;max-width:var(--epe-max);margin:0 auto;padding:0 var(--epe-gut)}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-ico{flex:none;width:18px;height:18px}

/* Rejilla: texto y foto a un lado, tarjeta del formulario al otro */
/* Escritorio: a la izquierda texto y foto (columna flexible que se estira al alto de la tarjeta: la foto ocupa lo que
   queda, en 4:5, y nunca baja de 360 px); a la derecha la tarjeta. */
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-rejilla{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,560px);grid-template-areas:"lado form";column-gap:clamp(40px,5.5vw,96px);align-items:stretch}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-lado{grid-area:lado;display:flex;flex-direction:column;gap:clamp(24px,2.6vw,36px);min-width:0}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-texto{grid-area:texto;padding-top:clamp(8px,2vw,28px)}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-tarjeta{grid-area:form;align-self:start}

:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-kicker{margin:0 0 12px;font:600 13px/1.3 var(--epe-sf);letter-spacing:.04em;text-transform:uppercase;color:var(--epe-ac2)}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-h1{margin:0 0 18px;font:700 clamp(2.6rem,4.7vw,4.4rem)/1.02 var(--epe-sfd);letter-spacing:-.04em;color:#fff;text-wrap:balance}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-sub{max-width:500px;font:400 19px/1.47 var(--epe-sf);letter-spacing:-.011em;color:var(--epe-tx2)}

:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-foto{grid-area:foto;flex:1 1 0;min-height:360px;height:0;margin:0}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-foto img{display:block;width:auto;max-width:100%;height:100%;aspect-ratio:4/5;object-fit:cover;object-position:50% 30%;border-radius:28px;background:var(--epe-bg3)}

/* Tarjeta del formulario: misma familia que la de contacto de la portada */
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-tarjeta{box-sizing:border-box;padding:clamp(22px,2.6vw,32px);border-radius:28px;background:var(--epe-bg2);color:#fff}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-form{display:grid;gap:18px;margin:0}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-fila{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px 14px}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-campo{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;min-width:0;margin:0;padding:0;border:0}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-campo-cp{width:calc(50% - 7px)}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-etiqueta{display:block;float:none;width:auto;margin:0;padding:0;font:400 15px/1.3 var(--epe-sf);letter-spacing:-.01em;text-transform:none;color:var(--epe-tx2)}

:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-input{box-sizing:border-box;display:block;width:100%;height:auto;min-height:52px;margin:0;padding:14px 16px;border:1px solid transparent;border-radius:12px;background:var(--epe-bg3);color:#fff;font:400 17px/1.35 var(--epe-sf);letter-spacing:-.011em;box-shadow:none;outline:0;-webkit-appearance:none;appearance:none;transition:box-shadow .2s,border-color .2s}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-input:focus{box-shadow:0 0 0 3px rgba(210,58,88,.35);outline:0}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-input[aria-invalid="true"]{border-color:var(--epe-err)}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-input:-webkit-autofill{-webkit-text-fill-color:#fff;-webkit-box-shadow:0 0 0 40px var(--epe-bg3) inset;caret-color:#fff}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 40px var(--epe-bg3) inset,0 0 0 3px rgba(210,58,88,.35)}

/* Experiencia: botones segmentados (radios reales, flechas del teclado nativas) */
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-campo-seg legend{float:left;width:100%;margin:0 0 8px}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-campo-seg legend+*{clear:both}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-seg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:3px;border:1px solid transparent;border-radius:14px;background:var(--epe-bg3)}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-campo-seg[data-invalido] .epe-seg{border-color:var(--epe-err)}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-seg label{position:relative;display:block;margin:0;padding:0;cursor:pointer;color:inherit;font:inherit;text-transform:none}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-seg input{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:pointer;-webkit-appearance:none;appearance:none}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-seg span{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;padding:4px 8px;border-radius:11px;text-align:center;color:var(--epe-tx2);font:500 15px/1.15 var(--epe-sf);letter-spacing:-.01em;transition:background-color .18s ease,color .18s ease}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-seg label:hover span{color:#fff}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-seg input:checked+span{background:var(--epe-bg4);color:#fff;font-weight:600;box-shadow:0 1px 3px rgba(0,0,0,.35)}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-seg input:focus-visible+span{outline:2px solid var(--epe-ac2);outline-offset:-2px}

/* Currículum: control propio sobre el input real (el input ocupa todo el control: clic, teclado y arrastrar) */
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-fichero{position:relative;display:flex;min-width:0;width:100%;align-items:center;gap:14px;box-sizing:border-box;min-height:60px;padding:8px 16px 8px 8px;border:1px dashed rgba(255,255,255,.18);border-radius:14px;background:var(--epe-bg3);transition:border-color .2s,box-shadow .2s}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-fichero-input{position:absolute;inset:0;z-index:2;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:pointer;font-size:0;color:transparent}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-fichero-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none;box-sizing:border-box;min-height:44px;padding:0 18px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:var(--epe-bg4);color:#fff;font:600 15px/1 var(--epe-sf);letter-spacing:-.01em;white-space:nowrap;transition:background-color .2s}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-fichero-btn .epe-ico{width:17px;height:17px}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-fichero-nombre{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--epe-tx3);font:400 15px/1.3 var(--epe-sf)}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-fichero[data-elegido] .epe-fichero-nombre{color:#fff}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-fichero[data-elegido]{border-style:solid;border-color:transparent}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-fichero:hover .epe-fichero-btn{background:#48484a}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-fichero:has(.epe-fichero-input:focus-visible){box-shadow:0 0 0 3px rgba(210,58,88,.35);border-color:transparent}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-fichero:has(.epe-fichero-input[aria-invalid="true"]){border:1px solid var(--epe-err)}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-fichero[data-arrastre]{border-color:var(--epe-ac2)}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-ayuda{font:400 13px/1.35 var(--epe-sf);color:var(--epe-muted)}

/* Mensajes por campo */
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-error{display:flex;gap:7px;align-items:flex-start;font:500 14px/1.35 var(--epe-sf);letter-spacing:-.005em;color:var(--epe-err)}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-error::before{content:"";flex:none;width:15px;height:15px;margin-top:1.5px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.5a8.5 8.5 0 1 1 0 17 8.5 8.5 0 0 1 0-17Zm0 11.6a1.05 1.05 0 1 0 0 2.1 1.05 1.05 0 0 0 0-2.1ZM10 5a.9.9 0 0 0-.9.95l.25 5.2a.65.65 0 0 0 1.3 0l.25-5.2A.9.9 0 0 0 10 5Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.5a8.5 8.5 0 1 1 0 17 8.5 8.5 0 0 1 0-17Zm0 11.6a1.05 1.05 0 1 0 0 2.1 1.05 1.05 0 0 0 0-2.1ZM10 5a.9.9 0 0 0-.9.95l.25 5.2a.65.65 0 0 0 1.3 0l.25-5.2A.9.9 0 0 0 10 5Z'/%3E%3C/svg%3E") center/contain no-repeat}

/* Privacidad: misma casilla que el formulario de contacto de la portada */
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-campo-priv{gap:10px}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-consent{display:flex;align-items:center;justify-content:space-between;flex-direction:row-reverse;gap:14px;box-sizing:border-box;min-height:52px;margin:0;padding:8px 16px;border:1px solid transparent;border-radius:14px;background:var(--epe-bg3);cursor:pointer;text-transform:none}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-campo-priv[data-invalido] .epe-consent{border-color:var(--epe-err)}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-consent span{flex:1;color:#fff;font:400 16px/1.35 var(--epe-sf);letter-spacing:-.011em}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-pagina :is(.epe-consent,.epe-info) a{color:var(--epe-ac2);text-decoration:underline;text-decoration-color:rgba(238,111,134,.45);text-underline-offset:3px}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-pagina :is(.epe-consent,.epe-info) a:hover{text-decoration-color:currentColor}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-consent input[type=checkbox]{-webkit-appearance:none;appearance:none;position:relative;flex:none;width:51px;height:31px;margin:0;padding:0;border:0;border-radius:16px;background:var(--epe-bg4);cursor:pointer;transition:background-color .3s}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-consent input[type=checkbox]::after{content:"";position:absolute;top:2px;left:2px;width:27px;height:27px;border-radius:50%;background:#fff;box-shadow:0 3px 8px rgba(0,0,0,.15),0 3px 1px rgba(0,0,0,.06);transition:transform .3s cubic-bezier(.34,1.45,.64,1)}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-consent input[type=checkbox]:checked{background:var(--epe-ok)}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-consent input[type=checkbox]:checked::after{transform:translateX(20px)}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-consent input[type=checkbox]:focus-visible{outline:2px solid var(--epe-ac2);outline-offset:3px}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-info{font:400 13px/1.45 var(--epe-sf);color:var(--epe-muted)}

/* Campo trampa: mismo patrón que .ep-quick-trap de la portada (por si su hoja no carga) */
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-trampa{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}

/* Botón de acento */
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-enviar{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:54px;margin:4px 0 0;padding:0 24px;border:0;border-radius:999px;background:var(--epe-ac);color:#fff;font:600 17px/1 var(--epe-sf);letter-spacing:-.01em;text-transform:none;box-shadow:none;cursor:pointer;transition:filter .2s,transform .15s,opacity .2s}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-enviar:hover{filter:brightness(1.12)}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-enviar:active{transform:scale(.97)}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-enviar:focus-visible{outline:2px solid #fff;outline-offset:3px}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-enviar:disabled{cursor:progress;filter:none;transform:none;opacity:.72}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-enviar:disabled::before{content:"";width:15px;height:15px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:epe-gira .8s linear infinite}
@keyframes epe-gira{to{transform:rotate(360deg)}}

/* Aviso general (429, 500, red) */
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-estado{padding:14px 16px;border-radius:14px;background:rgba(255,122,143,.1);border:1px solid rgba(255,122,143,.35);color:#fff;font:400 15px/1.45 var(--epe-sf)}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-estado a{color:#fff;font-weight:600;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}

/* Confirmación */
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-ok{display:grid;justify-items:start;gap:12px;padding:clamp(8px,2vw,20px) 0}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-ok-ico{display:grid;place-items:center;width:52px;height:52px;margin-bottom:6px;border-radius:50%;background:var(--epe-bg4);color:#fff}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-ok-ico svg{width:26px;height:26px}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-ok h2{font:700 clamp(1.8rem,2.6vw,2.2rem)/1.1 var(--epe-sfd);letter-spacing:-.03em;color:#fff;outline:0}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-ok p{font:400 17px/1.47 var(--epe-sf);color:var(--epe-tx2)}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-ok-volver{display:inline-flex;align-items:center;min-height:50px;margin-top:8px;padding:0 24px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(44,44,48,.5);box-shadow:inset 0 1px 0 rgba(255,255,255,.14);color:#fff;font:600 16px/1 var(--epe-sf);letter-spacing:-.01em;text-decoration:none;transition:background-color .2s}
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-ok-volver:hover{background:rgba(70,70,76,.6)}

/* Tablet y móvil: título, frase y formulario seguidos; la foto, debajo */
@media (max-width:980px){
  :root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-rejilla{grid-template-columns:minmax(0,1fr);grid-template-areas:"texto" "form" "foto";row-gap:24px;max-width:680px;align-items:start}
  :root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-lado{display:contents}
  :root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-texto{padding-top:0}
  /* Tablet y móvil: debajo del formulario, apaisada 4:3 (mismas variantes 4:5 recortadas por CSS: técnico y coche) */
  :root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-foto{flex:none;height:auto;min-height:0;aspect-ratio:4/3}
  :root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-foto img{width:100%;height:100%;aspect-ratio:auto;object-position:50% 19%}
}
@media (max-width:600px){
  :root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-pagina{padding-top:22px}
  :root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-h1{margin-bottom:10px;font-size:2.3rem}
  :root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-sub{font-size:16px}
  :root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-rejilla{row-gap:20px}
  :root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-tarjeta{margin:0 -4px;padding:20px 16px 22px;border-radius:24px}
  :root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-form{gap:16px}
  :root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-fila{grid-template-columns:minmax(0,1fr);gap:16px}
  :root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-campo-cp{width:100%}
  :root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-seg span{padding:4px 4px;font-size:14px}
  :root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-foto img{border-radius:22px}
}
@media (prefers-reduced-motion:reduce){
  :root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-pagina *{transition:none!important}
  :root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-enviar:disabled::before{animation:none}
}

/* Móvil: el botón flotante «Contactar» de la web (mobile-contact-20261012) tapaba el control del CV. En esta página
   sobra: teléfono y WhatsApp ya están en la cabecera. Igual que en las fichas y la portada nuevas. */
@media (max-width:900px){
  :root.ep-ios:not(#ep-ios-x):not(.customer-teslize):has(main.epe-pagina) #ep-mobile-contact{display:none!important}
}
/* Al enfocar con el teclado (también con Mayús+Tab), que el campo no quede debajo de la cabecera fija */
:root.ep-ios:not(#ep-ios-x):not(.customer-teslize) .epe-pagina :is(input,button,a,.epe-campo){scroll-margin-top:110px;scroll-margin-bottom:24px}
