:root {
  --ink: #161817;
  --muted: #636862;
  --paper: #f5f3ec;
  --white: #ffffff;
  --pine: #176857;
  --pine-dark: #0b1b18;
  --oak: #c99018;
  --sky: #e5f4f3;
  --teal: #078fa0;
  --lime: #8dbd31;
  --line: #dfddd2;
  --shadow: 0 22px 60px rgba(13, 27, 23, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: var(--white);
  background: var(--pine-dark);
  border-radius: 6px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(22, 24, 23, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand-symbol {
  width: 58px;
  height: 36px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong {
  color: var(--pine-dark);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.brand-text small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

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

.site-nav a,
.footer-links a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--pine);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 42px;
  padding: 10px 18px;
  color: var(--white);
  background: var(--pine);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

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

.hero {
  position: relative;
  min-height: 82vh;
  isolation: isolate;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  z-index: 1;
  background: linear-gradient(90deg, rgba(5, 6, 5, 0.84) 0%, rgba(5, 6, 5, 0.64) 42%, rgba(5, 6, 5, 0.18) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0 56px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--oak);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 72px;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 22px;
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

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

.button.primary:hover,
.header-cta:hover {
  background: var(--teal);
}

.button.secondary {
  color: var(--pine-dark);
  background: var(--white);
  border-color: var(--line);
}

.button.secondary:hover {
  border-color: var(--pine);
}

.button.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.button.full {
  width: 100%;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin: 52px 0 0;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  overflow: hidden;
}

.hero-facts div {
  padding: 18px;
  background: rgba(16, 22, 20, 0.56);
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: var(--white);
  font-size: 16px;
  font-weight: 900;
}

.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.intro-section,
.services-section,
.sectors-section,
.works-section,
.method-section,
.contact-section {
  padding: 88px 0;
}

.intro-section {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: 0;
}

.intro-copy p,
.sector-panel p,
.contact-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-heading.compact {
  max-width: 660px;
}

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

.service-card {
  min-height: 292px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(24, 32, 29, 0.06);
}

.card-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  color: var(--pine);
  background: linear-gradient(135deg, rgba(0, 182, 200, 0.18), rgba(155, 215, 28, 0.18));
  border-radius: 8px;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.service-card h3,
.timeline h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.22;
}

.service-card p,
.timeline p,
.sector-list span {
  margin: 0;
  color: var(--muted);
}

.sectors-section {
  color: var(--white);
  background: var(--pine-dark);
}

.sectors-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  gap: 64px;
  align-items: start;
}

.sectors-section h2,
.sectors-section .sector-panel p {
  color: var(--white);
}

.sectors-section .sector-panel p {
  color: rgba(255, 255, 255, 0.78);
}

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

.sector-list li {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.sector-list strong {
  color: var(--white);
  font-size: 18px;
}

.sector-list span {
  color: rgba(255, 255, 255, 0.76);
}

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

.timeline article {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: var(--pine-dark);
  background: linear-gradient(135deg, rgba(0, 182, 200, 0.2), rgba(155, 215, 28, 0.2));
  border-radius: 50%;
  font-weight: 900;
}

.works-section {
  background: var(--white);
}

.works-layout {
  display: grid;
  gap: 34px;
}

.works-heading {
  max-width: 820px;
}

.works-heading > p:last-child {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

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

.work-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(24, 32, 29, 0.06);
}

.work-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.work-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.work-card-body span {
  color: var(--pine);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.work-card-body h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 900;
}

.work-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.works-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(23, 104, 87, 0.08), rgba(7, 143, 160, 0.1)),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.works-cta p {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.contact-section {
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: 64px;
  align-items: start;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.contact-methods a {
  min-height: 96px;
  padding: 18px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}

.contact-methods a:hover {
  border-color: var(--pine);
}

.contact-methods a[href^="mailto:"] {
  grid-column: 1 / -1;
  min-height: 82px;
}

.contact-methods span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-methods strong {
  display: block;
  margin-top: 6px;
  font-size: 17px;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.contact-form {
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

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

label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cfd7d0;
  border-radius: 6px;
}

textarea {
  min-height: 148px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(31, 95, 80, 0.18);
  border-color: var(--pine);
}

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

.check-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.check-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.check-row a {
  color: var(--pine);
}

.site-footer {
  padding: 42px 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--pine-dark);
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
}

.site-footer p {
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.84);
}

.copyright {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.legal-page {
  background: var(--white);
}

.page-hero {
  padding: 74px 0 44px;
  background: var(--paper);
}

.page-content {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 88px;
}

.page-content h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1.08;
}

.page-content h2 {
  margin-top: 34px;
  font-size: 26px;
}

.page-content p,
.page-content li {
  color: var(--muted);
}

.notice-box {
  padding: 18px;
  background: #fff8e8;
  border: 1px solid #f0d9a8;
  border-radius: 8px;
}

.legal-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 20px;
  padding: 0;
  list-style: none;
}

.legal-list li {
  padding: 12px 14px;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-list strong {
  color: var(--ink);
}

.result {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 40px 16px;
}

.result-card {
  width: min(680px, 100%);
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.result-card h1 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.12;
}

.result-card p {
  color: var(--muted);
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 16px 18px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
  }

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

  .site-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 76vh;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-lead {
    font-size: 19px;
  }

  .intro-grid,
  .sectors-layout,
  .works-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .sector-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 15px;
  }

  .brand {
    min-width: auto;
  }

  .brand-text small {
    display: none;
  }

  .brand-symbol {
    width: 58px;
    height: 38px;
  }

  .hero-content {
    padding: 58px 0 36px;
  }

  .hero-overlay {
    background: rgba(17, 23, 22, 0.72);
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-lead {
    font-size: 18px;
  }

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

  .hero-facts {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .intro-section,
  .services-section,
  .sectors-section,
  .works-section,
  .method-section,
  .contact-section {
    padding: 62px 0;
  }

  h2 {
    font-size: 31px;
  }

  .service-grid,
  .works-grid,
  .timeline,
  .contact-methods,
  .two-columns,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .works-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-form {
    padding: 22px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .page-content h1 {
    font-size: 36px;
  }
}
