/*
Copyright 2018 The Manrope Project Authors (https://github.com/googlefonts/manrope)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded, 
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
*/
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.ca64c329c979.woff") format("woff");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #191d1a;
  --muted: #505a53;
  --green: #356451;
  --green-dark: #203a30;
  --mist: #eaf4ed;
  --line: #dbe3dd;
  --surface: #eef2ef;
  --radius: 9px;
  --wrap: min(88.6%, 1300px);
  font: 16px/1.45 "Manrope", "Noto Sans", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 74px; }
body { margin: 0; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 2px solid #5b8a74; outline-offset: 4px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.06; font-weight: 600; text-wrap: balance; }
h2 { font-size: clamp(1.72rem, 3.2vw, 2.52rem); letter-spacing: -.055em; }
h3 { font-size: 1.47rem; letter-spacing: -.045em; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: fixed; z-index: 20; top: 8px; left: 8px; padding: 10px; background: #fff; transform: translateY(-140%); }
.skip:focus { transform: none; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  padding: .64em 1.22em;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  transition: background-color .2s, color .2s, border-color .2s;
}
.arrow { font-size: 1.12em; }
.button-primary { color: #fff; background: var(--green); }
.button-primary:hover { background: var(--green-dark); }
.button-light { background: #fff; color: var(--green-dark); }
.button-light:hover, .button-outline:hover { background: var(--mist); }
.button-outline { color: var(--green-dark); background: #fff; border-color: #bfd2c7; }
.icon-button {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #bfd2c7;
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  font-size: 1.16rem;
  transition: background-color .2s;
}
.icon-button:hover { background: var(--mist); }
.icon-button:disabled { opacity: .48; cursor: default; }

.header { position: sticky; z-index: 5; top: 0; background: #fff; border-bottom: 1px solid #edf0ed; }
.header-row { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.75rem); min-height: 58px; }
.brand { display: inline-flex; align-items: center; flex: none; gap: .45em; font-size: 1.26rem; letter-spacing: .035em; font-weight: 650; white-space: nowrap; }
.brand-mark { position: relative; display: grid; place-items: center; width: 1em; height: 1em; border: 1.6px solid currentColor; border-radius: 50%; color: var(--green); }
.brand-mark::before { content: ""; width: .34em; height: .34em; border-left: 1.5px solid; border-top: 1.5px solid; transform: translateY(-.08em) rotate(45deg); }
.brand-mark::after { content: ""; position: absolute; width: .36em; height: .32em; top: .36em; border: 1.5px solid; border-top: 0; }
.main-nav { display: flex; flex: 1; gap: clamp(.7rem, 1.6vw, 1.55rem); align-items: center; }
.main-nav a { font-size: .92rem; font-weight: 680; color: #353d37; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current="page"], .benefit:hover strong { color: var(--green); text-decoration: underline; text-underline-offset: .2em; }
.header-call { margin-left: auto; min-height: 39px; white-space: nowrap; }
.menu-toggle { display: none; }
.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(480px, 39.7vw, 665px); background: #24342d; color: #fff; }
.hero-photo, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-photo { object-fit: cover; object-position: center 50%; }
.hero::after { content: ""; background: linear-gradient(90deg, rgba(12,23,17,.76), rgba(12,23,17,.40) 32%, transparent 65%), linear-gradient(0deg, rgba(11,21,15,.15), transparent 40%); }
.hero-inner { padding-block: 70px; }
.hero-copy { max-width: 740px; }
.hero h1 { max-width: 740px; font-size: clamp(2.65rem, 3.8vw, 4.25rem); letter-spacing: -.06em; font-weight: 600; line-height: 1.02; text-wrap: balance; }
.hero-description { max-width: 610px; margin: 16px 0 25px; color: #f4f7f4; font-size: clamp(1rem, 1.22vw, 1.18rem); line-height: 1.42; }
.hero-button { min-height: 46px; }
.hero-button span { display: grid; place-items: center; width: 1.65em; height: 1.65em; border-radius: 50%; background: var(--green); color: white; }

.benefits { background: var(--mist); }
.benefit-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; padding-block: 21px; }
.benefit { display: flex; align-items: flex-start; gap: 10px; line-height: 1.25; min-width: 0; }
.benefit-icon { flex: none; display: grid; place-items: center; width: 31px; height: 31px; background: #d7eadc; color: #32624d; border-radius: 7px; }
.benefit-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.benefit strong, .benefit small { display: block; }
.benefit strong { font-size: .86rem; font-weight: 650; }
.benefit small { margin-top: 4px; color: var(--muted); font-size: .84rem; }

.section { margin-top: clamp(52px, 6vw, 93px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 18px 40px; margin-bottom: 23px; }
.section-head p, .section-intro { max-width: 42rem; color: var(--muted); font-size: 1.02rem; line-height: 1.52; }
.section-head > p { max-width: 29rem; }
.projects { margin-top: 38px; }
.projects h2 { font-size: clamp(1.4rem, 2.05vw, 1.9rem); letter-spacing: -.042em; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 19px 16px; }
.project-card { min-width: 0; }
.project-photo { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.project-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .3s ease; }
@media (hover: hover) and (pointer: fine) {
  .project-card:hover .project-photo img { transform: scale(1.035); }
}
.project-plan-button {
  min-height: 44px; padding: 4px 0 4px 8px; border: 0; background: transparent;
  color: var(--green-dark); font-size: .9rem; font-weight: 650; text-align: right;
}
.project-plan-button:hover { text-decoration: underline; text-underline-offset: .19em; }
.project-tag, .project-open { position: absolute; top: 11px; background: rgba(29,45,37,.82); color: white; }
.project-tag { left: 11px; padding: 5px 9px; border-radius: 100px; font-size: .68rem; font-weight: 600; }
.project-open { right: 11px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.project-caption { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 2px 10px; padding: 8px 2px 0; }
.project-caption h3 { font-size: 1.06rem; letter-spacing: -.025em; }
.project-specs { display: flex; flex-wrap: wrap; gap: 5px 12px; padding: 0; margin: 6px 0 0; list-style: none; color: var(--muted); font-size: .9rem; }
.project-specs li + li::before { content: "·"; margin-right: 12px; color: #66796e; }

.technology > h2 { margin-bottom: clamp(22px, 3vw, 40px); }
.tech-variant {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(20px, 4vw, 65px);
  align-items: center;
}
.tech-variant + .tech-variant {
  margin-top: clamp(30px, 4.2vw, 61px);
  padding-top: clamp(30px, 4.2vw, 61px);
  border-top: 1px solid var(--line);
}
.tech-variant-reverse { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.tech-variant-reverse .tech-visual { grid-row: 1; grid-column: 1; }
.tech-variant-reverse .tech-copy { grid-row: 1; grid-column: 2; }
.tech-copy :is(h2, h3) { font-size: clamp(1.5rem, 2.6vw, 2.05rem); }
.tech-copy p { max-width: 34rem; margin: 10px 0 15px; color: var(--muted); font-size: 1.03rem; }
.tech-copy .tech-note { margin: 13px 0 0; font-size: .94rem; }
.tech-copy .button { margin-top: 15px; }
.tech-wall { overflow: hidden; background: #f3f6f3; border: 1px solid #e2e9e3; border-radius: var(--radius); }
.tech-wall figcaption { padding: 10px 13px 0; color: var(--green-dark); font-size: .86rem; font-weight: 650; }
.tech-wall img, .tech-house { width: 100%; height: auto; }
.tech-house { object-fit: contain; }
.tech-visual figcaption { color: var(--muted); text-align: center; font-size: .88rem; }

.individual .section-intro { margin: 13px 0 19px; }
.individual-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 16px; }
.individual-grid > img { width: 100%; height: 100%; min-height: 340px; max-height: 476px; object-fit: cover; border-radius: var(--radius); }
.form-card { display: grid; align-content: center; padding: clamp(20px, 3.6vw, 52px); background: var(--surface); border-radius: var(--radius); }
.form-card > p, .dialog-inner > p { margin: 10px 0 15px; color: var(--muted); font-size: 1rem; }
.request-form { display: grid; gap: 13px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.request-form label { display: grid; gap: 4px; font-size: .94rem; font-weight: 600; min-width: 0; }
.request-form label small { display: inline; font-weight: 400; color: var(--muted); }
.request-form input, .request-form textarea {
  width: 100%; min-width: 0; min-height: 44px; padding: 9px 11px; border-radius: 6px; border: 1px solid #c9d6cd; background: #fff; color: var(--ink);
  font-size: 1rem; font-weight: 400;
}
.request-form input::placeholder, .request-form textarea::placeholder { color: #68736c; font-size: .95em; opacity: 1; }
.request-form textarea { resize: vertical; }
.form-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.form-status { color: var(--muted); font-size: .84rem; }

.promo { margin-top: clamp(54px, 6.5vw, 94px); background: #eff0ef; padding: clamp(25px, 3.65vw, 54px) 0; }
.promo-grid { display: grid; grid-template-columns: 2.05fr 1fr 1fr; gap: 14px; }
.promo-photo, .promo-tile { display: flex; min-width: 0; min-height: clamp(230px, 22vw, 315px); border-radius: var(--radius); overflow: hidden; color: #fff; }
.promo-photo { position: relative; isolation: isolate; align-items: end; padding: 23px; background: #303b31; }
.promo-photo img, .promo-photo::before { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.promo-photo img { object-fit: cover; z-index: -2; }
.promo-photo::before { content: ""; background: linear-gradient(80deg,#101810ce,#1018103b 95%); }
.promo-photo h3, .promo-tile h3 { font-size: clamp(1.25rem, 2.1vw, 1.86rem); text-wrap: initial; }
.promo-photo p, .promo-tile p { margin: 10px 0 15px; font-size: .94rem; color: #edf4ef; }
.promo-tile { flex-direction: column; align-items: start; padding: clamp(16px, 2vw, 26px); background: var(--green); transition: background-color .2s; }
.promo-tile:hover { background: #294d3f; }
.promo-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%; background: #fff; color: var(--green); font-size: 1.28rem; }
.promo-link { margin-top: auto; font-size: .81rem; font-weight: 600; }
.promo-link span { margin-left: 5px; }

.portfolio-head p { margin-top: 8px; }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.portfolio-grid > li { container-type: inline-size; }
.gallery-image { display: block; width: 100%; border: 0; padding: 0; border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.gallery-image img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.gallery-image:hover img { transform: scale(1.045); }
.portfolio-caption { display: grid; gap: 2px; margin: 8px 2px 0; font-size: .92rem; color: var(--muted); }
.portfolio-caption > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0 6px; }
.portfolio-caption dd { min-width: 0; margin-left: auto; color: var(--ink); font-weight: 600; text-align: right; overflow-wrap: break-word; }
.locality-label-short { display: none; }
.portfolio-actions { display: flex; justify-content: center; margin-top: 23px; }

@container (max-width: 250px) {
  .portfolio-caption { font-size: clamp(.70rem, 6cqw, .81rem); }
  .portfolio-caption > div { gap: 0 4px; }
  .locality-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .locality-label-short { display: inline; }
}

@media (max-width: 820px) {
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.articles { margin-top: clamp(47px, 5vw, 70px); }
.article-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.article-card { display: grid; grid-template-columns: 34% minmax(0,1fr); min-height: 126px; align-items: stretch; border-radius: var(--radius); background: #f0f1ef; overflow: hidden; transition: background-color .2s; }
.article-card:hover { background: var(--mist); }
.article-card img { width: 100%; height: 100%; object-fit: cover; }
.article-card-copy { display: flex; flex-direction: column; align-items: start; padding: 15px; }
.article-card :is(h2, h3) { font-size: clamp(1rem, 1.25vw, 1.2rem); letter-spacing: -.03em; line-height: 1.12; }
.article-card small { display: block; padding-top: 8px; margin-top: auto; color: var(--green-dark); font-size: .84rem; }

.service-band { margin-top: clamp(52px, 6vw, 90px); background: var(--surface); padding-block: clamp(34px, 4.4vw, 64px); }
.services { margin-top: 0; }
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(9px, 1.5vw, 18px); list-style: none; padding: 0; margin: 0; }
.service-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s; }
.service-card:hover { border-color: var(--green); }
.service-card img { width: 100%; height: auto; aspect-ratio: 600 / 252; object-fit: cover; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; }
.service-card-copy { padding: clamp(10px, 1.3vw, 17px); }
.service-card :is(h2, h3) { color: var(--green-dark); font-size: clamp(.94rem, 1.55vw, 1.22rem); line-height: 1.16; letter-spacing: -.028em; text-wrap: initial; }
.service-card:hover :is(h2, h3) { text-decoration: underline; text-underline-offset: .16em; }
.service-card p { margin-top: 5px; color: var(--muted); font-size: clamp(.83rem, 1.05vw, .94rem); line-height: 1.4; }
.service-detail-top { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(18px, 4vw, 52px); }
.service-detail-top h1 { margin-bottom: 16px; font-size: clamp(2.1rem, 4.75vw, 4rem); letter-spacing: -.06em; }
.service-detail-top .button { margin-top: 20px; }
.service-detail-top img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.inner-lead { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(14px, 4vw, 50px); align-items: start; margin-block: clamp(28px, 6vw, 82px); padding: clamp(18px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.inner-lead h2 { max-width: 20ch; text-wrap: initial; }
.inner-lead-intro p { max-width: 35ch; margin-top: 10px; color: var(--muted); }
.inner-lead .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.inner-lead :is(input, textarea) { min-width: 0; }
.contact { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); align-items: stretch; gap: 14px; margin-top: clamp(35px, 5vw, 68px); }
.contact-card { display: grid; align-content: center; justify-items: start; padding: clamp(20px, 3.3vw, 46px); background: white; border-radius: var(--radius); }
.contact-card h2 { font-size: clamp(1.6rem, 2.65vw, 2.5rem); }
.contact-card p { color: var(--muted); margin: 12px 0 19px; font-size: 1rem; max-width: 33rem; }
.contact-form { width: 100%; }
.contact-visual { position: relative; border-radius: var(--radius); overflow: hidden; }
.contact-visual::before { content: ""; display: block; aspect-ratio: 4 / 3; }
.contact-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.footer { background: var(--green-dark); color: #f1f7f3; padding: 44px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.42fr 1.18fr .9fr .82fr 1.07fr; gap: 20px; }
.footer .brand-mark { color: #cae2d3; }
.footer-intro p { margin-top: 12px; color: #d0e0d7; font-size: .94rem; }
.footer h2 { color: white; font-size: .85rem; letter-spacing: 0; margin-bottom: 9px; }
.footer-grid > div:not(.footer-intro) a { display: block; width: fit-content; margin: 6px 0; color: #d0e0d7; font-size: .88rem; }
.footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; margin-top: 23px; padding-top: 17px; border-top: 1px solid #ffffff3d; color: #d0e0d7; font-size: .8rem; }

.dialog { width: min(93vw, 500px); max-width: none; max-height: 88dvh; padding: 0; border: none; border-radius: 14px; color: var(--ink); box-shadow: 0 20px 70px #10211a40; }
.dialog::backdrop { background: #12231bc4; }
.dialog-inner { position: relative; padding: 27px; }
.dialog-close { margin: 0 0 10px auto; font-size: 1.65rem; line-height: 1; }
.dialog h2 { font-size: clamp(1.55rem, 4vw, 2.15rem); text-wrap: initial; }
.detail-image { width: 100%; max-height: 57dvh; object-fit: contain; border-radius: 7px; background: var(--surface); margin-bottom: 17px; }
.detail-copy p { color: var(--muted); margin: 10px 0; }
.detail-copy .button { margin-top: 8px; }
body:has(dialog[open]) { overflow: hidden; }

@media (min-width: 961px) and (max-width: 1100px) {
  .header-row { gap: 16px; }
  .main-nav { gap: 12px; }
}
@media (max-width: 960px) {
  :root { --wrap: 90%; }
  .header-row { flex-wrap: wrap; gap: 8px 13px; padding-block: 9px; }
  .header-row .brand { margin-right: auto; }
  .header-call { margin-left: 0; }
  .main-nav { order: 3; flex-basis: 100%; flex-wrap: wrap; padding-bottom: 5px; }
  .js .main-nav { display: none; }
  .js .main-nav.is-open { display: flex; }
  .js .menu-toggle { display: grid; align-content: center; gap: 5px; order: 2; }
  .menu-toggle span { display: block; width: 17px; height: 1.5px; background: currentColor; }
  .hero { min-height: 500px; }
  .hero-photo { object-position: 60% center; }
  .benefit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .field-row { grid-template-columns: 1fr; gap: 8px; }
  .form-card { padding: 19px; }
  .promo-grid { grid-template-columns: 1fr 1fr; }
  .promo-photo { grid-column: span 2; }
  .article-card { grid-template-columns: 1fr; }
  .article-card img { height: 115px; }
  .footer-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .footer-intro { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-detail-top, .inner-lead { grid-template-columns: minmax(0, 1fr); }
  .tech-variant, .tech-variant-reverse { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .tech-variant-reverse .tech-visual, .tech-variant-reverse .tech-copy { grid-area: auto; }
  .tech-house { max-height: 260px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 80px; }
  .header-row { gap: 8px; }
  .brand { font-size: 1.02rem; }
  .header-call { font-size: .73rem; padding-inline: .85em; min-height: 38px; gap: .3em; }
  .menu-toggle { width: 39px; height: 39px; }
  .main-nav { display: grid; grid-template-columns: 1fr 1fr; }
  .js .main-nav.is-open { display: grid; }
  .main-nav a { padding: 8px 0; }
  .hero { align-items: end; min-height: 495px; }
  .hero-inner { padding-block: 50px 36px; }
  .hero h1 { max-width: 490px; font-size: clamp(2.28rem, 8.2vw, 3.4rem); text-wrap: initial; }
  .hero-description { margin-top: 12px; }
  .hero-photo { object-position: 68% 50%; }
  .hero::after { background: linear-gradient(0deg,#10221be8, #10221b7d 48%, transparent 86%); }
  .benefit-grid { gap: 15px 9px; padding-block: 16px; }
  .benefit { gap: 6px; }
  .benefit-icon { width: 25px; height: 25px; }
  .benefit-icon svg { width: 16px; height: 16px; }
  .benefit strong { font-size: .77rem; }
  .benefit small { font-size: .8rem; }
  .section-head { display: block; margin-bottom: 16px; }
  .section-head > p { margin-top: 8px; }
  .project-grid, .individual-grid, .contact, .article-grid { grid-template-columns: minmax(0,1fr); }
  .project-grid { gap: 16px; }
  .individual-grid > img { height: auto; min-height: 0; aspect-ratio: 1.22; }
  .promo-grid { gap: 8px; }
  .promo-photo { min-height: 238px; }
  .promo-tile { min-height: 190px; padding: 13px 10px; }
  .promo-tile h3 { font-size: 1.09rem; }
  .promo-tile p { font-size: .86rem; }
  .promo-link { font-size: .71rem; }
  .promo-icon { width: 34px; height: 34px; margin-bottom: 9px; }
  .portfolio-grid { gap: 14px 9px; }
  .article-card { grid-template-columns: 34% minmax(0,1fr); min-height: 94px; }
  .article-card img { height: 100%; max-height: 125px; }
  .inner-lead .field-row { grid-template-columns: minmax(0, 1fr); }

  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 10px; }
  .footer-intro { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Shared inner pages and form feedback */
.inner-page { margin-block: clamp(36px, 6vw, 86px); }
.inner-page > h1 { max-width: 20ch; margin-block: 0 18px; font-size: clamp(2.1rem, 5.3vw, 4rem); letter-spacing: -.06em; }
.hero h1, .inner-page h1 { overflow-wrap: break-word; }
.inner-page > p { margin-bottom: 20px; }
.narrow-page { max-width: 800px; }
.prose { line-height: 1.7; overflow-wrap: anywhere; }
.prose p, .prose h2 { margin: 0 0 16px; }
.prose h2, .detail-section { margin-top: 36px; }
.prose a, .text-link { color: var(--green-dark); text-decoration: underline; text-underline-offset: .18em; }
.inner-page .text-link { display: inline-block; margin-bottom: 14px; }
.inner-page .project-specs { margin: 0 0 16px; }
.feature-photo { width: min(100%, 970px); height: auto; border-radius: var(--radius); margin-block: 18px; }
.article-feature { max-width: 440px; }
.detail-section + .button, .feature-photo + .button { margin-top: 18px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 16px; margin: 20px 0 40px; }
.review { background: var(--surface); border-radius: var(--radius); padding: 18px; overflow-wrap: anywhere; }
.review blockquote { margin: 0 0 12px; }
.review figcaption { color: var(--green-dark); font-weight: 650; }
.article-card-text { grid-template-columns: 1fr; }
.project-plan-button { display: inline-flex; align-items: center; gap: 4px; }
.info-section { max-width: 800px; margin-block: clamp(28px, 5vw, 58px); }
.info-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.inner-page .info-actions .text-link { margin-bottom: 0; }
.info-section li { margin-bottom: .55em; }
.office-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: clamp(16px, 3vw, 38px); }
.office-details { padding: clamp(20px, 4vw, 40px); border-radius: var(--radius); background: var(--surface); }
.office-details address { margin-block: 12px 24px; font-style: normal; }
.office-details address p { margin-bottom: 7px; }
.office-details a { color: var(--green-dark); text-decoration: underline; text-underline-offset: .18em; }
.office-details address a[href^="tel:"] { font-size: 1.3rem; font-weight: 700; }
.office-details h2 + p { margin-top: 10px; }
.office-details dl { margin-top: 14px; }
.office-details dl div { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.office-details dt { color: var(--muted); }

.consent-row { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 9px; align-items: start; color: var(--muted); font-size: .9rem; }
.request-form .consent-row input { width: 17px; height: 17px; min-height: 0; margin: 3px 0 0; accent-color: var(--green); }
.request-form .consent-row label { display: inline; font-size: inherit; font-weight: 550; }
.consent-row a { color: var(--green-dark); text-decoration: underline; text-underline-offset: .15em; }
.form-errors { color: #882b24; border-left: 3px solid #b44b41; padding: 3px 12px; }
.form-errors .errorlist { margin: 4px 0; padding-left: 17px; }
.footer-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.footer-grid a { overflow-wrap: anywhere; }
.footer-controls { display: flex; flex-wrap: wrap; gap: 5px 16px; }
.footer-controls button { border: 0; padding: 0; background: transparent; color: inherit; }
.footer-controls button:hover { text-decoration: underline; text-underline-offset: .2em; }

.cookie-panel {
  position: fixed; inset: auto auto 14px 14px; z-index: 10; width: min(375px, calc(100% - 28px));
  padding: 17px 18px; color: #f8fbf9; background: var(--green-dark);
  border: 1px solid #52786b; border-radius: 12px; box-shadow: 0 12px 30px #12261b35;
}
.cookie-panel h2 { font-size: 1.02rem; letter-spacing: -.02em; }
.cookie-panel p { margin: 8px 0 12px; font-size: .875rem; color: #e0ede5; }
.cookie-panel a { color: #e2f3c8; text-decoration: underline; text-underline-offset: .15em; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-actions .button { border-radius: 8px; }
.cookie-accept { background: #e2f3d1; color: #15372a; }
.cookie-accept:hover { background: white; }
.cookie-decline { color: #fff; background: transparent; border-color: #8aab9b; }
.cookie-decline:hover { background: #365d4e; }
.cookie-panel button:focus-visible, .cookie-panel a:focus-visible { outline-color: #e2f3d1; }

.direction-arrow { position: relative; display: inline-block; width: .82em; height: .82em; vertical-align: -.02em; }
.direction-arrow::before, .direction-arrow::after { content: ""; position: absolute; }
.direction-arrow::before { width: .68em; height: .085em; top: .36em; left: .05em; background: currentColor; transform: rotate(-45deg); }
.direction-arrow::after { width: .36em; height: .36em; top: .1em; right: .1em; border-top: .085em solid; border-right: .085em solid; }

.brand-logo { width: 34px; height: 34px; object-fit: contain; flex: none; }
.footer-intro .brand-logo { width: 34px; height: 34px; }
.footer-requisites { margin-top: 9px; color: #dbe9e1; font-size: .78rem; }
.hero h1 { text-wrap: initial; }
.hero-description { letter-spacing: normal; font-weight: 500; }
.catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.catalog-grid .project-caption { align-items: center; }
.catalog-grid .project-plan-button { align-self: start; }
.telegram-widget {
  position: fixed; right: clamp(12px, 2.1vw, 30px); bottom: clamp(12px, 2.1vw, 30px);
  z-index: 8; display: flex; align-items: center; gap: 10px;
}
.telegram-launch, .telegram-prompt { box-shadow: 0 9px 28px #183a2830; }
.telegram-launch {
  position: relative; display: grid; width: 61.6px; height: 61.6px; place-items: center; flex: none;
  border-radius: 50%; color: #fff; background: var(--green); transition: background-color .2s;
}
.telegram-launch svg { position: relative; }
.telegram-launch::before {
  content: ""; position: absolute; inset: -5.5px; border-radius: 50%;
  box-shadow: 0 0 15.4px 4.4px #76b69bc0; pointer-events: none;
  animation: telegram-halo 3s ease-in-out infinite;
}
@keyframes telegram-halo {
  0%, 100% { opacity: .24; transform: scale(.98); }
  50% { opacity: .94; transform: scale(1.09); }
}
@media (prefers-reduced-motion: reduce) {
  .telegram-launch::before { animation: none; opacity: .36; }
}
.telegram-launch:hover { background: var(--green-dark); }
.telegram-prompt {
  position: relative; background: #f5f9f6; color: var(--green-dark); border: 1px solid #d5e3d9;
  border-radius: 14px 14px 4px 14px;
}
.telegram-prompt a { display: block; padding: 12px 15px; font-size: .9rem; font-weight: 750; }
.telegram-prompt a:hover { text-decoration: underline; text-underline-offset: .2em; }
.telegram-dismiss {
  display: grid; place-items: center; width: 27px; height: 27px; position: absolute; left: -10px; top: -13px;
  color: var(--green-dark); background: #fff; border: 1px solid #d5e3d9; border-radius: 50%; line-height: 1;
}

@media (max-width: 1000px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .catalog-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(1.55rem, 7vw, 2.65rem); letter-spacing: -.05em; }
  .telegram-launch { width: 55px; height: 55px; }
  .telegram-widget { bottom: 12px; }
}
@media (max-width: 690px) {
  body:has(.cookie-panel:not([hidden])) .telegram-widget { bottom: auto; top: 78px; }
}

.promo-tile { height: 100%; }
.promo-icon svg { width: 52%; height: 52%; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
