/*
 * AMZ EMPLEO
 * Copyright (c) 2026 EARG. All rights reserved.
 * Proprietary and Confidential.
 *
 * This file is part of the AMZ Empleo web development project.
 * Unauthorized reproduction or redistribution is prohibited,
 * subject to applicable agreements and law.
 */

/* Inter: SIL Open Font License 1.1 (see assets/fonts/OFL-Inter.txt). Self-hosted, subset. */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-500.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-600.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/inter-700.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/inter-800.woff") format("woff"); }

:root {
  --navy: #04255a;
  --navy-2: #0a3278;
  --blue: #1565ff;
  --blue-soft: #e8f0ff;
  --pink: #ff506e;
  --pink-dark: #e0395a;
  --gold: #f2b705;
  --ink: #13233f;
  --muted: #55657d;
  --line: #e2e8f2;
  --bg: #f4f7fc;
  --white: #fff;
  --ok: #0f8a5f;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(4, 37, 90, .10);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.55; font-size: 16px; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 300; }
.skip:focus { left: 8px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pink); margin-bottom: .6rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid transparent; border-radius: 10px; padding: 11px 20px; font-weight: 600; font-size: .95rem; cursor: pointer; transition: background-color .15s, transform .1s, border-color .15s; text-decoration: none !important; line-height: 1.2; }
.btn:active { transform: translateY(1px); }
.btn-pink { background: var(--pink); color: #fff; box-shadow: 0 6px 16px rgba(255, 80, 110, .30); }
.btn-pink:hover { background: var(--pink-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--blue-soft); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--blue-soft); }
.btn-wa { background: #1faa59; color: #fff; }
.btn-wa:hover { background: #178a47; }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; }
.brand img { height: 30px; width: auto; }
.brand-tag { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); border-left: 2px solid var(--line); padding-left: 10px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 22px; }
.nav ul a { color: var(--ink); font-weight: 500; font-size: .94rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--blue); text-decoration: none; border-bottom-color: var(--pink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: 10px; padding: 8px; color: var(--navy); cursor: pointer; }
.nav-toggle .ic { width: 24px; height: 24px; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: radial-gradient(1200px 500px at 85% -10%, #1d56c9 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, #06307a 100%); padding: 72px 0 150px; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; background: #fff; clip-path: ellipse(60% 100% at 50% 100%); }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 400; margin-bottom: 26px; }
.hero h1 strong { font-weight: 800; display: block; background: linear-gradient(90deg, #fff 0%, #ffd2da 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-art { max-width: 520px; justify-self: end; width: 100%; }
.hero-sub { color: #cfe0ff; max-width: 52ch; margin: 22px 0 22px; }
.hero-sub strong { color: #fff; }
.searchbox { display: flex; align-items: center; background: #fff; border-radius: 14px; padding: 6px; max-width: 680px; box-shadow: 0 18px 40px rgba(0, 0, 0, .25); }
.searchbox label { flex: 1; display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: var(--muted); min-width: 0; }
.searchbox label + label { border-left: 1px solid var(--line); }
.searchbox input { border: 0; outline: 0; width: 100%; min-width: 0; font-size: .96rem; color: var(--ink); background: transparent; }
.searchbox input::placeholder { color: #8a97ab; }
.searchbox .go { background: var(--pink); color: #fff; border: 0; width: 50px; height: 50px; border-radius: 10px; display: grid; place-items: center; cursor: pointer; flex: none; }
.searchbox .go:hover { background: var(--pink-dark); }
.searchbox .go .ic { width: 22px; height: 22px; }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section.alt { background: var(--bg); }
.section.dark { background: linear-gradient(160deg, var(--navy), #06307a); color: #dbe7ff; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section.dark .section-head p { color: #c3d4f5; }
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 2px 0 rgba(4, 37, 90, .02); }
.card h3 { font-size: 1.12rem; }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }
.chip-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.chip-ic .ic { width: 24px; height: 24px; }
.chip-ic.pink { background: #ffe8ec; color: var(--pink-dark); }
.chip-ic.navy { background: var(--navy); color: #fff; }

/* featured vacancies card (overlaps hero) */
.featured { margin-top: -96px; position: relative; z-index: 5; }
.featured-card { background: linear-gradient(135deg, #052a63 0%, #0b4a8f 100%); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); }
.featured-card h2 { color: #fff; font-weight: 400; font-size: 1.7rem; margin-bottom: 20px; }
.featured-card h2 strong { font-weight: 800; }
.jobs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.job-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 190px; background: #fff; border-radius: 12px; padding: 18px; color: var(--ink); text-decoration: none !important; transition: transform .15s, box-shadow .15s; }
.job-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.job-card h3 { font-size: .98rem; margin-bottom: 6px; }
.job-card .co { color: var(--blue); font-size: .84rem; font-weight: 500; }
.job-card .where { color: var(--muted); font-size: .82rem; margin-top: 4px; }
.job-meta { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 14px; color: var(--muted); font-size: .78rem; }
.job-meta span { display: inline-flex; align-items: center; gap: 4px; }
.featured-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 20px; color: #c3d4f5; font-size: .85rem; }
.demo-note { background: #fff7d6; border: 1px solid #f0d77a; color: #6b5200; border-radius: 10px; padding: 10px 14px; font-size: .86rem; }
.demo-note strong { color: #4a3900; }

/* activity cards */
.act { position: relative; padding-top: 30px; }
.act .tag { position: absolute; top: -12px; left: 24px; background: var(--pink); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; }
.act ul { margin-top: 14px; display: grid; gap: 8px; }
.act li { display: flex; gap: 8px; color: var(--muted); font-size: .92rem; }
.act li .ic { color: var(--ok); margin-top: 3px; }
.callout { background: var(--blue-soft); border-left: 4px solid var(--blue); border-radius: 10px; padding: 16px 20px; color: var(--navy); font-weight: 500; }

/* steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--pink); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step h3 { font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: .94rem; }

.free-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; margin: 22px 0 0; }
.free-list li { display: flex; gap: 10px; align-items: flex-start; }
.free-list .ic { color: #6ee7b7; margin-top: 4px; }

.trusted { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; align-items: center; filter: grayscale(1); opacity: .75; }
.trusted img { height: 36px; width: auto; }

.cta-band { background: linear-gradient(120deg, var(--navy), #0b4a8f); border-radius: 20px; padding: 40px; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: #c3d4f5; }

/* ---------- inner pages ---------- */
.page-hero { background: linear-gradient(160deg, var(--navy), #06307a); color: #dbe7ff; padding: 64px 0 56px; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 22ch; }
.page-hero .lead { color: #c3d4f5; }
.page-hero .eyebrow { color: #ff9fb0; }
.svc { display: flex; gap: 18px; align-items: flex-start; }
.svc h3 { font-size: 1.05rem; margin-bottom: 4px; }
.svc .tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: var(--blue-soft); padding: 3px 8px; border-radius: 99px; margin-bottom: 8px; }
.timeline { display: grid; gap: 14px; counter-reset: t; }
.timeline li { counter-increment: t; display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.timeline li::before { content: counter(t); flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.timeline strong { color: var(--navy); display: block; }
.timeline span { color: var(--muted); font-size: .92rem; }

.legal { max-width: 820px; }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal p, .legal li { color: #2c3c57; }
.legal ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; display: grid; gap: 4px; }
.draft-banner { background: #fff7d6; border: 1px solid #f0d77a; color: #5a4500; border-radius: 12px; padding: 14px 18px; margin-bottom: 28px; font-size: .92rem; }

/* ---------- access pages (candidates / companies) ---------- */
.access { min-height: calc(100vh - 70px); display: grid; grid-template-columns: 1fr 1fr; }
.access-art { position: relative; background: linear-gradient(160deg, var(--navy), #0b4a8f); color: #fff; padding: 56px 48px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.access-art.company { background: linear-gradient(160deg, #06307a, var(--navy)); }
.access-art h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 400; }
.access-art h2 strong { font-weight: 800; display: block; }
.access-art p { color: #cfe0ff; max-width: 40ch; }
.access-art img { width: min(420px, 100%); margin: 22px auto 0; }
.access-form { display: grid; place-items: center; padding: 48px 28px; background: var(--bg); }
.access-card { width: min(460px, 100%); background: #fff; border-radius: 18px; padding: 34px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.access-card h1 { font-size: 1.6rem; }
.access-card .sub { color: var(--muted); font-size: .95rem; }
.access-card .stack { display: grid; gap: 12px; margin: 22px 0; }
.access-card .btn { width: 100%; }
.sep { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .82rem; margin: 6px 0; }
.sep::before, .sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.secure-note { display: flex; gap: 10px; background: var(--blue-soft); border-radius: 10px; padding: 12px 14px; color: var(--navy); font-size: .85rem; }
.small { font-size: .84rem; color: var(--muted); }
.access-card ul.mini { display: grid; gap: 8px; margin: 14px 0 0; }
.access-card ul.mini li { display: flex; gap: 8px; font-size: .9rem; color: var(--muted); }
.access-card ul.mini .ic { color: var(--ok); margin-top: 3px; }

/* ---------- footer ---------- */
.foot { background: #031b44; color: #b5c6e6; padding-top: 56px; margin-top: 0; }
.foot a { color: #dbe7ff; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 36px; padding-bottom: 36px; }
.foot-brand img { width: 140px; margin-bottom: 14px; }
.foot-brand p { color: #b5c6e6; max-width: 32ch; }
.foot h2 { color: #fff; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.foot ul { display: grid; gap: 9px; font-size: .92rem; }
.contact-list li { display: flex; gap: 10px; align-items: center; word-break: break-word; }
.contact-list .ic { color: #7da6ff; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0 30px; display: grid; gap: 4px; font-size: .84rem; }
.foot-bottom p { margin: 0; }
.foot-legal { display: flex !important; flex-wrap: wrap; gap: 8px 22px !important; margin-top: 10px; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 120; width: 56px; height: 56px; border-radius: 50%; background: #1faa59; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0, 0, 0, .28); }
.wa-float .ic { width: 28px; height: 28px; }
.wa-float:hover { background: #178a47; text-decoration: none; }

/* ---------- launcher ---------- */
.launcher { background: var(--bg); }
.launcher-in { max-width: 640px; padding: 56px 0; text-align: center; }
.launcher-in img { margin: 0 auto 10px; }
.launcher-list { display: grid; gap: 12px; margin-top: 26px; text-align: left; }
.launcher-list a { display: flex; justify-content: space-between; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; color: var(--navy); }
.launcher-list a:hover { border-color: var(--blue); text-decoration: none; }
.launcher-list span { color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .jobs-grid { grid-template-columns: repeat(2, 1fr); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 18px; display: none; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-actions { flex-direction: column; align-items: stretch; margin-top: 14px; }
  .access { grid-template-columns: 1fr; }
  .access-art { padding: 36px 24px; }
  .access-art img { display: none; }
}
@media (max-width: 680px) {
  .section { padding: 52px 0; }
  .hero { padding: 48px 0 130px; }
  .searchbox { flex-direction: column; align-items: stretch; padding: 10px; gap: 6px; }
  .searchbox label + label { border-left: 0; border-top: 1px solid var(--line); }
  .searchbox .go { width: 100%; }
  .jobs-grid, .g2, .g3, .g4, .steps, .free-list { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .brand-tag { display: none; }
  .cta-band { padding: 28px 22px; }
}
@media print {
  .topbar, .foot, .wa-float, .nav-toggle { display: none !important; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- utilities (no inline styles: strict CSP) ---------- */
.mt-s { margin-top: 22px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 28px; } .mt-s0 { margin: 16px 0 0; }
.btn-outline.on-dark { background: transparent; color: #fff; border-color: #fff; }
.btn-outline.on-dark:hover { background: rgba(255, 255, 255, .12); }
.eyebrow-light { color: #ff9fb0; }
.small-light { color: #9db6e6; margin: 0; }
.featured-empty { margin: 0; color: #dbe7ff; grid-column: 1 / -1; }
.card.svc { display: flex; gap: 16px; align-items: flex-start; flex-direction: column; }
.card.svc .chip-ic { margin-bottom: 0; }
.card.svc h3 { margin-bottom: 6px; }
