@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(/assets/fonts/poppins-500.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(/assets/fonts/poppins-600.woff2) format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/hanken-grotesk-var.woff2) format('woff2'); }

:root {
	--navy: #0e1b3e;
	--navy-deep: #0a1530;
	--yellow: #ffc72c;
	--blue: #597dfe;
	--text: #46506b;
	--muted: #5b6582;
	--on-navy: #dce3f5;
	--line: #e3e8f6;
	--input: #d3d9ea;
	--soft: #f3f5fc;
	--soft-2: #eef1fa;
	--track: #e8ecf7;
	--error: #b3261e;
	--display: Poppins, 'Helvetica Neue', Arial, sans-serif;
	--body: 'Hanken Grotesk', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--navy); font: 400 18px/1.6 var(--body); overflow-x: hidden; }
h1, h2, h3, p, ul, ol, figure, fieldset, legend { margin: 0; padding: 0; border: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 20; padding: 10px 16px; border-radius: 10px; background: var(--yellow); color: var(--navy); font-weight: 700; }
.skip:focus { top: 10px; }

/* Layout */
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-inline: clamp(20px, 5vw, 64px); }
.sec { padding-block: clamp(80px, 10vw, 140px); }
.sec--m { padding-block: clamp(80px, 9vw, 130px); }
.sec--form { padding-block: clamp(80px, 10vw, 130px); }
.sec--faq { padding-block: clamp(72px, 8vw, 120px); }
.bg-soft { background: var(--soft); }
.bg-navy { background: var(--navy); color: #fff; }
.stack { display: flex; flex-direction: column; }
.gap-48 { gap: 48px; }
.gap-56 { gap: 56px; }
.gap-section { gap: clamp(48px, 6vw, 72px); }
.head { display: flex; flex-direction: column; gap: 18px; max-width: 900px; }
.head--760 { max-width: 760px; }
.head--860 { max-width: 860px; }
.head--820 { max-width: 820px; }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.split__col { flex: 1 1 440px; min-width: 0; }
.cols { display: grid; gap: 40px; }
.cols--2 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.cols--3 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.cols--steps { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 48px; }
.cols--need { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.cols--kit { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; align-items: stretch; }

/* Type */
.disp { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.06; text-wrap: balance; }
.eyebrow { font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.eyebrow--yellow { color: var(--yellow); }
.eyebrow--muted { color: var(--muted); }
.lede { color: var(--text); text-wrap: pretty; }
.lede--20 { font-size: 20px; }
.t-text { color: var(--text); }
.t-blue { color: var(--blue); }
.t-yellow { color: var(--yellow); }
.h1 { font-size: clamp(42px, 5vw, 72px); }
.h2 { font-size: clamp(34px, 4vw, 56px); }
.h2--52 { font-size: clamp(34px, 4vw, 52px); }
.h2--50 { font-size: clamp(32px, 3.6vw, 50px); }
.h2--form { font-size: clamp(38px, 4.6vw, 64px); }
.h2--form-equipo { font-size: clamp(38px, 4.6vw, 60px); }
.h2--faq { font-size: clamp(30px, 3.2vw, 44px); }
.h3-28 { font-size: 28px; }
.h3-26 { font-size: 26px; }
.h3-24 { font-size: 24px; }
.h3-note { font-weight: 500; color: var(--muted); }
.mark { padding: 0 0.12em; border-radius: 0.12em; background: var(--yellow); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Buttons */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 14px 28px; border: 0; border-radius: 999px; background: var(--yellow); color: var(--navy); font: 700 17px/1.2 var(--body); text-align: center; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255, 199, 44, .28); }
.cta[disabled] { opacity: .65; cursor: progress; transform: none; }
.cta--navy { background: var(--navy); color: #fff; }
.cta--navy:hover { box-shadow: 0 12px 28px rgba(14, 27, 62, .25); }
.ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border: 1.5px solid var(--input); border-radius: 999px; background: #fff; color: var(--navy); font: 700 15px var(--body); text-decoration: none; cursor: pointer; }
.ghost:hover { border-color: var(--blue); }
.link { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 600; font-size: 16px; text-underline-offset: 6px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.topbar { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 24px; }
.topbar__logo { width: 132px; height: auto; }
.topbar__nav { display: flex; align-items: center; gap: 8px; }
.topbar__link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; color: var(--on-navy); font-weight: 600; font-size: 15px; text-decoration: none; }
.login { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 20px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 999px; background: rgba(14, 27, 62, .55); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.hero__body { position: relative; display: flex; align-items: center; min-height: 700px; padding-block: 56px 120px; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; max-width: 600px; }
.hero__sub { max-width: 520px; color: var(--on-navy); font-size: clamp(18px, 1.5vw, 21px); text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

.vortex { position: absolute; top: 50%; right: -260px; width: 980px; height: 980px; transform: translateY(-50%); -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 71%); mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 71%); opacity: .92; }
.spin { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; animation: spin 160s linear infinite; }
.yolk { position: absolute; top: 50%; left: 50%; width: 26%; height: auto; transform: translate(-50%, -50%); animation: breathe 7s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(-360deg); } }
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.04); } }

