/* Integrity Freight Systems LLC — styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #9B1B1B;
  --red-dark: #6E1010;
  --red-bright: #C42828;
  --charcoal: #1A1A1A;
  --charcoal-soft: #2C2C2C;
  --gray: #5A5A5A;
  --gray-light: #E8E8E8;
  --off-white: #F7F5F3;
  --white: #FFFFFF;
  --max: 1080px;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  background: var(--charcoal);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 3px solid var(--red);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-brand:hover { text-decoration: none; }

.nav-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: var(--white);
  border-radius: 8px;
  padding: 2px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  list-style: none;
}

.nav-links a {
  color: var(--gray-light);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a:hover { color: var(--white); }

/* Hero */
.hero {
  background:
    linear-gradient(135deg, rgba(26,26,26,0.92) 0%, rgba(110,16,16,0.88) 55%, rgba(155,27,27,0.85) 100%),
    linear-gradient(180deg, #1A1A1A, #9B1B1B);
  color: var(--white);
  padding: 4.5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 48px,
      rgba(255,255,255,0.03) 48px,
      rgba(255,255,255,0.03) 50px
    );
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; }

.hero-logo {
  width: 168px;
  height: 168px;
  margin: 0 auto 1.5rem;
  object-fit: contain;
  background: var(--white);
  border-radius: 20px;
  padding: 10px;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.hero .tagline {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: #F0D6D6;
  max-width: 34rem;
  margin: 0 auto 1.75rem;
  font-weight: 400;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--white);
  color: var(--red-dark);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.btn-primary:hover { background: var(--off-white); }

.btn-accent {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(155,27,27,0.35);
}

.btn-accent:hover { background: var(--red-bright); color: var(--white); }

/* Sections */
section {
  padding: 4rem 0;
}

section:nth-of-type(even) {
  background: var(--off-white);
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
}

h2 {
  font-size: clamp(1.55rem, 3.2vw, 2rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--charcoal);
  line-height: 1.2;
}

.lead {
  font-size: 1.08rem;
  color: var(--gray);
  max-width: 40rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.about-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.about-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--red-dark);
}

.about-card p { color: var(--gray); font-size: 0.98rem; }

.meta-list {
  list-style: none;
  margin-top: 1rem;
}

.meta-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--gray-light);
  color: var(--charcoal-soft);
  font-size: 0.98rem;
}

.meta-list li:last-child { border-bottom: none; }

.meta-list strong {
  display: inline-block;
  min-width: 7.5rem;
  color: var(--charcoal);
}

/* Services */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--gray-light);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  border-color: rgba(155,27,27,0.35);
  box-shadow: var(--shadow);
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--red), var(--red-dark));
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.icon svg { width: 26px; height: 26px; fill: none; stroke: white; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.45rem;
}

.card p { color: var(--gray); font-size: 0.96rem; }

/* Why */
.why-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.why-item {
  background: var(--white);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.35rem 1.4rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.why-item h3 {
  font-size: 1.08rem;
  margin-bottom: 0.4rem;
}

.why-item p { color: var(--gray); font-size: 0.96rem; }

/* Contact */
.contact {
  text-align: center;
}

.contact .lead {
  margin: 0 auto 1.75rem;
}

.email-display {
  display: inline-block;
  margin-top: 1rem;
  color: var(--gray);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: #B8B8B8;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
  border-top: 3px solid var(--red);
}

.site-footer strong { color: var(--white); }

.footer-note { margin-top: 0.35rem; opacity: 0.85; }

/* Mobile */
@media (max-width: 820px) {
  .about-grid,
  .cards,
  .why-list {
    grid-template-columns: 1fr;
  }

  .hero { padding: 3.25rem 0 3rem; }

  .hero-logo { width: 132px; height: 132px; }

  .nav-brand span { display: none; }

  .nav-links { gap: 0.25rem 0.85rem; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 1.5rem, var(--max)); }
  section { padding: 3rem 0; }
}
