:root {
  --green: #4e7a45;
  --pine: #2e4a2a;
  --needle: #79a06b;
  --cream: #faf7ec;
  --amber: #e8b24a;
  --ink: #20301f;
  --muted: #61705d;
  --white: #fffef8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; }
body.overlayOpen { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.siteHeader { position: fixed; inset: 0 0 auto; z-index: 40; height: 82px; background: rgba(250,247,236,.96); border-bottom: 1px solid rgba(46,74,42,.12); backdrop-filter: blur(12px); }
.headerInner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brandMark { width: 52px; height: 52px; flex: 0 0 auto; }
.brandWords { display: grid; line-height: 1; }
.brandWords strong { color: var(--pine); font-size: 22px; letter-spacing: -.02em; }
.brandWords small { margin-top: 6px; color: var(--green); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.mainNav { display: flex; align-items: center; gap: 19px; font-size: 14px; color: #3d553a; }
.mainNav a { transition: color .2s; }
.mainNav a:hover { color: var(--amber); }
.headerContact { display: flex; align-items: center; gap: 14px; }
.phone { font-size: 16px; font-weight: 750; white-space: nowrap; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 25px; border: 1px solid var(--amber); border-radius: 999px; background: var(--amber); color: #20301f; font-weight: 800; font-size: 15px; box-shadow: 0 9px 24px rgba(40,57,31,.14); transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); background: #f1c369; }
.buttonSmall { min-height: 42px; padding-inline: 18px; font-size: 13px; }
.buttonGhost { background: transparent; border-color: rgba(255,255,255,.68); color: white; box-shadow: none; }
.buttonGhost:hover { background: rgba(255,255,255,.12); }
.buttonGreen { background: var(--pine); border-color: var(--pine); color: white; }
.buttonGreen:hover { background: var(--green); }

.hero { position: relative; min-height: 740px; padding-top: 82px; display: flex; align-items: center; overflow: hidden; color: white; }
.heroImage, .heroShade { position: absolute; inset: 0; width: 100%; height: 100%; }
.heroImage { object-fit: cover; object-position: center 38%; }
.heroShade { background: linear-gradient(90deg, rgba(20,42,22,.91) 0%, rgba(25,54,28,.73) 48%, rgba(24,54,27,.2) 100%), linear-gradient(0deg, rgba(26,47,24,.26), rgba(26,47,24,.12)); }
.heroInner { position: relative; z-index: 1; padding-block: 78px 82px; }
.eyebrow { margin: 0 0 13px; color: var(--green); font-size: 13px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.light { color: #d9e7c7; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; }
h1 { max-width: 950px; margin: 0; font-size: clamp(44px, 5.2vw, 76px); line-height: 1.04; letter-spacing: -.045em; font-weight: 500; text-wrap: balance; }
.heroLead { max-width: 710px; margin: 25px 0 20px; color: #edf2e9; font-size: 18px; line-height: 1.65; }
.heroBenefits { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 0; padding: 0; list-style: none; color: #f8f7ed; font-size: 14px; }
.heroBenefits li { position: relative; padding-left: 24px; }
.heroBenefits li::before { content: "✓"; position: absolute; left: 0; top: -2px; width: 18px; height: 18px; border-radius: 50%; background: var(--amber); color: var(--pine); display: grid; place-items: center; font-size: 11px; font-weight: 900; }
.heroActions { display: flex; gap: 13px; margin-top: 34px; }

.facts { position: relative; background-color: #765739; background-image: linear-gradient(90deg, rgba(70,47,28,.28), rgba(112,79,47,.06)), repeating-linear-gradient(4deg, rgba(255,255,255,.025) 0 2px, transparent 2px 7px); color: white; box-shadow: inset 0 1px rgba(255,255,255,.13); }
.factsGrid { display: grid; grid-template-columns: repeat(3, 1fr); }
.factsGrid div { min-height: 132px; display: flex; align-items: center; justify-content: center; gap: 18px; border-right: 1px solid rgba(255,255,255,.18); }
.factsGrid div:last-child { border-right: 0; }
.facts strong { color: #f3d083; font-family: Georgia, serif; font-size: 40px; font-weight: 500; white-space: nowrap; }
.facts span { max-width: 130px; color: #f6eee1; font-size: 14px; line-height: 1.45; }

.section { padding: 112px 0; }
h2 { max-width: 760px; margin: 0; color: var(--pine); font-size: clamp(38px, 4.3vw, 58px); line-height: 1.08; letter-spacing: -.035em; font-weight: 500; }
.sectionLead { max-width: 660px; margin: 19px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.plantGrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 50px; }
.plantCard { display: grid; grid-template-columns: 45% 1fr; min-height: 490px; overflow: hidden; border: 1px solid rgba(46,74,42,.12); border-radius: 28px; background: var(--white); box-shadow: 0 18px 60px rgba(52,74,43,.09); }
.plantCard > img { width: 100%; height: 100%; object-fit: cover; }
.plantBody { padding: 34px 30px; display: flex; flex-direction: column; }
.cardLabel { margin: 0 0 10px; color: var(--green); font-size: 12px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.plantBody h3 { margin: 0; color: var(--pine); font-size: 34px; line-height: 1.1; font-weight: 500; }
.plantBody > p:not(.cardLabel) { margin: 17px 0 24px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.plantBody ul { margin: auto 0 0; padding: 0; list-style: none; border-top: 1px solid #e4e9df; }
.plantBody li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid #e4e9df; font-size: 13px; }
.plantBody li span { color: var(--muted); }
.plantBody li strong { color: var(--pine); text-align: right; }
.sectionCta { margin-top: 34px; display: flex; align-items: center; justify-content: center; gap: 26px; }
.sectionCta p { max-width: 510px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

@media (max-width: 1040px) {
  .mainNav { display: none; }
  .plantCard { grid-template-columns: 1fr; }
  .plantCard > img { height: 300px; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1180px); }
  .siteHeader { height: 72px; }
  .brandMark { width: 44px; height: 44px; }
  .brandWords strong { font-size: 19px; }
  .brandWords small { font-size: 9px; }
  .headerContact .phone { display: none; }
  .buttonSmall { min-height: 40px; padding-inline: 14px; }
  .hero { min-height: 720px; padding-top: 72px; }
  .heroShade { background: linear-gradient(90deg, rgba(20,42,22,.9), rgba(24,54,27,.53)); }
  .heroInner { padding-block: 64px; }
  h1 { font-size: clamp(39px, 11vw, 56px); }
  .heroLead { font-size: 16px; }
  .heroBenefits { display: grid; }
  .heroActions { align-items: stretch; flex-direction: column; }
  .factsGrid { grid-template-columns: 1fr; padding-block: 12px; }
  .factsGrid div { min-height: 94px; justify-content: flex-start; padding-left: 18%; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .factsGrid div:last-child { border-bottom: 0; }
  .facts strong { min-width: 105px; font-size: 34px; }
  .section { padding: 82px 0; }
  .plantGrid { grid-template-columns: 1fr; }
  .plantCard { min-height: 0; }
  .plantCard > img { height: 330px; }
  .sectionCta { align-items: stretch; flex-direction: column; }
}

button { font: inherit; }
.button:disabled { cursor: not-allowed; opacity: .48; transform: none; }
.headerCta { cursor: pointer; }
.menuButton { display: none; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.menuButton i { display: block; width: 22px; height: 2px; margin: 4px auto; background: var(--pine); transition: transform .2s, opacity .2s; }
.menuButton.active i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menuButton.active i:nth-child(2) { opacity: 0; }
.menuButton.active i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.advantagesSection { background: #eef1e6; }
.advantagesGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 54px; overflow: hidden; border: 1px solid #d7dece; border-radius: 28px; background: #d7dece; }
.advantage { min-height: 260px; padding: 34px; background: #f8f8ef; }
.advantageIcon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 24px; border: 1px solid rgba(78,122,69,.3); border-radius: 50%; color: var(--green); font-family: Georgia, serif; font-size: 27px; }
.advantage h3 { margin: 0 0 12px; color: var(--pine); font-size: 23px; line-height: 1.2; font-weight: 500; }
.advantage p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.videoSection { position: relative; overflow: hidden; background: var(--pine); color: white; }
.videoSection::before { content: ""; position: absolute; inset: 0; opacity: .09; background-image: repeating-linear-gradient(8deg, transparent 0 12px, rgba(255,255,255,.16) 13px 14px); }
.videoSection .container { position: relative; }
.videoSection h2, .gallerySection h2, .requestSection h2 { color: white; }
.sectionIntroRow { display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.sectionIntroRow > p { max-width: 420px; margin: 0 0 6px; color: #d8e3d1; font-size: 16px; line-height: 1.65; }
.videoGrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.videoFrame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; background: #1d321b; box-shadow: 0 24px 50px rgba(0,0,0,.22); }
.videoFrame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.aboutSection { background: var(--white); }
.aboutGrid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1fr); align-items: center; gap: 90px; }
.aboutPhotos { position: relative; min-height: 670px; }
.aboutMain { width: 84%; height: 610px; object-fit: cover; border-radius: 220px 220px 28px 28px; box-shadow: 0 22px 60px rgba(37,60,33,.16); }
.aboutInset { position: absolute; right: 0; bottom: 15px; width: 47%; height: 270px; object-fit: cover; border: 10px solid var(--white); border-radius: 22px; box-shadow: 0 16px 40px rgba(37,60,33,.18); }
/* align-content: center обязателен: строки грида по умолчанию растягиваются на
   всю высоту окружности, и между «2007» и подписью появлялся разрыв в треть
   плашки. Так пара строк стоит вплотную и центрируется целиком. */
.aboutBadge { position: absolute; top: 64px; right: 4px; display: grid; place-items: center; align-content: center; gap: 3px; width: 126px; height: 126px; border-radius: 50%; background: var(--amber); color: var(--pine); font-size: 12px; text-align: center; box-shadow: 0 10px 30px rgba(49,62,32,.2); }
.aboutBadge strong { display: block; font-family: Georgia, serif; font-size: 32px; font-weight: 500; line-height: .9; }
.aboutCopy > p:not(.eyebrow) { margin: 20px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.hours { display: flex; align-items: center; justify-content: space-between; max-width: 430px; margin: 30px 0; padding: 18px 22px; border-left: 3px solid var(--amber); background: var(--cream); }
.hours span { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.hours strong { color: var(--pine); font-family: Georgia, serif; font-size: 21px; font-weight: 500; }

.gallerySection { background: #273f24; color: white; }
.lightLead { color: #d1decb; }
.galleryGrid { display: grid; grid-template-columns: 1.15fr .85fr 1fr 1fr; grid-template-rows: 280px 280px; gap: 12px; margin-top: 48px; }
.galleryItem { position: relative; min-width: 0; overflow: hidden; padding: 0; border: 0; border-radius: 16px; background: #1b301b; cursor: zoom-in; }
.galleryItem img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .3s; }
.galleryItem span { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(250,247,236,.9); color: var(--pine); font-size: 21px; opacity: 0; transform: translateY(7px); transition: opacity .2s, transform .2s; }
.galleryItem:hover img { transform: scale(1.035); filter: brightness(.84); }
.galleryItem:hover span { opacity: 1; transform: translateY(0); }
.galleryItem.item1 { grid-area: 1 / 1 / 3 / 2; }
.galleryItem.item2 { grid-area: 1 / 2 / 2 / 3; }
.galleryItem.item3 { grid-area: 1 / 3 / 2 / 4; }
.galleryItem.item4 { grid-area: 1 / 4 / 2 / 5; }
.galleryItem.item5 { grid-area: 2 / 2 / 3 / 4; }
.galleryItem.item6 { grid-area: 2 / 4 / 3 / 5; }
.galleryItem.item7, .galleryItem.item8, .galleryItem.item9 { display: none; }

.stepsSection { background: var(--cream); }
.stepsGrid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 52px; border-block: 1px solid #d5ddcf; }
.step { position: relative; min-height: 260px; padding: 36px 30px; border-right: 1px solid #d5ddcf; }
.step:last-child { border-right: 0; }
.step > span { color: var(--amber); font-family: Georgia, serif; font-size: 20px; }
.step h3 { margin: 42px 0 12px; color: var(--pine); font-size: 28px; font-weight: 500; }
.step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.stepsButton { margin-top: 36px; }

.requestSection { background: #4e7046; color: white; }
.requestGrid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 90px; }
.requestCopy > p:not(.eyebrow) { max-width: 600px; margin: 24px 0; color: #e2eadf; font-size: 16px; line-height: 1.7; }
.requestPhone { display: inline-block; margin-top: 18px; color: #f3d083; font-family: Georgia, serif; font-size: 32px; }
.formCard { padding: 38px; border-radius: 28px; background: var(--white); box-shadow: 0 20px 60px rgba(21,39,20,.18); }
.leadForm { display: grid; grid-template-columns: repeat(2, 1fr); gap: 19px; }
.leadForm label { display: grid; gap: 8px; }
.leadForm label > span:first-child { color: var(--pine); font-size: 13px; font-weight: 750; }
.leadForm input:not([type="checkbox"]), .leadForm textarea { width: 100%; border: 1px solid #cbd5c5; border-radius: 12px; outline: 0; background: white; color: var(--ink); font: inherit; font-size: 15px; transition: border .2s, box-shadow .2s; }
.leadForm input:not([type="checkbox"]) { height: 54px; padding: 0 16px; }
.leadForm textarea { padding: 15px 16px; resize: vertical; }
.leadForm input:focus, .leadForm textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(78,122,69,.13); }
.fieldWide { grid-column: 1 / -1; }
.consent { grid-template-columns: auto 1fr !important; align-items: start; gap: 11px !important; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--green); }
.consent span { color: var(--muted) !important; font-size: 12px !important; font-weight: 400 !important; line-height: 1.5; }
.consent a { color: var(--green); text-decoration: underline; }
.formSuccess { padding: 22px 5px; color: var(--pine); text-align: center; }
.formSuccess > span { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 50%; background: #e7efe2; color: var(--green); font-size: 28px; }
.formSuccess h3 { margin: 0; font-size: 30px; }
.formSuccess p { margin: 12px auto 0; color: var(--muted); line-height: 1.6; }
.textButton { margin-top: 18px; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--green); cursor: pointer; }

.contactsSection { background: var(--white); }
.contactsGrid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 24px; margin-top: 48px; }
.contactCard { padding: 38px; border: 1px solid #dbe2d5; border-radius: 24px; background: var(--cream); font-style: normal; }
.contactCard h3 { margin: 0; color: var(--pine); font-size: 31px; font-weight: 500; }
.contactDescriptor { margin: 6px 0 28px; color: var(--green); }
.contactCard dl { margin: 0 0 30px; }
.contactCard dl div { display: grid; grid-template-columns: 112px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid #dbe2d5; }
.contactCard dt { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.contactCard dd { margin: 0; color: var(--pine); font-size: 14px; line-height: 1.5; }
.contactCard dd a { text-decoration: underline; text-decoration-color: #a8b8a2; text-underline-offset: 3px; }
.mapFrame { position: relative; min-height: 570px; overflow: hidden; border-radius: 24px; background: #e1e7dc; isolation: isolate; }
.mapCanvas { position: absolute; inset: 0; z-index: 0; }
.mapCanvas iframe { display: block; width: 100%; height: 100%; border: 0; }
/* Подпись в углу — запасной режим, когда интерактивная карта недоступна. */
.mapBrandMarker { position: absolute; z-index: 2; top: 16px; left: 16px; display: grid; gap: 4px; width: min(340px, calc(100% - 36px)); min-height: 86px; padding: 15px 18px 15px 64px; border: 3px solid white; border-radius: 18px; background: var(--green); color: white; box-shadow: 0 16px 38px rgba(27,51,25,.28); pointer-events: none; }
/* Метка на живой карте: кончик стоит ровно на координате при любом зуме. */
.mapBrandMarker[data-ymap-marker] { position: relative; top: auto; left: auto; width: min(340px, 82vw); transform: translate(-50%, calc(-100% - 14.75px)); }
.mapBrandMarker[data-ymap-marker]::after { content: ""; position: absolute; bottom: -13px; left: calc(50% - 11px); width: 22px; height: 22px; border-right: 3px solid white; border-bottom: 3px solid white; background: var(--green); transform: rotate(45deg); }
.mapBrandMarker strong { position: relative; z-index: 1; font-family: Georgia, "Times New Roman", serif; font-size: 19px; font-weight: 500; line-height: 1.1; }
.mapBrandMarker > span:last-child { position: relative; z-index: 1; color: #edf4e9; font-size: 13px; line-height: 1.4; }
.mapMarkerIcon { position: absolute; z-index: 1; top: 17px; left: 16px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--amber); }
.mapMarkerIcon svg { width: 25px; height: 25px; }
.mapMarkerIcon path { fill: none; stroke: var(--pine); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mapControls { position: absolute; z-index: 4; top: 16px; right: 16px; display: grid; overflow: hidden; border: 1px solid rgba(46,74,42,.15); border-radius: 12px; background: white; box-shadow: 0 8px 24px rgba(32,48,31,.18); }
.mapControls button { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-bottom: 1px solid #dfe5db; background: white; color: var(--pine); font-size: 24px; font-weight: 500; cursor: pointer; }
.mapControls button:last-child { border-bottom: 0; }
.mapControls button:hover { background: #f3f6ef; }
.mapControls .recenterButton { color: var(--green); font-size: 22px; }
.mapRouteLink { position: absolute; z-index: 4; top: 16px; left: 16px; padding: 11px 15px; border-radius: 12px; background: var(--green); color: white; font-size: 12px; font-weight: 750; box-shadow: 0 8px 22px rgba(27,51,25,.24); }
.mapRouteLink:hover { background: var(--pine); color: white; }

.siteFooter { padding-top: 70px; background-color: #20361e; background-image: repeating-linear-gradient(6deg, rgba(255,255,255,.012) 0 3px, transparent 3px 9px); color: #dce6d7; }
.brandInverse .brandWords strong { color: white; }
.brandInverse .brandWords small { color: #bad0b1; }
.footerTop { display: grid; grid-template-columns: 1.4fr .65fr 1fr; gap: 70px; padding-bottom: 48px; }
.footerBrand p { margin: 22px 0 0; color: #aebfa8; font-size: 14px; line-height: 1.65; }
.footerTop h3 { margin: 4px 0 20px; color: #f0d28a; font-family: "Segoe UI", Arial, sans-serif; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; }
.footerNav, .footerContacts { display: flex; flex-direction: column; gap: 11px; }
.footerNav a, .footerContacts a, .footerContacts span { color: #cfdbcb; font-size: 14px; }
.footerNav a:hover, .footerContacts a:hover { color: white; }
.requisites { padding-block: 23px; border-block: 1px solid rgba(255,255,255,.12); }
.requisites p { margin: 0; color: #91a38c; font-size: 11px; line-height: 1.65; }
.requisites strong { color: #bdcbb9; }
.footerBottom { display: grid; grid-template-columns: auto auto 1fr; gap: 28px; align-items: start; padding-block: 24px 30px; color: #81927d; font-size: 11px; line-height: 1.55; }
.footerBottom a { color: #c3d2bf; text-decoration: underline; }
.footerBottom span:last-child { text-align: right; }

.cookieNotice { position: fixed; z-index: 60; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 20px; width: min(620px, calc(100% - 48px)); padding: 17px 18px 17px 22px; border: 1px solid rgba(46,74,42,.14); border-radius: 18px; background: var(--white); box-shadow: 0 16px 50px rgba(22,42,21,.2); }
.cookieNotice p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.cookieNotice button { flex: 0 0 auto; padding: 10px 15px; border: 0; border-radius: 999px; background: var(--pine); color: white; font-size: 12px; font-weight: 750; cursor: pointer; }

.modalOverlay, .lightbox { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 22px; background: rgba(14,30,15,.76); backdrop-filter: blur(8px); }
.modalOverlay[hidden], .lightbox[hidden], .cookieNotice[hidden] { display: none; }
.requestModal { position: relative; width: min(610px, 100%); max-height: calc(100vh - 44px); overflow: auto; padding: 42px; border-radius: 28px; background: var(--cream); box-shadow: 0 30px 100px rgba(0,0,0,.4); }
.requestModal h2 { font-size: clamp(34px, 5vw, 48px); }
.requestModal > p:not(.eyebrow) { margin: 16px 0 26px; color: var(--muted); line-height: 1.6; }
.modalClose, .lightboxClose { position: absolute; top: 14px; right: 16px; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: rgba(46,74,42,.09); color: var(--pine); cursor: pointer; }
.compactForm { grid-template-columns: 1fr; }
.compactForm > * { grid-column: 1; }
.lightbox { grid-template-columns: auto minmax(0, 1100px) auto; gap: 20px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 44px); border-radius: 12px; box-shadow: 0 24px 80px rgba(0,0,0,.5); }
.lightboxClose { position: fixed; background: white; }
.lightboxArrow { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255,255,255,.36); border-radius: 50%; background: rgba(255,255,255,.1); color: white; cursor: pointer; }
/* Стрелки и крестик рисуем контуром, а не знаком шрифта: у «‹», «›» и «×»
   отрисованная часть смещена внутри строки, и в окружности они стояли не по
   центру. У контура центр совпадает с центром кнопки. */
.lightboxArrow svg, .lightboxClose svg, .modalClose svg { display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lightboxArrow svg { width: 22px; height: 22px; }
.lightboxClose svg, .modalClose svg { width: 19px; height: 19px; }

.policyPage { min-height: 100vh; padding: 60px 0 100px; background: var(--cream); }
.policyHeader { display: flex; align-items: center; justify-content: space-between; margin-bottom: 70px; }
.policyBack { color: var(--green); font-size: 14px; font-weight: 750; }
.policyContent { max-width: 900px; }
.policyContent h1 { color: var(--pine); font-size: clamp(40px, 6vw, 68px); }
.policyMeta { margin: 20px 0 50px; color: var(--muted); }
.policyContent section { margin-top: 38px; }
.policyContent h2 { font-size: 30px; }
.policyContent p, .policyContent li { color: var(--muted); font-size: 15px; line-height: 1.75; }
.policyContent ul { padding-left: 22px; }

@media (max-width: 1040px) {
  .menuButton { display: block; }
  .mainNav { position: fixed; top: 82px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 16px 22px 24px; border-bottom: 1px solid #d7dece; background: var(--cream); box-shadow: 0 14px 25px rgba(35,58,32,.12); }
  .mainNav.navOpen { display: flex; }
  .mainNav a { padding: 13px 0; border-bottom: 1px solid #dfe5da; font-size: 16px; }
  .advantagesGrid { grid-template-columns: repeat(2, 1fr); }
  .aboutGrid { gap: 50px; }
  .aboutPhotos { min-height: 600px; }
  .aboutMain { height: 550px; }
  .galleryGrid { grid-template-columns: 1.05fr .95fr 1fr; grid-template-rows: 260px 260px 240px; }
  .galleryItem.item1 { grid-area: 1 / 1 / 3 / 2; }
  .galleryItem.item2 { grid-area: 1 / 2 / 2 / 3; }
  .galleryItem.item3 { grid-area: 1 / 3 / 2 / 4; }
  .galleryItem.item4 { grid-area: 2 / 2 / 3 / 4; }
  .galleryItem.item5 { grid-area: 3 / 1 / 4 / 3; }
  .galleryItem.item6 { grid-area: 3 / 3 / 4 / 4; }
  .stepsGrid { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid #d5ddcf; }
  .requestGrid { gap: 50px; }
  .contactsGrid { grid-template-columns: 1fr; }
  .contactCard dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
  .contactCard dl div { grid-template-columns: 100px 1fr; }
}

@media (max-width: 720px) {
  .siteHeader { height: 72px; }
  .mainNav { top: 72px; }
  .headerCta { display: none; }
  .advantagesGrid, .videoGrid, .aboutGrid, .requestGrid { grid-template-columns: 1fr; }
  .advantagesGrid { border-radius: 20px; }
  .advantage { min-height: 0; padding: 28px; }
  .sectionIntroRow { align-items: start; flex-direction: column; gap: 22px; }
  .videoGrid { gap: 14px; margin-top: 34px; }
  .aboutGrid { gap: 48px; }
  .aboutPhotos { min-height: 510px; }
  .aboutMain { width: 88%; height: 475px; border-radius: 160px 160px 24px 24px; }
  .aboutInset { width: 48%; height: 210px; border-width: 7px; }
  .aboutBadge { top: 40px; width: 105px; height: 105px; }
  .aboutCopy > p:not(.eyebrow) { font-size: 15px; }
  .galleryGrid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 250px 210px 210px 240px; }
  .galleryItem.item1 { grid-area: 1 / 1 / 2 / 3; }
  .galleryItem.item2 { grid-area: 2 / 1 / 3 / 2; }
  .galleryItem.item3 { grid-area: 2 / 2 / 3 / 3; }
  .galleryItem.item4 { grid-area: 3 / 1 / 4 / 2; }
  .galleryItem.item5 { grid-area: 3 / 2 / 4 / 3; }
  .galleryItem.item6 { display: block; grid-area: 4 / 1 / 5 / 3; }
  .stepsGrid { grid-template-columns: 1fr; }
  .step { min-height: 0; padding: 28px 10px; border-right: 0; border-bottom: 1px solid #d5ddcf; }
  .step:nth-child(2) { border-bottom: 1px solid #d5ddcf; }
  .step:last-child { border-bottom: 0; }
  .step h3 { margin-top: 18px; }
  .requestPhone { font-size: 26px; }
  .formCard { padding: 25px 20px; }
  .leadForm { grid-template-columns: 1fr; }
  .leadForm > * { grid-column: 1; }
  .contactCard { padding: 28px 20px; }
  .contactCard dl { display: block; }
  .contactCard dl div { grid-template-columns: 86px 1fr; }
  .mapFrame { min-height: 470px; }
  .mapBrandMarker { width: min(310px, calc(100% - 28px)); padding: 14px 14px 14px 57px; }
  .mapBrandMarker[data-ymap-marker] { width: min(310px, 84vw); }
  .mapBrandMarker strong { font-size: 17px; }
  .mapBrandMarker > span:last-child { font-size: 12px; }
  .mapMarkerIcon { left: 13px; }
  .footerTop { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footerBrand { grid-column: 1 / -1; }
  .footerBottom { grid-template-columns: 1fr; gap: 12px; }
  .footerBottom span:last-child { text-align: left; }
  .cookieNotice { right: 14px; bottom: 14px; width: calc(100% - 28px); align-items: stretch; flex-direction: column; gap: 12px; }
  .cookieNotice button { align-self: flex-start; }
  .requestModal { padding: 36px 20px 24px; }
  .lightbox { grid-template-columns: 1fr; padding: 62px 14px 80px; }
  .lightboxArrow { position: fixed; bottom: 18px; }
  .lightboxArrow.prev { left: calc(50% - 60px); }
  .lightboxArrow.next { right: calc(50% - 60px); }
  .policyPage { padding-top: 30px; }
  .policyHeader { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 50px; }
}

/* --- Знак разработчика в подвале ------------------------------------------
   Стоит слева в уже существующей нижней строке — отдельной строки не заводит.
   Знак перекрашен под палитру сайта (янтарный и светлый). */
.dev-credit {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #c3d2bf;
  text-decoration: none;
}
.dev-credit img { flex: 0 0 auto; display: block; width: auto; height: 32px; }
.dev-credit span { font-size: 14px; font-weight: 600; line-height: 1.15; white-space: nowrap;
  /* Выключка своя: подпись стоит в чужой строке подвала и иначе
     наследует её выравнивание — у «Полесья» так уезжала вправо. */
  text-align: left; }
.dev-credit:hover { color: var(--amber); text-decoration: none; }

/* Нижняя строка подвала: знак разработчика встаёт первой колонкой сетки.
   Ниже 720px строка распадается на отдельные — четвёртой колонке там уже не
   хватает ширины, и знак просто встаёт первым в столбце. */
@media (min-width: 721px) {
  .footerBottom { grid-template-columns: auto auto auto 1fr; align-items: center; }
}
.footerBottom .dev-credit { text-decoration: none; }
/* .footerBottom span:last-child задаёт выключку вправо и по весу сильнее
   правила .dev-credit span — подпись знака перебиваем отдельно. */
.footerBottom .dev-credit span { text-align: left; }
