/* Página de vacante: Conductor de Traslado de Valores */
.vacante-page [hidden] {
  display: none !important;
}

/* El botón flotante general lleva a ventas; aquí el contacto es el de selección */
.vacante-page .whatsapp-float {
  display: none;
}

.vacante-page h1,
.vacante-page main h2,
.vacante-page main h3 {
  font-family: 'DM Sans', sans-serif;
  color: #221c16;
}

/* Botones */
.vac-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 2rem;
  border: 1px solid #656635;
  border-radius: 2px;
  background: #656635;
  color: #fff;
  font: 600 1rem 'Inter', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.vac-btn:hover {
  background: #4f5029;
  border-color: #4f5029;
}

.vac-btn:focus-visible,
.vac-option:has(input:focus-visible),
.vac-field input:focus-visible {
  outline: 3px solid #A39E69;
  outline-offset: 2px;
}

.vac-btn-ghost {
  background: transparent;
  color: #656635;
}

.vac-btn-ghost:hover {
  background: #f0f0eb;
  border-color: #656635;
}

.vac-btn-wa {
  background: #128C4A;
  border-color: #128C4A;
}

.vac-btn-wa:hover {
  background: #0e6f3a;
  border-color: #0e6f3a;
}

/* Portada */
.vac-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(82vh, 760px);
  padding: 10rem 2rem 4rem;
  background: #111;
  overflow: hidden;
}

.vac-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 45%;
}

.vac-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 9, 7, 0.94) 0%, rgba(10, 9, 7, 0.8) 42%, rgba(10, 9, 7, 0.1) 78%);
}

.vac-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.vac-eyebrow {
  margin-bottom: 1rem;
  color: #d3cf9f;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vacante-page .vac-hero h1 {
  max-width: 11em;
  margin-bottom: 1.25rem;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
}

.vac-lead {
  max-width: 30em;
  margin-bottom: 2rem;
  color: #f0f0eb;
  font-size: 1.15rem;
  line-height: 1.55;
}

.vac-hero-note {
  margin-top: 0.9rem;
  color: #d9d8cf;
  font-size: 0.875rem;
}

/* Requisitos y oferta */
.vac-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: calc(1200px + 4rem);
  margin: 0 auto;
  padding: 5rem 2rem;
}

.vacante-page .vac-col h2,
.vacante-page .vac-apply h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
}

.vacante-page .vac-col h2 {
  margin-bottom: 1.75rem;
}

.vacante-page .vac-col h3 {
  margin: 1.75rem 0 0.75rem;
  color: #656635;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vacante-page .vac-col h2 + h3 {
  margin-top: 0;
}

.vac-list {
  list-style: none;
}

.vac-list li {
  position: relative;
  padding: 0.7rem 0 0.7rem 2rem;
  border-bottom: 1px solid #e5e5e0;
  line-height: 1.5;
}

.vac-list li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 1rem;
  width: 0.9rem;
  height: 0.5rem;
  border-left: 2.5px solid #656635;
  border-bottom: 2.5px solid #656635;
  transform: rotate(-45deg);
}

.vac-list-soft li::before {
  top: 1.2rem;
  left: 0.35rem;
  width: 0.5rem;
  height: 0.5rem;
  border: 0;
  border-radius: 50%;
  background: #A39E69;
  transform: none;
}

.vac-highlight {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  background: #F8F8F4;
  border-left: 4px solid #656635;
}

