/* Consolix Logistics — sitio público */
:root {
  --navy: #0E2B3C;
  --navy-2: #163B50;
  --amber: #FABA33;
  --paper: #F4F6F7;
  --white: #FFFFFF;
  --ink: #0E2B3C;
  --muted: #4E6578;
  --line: #CBD3DA;
  --mist: #E1E8EC;
  --max: 1120px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }

/* Header */
.site-header {
  background: var(--navy);
  color: var(--white);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px; flex-wrap: wrap;
}
.wordmark {
  color: var(--white); text-decoration: none;
  font-weight: 800; font-size: 22px; letter-spacing: .01em;
  font-variation-settings: "wdth" 125;
  display: inline-flex; align-items: center; gap: 10px;
}
.wordmark .box {
  width: 22px; height: 22px; background: var(--amber); border-radius: 3px;
  position: relative; flex: none;
}
.wordmark .box::after {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 4px;
  transform: translateX(-50%); background: var(--navy); opacity: .35;
}
.wordmark img { display: block; height: 32px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav a { color: #D6E1E8; text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--white); }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  font-size: 15px; padding: 10px 18px; border-radius: 6px;
  border: 2px solid transparent; line-height: 1.2;
}
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: #FFC94F; }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
@media (max-width: 720px) {
  .nav { gap: 14px; width: 100%; padding-bottom: 12px; }
  .nav .hide-sm { display: none; }
  .nav .btn { margin-left: auto; }
}

/* Hero */
.hero { background: var(--navy); color: var(--white); padding: 56px 0 88px; overflow: hidden; }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 56px; align-items: center;
}
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(36px, 5.2vw, 62px);
  line-height: 1.04;
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  letter-spacing: -.01em;
  max-width: 16ch;
}
.hero p.lead { font-size: 19px; color: #D6E1E8; max-width: 52ch; margin: 0 0 28px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-ghost { border-color: #8FA6B6; color: var(--white); }
.hero .btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
@media (max-width: 860px) {
  .hero { padding: 40px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
}

/* Shipping label (the one memorable element) */
.label {
  background: var(--white); color: #111820;
  border-radius: 4px;
  width: 100%; max-width: 380px; margin-left: auto;
  aspect-ratio: 4 / 6;
  display: grid; grid-template-rows: auto 1fr auto auto auto;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55);
  transform: rotate(2.5deg);
  font-variation-settings: "wdth" 88;
  border: 2px solid #111820;
}
.label > div { border-bottom: 2px solid #111820; padding: 12px 16px; }
.label > div:last-child { border-bottom: 0; }
.label .lbl-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.label .svc { font-weight: 900; font-size: 40px; line-height: 1; font-variation-settings: "wdth" 70; }
.label .small { font-size: 12px; line-height: 1.35; }
.label .small b { display: block; font-size: 11px; color: #4A5560; font-weight: 600; }
.label .to { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.2; font-weight: 800; margin-top: 6px; }
.label .lbl-to { display: flex; flex-direction: column; justify-content: center; }
.label .barcode {
  height: 92px; margin: 4px 0 6px;
  background:
    repeating-linear-gradient(90deg,
      #111820 0 3px, transparent 3px 5px, #111820 5px 6px, transparent 6px 9px,
      #111820 9px 13px, transparent 13px 15px, #111820 15px 16px, transparent 16px 20px,
      #111820 20px 22px, transparent 22px 23px, #111820 23px 27px, transparent 27px 30px);
}
.label .track { font-size: 13px; text-align: center; letter-spacing: .12em; font-weight: 600; }
.label .steps { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; }
.label .steps span {
  font-size: 11px; text-align: center; padding: 8px 4px; border-right: 2px solid #111820; font-weight: 600;
}
.label .steps span:last-child { border-right: 0; background: var(--amber); }
@media (max-width: 860px) { .label { margin: 0 auto; max-width: 320px; transform: rotate(1.5deg); } }
@media (prefers-reduced-motion: no-preference) {
  .label { animation: drop .9s cubic-bezier(.2, .8, .2, 1) both .15s; }
  @keyframes drop { from { opacity: 0; transform: translateY(-24px) rotate(-4deg); } to { opacity: 1; transform: rotate(2.5deg); } }
}

/* Sections */
section.block { padding: 80px 0; }
section.block + section.block { border-top: 1px solid var(--line); }
.block h2 {
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; margin: 0 0 16px;
  font-weight: 800; font-variation-settings: "wdth" 108; letter-spacing: -.005em;
  max-width: 22ch;
}
.block .intro { color: var(--muted); max-width: 60ch; margin: 0 0 40px; font-size: 18px; }
@media (max-width: 600px) { section.block { padding: 56px 0; } }

/* Audience: two columns with a rule between */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 3px solid var(--navy); }
.audience > div { padding: 28px 32px 8px 0; }
.audience > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.audience h3 { margin: 0 0 8px; font-size: 22px; font-variation-settings: "wdth" 108; }
.audience p { margin: 0 0 16px; color: var(--muted); max-width: 46ch; }
@media (max-width: 760px) {
  .audience { grid-template-columns: 1fr; }
  .audience > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* Process: real sequence → numbered */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.process li { counter-increment: step; padding: 20px 20px 0 0; border-top: 3px solid var(--line); position: relative; }
.process li::before {
  content: counter(step); display: block; font-weight: 800; font-size: 40px; line-height: 1;
  color: var(--navy); font-variation-settings: "wdth" 75; margin-bottom: 12px;
}
.process li:first-child { border-top-color: var(--amber); }
.process h3 { margin: 0 0 6px; font-size: 18px; }
.process p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 960px) {
  .process { grid-template-columns: 1fr; }
  .process li { display: grid; grid-template-columns: 56px 1fr; padding: 18px 0; column-gap: 8px; }
  .process li::before { grid-row: span 2; margin: 0; }
}

/* Platform: definition list */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; margin: 0; }
.features > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.features dt { font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.features dd { margin: 0; color: var(--muted); max-width: 52ch; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

/* Notice for end customers */
.notice {
  background: var(--mist); border-left: 4px solid var(--amber);
  padding: 20px 24px; border-radius: 0 6px 6px 0; max-width: 760px;
}
.notice p { margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 28px; }
.contact-card address { font-style: normal; line-height: 1.7; }
.contact-card .legal { font-weight: 800; font-variation-settings: "wdth" 110; font-size: 18px; }
.contact-list { list-style: none; padding: 0; margin: 16px 0 0; }
.contact-list li { padding: 6px 0; }
.contact-list span { display: inline-block; min-width: 82px; color: var(--muted); }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--navy); color: #C3D1DB; padding: 40px 0; font-size: 15px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: #E6EEF3; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer p { margin: 0; }

/* Legal / document pages */
.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; margin: 0 0 8px; font-variation-settings: "wdth" 108; }
.doc .meta { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font-size: 22px; margin: 40px 0 10px; font-variation-settings: "wdth" 105; }
.doc h3 { font-size: 18px; margin: 24px 0 6px; }
.doc p, .doc li { max-width: 72ch; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc table { border-collapse: collapse; width: 100%; margin: 12px 0 8px; font-size: 15px; }
.doc th, .doc td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; vertical-align: top; }
.doc th { font-weight: 700; }
.doc .table-scroll { overflow-x: auto; }
.lang-switch { font-size: 14px; margin: 0 0 24px; }
