/* =============================================================
   BOOZ — Landing de reclutamiento
   1. Tokens
   ============================================================= */
/* Colores tomados del logo BOOZ LOGISTICS LLC */
:root {
  --navy:      #20428B;
  --navy-deep: #0E1F42;
  --blue:      #1697E2;
  --cyan:      #4FCCEB;
  --cyan-soft: #9BDFF5;

  --bg:        #F7F9FC;
  --bg-2:      #EDF2F8;
  --surface:   #FFFFFF;

  --ink:       #101E3A;
  --ink-soft:  #354661;
  --ink-mute:  #6B7A91;
  --on-dark:   #EAF2FA;
  --on-dark-mute: #9DB4CE;

  --line:      rgba(16, 30, 58, 0.10);
  --line-dark: rgba(234, 242, 250, 0.16);

  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Archivo", "Inter", -apple-system, "Segoe UI", Arial, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(1rem, 4vw, 3rem);
  --radius: 6px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 31, 58, 0.10);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3 {
  font-family: var(--display);
  text-wrap: balance;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
}
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
::selection { background: var(--cyan); color: var(--navy-deep); }

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

/* =============================================================
   3. Utilities
   ============================================================= */
.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 200;
  padding: .6rem 1rem;
  background: var(--navy); color: #fff;
  border-radius: var(--radius); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.hp-field {
  position: absolute !important;
  left: -9999px; width: 1px; height: 1px; opacity: 0;
}

.text-accent { color: var(--blue); }

.eyebrow, .kicker {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}
.kicker-light { color: var(--cyan); }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .7rem 1.3rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out),
              border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .5rem 1rem; font-size: .875rem; }
.btn-lg { padding: .9rem 1.7rem; font-size: 1rem; }

.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--blue); }

.btn-accent { background: var(--cyan); color: var(--navy-deep); }
.btn-accent:hover { background: var(--cyan-soft); }

.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn[disabled] { opacity: .6; pointer-events: none; }

