/* ============================================================
   SONMAX Logistics — Variant 3: Best Interpretation (UX + Commercial)
   Warmer dark base, clean commercial layout, conversion-optimized,
   strong CTA hierarchy, icon tabs, 2x2 process grid
   ============================================================ */

:root {
  --yellow: #fff500;
  --black: #000000;
  --bg: #0d0d0d;
  --panel: #161616;
  --panel-alt: #111111;
  --border: #252525;
  --muted: #666;
  --text: #bbb;
  --white: #ffffff;
  --container: 1280px;
  --gap: 48px;
  --radius: 4px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* UTILITIES */
.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.section-label {
  color: var(--yellow);
  margin-bottom: 12px;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.section-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 40px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 14px 32px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
}

.btn--lg {
  padding: 18px 44px;
  font-size: 15px;
}

.btn--yellow {
  background: var(--yellow);
  color: var(--black);
}
.btn--yellow:hover { background: #f5ea00; transform: translateY(-1px); }

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.btn--full { width: 100%; text-align: center; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo__icon {
  width: 38px;
  height: 38px;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}

.logo__icon span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 900;
  color: var(--black);
  letter-spacing: 0.04em;
}

.logo__text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
}

.logo__tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--yellow);
  letter-spacing: 0.18em;
  margin-top: 3px;
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav__link:hover { color: var(--white); }

.header__cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.header__phone {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}
.header__phone:hover { color: var(--yellow); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 120px 0 100px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #0d0d0d 0%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 500px at 80% 50%, rgba(255,245,0,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__eyebrow {
  color: var(--yellow);
  margin-bottom: 28px;
  display: inline-block;
  border: 1px solid rgba(255,245,0,0.25);
  padding: 6px 18px;
  border-radius: 2px;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.hero__title {
  font-size: 120px;
  font-weight: 700;
  color: var(--white);
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.1em;
  line-height: 1.6;
  margin-bottom: 48px;
  max-width: 600px;
}

.hero__service-pills {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
  transition: all 0.2s;
}

.pill:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FORM SECTION
   ============================================================ */
.form-section {
  padding: 0;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
}

.form-section__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.form-section__left {
  padding: 80px 64px 80px 0;
  border-right: 1px solid var(--border);
}

.form-section__tag {
  color: var(--yellow);
  margin-bottom: 16px;
}

.form-section__title {
  font-size: 38px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.form-section__desc {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.form-trust {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--text);
}

.trust-item__icon {
  width: 24px;
  height: 24px;
  background: var(--yellow);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 1px;
}

.form-section__right {
  padding: 80px 0 80px 64px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form__heading {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.form-input {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  border-radius: var(--radius);
}

.form-input::placeholder { color: var(--muted); }
.form-input:focus { border-color: var(--yellow); }

.form-textarea {
  min-height: 96px;
  resize: vertical;
}

.form-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* ============================================================
   DELIVERY TABS
   ============================================================ */
.delivery {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}

#t-sea, #t-air, #t-rail { display: none; }

.tab-nav {
  display: flex;
  gap: 8px;
  margin-top: 0;
  margin-bottom: 24px;
}

.tab-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  cursor: pointer;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s;
  text-align: center;
}
.tab-nav__item:hover { color: var(--white); border-color: var(--muted); }

.tab-icon {
  font-size: 24px;
  display: block;
}

#t-sea:checked ~ .tab-nav label[for="t-sea"],
#t-air:checked ~ .tab-nav label[for="t-air"],
#t-rail:checked ~ .tab-nav label[for="t-rail"] {
  border-color: var(--yellow);
  color: var(--yellow);
  background: rgba(255,245,0,0.05);
}

.tab-panel {
  display: none;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

#t-sea:checked ~ .tab-panels #p-sea,
#t-air:checked ~ .tab-panels #p-air,
#t-rail:checked ~ .tab-panels #p-rail {
  display: block;
}

.tab-panel__grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
}

.tab-panel__info {
  padding: 48px 56px;
  border-right: 1px solid var(--border);
}

.tab-panel__label {
  color: var(--yellow);
  margin-bottom: 14px;
}

.tab-panel__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 14px;
}

.tab-panel__desc {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 15px;
}

.tab-panel__details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.detail-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  font-size: 14px;
}

.detail-key {
  color: var(--muted);
  font-weight: 500;
}

.detail-val {
  color: var(--text);
}

