/* ========================================================
   Sterro Tech Group — Design Tokens
   Navy/red brand, industrial-logistics aesthetic.
   Display: Archivo (heavy, engineered)
   Body: IBM Plex Sans
   Utility/mono: IBM Plex Mono (manifest, codes, stats)
   ======================================================== */

:root {
  --navy-950: #0a1a26;
  --navy-900: #0f2231;
  --navy-800: #173247;
  --navy-700: #234158;
  --red-600: #b61920;
  --red-700: #921419;
  --paper: #f2f3ef;
  --paper-dim: #e8e9e3;
  --ink: #1b2630;
  --slate: #55636e;
  --slate-light: #8b96a0;
  --line: #d8dad3;
  --white: #ffffff;

  --font-display: "Archivo", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --container: 1180px;
  --radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  margin: 0 0 0.5em;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

h1 { font-weight: 800; }
h2 { font-weight: 800; }
h3 { font-weight: 700; }

p { margin: 0 0 1em; color: var(--slate); }

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-600);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--red-600);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--red-600);
  color: var(--white);
}
.btn-primary:hover { background: var(--red-700); }

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

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand img { height: 38px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav a {
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy-800);
  position: relative;
  padding: 6px 0;
}
.main-nav a.active { color: var(--red-600); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--red-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--slate);
  text-decoration: none;
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-900);
  margin: 5px 0;
}

/* ---------- Manifest strip (signature element) ---------- */
.manifest {
  background: var(--navy-950);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.manifest .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.manifest-item {
  padding: 22px 24px;
  border-left: 1px solid rgba(255,255,255,0.08);
}
.manifest-item:first-child { border-left: none; }
.manifest-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 6px;
}
.manifest-value {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(182,25,32,0.18), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: var(--white);
  padding: 96px 0 76px;
  overflow: hidden;
}
.hero .eyebrow { color: #ff8a8f; }
.hero .eyebrow::before { background: #ff8a8f; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  max-width: 15ch;
}
.hero p.lede {
  color: rgba(255,255,255,0.72);
  font-size: 18px;
  max-width: 56ch;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 32px;
  align-items: center;
}
.hero-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-graphic img {
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.35));
}
.hero-graphic::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182,25,32,0.15), transparent 70%);
}

/* ---------- Value prop icons ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.value-card img { width: 42px; height: 42px; margin-bottom: 18px; }
.value-card h4 { font-size: 16px; margin-bottom: 8px; }
.value-card p { font-size: 13.5px; margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.faq-item h4 {
  font-size: 17px;
  margin-bottom: 8px;
  display: flex;
  gap: 12px;
}
.faq-item h4 .q-mark {
  font-family: var(--font-mono);
  color: var(--red-600);
  flex-shrink: 0;
}
.faq-item p { font-size: 14.5px; margin: 0; padding-left: 26px; }


/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--navy-900); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.68); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Two-column hybrid model ---------- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.model-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
}
.model-card .tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 18px;
  font-weight: 600;
}
.model-card.trading .tag { background: rgba(23,50,71,0.08); color: var(--navy-800); }
.model-card.itad .tag { background: rgba(182,25,32,0.08); color: var(--red-600); }
.model-card h3 { font-size: 22px; }
.model-card ul { padding-left: 0; list-style: none; margin: 18px 0 0; }
.model-card li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--slate);
  display: flex;
  gap: 10px;
}
.model-card li::before {
  content: "→";
  color: var(--red-600);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Certified stamp (signature element) ---------- */
.stamp-block {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: center;
}
.stamp {
  width: 168px;
  height: 168px;
  border: 3px solid var(--red-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(-8deg);
  position: relative;
  flex-shrink: 0;
}
.stamp::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--red-600);
  border-radius: 50%;
  opacity: 0.6;
}
.stamp-text {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red-600);
  line-height: 1.5;
}

