:root {
  --ink: #18201d;
  --muted-ink: #5b665f;
  --line: #d9ded8;
  --paper: #f7f5ef;
  --white: #ffffff;
  --green: #1f5b45;
  --green-dark: #143b31;
  --gold: #b98b3f;
  --clay: #8d5147;
  --shadow: 0 18px 45px rgba(24, 32, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 28px rgba(24, 32, 29, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-size: 13px;
  letter-spacing: 0;
}

.brand-text {
  font-size: 18px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  font-size: 15px;
}

.nav a,
.header-phone {
  opacity: 0.88;
}

.nav a:hover,
.header-phone:hover {
  opacity: 1;
}

.header-phone {
  font-weight: 700;
  white-space: nowrap;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 6px;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  padding: 128px clamp(18px, 5vw, 72px) 34px;
  color: var(--white);
  overflow: hidden;
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(11, 20, 17, 0.84) 0%, rgba(11, 20, 17, 0.55) 45%, rgba(11, 20, 17, 0.22) 100%),
    linear-gradient(0deg, rgba(11, 20, 17, 0.62) 0%, rgba(11, 20, 17, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding-bottom: clamp(28px, 7vh, 78px);
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(34px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section h2 {
  font-size: clamp(28px, 4vw, 48px);
}

.hero-lead {
  max-width: 660px;
  margin: 22px 0 0;
  font-size: clamp(17px, 2vw, 22px);
  color: rgba(255, 255, 255, 0.86);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

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

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

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(720px, 100%);
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  overflow: hidden;
}

.hero-stats div {
  padding: 18px;
  background: rgba(11, 20, 17, 0.36);
  backdrop-filter: blur(14px);
}

.hero-stats strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

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

.muted {
  background: var(--paper);
}

.intro {
  padding-top: 54px;
  padding-bottom: 54px;
}

.intro-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.intro p:last-child {
  margin: 42px 0 0;
  color: var(--muted-ink);
  font-size: 18px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.cards,
.object-grid {
  display: grid;
  gap: 18px;
}

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

.card,
.object-grid article,
.lead-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card {
  min-height: 270px;
  padding: 28px;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  color: var(--green);
  background: #e8eee8;
  border-radius: 6px;
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3,
.object-grid h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.2;
}

.card p,
.object-grid p,
.check-list {
  margin: 0;
  color: var(--muted-ink);
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
}

.visual-panel {
  min-height: 480px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.visual-panel img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.content-panel h2 {
  margin-bottom: 28px;
}

.check-list {
  display: grid;
  gap: 16px;
  padding: 0;
  list-style: none;
  font-size: 18px;
}

.check-list li {
  position: relative;
  padding-left: 32px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px var(--white);
}

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

.object-grid article {
  padding: 24px;
  min-height: 210px;
}

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

.contact-section .section-label {
  color: #d7ad62;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.contact-list a {
  color: var(--white);
  font-weight: 700;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--muted-ink);
  font-size: 14px;
  font-weight: 700;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  background: #fbfbf8;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  resize: vertical;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(31, 91, 69, 0.22);
  border-color: var(--green);
}

.lead-form .button {
  width: 100%;
}

.form-note {
  margin: 0;
  color: var(--muted-ink);
  font-size: 13px;
}

.form-note.is-success {
  color: var(--green);
  font-weight: 700;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: #101714;
  font-size: 14px;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .menu-button {
    display: inline-block;
    justify-self: end;
  }

  .nav,
  .header-phone {
    display: none;
  }

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

  .site-header.is-open {
    grid-template-columns: auto auto;
    align-items: start;
  }

  .site-header.is-open .nav {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 12px;
  }

  .site-header.is-open .header-phone {
    grid-column: 1 / -1;
  }

  .hero {
    min-height: 88vh;
  }

  .three,
  .object-grid,
  .split,
  .intro-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .visual-panel,
  .visual-panel img {
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 92vh;
    padding-top: 112px;
  }

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

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .card,
  .object-grid article,
  .lead-form {
    padding: 22px;
  }

  .footer {
    display: grid;
  }
}