.tab-panel__meta {
  padding: 48px 40px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.eta-block {
  text-align: center;
}

.eta-block__label {
  color: var(--yellow);
  margin-bottom: 10px;
}

.eta-block__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 64px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.eta-block__note {
  font-size: 13px;
  color: var(--muted);
}

.tab-highlights {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.highlight {
  font-size: 13px;
  color: var(--text);
  padding: 10px 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 500;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 100px 0;
  background: var(--panel-alt);
  border-bottom: 1px solid var(--border);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about__title {
  font-size: 34px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 28px;
}

.about__inline-stats {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  border: 1px solid var(--border);
}

.inline-stat {
  flex: 1;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid var(--border);
}

.inline-stat:last-child { border-right: none; }

.inline-stat__num {
  font-size: 40px;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  flex-shrink: 0;
}

.inline-stat__label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.3;
}

.about__text {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

/* Service Cards */
.service-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.service-card:hover { border-color: var(--yellow); }

.service-card__icon {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.service-card__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.4;
}

.service-card__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* ============================================================
   PROCESS (2x2 grid)
   ============================================================ */
.process {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.process-card {
  background: var(--panel);
  padding: 48px 40px;
  position: relative;
  transition: background 0.2s;
}

.process-card:hover { background: var(--panel-alt); }

.process-card__step {
  font-size: 64px;
  font-weight: 700;
  color: rgba(255,245,0,0.15);
  line-height: 1;
  position: absolute;
  top: 28px;
  right: 28px;
}

.process-card__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  padding-right: 60px;
}

.process-card__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.process-card::before {
  content: attr(data-step);
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--yellow);
}

/* ============================================================
   STATS (full-width black section, large yellow numbers)
   ============================================================ */
.stats {
  background: var(--black);
  padding: 80px 0;
  border-top: 3px solid var(--yellow);
}

.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.06);
}

.stat-item {
  background: var(--black);
  padding: 48px 32px;
  text-align: center;
}

.stat-item__num {
  font-size: 56px;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 12px;
  font-family: 'JetBrains Mono', monospace;
}

.stat-item__label {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  padding: 120px 0;
  background: var(--panel);
  border-top: 1px solid var(--border);
}

.cta-final__inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.cta-final__trust {
  color: var(--yellow);
  margin-bottom: 24px;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.cta-final__title {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.cta-final__sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 48px;
}

.cta-final__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer__top {
  padding: 64px 0;
}

.footer__top-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
}

.footer__brand { }

.footer__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 16px;
}

.footer__links-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer__col-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav__link {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-nav__link:hover { color: var(--white); }

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-contact:hover { color: var(--white); }

.footer__bar {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer__bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-size: 13px;
  color: var(--muted);
}

.footer__contact-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.footer__sep { color: var(--border); }

.footer__quick-link {
  transition: color 0.2s;
}
.footer__quick-link:hover { color: var(--white); }

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
  :root { --gap: 20px; }

  .section-title { font-size: 26px; }

  /* Header */
  .header__inner { height: 64px; flex-wrap: nowrap; }
  .nav { display: none; }
  .header__phone { display: none; }
  .header__cta-group { margin-left: auto; }
  .header__cta-group .btn { padding: 10px 20px; font-size: 12px; }

  /* Hero */
  .hero { padding: 72px 0 64px; }
  .hero__title { font-size: 60px; }
  .hero__subtitle { font-size: 12px; }
  .hero__service-pills { gap: 8px; }
  .pill { padding: 8px 16px; font-size: 12px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; width: 100%; }

  /* Form */
  .form-section__wrap { grid-template-columns: 1fr; }
  .form-section__left {
    padding: 48px var(--gap);
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .form-section__right { padding: 48px var(--gap); }
  .form-section__title { font-size: 28px; }
  .form-grid { grid-template-columns: 1fr; }

  /* Tabs */
  .delivery { padding: 64px 0; }
  .tab-nav { gap: 4px; }
  .tab-nav__item { font-size: 10px; padding: 14px 8px; gap: 6px; }
  .tab-icon { font-size: 18px; }
  .tab-panel__grid { grid-template-columns: 1fr; }
  .tab-panel__info {
    padding: 32px 24px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .tab-panel__meta { padding: 28px 24px; }
  .eta-block__num { font-size: 48px; }
  .tab-panel__title { font-size: 20px; }

  /* About */
  .about { padding: 64px 0; }
  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .about__title { font-size: 26px; }
  .about__inline-stats { flex-direction: column; }
  .inline-stat { border-right: none; border-bottom: 1px solid var(--border); }
  .inline-stat:last-child { border-bottom: none; }
  .inline-stat__num { font-size: 32px; }

  /* Process */
  .process { padding: 64px 0; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card { padding: 32px 24px; }
  .process-card__title { font-size: 16px; padding-right: 0; }
  .process-card__step { font-size: 48px; top: 20px; right: 16px; }

  /* Stats */
  .stats { padding: 60px 0; }
  .stats__inner { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 36px 20px; }
  .stat-item__num { font-size: 40px; }

  /* CTA */
  .cta-final { padding: 80px 0; }
  .cta-final__title { font-size: 32px; }
  .cta-final__actions { flex-direction: column; }
  .cta-final__actions .btn { width: 100%; text-align: center; }

  /* Footer */
  .footer__top { padding: 48px 0; }
  .footer__top-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__links-wrap { grid-template-columns: 1fr; gap: 28px; }
  .footer__bar-inner { flex-direction: column; gap: 12px; text-align: center; }
  .footer__contact-bar { flex-wrap: wrap; justify-content: center; }
}
