/* ============================================================
   Canuck Containers LLC - Container Yard Theme
   Light warm-paper theme with rust-orange accent
   ============================================================ */

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

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2B2720;
  background-color: #FAF6EF;
  overflow-x: hidden;
}

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

a {
  color: #C2571B;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.btn {
  display: inline-block;
  padding: 14px 30px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-rust {
  background-color: #C2571B;
  color: #FFFFFF;
}

.btn-rust:hover {
  background-color: #A84A16;
}

.btn-outline {
  background-color: #FFFFFF;
  border-color: #201C15;
  color: #201C15;
}

.btn-outline:hover {
  background-color: #201C15;
  color: #FFFFFF;
}

.btn-lg {
  padding: 16px 38px;
  font-size: 16px;
}

.btn-block {
  display: block;
  width: 100%;
}

/* ---------- Eyebrow chip ---------- */

.eyebrow {
  display: inline-block;
  background-color: #C2571B;
  color: #FAF6EF;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 4px;
}

/* ---------- Scroll reveal ---------- */

.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .ticker-track {
    animation: none !important;
  }
}

/* ============================================================
   CRUMB-TRAIL NAVIGATION
   ============================================================ */

.crumb-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
  padding: 0 40px;
  background-color: #FAF6EF;
  border-bottom: 1px solid #E3D8C6;
}

.crumb-nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.crumb-nav-mark {
  position: relative;
  width: 32px;
  height: 24px;
  border: 2px solid #C2571B;
  border-radius: 2px;
  background-color: #F1E9DC;
  background-image: repeating-linear-gradient(
    to right,
    transparent 0,
    transparent 6px,
    #C2571B 6px,
    #C2571B 7px
  );
}

.crumb-nav-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid #C2571B;
}

.crumb-nav-wordmark {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #201C15;
  text-decoration: none;
}

.crumb-nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.crumb-nav-links a {
  color: #2B2720;
  text-decoration: none;
  font-weight: 600;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}

.crumb-nav-links a:hover {
  color: #C2571B;
  border-bottom-color: #C2571B;
}

.crumb-nav-links .sep {
  color: #B5A68C;
}

.crumb-cta {
  flex-shrink: 0;
  background-color: #C2571B;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  transition: background-color 0.25s ease;
}

.crumb-cta:hover {
  background-color: #A84A16;
}

.crumb-nav-toggle {
  display: none;
  background: none;
  border: 2px solid #C2571B;
  border-radius: 6px;
  width: 44px;
  height: 40px;
  cursor: pointer;
  flex-shrink: 0;
}

.crumb-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #2B2720;
  margin: 4px auto;
}

/* ============================================================
   YARD-STATS HERO
   ============================================================ */

.stat-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 40px 120px;
  background-color: #FAF6EF;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 56px,
    #E3D8C6 56px,
    #E3D8C6 57px
  );
}

.stat-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-hero-copy {
  max-width: 660px;
}

.stat-hero h1 {
  margin-top: 24px;
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 800;
  color: #201C15;
}

.stat-hero h1 .rust {
  color: #C2571B;
}

.stat-hero .lede {
  margin-top: 26px;
  font-size: 18px;
  line-height: 1.75;
  color: #2B2720;
  max-width: 620px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

/* Stat strip */

.stat-strip {
  display: flex;
  margin-top: 52px;
  max-width: 780px;
  background-color: #FFFFFF;
  border: 1px solid #E3D8C6;
  border-radius: 8px;
  overflow: hidden;
}

.stat-cell {
  flex: 1;
  padding: 24px 20px;
  border-left: 1px solid #E3D8C6;
}

.stat-cell:first-child {
  border-left: 0;
}

.stat-num {
  display: block;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  color: #C2571B;
}

.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6E6252;
}

/* Decorative container stack at the hero right edge */

.hero-stack {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  height: 300px;
  z-index: 0;
  pointer-events: none;
}

.hero-stack-box {
  position: absolute;
  left: 0;
  width: 100%;
}

.hero-stack-box--back {
  top: 0;
  transform: scale(0.86);
}

.hero-stack-box--front {
  bottom: 0;
  transform: scale(0.86);
}

