:root {
  --brown: #322c25;
  --brown-deep: #221e19;
  --cream: #f5f0e8;
  --cream-alt: #ece4d8;
  --clay: #b06a3e;
  --clay-deep: #93552f;
  --ink: #2c2722;
  --muted: #6f655a;
  --hairline: rgba(44, 39, 34, 0.14);
  --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }

.eyebrow {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 13px;
  color: var(--clay);
  margin-bottom: 18px;
}
.section-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 42px;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: 0.005em;
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--brown);
  padding: 13px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  min-width: 0;
}
header .logo {
  height: 44px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
header .wordmark {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-size: 15px;
  color: #efe7da;
  line-height: 1.3;
}
header .wordmark b { font-weight: 600; color: #fff; letter-spacing: 0.42em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: #efe7da;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav-links a:hover { color: #fff; }
.nav-links a.nav-call {
  border: 1px solid rgba(231,181,141,0.55);
  color: #f0c9a5;
  padding: 9px 17px;
  border-radius: 4px;
}
.nav-links a.nav-call:hover { background: var(--clay); color: #fff; border-color: var(--clay); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #efe7da;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 45;
  background: var(--brown-deep);
  padding: 84px 30px 26px;
  display: flex;
  flex-direction: column;
  transform: translateY(-100%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 18px 44px rgba(0,0,0,0.4);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 15px;
  color: #efe7da;
  text-decoration: none;
  padding: 17px 2px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.mobile-menu a.mm-call {
  margin-top: 18px;
  border: none;
  background: var(--clay);
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 17px;
  letter-spacing: 0.12em;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin: 0 22px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  min-height: 600px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,17,14,0.55) 0%, rgba(20,17,14,0.22) 42%, rgba(20,17,14,0) 78%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 108px 46px 96px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}
.hero .eyebrow {
  color: #f0c9a5;
  display: inline-block;
  background: rgba(28, 24, 20, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  white-space: nowrap;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}
.hero h1 {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  color: #fff;
  font-size: 66px;
  line-height: 1.07;
  max-width: 760px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero h1 b { font-weight: 500; }
.hero p {
  color: rgba(255,255,255,0.92);
  font-weight: 600;
  font-size: 21px;
  margin-top: 22px;
  max-width: 540px;
  line-height: 1.5;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 14px;
  text-decoration: none;
  padding: 18px 34px;
  border-radius: 4px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(5px); }
.btn-primary {
  background: var(--clay);
  color: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}
.btn-primary:hover { background: var(--clay-deep); transform: translateY(-2px); }
.hero .btn { margin-top: 34px; }

/* ---------- Section shell ---------- */
.section { padding: 84px 22px; }
.container { max-width: 1180px; margin: 0 auto; }

/* ---------- About ---------- */
.about { background: var(--cream); }
.about .grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.about h2 { margin-bottom: 22px; }
.about p {
  font-size: 19px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 18px;
  max-width: 520px;
}
.about p:last-of-type { margin-bottom: 0; }

/* ---------- Services ---------- */
.services { background: var(--cream-alt); }
.services .head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.services .head .eyebrow { margin-bottom: 14px; }
.services .head p { margin-top: 16px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 18px 40px -28px rgba(44,39,34,0.45);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 28px 52px -26px rgba(44,39,34,0.5);
}
.card .body { padding: 26px 26px 30px; }
.card h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 23px;
  color: var(--ink);
  margin-bottom: 16px;
}
.card ul { list-style: none; }
.card ul li {
  font-size: 16px;
  color: var(--muted);
  padding: 7px 0 7px 22px;
  position: relative;
  border-bottom: 1px solid var(--hairline);
}
.card ul li:last-child { border-bottom: none; }
.card ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clay);
}

/* ---------- Featured Projects slider ---------- */
.transformations { background: var(--cream); padding-bottom: 96px; }
.transformations .head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.slider { position: relative; }
.slider-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 22px 16px;
  scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slide {
  position: relative;
  flex: 0 0 auto;
  width: 460px;
  height: 360px;
  scroll-snap-align: center;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -28px rgba(44,39,34,0.5);
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: rgba(50,44,37,0.9);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.2s ease, transform 0.2s ease;
}
.slider-btn:hover { background: var(--clay); transform: translateY(-50%) scale(1.06); }
.slider-btn.prev { left: 22px; }
.slider-btn.next { right: 22px; }

/* ---------- Contact ---------- */
.contact {
  background: var(--brown);
  color: #efe7da;
  padding: 84px 22px 0;
}
.contact .container { text-align: center; }
.contact .eyebrow { color: #e7b58d; }
.contact h2 { color: #fff; margin-bottom: 16px; }
.contact .lead {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(239,231,218,0.78);
  max-width: 480px;
  margin: 0 auto 44px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 760px;
  margin: 0 auto 48px;
}
.contact-card {
  display: block;
  text-decoration: none;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.contact-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(231,181,141,0.5);
  transform: translateY(-3px);
}
.contact-card .label {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 12px;
  color: #e7b58d;
  margin-bottom: 12px;
}
.contact-card .value {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 26px;
  color: #fff;
  word-break: break-word;
}
.contact-foot {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 8px;
  padding: 28px 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
.contact-foot .fm {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 13px;
  color: #efe7da;
}
.contact-foot .fm b { font-weight: 600; color: #fff; letter-spacing: 0.32em; }
.contact-foot .cr { font-size: 13px; color: rgba(239,231,218,0.55); letter-spacing: 0.04em; }

/* ---------- Contact form ---------- */
.contact-form {
  max-width: 760px;
  margin: 0 auto 44px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 38px 38px 40px;
  text-align: left;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: #e7b58d;
  margin-bottom: 9px;
}
.field input,
.field select,
.field textarea {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  color: #fff;
  background: rgba(20,17,14,0.4);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 6px;
  padding: 14px 15px;
  width: 100%;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(239,231,218,0.4); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(231,181,141,0.7);
  background: rgba(20,17,14,0.6);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23e7b58d' stroke-width='1.6' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.field select option { color: #1a1a1a; background: #ffffff; }
.field input.invalid,
.field select.invalid,
.field textarea.invalid { border-color: #e07060; }
.form-error {
  color: #ffb09a;
  font-size: 14px;
  text-align: center;
  margin: 0 0 16px;
}
.form-success {
  text-align: center;
  padding: 40px 0 16px;
}
.form-success .check {
  font-size: 44px;
  margin-bottom: 16px;
}
.form-success h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 30px;
  color: #fff;
  margin-bottom: 12px;
}
.form-success p {
  color: rgba(239,231,218,0.75);
  font-size: 17px;
  line-height: 1.5;
}
.form-submit {
  border: none;
  cursor: pointer;
  width: 100%;
  margin-top: 6px;
  background: var(--clay);
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 14px;
  padding: 18px 34px;
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
  transition: background 0.2s ease, transform 0.2s ease;
}
.form-submit:hover { background: var(--clay-deep); transform: translateY(-2px); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-note {
  text-align: center;
  font-size: 14px;
  color: rgba(239,231,218,0.55);
  margin-bottom: 40px;
}

/* ---------- Hamburger breakpoint ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  header { padding: 11px 20px; }
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card .value { font-size: 20px; }
  .contact-foot { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; gap: 16px; }
  .contact-form { padding: 26px 20px 28px; }
  .hero { min-height: 520px; }
  .hero h1 { font-size: 44px; }
  .hero-content { padding: 70px 26px 58px; align-items: flex-start; text-align: left; }
  .hero p { max-width: 100%; }
  .hero .eyebrow { white-space: normal; }
  .section { padding: 58px 22px; }
  .section-title { font-size: 32px; }
  .about .grid { grid-template-columns: 1fr; gap: 28px; }
  .about img#about-truck { height: 280px !important; }
  .cards { grid-template-columns: 1fr; }
  .card img { height: 220px; }
  .slide { width: 80vw; height: 300px; }
}

@media (max-width: 520px) {
  header { padding: 10px 16px; }
  header .logo { height: 38px; }
  header .wordmark { font-size: 12px; letter-spacing: 0.26em; }
  header .wordmark b { letter-spacing: 0.26em; }
  .mobile-menu { padding: 74px 20px 24px; }

  .hero { margin: 0 12px; min-height: 460px; }
  .hero-content { padding: 52px 20px 44px; }
  .hero .eyebrow {
    font-size: 11px;
    letter-spacing: 0.18em;
    padding: 7px 13px;
    margin-bottom: 14px;
  }
  .hero h1 { font-size: 33px; line-height: 1.1; }
  .hero p { font-size: 16px; margin-top: 16px; }
  .hero .btn { margin-top: 24px; width: 100%; justify-content: center; }

  .eyebrow { font-size: 12px; letter-spacing: 0.24em; margin-bottom: 14px; }
  .section { padding: 46px 18px; }
  .section-title { font-size: 26px; }
  .about img#about-truck { height: 220px !important; }
  .about p { font-size: 17px; }
  .services .head { margin-bottom: 38px; }
  .services .head p { font-size: 16px; }
  .card img { height: 200px; }
  .card .body { padding: 22px 22px 26px; }
  .card h3 { font-size: 21px; }

  .transformations .head { margin-bottom: 32px; }
  .slide { width: 84vw; height: 250px; }
  .slider-track { padding: 6px 18px 14px; gap: 14px; }
  .slider-btn { width: 42px; height: 42px; font-size: 18px; }
  .slider-btn.prev { left: 10px; }
  .slider-btn.next { right: 10px; }

  .contact h2 { font-size: 26px; }
  .contact .lead { font-size: 17px; margin-bottom: 32px; }
  .contact-card { padding: 26px 20px; }
  .contact-card .value { font-size: 17px; }
  .field input, .field select, .field textarea { font-size: 16px; }
}