/* ---------- Steps (legit sequence: pickup process) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}
.step {
  padding: 0 24px 0 0;
  border-right: 1px dashed var(--line);
  position: relative;
}
.step:last-child { border-right: none; padding-right: 0; }
.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--red-600);
  font-weight: 700;
  margin-bottom: 10px;
}
.step h4 { font-size: 16.5px; margin-bottom: 8px; }
.step p { font-size: 14px; margin-bottom: 0; }

/* ---------- Accept / decline list ---------- */
.accept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.accept-card {
  border-radius: var(--radius);
  padding: 30px 32px;
}
.accept-card.yes { background: rgba(23,50,71,0.05); border: 1px solid rgba(23,50,71,0.15); }
.accept-card.no { background: rgba(182,25,32,0.05); border: 1px solid rgba(182,25,32,0.15); }
.accept-card h4 {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.accept-card.yes h4 { color: var(--navy-800); }
.accept-card.no h4 { color: var(--red-600); }
.accept-card ul { list-style: none; padding: 0; margin: 0; }
.accept-card li {
  padding: 8px 0;
  font-size: 14.5px;
  color: var(--ink);
  border-top: 1px solid rgba(0,0,0,0.06);
}
.accept-card li:first-child { border-top: none; }

/* ---------- Service cards (manifest line-item style) ---------- */
.service-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 90px 1.1fr 1.4fr;
  gap: 36px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.service-row .code {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--red-600);
  font-weight: 700;
  padding-top: 4px;
}
.service-row h3 { font-size: 24px; margin-bottom: 10px; }
.service-row .detail-list { list-style: none; padding: 0; margin: 14px 0 0; }
.service-row .detail-list li {
  font-size: 14px;
  color: var(--slate);
  padding: 6px 0 6px 18px;
  position: relative;
}
.service-row .detail-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 15px;
  width: 6px; height: 6px;
  background: var(--red-600);
}

/* ---------- Who we serve ---------- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.client-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 26px;
  border-radius: var(--radius);
}
.client-card .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: 8px;
}
.client-card h4 { font-size: 16px; margin-bottom: 6px; }
.client-card p { font-size: 13.5px; margin: 0; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--red-600);
  color: var(--white);
  padding: 56px 0;
}
.cta-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h3 { color: var(--white); margin: 0; font-size: 26px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin: 6px 0 0; }
.cta-banner .btn-primary { background: var(--navy-950); }
.cta-banner .btn-primary:hover { background: var(--navy-900); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.6);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid img { height: 34px; margin-bottom: 14px; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-brand img { height: 34px; margin-bottom: 0; }
.footer-brand span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
  letter-spacing: 0.01em;
}
.footer-grid p { color: rgba(255,255,255,0.5); font-size: 13.5px; }
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { text-decoration: none; font-size: 14px; color: rgba(255,255,255,0.6); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom .disclaimer { font-family: var(--font-mono); color: rgba(255,255,255,0.4); }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 7px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14.5px;
  background: var(--white);
  color: var(--ink);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy-800);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.info-card {
  background: var(--navy-950);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px;
}
.info-card h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 22px;
}
.info-row { display: flex; gap: 14px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.info-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.info-row .label { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.info-row .value { font-size: 15px; color: var(--white); }
.info-row a.value { text-decoration: none; }
.info-row a.value:hover { color: #ff8a8f; }

/* ---------- Focus visibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--red-600);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (min-width: 900px) {
  .header-phone { display: inline-block; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .split-grid, .accept-grid, .stamp-block, .contact-grid { grid-template-columns: 1fr; }
  .stamp-block { text-align: center; justify-items: center; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .step { border-right: none; border-bottom: 1px dashed var(--line); padding: 0 0 20px; }
  .client-grid { grid-template-columns: 1fr 1fr; }
  .manifest .container { grid-template-columns: 1fr 1fr; }
  .manifest-item:nth-child(3) { border-left: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 1fr; }
  .service-row .code { padding-top: 0; }
  .form-row { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-graphic { display: none; }
  .value-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .hero { padding: 64px 0 52px; }
  .section { padding: 56px 0; }
  .client-grid { grid-template-columns: 1fr; }
  .manifest .container { grid-template-columns: 1fr 1fr; }
  .cta-banner .container { flex-direction: column; align-items: flex-start; }
  .value-grid { grid-template-columns: 1fr; }
}

/* ---------- Mobile nav drawer ---------- */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 78px 0 0 0;
  background: var(--navy-950);
  z-index: 49;
  padding: 32px 28px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav .btn { margin-top: 24px; width: 100%; }
