:root {
  --green: #45a834;
  --green-dark: #2f7627;
  --green-soft: #edf8ea;
  --blue: #1677a6;
  --blue-dark: #0e4e6f;
  --blue-soft: #e8f4f9;
  --ink: #142027;
  --muted: #55656e;
  --soft: #7b8990;
  --line: #dbe3e8;
  --surface: #ffffff;
  --subtle: #f6f8f9;
  --dark: #0f1b22;
  --focus: #f5b942;
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1180px;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(15, 27, 34, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 8px 12px;
  color: white;
  background: var(--dark);
  border-radius: 4px;
}

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

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 154px;
  height: auto;
}

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2px 0;
  background: var(--ink);
  border-radius: 999px;
}

.site-nav {
  position: fixed;
  inset: 73px 0 auto 0;
  display: none;
  padding: 20px;
  background: white;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: grid;
  gap: 12px;
}

.nav-link,
.nav-phone {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.nav-link {
  padding: 8px 0;
}

.nav-link.is-active,
.nav-phone {
  color: var(--blue-dark);
}

.nav-link.is-active {
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: white;
  background: var(--green);
  border: 1px solid var(--green);
}

.button-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.button-secondary {
  color: var(--blue-dark);
  background: white;
  border: 1px solid var(--line);
}

.button-secondary:hover {
  background: var(--blue-soft);
  border-color: var(--blue);
}

.button-dark {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.button-dark:hover {
  background: rgba(255, 255, 255, 0.1);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 20px;
  font-size: 42px;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.18;
}

p {
  color: var(--muted);
}

.hero {
  padding: 56px 0 0;
  background:
    linear-gradient(180deg, var(--subtle), white 72%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  gap: 32px;
}

.hero-copy {
  max-width: 620px;
}

.hero-intro {
  max-width: 46ch;
  margin-bottom: 24px;
  font-size: 18px;
  line-height: 1.55;
}

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

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

.hero-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #d7e0e5;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1.12 / 1;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: min(250px, calc(100% - 28px));
  padding: 16px;
  color: white;
  background: rgba(15, 27, 34, 0.9);
  border-radius: var(--radius);
}

.hero-badge strong {
  display: block;
  color: var(--green);
  font-size: 22px;
  line-height: 1;
}

.hero-badge span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.4;
}

.proof-row {
  display: grid;
  gap: 1px;
  margin-top: 40px;
  background: var(--line);
  border: 1px solid var(--line);
  border-bottom: 0;
}

.proof-row div {
  display: grid;
  gap: 4px;
  min-height: 76px;
  padding: 16px;
  background: white;
  font-size: 18px;
  font-weight: 800;
}

.proof-row span {
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: 56px 0;
}

.section-muted {
  background: var(--subtle);
}

.section-head {
  max-width: 680px;
  margin-bottom: 28px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.service-grid {
  display: grid;
  gap: 12px;
}

.service-tile {
  display: grid;
  gap: 24px;
  min-height: 260px;
  padding: 24px;
  color: inherit;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-tile:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.service-number {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.service-tile p {
  margin-bottom: 0;
}

.service-link {
  align-self: end;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 800;
}

.operations {
  display: grid;
  gap: 32px;
}

.operations-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.operation-item {
  background: white;
}

.operation-item summary {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 92px;
  padding: 20px;
  cursor: pointer;
  list-style: none;
}

.operation-item summary::-webkit-details-marker {
  display: none;
}

.operation-item summary::after {
  content: "";
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  background:
    linear-gradient(var(--blue-dark), var(--blue-dark)) center / 14px 2px no-repeat,
    linear-gradient(var(--blue-dark), var(--blue-dark)) center / 2px 14px no-repeat,
    var(--blue-soft);
  border-radius: 999px;
  transition: transform 180ms ease, background-color 180ms ease;
}

.operation-item[open] summary::after {
  background:
    linear-gradient(white, white) center / 14px 2px no-repeat,
    var(--green);
}

.operation-item summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: -3px;
}

.operation-item strong {
  display: block;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.18;
}

.operation-item small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.operation-detail {
  padding: 0 20px 22px;
}

.operation-detail p {
  max-width: 62ch;
  margin-bottom: 0;
}

.sector-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 0 8px;
  scrollbar-width: thin;
}

.sector-rail button {
  flex: 0 0 auto;
  padding: 12px 14px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border: 1px solid rgba(22, 119, 166, 0.18);
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.sector-rail button:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
}

.sector-rail button.is-active {
  color: white;
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.environment-panel {
  display: grid;
  grid-template-rows: 0fr;
  margin-top: 0;
  opacity: 0;
  transition: grid-template-rows 260ms ease, margin-top 260ms ease, opacity 220ms ease;
}

.environment-panel.is-open {
  grid-template-rows: 1fr;
  margin-top: 18px;
  opacity: 1;
}

.environment-panel[hidden] {
  display: grid;
}

.environment-panel-inner {
  overflow: hidden;
  padding: 0 20px;
  background: white;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: padding 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.environment-panel.is-open .environment-panel-inner {
  padding: 22px;
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.environment-panel-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.environment-close {
  flex: 0 0 auto;
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border: 1px solid rgba(22, 119, 166, 0.18);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.environment-close span {
  display: none;
}

.environment-close::before,
.environment-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transform-origin: center;
}

.environment-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.environment-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.environment-close:hover {
  border-color: var(--blue);
}

.environment-panel h3 {
  margin-bottom: 10px;
}

.environment-panel p {
  max-width: 72ch;
}

.environment-panel ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.project {
  display: grid;
  gap: 28px;
  align-items: center;
}

.project-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #d7e0e5;
  border-radius: var(--radius);
}

.project-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-photo figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  max-width: min(320px, calc(100% - 24px));
  padding: 6px 8px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(15, 27, 34, 0.78);
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.35;
}

.project-copy {
  max-width: 560px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.project-tags span {
  padding: 8px 10px;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
}

.partners-section {
  overflow: hidden;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.partner-logo {
  display: grid;
  min-height: 108px;
  place-items: center;
  padding: 20px;
  background: white;
}

.partner-logo img {
  max-width: 150px;
  max-height: 54px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.76;
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.partner-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}

.contact-section {
  padding: 56px 0;
  color: white;
  background: var(--dark);
}

.contact-section .eyebrow {
  color: var(--green);
}

.contact-section h2 {
  color: white;
}

.contact-section p {
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.76);
}

.contact-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-details a {
  width: fit-content;
  color: white;
  font-weight: 800;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 20px;
  color: var(--ink);
  background: white;
  border-radius: var(--radius);
}

.form-grid {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(245, 185, 66, 0.55);
}

.contact-form input[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
  border-color: #b42318;
}

.contact-form .form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 90ms;
}

.reveal-delay-2 {
  transition-delay: 180ms;
}

.site-footer {
  padding: 56px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #081116;
}

.footer-grid {
  display: grid;
  align-items: start;
  gap: 36px;
}

.footer-grid > div:first-child {
  max-width: 560px;
}

.footer-brand img {
  width: 176px;
  height: auto;
  margin-bottom: 20px;
}

.site-footer h2 {
  margin-bottom: 14px;
  color: white;
  font-size: 16px;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  display: block;
  width: fit-content;
  color: white;
  text-decoration: none;
}

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

.licenses {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.55;
}

@media (min-width: 640px) {
  .container {
    width: min(100% - 64px, var(--container));
  }

  .hero-actions .button,
  .contact-form .button {
    width: auto;
  }

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

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

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .nav-link {
    position: relative;
    padding: 24px 0;
    font-size: 14px;
  }

  .nav-link.is-active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 18px;
    left: 0;
    height: 3px;
    background: var(--green);
    border-radius: 999px;
  }

  .nav-phone {
    font-size: 14px;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
    align-items: center;
    gap: 56px;
  }

  h1 {
    font-size: 68px;
  }

  h2 {
    font-size: 44px;
  }

  .hero-intro {
    font-size: 20px;
  }

  .hero-media img {
    aspect-ratio: 1 / 1;
  }

  .proof-row {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 72px;
  }

  .section {
    padding: 96px 0;
  }

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

  .operations {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 72px;
  }

  .sector-rail {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    overflow: visible;
  }

  .sector-rail button {
    display: grid;
    min-height: 88px;
    place-items: center;
    text-align: center;
  }

  .project {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 72px;
  }

  .project-photo img {
    min-height: 520px;
  }

  .partner-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact-section {
    padding: 80px 0;
  }

  .contact-grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 72px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(140px, 0.35fr) minmax(240px, 0.55fr);
    gap: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
