@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  font-family: 'DM Sans', Arial, sans-serif;
  color: #162340;
  background: #f8faff;
  font-synthesis: none;
  --navy: #071c4d;
  --indigo: #091e78;
  --blue: #008ff4;
  --blue-dark: #006fd2;
  --muted: #66748c;
  --border: #e2e8f3;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #fcb94a;
  outline-offset: 3px;
}
.shell { width: min(100%, 1260px); margin-inline: auto; padding-inline: 30px; }
.hidden { display: none !important; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  padding: 12px 18px; background: white; color: var(--navy); border-radius: 8px;
}
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 15px 22px; border: 1px solid transparent; border-radius: 12px;
  background: var(--blue); color: white; font-weight: 800; font-size: 15px;
  transition: background .2s, box-shadow .2s, transform .2s;
}
.button:hover { background: var(--blue-dark); box-shadow: 0 8px 20px #007dd72e; }
.button-outline { background: white; border-color: #c9d8ed; color: #0c377d; }
.button-outline:hover { background: #eef6ff; box-shadow: none; }
.button-white { background: white; color: #083d8c; white-space: nowrap; }
.button-white:hover { background: #eaf6ff; box-shadow: none; }
.overline { color: #0677d6; font-size: 13px; font-weight: 800; letter-spacing: 1.8px; margin-bottom: 13px; }

/* Identidad oficial y navegación */
.top { position: relative; z-index: 10; background: white; border-bottom: 1px solid #e7edf5; }
.bar { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo-frame { display: block; width: 225px; height: 72px; position: relative; overflow: hidden; }
.brand-logo-light { position: absolute; width: 225px; height: auto; left: 0; top: -18px; }
.navigation { display: flex; align-items: center; gap: 32px; color: #354763; font-size: 14px; font-weight: 700; }
.navigation > a:not(.nav-cta):hover { color: #007bdc; }
.navigation [aria-current="page"] { color: #007bdc; }
.navigation .nav-cta { color: white; background: #007ff0; border-radius: 10px; padding: 13px 17px; }
.navigation .nav-cta:hover { background: #0067ca; }

/* Portada */
.hero {
  color: white; overflow: hidden; position: relative;
  background:
    radial-gradient(circle at 89% 10%, #1456aa80 0, transparent 29%),
    radial-gradient(circle at 58% 100%, #1336a180 0, transparent 33%),
    linear-gradient(120deg, #071944 0%, #0b1e5b 65%, #092576 100%);
}
.hero::before {
  content: ''; position: absolute; width: 680px; height: 680px; border: 1px solid #ffffff12;
  border-radius: 50%; right: -240px; top: -200px; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; width: 440px; height: 440px; border: 1px solid #ffffff16;
  border-radius: 50%; right: -110px; top: -80px; pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, .92fr);
  gap: 46px; align-items: center; padding-top: 83px; padding-bottom: 92px;
}
.hero-copy { min-width: 0; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px; border: 1px solid #7baffb52;
  background: #ffffff0f; padding: 9px 14px; border-radius: 100px;
  color: #d1e9ff; font-size: 12px; font-weight: 800; letter-spacing: 1.2px;
}
.pill-dot, .open-dot {
  display: inline-block; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: #21c78b;
  box-shadow: 0 0 0 4px #21c78b18;
}
.hero h1 {
  font-family: Manrope, Arial, sans-serif; font-size: clamp(43px, 4.45vw, 66px);
  line-height: 1.15; font-weight: 800; letter-spacing: -2.6px; margin: 24px 0 20px;
}
.hero h1 em { color: #48b4ff; font-style: normal; }
.hero-copy > p { margin: 0; font-size: 17px; line-height: 1.8; color: #d2def3; max-width: 615px; }
.hero-search {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr) auto; align-items: stretch;
  gap: 7px; margin-top: 34px; padding: 8px; border-radius: 16px; background: white;
  box-shadow: 0 25px 55px #00000035;
}
.search-field { min-width: 0; padding: 9px 15px 8px; border-right: 1px solid #e5eaf4; }
.search-place { border-right: none; }
.search-field label { display: block; color: #233752; font-size: 12px; font-weight: 800; margin-bottom: 5px; }
.search-field input, .search-field select {
  width: 100%; min-width: 0; background: transparent; border: 0;
  color: #53657c; font-size: 14px; padding: 4px 0 6px;
}
.search-field input::placeholder { color: #7d8ba0; }
.search-field input:focus, .search-field select:focus { outline: none; }
.search-field:focus-within { box-shadow: inset 0 -2px #008ff4; }
.search-submit { white-space: nowrap; font-size: 14px; padding-inline: 17px; }
.popular-searches { margin-top: 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.popular-searches span { color: #aac7ec; font-size: 12px; }
.popular-searches a {
  color: white; font-size: 12px; font-weight: 700; padding: 7px 12px; border: 1px solid #ffffff34;
  border-radius: 50px; background: #ffffff0d;
}
.popular-searches a:hover { background: #ffffff28; }
.hero-visual { min-height: 366px; position: relative; display: flex; align-items: center; justify-content: center; padding-top: 36px; }
.visual-decor { position: absolute; inset: 18px 3% 0 6%; background: linear-gradient(145deg, #2b5ed235, #006ed515); border: 1px solid #ffffff20; border-radius: 40px; transform: rotate(-7deg); }
.visual-top {
  position: absolute; right: -3px; top: -9px; z-index: 2; display: flex; flex-direction: column;
  min-width: 170px; padding: 16px 20px; background: #e7f4ff; border-radius: 16px;
  color: #072355; box-shadow: 0 20px 55px #00000030;
}
.visual-top > span { font-weight: 800; font-size: 10px; letter-spacing: 1.1px; color: #4f6b97; }
.visual-top strong { font-family: Manrope, Arial, sans-serif; font-size: 43px; line-height: 1.13; letter-spacing: -1.5px; color: #006fdc; }
.visual-top small { font-size: 12px; color: #49627f; }
.showcase-card {
  position: relative; z-index: 1; width: min(100%, 420px); padding: 34px;
  background: white; border-radius: 24px; color: #15294e; box-shadow: 0 25px 65px #020b2b50;
  transform: rotate(-2.3deg);
}
.showcase-label { display: inline-flex; align-items: center; gap: 10px; color: #2b936f; font-size: 12px; font-weight: 800; }
.showcase-card h2 { font: 800 clamp(22px, 2.2vw, 29px)/1.3 Manrope, Arial, sans-serif; margin: 19px 0 11px; letter-spacing: -.8px; }
.showcase-card p { font-size: 14px; color: #71819a; margin: 0; }
.showcase-divider { height: 1px; background: #e6ecf6; margin: 27px 0 21px; }
.showcase-caption { display: block; color: #596d85; font-size: 13px; line-height: 1.5; }
.showcase-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: #047edb; font-size: 14px; font-weight: 800; }
.showcase-link:hover { color: #0058a8; }
.trust-strip { border-bottom: 1px solid #e4ebf6; background: white; }
.trust-items { min-height: 72px; display: flex; align-items: center; justify-content: space-around; gap: 24px; }
.trust-items > span { font-size: 13px; font-weight: 700; color: #52627d; }
.trust-items > span span { color: #059e86; font-weight: 900; margin-right: 8px; }

/* Catálogo */
.main { padding-top: 77px; padding-bottom: 83px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 26px; margin-bottom: 30px; }
.section-heading h2, .steps-heading h2, .closing-cta h2, .page-heading h1, .detail-intro h1 {
  font-family: Manrope, Arial, sans-serif; letter-spacing: -1.5px; font-weight: 800; margin: 0;
}
.section-heading h2 { font-size: clamp(29px, 3vw, 39px); }
.section-heading p { color: var(--muted); margin: 10px 0 0; font-size: 15px; line-height: 1.65; }
.card-grid, .results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; }
.job-card {
  display: flex; flex-direction: column; min-width: 0; min-height: 300px; padding: 25px 27px 0;
  border: 1px solid #e2eaf5; background: white; border-radius: 17px;
  box-shadow: 0 8px 28px #2e4d7d08; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.job-card:hover { transform: translateY(-3px); box-shadow: 0 16px 35px #1c3e7918; border-color: #b5d9fa; }
.job-top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: #278665; font-size: 12px; font-weight: 800; }
.card-category { margin-left: auto; color: #65748e; font-size: 11px; font-weight: 700; background: #f1f5fb; padding: 6px 10px; border-radius: 6px; }
.job-card h3 { margin: 18px 0 11px; font: 800 20px/1.36 Manrope, Arial, sans-serif; letter-spacing: -.5px; }
.job-card h3 a:hover { color: #067ed8; }
.job-excerpt {
  margin: 0; font-size: 14px; line-height: 1.7; color: #66748b; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.job-info { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 20px 0; }
.job-info > span { color: #476581; border: 1px solid #e1ebf6; background: #f4f8fd; padding: 7px 10px; border-radius: 7px; font-size: 12px; font-weight: 700; }
.job-info .job-location { color: #145095; }
.job-bottom {
  margin: auto -27px 0; padding: 15px 27px 17px; border-top: 1px solid #e9edf5;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.job-bottom > span { color: #8a95a6; font-size: 11px; }
.card-link { color: #007cdf; white-space: nowrap; font-weight: 800; font-size: 13px; }
.card-link span { font-size: 16px; }
.section-end { text-align: center; margin-top: 30px; font-size: 14px; font-weight: 800; color: #0879d5; }
.section-end a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Cómo funciona */
.steps-section { padding: 82px 0 90px; background: #f0f6ff; border-block: 1px solid #e4edfa; }
.steps-heading { max-width: 710px; margin: 0 auto 39px; text-align: center; }
.steps-heading h2 { font-size: clamp(28px, 3.2vw, 39px); line-height: 1.28; }
.steps-heading p { color: #667b97; line-height: 1.7; margin: 16px auto 0; font-size: 15px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step { padding: 30px; background: white; border: 1px solid #e1eaf7; border-radius: 15px; }
.step-number { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 12px; background: #e6f3ff; color: #0078d6; font: 800 16px Manrope, Arial, sans-serif; }
.step h3 { font: 800 19px Manrope, Arial, sans-serif; margin: 22px 0 10px; }
.step p { color: #687a92; font-size: 14px; line-height: 1.7; margin: 0; }
.closing-cta { background: linear-gradient(115deg, #0657b9, #037dec); color: white; padding: 58px 0; }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.closing-cta .overline { color: #afdafa; }
.closing-cta h2 { font-size: clamp(26px, 2.8vw, 36px); max-width: 720px; }
.closing-cta p { color: #c9e5ff; font-size: 15px; margin: 12px 0 0; }

/* Vista del listado */
.page-heading { padding: 65px 0; background: linear-gradient(115deg, #ecf6ff, #f7faff); border-bottom: 1px solid #e2ebf7; }
.heading-flex { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.page-heading h1 { font-size: clamp(32px, 3.5vw, 46px); line-height: 1.2; }
.page-heading p { color: #5d718c; max-width: 640px; font-size: 16px; line-height: 1.7; margin: 15px 0 0; }
.heading-count { border: 1px solid #cfe5fa; background: white; padding: 20px 25px; border-radius: 17px; display: flex; align-items: center; gap: 17px; white-space: nowrap; }
.heading-count strong { font: 800 40px Manrope, Arial, sans-serif; color: #0785e7; letter-spacing: -2px; }
.heading-count span { font-size: 12px; font-weight: 700; line-height: 1.5; color: #6c7b96; }
.vacancies-layout { display: grid; grid-template-columns: 274px minmax(0, 1fr); align-items: start; gap: 29px; }
.filter-panel { background: white; border: 1px solid #e3ebf5; border-radius: 16px; padding: 24px; position: sticky; top: 20px; }
.filter-title { border-bottom: 1px solid #e9eff6; padding-bottom: 19px; margin-bottom: 20px; }
.filter-title h2 { font: 800 18px Manrope, Arial, sans-serif; margin: 0 0 6px; }
.filter-title span { color: #8693a4; font-size: 12px; }
.filter-group { margin: 18px 0; }
.filter-group label { display: block; font-size: 13px; font-weight: 800; color: #344762; margin-bottom: 9px; }
.filter-group input, .filter-group select {
  border: 1px solid #d8e3f0; color: #44536c; background: white; border-radius: 9px;
  padding: 13px 12px; width: 100%; font-size: 13px;
}
.filter-reset { border: 0; background: none; padding: 6px 0; font-size: 13px; font-weight: 800; color: #007bdc; }
.filter-reset:hover { text-decoration: underline; }
.filter-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 25px; padding: 14px; border-radius: 10px; background: #f1f7ff; }
.filter-note > span { color: #007bdc; }
.filter-note p { font-size: 12px; line-height: 1.6; color: #627895; margin: 0; }
.results-heading { margin-bottom: 23px; }
.results-heading h2 { font: 800 23px Manrope, Arial, sans-serif; margin: 0 0 5px; }
.results-count { margin: 0; font-size: 13px; font-weight: 700; color: #7b899d; }
.results { gap: 17px; }
.results .job-card { min-height: 290px; }
.results .job-card h3 { font-size: 18px; }
.empty { background: white; border: 1px solid #e3ebf5; border-radius: 16px; padding: 50px 28px; text-align: center; grid-column: 1 / -1; }
.empty-icon { display: grid; place-items: center; margin: 0 auto 18px; width: 65px; height: 65px; background: #e5f2ff; color: #0083eb; border-radius: 20px; font-size: 38px; }
.empty h3 { font: 800 22px Manrope, Arial, sans-serif; margin: 0 0 12px; }
.empty p { color: #6f7f95; max-width: 470px; font-size: 14px; margin: 0 auto 22px; line-height: 1.7; }
#filtered-empty { margin-top: 18px; }

/* Página individual */
.detail-banner { background: linear-gradient(110deg, #edf6ff, #f8faff); border-bottom: 1px solid #e1eaf6; padding-bottom: 45px; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 26px 0 42px; font-size: 13px; color: #8a98ab; }
.breadcrumb a { color: #3c6b9d; font-weight: 700; }
.breadcrumb a:hover { color: #0078d7; }
.detail-active { display: inline-flex; align-items: center; gap: 10px; color: #1b956a; font-size: 13px; font-weight: 800; margin-bottom: 14px; }
.detail-intro h1 { max-width: 840px; font-size: clamp(29px, 4.1vw, 48px); line-height: 1.22; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.detail-meta span { background: white; border: 1px solid #dbe8f4; border-radius: 8px; padding: 8px 12px; color: #4d6684; font-weight: 700; font-size: 13px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 25px; padding-block: 43px 80px; align-items: start; }
.article, .apply-panel { background: white; border: 1px solid #e3eaf5; border-radius: 17px; box-shadow: 0 9px 25px #304e8208; }
.article { padding: 38px 42px; }
.article h2 { font: 800 24px Manrope, Arial, sans-serif; margin: 0 0 21px; }
.article h2:not(:first-of-type) { margin: 30px 0 15px; }
.full-description { white-space: pre-line; color: #4d6078; line-height: 1.85; font-size: 15px; overflow-wrap: anywhere; }
.article li { color: #4d6078; line-height: 1.8; padding-bottom: 8px; }
.detail-end { margin-top: 36px; padding-top: 24px; border-top: 1px solid #e8edf5; font-size: 14px; font-weight: 800; color: #087ddd; }
.apply-panel { padding: 28px; position: sticky; top: 24px; }
.apply-icon { display: grid; place-items: center; width: 52px; height: 52px; font-size: 26px; background: #e1f9ee; color: #10a672; border-radius: 15px; }
.apply-panel h2 { font: 800 22px/1.35 Manrope, Arial, sans-serif; margin: 20px 0 12px; }
.apply-panel > p { font-size: 14px; line-height: 1.75; color: #65758d; margin: 0 0 22px; }
.apply-button { width: 100%; justify-content: space-between; padding-inline: 16px; }
.apply-note { color: #758398; font-size: 12px; line-height: 1.7; margin: 16px 0 0; }
.apply-note strong { color: #138966; }
.apply-back { display: block; padding-top: 18px; margin-top: 20px; border-top: 1px solid #e9eff7; color: #067ad6; font-weight: 800; font-size: 13px; }

/* Pie con el logo oficial sobre fondo oscuro */
.footer { background: #061638; color: #cfdaed; padding: 52px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.15fr; gap: 45px; }
.brand-logo-dark { width: 200px; height: 75px; object-fit: contain; object-position: left center; }
.footer-about p { margin: 6px 0 0; max-width: 265px; color: #9bacca; font-size: 13px; line-height: 1.75; }
.footer-grid > div:not(.footer-about) { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-grid strong { color: white; font: 800 14px Manrope, Arial, sans-serif; margin-top: 13px; }
.footer-grid a:not(.footer-about a), .footer-grid span { color: #9bacca; font-size: 13px; line-height: 1.5; }
.footer-grid a:hover { color: #ffffff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #293758; margin-top: 44px; padding-top: 22px; color: #91a2c0; font-size: 12px; }

@media (max-width: 1120px) {
  .navigation { gap: 18px; }
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 25px; }
  .hero h1 { font-size: clamp(39px, 4.4vw, 58px); }
  .hero-search { grid-template-columns: 1fr 1fr; }
  .search-place { border-right: 0; }
  .search-submit { grid-column: 1 / -1; }
  .showcase-card { padding: 27px; }
  .visual-top { right: 0; }
  .footer-grid { gap: 25px; }
}
@media (max-width: 880px) {
  .shell { padding-inline: 24px; }
  .navigation .nav-steps, .navigation .nav-enterprise { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 68px; padding-bottom: 69px; }
  .hero h1 { max-width: 740px; font-size: clamp(43px, 7vw, 62px); }
  .hero-visual { display: none; }
  .hero-search { max-width: 690px; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr) auto; }
  .search-submit { grid-column: auto; }
  .trust-items { justify-content: flex-start; flex-wrap: wrap; padding-block: 20px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vacancies-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
  .filter-title { grid-column: 1 / -1; }
  .filter-group { margin: 0; }
  .filter-reset { justify-self: start; }
  .filter-note { grid-column: 2 / -1; margin: 0; }
  .detail-layout { grid-template-columns: 1fr; }
  .apply-panel { position: static; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .shell { padding-inline: 19px; }
  .bar { min-height: 80px; }
  .brand-logo-frame { width: 175px; height: 60px; }
  .brand-logo-light { width: 175px; top: -13px; }
  .navigation > a:not(.nav-cta) { display: none; }
  .navigation .nav-cta { font-size: 12px; padding: 11px; white-space: nowrap; }
  .hero-grid { padding-top: 54px; padding-bottom: 60px; }
  .hero-pill { font-size: 10px; letter-spacing: .8px; }
  .hero h1 { font-size: clamp(39px, 10vw, 50px); letter-spacing: -1.8px; }
  .hero-copy > p { font-size: 15px; line-height: 1.7; }
  .hero-search { grid-template-columns: 1fr; gap: 0; padding: 8px; margin-top: 28px; }
  .search-field { border-right: 0; border-bottom: 1px solid #e5eaf4; }
  .search-place { border-bottom: none; }
  .search-submit { grid-column: 1; margin-top: 7px; min-height: 48px; }
  .popular-searches { align-items: flex-start; }
  .popular-searches > span { width: 100%; }
  .trust-items { gap: 11px; flex-direction: column; align-items: flex-start; }
  .main { padding-block: 55px 65px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .section-heading h2 { font-size: 30px; }
  .card-grid, .results, .steps-grid { grid-template-columns: 1fr; }
  .job-card { padding: 22px 22px 0; min-height: 280px; }
  .job-bottom { margin-inline: -22px; padding-inline: 22px; }
  .steps-section { padding-block: 60px; }
  .closing-inner { flex-direction: column; align-items: flex-start; gap: 25px; }
  .page-heading { padding-block: 52px; }
  .page-heading h1 { font-size: 34px; }
  .heading-count { display: none; }
  .filter-panel { grid-template-columns: 1fr; }
  .filter-title, .filter-note { grid-column: auto; }
  .filter-note { margin-top: 10px; }
  .detail-banner { padding-bottom: 35px; }
  .breadcrumb { padding-bottom: 28px; }
  .detail-intro h1 { font-size: 31px; }
  .article { padding: 26px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .job-card, .button { transition: none; }
  .job-card:hover { transform: none; }
}
