/* =========================================================
   MERICA HAULING COMPANY — design tokens
   Navy #0B1F3A · Red #C41230 · White #FFFFFF
   Steel #53565A · Sand #E8DCC3 · Asphalt #16181C
   Display: Oswald · Body: Barlow · Utility: Roboto Mono
   ========================================================= */

:root{
  --navy: #0B1F3A;
  --navy-deep: #071429;
  --red: #C41230;
  --red-deep: #970E25;
  --white: #FFFFFF;
  --steel: #53565A;
  --sand: #E8DCC3;
  --sand-deep: #DCC9A0;
  --asphalt: #16181C;

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', 'Segoe UI', sans-serif;
  --font-mono: 'Roboto Mono', monospace;

  --container: 1180px;
  --radius: 3px;
  --shadow-hard: 6px 6px 0 rgba(11,31,58,0.9);
  --shadow-hard-red: 6px 6px 0 rgba(196,18,48,0.9);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

p{ margin: 0 0 1em; }
a{ color: inherit; }
img{ max-width: 100%; display: block; }
ul{ margin: 0; padding: 0; list-style: none; }

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

.skip-link{
  position: absolute; left: -9999px; top: 0;
  background: var(--red); color: var(--white);
  padding: 12px 18px; z-index: 999; font-weight: 600;
}
.skip-link:focus{ left: 12px; top: 12px; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

.eyebrow{
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin: 0 0 0.7em;
}
.eyebrow-center{ text-align: center; }

.section{ padding: 84px 0; }
.section-title{ text-align: center; font-size: clamp(2rem, 4vw, 2.8rem); }
.section-sub{
  text-align: center; max-width: 620px; margin: 0 auto 3rem;
  color: var(--steel); font-size: 1.05rem;
}

/* =========== BUTTONS =========== */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: 0.04em;
  font-size: 0.98rem; font-weight: 600;
  padding: 15px 28px;
  border: 3px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn .icon{ width: 20px; height: 20px; flex: none; }
.btn-call{
  background: var(--red);
  color: var(--white);
  border-color: var(--red-deep);
  box-shadow: var(--shadow-hard);
}
.btn-call:hover{ transform: translate(-2px,-2px); box-shadow: 8px 8px 0 rgba(11,31,58,0.9); }
.btn-outline{
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover{ background: var(--white); color: var(--navy); }
.btn-red{
  background: var(--red); color: var(--white); border-color: var(--red-deep);
  box-shadow: var(--shadow-hard);
}
.btn-red:hover{ transform: translate(-2px,-2px); box-shadow: 8px 8px 0 rgba(11,31,58,0.9); }
.btn-small{ padding: 9px 16px; font-size: 0.82rem; box-shadow: none; }
.btn-large{ padding: 20px 34px; font-size: 1.15rem; margin-bottom: 1.75rem; }
.btn-full{ width: 100%; }

/* =========== HEADER =========== */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 4px solid var(--red);
}
.header-inner{
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-top: 12px; padding-bottom: 12px;
}
.brand{ display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand-logo-img{
  height: 80px; width: auto; flex: none;
  
}
.brand-name{
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700; letter-spacing: 0.03em;
  line-height: 1.15;
}
.main-nav ul{ display: flex; gap: 28px; }
.main-nav a{
  color: var(--white); text-decoration: none;
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 0.92rem; letter-spacing: 0.03em;
  padding: 6px 2px; border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.main-nav a:hover{ border-color: var(--red); color: var(--red); }

.nav-toggle{
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 36px; background: none; border: 2px solid var(--white);
  border-radius: var(--radius); cursor: pointer; padding: 6px;
}
.nav-toggle span{ display: block; height: 2px; background: var(--white); }

/* =========== HERO =========== */
.hero{
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 76px 0 130px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}
.hero::before{
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 26px);
  pointer-events: none;
}
.hero-inner{ position: relative; max-width: 760px; }
.hero h1{
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 0.4em;
}
.hero h1::after{
  content: "";
  display: block; width: 84px; height: 6px; background: var(--red);
  margin-top: 18px;
}
.hero-sub{
  font-size: 1.12rem; max-width: 560px; color: #D7DEE9;
}
.hero-actions{ display: flex; flex-wrap: wrap; gap: 16px; margin: 1.8rem 0 2.6rem; }
.hero-stats{ display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats li{ display: flex; flex-direction: column; }
.hero-stats .num{
  font-family: var(--font-mono); font-weight: 700; font-size: 1.7rem; color: var(--red);
}
.hero-stats .label{
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: #AEB9CA;
}

.hero-photo-frame{
  position: absolute; right: -40px; bottom: -10px; width: 46%; max-width: 480px;
  display: flex; align-items: flex-end; justify-content: center;
}
.hero-photo-frame img{
  width: 100%; aspect-ratio: 5/3; object-fit: cover;
  border: 3px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
}

/* =========== ABOUT =========== */
.about{ background: var(--white); }
.about-grid{
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center;
}
.about-photo img{
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border: 3px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard-red);
}
.about-copy h2{ font-size: clamp(1.9rem, 3.6vw, 2.5rem); }
.about-copy p{ color: var(--steel); font-size: 1.05rem; }
.about-points{ margin-top: 1.4rem; display: grid; gap: 10px; }
.about-points li{
  position: relative; padding-left: 26px; font-weight: 600; color: var(--navy);
}
.about-points li::before{
  content: ""; position: absolute; left: 0; top: 8px;
  width: 12px; height: 12px; background: var(--red);
}

/* =========== FLEET PHOTO STRIP =========== */
.fleet-strip{ background: var(--sand); padding: 50px 0 60px; }
.fleet-photos{
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 1.4rem;
}
.fleet-photos figure{ margin: 0; }
.fleet-photos img{
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border: 3px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
}

/* =========== SERVICES / TICKET CARDS =========== */
.services{ background: var(--sand); position: relative; }
.services::before, .services::after{
  content: ""; position: absolute; left: 0; right: 0; height: 46px;
  background: var(--white);
}
.services::before{ top: 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 40%); }
.services::after{ bottom: 0; clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%); }

.ticket-grid{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 2rem;
}
.ticket-wide{ grid-column: span 2; }

.ticket-card{
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  padding: 22px 22px 26px;
  position: relative;
  box-shadow: var(--shadow-hard);
  transform: rotate(-0.6deg);
}
.ticket-card.rot-r{ transform: rotate(0.6deg); }
.ticket-card::before{
  content: "";
  position: absolute; top: -1px; left: 14px; right: 14px; height: 0;
  border-top: 2px dashed var(--steel);
}
.ticket-top{
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em;
  color: var(--steel); margin-bottom: 14px; padding-top: 6px;
}
.ticket-stamp{
  color: var(--red); border: 1.5px solid var(--red); padding: 2px 7px;
  border-radius: 2px; font-weight: 700; transform: rotate(-4deg);
}
.ticket-icon{ color: var(--navy); width: 40px; height: 40px; margin-bottom: 12px; }
.ticket-icon svg{ width: 100%; height: 100%; }
.ticket-card h3{ font-size: 1.2rem; margin-bottom: 0.4em; }
.ticket-card p{ color: var(--steel); font-size: 0.96rem; margin-bottom: 0; }

/* =========== SERVICE AREA =========== */
.service-area{ background: var(--navy); color: var(--white); }
.area-grid{ display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.service-area h2{ color: var(--white); font-size: clamp(1.9rem, 3.6vw, 2.5rem); }
.service-area p{ color: #C8D1E0; font-size: 1.05rem; }
.area-chips{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.6rem; }
.area-chips span{
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.03em;
  border: 1.5px solid rgba(255,255,255,0.35); padding: 6px 12px; border-radius: 20px;
  color: var(--white);
}
.area-map{
  background: var(--navy-deep); border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius); padding: 18px;
}
.area-map svg{ width: 100%; height: auto; }

/* =========== CONTACT / QUOTE =========== */
.contact{ background: var(--white); }
.contact-grid{ display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
.contact-info h2{ font-size: clamp(1.9rem, 3.6vw, 2.5rem); }
.contact-info > p{ color: var(--steel); font-size: 1.05rem; }
.contact-details{ margin-top: 1.6rem; display: grid; gap: 16px; }
.contact-details dt{
  font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--red); font-weight: 700; margin-bottom: 2px;
}
.contact-details dd{ margin: 0; font-size: 1.02rem; }
.contact-details a{ text-decoration: none; }
.contact-details a:hover{ text-decoration: underline; }

.quote-ticket{
  background: var(--sand); border: 2px solid var(--navy);
  border-radius: var(--radius); padding: 28px 26px 30px;
  box-shadow: var(--shadow-hard-red);
}
.quote-ticket .ticket-top{ margin-bottom: 20px; }
.quote-form label{
  display: block; font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--navy);
  font-weight: 700; margin-bottom: 6px;
}
.form-row{ margin-bottom: 18px; }
.form-row-split{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quote-form input, .quote-form select, .quote-form textarea{
  width: 100%; font-family: var(--font-body); font-size: 1rem;
  padding: 12px 14px; border: 2px solid var(--navy); border-radius: var(--radius);
  background: var(--white); color: var(--navy);
}
.quote-form textarea{ resize: vertical; }
.form-status{
  margin: 14px 0 0; font-family: var(--font-mono); font-size: 0.85rem; min-height: 1.2em;
}
.form-status.ok{ color: #0E7A3D; }
.form-status.err{ color: var(--red-deep); }

/* =========== FOOTER =========== */
.site-footer{ background: var(--asphalt); color: #C9CDD3; padding: 56px 0 0; }
.footer-inner{
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand{ display: flex; gap: 12px; align-items: flex-start; }
.footer-logo-img{
  height: 80px; width: auto; flex: none;
  
}
.footer-brand .brand-name{
  color: var(--white); font-family: var(--font-display); letter-spacing: 0.03em; margin: 0;
}
.footer-tagline{ font-size: 0.85rem; color: #9BA1AA; margin: 4px 0 0; }
.footer-nav{ display: flex; flex-direction: column; gap: 10px; }
.footer-nav a{ color: #C9CDD3; text-decoration: none; font-size: 0.95rem; }
.footer-nav a:hover{ color: var(--red); }
.footer-contact{ display: flex; flex-direction: column; gap: 8px; font-size: 0.95rem; }
.footer-contact a{ color: var(--white); text-decoration: none; font-weight: 600; }
.footer-contact a:hover{ color: var(--red); }
.footer-contact p{ margin: 4px 0 0; color: #9BA1AA; }
.footer-bottom{
  padding: 20px 0 90px; font-family: var(--font-mono); font-size: 0.78rem; color: #7A808A;
}

/* =========== MOBILE CALL BAR =========== */
.mobile-call-bar{
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--red); color: var(--white); text-decoration: none;
  align-items: center; justify-content: center; gap: 10px;
  padding: 14px 0; font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.03em; font-weight: 600; font-size: 0.98rem;
  border-top: 3px solid var(--red-deep);
}
.mobile-call-bar .icon{ width: 20px; height: 20px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px){
  .about-grid, .area-grid, .contact-grid{ grid-template-columns: 1fr; }
  .about-photo, .area-map{ order: -1; }
  .ticket-grid{ grid-template-columns: repeat(2, 1fr); }
  .ticket-wide{ grid-column: span 2; }
  .hero-photo-frame{ display: none; }
}

@media (max-width: 760px){
  .header-cta{ display: none; }
  .nav-toggle{ display: flex; }
  .main-nav{
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy); border-bottom: 4px solid var(--red);
    max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
  }
  .main-nav.open{ max-height: 320px; }
  .main-nav ul{ flex-direction: column; gap: 0; padding: 8px 24px 18px; }
  .main-nav a{ display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }

  .hero{ padding: 48px 0 96px; clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%); }
  .hero-stats{ gap: 26px; }

  .section{ padding: 60px 0; }
  .ticket-grid{ grid-template-columns: 1fr; }
  .ticket-wide{ grid-column: span 1; }
  .ticket-card, .ticket-card.rot-r{ transform: none; }

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

  .footer-inner{ grid-template-columns: 1fr; gap: 28px; }

  .mobile-call-bar{ display: flex; }
  body{ padding-bottom: 0; }
  .site-footer{ padding-bottom: 0; }
  .footer-bottom{ padding-bottom: 84px; }
}

@media (max-width: 420px){
  .hero h1{ font-size: 2.1rem; }
  .btn-large{ font-size: 1rem; padding: 16px 24px; }
}

.footer-qr-callout{
  margin-top: 16px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.qr-code-box-footer{
  width: 220px;
  height: 220px;
  background: var(--white);
  padding: 6px;
  border-radius: var(--radius);
}
.footer-qr-title{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9BA1AA;
  margin: 0;
}

/* =========== PRICING =========== */
.rate-hero{ display: flex; justify-content: center; margin: 0 0 2.6rem; }
.rate-hero-ticket{
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard-red);
  padding: 26px 40px 30px;
  text-align: center;
  max-width: 420px;
  width: 100%;
}
.rate-hero-ticket .ticket-top{ color: #AEB9CA; }
.rate-hero-ticket .ticket-stamp{ color: var(--red); border-color: var(--red); }
.rate-hero-figure{
  display: flex; align-items: baseline; justify-content: center; gap: 8px;
  margin: 10px 0 8px;
}
.rate-hero-amount{
  font-family: var(--font-display); font-size: 4rem; font-weight: 700;
  color: var(--red); line-height: 1;
}
.rate-hero-unit{
  font-family: var(--font-mono); font-size: 1rem; letter-spacing: 0.06em;
  color: #D7DEE9; text-transform: uppercase;
}
.rate-hero-sub{
  font-family: var(--font-mono); font-size: 0.8rem; color: #AEB9CA;
  margin: 0; letter-spacing: 0.02em;
}

.rate-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
  margin-bottom: 2.6rem;
}

.rate-notes-ticket{
  background: var(--sand);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  padding: 22px 26px 26px;
  max-width: 640px;
  margin: 0 auto 2.2rem;
}
.rate-notes-list{ display: grid; gap: 10px; margin: 0; }
.rate-notes-list li{
  position: relative; padding-left: 24px;
  color: var(--navy); font-weight: 500;
}
.rate-notes-list li::before{
  content: ""; position: absolute; left: 0; top: 8px;
  width: 11px; height: 11px; background: var(--red);
}

.pricing-cta{ text-align: center; color: var(--steel); margin: 0; }
.pricing-cta a{ color: var(--red); font-weight: 700; text-decoration: none; }
.pricing-cta a:hover{ text-decoration: underline; }

@media (max-width: 560px){
  .rate-hero-amount{ font-size: 3.2rem; }
  .rate-hero-ticket{ padding: 22px 26px 26px; }
}
