:root {
  --bg: #f6f7f8;
  --surface: #ffffff;
  --ink: #1c1f23;
  --muted: #626973;
  --line: #dce0e5;
  --accent: #216a43;
  --accent-strong: #184d32;
  --accent-soft: #e6f1ea;
  --steel: #303840;
  --shadow: 0 18px 50px rgba(28, 31, 35, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  width: 220px;
  height: 64px;
  object-fit: contain;
  object-position: center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.main-nav a {
  padding: 8px 0;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.98fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(42px, 8vw, 88px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(246, 247, 248, 0.94), rgba(246, 247, 248, 0.72)),
    radial-gradient(circle at 82% 24%, rgba(33, 106, 67, 0.12), transparent 30%);
}

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

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.15rem, 6vw, 4.85rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
}

h3 {
  font-size: 1.12rem;
}

.hero-text {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 126px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

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

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-strong);
}

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

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.hero-image {
  position: relative;
  min-height: clamp(280px, 40vw, 520px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  background: var(--steel);
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.hero-image picture {
  display: block;
  height: 100%;
  min-height: inherit;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28, 31, 35, 0.16), rgba(28, 31, 35, 0));
  pointer-events: none;
}

.intro {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(44px, 7vw, 78px) 0;
}

.intro p {
  max-width: 880px;
  margin: 0;
  color: var(--steel);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.55;
}

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

.section-heading > p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.service-card {
  min-height: 190px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(28, 31, 35, 0.05);
}

.service-card::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--accent);
}

.service-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.why-us {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

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

.why-us-card {
  min-height: 118px;
  padding: 22px;
  background: var(--accent-soft);
  border: 1px solid rgba(33, 106, 67, 0.18);
  border-radius: 8px;
}

.why-us-card::before {
  content: "";
  display: block;
  width: 34px;
  height: 4px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--accent);
}

.why-us-card h3 {
  font-size: 1rem;
}

.contact {
  background: var(--steel);
  color: #ffffff;
}

.contact .eyebrow {
  color: #9fdbb9;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.65fr);
  gap: clamp(26px, 5vw, 58px);
  align-items: start;
}

.contact-layout p {
  max-width: 620px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.75);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-card {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  font-style: normal;
}

.contact-card div {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-card div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-card span {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  margin-top: 4px;
  color: #ffffff;
  font-size: 1.04rem;
}

.map-link {
  display: inline-block;
}

.email-link:hover strong,
.email-link:focus-visible strong,
.map-link small {
  color: #9fdbb9;
}

.map-link small {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
  font-weight: 700;
}

.map-link:hover small,
.map-link:focus-visible small {
  color: #ffffff;
  text-decoration: underline;
}

.site-footer {
  padding: 22px 20px;
  background: #171a1d;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

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

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

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

@media (max-width: 620px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
  }

  .brand-logo {
    width: 168px;
    height: 52px;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

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

  .why-us-grid {
    grid-template-columns: 1fr;
  }

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

  .why-us-card {
    min-height: 0;
  }
}
