/* ===================================================
   CHAMBAS — landing.css
   Sobrio y claro: papel crema, tinta casi negra y
   acento miel (misma familia que el panel del candidato).
   Tipografía: Outfit (títulos) + Inter (texto)
   =================================================== */

:root {
  --paper: #f5f3ee;
  --paper-2: #efece4;
  --card: #fffdf8;
  --ink: #1d1d1b;
  --dim: #5c5a54;
  --faint: #8a877e;
  --line: #1d1d1b17;
  --line-2: #1d1d1b29;
  --honey: #f6c343;
  --honey-2: #fbe29a;
  --honey-ink: #5a4306;
  --night: #1d1d1b;
  --night-2: #2a2926;
  --night-ink: #f4f2ec;
  --night-dim: #a9a69c;
  --ok: #3f8f5a;
  --warn: #b86b12;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-card: 24px;
  --shadow: 0 1px 0 #fffc inset, 0 18px 40px -26px #3c321459;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ===== BOTONES ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px;
  font: 500 15px/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s var(--ease), background .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--dark { background: var(--ink); color: var(--night-ink); }
.btn--honey { background: var(--honey); color: var(--ink); }
.btn--honey:hover { background: #f3b91f; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--paper-2); }
.btn--line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ink); }
.btn--line-light { border-color: #f4f2ec44; color: var(--night-ink); }
.btn--line-light:hover { border-color: var(--night-ink); }
.btn--xs { height: 30px; padding: 0 12px; font-size: 12px; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.eyebrow { font: 500 13px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.eyebrow--honey { color: var(--honey); }

/* ===== BARRA SUPERIOR Y NAV ===== */
.topbar {
  display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap;
  padding: 9px 16px; background: var(--ink); color: var(--night-ink); font-size: 13px;
}
.topbar a { color: var(--honey); text-decoration: none; font-weight: 500; }

.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(14px); transition: box-shadow .2s; }
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font: 500 22px/1 var(--font-display); text-decoration: none; letter-spacing: -0.02em; }
.brand__mark { width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(var(--honey) 0 50%, var(--ink) 0 100%); box-shadow: 0 0 0 1px var(--line-2); }

.seg { display: inline-flex; padding: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; }
.seg__btn { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font: 500 14px/1 var(--font-body); color: var(--dim); cursor: pointer; }
.seg__btn.is-on { background: var(--ink); color: var(--night-ink); }

.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: 15px; color: var(--dim); }
.nav__links a:hover { color: var(--ink); }
.nav__actions { display: flex; gap: 8px; }

/* ===== HERO ===== */
.hero { padding: 56px 0 88px; background:
  radial-gradient(60% 70% at 85% 10%, #fbeec0 0%, transparent 70%),
  radial-gradient(40% 50% at 0% 100%, #f2efe6 0%, transparent 70%); }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero__title { font-size: clamp(42px, 6vw, 76px); font-weight: 400; }
.hero__sub { font-size: 18px; color: var(--dim); margin-top: 22px; max-width: 34em; }

.hero__search {
  display: flex; gap: 8px; margin-top: 32px; padding: 6px 6px 6px 20px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); max-width: 560px;
}
.hero__search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 16px var(--font-body); color: var(--ink); outline: none; }
.hero__search input::placeholder { color: var(--faint); }

.hero__facts { display: flex; gap: 36px; list-style: none; padding: 0; margin: 36px 0 0; flex-wrap: wrap; }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font: 300 40px/1 var(--font-display); letter-spacing: -0.03em; }
.hero__facts span { font-size: 13px; color: var(--dim); margin-top: 6px; }

