/* La Paz · Empleo — identidad tallereslapaz.es (Work Sans, grafito + amarillo) */
:root {
	--ink: #313033;
	--ink-2: #262628;
	--yellow: #FFDD5A;
	--amber: #F6AC13;
	--grey: #8C8C8C;
	--line: #E6E4E0;
	--paper: #FFFFFF;
	--sand: #F6F3EE;
	--ok: #2F7D4F;
	--err: #B3261E;
	--radius: 2px;
	--wrap: 1180px;
	--track: .32em;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--ink-2); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--ink-2); color: #fff; padding: 8px 14px; z-index: 100; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }
.center-row { justify-content: center; }
.muted { color: var(--grey); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Tipografía de marca */
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; margin: 0 0 14px; display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 2px; height: 18px; background: var(--yellow); }
.eyebrow.small { font-size: 11px; margin: 0; }
.eyebrow.small::before { height: 12px; }
.display { font-size: clamp(40px, 7vw, 78px); line-height: 1.02; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; margin: 0 0 22px; }
.h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.06; font-weight: 800; text-transform: uppercase; margin: 0 0 18px; }
.h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; font-weight: 700; text-transform: uppercase; margin: 0 0 8px; }
.h3 { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; margin: 18px 0 8px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); font-weight: 300; max-width: 640px; }

