:root {
  --ink: #172326;
  --muted: #5c6d71;
  --line: #d9e4e3;
  --paper: #f7faf9;
  --white: #ffffff;
  --teal: #007b83;
  --teal-dark: #07555f;
  --amber: #e5a93a;
  --green: #2d7d4f;
  --shadow: 0 22px 60px rgba(19, 35, 38, 0.12);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

img,
svg {
  display: block;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(11, 27, 30, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(18px);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(23, 35, 38, 0.1);
  box-shadow: 0 16px 34px rgba(16, 35, 38, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), var(--green));
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0;
}

.brand-name {
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(0, 123, 131, 0.12);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 99px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #102326;
}

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

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 19, 22, 0.92) 0%, rgba(7, 19, 22, 0.72) 42%, rgba(7, 19, 22, 0.18) 100%),
    linear-gradient(0deg, rgba(7, 19, 22, 0.42), rgba(7, 19, 22, 0.08));
}

.hero-content {
  position: relative;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 118px 0 88px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
}

.button svg,
.contact-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: 0 0 auto;
}

.button.primary {
  background: var(--amber);
  color: #1f250f;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  background: rgba(14, 31, 35, 0.34);
}

.button.secondary.light {
  border-color: var(--line);
  color: var(--teal-dark);
  background: var(--white);
}

.section,
.section-band {
  padding: 92px 0;
}

.section {
  background: var(--paper);
}

.section-band {
  background: var(--white);
}

.section-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.intro {
  border-bottom: 1px solid var(--line);
}

.intro-grid,
.statement-grid,
.customer-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
}

.tools-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.featured-service-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.featured-service-grid.reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.intro p,
.section-heading p,
.statement p,
.customers p,
.contact p {
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.compact {
  margin-bottom: 26px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.customer-list article,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.tool-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 28px;
  box-shadow: 0 14px 32px rgba(19, 35, 38, 0.06);
}

.tool-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.featured-service-copy p {
  color: var(--muted);
  font-size: 18px;
}

.featured-service-media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 18px 38px rgba(19, 35, 38, 0.08);
}

.featured-service-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

.feature-points {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.feature-points li {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
  font-weight: 700;
}

.feature-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--amber);
  transform: translateY(-50%);
}

.service-card {
  padding: 26px;
  min-height: 270px;
  box-shadow: 0 10px 28px rgba(19, 35, 38, 0.05);
}

.service-card p,
.customer-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.icon-box {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: var(--teal-dark);
  background: #dff2ef;
}

.icon-box svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.statement {
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(7, 85, 95, 0.98), rgba(24, 79, 72, 0.98)),
    var(--teal-dark);
}

.statement .section-kicker {
  color: #ffd06a;
}

.statement p {
  color: rgba(255, 255, 255, 0.82);
}

.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.values-list span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--teal-dark);
  font-weight: 800;
}

.customers {
  background: #eef6f4;
}

.featured-service-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.featured-service-alt {
  background: #eef6f4;
}

.customer-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.customer-list article {
  padding: 22px;
}

.contact {
  background: var(--ink);
  color: var(--white);
}

.tools-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact .section-kicker {
  color: #ffd06a;
}

.contact p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-panel {
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 30px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-panel p {
  margin: 0;
  color: var(--muted);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--teal-dark);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 26px 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--teal-dark);
  font-weight: 800;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
    color: inherit;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    padding: 10px;
    border: 1px solid rgba(23, 35, 38, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--ink);
    box-shadow: 0 16px 34px rgba(16, 35, 38, 0.12);
  }

  .nav.is-open {
    display: grid;
  }

  .nav a {
    min-height: 44px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 19, 22, 0.94) 0%, rgba(7, 19, 22, 0.76) 68%, rgba(7, 19, 22, 0.36) 100%),
      linear-gradient(0deg, rgba(7, 19, 22, 0.42), rgba(7, 19, 22, 0.12));
  }

  .intro-grid,
  .statement-grid,
  .customer-grid,
  .contact-grid,
  .tools-grid,
  .featured-service-grid,
  .featured-service-grid.reverse {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .brand-name {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-content,
  .section-inner,
  .site-footer {
    width: calc(100% - 28px);
  }

  .hero-content {
    padding: 108px 0 66px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-image {
    object-position: 64% center;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section,
  .section-band {
    padding: 68px 0;
  }

  .service-grid,
  .customer-list {
    grid-template-columns: 1fr;
  }

  .featured-service-media img {
    min-height: 260px;
  }

  .service-card {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}