/* ============================================================
   CORRUGATED CONTAINER GRAPHICS (pure CSS)
   ============================================================ */

.container-graphic {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 16 / 10;
  background-color: #F1E9DC;
  border: 3px solid #C2571B;
  border-radius: 3px;
  background-image:
    radial-gradient(circle at 11px 11px, #C2571B 0 2.4px, transparent 3.4px),
    radial-gradient(circle at calc(100% - 11px) 11px, #C2571B 0 2.4px, transparent 3.4px),
    radial-gradient(circle at 11px calc(100% - 11px), #C2571B 0 2.4px, transparent 3.4px),
    radial-gradient(circle at calc(100% - 11px) calc(100% - 11px), #C2571B 0 2.4px, transparent 3.4px),
    repeating-linear-gradient(
      to right,
      transparent 0,
      transparent 26px,
      #E3D8C6 26px,
      #E3D8C6 28px
    );
}

.container-graphic::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px solid #C2571B;
  border-radius: 2px;
}

.container-graphic::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  transform: translateX(-50%);
  width: 66px;
  height: 26px;
  background-color: #FAF6EF;
  border: 2px solid #C2571B;
  border-radius: 3px;
  background-image: repeating-linear-gradient(
    to bottom,
    #C2571B 0,
    #C2571B 2px,
    transparent 2px,
    transparent 6px
  );
}

.container-graphic--reefer {
  max-width: 360px;
}

.container-graphic--reefer .cg-vent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44%;
  height: 38%;
  border: 2px solid #C2571B;
  background-color: #FAF6EF;
  background-image: repeating-linear-gradient(
    to right,
    #C2571B 0,
    #C2571B 2px,
    transparent 2px,
    transparent 9px
  );
}

.container-graphic--modified .cg-door {
  position: absolute;
  top: 50%;
  right: 14%;
  transform: translateY(-50%);
  width: 34%;
  height: 72%;
  border: 2px solid #C2571B;
  background-color: #FAF6EF;
  background-image: linear-gradient(
    to right,
    transparent 0 49.5%,
    #C2571B 49.5% 50.5%,
    transparent 50.5%
  );
}

.container-graphic--delivery .cg-ground {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 38px;
  height: 2px;
  background-color: #C2571B;
}

.container-graphic--delivery .cg-arrow {
  position: absolute;
  left: 50%;
  top: 42px;
  transform: translateX(-50%);
  width: 34px;
  height: 30px;
  border-left: 2px solid #C2571B;
  border-right: 2px solid #C2571B;
  border-bottom: 2px solid #C2571B;
}

.container-graphic--delivery .cg-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 10px solid #C2571B;
}

.container-graphic--buyback .cg-loop {
  position: absolute;
  left: 50%;
  top: 38px;
  transform: translateX(-50%);
  width: 44px;
  height: 32px;
  border-top: 2px solid #C2571B;
  border-radius: 50% 50% 0 0;
}

.container-graphic--stack {
  max-width: 360px;
}

.container-graphic--stack .cg-second {
  position: absolute;
  top: -30px;
  left: 0;
  width: 100%;
  height: 62px;
  border: 2px solid #C2571B;
  border-radius: 2px;
  background-color: #E8DCC8;
}

/* ============================================================
   ALTERNATING ROWS
   ============================================================ */

.alternating-rows,
.services-list,
.process {
  padding: 90px 0;
  background-color: #FAF6EF;
}

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

.section-head h2 {
  margin-top: 20px;
  font-size: 38px;
  line-height: 1.2;
  color: #201C15;
  font-weight: 800;
  position: relative;
  padding-bottom: 20px;
}

.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 64px;
  height: 4px;
  background-color: #C2571B;
  border-radius: 2px;
}

.section-lead {
  text-align: center;
  max-width: 780px;
  margin: 28px auto 0;
  color: #2B2720;
  font-size: 17px;
}

.alt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0 0;
  margin-top: 56px;
  border-top: 1px solid #E3D8C6;
}

.alt-row:first-of-type {
  margin-top: 60px;
}

.alt-row--flip .alt-graphic {
  order: -1;
}

.alt-text h3 {
  font-size: 26px;
  color: #201C15;
  margin-bottom: 16px;
  font-weight: 800;
}

