:root {
  --paper: #f5f3ec;
  --green: #243d32;
  --accent: #d1e49b;
  --ink: #24372d;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 5px; }
a:focus-visible { outline: 3px solid #84ae4a; outline-offset: 6px; }
img { display: block; max-width: 100%; }
.container { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; top: -80px; left: 20px; padding: 14px; z-index: 10; background: #fff; color: #222; }
.skip-link:focus { top: 12px; }
.header { background: var(--paper); }
.header-inner { min-height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { font-size: 18px; font-weight: 700; line-height: 1.15; text-decoration: none; letter-spacing: -.03em; }
.brand span { display: block; }
nav { display: flex; gap: 36px; font-size: 15px; }
nav a, .header-phone { text-decoration: none; }
nav a { padding: 12px 0; }
nav a:hover, .header-phone:hover { text-decoration: underline; }
.header-phone { font-size: 16px; font-weight: 500; }
.hero { min-height: 624px; position: relative; display: flex; align-items: center; color: #fff; background: var(--green); overflow: hidden; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 61%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #142e24e6 0%, #142e2494 48%, #142e2420 100%); }
.hero-inner { position: relative; padding-block: 70px 80px; }
.location, .eyebrow { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .13em; margin: 0 0 26px; }
.location { color: #e0e9d9; }
h1 { font-size: clamp(43px, 5.6vw, 78px); font-weight: 500; line-height: 1.03; letter-spacing: -.05em; margin: 0 0 26px; }
.hero-description { font-size: 19px; font-weight: 400; line-height: 1.6; color: #f0f2ea; margin: 0 0 34px; }
.hero-actions { display: flex; align-items: center; gap: 34px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; min-height: 58px; padding: 18px 23px; font-size: 15px; font-weight: 600; line-height: 1.4; text-decoration: none; border: 1px solid transparent; transition: background-color .18s; }
.button span { font-size: 21px; line-height: 1; font-weight: 400; }
.button-primary { background: var(--accent); color: #20382b; }
.button-primary:hover { background: #e1efbc; }
.hero-services { font-size: 15px; text-decoration: none; padding: 12px 0; }
.hero-services span { margin-left: 14px; }
.hero-services:hover { text-decoration: underline; }
.services-section { padding-block: 82px; }
.services-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 78px; }
.eyebrow { color: #677461; margin-bottom: 20px; }
h2 { font-size: clamp(32px, 3.15vw, 46px); line-height: 1.12; font-weight: 500; letter-spacing: -.04em; margin: 0; }
.rock-photo { margin: 34px 0 0; overflow: hidden; height: 300px; }
.rock-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 35px; list-style: none; padding: 0; margin: 0; align-self: stretch; }
.services li { border-top: 1px solid #c9cec1; padding: 19px 0 23px; font-size: 16px; line-height: 1.55; }
.contacts { padding-top: 70px; color: #f5f4ec; background: var(--green); }
.contacts .eyebrow { color: #b7c5ac; }
.contact-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 78px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.actions .button { gap: 22px; }
.button-secondary { border-color: #8da08f; color: #f5f4ec; }
.button-secondary:hover { background: #ffffff12; }
.company-address { padding-top: 36px; font-size: 20px; font-style: normal; line-height: 1.55; }
.company-address p { margin: 0 0 18px; }
.company-address a { text-decoration: none; }
.company-address a:hover { text-decoration: underline; }
.company-address p:nth-child(2) { font-size: 18px; }
.email { overflow-wrap: anywhere; }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px; margin-top: 52px; padding: 31px 0 46px; border-top: 1px solid #667d6a; }
.person h3 { font-size: 18px; font-weight: 500; margin: 0 0 15px; color: #d1e49b; }
.person p { margin: 0 0 6px; font-size: 15px; line-height: 1.5; }
.person a { font-size: 15px; text-decoration: none; }
.person a:hover { text-decoration: underline; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; border-top: 1px solid #5a7260; padding: 24px 0 28px; font-size: 12px; line-height: 1.5; color: #c2cbbb; }
.footer-company { display: flex; align-items: center; gap: 16px; }
.vk-link { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; }
.vk-link img { display: block; width: 32px; height: 32px; }
.developer-credit { text-decoration: none; }
.developer-credit:hover { text-decoration: underline; }
.developer-credit span { margin-left: 8px; }
@media (max-width: 1000px) {
  .container { width: calc(100% - 56px); }
  .services-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 36px; }
  .services { gap: 0 24px; }
  .services li { font-size: 15px; }
  .contact-overview { gap: 36px; }
  .actions { display: grid; }
  .team { gap: 24px; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 82px; gap: 18px; }
  .brand { font-size: 16px; }
  nav { gap: 20px; font-size: 13px; }
  .header-phone { display: none; }
  .hero { min-height: 550px; align-items: end; }
  .hero-image { object-position: 60% center; }
  .hero-shade { background: linear-gradient(0deg, #142e24ed, #142e2470); }
  .hero-inner { padding-block: 75px 45px; }
  .location { font-size: 10px; margin-bottom: 28px; }
  h1 { font-size: clamp(35px, 9.1vw, 59px); line-height: 1.06; margin-bottom: 24px; }
  .hero-description { font-size: 16px; margin-bottom: 28px; max-width: 330px; }
  .hero-description br { display: none; }
  .hero-actions { flex-wrap: wrap; gap: 16px 25px; }
  .button { font-size: 14px; padding: 16px 18px; min-height: 54px; gap: 24px; }
  .hero-services { font-size: 14px; }
  .services-section { padding-block: 48px; }
  .services-layout { grid-template-columns: 1fr; gap: 28px; }
  .services-intro { display: grid; grid-template-columns: 1fr 105px; gap: 0 20px; align-items: start; }
  .services-intro .eyebrow { grid-column: 1; margin-bottom: 14px; }
  .services-intro h2 { grid-column: 1; grid-row: 2; }
  h2 { font-size: clamp(28px, 7.5vw, 36px); }
  .rock-photo { grid-column: 2; grid-row: 1 / 3; margin: 0; height: 142px; }
  .services { grid-template-columns: 1fr; gap: 0; }
  .services li { font-size: 16px; padding: 16px 0 20px; }
  .contacts { padding-top: 48px; }
  .contact-overview { grid-template-columns: 1fr; gap: 35px; }
  .actions { grid-template-columns: 1fr; gap: 12px; margin-top: 25px; }
  .company-address { padding-top: 0; font-size: 19px; }
  .company-address p:nth-child(2) { font-size: 18px; }
  .team { grid-template-columns: 1fr; gap: 26px; padding: 28px 0 35px; margin-top: 32px; }
  .person h3 { margin-bottom: 10px; }
  .person p, .person a { font-size: 16px; }
  footer { flex-direction: column; gap: 12px; }
}
@media (max-width: 380px) {
  .services { grid-template-columns: 1fr; }
  .services-intro { grid-template-columns: 1fr 80px; gap: 0 12px; }
  .rock-photo { height: 130px; }
  .hero-services { padding-block: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
