/* ==========================================================================
   B&N Transportation Solutions — brand stylesheet
   ========================================================================== */

:root {
  --navy: #14213d;
  --navy-dark: #0c162b;
  --navy-mid: #1f3864;
  --orange: #f5821f;
  --orange-dark: #d96e12;
  --gray-50: #f7f8fa;
  --gray-100: #eef0f3;
  --gray-200: #dfe3e8;
  --gray-500: #7a8291;
  --gray-600: #5b6472;
  --gray-900: #1a1f29;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(20, 33, 61, 0.1);
  --radius: 10px;
  --container: 1180px;
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0 0 0.5em;
  color: var(--navy);
  text-transform: uppercase;
}

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

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  font-size: 0.85rem;
  margin-bottom: 0.75em;
}

.section {
  padding: 88px 0;
}

.section--tight {
  padding: 56px 0;
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.section--navy p {
  color: rgba(255, 255, 255, 0.75);
}

.section--gray {
  background: var(--gray-50);
}

.section-head {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn--primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

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

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

/* ---- Header ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header__logo img {
  height: 56px;
  width: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--navy);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--orange);
  border-color: var(--orange);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: var(--navy);
  border-radius: 2px;
}

/* ---- Hero ---- */

.hero {
  position: relative;
  background: linear-gradient(120deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  color: var(--white);
  overflow: hidden;
}

.hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, rgba(12, 22, 43, 0.93) 0%, rgba(20, 33, 61, 0.9) 55%, rgba(31, 56, 100, 0.8) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    radial-gradient(circle at 82% 20%, rgba(245, 130, 31, 0.35), transparent 45%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 60px);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 3;
  padding: 120px 0 100px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin-bottom: 0.3em;
}

.hero h1 span {
  color: var(--orange);
}

.hero__lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
}

.hero__cta {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero__art {
  position: relative;
}

.hero__art svg {
  width: 100%;
  height: auto;
}

.page-hero {
  background: linear-gradient(120deg, var(--navy-dark), var(--navy) 60%, var(--navy-mid));
  color: var(--white);
  padding: 90px 0 70px;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
  margin: 0 auto;
}

/* ---- Stat strip ---- */

.stat-strip {
  background: var(--orange);
  color: var(--white);
  padding: 36px 0;
}

.stat-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  flex-wrap: wrap;
}

.stat-strip strong {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.stat-strip span {
  font-size: 1.05rem;
  font-weight: 500;
}

/* ---- Cards / grids ---- */

.grid {
  display: grid;
  gap: 28px;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(20, 33, 61, 0.16);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: rgba(245, 130, 31, 0.12);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4em;
}

.service-tile {
  display: block;
  padding: 30px 24px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--orange);
  transition: background 0.2s ease, transform 0.2s ease;
}

.service-tile:hover {
  background: var(--navy-mid);
  transform: translateY(-3px);
}

.service-tile h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.3em;
}

.service-tile p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.92rem;
}

/* ---- Checklist ---- */

.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  color: var(--gray-600);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

.section--navy .checklist li {
  color: rgba(255, 255, 255, 0.8);
}

/* ---- Split layout ---- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ---- CTA banner ---- */

.cta-banner {
  background: linear-gradient(120deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.2em;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* ---- Contact page ---- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.info-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
}

.info-card h3 {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-card h3 svg {
  width: 20px;
  height: 20px;
  color: var(--orange);
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 0;
}

.map-embed iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

form.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--gray-900);
  background: var(--gray-50);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
}

.form-note {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 12px;
}

.form-success {
  display: none;
  background: #e9f7ef;
  border: 1px solid #b7e4c7;
  color: #1e6b3c;
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.form-success.is-visible {
  display: block;
}

/* ---- Footer ---- */

.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  height: 46px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-grid h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 18px;
}

.footer-grid ul li {
  margin-bottom: 10px;
}

.footer-grid a:hover {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

/* ---- Responsive ---- */

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    padding: 90px 0 60px;
    text-align: center;
  }

  .hero__lead {
    margin: 0 auto;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__art {
    max-width: 420px;
    margin: 0 auto;
  }

  .grid--3,
  .grid--2,
  .grid--5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .split {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .main-nav.is-open {
    max-height: 400px;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
  }

  .main-nav li {
    width: 100%;
    border-bottom: 1px solid var(--gray-100);
  }

  .main-nav a {
    display: block;
    padding: 14px 0;
  }

  .nav-toggle {
    display: block;
  }

  .site-header__actions .btn {
    display: none;
  }

  .grid--3,
  .grid--2,
  .grid--5 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