.btn-spinner {
  width: 14px; height: 14px; display: none;
  border: 2px solid currentColor; border-right-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.btn.is-sending .btn-spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =============================================================
   5. Header / nav
   ============================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 249, 252, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.header-row {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 78px;
}

/* Logo original recortado a su contenido (el archivo no se modifica) */
.logo { display: block; position: relative; overflow: hidden; flex: none; }
.logo img { position: absolute; max-width: none; }

.logo-full { aspect-ratio: 768 / 602; }
.logo-full img { width: 133.3333%; height: 170.0997%; left: -12.5%; top: -32.8904%; }

.brand { display: inline-flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand-logo { height: 52px; }
.brand-legal {
  font-family: var(--mono);
  font-size: .62rem;
  line-height: 1.25;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-left: .7rem;
  border-left: 1px solid var(--line);
}

.nav { display: none; gap: 1.6rem; font-size: .95rem; font-weight: 500; color: var(--ink-soft); }
.nav a { position: relative; padding-block: .3rem; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav a:hover { color: var(--navy); }
.nav a:hover::after { transform: scaleX(1); }

.nav-cta { display: none; }

.lang-switch {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  padding: .35rem .6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  transition: border-color .25s var(--ease-out), color .25s var(--ease-out);
}
.lang-switch:hover { border-color: var(--blue); color: var(--blue); }

.nav-toggle {
  display: grid; gap: 4px; padding: .5rem; margin-right: -.5rem;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); }

[hidden] { display: none !important; }

.mobile-nav {
  display: grid; gap: .25rem;
  padding: .5rem var(--gutter) 1.25rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.mobile-nav a { padding: .7rem 0; font-weight: 500; color: var(--ink-soft); }
.mobile-nav .btn { margin-top: .5rem; justify-content: center; color: #fff; }

/* =============================================================
   6. Hero
   ============================================================= */
.hero { padding-block: clamp(3rem, 8vw, 6rem) clamp(3rem, 7vw, 5rem); }
.hero-grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }

.hero-title {
  font-size: clamp(2.5rem, 7vw, 4.4rem);
  font-weight: 900;
  margin-block: .9rem 1.1rem;
  letter-spacing: -0.035em;
}
.hero-sub {
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  color: var(--ink-soft);
  max-width: 48ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 2rem;
  margin-top: 2.6rem; padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.hero-stats dt {
  font-family: var(--mono); font-size: .7rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute);
}
.hero-stats dd { font-weight: 600; color: var(--navy); margin-top: .2rem; }

/* Foto principal */
.hero-visual { display: flex; justify-content: center; }
.hero-photo {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  animation: photoIn .7s var(--ease-out) both;
}
.hero-photo img {
  width: 100%; height: auto;
  aspect-ratio: 3 / 2; object-fit: cover; object-position: center 28%;
}

@keyframes photoIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo { animation: none; }
}

/* Banda de foto ancha */
.band-photo {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: clamp(2rem, 5vw, 3.2rem);
}
.band-photo img {
  width: 100%; height: auto;
  aspect-ratio: 16 / 7; object-fit: cover; object-position: center 62%;
}

/* Galería de la estación */
.gallery { display: grid; gap: 1rem; }
.gallery figure {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption {
  padding: .9rem 1.1rem 1.1rem;
  font-size: .88rem; color: var(--ink-soft);
}

/* Banda con foto de equipo */
.cta-band {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: clamp(2rem, 5vw, 3.2rem);
}
/* Móvil: foto arriba, texto debajo sobre azul marino */
.cta-band { background: var(--navy-deep); }
.cta-band img {
  width: 100%; height: auto;
  aspect-ratio: 16 / 9; object-fit: cover; object-position: center 35%;
}
.cta-scrim { display: none; }
.cta-band-inner {
  padding: clamp(1.5rem, 5vw, 2.4rem);
  max-width: 44ch;
  color: #fff;
}

/* Escritorio: texto sobre la foto */
@media (min-width: 720px) {
  .cta-band img {
    position: absolute; inset: 0; z-index: 0;
    height: 100%; aspect-ratio: auto;
  }
  .cta-scrim {
    display: block;
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(100deg, rgba(14, 31, 66, .95) 0%, rgba(14, 31, 66, .80) 45%, rgba(14, 31, 66, .45) 100%);
  }
  .cta-band-inner {
    position: relative; z-index: 2;
    padding: clamp(2rem, 5vw, 3.4rem);
  }
}
.cta-band-inner h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); color: #fff; }
.cta-band-inner p { margin-top: .7rem; color: var(--on-dark); }

.form-wrap-spaced { margin-top: 0; }

/* =============================================================
   7. Secciones
   ============================================================= */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-alt { background: var(--bg-2); }
.section-dark { background: var(--navy-deep); color: var(--on-dark); }
.section-dark h2 { color: #fff; }

.section-head { max-width: 58ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: .7rem; }
.section-sub { margin-top: .9rem; color: var(--ink-soft); }
.section-sub-light { color: var(--on-dark-mute); }

/* Feature cards */
.card-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  transition: border-color .25s var(--ease-out), transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.feature-card:hover { border-color: rgba(30, 127, 194, .45); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-card h3 { font-size: 1.08rem; margin-block: 1rem .5rem; font-weight: 700; }
.feature-card p { color: var(--ink-soft); font-size: .95rem; }
.fc-icon { display: block; width: 26px; height: 26px; border-radius: 2px; }
.fc-icon-1 { background: var(--cyan); }
.fc-icon-2 { background: var(--blue); }
.fc-icon-3 { background: var(--navy); }
.fc-icon-4 { background: var(--cyan-soft); }

/* Lema de marca */
.slogan {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
}
.slogan-text {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.45rem, 3.4vw, 2.5rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: var(--navy);
  max-width: 22ch;
  text-wrap: balance;
}

/* Programa DSP */
.program-grid { display: grid; gap: 1rem; }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 1.9rem);
}
.panel-quiet { background: var(--bg-2); border-color: transparent; }
.panel-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 1.1rem; }
.panel-note {
  margin-top: 1.2rem; padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: .9rem; color: var(--ink-soft);
}

.day-list { list-style: none; padding: 0; display: grid; gap: .85rem; counter-reset: day; }
.day-list li {
  counter-increment: day;
  position: relative; padding-left: 2.2rem;
  font-size: .95rem; color: var(--ink-soft);
}
.day-list li::before {
  content: counter(day);
  position: absolute; left: 0; top: .05rem;
  width: 1.5rem; height: 1.5rem;
  display: grid; place-items: center;
  border-radius: 3px;
  background: var(--blue); color: #fff;
  font-family: var(--mono); font-size: .72rem;
}
.day-list span { color: var(--ink); font-weight: 600; }

.fact-list { display: grid; gap: 1.1rem; }
.fact-list dt { font-weight: 700; color: var(--navy); }
.fact-list dd { font-size: .95rem; color: var(--ink-soft); margin-top: .15rem; }

.req-block {
  margin-top: 1rem;
  padding: clamp(1.3rem, 3vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.check-list { list-style: none; padding: 0; display: grid; gap: .7rem; }
.check-list li {
  position: relative; padding-left: 1.9rem;
  font-size: .95rem; color: var(--ink-soft);
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 11px; height: 6px;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}

/* Reglas de subida de documentos */
.rules-list {
  list-style: none; padding: 0;
  margin-top: 1.1rem; display: grid; gap: .55rem;
}
.rules-list li {
  position: relative; padding-left: 1.4rem;
  font-size: .92rem; color: var(--on-dark-mute);
}
.rules-list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px; border-radius: 1px;
  background: var(--cyan);
}

/* Pasos */
.steps { list-style: none; padding: 0; display: grid; gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding-left: 3.6rem; }
.step-num {
  position: absolute; left: 0; top: .1rem;
  font-family: var(--mono); font-size: .85rem; font-weight: 500;
  color: var(--blue);
  border: 1px solid rgba(30, 127, 194, .35);
  border-radius: var(--radius);
  padding: .3rem .5rem;
  background: var(--surface);
}
.step h3 { font-size: 1.1rem; font-weight: 700; }
.step p { color: var(--ink-soft); margin-top: .35rem; font-size: .95rem; max-width: 46ch; }

/* =============================================================
   8. Formularios
   ============================================================= */
.form-wrap { max-width: 900px; }

.stack-form {
  display: grid; gap: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3.5vw, 2.2rem);
}
.stack-form-dark {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line-dark);
}

