:root {
  --ink: #142637;
  --muted: #5c6974;
  --line: #dbe4e9;
  --paper: #f7faf9;
  --white: #ffffff;
  --blue: #0876ae;
  --blue-deep: #0f3248;
  --green: #4b972e;
  --green-soft: #eaf5e6;
  --shadow: 0 24px 70px rgba(16, 38, 54, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(247, 250, 249, 0.92);
  border-bottom: 1px solid rgba(20, 38, 55, 0.08);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 300px;
  height: 48px;
  object-fit: contain;
}

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

.site-nav a {
  padding: 10px 14px;
  border-radius: 6px;
  color: #253847;
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a:hover {
  background: #eaf0f3;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.72fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: clamp(54px, 7vw, 96px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(8, 118, 174, 0.08), transparent 40%),
    linear-gradient(170deg, var(--white) 0%, var(--paper) 72%);
}

.parallax-mark {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
  transition: transform 0.12s linear;
}

.mark-blue {
  right: 38%;
  top: 11%;
  width: 180px;
  height: 180px;
  border: 28px solid var(--blue);
  border-right-color: transparent;
  border-radius: 50%;
}

.mark-green {
  right: 5%;
  bottom: 8%;
  width: 220px;
  height: 220px;
  background: var(--green-soft);
  clip-path: polygon(50% 0, 100% 36%, 77% 100%, 16% 88%, 0 25%);
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  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(2.7rem, 6.3vw, 5.65rem);
  line-height: 0.98;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero-text,
.intro-section p,
.about-copy p,
.contact-section p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.4vw, 1.2rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--blue-deep);
}

.button.secondary {
  color: var(--blue-deep);
  border-color: #b8c7d0;
  background: var(--white);
}

.hero-panel {
  padding: clamp(20px, 3vw, 34px);
  background: var(--white);
  border: 1px solid rgba(20, 38, 55, 0.1);
  box-shadow: var(--shadow);
}

.hero-panel img {
  width: min(420px, 100%);
  margin: 0 auto 24px;
}

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

.panel-grid span {
  padding: 14px;
  border-left: 4px solid var(--green);
  background: #f1f7f4;
  color: var(--blue-deep);
  font-weight: 800;
}

.intro-section,
.section,
.about-section,
.contact-section {
  padding: clamp(54px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.intro-section {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 42px;
  background: var(--blue-deep);
  color: var(--white);
}

.intro-section p {
  color: #d4e2e8;
}

.section-label {
  color: #9ed78f;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

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

.service-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover,
.project-list article:hover {
  transform: translateY(-6px);
  border-color: rgba(8, 118, 174, 0.28);
  box-shadow: 0 18px 44px rgba(16, 38, 54, 0.11);
}

.service-card .icon {
  width: 48px;
  height: 48px;
  margin-bottom: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  font-weight: 900;
  background: var(--blue-deep);
}

.service-card.environment .icon {
  background: var(--green);
}

.service-card.technology .icon {
  background: var(--blue);
}

.service-card p,
.project-list p {
  color: var(--muted);
}

ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  padding: 9px 0 9px 22px;
  border-top: 1px solid #edf2f4;
}

li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  background: var(--green);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(32px, 6vw, 76px);
  background: var(--white);
}

.fact-list {
  margin: 0;
  padding: 0;
  border-top: 4px solid var(--blue);
  background: #f4f8fa;
}

.fact-list div {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.fact-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fact-list dd {
  margin: 6px 0 0;
  font-size: 1.08rem;
  font-weight: 800;
}

.project-section {
  background: linear-gradient(180deg, #eef5f7 0%, var(--paper) 100%);
}

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

.project-list article {
  padding: 24px;
  border-top: 4px solid var(--blue);
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-list span {
  display: block;
  margin-bottom: 34px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.64fr);
  gap: clamp(28px, 5vw, 64px);
  color: var(--white);
  background: var(--blue-deep);
}

.contact-section p,
.contact-section address {
  color: #d4e2e8;
}

address {
  margin-top: 30px;
  font-style: normal;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
}

.form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.form-note.is-success {
  color: var(--green);
  font-weight: 800;
}

.form-note.is-error {
  color: #b42318;
  font-weight: 800;
}

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

.response-page {
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: 100vh;
  padding: clamp(32px, 8vw, 96px);
  background: var(--paper);
}

.response-page h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

label {
  display: grid;
  gap: 7px;
  color: #314554;
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c8d5dc;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

textarea {
  resize: vertical;
}

.site-footer {
  display: grid;
  gap: 8px;
  padding: 14px clamp(20px, 5vw, 72px);
  color: #63717b;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer-main img {
  width: 250px;
  height: 40px;
  object-fit: contain;
}

.site-footer p {
  margin: 0;
  font-size: 0.78rem;
}

.site-credit {
  margin: 0;
  text-align: center;
  color: #7a868f;
  font-size: 0.68rem;
}

.site-credit a {
  color: var(--blue-deep);
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

@media (max-width: 940px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

  .hero,
  .intro-section,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 620px) {
  .site-header {
    min-height: 72px;
    padding: 10px 16px;
  }

  .brand img {
    height: 48px;
  }

  .hero,
  .intro-section,
  .section,
  .about-section,
  .contact-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 2.5rem;
  }

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

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

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

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

  .parallax-mark,
  .service-card,
  .project-list article,
  .reveal,
  .reveal.is-visible {
    transition: none;
    transform: none;
  }

  .reveal {
    opacity: 1;
  }
}
