:root{
  --white:#ffffff;
  --offwhite:#f7f8fb;
  --text:#1f2937;
  --muted:#5b6472;
  --line:#e4e7ec;
  --blue:#1e5f8a;
  --red:#a53b49;
  --gold:#c8a83c;
  --dark:#0f1724;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:#ffffff;
}

a{
  text-decoration:none;
  color:inherit;
}

img{
  max-width:100%;
  display:block;
}

.container{
  width:min(1180px, calc(100% - 32px));
  margin:0 auto;
}

/* top bar */
.topbar{
  background:var(--blue);
  color:#fff;
  font-size:14px;
}

.topbar-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 0;
  gap:12px;
  flex-wrap:wrap;
}

.topbar-right{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
}

.divider{
  opacity:.6;
}

/* header */
.site-header{
  background:#fff;
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:50;
}

.nav-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:16px 0;
  flex-wrap:wrap;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.brand img{
  width:56px;
  height:56px;
  object-fit:cover;
  border-radius:50%;
  border:2px solid var(--gold);
}

.brand-name{
  font-weight:800;
  font-size:20px;
  color:var(--dark);
}

.brand-sub{
  font-size:13px;
  color:var(--muted);
}

.nav{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}

.nav a{
  color:var(--dark);
  font-weight:600;
}

.nav a:hover{
  color:var(--red);
}

.nav-actions{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

/* buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:10px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--dark);
  font-weight:700;
  cursor:pointer;
}

.btn.small{
  padding:8px 12px;
}

.btn.primary{
  background:var(--red);
  color:#fff;
  border-color:var(--red);
}

.btn.primary:hover{
  background:#8f3140;
}

.white-btn{
  background:#fff;
  color:var(--dark);
}

.dispatch-btn{
  background:#c62828;
  color:#fff;
  border-color:#c62828;
}

.dispatch-btn:hover{
  background:#a32020;
}

/* hero */
.hero{
  background:url('truck-1.jpg') center center / cover no-repeat;
  min-height:540px;
}

.hero-overlay{
  background:linear-gradient(90deg, rgba(15,23,36,.78), rgba(15,23,36,.34));
  min-height:540px;
}

.hero-content{
  display:flex;
  align-items:center;
  min-height:540px;
  padding:40px 0;
}

.hero-box{
  max-width:760px;
  color:#fff;
}

.hero-box h1{
  font-size:54px;
  line-height:1.05;
  margin:0 0 16px;
}

.hero-box p{
  font-size:18px;
  line-height:1.65;
  margin:0 0 24px;
}

.hero-buttons{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* intro cards */
.intro-strip{
  margin-top:-45px;
  position:relative;
  z-index:2;
}

.intro-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.intro-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:24px;
  box-shadow:0 10px 30px rgba(0,0,0,.07);
}

.intro-card h3{
  margin:0 0 10px;
  color:var(--blue);
}

.intro-card p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}

/* sections */
.section{
  padding:72px 0;
}

.gray-section{
  background:var(--offwhite);
}

.section-head{
  margin-bottom:28px;
}

.accent-line{
  display:inline-block;
  width:80px;
  height:5px;
  border-radius:999px;
  background:linear-gradient(90deg, var(--gold), var(--red), var(--blue));
  margin-bottom:14px;
}

.section-head h2{
  margin:0;
  font-size:36px;
  color:var(--dark);
}

/* cards and grids */
.about-grid{
  display:grid;
  grid-template-columns:1.3fr .9fr;
  gap:24px;
}

.info-card,
.office-card,
.fleet-info,
.video-card,
.quote-box,
.cert-list-card,
.service-text-only{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:28px;
}

.info-card p,
.fleet-info p,
.service-text-only p,
.quote-box p{
  color:var(--muted);
  line-height:1.75;
}

.info-card ul,
.fleet-info ul,
.quote-box ul{
  color:var(--text);
  line-height:1.9;
}

/* slogan */
.slogan-box{
  margin-top:20px;
  padding:18px;
  background:linear-gradient(90deg, rgba(200,168,60,.12), rgba(165,59,73,.1));
  border-left:6px solid var(--red);
  border-radius:12px;
  font-size:24px;
  font-weight:800;
  color:var(--red);
  text-align:center;
}

/* office card */
.office-card h3{
  margin-top:0;
  color:var(--blue);
}

.office-item{
  margin-bottom:18px;
  color:var(--muted);
  line-height:1.7;
}

