:root {
  color-scheme: light;
  --bg: #f6f8f4;
  --surface: #ffffff;
  --surface-soft: #eef3ec;
  --ink: #17201b;
  --muted: #5a665e;
  --line: #d9e1d8;
  --primary: #1f6f5b;
  --primary-strong: #154f42;
  --accent: #b7852f;
  --shadow: 0 22px 60px rgba(23, 32, 27, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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: 24px;
  padding: 18px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(246, 248, 244, 0.92);
  border-bottom: 1px solid rgba(217, 225, 216, 0.82);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-name,
.brand-subtitle {
  display: block;
  white-space: nowrap;
}

.brand-name {
  font-weight: 760;
  line-height: 1.1;
}

.brand-subtitle {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
}

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

.site-nav a {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  transition: background 140ms ease, color 140ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--surface-soft);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: 34px;
  width: min(var(--max), calc(100% - 48px));
  min-height: min(680px, calc(100svh - 84px));
  margin: 0 auto;
  padding: clamp(52px, 7vw, 92px) 0 54px;
  align-items: center;
}

.hero-content {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(46px, 6.6vw, 78px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 740;
  transition: transform 110ms ease, background 140ms ease, border-color 140ms ease;
}

.button:active {
  transform: scale(0.98);
}

.button.primary {
  background: var(--primary);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--primary-strong);
}

.button.secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--primary-strong);
}

.button.secondary:hover {
  border-color: #b8c7bd;
  background: #fbfcfa;
}

.hero-media,
.service-card,
.company-table,
.compliance-note,
.contact-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.hero-media {
  position: relative;
  min-height: 470px;
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(23, 32, 27, 0) 44%, rgba(23, 32, 27, 0.72) 100%);
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

.hero-media figcaption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 1;
  color: #ffffff;
}

.hero-media span,
.profile-facts span,
dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-media span {
  color: rgba(255, 255, 255, 0.72);
}

.hero-media strong {
  display: block;
  margin-top: 5px;
  font-size: 21px;
  line-height: 1.28;
}

dd {
  margin: 6px 0 0;
  font-size: 18px;
  font-weight: 760;
  line-height: 1.35;
}

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
  gap: 32px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 760px;
  display: block;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.22;
  letter-spacing: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(300px, 0.34fr);
  gap: 18px;
  align-items: start;
}

.profile-facts {
  display: grid;
  gap: 12px;
}

.profile-facts div {
  min-height: 108px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.profile-facts strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(20px, 3vw, 34px);
  line-height: 1.14;
}

.metrics {
  display: grid;
  gap: 12px;
}

.metric {
  padding: 20px;
  border-left: 4px solid var(--accent);
  background: #ffffff;
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  font-size: 28px;
  line-height: 1.1;
}

.metric span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

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

.service-card {
  overflow: hidden;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

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

.service-card div {
  padding: 22px;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 42px rgba(23, 32, 27, 0.1);
}

.service-icon {
  display: inline-grid;
  width: 44px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.service-card p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(280px, 0.32fr);
  gap: 18px;
  align-items: start;
}

.company-table {
  overflow: hidden;
}

.company-table div {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.company-table div:last-child {
  border-bottom: 0;
}

.company-table span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.company-table strong {
  font-size: 15px;
  line-height: 1.45;
}

.compliance-note {
  padding: 24px;
  background: var(--primary-strong);
  color: #ffffff;
}

.compliance-note ul {
  margin: 14px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  list-style: none;
}

.compliance-note li {
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  line-height: 1.35;
}

.contact-section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto 28px;
  padding: 42px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
}

.contact-section .eyebrow {
  color: #9fd6c5;
}

.contact-section h2 {
  max-width: 820px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.contact-item {
  display: block;
  min-height: 122px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.contact-item span,
.contact-item strong {
  display: block;
}

.contact-item span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

.contact-item strong {
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.35;
}

a.contact-item {
  transition: background 140ms ease, transform 110ms ease;
}

a.contact-item:hover {
  background: rgba(255, 255, 255, 0.13);
}

a.contact-item:active {
  transform: scale(0.99);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid rgba(31, 111, 91, 0.38);
  outline-offset: 3px;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .about-grid,
  .company-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .hero-media,
  .hero-media img {
    min-height: 360px;
  }

  .section-heading {
    display: block;
  }

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

@media (max-width: 640px) {
  .site-header,
  .hero,
  .section,
  .contact-section,
  .site-footer {
    width: auto;
  }

  .site-header {
    padding: 14px 18px;
  }

  .brand-subtitle {
    white-space: normal;
  }

  .hero,
  .section {
    margin-left: 18px;
    margin-right: 18px;
  }

  .hero {
    gap: 20px;
    padding-bottom: 32px;
  }

  .hero-media,
  .hero-media img {
    min-height: 280px;
  }

  h1 {
    font-size: clamp(42px, 16vw, 62px);
  }

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

  .section {
    padding: 64px 0;
  }

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

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

  .profile-facts div {
    min-height: auto;
    padding: 20px;
  }

  .company-table div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-section {
    margin: 0 18px 18px;
    padding: 28px 20px;
  }

  .site-footer {
    flex-direction: column;
    margin: 0 18px;
    padding-bottom: 28px;
  }
}
