/* ==========================================================
  Buró Group — Estilos del sitio
  Colores y tipografía según Manual de Marca Buró.
  Tipografía: Montserrat (equivalente libre de Gotham).
   ========================================================== */

:root {
  --navy: #233568;
  /* Azul Buró (principal) */
  --navy-dark: #1A2850;
  --blue: #1570BE;
  /* Acento */
  --gray-text: #5C5B5F;
  /* Plomo Buró (texto) */
  --gray-mid: #6B6A6F;
  --line: #E4E7EE;
  --field: #C9CED9;
  --soft: #F3F5F9;
  --soft-blue: #EEF2F8;
  --white: #FFFFFF;
  --error: #B42318;
  --ok: #1E7B3A;
  --ok-bg: #E6F4EA;
  --radius: 14px;
  --shadow: 0 16px 40px rgba(35, 53, 104, .12);
  --font: 'Montserrat', Verdana, sans-serif;
  --max: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--gray-text);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--blue);
}

a:hover {
  color: var(--navy);
}

h1,
h2,
h3,
h4 {
  color: var(--navy);
  margin: 0;
  line-height: 1.2;
  font-weight: 800;
}

p {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}

.skip:focus {
  left: 8px;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-dark);
  color: var(--white);
}

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--white);
}

.btn-outline:hover {
  background: var(--soft-blue);
  color: var(--navy);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}

.btn-white:hover {
  background: var(--soft-blue);
  color: var(--navy);
}

.btn-ghost-white {
  border-color: rgba(255, 255, 255, .6);
  color: var(--white);
  background: transparent;
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, .1);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
}

.link-arrow {
  font-weight: 700;
  text-decoration: none;
}

/* ---------- Barra superior + Header ---------- */
.topbar {
  background: var(--navy-dark);
  color: #DDE3EE;
  font-size: 13px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}

.topbar a {
  color: #DDE3EE;
  text-decoration: none;
  margin-left: 20px;
}

.topbar a:hover {
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand img {
  height: 48px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 600;
  font-size: 15px;
}

.main-nav a {
  color: var(--navy);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.header-ctas {
  display: flex;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-menu {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}

.hero-arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 120px;
}

.hero-copy {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.08;
  letter-spacing: -.02em;
}

.hero p.lead {
  color: #DDE3EE;
  font-size: 18px;
  line-height: 1.6;
  max-width: 580px;
}

.badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hero-media {
  flex: 1 1 380px;
  min-width: 0;
  align-self: stretch;
  min-height: 420px;
  border-radius: 20px;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder {
  border: 2px dashed rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #DDE3EE;
  text-align: center;
  padding: 24px;
  font-weight: 700;
  font-size: 15px;
}

.breadcrumb {
  font-size: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero .breadcrumb,
.hero .breadcrumb a {
  color: #DDE3EE;
  text-decoration: none;
}

.hero .breadcrumb span:last-child {
  color: #fff;
  font-weight: 600;
}

.hero.compact .container {
  padding-top: 56px;
  padding-bottom: 72px;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}

/* ---------- Buscador ---------- */
.search-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 20px 50px rgba(10, 20, 50, .25);
}

.search-card header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.search-card h2 {
  font-size: 22px;
}

.search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}

.search-row .field {
  flex: 1 1 200px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.field .opt {
  font-weight: 500;
  color: var(--gray-text);
}

.input,
.select,
.textarea {
  width: 100%;
  height: 50px;
  border: 1px solid var(--field);
  border-radius: 10px;
  padding: 0 14px;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
}

.textarea {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--gray-mid);
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}

.invalid .input,
.invalid .select {
  border: 2px solid var(--error);
}

.error-msg {
  display: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--error);
}

.invalid .error-msg {
  display: block;
}

.input-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 14px;
  border: 1px solid var(--field);
  border-radius: 10px;
  background: var(--white);
}

.input-icon input,
.input-icon select {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  background: transparent;
  height: 48px;
}