.alt-text p {
  color: #2B2720;
  margin-bottom: 20px;
}

.mini-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.mini-list li {
  position: relative;
  padding-left: 20px;
  font-weight: 700;
  color: #201C15;
}

.mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: #C2571B;
}

.alt-graphic {
  display: flex;
  justify-content: center;
}

/* ============================================================
   TICKER BAND
   ============================================================ */

.ticker-band {
  overflow: hidden;
  padding: 18px 0;
  background-color: #C2571B;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}

.ticker-band:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 42px;
  padding-right: 42px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-item {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-item::before {
  content: "\25C6";
  margin-right: 42px;
  color: #F1E9DC;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ============================================================
   SPEC COMPARE
   ============================================================ */

.spec-compare {
  padding: 90px 0;
  background-color: #F1E9DC;
}

.spec-table-wrap {
  max-width: 980px;
  margin: 44px auto 0;
  background-color: #FFFFFF;
  border: 1px solid #E3D8C6;
  border-radius: 8px;
  overflow-x: auto;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.spec-table th,
.spec-table td {
  padding: 18px 22px;
  text-align: center;
  border-bottom: 1px solid #E3D8C6;
  color: #2B2720;
  font-size: 15px;
}

.spec-table thead th {
  background-color: #C2571B;
  color: #FFFFFF;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 14px;
}

.spec-table .spec-corner {
  background-color: #C2571B;
  color: #F1E9DC;
  text-align: left;
}

.spec-table tbody th {
  text-align: left;
  font-weight: 800;
  color: #201C15;
  background-color: #FAF6EF;
  width: 22%;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-note {
  max-width: 760px;
  margin: 28px auto 0;
  text-align: center;
  color: #6E6252;
  font-size: 15px;
}

/* ============================================================
   CTA BAND
   ============================================================ */

.cta-band {
  background-color: #201C15;
  text-align: center;
  padding: 90px 0;
}

.cta-band h2 {
  color: #FFFFFF;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
}

.cta-band p {
  color: #E8DCC8;
  max-width: 640px;
  margin: 18px auto 34px;
  font-size: 17px;
}

/* ============================================================
   SINGLE-ROW FOOTER
   ============================================================ */

.single-row-footer {
  background-color: #201C15;
  border-top: 1px solid #3A332A;
  padding: 28px 24px;
}

.footer-row {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-legal {
  color: #B5A68C;
  font-size: 14px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: #E8DCC8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.footer-links a:hover {
  color: #FFFFFF;
  border-bottom-color: #C2571B;
}

/* ============================================================
   SECONDARY PAGE HERO (services / contact)
   ============================================================ */

.page-hero {
  padding: 88px 24px 80px;
  background-color: #FAF6EF;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 56px,
    #E3D8C6 56px,
    #E3D8C6 57px
  );
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.page-hero h1 {
  margin-top: 22px;
  font-size: 46px;
  line-height: 1.14;
  font-weight: 800;
  color: #201C15;
  max-width: 820px;
}

.page-hero .lede {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.75;
  color: #2B2720;
  max-width: 700px;
}

.page-hero--center {
  text-align: center;
}

.page-hero--center .page-hero-inner {
  max-width: 860px;
}

.page-hero--center .lede {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   PROCESS STEPS (services page)
   ============================================================ */

.process {
  padding-top: 40px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.process-step {
  background-color: #FFFFFF;
  border: 1px solid #E3D8C6;
  border-top: 4px solid #C2571B;
  border-radius: 8px;
  padding: 26px 22px;
}

.process-num {
  display: inline-block;
  font-size: 26px;
  font-weight: 800;
  color: #C2571B;
}

.process-step h3 {
  margin: 12px 0 8px;
  font-size: 18px;
  color: #201C15;
  font-weight: 800;
}

.process-step p {
  color: #2B2720;
  font-size: 14px;
  line-height: 1.65;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-section {
  padding: 80px 24px;
  background-color: #FAF6EF;
}

.contact-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 40px;
  align-items: start;
}

.contact-card {
  background-color: #FFFFFF;
  border: 1px solid #E3D8C6;
  border-top: 4px solid #C2571B;
  border-radius: 8px;
  padding: 34px;
}

.contact-card h2 {
  font-size: 26px;
  color: #201C15;
  font-weight: 800;
  padding-bottom: 16px;
  margin-bottom: 22px;
  border-bottom: 1px solid #E3D8C6;
}

.detail-block {
  margin-bottom: 22px;
}

.detail-block h3 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6E6252;
  font-weight: 800;
  margin-bottom: 6px;
}

.detail-block p {
  color: #2B2720;
  line-height: 1.7;
}

.detail-block a {
  color: #C2571B;
  font-weight: 700;
  text-decoration: none;
}

.detail-block a:hover {
  text-decoration: underline;
}

.detail-note {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid #E3D8C6;
}

.form-intro {
  color: #2B2720;
  margin-bottom: 24px;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-weight: 700;
  color: #201C15;
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #E3D8C6;
  border-radius: 6px;
  background-color: #FFFFFF;
  color: #2B2720;
  font-size: 16px;
  font-family: inherit;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid #C2571B;
  outline-offset: 1px;
  border-color: #C2571B;
}

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

.form-status {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 700;
  color: #6E6252;
}

.form-status.ok {
  color: #2F6B3A;
}

.form-status.err {
  color: #A84A16;
}

/* FAQ */

.faq-section {
  padding: 80px 24px 100px;
  background-color: #F1E9DC;
}

.faq-list {
  max-width: 860px;
  margin: 44px auto 0;
}

.faq-item {
  background-color: #FFFFFF;
  border: 1px solid #E3D8C6;
  border-radius: 8px;
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 800;
  font-size: 17px;
  color: #201C15;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.faq-q::after {
  content: "+";
  font-size: 24px;
  line-height: 1;
  color: #C2571B;
  flex-shrink: 0;
}

.faq-item.open .faq-q::after {
  content: "\2013";
}

.faq-a {
  padding: 0 22px 20px;
  color: #2B2720;
}

.faq-a p {
  margin-bottom: 8px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1120px) {
  .hero-stack {
    display: none;
  }
}

@media (max-width: 960px) {
  .stat-hero h1 {
    font-size: 44px;
  }
  .alt-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .alt-row--flip .alt-graphic {
    order: 0;
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .crumb-nav {
    height: 60px;
    padding: 0 16px;
    gap: 12px;
  }
  .crumb-nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background-color: #FAF6EF;
    border-bottom: 1px solid #E3D8C6;
    box-shadow: 0 18px 24px -18px #3A332A;
    padding: 6px 16px 14px;
    z-index: 60;
  }
  .crumb-nav.open .crumb-nav-links {
    display: flex;
  }
  .crumb-nav-links a {
    padding: 12px 4px;
    border-bottom: 1px solid #E3D8C6;
  }
  .crumb-nav-links .sep {
    display: none;
  }
  .crumb-cta {
    display: none;
  }
  .crumb-nav-toggle {
    display: block;
  }
  .stat-hero {
    padding: 64px 20px 72px;
  }
  .stat-hero h1 {
    font-size: 36px;
  }
  .stat-strip {
    flex-wrap: wrap;
  }
  .stat-cell {
    flex: 1 1 50%;
    border-left: 0;
    border-top: 1px solid #E3D8C6;
  }
  .stat-cell:first-child {
    border-top: 0;
  }
  .stat-cell:nth-child(3) {
    border-top: 1px solid #E3D8C6;
  }
  .section-head h2 {
    font-size: 30px;
  }
  .cta-band h2 {
    font-size: 32px;
  }
  .page-hero h1 {
    font-size: 34px;
  }
  .page-hero {
    padding: 60px 20px 56px;
  }
  .ticker-group {
    gap: 26px;
    padding-right: 26px;
  }
  .ticker-item::before {
    margin-right: 26px;
  }
}

@media (max-width: 560px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
  .stat-cell {
    flex: 1 1 100%;
    border-top: 1px solid #E3D8C6;
  }
  .stat-cell:first-child {
    border-top: 0;
  }
  .contact-card {
    padding: 24px;
  }
  .spec-table-wrap {
    border-radius: 6px;
  }
}
