/* ============================================================
   Boston Standard — style.css
   Palette: Navy #1B3A5C / Accent Orange #E85D26 / Light #F7F9FC
   Fonts: Oswald (headings) + Lato (body)
   ============================================================ */

:root {
  --navy:        #1B3A5C;
  --navy-dark:   #0F2540;
  --navy-mid:    #233F68;
  --accent:      #E85D26;
  --accent-h:    #CC4E1E;
  --gold:        #C8902A;
  --light-bg:    #F7F9FC;
  --border:      #E2E8F0;
  --text:        #2D3748;
  --muted:       #718096;
  --white:       #FFFFFF;
}

/* ---- BASE ---- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

img { max-width: 100%; }

.section-pad { padding-top: 5rem; padding-bottom: 5rem; }

/* ---- TYPOGRAPHY HELPERS ---- */
.eyebrow {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.eyebrow-gold {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.section-lead {
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- BUTTONS ---- */
.btn-accent {
  background-color: var(--accent);
  color: var(--white) !important;
  border: 2px solid var(--accent);
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 0.55rem 1.4rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: background 0.2s, border-color 0.2s;
}
.btn-accent:hover {
  background-color: var(--accent-h);
  border-color: var(--accent-h);
}

.btn-accent-light {
  background-color: var(--white);
  color: var(--navy) !important;
  border: 2px solid var(--white);
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 0.55rem 1.4rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: background 0.2s;
}
.btn-accent-light:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white) !important;
}

/* ---- EMERGENCY BAR ---- */
.emergency-bar {
  background: var(--accent);
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.5rem 0;
  text-align: center;
}
.emergency-bar i { font-size: 0.9rem; }
.emergency-number {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.emergency-number:hover { text-decoration: underline; color: var(--white); }

/* ---- NAVBAR ---- */
#mainNav {
  background: rgba(15, 37, 64, 0.97);
  backdrop-filter: blur(10px);
  padding: 0.7rem 0;
  border-bottom: 2px solid transparent;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
#mainNav.scrolled {
  background: var(--navy-dark);
  border-bottom-color: var(--accent);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white) !important;
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.navbar-brand img { filter: brightness(0) invert(1); }

.nav-link {
  color: rgba(255,255,255,0.8) !important;
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem !important;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--accent) !important; }

.navbar-toggler { border-color: rgba(255,255,255,0.35); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 88vh;
  background-image: url('img/truck2.webp');
  background-size: cover;
  background-position: center 45%;
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(10, 27, 48, 0.80) 0%,
    rgba(10, 27, 48, 0.55) 55%,
    rgba(10, 27, 48, 0.25) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding-top: 3rem;
}
.hero-eyebrow {
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.hero-content h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.1rem;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 2rem;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-ctas .btn-lg { padding: 0.85rem 2rem; font-size: 0.95rem; }
.hero-ctas .btn-outline-light {
  border-width: 2px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---- TRUST STRIP ---- */
.trust-strip {
  background: var(--navy);
  padding: 1.75rem 0;
}
.trust-row { border-top: 1px solid rgba(255,255,255,0.06); }
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.5rem;
  color: rgba(255,255,255,0.85);
  font-family: 'Oswald', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.trust-item:last-child { border-right: none; }
.trust-item img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1) opacity(0.75);
}

/* ---- SERVICES ---- */
.services-section { background: var(--light-bg); }

