:root {
  --forest: #17362b;
  --forest-2: #234b3d;
  --berry: #405189;
  --cream: #f5f2ea;
  --paper: #fbfaf6;
  --ink: #17241f;
  --muted: #68736e;
  --line: rgba(23, 54, 43, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.25);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; font-family: "Prata", serif; font-size: 20px; }
.brand strong { display: block; font-size: .92rem; letter-spacing: .15em; }
.brand small { display: block; margin-top: 7px; font-size: .7rem; font-weight: 500; opacity: .75; letter-spacing: .08em; }
.nav { display: flex; gap: 32px; }
.nav a { text-decoration: none; font-size: .86rem; font-weight: 600; opacity: .86; transition: opacity .2s; }
.nav a:hover, .nav a:focus-visible { opacity: 1; }
.menu-button { display: none; }

.hero {
  position: relative;
  min-height: 780px;
  height: 100vh;
  color: white;
  overflow: hidden;
  display: grid;
  align-items: center;
}
.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, #294c3d 0%, rgba(53,93,73,.45) 48%, rgba(29,58,48,.12) 100%),
    url("https://commons.wikimedia.org/wiki/Special:Redirect/file/Lonicera_caerulea_2017.jpg") center 43% / cover no-repeat;
  transform: scale(1.03);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(30deg, rgba(255,255,255,.035) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.035) 87.5%);
  background-size: 42px 42px;
  mix-blend-mode: soft-light;
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,27,21,.8) 0%, rgba(11,32,25,.43) 54%, rgba(10,28,23,.1) 100%); }
.hero-content { position: relative; z-index: 2; width: min(720px, 86vw); margin-left: 8vw; padding: 120px 0 210px; }
.eyebrow, .section-label { margin: 0 0 22px; font-size: .76rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.hero h1, h2 { margin: 0; font-family: "Prata", Georgia, serif; font-weight: 400; line-height: 1.08; }
.hero h1 { max-width: 700px; font-size: clamp(3.1rem, 7vw, 6.8rem); letter-spacing: -.035em; }
.hero-copy { max-width: 650px; margin: 32px 0 36px; font-size: clamp(1rem, 1.6vw, 1.18rem); line-height: 1.75; color: rgba(255,255,255,.86); }
.button { display: inline-flex; align-items: center; min-height: 50px; padding: 0 25px; background: white; color: var(--forest); text-decoration: none; font-size: .86rem; font-weight: 700; border-radius: 2px; }
.photo-credit { position: absolute; z-index: 3; right: 3vw; bottom: 130px; max-width: 320px; color: rgba(255,255,255,.55); font-size: .65rem; line-height: 1.4; text-align: right; text-decoration: none; }
.hero-facts { position: absolute; z-index: 3; left: 8vw; right: 8vw; bottom: 0; min-height: 118px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.3); }
.hero-facts div { padding: 25px 30px 22px 0; border-right: 1px solid rgba(255,255,255,.2); }
.hero-facts div + div { padding-left: 34px; }
.hero-facts div:last-child { border-right: 0; }
.hero-facts strong { display: block; font-family: "Prata", serif; font-size: 1.55rem; font-weight: 400; }
.hero-facts span { display: block; margin-top: 4px; font-size: .78rem; opacity: .7; }

