:root {
  color-scheme: light;
  --paper: #f8f7f1;
  --ink: #21241a;
  --muted: #515546;
  --lime: #d8f44e;
  --line: #dcdfd2;
  --olive: #292f22;
  font: 16px/1.5 system-ui,sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*,*::before,*::after {
  box-sizing: border-box;
}

body,figure,h1,h2,h3,p {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,input,select,textarea {
  font: inherit;
  color: inherit;
}

button,a,input,select,textarea {
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid #657b0b;
  outline-offset: 4px;
}

.wrap {
  width: min(1440px,calc(100% - 96px));
  margin-inline: auto;
}

.header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-contacts {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.header-contacts .contact-button {
  min-width: 42px;
  padding: 8px;
  border-color: var(--line);
}

.header-contacts .contact-button span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-button {
  gap: 7px;
}

.contact-button svg,
.contact-button img {
  display: block;
  flex: none;
  width: 22px;
  height: 22px;
}

.contact-button:disabled {
  cursor: default;
  opacity: .78;
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  font-size: 1.15rem;
  font-weight: 720;
  letter-spacing: -.055em;
}

.brand img {
  width: 46px;
  height: 46px;
}

.header nav,.actions,.contact-links {
  display: flex;
  gap: clamp(14px,3vw,40px);
  align-items: center;
  flex-wrap: wrap;
}

.header nav a {
  text-decoration: none;
}

.header nav a:hover,.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 53px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 100px;
  background: var(--lime);
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  cursor: pointer;
}

.button:hover {
  background: #e2fa79;
}

.button:disabled {
  cursor: wait;
  opacity: .65;
}

.button.compact {
  padding: 8px 16px;
  min-height: 42px;
  font-size: .9rem;
}

.button.outline {
  background: transparent;
  border-color: currentColor;
}

.button.outline:hover {
  background: #e9efcc;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  background: #eeefdf;
  overflow: hidden;
  border-radius: 10px;
  min-height: 505px;
}

.hero-copy {
  padding: clamp(28px,4.2vw,72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.eyebrow {
  font-size: .875rem;
  font-weight: 680;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #758a2d;
  margin-right: .65em;
}

h1,h2,h3 {
  line-height: 1.04;
  letter-spacing: -.045em;
}

.hero h1 {
  font-size: clamp(2.55rem,4.55vw,5.15rem);
  line-height: 1.03;
  margin-block: 24px;
  font-weight: 680;
  letter-spacing: -.065em;
}

.hero h1 em {
  font-family: Georgia,serif;
  font-weight: 400;
  color: #52652a;
  white-space: nowrap;
}

.hero-sub {
  font-size: clamp(1.08rem,1.5vw,1.35rem);
  color: var(--muted);
}

.actions {
  gap: 17px;
  margin-top: 30px;
}

.text-link {
  font-weight: 590;
  text-underline-offset: 4px;
}

.hero-brand {
  white-space: nowrap;
}

.hero-note-marker {
  margin-left: .18em;
  font-size: .43em;
  vertical-align: super;
}

.hero-note-marker a {
  color: #52652a;
  text-decoration: none;
}

.hero-profile-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.4;
}

.hero-media {
  position: relative;
  min-height: 100%;
  background: #b09e75;
}

.hero-media img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  object-position: 55% center;
}

.hero-media figcaption {
  position: absolute;
  bottom: 21px;
  left: 21px;
  right: auto;
  max-width: calc(100% - 42px);
  border-radius: 5px;
  padding: 10px 14px;
  font-size: .875rem;
  background: #24251b;
  color: #fff;
}

.section {
  margin-top: 74px;
  scroll-margin-top: 20px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.section-head>p {
  max-width: 390px;
  color: var(--muted);
}

h2 {
  font-weight: 660;
  font-size: clamp(2rem,3.4vw,3.65rem);
  margin-top: 10px;
}

.products,.steps {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
}

.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}

.product-picture {
  height: 159px;
  display: grid;
  place-items: center;
  background: #e9ebde;
}

.product-picture.double {
  background: #eef0d5;
}

.product-picture.balcony {
  background: #ebe6da;
}

.window {
  height: 105px;
  width: 73px;
  display: flex;
  gap: 3px;
  border: 6px solid #fdfdf7;
  background: #fdfdf7;
  box-shadow: 0 0 0 1px #aab09d,6px 9px 12px #32392625;
}

.window i {
  flex: 1;
  position: relative;
  border: 1px solid #a5aca1;
  background: linear-gradient(143deg,#d9e0d3 38%,#f0f3eb 39%,#dbe3d5 52%,#c6d1bf 53%);
}

.window i::after {
  position: absolute;
  content: "";
  width: 2px;
  height: 8px;
  background: #586151;
  right: 4px;
  top: 46%;
}

.single .window i+i {
  display: none;
}

.double .window {
  width: 112px;
}

.balcony .window {
  height: 112px;
  width: 95px;
  align-items: start;
  box-shadow: none;
  background: transparent;
  border: 0;
}

.balcony .window i {
  height: 65%;
  border: 5px solid #fdfdf7;
  box-shadow: 0 0 0 1px #aab09d,4px 6px 9px #32392625;
}

.balcony .window i+i {
  height: 100%;
}

.product-copy {
  padding: 21px;
}

h3 {
  font-size: 1.3rem;
  letter-spacing: -.025em;
}

.product-copy p,.steps p {
  color: var(--muted);
  margin-top: 8px;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.product-bottom strong {
  font-size: 1.25rem;
}

.process {
  border-top: 1px solid var(--line);
  padding-top: 36px;
}

.steps {
  margin-top: 25px;
}

.steps>div {
  border-left: 2px solid #9bae50;
  padding-left: 15px;
}

.request {
  background: var(--olive);
  color: #fff;
  border-radius: 10px;
  padding: clamp(22px,4vw,58px);
  display: grid;
  grid-template-columns:  minmax(0,.85fr) minmax(0,1.15fr);
  gap: 28px;
  align-items: start;
}

.request-copy .eyebrow {
  color: var(--lime);
}

.request-copy > p:last-of-type {
  margin-top: 16px;
  max-width: 31ch;
}

.direct-contact {
  margin-top: 25px;
}

.direct-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.direct-contact .button {
  color: var(--lime);
}

.direct-contact .button:hover:not(:disabled) {
  background: var(--lime);
  color: var(--ink);
}

.direct-contact .button:disabled {
  background: transparent;
  cursor: default;
}

.direct-contact p {
  margin-top: 8px;
  font-size: .875rem;
  color: #d9decd;
}

.request-product {
  grid-column: 1 / -1;
}

.fields {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 13px;
}

form>label,.submit-row {
  margin-top: 14px;
}

label {
  display: block;
  font-weight: 570;
}

input:not([type=checkbox]),select,textarea {
  display: block;
  width: 100%;
  min-height: 45px;
  margin-top: 5px;
  padding: 9px 11px;
  border: 1px solid #aaa99e;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
}

textarea {
  resize: vertical;
}

.optional,.consent,.notice {
  font-size: .875rem;
  font-weight: 400;
}

.consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.consent input {
  margin-top: 4px;
  accent-color: #96b10e;
}

.submit-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer {
  padding-block: 30px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer p {
  color: var(--muted);
}

.contact-links {
  margin-left: auto;
  gap: 16px;
}

.admin {
  padding-block: 42px;
}

.login {
  max-width: 420px;
  margin: auto;
  padding-inline: 20px;
}

.admin h1 {
  font-size: clamp(2.25rem,4vw,3.7rem);
  margin-block: 15px;
}

.login button {
  margin-top: 15px;
}

.admin-head,.filters,.pagination,.status-form {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-head {
  justify-content: space-between;
  align-items: center;
}

.filters,.pagination {
  margin-block: 15px;
}

.filters label {
  margin: 0;
}

.table-scroll {
  overflow: auto;
}

table {
  background: white;
  border-collapse: collapse;
  width: 100%;
  min-width: 800px;
}

th,td {
  text-align: left;
  vertical-align: top;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.comment {
  white-space: pre-wrap;
  max-width: 30ch;
}

@media(max-width:900px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .hero {
    min-height: 425px;
  }
  .hero-copy {
    padding: 25px;
  }
  .products {
    gap: 10px;
  }
  .product-copy {
    padding: 14px;
  }
}

@media(max-width:680px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .header {
    height: 72px;
  }
  .header nav {
    display: none;
  }
  .hero,.request {
    grid-template-columns: 1fr;
  }
  .hero-media {
    aspect-ratio: 3 / 2;
    min-height: 230px;
  }
  .hero h1 {
    margin-block: 15px;
  }
  .hero-copy {
    padding-block: 31px;
  }
  .actions {
    margin-top: 20px;
  }
  .section {
    margin-top: 46px;
  }
  .section-head {
    display: block;
  }
  .section-head>p {
    margin-top: 10px;
  }
  .products,.steps {
    grid-template-columns: 1fr;
  }
  .product-picture {
    height: 125px;
  }
  .footer .contact-links {
    margin-left: 0;
    width: 100%;
  }
}

@media(max-width:380px) {
  .fields {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2.35rem;
  }
}

@media (max-width: 380px) {
  .header {
    gap: 8px;
  }

  .brand {
    gap: 7px;
    font-size: 1rem;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .header .button {
    padding-inline: 12px;
  }
}

@media (max-width: 1000px) {
  .header nav {
    display: none;
  }
}

@media (max-width: 520px) {
  .header {
    display: grid;
    grid-template-columns: 1fr auto;
    height: auto;
    gap: 10px;
    padding-block: 10px;
  }

  .header-request {
    grid-column: 2;
    grid-row: 1;
  }

  .header-contacts {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: .85fr 1fr 1fr;
    margin-left: 0;
  }

  .header-contacts .contact-button span {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
  }
}

@media (max-width: 380px) {
  .header-contacts {
    grid-template-columns: minmax(0, .8fr) repeat(2, minmax(0, 1fr));
  }

  .header-contacts .contact-button {
    gap: 4px;
    padding-inline: 3px;
    font-size: .8rem;
  }

  .header-contacts .contact-button svg,
  .header-contacts .contact-button img {
    width: 18px;
    height: 18px;
  }
}

.coverage-intro {
  margin-top: 12px;
  color: var(--muted);
}

.coverage-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr));
  gap: 8px;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.coverage-list li {
  overflow-wrap: anywhere;
  padding: 8px 12px;
  background: #eeefdf;
  border-radius: 5px;
}

.direct-phone {
  margin-top: 8px;
  font-weight: 650;
}

.hero-media img {
  filter: saturate(.77) contrast(.92) brightness(1.06);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, #f0ead319, transparent 60%, #2727191a);
  content: "";
  pointer-events: none;
}

.hero-media figcaption {
  z-index: 1;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 12px;
  margin-top: 22px;
}

.article-card {
  display: block;
  padding: 20px;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}

.article-card:hover {
  background: #eeefdf;
}

.article-card p,
.article-intro {
  color: var(--muted);
}

.article-card p {
  margin-top: 9px;
}

.article-page {
  max-width: 750px;
  padding-block: clamp(26px, 6vw, 80px);
}

.article-page h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-top: 18px;
}

.article-page h2 {
  font-size: 1.45rem;
  margin: 0 0 8px;
}

.article-intro {
  margin-top: 14px;
}

.article-page section,
.article-page aside {
  margin-top: 30px;
}

.coverage-map-link {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(0, 2.6fr);
  align-items: center;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #eeefdf;
  text-decoration: none;
}

.coverage-map-link img {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: auto;
}

.coverage-map-caption {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  gap: 10px;
  padding: clamp(18px, 4vw, 45px);
}

.coverage-map-caption strong {
  font-size: clamp(1.3rem, 2.3vw, 2rem);
  line-height: 1.15;
}

.coverage-map-caption > span {
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.coverage-map-link:hover {
  background: #e3eacb;
}

@media (max-width: 680px) {
  .coverage-map-link {
    display: block;
  }

  .coverage-map-caption {
    gap: 5px;
  }
}

.coverage-map-frame {
  display: block;
  width: 100%;
  height: clamp(320px, 46vw, 500px);
  margin-top: 24px;
  border: 0;
  border-radius: 10px;
}