/* Botones (contorno, como "CONTACTO" en la web) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: inherit; font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; border-radius: var(--radius); cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { background: var(--ink-2); color: #fff; }
.btn-solid { background: var(--ink-2); color: #fff; border-color: var(--ink-2); }
.btn-solid:hover { background: var(--yellow); color: var(--ink-2); border-color: var(--yellow); }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: 11px; letter-spacing: .14em; }
.btn-danger { border-color: var(--err); color: var(--err); }
.btn-danger:hover { background: var(--err); color: #fff; }
.btn .count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; background: var(--yellow); color: var(--ink-2); border-radius: 12px; font-size: 12px; letter-spacing: 0; font-weight: 700; }
.btn-solid:hover .count { background: var(--ink-2); color: var(--yellow); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.inline { display: inline; }

/* Cabecera */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand-tag { font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; padding-left: 14px; border-left: 1px solid var(--line); }
.nav { display: flex; gap: 32px; }
.nav a { font-size: 12px; letter-spacing: var(--track); text-transform: uppercase; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: var(--yellow); }
.nav .nav-ext { color: var(--grey); }
@media (max-width: 820px) { .nav a:not(:first-child) { display: none; } .nav { gap: 16px; } .brand img { height: 32px; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 40%, #EDE5DA 0%, #F6F2EC 38%, #fff 72%); }
.hero-in { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 40px; min-height: min(82vh, 760px); padding: 72px 0 96px; }
.hero-mark { position: relative; justify-self: center; display: grid; place-items: center; }
.hero-mark img { width: clamp(180px, 26vw, 340px); filter: drop-shadow(0 30px 40px rgba(246,172,19,.25)); animation: float 7s ease-in-out infinite; }
.hero-line { position: absolute; right: -40px; top: 50%; width: 1px; height: 180px; background: var(--yellow); transform: translateY(-50%); }
.hero-line::before { content: ""; position: absolute; top: -4px; left: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(2deg); } }
@media (max-width: 820px) {
	.hero-in { grid-template-columns: 1fr; min-height: 0; padding: 40px 0 64px; }
	.hero-mark { order: -1; justify-self: start; }
	.hero-mark img { width: 92px; }
	.hero-line { display: none; }
}

/* Secciones */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { margin-bottom: 40px; }
.dark { background: var(--ink-2); color: #fff; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 28px 28px; }
.dark .muted { color: #b9b8bb; }

/* Ofertas */
.jobs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.job { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 28px; border: 1px solid var(--line); background: #fff; text-decoration: none; position: relative; transition: border-color .2s, transform .2s, box-shadow .2s; }
.job:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(38,38,40,.35); }
.job-top { display: flex; justify-content: space-between; align-items: center; min-height: 18px; }
.tag-new { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; background: var(--yellow); padding: 3px 8px; font-weight: 600; }
.job-title { font-size: 22px; line-height: 1.2; font-weight: 700; text-transform: uppercase; }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--grey); }
.job-meta span:not(:last-child)::after { content: "·"; margin-left: 14px; }
.job-sum { font-size: 15px; font-weight: 300; flex: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.job-cta { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; padding-top: 14px; border-top: 1px solid var(--line); }
.job:hover .job-cta span { display: inline-block; transform: translateX(4px); transition: transform .2s; }

.empty { display: flex; gap: 24px; align-items: flex-start; padding: 36px; background: var(--sand); border-left: 2px solid var(--yellow); }
.empty img { width: 56px; flex: none; }
.empty h3 { margin: 0 0 8px; font-size: 20px; text-transform: uppercase; }
.empty p { margin: 0 0 20px; font-weight: 300; }

/* Pasos */
.steps-section { background: var(--sand); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.steps li { padding: 28px 28px 8px 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.step-n { font-size: 13px; letter-spacing: .2em; color: var(--amber); font-weight: 600; }
.steps h3 { font-size: 20px; text-transform: uppercase; margin: 10px 0 8px; }
.steps p { margin: 0; font-weight: 300; font-size: 15px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } .steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* Por qué */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.why-k { display: block; font-size: 44px; font-weight: 800; color: var(--yellow); line-height: 1; margin-bottom: 14px; }
.why h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 8px; font-weight: 600; }
.why p { margin: 0; font-weight: 300; font-size: 15px; color: #cfced1; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .why { grid-template-columns: 1fr; } }

.band { padding: 56px 0; }
.band-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 40px; border: 1px solid var(--ink); }
.band p { margin: 4px 0 0; font-weight: 300; }

/* Ficha de oferta */
.job-hero { padding: 48px 0 56px; background: radial-gradient(100% 120% at 100% 0%, #EFE8DE 0%, #fff 60%); border-bottom: 1px solid var(--line); }
.back { display: table; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--grey); margin-bottom: 28px; }
.back:hover { color: var(--ink); }
.chips { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13px; padding: 6px 12px; border: 1px solid var(--line); background: #fff; }
.job-grid { display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: start; }
.prose h2 { font-size: 15px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin: 40px 0 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.prose ul { padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 22px; margin: 6px 0; }
.prose li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--amber); }
.prose p { font-weight: 300; }
.job-aside { position: sticky; top: 96px; padding: 28px; background: var(--sand); }
.job-aside dl { margin: 0 0 24px; }
.job-aside dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); }
.job-aside dd { margin: 2px 0 14px; font-weight: 500; }
.share { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.share .eyebrow { width: 100%; }
@media (max-width: 900px) { .job-grid { grid-template-columns: 1fr; gap: 32px; } .job-aside { position: static; } }

.apply-section { background: var(--sand); }
.sticky-apply { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30; display: none; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
@media (max-width: 900px) { .sticky-apply.show { display: flex; } }

/* Formularios */
.apply, .stack { display: grid; gap: 18px; }
.apply { margin-top: 28px; background: #fff; padding: clamp(20px, 4vw, 40px); border-top: 2px solid var(--yellow); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field > span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.field em { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--grey); }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password], input[type=search], input[type=date], input:not([type]), select, textarea {
	width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #CFCCC6; border-radius: var(--radius); padding: 12px 14px; min-height: 48px; transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 96px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,221,90,.55); }
.drop { position: relative; display: flex; align-items: center; gap: 16px; padding: 22px; border: 1px dashed #B9B5AE; background: var(--sand); cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.over { border-color: var(--ink); background: #FFF8DC; }
.drop.has-file { border-style: solid; border-color: var(--ok); background: #F1F8F3; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); position: relative; }
.drop-ico::before { content: ""; position: absolute; left: 50%; top: 11px; width: 2px; height: 16px; background: var(--ink-2); transform: translateX(-50%); }
.drop-ico::after { content: ""; position: absolute; left: 50%; top: 11px; width: 9px; height: 9px; border-left: 2px solid var(--ink-2); border-top: 2px solid var(--ink-2); transform: translateX(-50%) rotate(45deg); }
.drop small { color: var(--grey); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; font-weight: 300; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink-2); flex: none; }
.rgpd { font-size: 12.5px; line-height: 1.55; color: #6b6a6d; background: var(--sand); padding: 14px 16px; }
.rgpd p { margin: 0; }
.notice { padding: 14px 18px; border-left: 3px solid var(--ok); background: #F1F8F3; margin: 0 0 18px; font-size: 15px; }
.notice ul { margin: 6px 0 0; padding-left: 18px; }
.notice-error { border-left-color: var(--err); background: #FCEEEE; }

.thanks-mark { margin: 0 auto 24px; width: 88px; }
.thanks .lead { margin-inline: auto; }

/* Pie */
.site-footer { background: var(--ink-2); color: #d9d8db; padding: 56px 0 24px; font-size: 14px; }
.footer-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand img { height: 40px; width: auto; margin-bottom: 14px; }
.footer-brand p { margin: 0; max-width: 320px; font-weight: 300; }
.footer-data { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; font-size: 12px; color: #9a999c; }
.site-footer a { color: inherit; }
.site-footer a:hover { color: var(--yellow); }

/* ===== Panel ===== */
.admin { background: #F4F3F1; font-size: 15px; }
.admin-bar { background: var(--ink-2); color: #fff; }
.admin-bar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.admin-bar .brand img { height: 30px; }
.admin-bar .brand-tag { border-color: rgba(255,255,255,.2); }
.admin-nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.admin-nav a { text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.admin-nav a.on, .admin-nav a:hover { border-bottom-color: var(--yellow); color: #fff; }
.admin-nav .linklike { text-decoration: none; letter-spacing: inherit; text-transform: inherit; font-size: inherit; color: #b9b8bb; }
.badge { display: inline-block; background: var(--yellow); color: var(--ink-2); font-size: 11px; font-weight: 700; letter-spacing: 0; padding: 1px 7px; border-radius: 10px; }
.admin-main { padding: 36px 0 64px; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.admin-head .back { margin-bottom: 10px; }
.admin-head p { margin: 4px 0 0; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.kpi { background: #fff; padding: 20px 22px; text-decoration: none; border-left: 2px solid var(--yellow); display: grid; }
.kpi-n { font-size: 36px; font-weight: 800; line-height: 1.1; }
.kpi span:last-child { font-size: 13px; color: var(--grey); }
@media (max-width: 700px) { .kpis { grid-template-columns: 1fr; } }
.card { background: #fff; padding: 24px; }
.table-wrap { overflow-x: auto; background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--grey); padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr[data-href] { cursor: pointer; }
.table tbody tr:hover { background: #FBFAF7; }
.table tr.is-new td:first-child { box-shadow: inset 3px 0 0 var(--yellow); }
.table .strong { font-weight: 600; text-decoration: none; }
.right { text-align: right; }
.actions { white-space: nowrap; }
.actions > * { margin-left: 6px; }
.pill { display: inline-block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border: 1px solid var(--line); white-space: nowrap; }
.pill-ok, .pill-st-contratada { background: #E8F4EC; border-color: #BFDCC8; color: var(--ok); }
.pill-off, .pill-st-descartada { background: #F4F3F1; color: var(--grey); }
.pill-muted { color: var(--grey); border-style: dashed; }
.pill-st-nueva { background: var(--yellow); border-color: var(--yellow); }
.pill-st-entrevista, .pill-st-finalista { background: #FFF3D1; border-color: #F3D27A; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.filters select, .filters input { width: auto; min-height: 40px; padding: 8px 12px; font-size: 14px; }
.filters input[type=search] { min-width: 240px; }
.edit-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
@media (max-width: 960px) { .edit-grid { grid-template-columns: 1fr; } }
.hint { font-size: 13px; color: var(--grey); margin: 0; }
.kit h3 { margin: 4px 0 6px; font-size: 18px; text-transform: uppercase; }
.kit textarea { font-size: 14px; background: var(--sand); }
.dl { display: grid; grid-template-columns: 160px 1fr; gap: 10px 16px; margin: 0; }
.dl dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); padding-top: 3px; }
.dl dd { margin: 0; }
@media (max-width: 560px) { .dl { grid-template-columns: 1fr; gap: 2px; } .dl dd { margin-bottom: 10px; } }
.log { list-style: none; padding: 0; margin: 0; font-size: 13px; display: grid; gap: 4px; }
.small-print { font-size: 13px; margin-top: 24px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink-2); color: #fff; padding: 10px 18px; font-size: 14px; z-index: 50; }

/* Acceso */
.login-body { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(100% 80% at 80% 20%, #EDE5DA, #fff 70%); }
.login { width: min(400px, 100% - 32px); background: #fff; padding: 40px 32px; border-top: 2px solid var(--yellow); box-shadow: 0 30px 60px -30px rgba(0,0,0,.25); display: grid; gap: 18px; }
.login img { height: 48px; width: auto; }
.login code { font-size: 13px; }
.job-list { display: grid; gap: 6px; -webkit-line-clamp: unset; }
.job-list span { position: relative; padding-left: 18px; }
.job-list span::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; background: var(--amber); }