.input-icon:focus-within {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

/* ---------- Cifras ---------- */
.stats {
  position: relative;
  margin-top: -64px;
}

.stats-grid {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
  padding: 28px 32px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-size: 44px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
}

/* ---------- Secciones ---------- */
.section {
  padding: 96px 0;
}

.section-soft {
  background: var(--soft);
}

.eyebrow {
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}

.section-head>div {
  max-width: 660px;
}

.section-head h2,
.h2 {
  margin-top: 10px;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -.01em;
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.text-body {
  font-size: 16px;
  line-height: 1.75;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  color: var(--gray-text);
  transition: border-color .15s, box-shadow .15s;
}

a.card:hover {
  border-color: var(--navy);
  color: var(--gray-text);
}

.card h3 {
  font-size: 19px;
  font-weight: 700;
}

.card p {
  font-size: 15px;
  line-height: 1.6;
}

.card .more {
  margin-top: auto;
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--soft-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Vacantes ---------- */
.job-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--gray-text);
  transition: border-color .15s, box-shadow .15s;
}

.job-card:hover {
  border-color: var(--blue);
  color: var(--gray-text);
  box-shadow: 0 10px 30px rgba(35, 53, 104, .10);
}

.job-card.active {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(21, 112, 190, .12);
}

.job-card .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.job-card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  background: var(--soft-blue);
  padding: 5px 10px;
  border-radius: 6px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

.meta span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.job-card .foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.job-card .foot strong {
  color: var(--navy);
  font-size: 13px;
}

.job-card .foot .cta {
  color: var(--blue);
  font-weight: 800;
}

.steps-box {
  margin-top: 48px;
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}

.steps-box h3 {
  flex: 1 1 220px;
  font-size: 22px;
  line-height: 1.3;
}

.steps {
  flex: 3 1 600px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
}

.step b {
  color: var(--navy);
}

.num {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Nosotros / valores ---------- */
.split {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: flex-start;
}

.split>* {
  flex: 1 1 420px;
  min-width: 0;
}

.value-chip {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 700;
  color: var(--navy);
}

.values-ui {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.values-list {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.value-btn {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  min-height: 64px;
  padding: 0 22px;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  text-align: left;
  font-weight: 800;
  font-size: 18px;
}

.value-btn small {
  font-size: 14px;
  opacity: .6;
}

.value-btn:hover {
  border-color: var(--blue);
}

.value-btn[aria-selected="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.value-panel {
  flex: 1.6 1 440px;
  background: var(--soft);
  border-radius: 18px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-height: 340px;
}

.value-panel h3 {
  font-size: 36px;
}

.value-panel p {
  font-size: 18px;
  line-height: 1.7;
  max-width: 560px;
}

.value-panel .count {
  font-size: 14px;
  font-weight: 800;
  color: var(--blue);
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 3px solid var(--navy);
}

.timeline li {
  position: relative;
  padding: 24px 24px 0 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--navy);
}

.timeline li:first-child::before {
  background: var(--navy);
}

.timeline li:last-child::before {
  background: var(--blue);
  border-color: var(--blue);
}

.timeline strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
}

.timeline p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.55;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.mv-card {
  border-radius: 18px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mv-card p {
  font-size: 17px;
  line-height: 1.7;
}

.mv-card.dark {
  background: var(--navy);
  color: #DDE3EE;
}

.mv-card.dark h2 {
  color: var(--white);
}

.mv-card.light {
  background: var(--white);
  border: 1px solid var(--line);
}

.clients {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 56px 0;
  text-align: center;
}

.clients p.title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.logos {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 48px;
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-mid);
}

.logos img {
  height: 40px;
  width: auto;
  filter: grayscale(1);
  opacity: .7;
  transition: filter .2s, opacity .2s;
}

.logos img:hover {
  filter: none;
  opacity: 1;
}

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  border-radius: 20px;
  padding: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}

.cta-band>div {
  position: relative;
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(26px, 3vw, 38px);
}

.cta-band p {
  color: #DDE3EE;
  font-size: 17px;
  line-height: 1.6;
}

.cta-band .actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Servicios explorer ---------- */
.svc-ui {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

.svc-list {
  flex: 1 1 360px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.svc-btn {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 84px;
  padding: 16px;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: var(--white);
  color: var(--navy);
  text-align: left;
  cursor: pointer;
}

.svc-btn small {
  font-size: 12px;
  font-weight: 800;
  opacity: .65;
}

.svc-btn span {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.svc-btn:hover {
  border-color: var(--navy);
}

.svc-btn[aria-selected="true"] {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.svc-panel {
  flex: 1.3 1 460px;
  background: var(--soft);
  border-radius: 18px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.svc-panel h3 {
  font-size: 32px;
}

.svc-panel p {
  font-size: 17px;
  line-height: 1.7;
}

.check-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.check-grid li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  background: var(--white);
  border-radius: 10px;
  padding: 12px 14px;
}

.process {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process li {
  background: var(--white);
  border-radius: 14px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.process h3 {
  font-size: 18px;
}

.process p {
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Empleos ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.chip {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, .45);
}

.chip[aria-pressed="true"] {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.search-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: 12px;
  padding: 12px;
}

.search-bar .input-icon:first-child {
  flex: 2 1 260px;
}

.search-bar .input-icon {
  flex: 1 1 200px;
}

.jobs-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  padding-top: 32px;
  padding-bottom: 80px;
}

.jobs-list {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jobs-list .bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
}

.job-detail {
  flex: 1.5 1 520px;
  min-width: 0;
  position: sticky;
  top: 100px;
}

.empty {
  padding: 32px;
  background: var(--white);
  border-radius: 12px;
  text-align: center;
  font-size: 15px;
}

.page-jobs {
  background: var(--soft);
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.panel h2.title {
  font-size: 28px;
  line-height: 1.25;
}

.panel h3 {
  font-size: 17px;
  margin-bottom: 12px;
}

.checks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}

.checks li {
  display: flex;
  gap: 10px;
}

.checks svg {
  flex: 0 0 auto;
  margin-top: 2px;
}

.bullets {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #FAFBFD;
}

.fact {
  display: flex;
  gap: 12px;
}

.fact svg {
  flex: 0 0 auto;
}

.fact small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.fact span {
  display: block;
  margin-top: 4px;
  font-size: 15px;
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-light {
  min-height: 44px;
  padding: 0 18px;
  background: var(--white);
  border: 1px solid var(--field);
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-light:hover {
  border-color: var(--navy);
  color: var(--navy);
}

/* ---------- Vacante + formulario ---------- */
.vacancy-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  padding-top: 28px;
  padding-bottom: 80px;
}

.vacancy-layout>article {
  flex: 1.4 1 540px;
  min-width: 0;
}

.apply-box {
  flex: 1 1 380px;
  min-width: 0;
  position: sticky;
  top: 100px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 6px solid var(--navy);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.form-row>.field {
  flex: 1 1 150px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 14px 16px;
  border: 2px dashed var(--field);
  border-radius: 12px;
  cursor: pointer;
  background: var(--white);
  font-weight: 400;
}

.drop:hover,
.drop:focus-within {
  border-color: var(--blue);
  background: #F7F9FC;
}

.drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.drop b {
  display: block;
  font-size: 14px;
  color: var(--navy);
  overflow-wrap: anywhere;
}

.drop small {
  font-size: 12px;
  color: var(--gray-text);
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--gray-text);
  cursor: pointer;
}

.consent input {
  width: 20px;
  height: 20px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--navy);
}

.hp {
  position: absolute;
  left: -5000px;
}

.form-note {
  font-size: 12px;
  text-align: center;
}

.success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 24px 0;
}

.success.show {
  display: flex;
}

.success .ok-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--ok-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.success p {
  font-size: 15px;
  line-height: 1.6;
}

.form-error {
  display: none;
  padding: 12px 14px;
  border-radius: 10px;
  background: #FDECEA;
  color: var(--error);
  font-size: 14px;
  font-weight: 600;
}

.form-error.show {
  display: block;
}

.sticky-apply {
  display: none;
}

.btn[disabled] {
  opacity: .6;
  cursor: progress;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: #C9D0E0;
}

.site-footer a {
  color: #C9D0E0;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 32px;
}

.footer-grid h3 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.footer-col img {
  height: 52px;
  width: auto;
  align-self: flex-start;
}

.social {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.social a {
  width: 44px;
  height: 44px;
  border: 1px solid #3A4A78;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom {
  border-top: 1px solid #2E3D68;
  padding-top: 20px;
  padding-bottom: 32px;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer-bottom nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #1E7B3A;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}

.wa-float:hover {
  background: #17642F;
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
    border-top: 0;
  }

  .timeline li {
    border-top: 3px solid var(--navy);
  }
}

@media (max-width: 900px) {
  .topbar {
    display: none;
  }

  .main-nav,
  .header-ctas {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .site-header .container {
    min-height: 64px;
  }

  .brand img {
    height: 38px;
  }

  .mobile-menu {
    position: fixed;
    inset: 64px 0 0 0;
    z-index: 49;
    background: var(--white);
    padding: 16px 16px 24px;
    flex-direction: column;
    overflow-y: auto;
  }

  .mobile-menu.open {
    display: flex;
  }

  .mobile-menu>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    border-bottom: 1px solid var(--line);
    color: var(--navy);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-menu .pill {
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    background: var(--blue);
    padding: 4px 10px;
    border-radius: 999px;
  }

  .mobile-menu .ctas {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .mobile-menu .contact {
    margin-top: auto;
    padding-top: 24px;
    font-size: 14px;
    line-height: 1.6;
  }

  body.menu-open {
    overflow: hidden;
  }

  .hero .container {
    padding-top: 32px;
    padding-bottom: 40px;
    gap: 24px;
  }

  .hero-media {
    display: none;
  }

  .hero p.lead {
    font-size: 15px;
  }

  .search-card {
    padding: 18px;
  }

  .search-row .btn {
    width: 100%;
  }

  .stats {
    margin-top: 0;
    padding-top: 24px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    background: transparent;
    box-shadow: none;
  }

  .stat {
    background: var(--soft);
    border-radius: 12px;
    padding: 16px;
    border: 0;
  }

  .stat strong {
    font-size: 28px;
  }

  .stat span {
    font-size: 13px;
  }

  .section {
    padding: 56px 0;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .jobs-scroll {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .jobs-scroll .job-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
  }

  .steps-box {
    padding: 22px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cta-band {
    padding: 28px 22px;
  }

  .cta-band .actions,
  .cta-band .actions .btn {
    width: 100%;
  }

  .value-panel,
  .svc-panel {
    padding: 28px;
    min-height: 0;
  }

  .value-panel h3 {
    font-size: 28px;
  }

  .jobs-layout {
    padding-top: 16px;
  }

  .job-detail {
    display: none;
  }

  .apply-box {
    position: static;
    padding: 22px;
  }

  .panel {
    padding: 22px;
  }

  .panel h2.title {
    font-size: 24px;
  }

  .sticky-apply {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 20px rgba(35, 53, 104, .08);
  }

  .sticky-apply .btn {
    flex: 1;
    min-height: 52px;
  }

  .sticky-apply .btn-light {
    flex: 0 0 52px;
    min-height: 52px;
    padding: 0;
    justify-content: center;
  }

  .page-vacancy .wa-float {
    display: none;
  }

  .page-vacancy .site-footer {
    padding-bottom: 80px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding-top: 40px;
  }

  .footer-grid .footer-col:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }

  .svc-list {
    grid-template-columns: 1fr 1fr;
  }

  .facts {
    grid-template-columns: 1fr 1fr;
    padding: 16px;
    gap: 14px;
  }

  .process {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

/* =========================================
  SECCIÓN: LOGOS DE CLIENTES
========================================= */
.logos-clientes {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px 60px; /* 30px separación vertical, 60px horizontal */
    margin: 40px auto 60px auto;
    max-width: 1050px;
}

/* Caja invisible que fuerza a todos a tener el mismo peso en pantalla */
.logos-clientes a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 160px; /* Ancho máximo permitido por logo */
    height: 70px; /* Alto máximo permitido por logo */
    text-decoration: none;
}

.logos-clientes a img {
    max-width: 100%;
    max-height: 45px; /* Evita que los logos redondos se vean gigantes */
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Filtro azul corporativo más limpio y elegante */
    filter: grayscale(100%) sepia(100%) hue-rotate(185deg) saturate(250%) opacity(0.5);
}

.logos-clientes a:hover img {
    /* Retorna a sus colores originales de marca */
    filter: grayscale(0%) sepia(0%) hue-rotate(0deg) saturate(100%) opacity(1);
    transform: scale(1.08);
}

/* Adaptación para celulares (Responsive) */
@media (max-width: 768px) {
    .logos-clientes {
        gap: 20px 30px;
    }
    .logos-clientes a {
        width: 110px; 
        height: 50px;
    }
    .logos-clientes a img {
        max-height: 35px; 
    }
}