.form-row { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .875rem; font-weight: 600; color: var(--ink-soft); }
.stack-form-dark .field label { color: var(--on-dark); }

.field input, .field select, .field textarea {
  font: inherit;
  width: 100%;
  padding: .7rem .85rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 127, 194, .16);
}
.field input[aria-invalid="true"] { border-color: #C0392B; }

.stack-form-dark .field input,
.stack-form-dark .field select {
  background: rgba(255, 255, 255, .06);
  border-color: var(--line-dark);
  color: #fff;
}
.stack-form-dark .field input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(63, 193, 233, .2); }

.file-control {
  position: relative;
  display: flex; align-items: center; gap: .7rem;
  padding: .4rem .5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.stack-form-dark .file-control { background: rgba(255, 255, 255, .06); border-color: var(--line-dark); }

.file-input {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0; cursor: pointer;
}
.file-control:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30, 127, 194, .16); }
.stack-form-dark .file-control:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(63, 193, 233, .2); }
.file-control:hover { border-color: rgba(30, 127, 194, .5); }

.file-btn {
  flex: none;
  padding: .35rem .7rem;
  border-radius: 4px;
  font-size: .82rem; font-weight: 600;
  background: var(--navy); color: #fff;
}
.stack-form-dark .file-btn { background: var(--cyan); color: var(--navy-deep); }

.file-name {
  font-size: .85rem; color: var(--ink-mute);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.stack-form-dark .file-name { color: var(--on-dark-mute); }
.file-name.has-file { color: var(--ink); font-weight: 500; }
.stack-form-dark .file-name.has-file { color: #fff; }

.file-control.is-invalid { border-color: #C0392B; }
.stack-form-dark .file-control.is-invalid { border-color: #E06A5C; }

.file-hint { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
.stack-form-dark .file-hint { color: var(--on-dark-mute); }
.file-hint.is-error { color: #E06A5C; letter-spacing: 0; text-transform: none; font-family: var(--sans); font-size: .82rem; }

.upload-grid { display: grid; gap: 1.1rem; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .4rem; }
.form-status { font-size: .9rem; color: var(--ink-soft); }
.form-status-light { color: var(--on-dark-mute); }
.form-status.is-ok { color: #1B7F4B; font-weight: 600; }
.form-status-light.is-ok { color: var(--cyan); }
.form-status.is-error { color: #C0392B; font-weight: 600; }
.form-status-light.is-error { color: #F0908A; }

/* =============================================================
   9. Footer
   ============================================================= */
.site-footer {
  background: var(--navy-deep);
  color: var(--on-dark-mute);
  padding-block: 2.5rem;
  border-top: 1px solid var(--line-dark);
}
.footer-row { display: grid; gap: .9rem; }
.brand-footer .brand-logo { height: 58px; }
.brand-footer .brand-legal { color: var(--on-dark-mute); border-left-color: var(--line-dark); }
.footer-contact a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.footer-copy { font-size: .85rem; color: rgba(157, 180, 206, .7); }

/* =============================================================
   10. Reveal (fade sutil al hacer scroll)
   ============================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* =============================================================
   11. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .form-row-2 { grid-template-columns: 1fr 1fr; }
  .upload-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 720px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .program-grid { grid-template-columns: 1fr 1fr; }
  .check-list { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 2.5rem; }
  .footer-row { grid-template-columns: auto 1fr; align-items: center; column-gap: 2rem; }
  .footer-copy { grid-column: 1 / -1; }
}

@media (min-width: 960px) {
  .nav, .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .check-list { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem 1.75rem; }
  .step { padding-left: 0; padding-top: 3rem; }
  .step-num { top: 0; }
}