.hero--equipo .vortex { right: -400px; }
.hero--equipo h1 { text-shadow: 0 2px 28px rgba(14, 27, 62, .85); }
.hero--equipo .hero__sub { max-width: 480px; text-shadow: 0 1px 16px rgba(14, 27, 62, .9); }
.line { display: block; }

/* Urgencies ticker */
.ticker { overflow: hidden; background: var(--navy-deep); border-block: 1px solid rgba(255, 255, 255, .08); }
.ticker__row { display: flex; width: max-content; animation: slide 60s linear infinite; }
.ticker__item { display: flex; align-items: center; gap: 24px; padding: 18px 12px; color: #a9b6dc; font-weight: 500; font-size: 17px; white-space: nowrap; text-decoration: line-through; text-decoration-color: rgba(255, 199, 44, .55); }
.ticker__item::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Problem */
.point { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 2px solid var(--navy); }
.point__n { font-size: 15px; letter-spacing: 0; color: var(--blue); }
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; padding: clamp(28px, 4vw, 44px); border-radius: 24px; background: var(--soft); }
.chain svg { flex: none; }
.chain__text { flex: 1 1 360px; font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; }

/* What we do */
.offer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 64px; }
.offer__copy { flex: 999 1 480px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 640px; }

.card { background: #fff; border-radius: 22px; color: var(--navy); box-shadow: 0 1px 2px rgba(14, 27, 62, .06), 0 24px 60px rgba(14, 27, 62, .14); }
.agenda { flex: 1 1 340px; display: flex; flex-direction: column; gap: 18px; max-width: 420px; padding: 28px; }
.agenda__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; }
.badge { padding: 4px 10px; border-radius: 999px; background: var(--soft-2); color: var(--text); font-size: 12px; font-weight: 700; }
.agenda__list { display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
.agenda__item { display: flex; gap: 12px; align-items: flex-start; }
.agenda__body { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.agenda__body--tight { gap: 0; }
.agenda__title { font-weight: 600; }
.agenda__note { font-size: 14px; color: var(--muted); }

.bar { height: 8px; border-radius: 99px; background: var(--track); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: var(--blue); }
.bar--yellow i { background: var(--yellow); }
.w-31 { width: 31%; }
.w-54 { width: 54%; }
.w-64 { width: 64%; }
.w-68 { width: 68%; }

.num { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--yellow); font: 600 17px var(--display); }
.num--sm { width: 30px; height: 30px; font-size: 14px; }
.num--yellow { background: var(--yellow); color: var(--navy); }

/* How it works */
.step { display: flex; flex-direction: column; gap: 14px; }
.tl { display: grid; grid-template-columns: minmax(110px, 1.3fr) minmax(110px, 1.3fr) minmax(0, 6fr) minmax(90px, 1fr); gap: 6px; padding: 28px; border-radius: 20px; background: var(--soft); }
.tl__phase { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tl__k { font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tl__track { display: block; height: 14px; border-radius: 99px; background: var(--navy); }
.tl__track--prep { background: var(--blue); }
.tl__track--weeks { display: flex; justify-content: space-around; align-items: center; background: var(--input); }
.tl__track--end { background: var(--yellow); }
.tl__dot { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--navy); }
.tl__t { font-weight: 600; font-size: 16px; line-height: 1.3; }

/* What the team gets */
.gets { display: flex; flex-direction: column; gap: 32px; }
.checks { display: flex; flex-direction: column; gap: 18px; color: var(--on-navy); font-size: 19px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks svg { flex: none; margin-top: 3px; }
.board { display: flex; flex-direction: column; gap: 20px; padding: 32px; }
.board__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.board__tag { padding: 4px 12px; border-radius: 999px; background: var(--navy); color: var(--yellow); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.board__title { font-size: 26px; line-height: 1.15; }
.kr { display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.kr__row { display: flex; justify-content: space-between; gap: 12px; }
.weeks { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; padding-top: 8px; }
.seg { height: 8px; border-radius: 99px; background: var(--track); }
.seg--on { background: var(--navy); }

/* Who it is for */
.need { display: flex; flex-direction: column; gap: 10px; padding: 32px; border-radius: 22px; background: var(--soft); }

/* Team kit */
.tool { display: flex; flex-direction: column; gap: 14px; padding: 32px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.tool--navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.tool--navy p { color: var(--on-navy); }
.tool__fill { flex: 1; }
.tool__msg { flex: 1; padding: 18px; border-radius: 16px; background: var(--soft-2); font-size: 16px; line-height: 1.5; }
.tool__doc { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.tool__doc-title { font-size: 18px; }
.tool__doc i { display: block; height: 8px; border-radius: 99px; background: var(--track); }
.tool__doc i:nth-of-type(1) { width: 92%; }
.tool__doc i:nth-of-type(2) { width: 78%; }
.tool__doc i:nth-of-type(3) { width: 85%; }
.tool__doc i:nth-of-type(4) { width: 60%; }
.tool__links { display: flex; flex-wrap: wrap; gap: 10px; }

/* Form */
.apply { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.apply__copy { flex: 1 1 400px; display: flex; flex-direction: column; gap: 22px; }
.apply__copy p:last-child { color: var(--on-navy); font-size: 20px; }
.apply__card { flex: 1 1 460px; min-width: 0; padding: clamp(24px, 3vw, 40px); }
.form__page { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.form__step { margin-bottom: 16px; }
.form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-weight: 600; font-size: 15px; }
.field legend { margin-bottom: 4px; }
.field input:not([type='radio'], [type='checkbox']), .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--input); border-radius: 12px; background: #fff; color: var(--navy); font: 400 16px var(--body); }
.field textarea { resize: vertical; }
.iti { width: 100%; }
.field input.iti__search-input:not([type='radio'], [type='checkbox']) { min-height: 0; padding: 9px 12px 9px 34px; border: 0; border-radius: 0; font-size: 15px; box-shadow: none; }
.iti__country { font-size: 15px; font-weight: 500; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(89, 125, 254, .18); }
.is-invalid input:not([type='radio'], [type='checkbox']), .is-invalid select, .is-invalid textarea { border-color: var(--error); }
.field__error { color: var(--error); font-size: 14px; font-weight: 500; }
.radios { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.radios--stack { flex-direction: column; gap: 2px; }
.opt { display: flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; }
.opt input, .check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--navy); }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 4px 8px; align-items: start; }
.check input { margin-top: 2px; }
.check label { font-weight: 500; line-height: 1.4; }
.check .field__error { grid-column: 2; }
.trap { position: absolute; left: -9999px; }
/* Steps (form-steps.js): label, back button and progress bar above one question per step. */
.steps { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; }
.steps__label { margin-left: auto; color: var(--muted, #5b6785); font-size: 14px; font-weight: 600; }
.steps__back { padding: 4px 0; border: 0; background: none; color: var(--navy); font: 600 15px var(--body); cursor: pointer; }
.steps__back:hover { text-decoration: underline; }
.steps__bar { height: 6px; margin: 10px 0 24px; border-radius: 6px; background: var(--input); overflow: hidden; }
.steps__bar span { display: block; width: 25%; height: 100%; border-radius: 6px; background: var(--blue); transition: width .3s ease; }
.form__page:focus { outline: none; }
.field--q legend, .form__q { margin-bottom: 14px; font-size: 20px; font-weight: 700; line-height: 1.3; }
#lead-form { scroll-margin-top: 24px; }
@media (prefers-reduced-motion: reduce) { .steps__bar span { transition: none; } }
/* Choice questions as big tiles, like the Meta lead form. */
.tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 54px; padding: 12px 16px; border: 1.5px solid var(--input); border-radius: 12px; background: #fff; font-weight: 500; font-size: 15px; line-height: 1.3; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.tile input { order: 2; flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--navy); }
.tile:hover { border-color: var(--blue); }
.tile:has(input:checked) { border-color: var(--navy); background: #f2f5ff; box-shadow: inset 0 0 0 1px var(--navy); }
.tile:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.is-invalid .tile { border-color: var(--error); }

.form__actions { display: flex; gap: 12px; align-items: center; }
.form__actions .cta { flex: 1; }
.form__back { min-height: 44px; padding: 8px 12px; border: 0; background: transparent; color: var(--navy); font: 700 16px var(--body); text-decoration: underline; cursor: pointer; }
.form__error { margin-top: 14px; color: var(--error); font-size: 15px; }
.form__ok { font-size: 28px; line-height: 1.2; }
.form__ok span { display: block; margin-top: 12px; font: 400 18px/1.5 var(--body); }
.form__ok:focus { outline: none; }

/* FAQ */
.faq { display: flex; flex-wrap: wrap; gap: 48px; }
.faq__head { flex: 1 1 300px; display: flex; flex-direction: column; gap: 16px; }
.faq__list { flex: 2 1 520px; min-width: 0; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; font: 600 clamp(18px, 2vw, 22px) var(--display); letter-spacing: -0.01em; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--blue); font-size: 26px; font-weight: 500; }
details[open] summary::after { content: '−'; }
details p { padding-bottom: 24px; color: var(--text); }

/* Footer */
.footer { background: var(--navy); color: var(--on-navy); font-size: 15px; }
.footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding-block: 40px; }
.footer__logo { width: 132px; height: auto; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }

@media (max-width: 1100px) {
	.hero { display: flex; flex-direction: column; }
	.hero__body { min-height: 0; padding-block: 40px 56px; }
	.vortex { position: relative; order: 3; top: auto; right: auto; flex: none; align-self: center; width: 560px; height: 560px; margin: -40px 0 -120px; transform: none; }
	.hero--equipo .vortex { right: auto; }
}

@media (max-width: 760px) {
	.tl { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 520px) {
	.topbar__link { display: none; }
	.hero__actions, .hero__actions .cta { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.spin, .yolk, .ticker__row { animation: none; }
	.cta { transition: none; }
}

/* Beneficio Red de RRHH */
.hero--rrhh .vortex { right: -400px; }
.hero--rrhh .hero__copy { max-width: 640px; }
.hero--rrhh h1 { font-size: clamp(40px, 4.6vw, 66px); text-shadow: 0 2px 28px rgba(14, 27, 62, .85); }
.hero--rrhh .hero__sub { text-shadow: 0 1px 16px rgba(14, 27, 62, .9); }
.hero__note { color: #a9b6dc; font-size: 14px; }
.duo { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 80px; }
.duo__col { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.duo__col--text { gap: 20px; padding-top: 8px; }
.chain--white { background: #fff; }
.tl--3 { grid-template-columns: minmax(110px, 1.3fr) minmax(0, 6fr) minmax(90px, 1fr); background: #fff; }
@media (max-width: 1100px) {
	.hero--rrhh .vortex { right: auto; }
}
@media (max-width: 760px) {
	.tl--3 { grid-template-columns: 1fr; gap: 18px; }
}

/* Aviso de cookies */
.cookie { position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; max-width: 760px; margin-inline: auto; padding: 16px 20px; border-radius: 14px; background: var(--navy); color: var(--on-navy); font-size: 15px; line-height: 1.45; box-shadow: 0 12px 32px rgba(14, 27, 62, .3); }
.cookie__text { flex: 1 1 320px; }
.cookie__actions { display: flex; gap: 10px; }
.cookie__btn { min-height: 44px; padding: 8px 20px; border: 1px solid var(--on-navy); border-radius: 999px; background: transparent; color: #fff; font: 600 15px var(--body); cursor: pointer; }
.cookie__btn[data-choice='accepted'] { border-color: var(--yellow); background: var(--yellow); color: var(--navy); }

/* Aviso de privacidad */
.legal { max-width: 760px; padding-block: 48px 72px; color: var(--text); }
.legal__logo { margin-bottom: 32px; }
.legal h1 { color: var(--navy); font: 600 36px/1.2 var(--display); }
.legal h2 { margin-top: 28px; margin-bottom: 8px; color: var(--navy); font: 600 20px/1.3 var(--display); }
.legal__date { margin-block: 8px 24px; color: var(--muted); font-size: 16px; }
