:root {
  --forest: #10231d;
  --gold: #c7a56a;
  --cream: #f5f2e9;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--forest); color: white; font-family: var(--sans); }
a { color: inherit; text-decoration: none; }

.metrika-pixel { position: absolute; left: -9999px; }
.hero { position: relative; width: 100%; height: 100vh; min-height: 720px; overflow: hidden; background: var(--forest); }
.hero__image { position: absolute; inset: 0 0 0 39%; background: url("territory-concept.jpg") center 48% / cover no-repeat; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, #10231d 0%, #10231d 27%, rgba(16,35,29,.91) 41%, rgba(8,20,15,.2) 72%, rgba(6,14,10,.08)), linear-gradient(0deg, rgba(5,15,11,.48), transparent 42%); }

.header { position: absolute; z-index: 3; top: 0; left: 0; width: 100%; height: 82px; padding: 0 max(4vw, 30px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.25); }
.brand { display: flex; align-items: center; gap: 13px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.brand__mark { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font: 500 22px var(--serif); }
.header__phone { font-size: 14px; font-weight: 700; letter-spacing: .03em; }

.offer { position: absolute; z-index: 2; left: max(8vw, 60px); top: 52%; max-width: 900px; transform: translateY(-50%); }
.offer__label { margin: 0 0 27px; color: #d7bd8c; font-size: 11px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; }
.offer__label span { display: inline-block; margin: 0 .55em; color: #f0e3ca; }
h1 { margin: 0; font: 400 clamp(64px, 7.8vw, 126px) / .81 var(--serif); letter-spacing: -.035em; }
.offer__text { max-width: 620px; margin: 35px 0 38px; color: var(--cream); font-size: 17px; line-height: 1.75; }
.call-button { min-height: 58px; padding: 0 32px; display: inline-flex; align-items: center; justify-content: center; background: var(--gold); color: #16221c; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.call-button:hover { background: #d8b97e; }

.price { position: absolute; z-index: 2; right: max(6vw, 40px); bottom: 63px; padding-left: 25px; display: flex; flex-direction: column; gap: 5px; border-left: 1px solid rgba(255,255,255,.4); }
.price span { color: #ddd8cc; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.price strong { font: 500 30px var(--serif); }
.mobile-call { display: none; }

@media (max-width: 900px) {
  .hero { height: 100svh; min-height: 680px; }
  .hero__image { inset: 0; background-position: 52% 48%; }
  .hero__shade { background: linear-gradient(90deg, rgba(6,18,13,.67), rgba(6,16,12,.23)), linear-gradient(0deg, rgba(5,15,11,.76), transparent 58%); }
  .header { height: 70px; padding: 0 20px; }
  .brand { font-size: 11px; }
  .brand__mark { width: 32px; height: 32px; font-size: 19px; }
  .header__phone, .call-button { display: none; }
  .offer { top: 43%; left: 20px; right: 20px; transform: translateY(-50%); }
  .offer__label { margin-bottom: 20px; font-size: 9px; line-height: 1.5; letter-spacing: .16em; }
  h1 { font-size: clamp(44px, 13.5vw, 58px); line-height: .88; }
  .offer__text { max-width: 350px; margin: 25px 0 28px; font-size: 14px; line-height: 1.55; }
  .price { left: 20px; right: auto; bottom: calc(78px + env(safe-area-inset-bottom)); }
  .mobile-call { position: fixed; z-index: 10; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); height: 54px; display: flex; align-items: center; justify-content: center; background: var(--gold); color: #16221c; box-shadow: 0 5px 30px rgba(0,0,0,.33); font-size: 12px; font-weight: 700; letter-spacing: .14em; }
}

@media (max-width: 380px) {
  h1 { font-size: 43px; }
  .offer__text { font-size: 13px; }
}
