:root {
  --ink: #16212b;
  --muted: #5b6673;
  --paper: #f7f9f8;
  --surface: #ffffff;
  --line: #dce4e1;
  --green: #0f6b5d;
  --green-dark: #0a493f;
  --teal: #119d93;
  --gold: #c89635;
  --navy: #10233b;
  --shadow: 0 22px 60px rgba(7, 32, 45, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #ffffff;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(8, 32, 48, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-weight: 800;
}

.site-header.is-scrolled .brand-mark,
.site-header.is-open .brand-mark {
  border-color: rgba(15, 107, 93, 0.22);
  background: var(--green);
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.15;
}

.brand small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.site-header.is-scrolled .brand small,
.site-header.is-open .brand small {
  color: var(--muted);
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.1);
}

.site-nav a {
  padding: 10px 13px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-header.is-scrolled .site-nav,
.site-header.is-open .site-nav {
  border-color: var(--line);
  background: #f3f7f5;
}

.site-header.is-scrolled .site-nav a,
.site-header.is-open .site-nav a {
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible,
.site-header.is-open .site-nav a:hover,
.site-header.is-open .site-nav a:focus-visible {
  color: var(--green-dark);
  background: #ffffff;
}

.header-call,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.header-call {
  gap: 9px;
  padding: 0 14px;
  font-size: 0.88rem;
  font-weight: 800;
}

.header-call svg,
.nav-toggle svg,
.button svg,
.text-link svg,
.contact-stack svg,
.trust-band svg,
.site-footer svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.site-header.is-scrolled .header-call,
.site-header.is-open .header-call,
.site-header.is-scrolled .nav-toggle,
.site-header.is-open .nav-toggle {
  border-color: rgba(15, 107, 93, 0.18);
  background: var(--green);
  color: #ffffff;
}

.nav-toggle {
  display: none;
  width: 44px;
  padding: 0;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: #ffffff;
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 25, 35, 0.88), rgba(7, 25, 35, 0.58) 48%, rgba(7, 25, 35, 0.16)),
    linear-gradient(180deg, rgba(7, 25, 35, 0.62), rgba(7, 25, 35, 0.1) 52%, rgba(7, 25, 35, 0.72));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 740px) minmax(250px, 340px);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  width: min(1180px, calc(100% - 40px));
  min-height: 760px;
  margin: 0 auto;
  padding: 160px 0 92px;
}

.hero-copy {
  max-width: 760px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero h1 span {
  display: inline;
}

.hero h1 span:not(:last-child)::after {
  content: " ";
}

.hero-text {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-weight: 800;
  text-align: center;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 107, 93, 0.25);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--green-dark);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.hero-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-panel div {
  padding: 22px;
  background: rgba(7, 25, 35, 0.42);
}

.hero-panel span,
.service-card p,
.hero-panel strong {
  display: block;
}

.hero-panel span {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel strong {
  font-size: 1.03rem;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1180px, calc(100% - 40px));
  margin: -44px auto 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 55px rgba(7, 32, 45, 0.13);
}

.trust-band div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 88px;
  padding: 0 24px;
  border-right: 1px solid var(--line);
  color: var(--green-dark);
  font-weight: 800;
}

.trust-band div:last-child {
  border-right: 0;
}

.trust-band svg {
  color: var(--teal);
}

.section,
.services-grid,
.split-section,
.industries-section,
.quote-section,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.86fr);
  gap: clamp(24px, 5vw, 70px);
  padding: 108px 0 34px;
}

.section-heading h2,
.split-copy h2,
.quote-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-lede,
.split-copy p,
.quote-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.service-card {
  min-height: 270px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.featured-service {
  background: var(--green-dark);
  color: #ffffff;
  border-color: var(--green-dark);
}

.card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 28px;
  background: #eef6f3;
  color: var(--green);
}

.featured-service .card-icon {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.service-card p {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  letter-spacing: 0;
}

.service-card span {
  color: var(--muted);
  font-size: 0.98rem;
}

.featured-service span {
  color: rgba(255, 255, 255, 0.76);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
  padding: 112px 0;
}

.split-copy {
  position: sticky;
  top: 116px;
}

.split-copy p:not(.eyebrow) {
  margin-top: 22px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  color: var(--green);
  font-weight: 800;
}

.process-list {
  display: grid;
  gap: 14px;
}

.process-list article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  min-height: 156px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-list span {
  color: var(--teal);
  font-weight: 800;
}

.process-list h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.process-list p {
  margin: 0;
  color: var(--muted);
}

.industries-section {
  padding: 70px clamp(22px, 5vw, 64px);
  color: #ffffff;
  background: var(--navy);
}

.industries-section h2 {
  color: #ffffff;
}

.industries-section .eyebrow {
  color: #8ce0d6;
}

.compact {
  max-width: 760px;
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.industry-list span {
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
  font-weight: 700;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
  padding: 112px 0;
}

.quote-copy p:not(.eyebrow) {
  margin-top: 22px;
}

.contact-stack {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-stack a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green-dark);
  font-weight: 800;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(7, 32, 45, 0.09);
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfdad6;
  border-radius: 0;
  padding: 12px 13px;
  color: var(--ink);
  background: #f9fbfa;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--green);
  background: #ffffff;
  outline: 3px solid rgba(17, 157, 147, 0.14);
}

.form-wide {
  grid-column: 1 / -1;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer span {
  color: var(--muted);
}

.site-footer a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  background: var(--green);
  color: #ffffff;
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: auto auto;
    min-height: 70px;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    left: 18px;
    right: 18px;
    display: none;
    justify-self: stretch;
    padding: 10px;
    background: #ffffff;
    border-color: var(--line);
    box-shadow: 0 16px 40px rgba(7, 32, 45, 0.12);
  }

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

  .site-nav a {
    color: var(--ink);
    padding: 13px;
  }

  .header-call {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: 720px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    align-items: end;
    padding-top: 132px;
    padding-bottom: 78px;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .trust-band,
  .section-intro,
  .services-grid,
  .split-section,
  .quote-section {
    grid-template-columns: 1fr;
  }

  .trust-band {
    margin-top: 0;
  }

  .trust-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-band div:last-child {
    border-bottom: 0;
  }

  .section-intro {
    padding-top: 76px;
  }

  .split-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-right: 16px;
    padding-left: 16px;
  }

  .brand small {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: 700px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 25, 35, 0.88), rgba(7, 25, 35, 0.5)),
      linear-gradient(180deg, rgba(7, 25, 35, 0.52), rgba(7, 25, 35, 0.18) 46%, rgba(7, 25, 35, 0.78));
  }

  .hero h1 {
    font-size: 2.5rem;
    line-height: 1;
  }

  .hero-copy,
  .hero h1,
  .hero-text,
  .hero-panel {
    max-width: calc(100vw - 40px);
  }

  .hero h1 span {
    display: block;
  }

  .hero h1 span:not(:last-child)::after {
    content: "";
  }

  .hero-text {
    font-size: 1rem;
    max-width: 30ch;
  }

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

  .hero-panel div {
    padding: 18px;
  }

  .trust-band,
  .section,
  .services-grid,
  .split-section,
  .industries-section,
  .quote-section,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .service-card,
  .process-list article,
  .quote-form {
    padding: 22px;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: start;
  }
}