/* Maqueta */
.hero__art { position: relative; height: 540px; }
.mock { position: absolute; background: var(--card); border-radius: var(--r-card); box-shadow: 0 30px 70px -40px #28200a8c, 0 0 0 1px #fff inset; border: 1px solid var(--line); }
.mock--profile { left: 0; top: 0; width: 300px; overflow: hidden; }
.mock__photo {
  position: relative; height: 300px; padding: 20px;
  background: radial-gradient(80% 70% at 30% 20%, #e9c58a, #8a6a3d 70%, #3a2c1a);
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
}
.mock__init { position: absolute; inset: 0; display: grid; place-items: center; font: 300 96px/1 var(--font-display); color: #fff6; }
.mock__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 30%; }
.mock__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, #0000009e); }
.mock__name { position: relative; z-index: 1; }
.mock__pill { z-index: 1; }
.mock__name strong { display: block; font: 500 22px/1.1 var(--font-display); }
.mock__name span { font-size: 13px; opacity: .85; }
.mock__pill { position: absolute; left: 16px; top: 16px; padding: 7px 12px; border: 1px solid #fff8; border-radius: 999px; font-size: 13px; font-weight: 600; background: #0003; backdrop-filter: blur(6px); }
.mock__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 16px; }
.mock__chips span { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--paper-2); }

.mock--offer { right: 0; top: 60px; width: 330px; padding: 20px; }
.mock__row { display: flex; gap: 12px; align-items: center; }
.mock__row strong { display: block; font-size: 14px; }
.mock__row span { font-size: 12px; color: var(--dim); }
.mock__offer-salary { margin: 16px 0 8px; font: 400 24px/1 var(--font-display); }
.mock__offer-salary small { font: 400 12px var(--font-body); color: var(--dim); }
.mock--offer p { font-size: 13px; color: var(--dim); }
.mock__actions { display: flex; gap: 8px; margin-top: 14px; }

.mock--ring { right: 40px; bottom: 30px; width: 170px; height: 170px; padding: 18px; display: grid; place-items: center; }
.mock--ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--paper-2); stroke-width: 10; }
.ring-fg { fill: none; stroke: var(--honey); stroke-width: 10; stroke-linecap: round; }
.mock__ring-val { position: absolute; text-align: center; }
.mock__ring-val strong { display: block; font: 300 44px/1 var(--font-display); }
.mock__ring-val span { font-size: 12px; color: var(--dim); }

.mock--rating { left: 60px; bottom: 20px; display: flex; gap: 12px; align-items: center; padding: 14px 18px; background: var(--night); color: var(--night-ink); border-color: transparent; }
.mock__rating-num { font: 300 36px/1 var(--font-display); }
.mock--rating small { display: block; font-size: 12px; color: var(--night-dim); }

.stars { color: #d5d1c6; letter-spacing: 1px; font-size: 14px; }
.stars .on { color: var(--honey); }

.av { display: inline-grid; place-items: center; flex-shrink: 0; border-radius: 50%; overflow: hidden; font-weight: 600; background: oklch(.87 .07 var(--h)); color: oklch(.34 .09 var(--h)); }
.av img { width: 100%; height: 100%; object-fit: cover; }

/* ===== FRANJA ===== */
.strip { overflow: hidden; border-block: 1px solid var(--line); background: var(--card); }
.strip__track { display: flex; width: max-content; animation: slide 40s linear infinite; }
.strip__track span { padding: 18px 28px; font: 400 18px/1 var(--font-display); color: var(--dim); white-space: nowrap; }
.strip__track span::after { content: "·"; margin-left: 56px; color: var(--honey); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ===== SECCIONES ===== */
.section { padding: 104px 0; }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--night); color: var(--night-ink); }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head h2 { font-size: clamp(34px, 4.4vw, 54px); }
.section__head p:not(.eyebrow) { color: var(--dim); font-size: 18px; margin-top: 18px; }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; max-width: none; gap: 24px; }

