/* Ландшафт · Бровари — концепт. Deep forest + bone + amber. */

@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-v12-cyrillic_latin-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Golos Text";
  src: url("../fonts/golos-text-v7-cyrillic_latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Golos Text";
  src: url("../fonts/golos-text-v7-cyrillic_latin-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg: #0b1f13;
  --bg2: #0e2718;
  --line: rgba(242, 238, 227, 0.14);
  --bone: #f2eee3;
  --bone-dim: rgba(242, 238, 227, 0.72);
  --amber: #d9a441;
  --ink: #10281a;
  --disp: "Unbounded", sans-serif;
  --body: "Golos Text", sans-serif;
  --pad: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--bone);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img,
video {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.block {
  padding-top: 88px;
  padding-bottom: 88px;
}

/* type */
.h2 {
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(26px, 5.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  text-wrap: balance;
}
.lead {
  color: var(--bone-dim);
  max-width: 56ch;
  margin-bottom: 40px;
}

/* top bar */
.top {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px var(--pad);
}
.top__brand {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.top__dot {
  color: var(--amber);
  margin: 0 6px;
}
.top__cta {
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  backdrop-filter: none;
  background: rgba(11, 31, 19, 0.75);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.15s ease;
}
.btn:active {
  transform: scale(0.98);
}
.btn--amber {
  background: var(--amber);
  color: var(--ink);
}
.btn--ghost {
  border: 1px solid var(--line);
  color: var(--bone);
}
.btn--big {
  min-height: 60px;
  padding: 0 40px;
  font-size: 18px;
}

/* hero */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
}
.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 31, 19, 0.5) 0%, rgba(11, 31, 19, 0) 30%),
    linear-gradient(180deg, rgba(11, 31, 19, 0) 38%, rgba(11, 31, 19, 0.92) 88%);
}
.hero__panel {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--pad) 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero__geo {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
  font-weight: 600;
}
.hero__title {
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(30px, 7.4vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}
.hero__title span {
  display: block;
}
.hero__sub {
  color: var(--bone-dim);
  max-width: 46ch;
  margin-bottom: 28px;
}
.hero__row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* rise-in on load */
.rise {
  opacity: 0;
  transform: translateY(26px);
  animation: rise 0.7s cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
}
.rise:nth-child(2) {
  animation-delay: 0.08s;
}
.hero__title .rise:nth-child(1) {
  animation-delay: 0.12s;
}
.hero__title .rise:nth-child(2) {
  animation-delay: 0.22s;
}
.hero__sub.rise {
  animation-delay: 0.34s;
}
.hero__row.rise {
  animation-delay: 0.46s;
}
@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* reveal on scroll */
.rev {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.rev.in {
  opacity: 1;
  transform: none;
}

/* services */
.serv {
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.serv__item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 4px 16px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.serv__n {
  font-family: var(--disp);
  font-weight: 600;
  color: var(--amber);
  font-size: 15px;
  padding-top: 4px;
}
.serv__t {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.25;
}
.serv__d {
  grid-column: 2;
  color: var(--bone-dim);
  max-width: 58ch;
}

/* process */
.proc {
  background: var(--bg2);
}
.proc__main {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.proc__main img {
  width: 100%;
  height: auto;
}
.chip {
  position: absolute;
  left: 16px;
  background: var(--bone);
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
}
.chip--top {
  top: 14%;
}
.chip--bottom {
  bottom: 12%;
}
.proc__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
  margin-top: 20px;
}
.proc__card img {
  width: 100%;
  height: auto;
}
.cap {
  font-size: 14px;
  color: var(--bone-dim);
  padding-top: 10px;
}

/* gallery */
.gal {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
}
.gal__item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}
.gal__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gal__item .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 28px 14px 12px;
  font-size: 13px;
  color: var(--bone);
  background: linear-gradient(180deg, rgba(4, 12, 7, 0) 0%, rgba(4, 12, 7, 0.78) 70%);
}
.gal__item {
  aspect-ratio: 3 / 4;
}
.gal__item:nth-child(4) {
  aspect-ratio: auto;
}

/* cta */
.cta {
  background: var(--amber);
  color: var(--ink);
}
.cta__in {
  text-align: left;
}
.cta__t {
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(30px, 6.4vw, 56px);
  line-height: 1.08;
  margin-bottom: 12px;
}
.cta__d {
  max-width: 48ch;
  margin-bottom: 28px;
  color: rgba(16, 40, 26, 0.8);
}
.cta .btn--amber {
  background: var(--ink);
  color: var(--bone);
}
.cta__geo {
  margin-top: 22px;
  font-size: 14px;
  color: rgba(16, 40, 26, 0.7);
  font-weight: 600;
}

/* footer */
.foot {
  padding: 28px var(--pad) 96px;
  text-align: center;
  color: rgba(242, 238, 227, 0.45);
  font-size: 13px;
}

/* floating CTA (mobile) */
.fab {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  background: var(--amber);
  color: var(--ink);
  font-weight: 600;
  text-align: center;
  padding: 16px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(4, 12, 7, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.fab.on {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

/* desktop */
@media (min-width: 1024px) {
  :root {
    --pad: 40px;
  }
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
    background: var(--bg);
  }
  .hero__media {
    position: relative;
    inset: auto;
    order: 2;
    height: 100dvh;
  }
  .hero__shade {
    background: linear-gradient(90deg, rgba(11, 31, 19, 0.55) 0%, rgba(11, 31, 19, 0) 40%);
  }
  .hero__panel {
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 64px 64px;
    margin: 0;
  }
  .serv {
    grid-template-columns: 1fr 1fr;
    border-top: none;
  }
  .serv__item {
    border-top: 1px solid var(--line);
    padding: 32px 32px 32px 0;
  }
  .gal {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 320px;
  }
  .gal__item {
    aspect-ratio: auto;
  }
  .gal__item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gal__item:nth-child(4) {
    grid-column: span 2;
    aspect-ratio: auto;
  }
  .proc__main img {
    max-height: 72vh;
    object-fit: cover;
    object-position: 50% 16%;
  }
  .proc__grid {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }
  .fab {
    display: none;
  }
  .block {
    padding-top: 120px;
    padding-bottom: 120px;
  }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .rise,
  .rev {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}
