/* ================================================================
   HERO — Sección principal con copy + bloque para candidatos
   ================================================================ */
.hero {
  background: var(--color-primary);
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px 0 80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* --- Slider de fondo: crossfade + Ken Burns sutil --- */
.hero__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.2s var(--ease-out), transform 5.7s linear;
}
.hero__slide.is-active {
  opacity: 1;
  transform: scale(1.08);
  z-index: 1;
}

.hero__slider-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(rgba(0, 8, 80, 0.65), rgba(0, 8, 80, 0.65));
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: opacity 0.3s ease; transform: none !important; }
}

.hero__watermark {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(200px, 30vw, 380px);
  color: var(--color-text-inverse);
  opacity: 0.04;
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--space-2xl);
  align-items: center;
  width: 100%;
}

.hero__copy {
  position: relative;
  z-index: 1;
}

.hero__eyebrow { color: var(--color-accent-alt); }

.hero__title {
  color: var(--color-text-inverse);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 16px rgba(0, 8, 80, 0.35);
}
.hero__title em { font-style: normal; }
.hero__accent { color: var(--color-accent-alt); }

.hero__title-sub {
  display: block;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  margin-top: 10px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.hero__body {
  color: rgba(255,255,255,0.8);
  font-size: clamp(.95rem, 1.3vw, 1.05rem);
  max-width: 560px;
  margin-bottom: var(--space-xl);
  line-height: 1.65;
  text-shadow: 0 1px 8px rgba(0, 8, 80, 0.3);
}

.hero__actions { display: flex; flex-direction: column; gap: var(--space-md); align-items: flex-start; }

.hero__microcopy {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  text-shadow: 0 1px 6px rgba(0, 8, 80, 0.3);
}

/* --- Bloque para candidatos (job seekers) --- */
.hero__candidatos {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 3px solid var(--color-accent-alt);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}

.hero__candidatos-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero__candidatos-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--color-accent-alt);
  color: var(--color-primary);
}
.hero__candidatos-icon svg { width: 19px; height: 19px; }

.hero__candidatos-label {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-inverse);
  line-height: 1.3;
}

.hero__candidatos-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
  line-height: 1.55;
  max-width: 40ch;
}

/* --- Entrada al cargar la página --- */
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.hero__copy > * {
  opacity: 0;
  animation: hero-fade-up 0.7s var(--ease-out) forwards;
}
.hero__copy .eyebrow      { animation-delay: .2s; }
.hero__copy .hero__title  { animation-delay: .35s; }
.hero__copy .hero__body   { animation-delay: .6s; }
.hero__copy .hero__actions { animation-delay: .75s; }

.hero__candidatos { opacity: 0; animation: hero-fade-up 0.9s var(--ease-out) .8s forwards; }

@media (prefers-reduced-motion: reduce) {
  .hero__copy > *,
  .hero__candidatos {
    animation: none;
    opacity: 1;
  }
}

/* --- Responsive --- */
@media (max-width: 959px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-xl); }
  .hero__watermark { display: none; }
}

@media (max-width: 539px) {
  .hero { padding: 100px 0 60px; }
  .hero__title { font-size: 2rem; }
  .hero__copy  { max-width: 100%; }
}
