/* Mesilla Valley Dump Trailers — stylesheet */

:root {
  --rust: #c1440e;
  --rust-dark: #9a360a;
  --charcoal: #23272b;
  --charcoal-soft: #3a3f45;
  --sand: #faf5ee;
  --sand-dark: #efe4d3;
  --white: #ffffff;
  --gold: #e2a336;
  --line: #e6dcc8;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(35, 39, 43, 0.10);
  --shadow-sm: 0 4px 14px rgba(35, 39, 43, 0.08);
  --maxw: 1140px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--charcoal);
  background: var(--sand);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: "Poppins", "Inter", sans-serif; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--charcoal-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--rust); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--rust-dark); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; border-color: var(--charcoal); color: var(--charcoal); }
.btn-ghost:hover { background: var(--charcoal); color: var(--white); }
.btn-light { background: var(--white); color: var(--rust); }
.btn-light:hover { background: var(--sand-dark); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 238, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--charcoal);
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--rust), var(--rust-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .95rem;
  box-shadow: var(--shadow-sm);
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text small { font-weight: 500; font-size: .68rem; color: var(--charcoal-soft); letter-spacing: .04em; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 500;
  font-size: .95rem;
}
.nav-links a { padding: 6px 2px; border-bottom: 2px solid transparent; transition: border-color .15s, color .15s; }
.nav-links a:hover { border-color: var(--rust); color: var(--rust); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; }
.nav-phone svg { width: 18px; height: 18px; fill: var(--rust); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--charcoal); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

.site-nav-mobile { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 90px;
  background:
    radial-gradient(circle at 85% 15%, rgba(226, 163, 54, 0.16), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(193, 68, 14, 0.10), transparent 40%),
    var(--sand);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero p.lead { font-size: 1.12rem; max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stats div strong { display: block; font-family: "Poppins", sans-serif; font-size: 1.5rem; color: var(--rust); }
.hero-stats div span { font-size: .82rem; color: var(--charcoal-soft); }

.hero-art {
  position: relative;
  aspect-ratio: 1 / 0.82;
}
.hero-art svg { width: 100%; height: 100%; }

.hero-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(35, 39, 43, 0.45);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--charcoal);
  color: var(--sand);
  padding: 16px 0;
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  justify-content: center;
  align-items: center;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.trust-strip .item { display: flex; align-items: center; gap: 8px; opacity: .92; }
.trust-strip svg { width: 16px; height: 16px; fill: var(--gold); flex: none; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

/* Services / fleet */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--sand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; fill: var(--rust); }
.card ul { margin: 14px 0 0; padding-left: 18px; color: var(--charcoal-soft); font-size: .92rem; }
.card li { margin-bottom: 6px; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--rust);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
}

/* Why us */
.why-wrap {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--shadow-sm);
}
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.why-list li { display: flex; gap: 14px; align-items: flex-start; }
.why-list .tick {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.why-list .tick svg { width: 14px; height: 14px; fill: var(--charcoal); }
.why-list h3 { margin-bottom: 2px; font-size: 1.02rem; }
.why-list p { margin: 0; font-size: .92rem; }

/* Service area */
.area-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.area-chips span {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
}

/* Testimonial / CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--rust), var(--rust-dark));
  color: var(--white);
  border-radius: 24px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,.88); margin-bottom: 0; }

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 50px;
}
.contact-info-card {
  background: var(--charcoal);
  color: var(--sand);
  border-radius: 20px;
  padding: 40px;
}
.contact-info-card h3 { color: var(--white); }
.contact-info-card p { color: rgba(250,245,238,.75); }
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.info-row svg { width: 20px; height: 20px; fill: var(--gold); flex: none; margin-top: 3px; }
.info-row a, .info-row span.text { font-weight: 600; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: .9rem; }
.hours-table td { padding: 5px 0; border-top: 1px solid rgba(250,245,238,.12); color: rgba(250,245,238,.85); }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--white); }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--sand);
  font-family: inherit;
  font-size: .95rem;
  color: var(--charcoal);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--rust); outline-offset: 1px; }
textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: .8rem; color: var(--charcoal-soft); margin-top: 12px; }
#form-status { margin-top: 14px; font-weight: 600; font-size: .92rem; display: none; }
#form-status.ok { color: #1a7a3c; display: block; }
#form-status.err { color: var(--rust); display: block; }

/* Footer */
.site-footer { background: var(--charcoal); color: rgba(250,245,238,.7); padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand span { font-family: "Poppins", sans-serif; font-weight: 700; color: var(--white); }
.site-footer h4 { color: var(--white); font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .9rem; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(250,245,238,.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .82rem;
}

/* Install app banner */
.install-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 200;
  background: var(--charcoal);
  color: var(--white);
  border-radius: 16px;
  padding: 16px 18px;
  display: none;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
  max-width: 420px;
  margin: 0 auto;
}
.install-banner.show { display: flex; }
.install-banner .ico {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--rust); flex: none;
  display: flex; align-items: center; justify-content: center;
  font-family: "Poppins", sans-serif; font-weight: 800; font-size: .8rem;
}
.install-banner .txt { flex: 1; font-size: .84rem; line-height: 1.3; }
.install-banner .txt strong { display: block; font-size: .92rem; }
.install-banner .close { background: none; border: none; color: rgba(255,255,255,.6); font-size: 1.1rem; cursor: pointer; padding: 4px; }

/* Utility */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--rust); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 999;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 420px; margin: 0 auto; }
  .hero-photo { order: -1; max-width: 480px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why-wrap { grid-template-columns: 1fr; padding: 34px; }
  .area-wrap { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-phone-wrap { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn-primary { padding: 10px 18px; font-size: .88rem; }
  .site-nav-mobile {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 14px 0 18px;
    border-top: 1px solid var(--line);
  }
  .site-nav-mobile.open { display: flex; }
  .site-nav-mobile a { padding: 10px 4px; font-weight: 600; }
  .site-nav-mobile .nav-phone { padding: 10px 4px; }
  .hero { padding: 48px 0 60px; }
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 34px; flex-direction: column; text-align: center; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  section { padding: 60px 0; }
}