/* Pasos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; box-shadow: var(--shadow); }
.step__n { font: 300 15px/1 var(--font-display); color: var(--faint); }
.step h3 { font-size: 22px; margin: 40px 0 10px; }
.step p { font-size: 15px; color: var(--dim); }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.compare__col { border-radius: var(--r-card); padding: 32px; border: 1px solid var(--line); }
.compare__col h3 { font-size: 24px; margin-bottom: 16px; }
.compare__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.compare__col li { padding-left: 28px; position: relative; color: var(--dim); }
.compare__col li::before { content: "–"; position: absolute; left: 4px; color: var(--faint); }
.compare__col--us { background: var(--night); color: var(--night-ink); border-color: transparent; }
.compare__col--us li { color: var(--night-ink); }
.compare__col--us li::before { content: "✓"; color: var(--honey); }

/* Especialidades */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.area { display: flex; flex-direction: column; gap: 8px; min-height: 210px; padding: 24px; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); transition: transform .25s var(--ease), box-shadow .25s; }
.area:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.area__n { font: 300 14px var(--font-display); color: var(--faint); }
.area h3 { font-size: 21px; margin-top: auto; }
.area p { font-size: 14px; color: var(--dim); }
.area__count { align-self: flex-start; margin-top: 8px; padding: 4px 10px; font-size: 12px; font-weight: 500; border-radius: 999px; background: var(--honey-2); color: var(--honey-ink); }

/* Match */
.match { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.match__copy h2 { font-size: clamp(34px, 4.4vw, 54px); }
.match__copy > p:not(.eyebrow) { color: var(--dim); font-size: 18px; margin-top: 18px; }
.weights { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.weights li { display: grid; grid-template-columns: 180px 1fr 48px; align-items: center; gap: 14px; font-size: 15px; }
.weights b { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--ink) var(--w), var(--paper-2) var(--w)); }
.weights em { font-style: normal; text-align: right; color: var(--dim); }

