:root {
  --text: #1f2933;
  --muted: #5f6b7a;
  --line: #d8dde5;
  --panel: #f7f8fa;
  --panel-strong: #eef2f4;
  --accent: #24515f;
  --accent-dark: #17343d;
  --warm: #8b5e34;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  background: #ffffff;
}

html {
  scroll-behavior: smooth;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

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

.brand {
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  text-decoration: none;
}

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

.hero,
.page-intro,
.section,
.profiles {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px clamp(20px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 44px;
  align-items: end;
  padding-top: 74px;
  padding-bottom: 54px;
}

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

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

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 8px;
  font-size: 28px;
  line-height: 1.15;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.25;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
}

.button-link,
.text-link {
  font-weight: 700;
  text-decoration: none;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 12px 18px;
  color: #ffffff;
  background: var(--accent-dark);
}

.text-link {
  color: var(--accent-dark);
}

.hero-panel {
  border-left: 3px solid var(--accent);
  padding: 22px 0 22px 24px;
  background: var(--panel);
}

.hero-panel p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 18px;
  font-weight: 700;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 26px;
}

.section-heading p,
.service-card p,
.profile p,
.strength-card p,
.project-item span {
  color: var(--muted);
}

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

.service-card,
.project-item,
.strength-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px;
  background: #ffffff;
}

.service-card {
  min-height: 210px;
}

.service-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--warm);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-section {
  scroll-margin-top: 96px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}

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

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px;
  background: #ffffff;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px;
  font: inherit;
  font-size: 16px;
}

textarea {
  resize: vertical;
}

button {
  width: fit-content;
  border: 0;
  border-radius: 4px;
  padding: 12px 18px;
  color: #ffffff;
  background: var(--accent-dark);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.notice {
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px;
  background: var(--panel);
}

.profiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-top: 8px;
}

.profile {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
}

.profile img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.profile div {
  padding: 22px;
}

.role {
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--accent-dark);
}

.team-strengths {
  padding-top: 16px;
  padding-bottom: 18px;
}

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

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

.project-item span {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-item h3 {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
    padding-top: 56px;
  }

  .hero-panel {
    max-width: 520px;
  }

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

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

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

  .site-header {
    position: static;
    gap: 14px;
    padding: 18px 20px;
  }

  .brand {
    font-size: 18px;
  }

  .nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    font-size: 14px;
  }

  .nav a {
    justify-content: center;
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #ffffff;
  }

  .hero,
  .service-grid,
  .project-list,
  .profiles,
  .strength-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
    padding-bottom: 38px;
  }

  .hero-panel {
    border-left: 0;
    border-top: 3px solid var(--accent);
    padding: 18px;
    background: var(--panel);
  }

  .profile img {
    height: 230px;
  }

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

@media (max-width: 540px) {
  body {
    line-height: 1.5;
  }

  .hero,
  .page-intro,
  .section,
  .profiles {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero,
  .page-intro {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 18px;
  }

  .lead {
    font-size: 18px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .button-link,
  .text-link,
  button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .service-card,
  .project-item,
  .strength-card,
  .contact-form {
    padding: 18px;
  }

  .service-card span {
    margin-bottom: 12px;
  }

  .profile img {
    height: 220px;
  }

  .profile div {
    padding: 18px;
  }

  .site-footer {
    padding: 24px 18px;
  }
}

@media (max-width: 380px) {
  .nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  h1 {
    font-size: 30px;
  }
}
