:root {
  color-scheme: light;
  --ink: #17212b;
  --muted-ink: #5b6672;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --line: #d8ddd6;
  --forest: #244237;
  --teal: #0e6f72;
  --gold: #c99537;
  --clay: #b8583b;
  --shadow: 0 18px 50px rgba(23, 33, 43, 0.1);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--forest);
  font-weight: 800;
  text-decoration: none;
}

.main-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted-ink);
  font-size: 0.95rem;
}

.main-nav a,
.site-footer a {
  text-decoration: none;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  min-height: calc(100vh - 78px);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(14, 111, 114, 0.1), transparent 42%),
    radial-gradient(circle at 76% 20%, rgba(201, 149, 55, 0.18), transparent 28%),
    var(--paper);
}

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

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

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

h1 {
  margin-bottom: 18px;
  color: var(--forest);
  font-size: clamp(3.2rem, 11vw, 7.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  color: var(--forest);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--forest);
  font-size: 1.12rem;
}

.lead {
  max-width: 620px;
  color: var(--muted-ink);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--forest);
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
}

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

.button.secondary {
  background: transparent;
  color: var(--forest);
}

.identity-panel {
  padding: clamp(22px, 4vw, 34px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.identity-panel h2 {
  margin-bottom: 24px;
  font-size: 1.45rem;
}

dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

dt {
  color: var(--muted-ink);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.section {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(52px, 8vw, 92px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.muted {
  background: #eef3ef;
}

.text-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  color: var(--muted-ink);
  font-size: 1.08rem;
}

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

.service-list article {
  min-height: 180px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
  border-radius: 8px;
}

.service-list article:nth-child(2) {
  border-top-color: var(--teal);
}

.service-list article:nth-child(3) {
  border-top-color: var(--clay);
}

.service-list p,
.contact p {
  color: var(--muted-ink);
}

.contact {
  align-items: start;
}

address {
  display: grid;
  gap: 8px;
  padding: 26px;
  background: var(--forest);
  color: white;
  border-radius: 8px;
  font-style: normal;
}

address a {
  color: white;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--muted-ink);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 880px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav,
  .site-footer nav {
    flex-wrap: wrap;
  }

  .hero,
  .section,
  .text-grid,
  .service-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .button {
    width: 100%;
  }
}
