:root {
  --ink: #101820;
  --ink-2: #1f2a33;
  --muted: #64737d;
  --surface: #f6f8f7;
  --surface-2: #eef3f0;
  --card: #ffffff;
  --line: #dce4df;
  --green: #1f9f73;
  --green-dark: #137457;
  --amber: #e0a135;
  --red: #bd3e33;
  --blue: #2f6f9f;
  --shadow: 0 24px 70px rgba(16, 24, 32, 0.12);
  --container: min(1160px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
  line-height: 1.75;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--card);
  color: var(--ink);
  padding: 10px 14px;
  border: 1px solid var(--line);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 40;
  padding: 14px 0;
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(16, 24, 32, 0.1);
  backdrop-filter: blur(14px);
}

.header-shell {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

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

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(31, 159, 115, 0.28);
}

.brand-mark svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-name {
  display: block;
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand-subtitle {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.2;
  margin-top: 4px;
}

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

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  color: rgba(255, 255, 255, 0.84);
}

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

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(31, 159, 115, 0.12);
  outline: none;
}

.header-call {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
  direction: ltr;
}

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

.header-call svg,
.btn svg,
.contact-methods svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 0;
  place-items: center;
}

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

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
  display: block;
  margin: 3px 0;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #101820;
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.12) 0%, rgba(16, 24, 32, 0.54) 48%, rgba(16, 24, 32, 0.94) 100%),
    linear-gradient(180deg, rgba(16, 24, 32, 0.24) 0%, rgba(16, 24, 32, 0.18) 52%, rgba(16, 24, 32, 0.84) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 112px;
  padding-bottom: 48px;
  max-width: 1180px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.9rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 2vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 12px 18px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 18px 44px rgba(31, 159, 115, 0.26);
}

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

.btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.hero-metrics {
  width: min(740px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.hero-metrics div {
  min-height: 106px;
  padding: 18px;
  background: rgba(16, 24, 32, 0.38);
}

.hero-metrics strong {
  display: block;
  font-size: 1.85rem;
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.solution-strip {
  background: var(--ink);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.strip-grid {
  min-height: 88px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  gap: 1px;
}

.strip-grid span {
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  font-weight: 800;
  font-size: 0.86rem;
}

.section {
  padding: 92px 0;
}

.intro-grid,
.proof-grid,
.contact-grid,
.cta-layout,
.industries-layout {
  display: grid;
  gap: 34px;
  align-items: start;
}

.intro-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.intro-grid h2,
.section-heading h2,
.proof-grid h2,
.cta-layout h2,
.contact-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  line-height: 1.25;
  letter-spacing: 0;
}

.intro-grid p:last-child,
.section-heading p,
.proof-grid p,
.contact-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading p:last-child {
  margin-top: 12px;
}

.align-start {
  text-align: start;
  margin-inline: 0;
}

.services-section {
  background: #fff;
}

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

.service-card {
  min-height: 256px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(16, 24, 32, 0.06);
}

.service-card:hover {
  border-color: rgba(31, 159, 115, 0.42);
}

.icon-box {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: color-mix(in srgb, var(--green) 13%, #fff);
  color: var(--green-dark);
}

.icon-box svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3,
.process-grid h3 {
  margin: 18px 0 8px;
  font-size: 1.18rem;
}

.service-card p,
.process-grid p {
  margin: 0;
  color: var(--muted);
}

.portfolio-section {
  background:
    linear-gradient(180deg, #fff 0%, var(--surface) 100%);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.client-card {
  min-height: 188px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(16, 24, 32, 0.06);
}

.client-card:hover,
.client-card:focus-visible {
  border-color: rgba(31, 159, 115, 0.45);
  outline: none;
}

.client-logo {
  width: 100%;
  aspect-ratio: 25 / 18;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.client-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
}

.client-card strong {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.35;
}

.dark-band {
  background: linear-gradient(135deg, #101820 0%, #1f2a33 52%, #253327 100%);
  color: #fff;
}

.dark-band .section-kicker {
  color: #6bd0a8;
}

.dark-band h2 {
  color: #fff;
}

.dark-band p {
  color: rgba(255, 255, 255, 0.72);
}

.industries-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
}

.industry-list {
  display: grid;
  gap: 12px;
}

.industry-list div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.industry-list strong,
.industry-list span {
  display: block;
}

.industry-list span {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.process-grid article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.process-grid span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  font-weight: 900;
  direction: ltr;
}

.proof-section {
  padding-top: 0;
}

.proof-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding: 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.check-list li {
  position: relative;
  padding-inline-start: 34px;
  color: var(--ink-2);
}

.check-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
}

.check-list li::after {
  content: "";
  position: absolute;
  inset-inline-start: 6px;
  inset-block-start: 12px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.cta-band {
  padding: 54px 0;
  background: var(--ink);
  color: #fff;
}

.cta-layout {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.cta-layout h2 {
  color: #fff;
}

.contact-section {
  background: #fff;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
}

.contact-panel,
.contact-form {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.contact-panel {
  padding: 34px;
}

.contact-panel p {
  margin-top: 14px;
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-methods a {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
  direction: ltr;
  justify-content: flex-end;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: #fff;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-2);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(31, 159, 115, 0.13);
}

.contact-form textarea {
  resize: vertical;
  min-height: 134px;
}

.form-submit {
  width: 100%;
  border: 0;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  background: #0d141b;
  color: #fff;
  padding: 52px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 28px;
}

.footer-brand {
  color: #fff;
  margin-bottom: 14px;
}

.footer-grid p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-grid strong,
.footer-grid a,
.footer-grid span {
  display: block;
}

.footer-grid strong {
  margin-bottom: 12px;
}

.footer-grid a,
.footer-grid span {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .header-call {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset-inline: 16px;
    inset-block-start: 88px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    justify-content: center;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(16, 24, 32, 0.1) 0%, rgba(16, 24, 32, 0.58) 44%, rgba(16, 24, 32, 0.96) 100%),
      linear-gradient(180deg, rgba(16, 24, 32, 0.28) 0%, rgba(16, 24, 32, 0.35) 52%, rgba(16, 24, 32, 0.9) 100%);
  }

  .intro-grid,
  .industries-layout,
  .proof-grid,
  .contact-grid,
  .cta-layout {
    grid-template-columns: 1fr;
  }

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

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .strip-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-layout .btn {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 24px, 1160px);
  }

  .site-header {
    padding: 10px 0;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand-subtitle {
    font-size: 0.7rem;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-media {
    object-position: left center;
  }

  .hero-content {
    padding-top: 100px;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

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

  .hero-metrics {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 28px;
  }

  .hero-metrics div {
    min-height: 96px;
    padding: 14px 8px;
    text-align: center;
  }

  .hero-metrics strong {
    font-size: 1.45rem;
  }

  .hero-metrics span {
    font-size: 0.78rem;
  }

  .strip-grid,
  .services-grid,
  .clients-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .proof-section {
    padding-top: 0;
  }

  .proof-grid,
  .contact-panel,
  .contact-form {
    padding: 22px;
  }

  .service-card,
  .process-grid article {
    min-height: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