.vacante-page .vac-col .vac-highlight h3 {
  margin: 0 0 0.6rem;
  color: #221c16;
  font-size: 1.1rem;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.vac-highlight p {
  line-height: 1.6;
}

/* Cuestionario */
.vac-apply {
  scroll-margin-top: 80px;
  padding: 5rem 2rem;
  background: #221c16;
}

.vac-apply-inner {
  max-width: 720px;
  margin: 0 auto;
}

.vacante-page .vac-apply h2 {
  margin-bottom: 0.6rem;
  color: #fff;
}

.vac-apply-sub {
  margin-bottom: 2rem;
  color: #d9d8cf;
  line-height: 1.5;
}

.vac-card {
  padding: 2.5rem;
  background: #fff;
  border-radius: 2px;
}

.vac-progress {
  margin-bottom: 2rem;
}

.vac-count {
  margin-bottom: 0.6rem;
  color: #5c5a4c;
  font-size: 0.875rem;
  font-weight: 600;
}

.vac-bar {
  height: 6px;
  background: #e5e5e0;
}

.vac-bar span {
  display: block;
  height: 100%;
  background: #656635;
  transition: width 0.25s ease;
}

.vac-fieldset {
  border: 0;
}

.vac-legend {
  display: block;
  width: 100%;
  margin-bottom: 1.5rem;
  color: #221c16;
  font: 600 1.3rem/1.4 'DM Sans', sans-serif;
}

.vac-topic {
  display: block;
  margin-bottom: 0.4rem;
  color: #656635;
  font: 700 0.875rem 'Inter', sans-serif;
}

.vac-legend span:focus {
  outline: none;
}

.vac-options {
  display: grid;
  gap: 0.75rem;
}

.vac-option {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border: 1px solid #c9c8bd;
  border-radius: 2px;
  color: #221c16;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}

.vac-option:hover {
  border-color: #656635;
}

.vac-option:has(input:checked) {
  border-color: #656635;
  background: #f5f5ea;
  box-shadow: inset 0 0 0 1px #656635;
}

.vac-option input {
  flex: none;
  width: 18px;
  height: 18px;
  accent-color: #656635;
}

.vac-extra {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}

.vac-field label {
  display: block;
  margin-bottom: 0.4rem;
  color: #221c16;
  font-size: 0.9rem;
  font-weight: 600;
}

.vac-field input {
  width: 100%;
  min-height: 46px;
  padding: 0.6rem 0.8rem;
  border: 1px solid #8f8e80;
  border-radius: 2px;
  color: #221c16;
  font: inherit;
}

.vac-datos {
  display: grid;
  gap: 1.25rem;
}

.vac-documentos {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

.vac-documentos a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.vac-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: #3a352d;
  font-size: 0.9rem;
  line-height: 1.5;
  cursor: pointer;
}

.vac-consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  accent-color: #656635;
}

.vac-error {
  min-height: 1.5rem;
  margin-top: 1rem;
  color: #b3261e;
  font-size: 0.9rem;
  font-weight: 600;
}

.vac-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 0.5rem;
}

.vac-actions #vacBack {
  margin-right: auto;
}

/* Resultado */
.vac-result p {
  margin-bottom: 1rem;
  color: #3a352d;
  line-height: 1.65;
}

.vacante-page .vac-result h3 {
  margin-bottom: 1.25rem;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.25;
}

.vac-result h3:focus {
  outline: none;
}

.vac-result .vac-btn {
  margin-top: 0.25rem;
}

.vac-result .vac-note {
  margin-top: 0.75rem;
  color: #5c5a4c;
  font-size: 0.875rem;
}

.vac-result .vac-slogan {
  margin: 1.5rem 0 0;
  color: #221c16;
  font-weight: 700;
}

/* Aviso en Trabaja con Nosotros */
.vac-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto 3rem;
  padding: 1.25rem 1.5rem;
  background: #F8F8F4;
  border-left: 4px solid #656635;
  color: #221c16;
}

.work-form-intro {
  max-width: 1000px;
  margin: 0 auto 2rem;
  color: #221c16;
  font-size: 1.05rem;
  line-height: 1.5;
  text-align: center;
}

.vac-callout + .vac-callout {
  margin-top: -2rem;
}

.vac-callout p {
  line-height: 1.45;
}

@media (max-width: 1040px) {
  .vac-callout,
  .work-form-intro {
    margin-inline: 1.25rem;
  }
}

@media (max-width: 900px) {
  .vac-info {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    padding: 3.5rem 1.5rem;
  }

  .vac-hero {
    min-height: 620px;
    padding: 9rem 1.5rem 3rem;
    align-items: flex-end;
  }

  .vac-hero-img {
    object-position: 62% center;
  }

  .vac-hero::after {
    background: linear-gradient(0deg, rgba(10, 9, 7, 0.96) 0%, rgba(10, 9, 7, 0.82) 48%, rgba(10, 9, 7, 0.15) 100%);
  }

  .vac-apply {
    padding: 3.5rem 1.25rem;
  }
}

@media (max-width: 560px) {
  /* Evita que el botón fijo tape los campos del cuestionario */
  .vacante-page .scroll-top {
    display: none;
  }

  .vac-card {
    padding: 1.5rem 1.25rem;
  }

  .vac-extra {
    grid-template-columns: 1fr;
  }

  .vac-btn {
    padding-inline: 1.25rem;
  }

  .vac-result .vac-btn,
  .vac-hero .vac-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vac-bar span {
    transition: none;
  }
}
