:root {
  --ink: #11161d;
  --muted: #5d6978;
  --paper: #f7fbfa;
  --panel: #ffffff;
  --line: #dce6e5;
  --teal: #00a896;
  --lime: #b7f34b;
  --coral: #ff6f61;
  --night: #071017;
  --shadow: 0 24px 60px rgba(7, 16, 23, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  padding-block: 12px;
  color: var(--ink);
  background: rgba(247, 251, 250, 0.94);
  box-shadow: 0 8px 30px rgba(7, 16, 23, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  color: currentColor;
  opacity: 0.72;
}

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

.site-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--lime);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--night);
}

.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  align-items: stretch;
  background: var(--night);
  color: #fff;
}

.hero-copy {
  align-self: center;
  padding: 128px clamp(24px, 6vw, 76px) 72px;
}

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

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(2.4rem, 5.8vw, 4.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.25;
}

.lead {
  max-width: 630px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.16rem;
}

.hero-actions,
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 13px 20px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--night);
  background: var(--lime);
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.hero-stats {
  padding: 0;
}

.hero-stats div {
  min-width: 128px;
  border-left: 3px solid var(--teal);
  padding-left: 14px;
}

.hero-stats dt {
  color: var(--lime);
  font-weight: 800;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.hero-media {
  min-height: 620px;
  position: relative;
  overflow: hidden;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--night) 0%, rgba(7, 16, 23, 0.12) 42%, rgba(7, 16, 23, 0) 100%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro,
.section-pad {
  padding: clamp(64px, 9vw, 124px) clamp(22px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 56px;
  align-items: end;
  background: #fff;
}

.intro p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

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

.service-card,
.timeline article,
.contact-form,
.contact-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 32px rgba(7, 16, 23, 0.06);
}

.service-card {
  padding: 28px;
}

.service-card p,
.timeline p,
.company-panel p,
.contact-note p {
  color: var(--muted);
}

.icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--night);
  background: var(--lime);
  font-size: 1.2rem;
  font-weight: 800;
}

.approach {
  color: #fff;
  background: #102129;
}

.approach .eyebrow {
  color: var(--lime);
}

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

.timeline article {
  min-height: 260px;
  padding: 26px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.timeline span {
  display: inline-block;
  margin-bottom: 56px;
  color: var(--coral);
  font-weight: 800;
}

.timeline p {
  color: rgba(255, 255, 255, 0.72);
}

.company-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: 36px;
  align-items: start;
  padding: clamp(30px, 5vw, 56px);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #071017, #14303a);
  box-shadow: var(--shadow);
}

.company-panel address {
  margin: 0;
  padding: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-style: normal;
}

.company-panel a {
  color: var(--lime);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}

.contact-form {
  padding: clamp(24px, 4vw, 38px);
}

.form-row {
  margin-bottom: 18px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

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

input:focus,
textarea:focus {
  outline: 3px solid rgba(0, 168, 150, 0.18);
  border-color: var(--teal);
}

textarea {
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.feedback {
  margin-bottom: 18px;
  border-radius: 8px;
  padding: 14px 16px;
  font-weight: 700;
}

.feedback.success {
  color: #064c3e;
  background: #dff8ef;
}

.feedback.error {
  color: #6d1f18;
  background: #ffe3df;
}

.contact-note {
  padding: 28px;
}

.contact-note a {
  color: var(--teal);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(22px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.7);
  background: var(--night);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .intro,
  .company-panel,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-media {
    min-height: 420px;
    order: -1;
  }

  .hero-copy {
    padding-top: 48px;
  }

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

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

@media (max-width: 720px) {
  .site-header {
    color: var(--ink);
    background: rgba(247, 251, 250, 0.96);
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px;
  }

  .nav-cta {
    border-color: var(--line);
  }

  .hero-copy {
    padding: 40px 22px 58px;
  }

  .hero-media {
    min-height: 340px;
  }

  .hero-media::after {
    background: linear-gradient(0deg, var(--night), rgba(7, 16, 23, 0.08));
  }

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

  .timeline article {
    min-height: auto;
  }

  .timeline span {
    margin-bottom: 28px;
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: 10px;
  }
}