.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 1.85rem;
  height: 100%;
  border-top: 3px solid transparent;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.25s, box-shadow 0.25s, border-top-color 0.25s;
}
.service-card:hover {
  border-top-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

.service-card--cta {
  background: var(--navy);
  border-top-color: var(--accent) !important;
  color: var(--white);
}
.service-card--cta h3  { color: var(--white); }
.service-card--cta p   { color: rgba(255,255,255,0.75); }
.service-card--cta .service-icon {
  background: rgba(255,255,255,0.12);
  color: var(--accent);
}

.service-icon {
  width: 54px;
  height: 54px;
  background: var(--light-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.service-card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-list li {
  font-size: 0.875rem;
  color: var(--muted);
  padding: 0.3rem 0 0.3rem 1.2rem;
  position: relative;
}
.service-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
}

/* ---- ABOUT SPLIT ---- */
.about-section { background: var(--white); }

.about-img {
  min-height: 460px;
  background-image: url('img/team-group.webp');
  background-size: cover;
  background-position: center 40%;
}

/* ---- TEAM PHOTOS ---- */
.team-photos-section { background: var(--white); }
.team-photo-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.team-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.team-photo-item:hover img { transform: scale(1.04); }
.team-photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(15,37,64,0.82));
  color: #fff;
  padding: 1.5rem 1rem 0.9rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-text-col { background: var(--light-bg); }
.about-text {
  padding: 4rem 3.5rem;
  max-width: 560px;
}
.about-text h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.about-lead {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1rem;
}
.about-text p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.cred-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cred-tag {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 0.28rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}
.cred-tag i { color: var(--accent); font-size: 0.7rem; }

/* ---- STATS BAR ---- */
.stats-bar { background: var(--navy-dark); }
.stat-item {
  padding: 2.8rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-lbl {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ---- PARTNERS ---- */
.partners-section { background: var(--white); }
.partners-section h2 { color: var(--navy); font-size: 2rem; }
.partner-row { gap: 3rem !important; }
.partner-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.5);
  transition: filter 0.3s;
}
.partner-logo:hover { filter: none; }

/* ---- TESTIMONIALS ---- */
.testimonials-section { background: var(--navy-dark); }
.testimonials-section h2 { color: var(--white); }

.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 3px solid var(--accent);
  border-radius: 8px;
  padding: 2rem;
  height: 100%;
}
.testimonial-card .stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}
.testimonial-card blockquote {
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  margin: 0 0 1.25rem 0;
  border: none;
  padding: 0;
}
.reviewer {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ---- SERVICE AREA ---- */
.service-area-section { background: var(--light-bg); }
.service-area-section h2 { color: var(--navy); }
.service-area-section > .container > .row > div > p { color: var(--muted); line-height: 1.7; }

.area-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.area-tag {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.3rem 0.7rem;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--navy);
}

.map-wrap {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
  border: 1px solid var(--border);
}
.map-wrap iframe { display: block; }

/* ---- CONTACT ---- */
.contact-section { background: var(--white); }
.contact-section h2 { color: var(--navy); }

.contact-card {
  background: var(--light-bg);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  height: 100%;
  text-align: center;
  border-bottom: 3px solid transparent;
  transition: border-bottom-color 0.25s, box-shadow 0.25s;
}
.contact-card:hover {
  border-bottom-color: var(--accent);
  box-shadow: 0 6px 22px rgba(0,0,0,0.08);
}
.contact-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.85rem;
  display: block;
}
.contact-card h4 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.contact-card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
  margin-bottom: 0.85rem;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--navy-dark);
  padding: 4.5rem 0 2rem;
}
.footer-logo { filter: brightness(0) invert(1); }
.site-footer p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

.footer-heading {
  font-family: 'Oswald', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  color: rgba(255,255,255,0.45);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }

.social-links { display: flex; gap: 0.65rem; }
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.social-link:hover { background: var(--accent); color: var(--white); }

.footer-hr { border-color: rgba(255,255,255,0.08); margin: 3rem 0 1.5rem; }
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.3); margin: 0; }

.license-text {
  font-size: 0.78rem !important;
  color: rgba(255,255,255,0.3) !important;
  line-height: 1.6 !important;
}

.wicked-badge {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.wicked-badge:hover { color: var(--accent); }
.wicked-badge strong { color: rgba(255,255,255,0.7); }
.wicked-bolt { color: var(--accent); }

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
  .about-img { min-height: 320px; }
  .about-text { padding: 2.5rem 2rem; max-width: none; }
  .team-photo-item { aspect-ratio: 16/9; }
}

@media (max-width: 767px) {
  .emergency-bar { font-size: 0.78rem; }
  .hero { min-height: 82vh; }
  .section-pad { padding-top: 3.5rem; padding-bottom: 3.5rem; }

  .trust-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
  }
  .trust-item:nth-child(even) { border-left: 1px solid rgba(255,255,255,0.08); }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .stat-item:last-child,
  .stat-item:nth-child(3) { border-bottom: none; }
  .stat-item:nth-child(even) { border-left: 1px solid rgba(255,255,255,0.08); }

  .about-text { padding: 2rem 1.25rem; }

  .footer-bottom { text-align: center; }
  .footer-bottom .col-md-5 { text-align: center !important; }
}

@media (max-width: 575px) {
  .hero-content h1 { font-size: 2.8rem; }
  .hero-ctas .btn-lg { width: 100%; justify-content: center; }
  .service-card { padding: 1.4rem; }
  .stat-num { font-size: 2.2rem; }
}