.match__card { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 28px; box-shadow: 0 40px 90px -50px #28200a8c; }
.mc__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.mc__who { display: flex; gap: 12px; align-items: center; }
.mc__who strong { display: block; }
.mc__who span { font-size: 13px; color: var(--dim); }
.mc__score { text-align: right; }
.mc__score strong { font: 300 56px/1 var(--font-display); letter-spacing: -0.04em; }
.mc__score span { display: block; font-size: 12px; color: var(--dim); }
.mc__vac { margin: 14px 0 22px; font-size: 14px; color: var(--dim); }
.mc__vac b { color: var(--ink); font-weight: 600; }
.mc__bars { display: grid; gap: 10px; }
.mc__bar { display: grid; grid-template-columns: 90px 1fr 44px; gap: 12px; align-items: center; font-size: 14px; }
.mc__bar i { height: 34px; border-radius: 999px; background: repeating-linear-gradient(-45deg, var(--paper-2) 0 6px, transparent 6px 12px); border: 1px solid var(--line); overflow: hidden; }
.mc__bar i b { display: block; height: 100%; background: var(--honey); border-radius: 999px; }
.mc__bar:first-child i b { background: var(--ink); }
.mc__bar em { font-style: normal; text-align: right; font-size: 13px; color: var(--dim); }
.mc__reasons { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; font-size: 14px; }
.mc__reasons li { padding-left: 26px; position: relative; }
.mc__reasons li::before { position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; }
.mc__reasons .ok::before { content: "✓"; background: #dcefe3; color: var(--ok); }
.mc__reasons .no::before { content: "!"; background: #f8ead8; color: var(--warn); font-weight: 700; }

/* Empresas */
.companies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.co { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px; box-shadow: var(--shadow); }
.co__top { display: flex; gap: 12px; align-items: center; }
.co h3 { font-size: 20px; }
.co__top span { font-size: 13px; color: var(--dim); }
.co > p { font-size: 14px; color: var(--dim); margin: 14px 0 18px; }
.co__rating { display: flex; align-items: center; gap: 10px; }
.co__rating strong { font: 300 34px/1 var(--font-display); }
.co__rating small { color: var(--faint); font-size: 12px; }
.co__cats { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.co__cats li { display: grid; grid-template-columns: 1fr 90px; gap: 10px; align-items: center; font-size: 13px; color: var(--dim); }
.co__cats i { height: 6px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.co__cats b { display: block; height: 100%; background: var(--ink); }
.co__open { position: absolute; top: 24px; right: 24px; font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); }

/* Para empresas */
.biz { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.biz h2 { font-size: clamp(34px, 4.4vw, 54px); }
.biz > div > p:not(.eyebrow) { color: var(--night-dim); font-size: 18px; margin-top: 18px; }
.biz__list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 12px; color: var(--night-dim); }
.biz__list strong { color: var(--night-ink); font-weight: 500; }
.biz__list li { padding-left: 24px; position: relative; }
.biz__list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--honey); }
.biz__panel { background: #241e19; border: 1px solid #332b24; border-radius: 28px; padding: 22px; font-family: "Inter", sans-serif; }
.biz__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.biz__head span { font: 500 20px var(--font-display); }
.biz__head small { color: var(--night-dim); }
.biz__row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: #1b1713; border: 1px solid #332b24; margin-top: 8px; }
.biz__row:first-child { background: #4a2615; border-color: #6b3a20; }
.biz__row div { flex: 1; min-width: 0; }
.biz__row strong { display: block; font-size: 15px; font-weight: 600; }
.biz__row span { font-size: 13px; color: var(--night-dim); }
.biz__score { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; background: #f3ece5; color: #221a14 !important; }

/* Preguntas */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.faq__list { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font: 400 19px var(--font-display); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--dim); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--dim); }

/* CTA y pie */
.cta { padding: 0 0 104px; }
.cta__inner { background: var(--night); color: var(--night-ink); border-radius: 36px; padding: 72px 48px; text-align: center;
  background-image: radial-gradient(50% 80% at 50% 120%, #f6c34333, transparent 70%); }
.cta h2 { font-size: clamp(34px, 5vw, 60px); }
.cta p { color: var(--night-dim); margin-top: 14px; font-size: 18px; }
.cta__btns { display: flex; gap: 10px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }

.footer { border-top: 1px solid var(--line); padding: 32px 0; }
.footer__inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer nav a { text-decoration: none; color: var(--dim); font-size: 14px; }
.footer small { margin-left: auto; color: var(--faint); }

/* ===== RESPONSIVO ===== */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
  .hero__inner, .match, .biz, .faq { grid-template-columns: 1fr; gap: 48px; }
  .steps, .areas { grid-template-columns: repeat(2, 1fr); }
  .companies { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav__inner { gap: 10px; height: 64px; }
  .seg { display: none; }
  .nav__actions .btn--ghost { display: none; }
  .hero { padding: 32px 0 64px; }
  .hero__art { height: 480px; }
  .mock--profile { width: 230px; }
  .mock__photo { height: 240px; }
  .mock--offer { width: 260px; top: 160px; }
  .mock--ring { width: 130px; height: 130px; right: 0; bottom: 0; }
  .mock--rating { left: 0; bottom: 10px; }
  .hero__search { flex-direction: column; border-radius: 24px; padding: 12px; }
  .hero__search input { padding: 8px; }
  .steps, .areas, .companies, .compare { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .weights li { grid-template-columns: 1fr 60px 40px; }
  .cta__inner { padding: 48px 24px; }
  .footer small { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .strip__track { animation: none; }
  html { scroll-behavior: auto; }
}
a.co { text-decoration: none; color: inherit; transition: transform .25s var(--ease); }
a.co:hover { transform: translateY(-3px); }

/* Área destacada (IA): ocupa 2×2 en la rejilla de especialidades */
.area--feature { grid-column: span 2; grid-row: span 2; background: var(--night); color: var(--night-ink); border-color: transparent;
  background-image: radial-gradient(70% 80% at 100% 100%, #f6c34340, transparent 70%); position: relative; }
.area--feature h3 { font-size: clamp(30px, 3vw, 40px); }
.area--feature p { color: var(--night-dim); font-size: 16px; }
.area--feature .area__n { color: var(--night-dim); }
.area__badge { position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--honey); color: var(--ink); }
@media (max-width: 640px) { .area--feature { grid-column: auto; grid-row: auto; } }

/* Sin empresas todavía (alpha) */
.co--first { grid-column: 1 / -1; display: grid; gap: 10px; justify-items: start; padding: 28px; }
.co--first h3 { margin: 0; font: 500 24px/1.2 var(--font-display); }
.co--first p { margin: 0; color: var(--dim); max-width: 620px; }
