:root {
  --ink: #14212a;
  --muted: #61717d;
  --primary: #0c6f6b;
  --primary-dark: #0c3036;
  --accent: #20a48f;
  --line: #d9e6e4;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(15, 32, 39, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #f7fbfa;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #06434a, var(--accent));
  font-weight: 900;
}

.brand-link strong {
  display: block;
  font-size: 1.06rem;
  color: var(--primary-dark);
}

.brand-link small {
  display: block;
  color: var(--primary);
  font-size: .74rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(8px, 2vw, 24px);
  flex-wrap: wrap;
  color: #263943;
  font-size: .88rem;
  font-weight: 800;
}

.site-nav a { padding: 8px 0; }
.site-nav a:hover { color: var(--primary); }

.client-link {
  padding: 9px 13px !important;
  border-radius: 8px;
  color: #fff !important;
  background: var(--primary);
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 68px));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image { object-fit: cover; }

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 26, 31, .92) 0%, rgba(5, 26, 31, .72) 36%, rgba(5, 26, 31, .24) 74%),
    linear-gradient(0deg, rgba(5, 26, 31, .34), rgba(5, 26, 31, .08));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 8vw, 108px);
  color: #fff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .76rem;
  font-weight: 900;
}

.hero h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(2.25rem, 5vw, 4.9rem);
  line-height: .98;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 560px;
  margin: 20px 0 0;
  color: #dcebea;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.primary-button,
.secondary-button,
.contact-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 900;
}

.primary-button,
.contact-card button {
  color: #fff;
  background: var(--primary);
  border: 1px solid var(--primary);
}

.secondary-button {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .54);
  background: rgba(255, 255, 255, .12);
}

.service-cards {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 36px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 36px auto 0;
}

.feature-card,
.why-grid article,
.contact-card,
.location-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 32px;
  text-align: center;
}

.line-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid #a8dbd4;
  color: var(--primary);
  font-size: 2rem;
  font-weight: 900;
}

.feature-card h2,
.feature-card h3,
.section-title h2,
.contact-section h2,
.site-footer p {
  margin: 0;
}

.feature-card h2 {
  font-size: 1rem;
  text-transform: uppercase;
}

.feature-card h3 { font-size: 1.1rem; }

.feature-card p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.feature-card a {
  color: var(--primary);
  font-weight: 900;
}

.why-section,
.segments-section,
.contact-section {
  width: min(1180px, calc(100% - 36px));
  margin: 72px auto 0;
}

.section-title {
  text-align: center;
  margin-bottom: 28px;
}

.section-title h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }

.why-grid,
.segment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.why-grid article {
  display: grid;
  gap: 10px;
  padding: 22px;
  text-align: center;
}

.why-grid span {
  margin: 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  font-weight: 900;
}

.why-grid h3,
.why-grid p { margin: 0; }

.why-grid p {
  color: var(--muted);
  line-height: 1.5;
}

.segment-card {
  min-height: 176px;
  display: grid;
  align-items: end;
  padding: 18px;
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, #112e35, #188278);
  box-shadow: var(--shadow);
}

.segment-card strong {
  max-width: 180px;
  text-transform: uppercase;
  line-height: 1.1;
}

.logistics { background: linear-gradient(145deg, rgba(17,46,53,.28), rgba(6,27,32,.78)), url("assets/landing-hero.png") center / cover; }
.utilities { background: linear-gradient(145deg, #415967, #0c6f6b); }
.industry { background: linear-gradient(145deg, #1d3a47, #607d8b); }
.agriculture { background: linear-gradient(145deg, #496734, #0c6f6b); }

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
  gap: 18px;
  margin-bottom: 72px;
}

.contact-card,
.location-card { padding: 26px; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.full { grid-column: 1 / -1; }

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fbfdfd;
  font: inherit;
}

textarea { resize: vertical; }

.contact-card button {
  margin-top: 14px;
  cursor: pointer;
}

.location-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.location-card p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.map-preview {
  min-height: 260px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(12,111,107,.14) 1px, transparent 1px),
    linear-gradient(rgba(12,111,107,.14) 1px, transparent 1px),
    #eef6f5;
  background-size: 42px 42px;
}

.map-preview span {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 8px rgba(12, 111, 107, .12);
}

.map-preview span:nth-child(1) { left: 18%; top: 38%; }
.map-preview span:nth-child(2) { left: 52%; top: 28%; }
.map-preview span:nth-child(3) { left: 64%; top: 62%; }
.map-preview span:nth-child(4) { left: 34%; top: 72%; }

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(180px, .5fr));
  gap: 24px;
  padding: 30px clamp(18px, 5vw, 72px);
  color: #d8e7e6;
  background: #102331;
}

.site-footer strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
}

.site-footer a {
  display: block;
  margin-top: 8px;
  color: #d8e7e6;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav { justify-content: flex-start; }

  .why-grid,
  .segment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .hero { min-height: 680px; }
  .hero-content { margin: 0 auto; }

  .service-cards,
  .why-grid,
  .segment-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-cards { margin-top: 18px; }

  .site-nav {
    width: 100%;
    gap: 8px 14px;
    font-size: .82rem;
  }
}
