/* Legacy House Logistics: colors taken from the logo (navy crew shirts, sunset orange lettering, Florida sun). */
:root {
  --navy: #0f1f3d;
  --navy-2: #1a2f57;
  --orange: #f47b20;
  --orange-deep: #d85f0b;
  --sun: #ffc23a;
  --cream: #fff6ea;
  --sand: #f6e7d1;
  --text: #1b2335;
  --muted: #5d6474;
  --line: #e8dccb;
  --white: #ffffff;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--cream); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .4em; color: var(--navy); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 22px; }

.display {
  font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.3rem, 5.5vw, 3.6rem); line-height: .95; letter-spacing: .005em;
}
.display-light { color: var(--white); }
.section-sub { color: var(--muted); margin-top: -.4em; }
.muted { color: var(--muted); }

.preview-ribbon { background: #fff0d6; color: #7a4100; text-align: center; font-size: .8rem; padding: 5px 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; letter-spacing: .02em;
  font-size: 1.15rem; padding: 10px 20px; border-radius: 8px; text-decoration: none; border: 3px solid transparent; cursor: pointer;
  transition: transform .12s ease, background .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-big { font-size: 1.35rem; padding: 13px 26px; }
.btn-block { width: 100%; }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 4px 0 var(--orange-deep); }
.btn-orange:hover { background: #ff8a2e; }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 4px 0 #050d1d; }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-white { background: #fff; color: var(--navy); box-shadow: 0 4px 0 #c9d2e3; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

/* Top line + header */
.topline { background: var(--navy); color: #c8d3ea; font-size: .88rem; }
.topline-inner { display: flex; justify-content: space-between; gap: 16px; padding: 7px 22px; }
.topline a { color: #fff; font-weight: 700; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 3px solid var(--orange); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 78px; }
.brand { margin-right: auto; }
.brand img { height: 62px; width: auto; }
.nav { display: flex; gap: 24px; }
.nav a { text-decoration: none; font-weight: 600; color: var(--navy); font-size: .98rem; }
.nav a:hover { color: var(--orange-deep); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--cream); padding: 40px 0 0; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; position: relative; z-index: 1; padding-bottom: 40px; }
.hero-copy { padding: 0; }
.hero h1 {
  font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.6rem, 5.4vw, 4.3rem); line-height: .92; letter-spacing: -.005em;
}
.hero h1 { text-wrap: balance; }
.hero h1 span { color: var(--orange); display: block; }
.lede { font-size: 1.22rem; color: #39425a; max-width: 33em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.hero-small { color: var(--muted); font-size: .98rem; }
.hero-art { position: relative; }
.hero-art img { position: relative; width: 100%; max-width: 500px; height: auto; margin: 0 auto; filter: drop-shadow(0 12px 16px rgba(15,31,61,.16)); }
.sun { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(255,194,58,.5) 0 38%, rgba(255,194,58,0) 70%); right: 4%; top: -30px; }
.livery { height: 34px; background: linear-gradient(100deg, var(--navy) 0 58%, var(--orange) 58% 82%, var(--sun) 82%); clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%); }

