/* Nodir Trucking — nodirtrucking.com */

:root {
  --navy-900: #0d1726;
  --navy-800: #122036;
  --navy-700: #1a2c47;
  --navy-100: #e8edf5;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --text: #1f2937;
  --text-muted: #5b6675;
  --text-invert: #f4f7fb;
  --text-invert-muted: #b9c4d4;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --border: #dfe4ec;
  --radius: 10px;
  --container: 1080px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

img {
  max-width: 100%;
}

a {
  color: var(--accent-dark);
}

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

/* Header */
.site-header {
  background: var(--navy-900);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-invert);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.brand-name {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2px;
  line-height: 1.2;
}

.brand-sub {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-invert-muted);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text-invert-muted);
  text-decoration: none;
  font-size: 15px;
}

.site-nav a:hover {
  color: var(--text-invert);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--navy-900);
}

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

.btn-outline {
  background: transparent;
  color: var(--text-invert);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  border-color: #fff;
}

.site-nav .btn {
  padding: 9px 18px;
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: var(--text-invert);
  padding: 84px 0 72px;
}

.hero .kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.15;
  max-width: 760px;
  margin-bottom: 18px;
}

.hero p {
  font-size: 18px;
  color: var(--text-invert-muted);
  max-width: 640px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Trust bar */
.trust-bar {
  background: var(--navy-800);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
}

.trust-bar .container {
  display: flex;
  justify-content: center;
  gap: 12px 36px;
  flex-wrap: wrap;
  color: var(--text-invert-muted);
  font-size: 14px;
}

.trust-bar strong {
  color: var(--text-invert);
  font-weight: 600;
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-soft);
}

.section-title {
  font-size: clamp(24px, 3.5vw, 32px);
  margin-bottom: 12px;
  color: var(--navy-900);
}

.section-lead {
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 40px;
  font-size: 17px;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.card .card-icon {
  font-size: 26px;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--navy-900);
}

.card p {
  font-size: 15px;
  color: var(--text-muted);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  counter-reset: step;
}

.step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--navy-900);
}

.step p {
  font-size: 14.5px;
  color: var(--text-muted);
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: var(--text-invert);
  padding: 56px 0;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 10px;
}

.cta-band p {
  color: var(--text-invert-muted);
  margin-bottom: 26px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.contact-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.contact-item h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.contact-item p,
.contact-item a {
  font-size: 15.5px;
  color: var(--text);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--accent-dark);
}

/* Footer */
.site-footer {
  background: var(--navy-900);
  color: var(--text-invert-muted);
  padding: 44px 0 30px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 32px;
  margin-bottom: 30px;
}

.site-footer h4 {
  color: var(--text-invert);
  font-size: 14px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a {
  color: var(--text-invert-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text-invert);
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 10px 24px;
  flex-wrap: wrap;
  font-size: 13px;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Page (legal / apply) */
.page-hero {
  background: var(--navy-900);
  color: var(--text-invert);
  padding: 48px 0 40px;
}

.page-hero h1 {
  font-size: clamp(26px, 4vw, 36px);
  margin-bottom: 8px;
}

.page-hero p {
  color: var(--text-invert-muted);
  max-width: 640px;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 20px 72px;
}

.legal-content .effective-date {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.legal-content h2 {
  font-size: 20px;
  color: var(--navy-900);
  margin: 34px 0 12px;
}

.legal-content p {
  margin-bottom: 14px;
}

.legal-content ul {
  margin: 0 0 14px 22px;
}

.legal-content li {
  margin-bottom: 6px;
}

/* Apply form */
.form-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 20px 80px;
}

.form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-900);
}

.form-field .required {
  color: #c0392b;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--text);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.consent-block {
  margin-top: 26px;
  padding: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.consent-block .consent-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.consent-block .consent-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.consent-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.consent-option:last-child {
  margin-bottom: 0;
}

.consent-option input[type="checkbox"] {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  accent-color: var(--accent-dark);
}

.consent-option label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  font-weight: 400;
}

.form-footer {
  margin-top: 24px;
}

.form-footer .btn {
  width: 100%;
  font-size: 16px;
  padding: 14px;
}

.form-disclaimer {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: center;
}

.form-success {
  display: none;
  background: #ecfdf3;
  border: 1px solid #b7e4c7;
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}

.form-success h2 {
  color: #14532d;
  font-size: 20px;
  margin-bottom: 8px;
}

.form-success p {
  color: #166534;
  font-size: 15px;
}

.form-error {
  display: none;
  margin-top: 14px;
  font-size: 14px;
  color: #b91c1c;
  text-align: center;
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .section {
    padding: 52px 0;
  }
}