.section { padding: 120px 8vw; }
.section-label { color: var(--berry); }
.section-label.light { color: #b7c7be; }
h2 { font-size: clamp(2.2rem, 4.5vw, 4.5rem); letter-spacing: -.03em; }
h3 { margin: 0 0 10px; font-size: 1.04rem; line-height: 1.35; }
p { margin-top: 0; }
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 10vw; }
.lead-copy { padding-top: 42px; font-size: 1.1rem; color: #45534d; }
.lead-copy p + p { margin-top: 26px; }

.garden-section { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; background: var(--forest); color: white; }
.garden-heading { align-self: center; }
.garden-heading > p:last-child { max-width: 590px; margin-top: 30px; color: rgba(255,255,255,.68); }
.garden-list article { display: grid; grid-template-columns: 50px 1fr; gap: 24px; padding: 31px 0; border-top: 1px solid rgba(255,255,255,.18); }
.garden-list article:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.garden-list article > span { color: #9fb5aa; font-size: .8rem; }
.garden-list h3 { font-size: 1.25rem; }
.garden-list p { margin: 0; color: rgba(255,255,255,.66); }

.section-title-row { display: grid; grid-template-columns: 1fr .65fr; gap: 10vw; align-items: end; margin-bottom: 56px; }
.section-title-row > p { margin: 0 0 5px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cards article { min-height: 320px; padding: 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.card-icon { margin-bottom: auto; color: var(--berry); font-size: .78rem; font-weight: 700; }
.cards h3 { font-size: 1.16rem; }
.cards p { margin: 0; color: var(--muted); font-size: .9rem; }

.development { display: grid; grid-template-columns: .85fr 1.15fr; gap: 11vw; background: var(--cream); }
.development-copy > p:last-child { max-width: 580px; margin-top: 28px; color: var(--muted); }
.development-list { list-style: none; margin: 0; padding: 0; }
.development-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.development-list li:last-child { border-bottom: 1px solid var(--line); }
.development-list span { font-size: 1.02rem; }
.development-list b { color: var(--berry); font-size: .72rem; }

.footer { display: grid; grid-template-columns: .55fr 1fr auto; gap: 30px; align-items: center; padding: 40px 8vw; background: #102a22; color: rgba(255,255,255,.72); font-size: .78rem; }
.footer-brand { color: white; font-weight: 700; letter-spacing: .08em; }
.footer-legal { white-space: nowrap; }

@media (max-width: 900px) {
  .site-header { min-height: 72px; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; display: none; padding: 22px 5vw 28px; background: var(--forest); flex-direction: column; gap: 18px; border-top: 1px solid rgba(255,255,255,.15); }
  .nav.open { display: flex; }
  .menu-button { display: block; width: 42px; height: 42px; border: 0; background: transparent; color: white; padding: 11px 6px; }
  .menu-button span:not(.sr-only) { display: block; width: 28px; height: 1px; margin: 7px auto; background: currentColor; }
  .hero { min-height: 730px; }
  .hero-content { margin-left: 6vw; padding-top: 110px; }
  .photo-credit { right: 6vw; }
  .hero-facts { left: 6vw; right: 6vw; }
  .section { padding: 88px 6vw; }
  .intro-grid, .garden-section, .development { grid-template-columns: 1fr; gap: 54px; }
  .lead-copy { padding-top: 0; }
  .section-title-row { grid-template-columns: 1fr; gap: 24px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 560px) {
  .brand small { display: none; }
  .hero { display: block; min-height: 100svh; height: auto; }
  .hero-content { width: 88%; margin: 0 auto; padding: 140px 0 32px; }
  .hero h1 { font-size: clamp(2rem, 8.6vw, 2.6rem); line-height: 1.16; hyphens: auto; overflow-wrap: anywhere; }
  .hero-copy { font-size: 1rem; line-height: 1.65; }
  .eyebrow { font-size: .75rem; letter-spacing: .09em; }
  .photo-credit { position: relative; display: block; right: auto; bottom: auto; max-width: none; margin: 0 6% 36px; font-size: .75rem; text-align: left; }
  .hero-facts { position: relative; left: auto; right: auto; width: 88%; margin: 0 auto; min-height: 0; grid-template-columns: 1fr; padding: 12px 0 14px; }
  .hero-facts div, .hero-facts div + div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 8px 0; border-right: 0; }
  .hero-facts strong { font-size: 1.1rem; }
  .hero-facts span { text-align: right; }
  .section { padding: 72px 6vw; }
  h2 { font-size: clamp(1.9rem, 7.8vw, 2.2rem); line-height: 1.2; hyphens: auto; overflow-wrap: anywhere; }
  .cards { grid-template-columns: 1fr; }
  .cards article { min-height: 250px; }
  .footer-legal { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Десктопная доработка маршрута «Как мы создаём АРМИЗОН»: линия идёт точно от центра 01 до центра 04 и не режет подписи. */
@media (min-width: 901px) {
  .process-track::before {
    top: 50px !important;
    left: 27px !important;
    right: calc(25% - 55px) !important;
  }

  .process-step-head {
    gap: 18px !important;
  }

  .process-node {
    transform: translateY(5px);
  }

  .process-kicker {
    position: relative;
    z-index: 2;
    display: inline-block;
    padding: 0;
    background: transparent;
    box-shadow: none;
    transform: translateY(-9px);
    line-height: 1;
  }
}