.office-buttons{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

/* materials */
.materials-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.material-box{
  background:#fff;
  border:1px solid var(--line);
  border-left:6px solid var(--gold);
  border-radius:14px;
  padding:24px;
  font-size:20px;
  font-weight:800;
  color:var(--dark);
  text-align:center;
}

/* fleet */
.fleet-showcase{
  display:grid;
  grid-template-columns:1.6fr .7fr;
  gap:18px;
  align-items:start;
  margin-bottom:20px;
}

.fleet-main-slider{
  position:relative;
  height:420px;
  background:#f8f8f8;
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 8px 24px rgba(0,0,0,.06);
}

.fleet-main-slide{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  padding:12px;
  opacity:0;
  transition:opacity .6s ease-in-out;
  background:#f8f8f8;
}

.fleet-main-slide.active{
  opacity:1;
}

.fleet-thumbs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.fleet-thumb{
  width:100%;
  height:95px;
  object-fit:contain;
  background:#f8f8f8;
  border:2px solid var(--line);
  border-radius:10px;
  padding:6px;
  cursor:pointer;
  transition:border-color .3s ease, transform .2s ease;
}

.fleet-thumb.active{
  border-color:var(--red);
}

.fleet-thumb:hover{
  transform:scale(1.02);
}

/* video */
.video-card{
  box-shadow:0 8px 24px rgba(0,0,0,.06);
}

.fleet-video{
  width:100%;
  max-width:100%;
  height:auto;
  max-height:520px;
  border-radius:12px;
  background:#000;
}

.video-note{
  margin:14px 0 0;
  color:var(--muted);
  line-height:1.7;
}

/* certification text cards */
.cert-list-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.cert-list-card h3{
  margin-top:0;
  color:var(--blue);
}

.cert-list-card p{
  margin-bottom:0;
  color:var(--muted);
  line-height:1.8;
}

/* service area */
.area-list{
  display:grid;
  gap:12px;
  margin-top:20px;
}

.area-list div{
  background:#fff;
  border:1px solid var(--line);
  border-left:5px solid var(--blue);
  padding:16px;
  border-radius:10px;
  font-weight:700;
}

/* quote blocks */
.quote-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.quote-box h2{
  margin-top:0;
  color:var(--dark);
}

/* forms */
.application-wrap{
  display:grid;
  grid-template-columns:1.4fr .8fr;
  gap:24px;
}

.driver-form{
  margin-top:18px;
}

.form-grid{
  display:grid;
  gap:16px;
  margin-bottom:16px;
}

.two-col{
  grid-template-columns:1fr 1fr;
}

.one-col{
  grid-template-columns:1fr;
}

.driver-form label{
  display:block;
  margin-bottom:8px;
  font-weight:700;
  color:var(--dark);
}

.driver-form input,
.driver-form select,
.driver-form textarea{
  width:100%;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:10px;
  font:inherit;
  background:#fff;
  color:var(--text);
}

.driver-form textarea{
  min-height:130px;
  resize:vertical;
}

/* footer */
.site-footer{
  background:var(--dark);
  color:#fff;
  padding:38px 0 22px;
}

.footer-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.footer-title{
  font-size:20px;
  font-weight:800;
  margin-bottom:8px;
}

.footer-bottom{
  text-align:center;
  margin-top:24px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.12);
  font-size:18px;
}

/* floating dispatch */
.dispatch-float{
  position:fixed;
  bottom:22px;
  right:22px;
  background:#c62828;
  color:#fff;
  padding:14px 18px;
  border-radius:12px;
  font-weight:800;
  text-align:center;
  box-shadow:0 8px 25px rgba(0,0,0,.3);
  z-index:9999;
  font-size:14px;
  line-height:1.4;
}

.dispatch-float:hover{
  background:#a32020;
  transform:scale(1.03);
}

/* language toggle */
[data-lang]{
  display:none;
}

html[lang="en"] [data-lang="en"]{
  display:block;
}

html[lang="es"] [data-lang="es"]{
  display:block;
}

/* responsive */
@media (max-width: 980px){
  .hero-box h1{
    font-size:38px;
  }

  .intro-grid,
  .about-grid,
  .materials-grid,
  .cert-list-grid,
  .quote-grid,
  .footer-grid,
  .fleet-showcase,
  .application-wrap{
    grid-template-columns:1fr;
  }

  .nav-wrap{
    align-items:flex-start;
  }

  .hero,
  .hero-overlay,
  .hero-content{
    min-height:auto;
  }

  .hero-content{
    padding:70px 0;
  }

  .fleet-main-slider{
    height:280px;
  }

  .fleet-thumb{
    height:90px;
  }

  .two-col{
    grid-template-columns:1fr;
  }

  .dispatch-float{
    bottom:14px;
    right:14px;
    padding:12px 14px;
    font-size:13px;
  }
}

@media (max-width: 640px){
  .materials-grid{
    grid-template-columns:1fr;
  }

  .topbar-inner,
  .topbar-right{
    flex-direction:column;
    align-items:flex-start;
  }
}