/* What we haul */
.haul { background: var(--white); padding: 72px 0 64px; }
.haul-list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 3px solid var(--navy); }
.haul-list li { display: grid; grid-template-columns: 70px 1fr auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.haul-num { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 2.4rem; color: var(--orange); line-height: 1; }
.haul-list h3 { margin: 0 0 4px; font-size: 1.35rem; }
.haul-list p { margin: 0; color: var(--muted); }
.tag { background: var(--navy); color: #fff; font-weight: 700; font-size: .82rem; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }

/* Trucks */
.trucks { background: var(--navy); padding: 70px 0 80px; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 14px, transparent 14px 28px); }
.trucks .display span { color: var(--orange); display: block; }
.truck-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 96px; }
.truck-card {
  background: var(--cream); border: 4px solid #050d1d; border-radius: 22px; padding: 0 28px 26px;
  box-shadow: 9px 9px 0 var(--orange); position: relative;
}
.truck-art { width: 94%; height: auto; margin: -92px auto 4px; filter: drop-shadow(0 12px 10px rgba(5,13,29,.28)); }
.truck-card h3 { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 2.1rem; line-height: 1; color: var(--navy); margin: 0 0 12px; }
.truck-card ul { list-style: none; margin: 0; padding: 0; }
.truck-card li { position: relative; padding-left: 30px; margin: 6px 0; font-weight: 600; color: #2a3350; }
.truck-card li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Route */
.route { padding: 70px 0; }
.route-head { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: end; }
.route-head p { margin: 0 0 .4em; max-width: 36em; font-size: 1.08rem; }
.route-art { position: relative; margin: 18px 0 22px; }
.route-art img { width: 100%; height: auto; }
.pin-tag, .city-stickers li {
  font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.2rem; line-height: 1;
  background: var(--navy); color: #fff; padding: 8px 14px 7px; border-radius: 10px; border: 3px solid #fff;
  box-shadow: 4px 4px 0 var(--orange); white-space: nowrap;
}
.pin-tag small, .city-stickers small { display: block; font-family: var(--body); font-style: normal; font-weight: 700; text-transform: none; font-size: .74rem; color: var(--sun); margin-top: 3px; letter-spacing: .02em; }
.pin-tag.home, .city-stickers li.home { background: var(--orange); box-shadow: 4px 4px 0 var(--navy); }
.pin-tag.home small, .city-stickers li.home small { color: var(--navy); }
.pin-tag { position: absolute; left: var(--x); top: var(--y); transform: translate(26px, -50%) rotate(-2deg); }
.pin-tag.left { transform: translate(calc(-100% - 26px), -50%) rotate(-2deg); }
.pin-tag.above { transform: translate(-50%, -100%) rotate(-2deg); }
.city-stickers { display: none; list-style: none; padding: 0; margin: 0 0 20px; grid-template-columns: 1fr 1fr; gap: 12px; }
.route-note { background: var(--white); border: 2px dashed var(--orange); border-radius: 12px; padding: 16px 18px; max-width: 640px; }

/* Work photos */
.work { background: var(--sand); padding: 70px 0; }
.snaps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 26px; }
.snap { margin: 0; background: #fff; padding: 10px 10px 14px; box-shadow: 0 6px 18px rgba(15,31,61,.12); position: relative; }
.snap:nth-child(odd) { transform: rotate(-1.5deg); }
.snap:nth-child(even) { transform: rotate(1.2deg); }
.snap::before { content: ""; position: absolute; top: -10px; left: 50%; width: 70px; height: 20px; margin-left: -35px; background: rgba(255,194,58,.75); transform: rotate(-3deg); }
.snap-ph, .snap img { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; }
.snap-ph { display: grid; place-items: center; color: #9aa1b0; font-size: .9rem; background: repeating-linear-gradient(45deg, #eef0f4 0 10px, #f6f7f9 10px 20px); }
.snap figcaption { font-size: .9rem; color: var(--navy); font-weight: 600; margin-top: 10px; }

/* Reviews */
.reviews { background: var(--white); padding: 70px 0; }
.review-empty { border: 2px dashed var(--line); border-radius: 14px; padding: 30px; text-align: center; margin-top: 22px; }
.review-empty p { margin: .2em 0; font-weight: 600; color: var(--navy); }
.review-empty .muted { font-weight: 400; }

/* Quote */
.quote { background: var(--navy); padding: 76px 0; color: #d4dcee; }
.quote-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.quote-side p { font-size: 1.1rem; }
.quote-call { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.quote-art { width: 100%; max-width: 420px; height: auto; margin-top: 34px; filter: drop-shadow(0 14px 18px rgba(0,0,0,.35)); }
.ticket { background: var(--cream); color: var(--text); border-radius: 6px; padding: 0 26px 26px; position: relative; box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.ticket::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 16px; background: radial-gradient(circle at 8px 0, transparent 7px, var(--cream) 8px) repeat-x; background-size: 16px 16px; }
.ticket-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px dashed var(--navy); padding: 18px 0 12px; margin-bottom: 18px; }
.ticket-head span:first-child { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.6rem; color: var(--navy); }
.ticket-brand { font-size: .82rem; font-weight: 700; color: var(--orange-deep); text-transform: uppercase; letter-spacing: .08em; }
.field { margin: 0 0 15px; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label, legend { display: block; font-weight: 700; font-size: .92rem; color: var(--navy); margin-bottom: 6px; }
.opt { color: var(--muted); font-weight: 500; }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 13px; border: 2px solid #d9cbb4; border-radius: 8px; background: #fff; color: var(--text); }
input[type="file"] { padding: 9px; }
textarea { resize: vertical; }
input:invalid.touched, select:invalid.touched, textarea:invalid.touched { border-color: #c2410c; }
.hint { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.radios { display: flex; gap: 20px; flex-wrap: wrap; }
.radios label { display: flex; align-items: center; gap: 7px; font-weight: 600; margin: 0; }
.radios input { width: auto; accent-color: var(--orange); }
.form-error { color: #9a2a0c; background: #ffe9dc; border-radius: 8px; padding: 10px 14px; font-size: .95rem; }
.form-done { background: #e8f7ee; color: #0b5c35; border-radius: 8px; padding: 14px 16px; margin-top: 14px; }
.form-done p { margin: 0; }

/* Footer */
.site-footer { background: #091530; color: #aeb9d0; padding: 44px 0 26px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.footer-inner img { width: 210px; height: auto; background: var(--cream); border-radius: 12px; padding: 8px 12px; }
.footer-inner p { margin: 0; max-width: 34em; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: #fff; font-weight: 700; text-decoration: none; }
.footer-small { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; border-top: 1px solid #1d2c4d; margin-top: 28px; padding-top: 16px; }

.mobile-bar { display: none; }

@media (max-width: 980px) {
  .nav { display: none; }
  .hero-inner, .quote-inner, .route-head { grid-template-columns: 1fr; }
  .route-head { gap: 6px; }
  .quote-art { display: none; }
  .hero-inner { gap: 22px; padding-bottom: 30px; }
  .hero-art img { max-width: 420px; }
  .snaps { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 17px; padding-bottom: 76px; }
  .topline-inner > span { display: none; }
  .topline-inner { justify-content: center; }
  .header-inner { min-height: 64px; }
  .header-inner .btn { display: none; } /* bottom bar carries the actions */
  .brand img { height: 46px; }
  .hero { padding-top: 26px; }
  .hero-inner { gap: 14px; padding-bottom: 24px; }
  .hero-ctas { margin: 20px 0 10px; }
  .hero-art img { max-width: 320px; }
  .sun { width: 220px; height: 220px; top: -10px; right: 10%; }
  .hero-ctas .btn-orange { flex-basis: 100%; }
  .hero-ctas .btn-navy, .hero-ctas .btn-line { flex: 1; }
  .haul { padding: 52px 0; }
  .haul-list li { grid-template-columns: 48px 1fr; }
  .haul-list .tag { grid-column: 2; justify-self: start; }
  .haul-num { font-size: 1.9rem; }
  .trucks, .route, .work, .reviews, .quote { padding: 52px 0; }
  .truck-row, .field-row { grid-template-columns: 1fr; }
  .truck-row { gap: 84px; margin-top: 80px; }
  .truck-art { margin-top: -74px; }
  .truck-card h3 { font-size: 1.8rem; }
  .pin-tag { display: none; }
  .city-stickers { display: grid; }
  .city-stickers li { font-size: 1.05rem; }
  .ticket { padding: 0 18px 20px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 3px solid var(--orange);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 8px; text-decoration: none;
    font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.2rem;
    color: var(--navy); border: 3px solid var(--navy);
  }
  .mobile-bar .mobile-quote { background: var(--orange); border-color: var(--orange); color: #fff; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
