:root {
  --container: 1300px;
  --page-x: 24px;
  --accent: #d95b25;
  --accent-dark: #b94112;
  --accent-soft: #fff3eb;
  --ink: #302721;
  --muted: #6e625d;
  --line: #ead8ca;
  --paper: #fffdfb;
  --warm: #fff8f1;
  --photo-fade: rgba(255, 248, 241, .28);
  --photo-fade-strong: rgba(255, 243, 235, .38);
  --photo-fade-soft: rgba(255, 250, 246, .18);
  --footer: #2b211b;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 18px 45px rgba(91, 52, 30, .08);
  --display-font: Georgia, "Times New Roman", serif;
}

/* Privacy policy, personal-data consent and cookie notice */
.privacy-page {
  padding-top: clamp(120px, 14vw, 170px);
}

.privacy-page__content {
  max-width: 920px;
}

.privacy-page__content h1 {
  margin: 8px 0 30px;
}

.privacy-page__back {
  margin-bottom: 30px;
}

.privacy-page__content h2 {
  margin: 38px 0 14px;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}

.privacy-page__content p,
.privacy-page__content li {
  line-height: 1.75;
}

.privacy-page__content ul {
  display: grid;
  gap: 8px;
  padding-left: 24px;
}

.feedback-form .consent-field,
.contact-inline-form .consent-field {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  font-size: 0.82rem;
  line-height: 1.45;
  cursor: pointer;
}

.feedback-form .consent-field input,
.contact-inline-form .consent-field input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--primary, #d9151b);
}

.consent-field a,
.cookie-notice a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-notice {
  position: fixed;
  z-index: 1200;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 30px);
  display: flex;
  align-items: center;
  gap: 22px;
  width: min(720px, calc(100% - 28px));
  padding: 18px 20px;
  border: 1px solid rgba(32, 28, 25, 0.12);
  border-radius: 18px;
  background: #fffaf6;
  box-shadow: 0 18px 60px rgba(32, 28, 25, 0.2);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-notice__accept {
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .cookie-notice {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .cookie-notice__accept {
    width: 100%;
  }
}

/* Mini timber project catalog */
.mini-timber-hero {
  padding: 74px 0 64px;
  background:
    linear-gradient(108deg, rgba(255, 248, 241, .92), rgba(255, 253, 251, .48)),
    radial-gradient(circle at 82% 18%, rgba(226, 230, 222, .76), transparent 34%);
}

.mini-timber-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(460px, .95fr);
  align-items: center;
  gap: 48px;
}

.mini-timber-hero__content h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(45px, 4.5vw, 68px);
  line-height: .98;
  overflow-wrap: normal;
}

.mini-timber-hero__content {
  min-width: 0;
}

.mini-timber-hero__lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 18px;
}

.mini-timber-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mini-timber-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 38px 0 0;
  overflow: hidden;
  border: 1px solid rgba(234, 216, 202, .8);
  border-radius: var(--radius);
  background: rgba(234, 216, 202, .8);
}

.mini-timber-hero__facts div {
  padding: 14px 16px;
  background: rgba(255, 253, 251, .9);
}

.mini-timber-hero__facts dt {
  font-family: var(--display-font);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
}

.mini-timber-hero__facts dd {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.mini-timber-hero__visual {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(234, 216, 202, .82);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 251, .88);
  box-shadow: 0 30px 72px rgba(91, 52, 30, .13);
}

.mini-timber-hero__visual img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  border-radius: calc(var(--radius-lg) - 4px);
  object-fit: cover;
}

.mini-timber-hero__visual figcaption {
  position: absolute;
  right: 25px;
  bottom: 25px;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(255, 253, 251, .9);
  box-shadow: 0 8px 24px rgba(48, 39, 33, .12);
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.mini-timber-catalog {
  padding-top: 70px;
}

.mini-timber-catalog__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  align-items: end;
  gap: 48px;
  margin-bottom: 38px;
}

.mini-timber-catalog__head h2 {
  margin-bottom: 0;
}

.mini-timber-catalog__head > p {
  margin: 0;
  color: var(--muted);
}

.mini-timber-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 28px;
}

.mini-timber-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(234, 216, 202, .76);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 251, .88);
  box-shadow: 0 16px 40px rgba(91, 52, 30, .065);
}

.mini-timber-gallery {
  border-bottom-color: rgba(234, 216, 202, .7);
}

.mini-timber-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 25px;
}

.mini-timber-card__head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  margin-bottom: 20px;
}

.mini-timber-card__number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 800;
}

.mini-timber-card__type {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.mini-timber-card__head h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.28;
}

.mini-timber-card__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 14px;
  overflow: hidden;
  border: 1px solid rgba(234, 216, 202, .7);
  border-radius: var(--radius);
  background: rgba(234, 216, 202, .7);
}

.mini-timber-card__facts div {
  padding: 13px 14px;
  background: rgba(255, 248, 241, .7);
}

.mini-timber-card__facts div:nth-child(2):last-child {
  grid-column: auto;
}

.mini-timber-card__facts dt,
.mini-timber-card__price > span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
}

.mini-timber-card__facts dd {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}

.mini-timber-card__price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--accent-soft);
}

.mini-timber-card__price > span {
  margin: 0;
}

.mini-timber-card__price-values {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px 12px;
}

.mini-timber-card__price strong {
  color: var(--accent-dark);
  font-size: 16px;
  text-align: right;
}

.mini-timber-card__details {
  margin-bottom: 18px;
}

.mini-timber-card__details p {
  white-space: normal;
}

.mini-timber-card__button {
  width: 100%;
  margin-top: auto;
}

.mini-timber-cta {
  padding: 0 0 82px;
}

.mini-timber-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 38px 42px;
  border: 1px solid rgba(234, 216, 202, .74);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 10%, rgba(226, 230, 222, .72), transparent 30%),
    rgba(255, 248, 241, .78);
}

.mini-timber-cta h2 {
  margin-bottom: 8px;
  font-size: clamp(28px, 3vw, 40px);
}

.mini-timber-cta p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
}

@media (max-width: 1040px) {
  .mini-timber-hero__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .mini-timber-hero__visual {
    max-width: 820px;
  }

  .mini-timber-catalog__head {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 760px) {
  .mini-timber-hero {
    padding: 46px 0 38px;
  }

  .mini-timber-hero__content h1 {
    font-size: 31px;
    hyphens: none;
    overflow-wrap: normal;
  }

  .mini-timber-hero__lead {
    font-size: 16px;
  }

  .mini-timber-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .mini-timber-hero__actions .btn {
    width: 100%;
  }

  .mini-timber-hero__facts {
    grid-template-columns: 1fr;
  }

  .mini-timber-hero__facts div {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    align-items: baseline;
    gap: 10px;
  }

  .mini-timber-hero__facts dd {
    margin: 0;
  }

  .mini-timber-hero__visual {
    padding: 7px;
  }

  .mini-timber-hero__visual img {
    aspect-ratio: 1.2 / 1;
  }

  .mini-timber-hero__visual figcaption {
    right: 15px;
    bottom: 15px;
    left: 15px;
    text-align: center;
  }

  .mini-timber-catalog {
    padding-top: 48px;
  }

  .mini-timber-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mini-timber-card__body {
    padding: 20px;
  }

  .mini-timber-card__head h3 {
    font-size: 18px;
  }

  .mini-timber-card__facts {
    grid-template-columns: 1fr;
  }

  .mini-timber-card__price {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .mini-timber-card__price-values {
    justify-content: flex-start;
  }

  .mini-timber-card__price strong {
    text-align: left;
  }

  .mini-timber-cta {
    padding-bottom: 54px;
  }

  .mini-timber-cta__inner {
    align-items: stretch;
    flex-direction: column;
    padding: 28px 22px;
  }

  .mini-timber-cta__inner .btn {
    width: 100%;
  }
}

/* Contacts, map and Yandex reviews */
.contacts.contacts {
  padding: 42px 0 0;
}

.contacts-panel.contacts-panel--reviews {
  grid-template-columns: 330px minmax(360px, 1fr) minmax(360px, 420px);
  grid-template-areas: "details map reviews";
  min-height: 640px;
  border-bottom: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.contacts-panel--reviews .contact-card {
  display: flex;
  grid-area: details;
  flex-direction: column;
  padding: 38px 34px;
}

.contacts-panel--reviews .contact-card .btn {
  width: 100%;
  position: relative;
  z-index: 2;
  margin-top: 2px;
  flex: 0 0 auto;
}

.contact-card__art {
  position: relative;
  flex: 1 1 170px;
  min-height: 170px;
  overflow: hidden;
  margin: 10px -34px -38px;
  pointer-events: none;
}

.contact-card__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 250, 246, 1) 0%, rgba(255, 250, 246, .72) 10%, rgba(255, 250, 246, 0) 38%, rgba(255, 250, 246, .18) 82%, rgba(255, 250, 246, .76) 100%),
    linear-gradient(90deg, rgba(255, 250, 246, .9) 0%, rgba(255, 250, 246, .08) 20%, rgba(255, 250, 246, .08) 80%, rgba(255, 250, 246, .9) 100%);
}

.contact-card__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  opacity: .78;
  filter: saturate(.76) contrast(.96) sepia(.06);
  transform: scale(1.03);
}

.contacts-panel--reviews .map-placeholder {
  grid-area: map;
  min-width: 0;
  min-height: 640px;
  border-left: 1px solid rgba(234, 216, 202, .72);
}

.contacts-panel--reviews .map-placeholder iframe {
  min-height: 640px;
}

.contact-reviews {
  position: relative;
  grid-area: reviews;
  min-width: 0;
  height: 640px;
  overflow: hidden;
  border-left: 1px solid rgba(234, 216, 202, .72);
  background: #fff;
}

.contact-reviews iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-reviews > a {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  display: block;
  max-height: 14px;
  overflow: hidden;
  padding: 0 16px;
  color: #9f9894;
  font-family: "YS Text", "Manrope", sans-serif;
  font-size: 10px;
  line-height: 14px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .contacts-panel.contacts-panel--reviews {
    grid-template-columns: 340px minmax(0, 1fr);
    grid-template-areas:
      "details map"
      "reviews reviews";
    min-height: 0;
  }

  .contacts-panel--reviews .map-placeholder,
  .contacts-panel--reviews .map-placeholder iframe {
    min-height: 560px;
  }

  .contact-reviews {
    width: min(760px, 100%);
    height: 640px;
    justify-self: center;
    border-top: 1px solid rgba(234, 216, 202, .72);
    border-right: 1px solid rgba(234, 216, 202, .72);
  }
}

@media (max-width: 760px) {
  .contacts.contacts {
    padding: 36px 0 0;
  }

  .contacts-panel.contacts-panel--reviews {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "details"
      "map"
      "reviews";
  }

  .contacts-panel--reviews .contact-card {
    padding: 30px 24px;
  }

  .contacts-panel--reviews .contact-card .btn {
    margin-top: 2px;
  }

  .contact-card__art {
    flex-basis: 220px;
    min-height: 220px;
    margin: 12px -24px -30px;
  }

  .contacts-panel--reviews .map-placeholder,
  .contacts-panel--reviews .map-placeholder iframe {
    min-height: 420px;
  }

  .contacts-panel--reviews .map-placeholder {
    border-top: 1px solid rgba(234, 216, 202, .72);
    border-left: 0;
  }

  .contact-reviews {
    width: 100%;
    min-width: 300px;
    height: 640px;
    border-right: 0;
    border-left: 0;
  }
}

@media (max-width: 400px) {
  .contacts-panel.contacts-panel--reviews {
    width: max(300px, calc(100% - 16px));
    margin-inline: auto;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 6%, rgba(226, 230, 222, .62), transparent 28%),
    radial-gradient(circle at 14% 30%, rgba(255, 243, 235, .76), transparent 24%),
    radial-gradient(circle at 86% 58%, rgba(239, 232, 224, .54), transparent 31%),
    linear-gradient(180deg, #fffdfb 0%, #fffaf6 46%, #fffdfb 100%);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 9%, rgba(226, 230, 222, .58), transparent 24%),
    radial-gradient(circle at 10% 20%, rgba(255, 243, 235, .72), transparent 23%),
    radial-gradient(circle at 82% 44%, rgba(242, 226, 212, .42), transparent 27%),
    radial-gradient(circle at 12% 73%, rgba(226, 230, 222, .32), transparent 28%),
    linear-gradient(180deg, #fffdfb 0%, #fffaf6 35%, #fffdfb 62%, #fff8f1 100%);
}

main::before,
main::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

main::before {
  opacity: .72;
  background:
    linear-gradient(90deg, transparent calc(50% - 648px), rgba(217, 91, 37, .055) calc(50% - 648px), rgba(217, 91, 37, .055) calc(50% - 647px), transparent calc(50% - 647px)),
    linear-gradient(90deg, transparent calc(50% + 647px), rgba(217, 91, 37, .045) calc(50% + 647px), rgba(217, 91, 37, .045) calc(50% + 648px), transparent calc(50% + 648px)),
    linear-gradient(116deg, transparent 0 39%, rgba(217, 91, 37, .07) 39.05%, transparent 39.25% 64%, rgba(234, 216, 202, .24) 64.08%, transparent 64.3%),
    repeating-linear-gradient(90deg, transparent 0 178px, rgba(234, 216, 202, .18) 178px 179px),
    repeating-linear-gradient(180deg, transparent 0 430px, rgba(234, 216, 202, .16) 430px 431px, transparent 431px 790px);
  mask-image: linear-gradient(180deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

main::after {
  opacity: .9;
  background:
    radial-gradient(ellipse at 76% 18%, rgba(255, 255, 255, .92), transparent 28%),
    radial-gradient(ellipse at 7% 37%, rgba(255, 248, 241, .76), transparent 26%),
    radial-gradient(ellipse at 88% 68%, rgba(255, 243, 235, .62), transparent 30%),
    linear-gradient(128deg, transparent 0 38%, rgba(217, 91, 37, .035) 38.1%, transparent 38.4% 64%, rgba(234, 216, 202, .18) 64.1%, transparent 64.4%),
    radial-gradient(ellipse at 52% 88%, rgba(255, 253, 251, .92), transparent 34%);
}

main > section {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(var(--container), calc(100% - var(--page-x) * 2));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 246, .82);
  border-bottom: 1px solid rgba(234, 216, 202, .54);
  box-shadow: 0 14px 36px rgba(91, 52, 30, .035);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  min-height: 88px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 176px;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand strong {
  display: block;
  color: #15120f;
  font-size: 20px;
  line-height: .95;
  font-weight: 800;
  letter-spacing: .02em;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: #15120f;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
}

.main-nav a,
.text-link,
.footer-col a {
  transition: color .2s ease;
}

.main-nav a:hover,
.text-link:hover,
.footer-col a:hover {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.phone-contact {
  position: relative;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

.phone-link strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}

.phone-link small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.phone-link__caret {
  width: 8px;
  height: 8px;
  margin-left: 2px;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: translateY(-2px) rotate(45deg);
  transition: transform .18s ease;
}

.phone-link[aria-expanded="true"] .phone-link__caret {
  transform: translateY(2px) rotate(225deg);
}

.phone-link:focus-visible {
  border-radius: var(--radius);
  outline: 2px solid rgba(217, 91, 37, .45);
  outline-offset: 4px;
}

.contact-methods {
  position: absolute;
  z-index: 30;
  top: calc(100% + 16px);
  right: 0;
  width: 294px;
  padding: 10px;
  border: 1px solid rgba(234, 216, 202, .86);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 251, .98);
  box-shadow: 0 22px 52px rgba(91, 52, 30, .16);
  backdrop-filter: blur(18px);
  animation: contact-menu-in .18s ease-out;
}

.contact-methods[hidden] {
  display: none;
}

.contact-methods::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 25px;
  width: 11px;
  height: 11px;
  border-top: 1px solid rgba(234, 216, 202, .86);
  border-left: 1px solid rgba(234, 216, 202, .86);
  background: var(--paper);
  transform: rotate(45deg);
}

.contact-methods > p {
  margin: 0;
  padding: 8px 10px 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.contact-methods a {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 10px;
  border-radius: var(--radius);
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.contact-methods a:hover,
.contact-methods a:focus-visible {
  color: var(--accent-dark);
  background: var(--accent-soft);
  outline: none;
  transform: translateX(2px);
}

.contact-methods a span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(217, 91, 37, .18);
  border-radius: 50%;
  color: var(--accent-dark);
  background: #fff;
  font-size: 10px;
  font-weight: 800;
}

.contact-methods a strong {
  font-size: 13px;
  line-height: 1.3;
}

@keyframes contact-menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(247, 111, 31, .16);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .86), rgba(255, 237, 222, .66));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 7px 16px rgba(161, 83, 40, .08);
}

.phone-icon img {
  display: block;
  width: 21px;
  height: 21px;
  object-fit: contain;
  transform: translateY(1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #df642c 0%, #ca4714 100%);
  box-shadow: 0 12px 25px rgba(217, 91, 37, .2);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #e97039 0%, #b83c0f 100%);
  box-shadow: 0 15px 30px rgba(217, 91, 37, .28);
}

.btn-secondary,
.btn-outline,
.btn-small {
  color: var(--accent-dark);
  background: #fff;
  border-color: #dca786;
}

.btn-secondary:hover,
.btn-outline:hover,
.btn-small:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.btn-small {
  min-height: 34px;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 700;
}

.feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}

.feedback-modal[hidden] {
  display: none;
}

.feedback-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 18%, rgba(217, 91, 37, .18), transparent 36%),
    rgba(43, 33, 27, .66);
  backdrop-filter: blur(10px);
}

.feedback-modal__dialog {
  position: relative;
  width: min(492px, 100%);
  padding: 34px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 253, 251, .98), rgba(255, 247, 240, .94));
  border: 1px solid rgba(234, 216, 202, .88);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 80px rgba(43, 33, 27, .26);
}

.feedback-modal__dialog::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(116deg, transparent 0 42%, rgba(217, 91, 37, .06) 42.08%, transparent 42.3%),
    radial-gradient(ellipse at 100% 0%, rgba(255, 232, 215, .72), transparent 42%);
}

.feedback-modal__dialog > * {
  position: relative;
}

.feedback-modal__dialog h2 {
  margin: 4px 0 10px;
  font-family: var(--display-font);
  font-size: clamp(34px, 4vw, 46px);
  line-height: .96;
}

.feedback-modal__dialog p:not(.eyebrow) {
  max-width: 390px;
  margin: 0 0 24px;
  color: var(--muted);
}

.feedback-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(234, 216, 202, .86);
  border-radius: 50%;
  cursor: pointer;
}

.feedback-modal__close::before,
.feedback-modal__close::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 20px;
  width: 16px;
  height: 2px;
  background: var(--ink);
}

.feedback-modal__close::before {
  transform: rotate(45deg);
}

.feedback-modal__close::after {
  transform: rotate(-45deg);
}

.feedback-form {
  display: grid;
  gap: 14px;
}

.feedback-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.feedback-form input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(220, 167, 134, .82);
  border-radius: 7px;
  font: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.feedback-form input:focus {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(217, 91, 37, .12);
}

.feedback-form .btn {
  width: 100%;
  margin-top: 6px;
}

.feedback-form .btn:disabled {
  cursor: wait;
  opacity: .72;
}

.feedback-form__honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.feedback-modal__dialog .feedback-form__status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.feedback-modal__dialog .feedback-form__status[data-state="success"] {
  color: #357144;
}

.feedback-modal__dialog .feedback-form__status[data-state="error"] {
  color: #a63224;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

.hero {
  position: relative;
  padding: 78px 0 42px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 253, 251, .98) 0%, rgba(255, 248, 241, .92) 33%, rgba(255, 248, 241, .42) 52%, rgba(255, 248, 241, 0) 72%),
    radial-gradient(ellipse at 77% 18%, rgba(255, 221, 183, .32), transparent 30%),
    radial-gradient(ellipse at 78% 80%, rgba(226, 230, 222, .28), transparent 28%),
    url("/images/hero-key-house.webp") right -44px center / min(82vw, 1180px) auto no-repeat,
    linear-gradient(180deg, #fffdfb 0%, #fff8f1 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: 0;
  background:
    radial-gradient(ellipse at 4% 54%, rgba(255, 253, 251, .98), rgba(255, 253, 251, .72) 22%, rgba(255, 248, 241, 0) 55%),
    linear-gradient(90deg, rgba(255, 253, 251, .88) 0%, rgba(255, 250, 246, .28) 44%, rgba(255, 250, 246, 0) 70%);
}

.hero::after {
  right: 0;
  bottom: -118px;
  left: 0;
  height: 280px;
  background:
    radial-gradient(ellipse at 24% 36%, rgba(255, 243, 235, .7), transparent 42%),
    radial-gradient(ellipse at 86% 50%, rgba(255, 248, 241, .68), transparent 34%),
    linear-gradient(180deg, rgba(255, 253, 251, 0), rgba(255, 250, 246, .9) 58%, rgba(255, 250, 246, 0));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(350px, 510px) minmax(500px, 1fr);
  align-items: center;
  min-height: 610px;
  gap: 34px;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 650px;
  margin-bottom: 24px;
  font-family: var(--display-font);
  font-size: clamp(48px, 5vw, 74px);
  line-height: .96;
  font-weight: 700;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-family: var(--display-font);
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: 0;
}

h3 {
  font-size: 18px;
  line-height: 1.3;
}

.hero-text {
  max-width: 525px;
  margin-bottom: 34px;
  color: #514843;
  font-size: 17px;
  line-height: 1.62;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: rgba(51, 42, 38, .55);
  background:
    linear-gradient(135deg, rgba(255, 248, 241, .96), rgba(255, 255, 255, .96)),
    repeating-linear-gradient(-35deg, transparent 0 22px, rgba(217, 91, 37, .05) 22px 24px);
  border: 1px solid #ead8ca;
  border-radius: var(--radius);
}

.placeholder::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(217, 91, 37, .28);
  border-radius: calc(var(--radius) - 2px);
}

.placeholder::after {
  content: "";
  position: absolute;
  width: 42%;
  height: 34%;
  border-left: 3px solid rgba(217, 91, 37, .24);
  border-bottom: 3px solid rgba(217, 91, 37, .24);
  transform: rotate(-45deg);
}

.placeholder span {
  position: relative;
  z-index: 1;
  padding: 8px 12px;
  background: rgba(255, 253, 251, .75);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.before-after {
  position: relative;
  width: 100%;
  height: clamp(390px, 31vw, 470px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(234, 216, 202, .88);
  border-radius: 18px;
  background: #f6efe8;
  box-shadow: 0 24px 58px rgba(91, 52, 30, .16);
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
}

.before-after::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(43, 33, 27, .16), transparent 28%, transparent 70%, rgba(43, 33, 27, .2)),
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, .22), transparent 24%);
}

.before-after__image,
.before-after__after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.before-after__image {
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.before-after__image--before {
  z-index: 1;
}

.before-after__after {
  z-index: 2;
  overflow: hidden;
  clip-path: inset(0 0 0 var(--position));
}

.before-after__badge {
  position: absolute;
  top: 18px;
  z-index: 4;
  padding: 8px 14px;
  color: var(--ink);
  background: rgba(255, 253, 251, .82);
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(43, 33, 27, .13);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 800;
}

.before-after__badge--before {
  left: 18px;
}

.before-after__badge--after {
  right: 18px;
}

.before-after__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  z-index: 5;
  width: 0;
  cursor: ew-resize;
  outline: none;
}

.before-after__handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 2px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 0 0 1px rgba(43, 33, 27, .12), 0 0 24px rgba(0, 0, 0, .24);
}

.before-after__handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  color: var(--accent);
  background: rgba(255, 253, 251, .96);
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(43, 33, 27, .24);
  transform: translate(-50%, -50%);
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
}

.before-after__handle:focus-visible span {
  box-shadow: 0 0 0 4px rgba(217, 91, 37, .22), 0 16px 34px rgba(43, 33, 27, .24);
}

.before-after__hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 4;
  width: min(88%, 440px);
  padding: 10px 18px;
  color: #fff;
  background: rgba(43, 33, 27, .48);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(43, 33, 27, .18);
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.benefits {
  position: relative;
  z-index: 1;
  padding: 0 0 58px;
  background:
    linear-gradient(180deg, rgba(255, 248, 241, .72), rgba(255, 248, 241, 0));
}

.benefits-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(234, 216, 202, .72);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(255, 246, 238, .82)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .34) 0 1px, transparent 1px 18px);
  box-shadow: 0 22px 54px rgba(91, 52, 30, .08);
  backdrop-filter: blur(10px);
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 20px 24px;
  border-left: 1px solid rgba(234, 216, 202, .62);
}

.benefit-item:first-child {
  border-left: 0;
}

.benefit-item strong,
.metrics strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}

.benefit-item small,
.metrics small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  color: var(--accent);
  background: #fff8f1;
  border: 1px solid #efc8ae;
  border-radius: 50%;
  font-weight: 800;
}

.benefits .mini-icon {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(247, 111, 31, .16);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(255, 235, 219, .68));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .92), 0 12px 26px rgba(161, 83, 40, .09);
}

.benefits .mini-icon img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.benefits .mini-icon--since img {
  width: 35px;
  height: 35px;
}

.benefits .mini-icon--projects img {
  width: 39px;
  height: 34px;
}

.benefits .mini-icon--warranty img {
  width: 32px;
  height: 37px;
}

.benefits .mini-icon--team img {
  width: 38px;
  height: 36px;
}

.section {
  padding: 82px 0;
  scroll-margin-top: 96px;
}

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

.section-head.compact {
  align-items: center;
  margin-bottom: 22px;
}

.text-link {
  color: var(--accent);
  font-weight: 800;
  white-space: nowrap;
}

.text-link span {
  margin-left: 8px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.project-card,
.review-card {
  background: rgba(255, 253, 251, .78);
  border: 1px solid rgba(234, 216, 202, .66);
  border-radius: var(--radius);
  box-shadow: 0 20px 46px rgba(91, 52, 30, .055);
  backdrop-filter: blur(10px);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.project-card {
  position: relative;
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.project-card .btn {
  position: relative;
  z-index: 2;
}

.project-card:hover,
.review-card:hover {
  transform: translateY(-4px);
  border-color: #dfb18f;
  box-shadow: var(--shadow);
}

.project-image {
  aspect-ratio: 1.9 / 1;
  border: 0;
  border-bottom: 1px solid rgba(234, 216, 202, .68);
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  background: #f6efe8;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.035);
}

.project-body {
  display: flex;
  flex-direction: column;
  min-height: 186px;
  padding: 18px 20px 20px;
}

.project-body h3 {
  margin-bottom: 8px;
}

.project-body p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.project-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
}

.project-bottom strong {
  white-space: nowrap;
}

.about {
  position: relative;
  padding: 100px 0 98px;
  overflow: hidden;
}

.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(420px, .86fr) minmax(520px, 1.24fr);
  gap: 56px;
  align-items: center;
}

.about-content {
  order: 1;
}

.about-image {
  order: 2;
}

.about-image {
  position: relative;
  aspect-ratio: 1.55 / 1;
  margin-right: -46px;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(255, 253, 251, .98) 0%, rgba(255, 250, 246, .66) 18%, rgba(255, 250, 246, .08) 42%, rgba(255, 250, 246, 0) 72%),
    linear-gradient(180deg, rgba(255, 253, 251, .9) 0%, rgba(255, 253, 251, 0) 22%, rgba(255, 250, 246, 0) 68%, rgba(255, 250, 246, .9) 100%),
    url("/images/about/company-house-composition.webp") 58% center / 118% auto no-repeat;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 14%, #000 90%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 10%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 14%, #000 90%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 10%, #000 86%, transparent 100%);
  mask-composite: intersect;
}

.about-content p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 38px;
  color: #574d48;
  font-size: 17px;
  line-height: 1.72;
}

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

.metrics div {
  display: grid;
  grid-template-columns: 58px 1fr;
  column-gap: 14px;
  align-items: center;
  min-height: 70px;
}

.metrics .mini-icon {
  grid-row: span 2;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(247, 111, 31, .16);
  border-radius: 15px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(255, 235, 219, .68));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .92), 0 10px 22px rgba(161, 83, 40, .08);
}

.metrics .mini-icon img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.metrics .mini-icon--since img {
  width: 33px;
  height: 33px;
}

.metrics .mini-icon--projects img {
  width: 37px;
  height: 32px;
}

.metrics .mini-icon--warranty img {
  width: 30px;
  height: 35px;
}

.metrics .mini-icon--team img {
  width: 36px;
  height: 34px;
}

.works {
  position: relative;
  padding: 104px 0 96px;
  overflow: hidden;
  background: transparent;
}

.works::before {
  content: "";
  position: absolute;
  inset: -210px 0 -180px;
  z-index: -1;
  background:
    radial-gradient(ellipse at 9% 18%, rgba(255, 243, 235, .58), transparent 32%),
    radial-gradient(ellipse at 82% 58%, rgba(226, 230, 222, .32), transparent 34%),
    linear-gradient(118deg, transparent 0 46%, rgba(217, 91, 37, .045) 46.08%, transparent 46.26%),
    linear-gradient(180deg, rgba(255, 253, 251, 0) 0%, rgba(255, 250, 245, .5) 45%, rgba(255, 253, 251, 0) 100%);
  filter: blur(2px);
}

.works-showcase {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
  grid-template-areas:
    "copy link"
    "main masonry";
  gap: 28px 24px;
  align-items: start;
}

.works-copy {
  grid-area: copy;
  max-width: 620px;
}

.works-copy h2 {
  font-family: var(--display-font);
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

.works-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 16px 0 0;
  color: #574d48;
  font-size: 16px;
}

.works-all-link {
  grid-area: link;
  justify-self: end;
  align-self: end;
  min-width: 238px;
  min-height: 52px;
  padding: 14px 22px;
  border-bottom: 0;
  box-shadow: 0 14px 30px rgba(217, 91, 37, .22);
}

.works-all-link span {
  margin-left: 10px;
  font-size: 19px;
  line-height: 1;
  transition: transform .2s ease;
}

.works-all-link:hover span {
  transform: translateX(4px);
}

.works-main {
  grid-area: main;
  min-width: 0;
}

.works-masonry {
  grid-area: masonry;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
  align-items: stretch;
}

.work-feature {
  display: grid;
  grid-template-rows: auto auto;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  background: rgba(255, 253, 251, .82);
  border: 1px solid rgba(234, 216, 202, .72);
  border-radius: var(--radius-lg);
  box-shadow: 0 26px 62px rgba(91, 52, 30, .09);
  backdrop-filter: blur(10px);
}

.before-after.before-after--works {
  height: clamp(450px, 38vw, 540px);
  min-height: 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: none;
}

.before-after--works .before-after__image--before {
  object-position: 50% 52%;
}

.before-after--works .before-after__after .before-after__image {
  object-position: 50% 48%;
}

.before-after--works .before-after__hint {
  display: none;
}

.work-feature__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "head head"
    "text link";
  align-items: end;
  gap: 18px 24px;
  min-height: 218px;
  padding: 28px 28px 26px;
  background: rgba(255, 253, 251, .86);
  border-top: 1px solid rgba(234, 216, 202, .76);
}

.work-feature__body > div {
  grid-area: head;
}

.work-feature__body h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.18;
}

.work-feature__body .text-link {
  grid-area: link;
  justify-self: end;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(217, 91, 37, .4);
  font-size: 13px;
}

.work-feature__text {
  grid-area: text;
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.work-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  color: var(--ink);
  background: rgba(255, 253, 251, .82);
  border: 1px solid rgba(234, 216, 202, .72);
  border-radius: var(--radius);
  box-shadow: 0 20px 42px rgba(91, 52, 30, .065);
  backdrop-filter: blur(10px);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.work-card--portfolio:hover,
.work-feature:hover {
  border-color: #dfb18f;
  box-shadow: 0 22px 50px rgba(91, 52, 30, .13);
}

.work-card:hover {
  transform: translateY(-4px);
}

.work-card__image {
  display: block;
  position: relative;
  height: clamp(220px, 18vw, 255px);
  overflow: hidden;
  background: #f6efe8;
  border-bottom: 1px solid var(--line);
}

.work-card__image::after {
  display: none;
}

.work-card__image img,
.catalog-card__image img,
.project-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.work-card__image img,
.catalog-card__image img,
.project-gallery__item img {
  transition: transform .35s ease;
}

.work-card:hover .work-card__image img,
.catalog-card:hover .catalog-card__image img,
.project-gallery__item:hover img {
  transform: scale(1.035);
}

.work-card__body {
  display: grid;
  gap: 9px;
  flex: 1;
  min-height: 112px;
  padding: 20px 20px 22px;
}

.work-card__category,
.catalog-card__category {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.work-card__title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.projects-page {
  position: relative;
  padding-top: 72px;
  background:
    radial-gradient(ellipse at 12% 12%, rgba(255, 239, 226, .74), transparent 34%),
    radial-gradient(ellipse at 86% 28%, rgba(226, 230, 222, .32), transparent 30%);
}

.projects-page__head {
  max-width: 920px;
  margin-bottom: 30px;
}

.projects-page__head h1,
.project-detail__head h1 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4vw, 52px);
}

.projects-page__head p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  padding: 8px;
  width: fit-content;
  max-width: 100%;
  background: rgba(255, 253, 251, .78);
  border: 1px solid rgba(234, 216, 202, .72);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(91, 52, 30, .055);
}

.project-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  color: var(--accent-dark);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.project-filter:hover,
.project-filter.is-active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.projects-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: rgba(255, 253, 251, .86);
  border: 1px solid rgba(234, 216, 202, .76);
  border-radius: var(--radius);
  box-shadow: 0 18px 38px rgba(91, 52, 30, .055);
  backdrop-filter: blur(10px);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.catalog-card:hover {
  transform: translateY(-4px);
  border-color: #dfb18f;
  box-shadow: var(--shadow);
}

.catalog-card__image {
  display: block;
  aspect-ratio: 1.55 / 1;
  overflow: hidden;
  background: #f6efe8;
  border-bottom: 1px solid var(--line);
}

.catalog-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  min-height: 206px;
  padding: 18px 20px 20px;
}

.catalog-card__body h2 {
  display: -webkit-box;
  overflow: hidden;
  margin: 7px 0 12px;
  font-size: 19px;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.catalog-card__body p {
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 700;
}

.catalog-card__body .btn {
  margin-top: auto;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.breadcrumbs a {
  color: var(--accent);
}

.project-detail {
  position: relative;
  padding-top: 64px;
  background:
    radial-gradient(ellipse at 14% 9%, rgba(255, 239, 226, .7), transparent 30%),
    linear-gradient(180deg, rgba(255, 248, 241, .48), rgba(255, 253, 251, 0) 42%);
}

.project-detail__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.project-detail__head h1 {
  max-width: 920px;
  margin-bottom: 0;
}

.project-detail__viewer {
  display: grid;
  gap: 18px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 253, 251, .92), rgba(255, 247, 240, .8));
  border: 1px solid rgba(234, 216, 202, .76);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.project-detail__stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2.05 / 1;
  background: #f6efe8;
  border-radius: calc(var(--radius-lg) - 8px);
}

.project-detail__stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-detail__stage-bar {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  pointer-events: none;
}

.project-detail__stage-bar span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  color: #fff;
  background: rgba(43, 33, 27, .72);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.project-detail__stage-actions {
  display: inline-flex;
  gap: 8px;
  pointer-events: auto;
}

.project-slider__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--accent);
  background: rgba(255, 253, 251, .94);
  border: 1px solid rgba(234, 216, 202, .78);
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(43, 33, 27, .14);
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.project-slider__nav:hover {
  color: #fff;
  background: var(--accent);
  transform: translateY(-1px);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.project-gallery__item {
  display: block;
  aspect-ratio: 1.35 / 1;
  overflow: hidden;
  padding: 0;
  background: #f6efe8;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  opacity: .76;
  transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}

.project-gallery__item:hover,
.project-gallery__item.is-active {
  opacity: 1;
  border-color: var(--accent);
  transform: translateY(-2px);
}

.project-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-detail__back {
  margin-top: 28px;
}

.center-head {
  text-align: center;
  margin-bottom: 34px;
}

.process {
  position: relative;
  padding-top: 82px;
  padding-bottom: 64px;
}

.process::before {
  content: "";
  position: absolute;
  inset: -120px 0 -80px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 22% 40%, rgba(255, 243, 235, .48), transparent 34%),
    linear-gradient(180deg, transparent, rgba(255, 253, 251, .56), transparent);
}

.process-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 34px;
  position: relative;
}

.mobile-header-phone,
.contact-inline-form {
  display: none;
}

.process-step:nth-child(6) {
  display: none;
}

.process-row::before {
  content: "";
  position: absolute;
  top: 44px;
  right: 7%;
  left: 7%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 91, 37, .34), rgba(234, 216, 202, .56), transparent);
}

.process-step {
  position: relative;
  z-index: 1;
  padding: 0 10px;
  text-align: center;
}

.process-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 34px;
  right: -25px;
  color: #dfa67f;
  font-size: 24px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-bottom: 8px;
  color: #fff;
  background: #e7b26f;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border: 1px solid rgba(239, 200, 174, .88);
  border-radius: 50%;
  position: relative;
  background: rgba(255, 248, 241, .86);
}

.step-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  object-position: center;
}

.process-step h3 {
  margin-bottom: 6px;
  font-size: 15px;
}

.process-step p {
  max-width: 170px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
}

.reviews {
  position: relative;
  overflow: hidden;
  background: transparent;
  border-top: 0;
  border-bottom: 0;
  padding-top: 92px;
  padding-bottom: 96px;
}

.reviews::before {
  content: "";
  position: absolute;
  inset: -120px 0 -130px;
  z-index: -1;
  background:
    radial-gradient(ellipse at 18% 26%, rgba(255, 243, 235, .72), transparent 36%),
    radial-gradient(ellipse at 82% 68%, rgba(255, 248, 241, .76), transparent 34%),
    linear-gradient(180deg, rgba(255, 253, 251, 0), rgba(255, 248, 241, .68) 52%, rgba(255, 253, 251, 0));
}

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

.review-carousel {
  overflow: hidden;
  margin: 0 calc(var(--page-x) * -1);
  padding: 10px var(--page-x) 18px;
}

.review-track {
  display: flex;
  gap: 26px;
  transition: transform .45s ease;
  will-change: transform;
}

.review-card {
  display: flex;
  flex: 0 0 min(720px, calc(100vw - var(--page-x) * 2));
  flex-direction: column;
  min-height: 260px;
  padding: 38px 42px 34px;
  background:
    radial-gradient(ellipse at 92% 12%, rgba(255, 243, 235, .82), transparent 34%),
    linear-gradient(135deg, rgba(255, 253, 251, .94), rgba(255, 248, 241, .78));
  transform: scale(.94);
  opacity: .58;
  transition: transform .35s ease, opacity .35s ease, box-shadow .2s ease, border-color .2s ease;
}

.review-card.is-active {
  transform: scale(1);
  opacity: 1;
  border-color: rgba(217, 91, 37, .22);
  box-shadow: 0 26px 62px rgba(91, 52, 30, .1);
}

.quote {
  display: block;
  height: 28px;
  color: #e1a569;
  font-family: var(--display-font);
  font-size: 66px;
  line-height: .58;
  font-weight: 700;
}

.review-card p {
  max-width: 600px;
  min-height: 82px;
  margin: 18px 0 30px;
  color: #4e443f;
  font-size: 19px;
  line-height: 1.64;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: linear-gradient(145deg, #2b211b, #d95b25);
  border-radius: 50%;
  font-weight: 800;
}

.review-author strong {
  font-size: 15px;
}

.review-controls {
  display: flex;
  gap: 10px;
}

.review-nav {
  position: relative;
  width: 46px;
  height: 46px;
  background: rgba(255, 253, 251, .86);
  border: 1px solid #efc8ae;
  border-radius: 50%;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.review-nav:hover {
  background: #fff;
  border-color: var(--accent);
  transform: translateY(-2px);
}

.review-nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}

.review-nav--prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.review-nav--next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  background: #e5d4c7;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}

.slider-dots .active {
  width: 28px;
  background: var(--accent);
  border-radius: 999px;
}

/* Yandex reviews */
.yandex-reviews {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(400px, 560px) minmax(220px, .8fr);
  grid-template-areas: "intro widget cta";
  align-items: start;
  gap: clamp(30px, 3.2vw, 52px);
}

.yandex-reviews__intro,
.yandex-reviews__cta {
  position: relative;
  min-width: 0;
  padding-top: 72px;
}

.yandex-reviews__intro {
  grid-area: intro;
  padding-left: 28px;
}

.yandex-reviews__cta {
  grid-area: cta;
  padding-right: 28px;
}

.yandex-reviews__intro::before,
.yandex-reviews__cta::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--accent), rgba(217, 91, 37, .15));
}

.yandex-reviews__intro::before {
  left: 0;
}

.yandex-reviews__cta::after {
  right: 0;
}

.yandex-reviews__intro h2,
.yandex-reviews__cta h3 {
  margin-bottom: 22px;
  font-family: var(--display-font);
  font-weight: 700;
  letter-spacing: -.025em;
}

.yandex-reviews__intro h2 {
  font-size: clamp(37px, 3.7vw, 56px);
  line-height: 1.05;
}

.yandex-reviews__cta h3 {
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1.08;
}

.yandex-reviews__intro > p:last-of-type,
.yandex-reviews__cta > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.78;
}

.yandex-reviews__dash {
  display: block;
  width: 42px;
  height: 3px;
  margin: 0 0 24px;
  background: var(--accent);
}

.yandex-reviews__since {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 42px;
}

.yandex-reviews__since > span {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-right: 1px solid var(--line);
  padding-right: 13px;
}

.yandex-reviews__since img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.yandex-reviews__since p {
  margin: 0;
}

.yandex-reviews__since strong,
.yandex-reviews__since small {
  display: block;
}

.yandex-reviews__since strong {
  font-size: 14px;
}

.yandex-reviews__since small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.yandex-reviews__widget {
  position: relative;
  grid-area: widget;
  width: 100%;
  height: 720px;
  overflow: hidden;
  border: 1px solid rgba(234, 216, 202, .88);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 24px 58px rgba(91, 52, 30, .11);
}

.yandex-reviews__widget iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  box-sizing: border-box;
}

.yandex-reviews__widget > a {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  display: block;
  max-height: 14px;
  overflow: hidden;
  padding: 0 16px;
  color: #9f9894;
  font-family: "YS Text", "Manrope", sans-serif;
  font-size: 10px;
  line-height: 14px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yandex-reviews__quote {
  display: block;
  height: 82px;
  margin-bottom: 28px;
  color: var(--accent);
  font-family: var(--display-font);
  font-size: 118px;
  font-weight: 700;
  line-height: .85;
}

.yandex-reviews__cta .btn {
  width: 100%;
  margin-top: 42px;
  gap: 22px;
  padding-inline: 20px;
}

.yandex-reviews__cta .btn span {
  font-size: 20px;
  line-height: 1;
  transition: transform .2s ease;
}

.yandex-reviews__cta .btn:hover span {
  transform: translateX(4px);
}

@media (max-width: 1120px) {
  .yandex-reviews {
    grid-template-columns: minmax(260px, 1fr) minmax(400px, 560px);
    grid-template-areas:
      "intro widget"
      "cta widget";
    gap: 34px 42px;
  }

  .yandex-reviews__intro,
  .yandex-reviews__cta {
    padding-top: 28px;
  }

  .yandex-reviews__cta {
    padding-right: 0;
  }

  .yandex-reviews__cta::after {
    display: none;
  }

  .yandex-reviews__intro h2 {
    font-size: clamp(36px, 4.4vw, 48px);
  }

  .yandex-reviews__cta h3 {
    font-size: clamp(30px, 3.8vw, 39px);
  }

  .yandex-reviews__quote {
    height: 52px;
    margin-bottom: 15px;
    font-size: 82px;
  }

  .yandex-reviews__cta .btn {
    margin-top: 26px;
  }
}

@media (max-width: 800px) {
  .reviews {
    padding-top: 66px;
    padding-bottom: 72px;
  }

  .yandex-reviews {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "intro"
      "widget"
      "cta";
    gap: 38px;
  }

  .yandex-reviews__intro,
  .yandex-reviews__cta {
    max-width: 560px;
    padding-top: 22px;
  }

  .yandex-reviews__intro h2 {
    font-size: clamp(34px, 9.2vw, 48px);
  }

  .yandex-reviews__widget {
    width: min(560px, 100%);
    height: 640px;
  }

  .yandex-reviews__cta {
    padding-left: 28px;
  }

  .yandex-reviews__cta::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px;
    background: linear-gradient(180deg, var(--accent), rgba(217, 91, 37, .15));
  }
}

@media (max-width: 400px) {
  .yandex-reviews__widget {
    width: calc(100% + 20px);
    min-width: 300px;
    margin-left: -10px;
  }
}

.contacts {
  padding: 44px 0 0;
  background: linear-gradient(180deg, rgba(255, 248, 241, 0), rgba(255, 248, 241, .7));
}

.contacts-panel {
  display: grid;
  grid-template-columns: 390px 1fr;
  min-height: 290px;
  overflow: hidden;
  border: 1px solid rgba(234, 216, 202, .72);
  border-bottom: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: rgba(255, 253, 251, .72);
  box-shadow: 0 -18px 48px rgba(91, 52, 30, .055);
  backdrop-filter: blur(12px);
}

.contact-card {
  z-index: 1;
  padding: 30px 36px;
  background: rgba(255, 250, 246, .82);
  box-shadow: 18px 0 35px rgba(61, 44, 32, .065);
}

.contact-card h2 {
  margin-bottom: 8px;
  font-size: 26px;
}

.contact-card p {
  margin-bottom: 18px;
  color: #5b504b;
}

.contact-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.contact-card li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 40px;
}

.contact-card li > a,
.contact-card li > span:not(.contact-icon) {
  color: #3d2c20;
  font-weight: 700;
}

.contact-card li > a:hover {
  color: var(--accent);
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(247, 111, 31, .14);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .78), rgba(255, 237, 222, .62));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .86), 0 8px 18px rgba(161, 83, 40, .08);
}

.contact-icon img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.contact-icon--location img {
  width: 20px;
  height: 26px;
}

.contact-icon--phone img {
  width: 24px;
  height: 24px;
  transform: translateY(1px);
}

.contact-icon--mail img {
  width: 27px;
  height: 21px;
}

.contact-icon--hours img {
  width: 25px;
  height: 25px;
}

.map-placeholder {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  background: #f6efe8;
}

.map-placeholder iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 290px;
  border: 0;
}

.site-footer {
  padding: 32px 0 34px;
  color: rgba(255, 255, 255, .75);
  background:
    linear-gradient(rgba(43, 33, 27, .94), rgba(43, 33, 27, .97)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 18px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr .95fr 1.15fr .55fr;
  gap: 48px;
}

.footer-brand p {
  max-width: 270px;
  margin-bottom: 14px;
  font-size: 13px;
}

.footer-brand small {
  color: rgba(255, 255, 255, .45);
  font-size: 12px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-col h3 {
  margin-bottom: 4px;
  color: #fff;
  font-size: 16px;
}

.footer-col a,
.footer-col span {
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--accent);
  background: #fff;
  border-radius: 8px;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: 175px 1fr auto;
    gap: 18px;
  }

  .main-nav {
    gap: 16px;
    font-size: 13px;
  }

  .phone-link {
    display: none;
  }

  .hero-grid {
    grid-template-columns: .9fr 1fr;
    gap: 26px;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .works-showcase {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "link"
      "main"
      "masonry";
    gap: 24px;
  }

  .works-all-link {
    justify-self: start;
  }

  .works-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  :root {
    --page-x: 18px;
  }

  .header-inner {
    grid-template-columns: 170px auto;
    justify-content: space-between;
    min-height: 74px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .site-header.is-open .main-nav {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 0;
    width: 100%;
    padding: 12px 0 8px;
    border-top: 1px solid var(--line);
  }

  .site-header.is-open .main-nav a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(234, 216, 202, .55);
  }

  .site-header.is-open .header-actions {
    display: flex;
    grid-column: 1 / -1;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 18px;
  }

  .site-header.is-open .phone-contact,
  .site-header.is-open .phone-link {
    display: flex;
    width: 100%;
  }

  .site-header.is-open .phone-contact {
    flex-direction: column;
  }

  .site-header.is-open .phone-link {
    min-height: 54px;
    padding: 7px 0;
  }

  .site-header.is-open .phone-link__caret {
    margin-left: auto;
    margin-right: 6px;
  }

  .site-header.is-open .contact-methods {
    position: static;
    width: 100%;
    margin-top: 4px;
    box-shadow: 0 12px 30px rgba(91, 52, 30, .1);
  }

  .site-header.is-open .contact-methods::before {
    display: none;
  }

  .site-header.is-open .header-actions .btn {
    width: 100%;
  }

  .hero {
    padding-top: 52px;
    padding-bottom: 280px;
    background:
      linear-gradient(180deg, rgba(255, 253, 251, .98) 0%, rgba(255, 250, 246, .93) 45%, rgba(255, 248, 241, .22) 73%, rgba(255, 248, 241, 0) 100%),
      radial-gradient(ellipse at 70% 76%, rgba(255, 221, 183, .32), transparent 36%),
      url("/images/hero-key-house.webp") right -120px bottom 8px / 760px auto no-repeat,
      linear-gradient(180deg, #fffdfb 0%, #fff8f1 100%);
  }

  .hero-grid,
  .about-grid,
  .contacts-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
  }

  .before-after {
    height: clamp(330px, 52vw, 410px);
  }

  .benefits-grid,
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-card {
    flex-basis: min(660px, calc(100vw - var(--page-x) * 2));
  }

  .benefit-item:nth-child(odd) {
    border-left: 0;
  }

  .benefit-item:nth-child(n + 3) {
    padding-top: 18px;
    border-top: 1px solid rgba(234, 216, 202, .5);
  }

  .about-content {
    order: 2;
  }

  .about-image {
    order: 1;
  }

  .works-copy h2 {
    font-size: clamp(32px, 5.5vw, 48px);
  }

  .work-feature__body {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "text"
      "link";
    align-items: start;
    gap: 12px;
    min-height: auto;
  }

  .work-feature__body .text-link {
    justify-self: start;
  }

  .before-after.before-after--works {
    height: clamp(320px, 56vw, 420px);
  }

  .work-card__image {
    height: 250px;
  }

  .projects-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-gallery {
    grid-template-columns: repeat(4, 1fr);
  }

  .project-detail__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .process-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-row::before {
    display: none;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .process-step:nth-child(6) {
    display: grid;
  }

  .contact-card {
    box-shadow: none;
  }
}

@media (max-width: 640px) {
  .feedback-modal {
    align-items: end;
    padding: 12px;
  }

  .feedback-modal__dialog {
    padding: 28px 22px 24px;
    border-radius: var(--radius-lg);
  }

  .feedback-modal__close {
    top: 12px;
    right: 12px;
  }

  body {
    font-size: 14px;
  }

  .brand {
    width: 150px;
  }

  .hero {
    padding-top: 38px;
    padding-bottom: 245px;
    background:
      linear-gradient(180deg, rgba(255, 253, 251, .98) 0%, rgba(255, 250, 246, .95) 52%, rgba(255, 248, 241, .26) 78%, rgba(255, 248, 241, 0) 100%),
      radial-gradient(ellipse at 70% 86%, rgba(255, 221, 183, .3), transparent 36%),
      url("/images/hero-key-house.webp") center bottom 2px / 620px auto no-repeat,
      linear-gradient(180deg, #fffdfb 0%, #fff8f1 100%);
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

  .before-after {
    height: clamp(300px, 82vw, 380px);
    border-radius: 14px;
  }

  .before-after__badge {
    top: 12px;
    padding: 7px 12px;
    font-size: 12px;
  }

  .before-after__badge--before {
    left: 12px;
  }

  .before-after__badge--after {
    right: 12px;
  }

  .before-after__handle span {
    width: 48px;
    height: 48px;
  }

  .before-after__hint {
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 8px 10px;
    border-radius: 16px;
    font-size: 11px;
    line-height: 1.25;
  }

  .hero-buttons,
  .section-head,
  .project-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-buttons .btn,
  .project-bottom .btn {
    width: 100%;
  }

  .benefits-grid,
  .project-grid,
  .metrics,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .reviews-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-controls {
    align-self: stretch;
    justify-content: flex-end;
  }

  .review-card {
    min-height: 300px;
    padding: 30px 24px 28px;
  }

  .review-card p {
    font-size: 16px;
  }

  .benefits-grid {
    border-radius: 15px;
  }

  .benefit-item {
    padding: 18px 20px;
    border-top: 1px solid rgba(234, 216, 202, .48);
    border-left: 0;
  }

  .benefit-item:first-child {
    border-top: 0;
  }

  .about-grid {
    gap: 28px;
  }

  .works {
    padding: 48px 0 54px;
  }

  .works-copy h2 {
    font-size: 32px;
  }

  .works-copy p:not(.eyebrow) {
    font-size: 14px;
  }

  .works-all-link {
    width: 100%;
    justify-self: stretch;
  }

  .works-masonry {
    grid-template-columns: 1fr;
  }

  .before-after.before-after--works {
    height: clamp(300px, 82vw, 380px);
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .work-feature__body {
    padding: 18px;
  }

  .work-feature__body h3 {
    font-size: 20px;
  }

  .work-card__image {
    height: clamp(210px, 60vw, 270px);
  }

  .projects-catalog-grid {
    grid-template-columns: 1fr;
  }

  .project-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .project-detail__viewer {
    padding: 10px;
    border-radius: var(--radius);
  }

  .project-detail__stage {
    aspect-ratio: 1.2 / 1;
    border-radius: calc(var(--radius) - 4px);
  }

  .project-detail__stage-bar {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .project-slider__nav {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .projects-page,
  .project-detail {
    padding-top: 42px;
  }

  .process-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .process {
    padding-top: 64px;
    padding-bottom: 46px;
  }

  .process-step {
    padding: 0 12px 22px;
    border-bottom: 1px solid var(--line);
  }

  .contacts-panel {
    border-radius: var(--radius-lg);
  }

  .contact-card {
    padding: 26px 22px;
  }

  .map-placeholder {
    min-height: 240px;
  }

  .map-placeholder iframe {
    min-height: 240px;
  }
}

/* Gazebo catalog */
.gazebo-hero {
  padding: 74px 0 58px;
  background:
    radial-gradient(ellipse at 16% 16%, rgba(255, 230, 211, .72), transparent 34%),
    radial-gradient(ellipse at 84% 34%, rgba(226, 230, 222, .58), transparent 31%);
}

.gazebo-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr);
  align-items: center;
  gap: 64px;
}

.gazebo-hero__content h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(48px, 6vw, 78px);
  line-height: .98;
}

.gazebo-hero__lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 18px;
}

.gazebo-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gazebo-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 40px 0 0;
}

.gazebo-hero__facts div {
  padding-left: 16px;
  border-left: 2px solid var(--accent);
}

.gazebo-hero__facts dt {
  font-family: var(--display-font);
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}

.gazebo-hero__facts dd {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.gazebo-hero__visual {
  position: relative;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(234, 216, 202, .76);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 251, .8);
  box-shadow: 0 28px 70px rgba(91, 52, 30, .12);
  transform: rotate(1deg);
}

.gazebo-hero__visual img {
  width: 100%;
  aspect-ratio: 1.8 / 1;
  border-radius: calc(var(--radius-lg) - 4px);
  object-fit: cover;
}

.gazebo-hero__visual figcaption {
  position: absolute;
  right: 28px;
  bottom: 28px;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 253, 251, .9);
  box-shadow: 0 8px 22px rgba(48, 39, 33, .12);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.gazebo-catalog {
  padding-top: 68px;
}

.gazebo-catalog__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  align-items: end;
  gap: 48px;
  margin-bottom: 36px;
}

.gazebo-catalog__head h2 {
  margin-bottom: 0;
}

.gazebo-catalog__head > p {
  margin: 0;
  color: var(--muted);
}

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

.gazebo-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(234, 216, 202, .74);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 251, .84);
  box-shadow: 0 12px 34px rgba(91, 52, 30, .055);
  backdrop-filter: blur(12px);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.gazebo-card:hover {
  transform: translateY(-4px);
  border-color: #dfb18f;
  box-shadow: var(--shadow);
}

.gazebo-card__gallery {
  display: grid;
  min-height: 280px;
  overflow: hidden;
  border-bottom: 1px solid rgba(234, 216, 202, .68);
  background: #f6efe8;
}

.gazebo-card__gallery--multiple {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
}

.gazebo-card__gallery img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform .35s ease;
}

.gazebo-card__gallery:not(.gazebo-card__gallery--multiple) img {
  aspect-ratio: 2 / 1;
}

.gazebo-card:hover .gazebo-card__gallery img {
  transform: scale(1.025);
}

.gazebo-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.gazebo-card__head {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.gazebo-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(217, 91, 37, .22);
  border-radius: 50%;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 800;
}

.gazebo-card__head h3 {
  margin: 0 0 5px;
  font-size: 24px;
}

.gazebo-card__head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.gazebo-card__head p strong {
  color: var(--ink);
}

.gazebo-executions {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.gazebo-execution {
  padding: 16px;
  border: 1px solid rgba(234, 216, 202, .72);
  border-radius: var(--radius);
  background: rgba(255, 248, 241, .62);
}

.gazebo-execution__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 13px;
}

.gazebo-execution__title h4 {
  margin: 0;
  font-size: 14px;
}

.gazebo-execution__title span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.gazebo-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.gazebo-prices div {
  padding-top: 10px;
  border-top: 1px solid rgba(234, 216, 202, .8);
}

.gazebo-prices dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
}

.gazebo-prices dd {
  margin: 0;
  color: var(--accent-dark);
  font-size: 16px;
  font-weight: 800;
}

.gazebo-card__button {
  width: 100%;
  margin-top: auto;
}

.gazebo-cta {
  padding: 0 0 82px;
}

.gazebo-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 38px 42px;
  border: 1px solid rgba(234, 216, 202, .74);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 10%, rgba(226, 230, 222, .72), transparent 30%),
    rgba(255, 248, 241, .78);
}

.gazebo-cta h2 {
  margin-bottom: 8px;
  font-size: clamp(28px, 3vw, 40px);
}

.gazebo-cta p:last-child {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--muted);
}

@media (max-width: 1000px) {
  .gazebo-hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gazebo-hero__visual {
    max-width: 760px;
    transform: none;
  }

  .gazebo-catalog__head {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 720px) {
  .gazebo-hero {
    padding: 46px 0 38px;
  }

  .gazebo-hero__content h1 {
    font-size: 42px;
  }

  .gazebo-hero__lead {
    font-size: 16px;
  }

  .gazebo-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .gazebo-hero__actions .btn {
    width: 100%;
  }

  .gazebo-hero__facts {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-top: 30px;
  }

  .gazebo-hero__facts div {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    align-items: baseline;
    gap: 8px;
  }

  .gazebo-hero__facts dt {
    font-size: 23px;
  }

  .gazebo-hero__facts dd {
    margin-top: 0;
  }

  .gazebo-hero__visual {
    padding: 7px;
  }

  .gazebo-hero__visual img {
    aspect-ratio: 1.35 / 1;
  }

  .gazebo-hero__visual figcaption {
    right: 16px;
    bottom: 16px;
    left: 16px;
    text-align: center;
  }

  .gazebo-catalog {
    padding-top: 48px;
  }

  .gazebo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gazebo-card__gallery,
  .gazebo-card__gallery img {
    min-height: 220px;
  }

  .gazebo-card__gallery--multiple {
    grid-template-columns: 1fr;
  }

  .gazebo-card__gallery--multiple img {
    min-height: 190px;
    aspect-ratio: 1.75 / 1;
  }

  .gazebo-card__body {
    padding: 20px;
  }

  .gazebo-card__head h3 {
    font-size: 21px;
  }

  .gazebo-execution__title {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .gazebo-prices dd {
    font-size: 14px;
  }

  .gazebo-cta {
    padding-bottom: 54px;
  }

  .gazebo-cta__inner {
    align-items: stretch;
    flex-direction: column;
    padding: 28px 22px;
  }

  .gazebo-cta__inner .btn {
    width: 100%;
  }
}

/* Frame house catalog */
.frame-house-hero {
  padding: 72px 0 62px;
  background:
    radial-gradient(ellipse at 14% 20%, rgba(255, 231, 214, .76), transparent 34%),
    radial-gradient(ellipse at 88% 28%, rgba(226, 230, 222, .58), transparent 32%);
}

.frame-house-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(500px, 1.14fr);
  align-items: center;
  gap: 62px;
}

.frame-house-hero__content h1 {
  margin-bottom: 20px;
  font-size: clamp(54px, 6vw, 82px);
  line-height: .96;
}

.frame-house-hero__lead {
  max-width: 680px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 18px;
}

.frame-house-hero__notice {
  max-width: 650px;
  margin-bottom: 28px;
  padding-left: 15px;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-size: 13px;
}

.frame-house-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.frame-house-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 38px 0 0;
}

.frame-house-hero__facts div {
  padding: 14px 16px;
  border: 1px solid rgba(234, 216, 202, .72);
  border-radius: var(--radius);
  background: rgba(255, 253, 251, .58);
}

.frame-house-hero__facts dt {
  font-family: var(--display-font);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.05;
}

.frame-house-hero__facts dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.frame-house-hero__visual {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(234, 216, 202, .8);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 251, .82);
  box-shadow: 0 30px 72px rgba(91, 52, 30, .13);
  transform: rotate(1deg);
}

.frame-house-hero__visual img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  border-radius: calc(var(--radius-lg) - 4px);
  object-fit: cover;
}

.frame-house-hero__visual figcaption {
  position: absolute;
  right: 26px;
  bottom: 26px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 253, 251, .9);
  box-shadow: 0 8px 22px rgba(48, 39, 33, .12);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.frame-house-catalog {
  padding-top: 68px;
}

.frame-house-catalog__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  align-items: end;
  gap: 48px;
  margin-bottom: 36px;
}

.frame-house-catalog__head h2 {
  margin-bottom: 0;
}

.frame-house-catalog__head > p {
  margin: 0;
  color: var(--muted);
}

.frame-house-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 28px;
}

.frame-house-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(234, 216, 202, .74);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 251, .84);
  box-shadow: 0 14px 38px rgba(91, 52, 30, .06);
  backdrop-filter: blur(12px);
}

.frame-house-gallery {
  padding: 10px;
  border-bottom: 1px solid rgba(234, 216, 202, .68);
  background: #f6efe8;
}

.frame-house-gallery__stage {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  background: #ede5de;
}

.frame-house-gallery__stage > img {
  width: 100%;
  aspect-ratio: 1.6 / 1;
  object-fit: cover;
}

.frame-house-gallery__counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(43, 33, 27, .72);
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.frame-house-gallery .project-slider__nav {
  position: absolute;
  z-index: 2;
  top: auto;
  bottom: 12px;
  transform: none;
}

.frame-house-gallery .project-slider__nav--prev {
  left: 12px;
}

.frame-house-gallery .project-slider__nav--next {
  left: 64px;
}

.frame-house-gallery .project-slider__nav:hover {
  transform: scale(1.05);
}

.frame-house-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  margin-top: 7px;
}

.frame-house-gallery__thumb {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  opacity: .72;
  transition: border-color .2s ease, opacity .2s ease;
}

.frame-house-gallery__thumb:hover,
.frame-house-gallery__thumb.is-active {
  border-color: var(--accent);
  opacity: 1;
}

.frame-house-gallery__thumb img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.frame-house-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 25px;
}

.frame-house-card__head {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  margin-bottom: 20px;
}

.frame-house-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(217, 91, 37, .22);
  border-radius: 50%;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 800;
}

.frame-house-card__head h3 {
  margin: 1px 0 0;
  font-size: 21px;
  line-height: 1.25;
}

.frame-house-card__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 14px;
}

.frame-house-card__facts div {
  padding: 13px 14px;
  border: 1px solid rgba(234, 216, 202, .68);
  border-radius: var(--radius);
  background: rgba(255, 248, 241, .54);
}

.frame-house-card__facts dt,
.frame-house-card__price span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
}

.frame-house-card__facts dd {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.frame-house-card__price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--accent-soft);
}

.frame-house-card__price span {
  margin: 0;
}

.frame-house-card__price strong {
  color: var(--accent-dark);
  font-size: 17px;
  text-align: right;
}

.frame-house-card__details {
  margin-bottom: 18px;
  border-top: 1px solid rgba(234, 216, 202, .7);
  border-bottom: 1px solid rgba(234, 216, 202, .7);
}

.frame-house-card__details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 2px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.frame-house-card__details summary::-webkit-details-marker {
  display: none;
}

.frame-house-card__details summary span {
  position: relative;
  width: 18px;
  height: 18px;
}

.frame-house-card__details summary span::before,
.frame-house-card__details summary span::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 3px;
  width: 12px;
  height: 2px;
  background: var(--accent);
}

.frame-house-card__details summary span::after {
  transform: rotate(90deg);
  transition: transform .2s ease;
}

.frame-house-card__details[open] summary span::after {
  transform: rotate(0);
}

.frame-house-card__details p {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 13px;
}

.frame-house-card__details > strong {
  display: block;
  margin-bottom: 14px;
  color: var(--accent-dark);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.frame-house-card__button {
  width: 100%;
  margin-top: auto;
}

.frame-house-cta {
  padding: 0 0 82px;
}

.frame-house-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 38px 42px;
  border: 1px solid rgba(234, 216, 202, .74);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 10%, rgba(226, 230, 222, .72), transparent 30%),
    rgba(255, 248, 241, .78);
}

.frame-house-cta h2 {
  margin-bottom: 8px;
  font-size: clamp(28px, 3vw, 40px);
}

.frame-house-cta p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
}

@media (max-width: 1040px) {
  .frame-house-hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .frame-house-hero__visual {
    max-width: 820px;
    transform: none;
  }

  .frame-house-catalog__head {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 760px) {
  .frame-house-hero {
    padding: 46px 0 38px;
  }

  .frame-house-hero__content h1 {
    font-size: 45px;
  }

  .frame-house-hero__lead {
    font-size: 16px;
  }

  .frame-house-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .frame-house-hero__actions .btn {
    width: 100%;
  }

  .frame-house-hero__facts {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .frame-house-hero__facts div {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: baseline;
    gap: 10px;
  }

  .frame-house-hero__facts dd {
    margin: 0;
  }

  .frame-house-hero__visual {
    padding: 7px;
  }

  .frame-house-hero__visual img {
    aspect-ratio: 1.2 / 1;
  }

  .frame-house-hero__visual figcaption {
    right: 16px;
    bottom: 16px;
    left: 16px;
    text-align: center;
  }

  .frame-house-catalog {
    padding-top: 48px;
  }

  .frame-house-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .frame-house-gallery__stage > img {
    aspect-ratio: 1.25 / 1;
  }

  .frame-house-gallery__thumbs {
    grid-template-columns: repeat(6, minmax(42px, 1fr));
    overflow-x: auto;
  }

  .frame-house-card__body {
    padding: 20px;
  }

  .frame-house-card__head h3 {
    font-size: 19px;
  }

  .frame-house-card__facts {
    grid-template-columns: 1fr;
  }

  .frame-house-card__price {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .frame-house-card__price strong {
    text-align: left;
  }

  .frame-house-cta {
    padding-bottom: 54px;
  }

  .frame-house-cta__inner {
    align-items: stretch;
    flex-direction: column;
    padding: 28px 22px;
  }

  .frame-house-cta__inner .btn {
    width: 100%;
  }
}

/* Services catalog */
.services-hero {
  padding: 72px 0 62px;
  background:
    radial-gradient(ellipse at 14% 18%, rgba(255, 231, 214, .76), transparent 34%),
    radial-gradient(ellipse at 88% 30%, rgba(226, 230, 222, .58), transparent 32%);
}

.services-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(500px, 1.12fr);
  align-items: center;
  gap: 62px;
}

.services-hero__content h1 {
  margin-bottom: 20px;
  font-size: clamp(56px, 7vw, 86px);
  line-height: .96;
}

.services-hero__lead {
  max-width: 680px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  text-transform: lowercase;
}

.services-hero__lead::first-letter {
  text-transform: uppercase;
}

.services-hero__description {
  max-width: 650px;
  margin-bottom: 28px;
  padding-left: 15px;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-size: 13px;
}

.services-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.services-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 38px 0 0;
}

.services-hero__facts div {
  padding: 14px 16px;
  border: 1px solid rgba(234, 216, 202, .72);
  border-radius: var(--radius);
  background: rgba(255, 253, 251, .58);
}

.services-hero__facts dt {
  font-family: var(--display-font);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.05;
}

.services-hero__facts dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.services-hero__visual {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(234, 216, 202, .8);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 251, .82);
  box-shadow: 0 30px 72px rgba(91, 52, 30, .13);
  transform: rotate(1deg);
}

.services-hero__visual img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  border-radius: calc(var(--radius-lg) - 4px);
  object-fit: cover;
}

.services-hero__visual figcaption {
  position: absolute;
  right: 26px;
  bottom: 26px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 253, 251, .9);
  box-shadow: 0 8px 22px rgba(48, 39, 33, .12);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.services-catalog {
  padding-top: 68px;
}

.services-catalog__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  align-items: end;
  gap: 48px;
  margin-bottom: 36px;
}

.services-catalog__head h2 {
  margin-bottom: 0;
}

.services-catalog__head > p {
  margin: 0;
  color: var(--muted);
}

.services-catalog__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 28px;
}

.service-option-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(234, 216, 202, .74);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 251, .84);
  box-shadow: 0 14px 38px rgba(91, 52, 30, .06);
  backdrop-filter: blur(12px);
}

.service-option-card__body {
  padding: 25px;
}

.service-option-card__head {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  margin-bottom: 20px;
}

.service-option-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(217, 91, 37, .22);
  border-radius: 50%;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 800;
}

.service-option-card__head h3 {
  margin: 1px 0 0;
  font-size: 21px;
  line-height: 1.25;
}

.service-option-card__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 14px;
}

.service-option-card__facts div {
  padding: 13px 14px;
  border: 1px solid rgba(234, 216, 202, .68);
  border-radius: var(--radius);
  background: rgba(255, 248, 241, .54);
}

.service-option-card__facts dt,
.service-option-card__price span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
}

.service-option-card__facts dd {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.service-option-card__price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--accent-soft);
}

.service-option-card__price span {
  margin: 0;
}

.service-option-card__price strong {
  color: var(--accent-dark);
  font-size: 17px;
  text-align: right;
}

.service-option-card__details {
  margin-bottom: 18px;
  border-top: 1px solid rgba(234, 216, 202, .7);
  border-bottom: 1px solid rgba(234, 216, 202, .7);
}

.service-option-card__details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 2px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.service-option-card__details summary::-webkit-details-marker {
  display: none;
}

.service-option-card__details summary span {
  position: relative;
  width: 18px;
  height: 18px;
}

.service-option-card__details summary span::before,
.service-option-card__details summary span::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 3px;
  width: 12px;
  height: 2px;
  background: var(--accent);
}

.service-option-card__details summary span::after {
  transform: rotate(90deg);
  transition: transform .2s ease;
}

.service-option-card__details[open] summary span::after {
  transform: rotate(0);
}

.service-option-card__details p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.service-option-card__button {
  width: 100%;
}

.services-cta {
  padding: 0 0 82px;
}

.services-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 38px 42px;
  border: 1px solid rgba(234, 216, 202, .74);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 10%, rgba(226, 230, 222, .72), transparent 30%),
    rgba(255, 248, 241, .78);
}

.services-cta h2 {
  margin-bottom: 8px;
  font-size: clamp(28px, 3vw, 40px);
}

.services-cta p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
}

@media (max-width: 1040px) {
  .services-hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-hero__visual {
    max-width: 820px;
    transform: none;
  }

  .services-catalog__head {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 760px) {
  .services-hero {
    padding: 46px 0 38px;
  }

  .services-hero__content h1 {
    font-size: 46px;
  }

  .services-hero__lead {
    font-size: 16px;
  }

  .services-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .services-hero__actions .btn {
    width: 100%;
  }

  .services-hero__facts {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .services-hero__facts div {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: baseline;
    gap: 10px;
  }

  .services-hero__facts dd {
    margin: 0;
  }

  .services-hero__visual {
    padding: 7px;
  }

  .services-hero__visual img {
    aspect-ratio: 1.2 / 1;
  }

  .services-hero__visual figcaption {
    right: 16px;
    bottom: 16px;
    left: 16px;
    text-align: center;
  }

  .services-catalog {
    padding-top: 48px;
  }

  .services-catalog__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-option-card__body {
    padding: 20px;
  }

  .service-option-card__head h3 {
    font-size: 19px;
  }

  .service-option-card__facts {
    grid-template-columns: 1fr;
  }

  .service-option-card__price {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .service-option-card__price strong {
    text-align: left;
  }

  .services-cta {
    padding-bottom: 54px;
  }

  .services-cta__inner {
    align-items: stretch;
    flex-direction: column;
    padding: 28px 22px;
  }

  .services-cta__inner .btn {
    width: 100%;
  }
}

/* Cohesive mobile experience */
@media (max-width: 900px) {
  :root {
    --page-x: clamp(16px, 4vw, 22px);
  }

  html {
    scroll-padding-top: 78px;
  }

  .site-header {
    padding-top: env(safe-area-inset-top);
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) 48px;
    min-height: 68px;
    gap: 12px;
  }

  .brand {
    width: fit-content;
    max-width: 170px;
  }

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

  .menu-toggle {
    display: block;
    width: 48px;
    height: 48px;
    justify-self: end;
    cursor: pointer;
  }

  .site-header.is-open {
    position: fixed;
    inset: 0 0 auto;
    width: 100%;
    max-height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(255, 250, 246, .985);
    box-shadow: 0 24px 70px rgba(43, 33, 27, .18);
  }

  .site-header.is-open .header-inner {
    align-content: start;
    max-height: calc(100dvh - env(safe-area-inset-top));
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }

  .site-header.is-open .main-nav {
    padding: 14px 0 8px;
  }

  .site-header.is-open .main-nav a {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 10px 2px;
    font-size: 15px;
  }

  .site-header.is-open .header-actions {
    gap: 12px;
    padding: 6px 0 0;
  }

  .site-header.is-open .phone-link {
    min-height: 58px;
  }

  .site-header.is-open .contact-methods a {
    min-height: 56px;
  }

  .btn,
  .project-filter,
  summary,
  button {
    touch-action: manipulation;
  }

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

  .btn {
    min-height: 48px;
  }

  h1,
  h2,
  h3 {
    text-wrap: balance;
    overflow-wrap: break-word;
  }
}

@media (max-width: 760px) {
  :root {
    --mobile-section: 56px;
  }

  body {
    font-size: 15px;
    line-height: 1.58;
  }

  main::before {
    opacity: .34;
  }

  main::after {
    opacity: .56;
  }

  .section {
    padding-top: var(--mobile-section);
    padding-bottom: var(--mobile-section);
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 10px;
    line-height: 1.45;
    letter-spacing: .14em;
  }

  h1 {
    margin-bottom: 18px;
    font-size: clamp(36px, 10vw, 48px);
    line-height: 1;
  }

  h2 {
    font-size: clamp(29px, 8vw, 38px);
    line-height: 1.06;
  }

  h3 {
    line-height: 1.3;
  }

  .hero {
    min-height: auto;
    padding: 38px 0 248px;
  }

  .hero-grid {
    display: block;
  }

  .hero-content {
    max-width: 590px;
  }

  .hero-text {
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.62;
  }

  .hero-buttons {
    gap: 10px;
  }

  .hero-buttons .btn,
  .gazebo-hero__actions .btn,
  .mini-timber-hero__actions .btn,
  .frame-house-hero__actions .btn,
  .services-hero__actions .btn {
    width: 100%;
    padding-inline: 18px;
  }

  .benefits {
    padding-bottom: var(--mobile-section);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: var(--radius-lg);
  }

  .benefit-item,
  .benefit-item:nth-child(n + 3) {
    min-height: 126px;
    padding: 17px 12px;
    border-top: 0;
    border-left: 1px solid rgba(234, 216, 202, .5);
  }

  .benefit-item:nth-child(odd) {
    border-left: 0;
  }

  .benefit-item:nth-child(n + 3) {
    border-top: 1px solid rgba(234, 216, 202, .5);
  }

  .benefit-item strong {
    font-size: 15px;
  }

  .benefit-item small {
    line-height: 1.35;
  }

  .section-head,
  .mini-timber-catalog__head,
  .gazebo-catalog__head,
  .frame-house-catalog__head,
  .services-catalog__head {
    gap: 12px;
    margin-bottom: 26px;
  }

  .project-grid,
  .projects-catalog-grid,
  .mini-timber-grid,
  .gazebo-grid,
  .frame-house-grid,
  .services-catalog__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .project-card,
  .catalog-card,
  .mini-timber-card,
  .gazebo-card,
  .frame-house-card,
  .service-option-card,
  .work-card,
  .work-feature {
    border-radius: var(--radius-lg);
    backdrop-filter: none;
  }

  .project-image,
  .catalog-card__image {
    aspect-ratio: 1.48 / 1;
  }

  .project-body,
  .catalog-card__body {
    min-height: 0;
    padding: 20px;
  }

  .project-body h3,
  .catalog-card__body h2 {
    font-size: 20px;
  }

  .project-body p {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
  }

  .project-bottom {
    gap: 14px;
  }

  .project-bottom .btn,
  .catalog-card__body .btn {
    width: 100%;
    margin-top: 0;
  }

  .about-grid {
    gap: 26px;
  }

  .about-image {
    min-height: clamp(250px, 76vw, 390px);
    margin-right: 0;
    border-radius: var(--radius-lg);
    background:
      linear-gradient(180deg, rgba(255, 253, 251, .08), rgba(255, 250, 246, .18)),
      url("/images/about/company-house-composition.webp") center / cover no-repeat;
    -webkit-mask-image: none;
    mask-image: none;
  }

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

  .metrics div {
    grid-template-columns: 46px minmax(0, 1fr);
    min-height: 82px;
    padding: 12px;
  }

  .metrics .mini-icon {
    width: 44px;
    height: 44px;
  }

  .works {
    padding: var(--mobile-section) 0;
  }

  .works-showcase {
    gap: 20px;
  }

  .works-masonry {
    gap: 16px;
  }

  .work-feature__body,
  .work-card__body {
    padding: 18px;
  }

  .before-after,
  .before-after.before-after--works {
    height: clamp(285px, 82vw, 390px);
    touch-action: pan-y;
  }

  .before-after__hint {
    width: calc(100% - 32px);
  }

  .process {
    padding: var(--mobile-section) 0 34px;
  }

  .center-head {
    margin-bottom: 30px;
    text-align: left;
  }

  .process-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .process-step {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    grid-template-areas:
      "icon title"
      "icon text";
    align-items: start;
    gap: 4px 14px;
    min-height: 94px;
    padding: 0 0 24px;
    border-bottom: 0;
    text-align: left;
  }

  .process-step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 58px;
    bottom: 4px;
    left: 28px;
    width: 1px;
    background: linear-gradient(var(--accent), rgba(217, 91, 37, .14));
  }

  .step-number {
    position: absolute;
    top: -7px;
    left: 42px;
    z-index: 2;
    width: 21px;
    height: 21px;
    margin: 0;
  }

  .step-icon {
    grid-area: icon;
    width: 56px;
    height: 56px;
    margin: 0;
  }

  .process-step h3 {
    grid-area: title;
    margin: 4px 0 2px;
    font-size: 16px;
  }

  .process-step p {
    grid-area: text;
    max-width: none;
    margin: 0;
    font-size: 13px;
  }

  .projects-page,
  .project-detail {
    padding-top: 38px;
  }

  .projects-page__head {
    margin-bottom: 24px;
  }

  .projects-page__head p {
    font-size: 15px;
  }

  .project-filters {
    display: flex;
    width: calc(100% + var(--page-x));
    max-width: none;
    margin: 0 calc(var(--page-x) * -1) 26px 0;
    padding: 4px var(--page-x) 10px 0;
    overflow-x: auto;
    flex-wrap: nowrap;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .project-filters::-webkit-scrollbar,
  .project-gallery::-webkit-scrollbar,
  .frame-house-gallery__thumbs::-webkit-scrollbar {
    display: none;
  }

  .project-filter {
    flex: 0 0 auto;
    min-height: 44px;
    padding-inline: 18px;
    border-color: rgba(220, 167, 134, .72);
    background: rgba(255, 253, 251, .9);
    scroll-snap-align: start;
  }

  .breadcrumbs {
    margin-bottom: 20px;
    font-size: 12px;
  }

  .breadcrumbs > * {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .project-detail__head {
    gap: 18px;
    margin-bottom: 22px;
  }

  .project-detail__head .btn {
    display: none;
  }

  .project-detail__viewer {
    gap: 10px;
    padding: 8px;
  }

  .project-detail__stage {
    aspect-ratio: 1.14 / 1;
    touch-action: pan-y;
  }

  .project-detail__stage-bar {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .project-gallery {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 88px;
    grid-template-columns: none;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 1px 6px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .project-gallery__item {
    width: 88px;
    border-radius: 8px;
    scroll-snap-align: center;
  }

  .project-detail__back {
    width: 100%;
    margin-top: 18px;
  }

  .frame-house-gallery {
    padding: 8px;
  }

  .frame-house-gallery__stage > img {
    aspect-ratio: 1.24 / 1;
  }

  .frame-house-gallery__stage {
    touch-action: pan-y;
  }

  .frame-house-gallery__thumbs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 68px;
    grid-template-columns: none;
    gap: 7px;
    overflow-x: auto;
    padding: 1px 0 5px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .frame-house-gallery__thumb {
    width: 68px;
    scroll-snap-align: center;
  }

  .frame-house-card__body,
  .mini-timber-card__body,
  .gazebo-card__body,
  .service-option-card__body {
    padding: 20px;
  }

  .frame-house-card__head,
  .mini-timber-card__head,
  .gazebo-card__head,
  .service-option-card__head {
    margin-bottom: 16px;
  }

  .frame-house-card__details summary,
  .mini-timber-card__details summary,
  .service-option-card__details summary {
    min-height: 48px;
    gap: 14px;
    line-height: 1.35;
  }

  .gazebo-hero,
  .mini-timber-hero,
  .frame-house-hero,
  .services-hero {
    padding: 38px 0 42px;
  }

  .gazebo-hero__grid,
  .mini-timber-hero__grid,
  .frame-house-hero__grid,
  .services-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .gazebo-hero__content h1,
  .mini-timber-hero__content h1,
  .frame-house-hero__content h1,
  .services-hero__content h1 {
    margin-bottom: 16px;
    font-size: clamp(35px, 10vw, 47px);
    line-height: 1;
  }

  .gazebo-hero__lead,
  .mini-timber-hero__lead,
  .frame-house-hero__lead,
  .services-hero__lead {
    font-size: 16px;
    line-height: 1.55;
  }

  .gazebo-hero__facts,
  .mini-timber-hero__facts,
  .frame-house-hero__facts,
  .services-hero__facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-top: 28px;
  }

  .gazebo-hero__facts div,
  .mini-timber-hero__facts div,
  .frame-house-hero__facts div,
  .services-hero__facts div {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: baseline;
    gap: 10px;
  }

  .gazebo-hero__facts dd,
  .mini-timber-hero__facts dd,
  .frame-house-hero__facts dd,
  .services-hero__facts dd {
    margin: 0;
  }

  .gazebo-hero__visual,
  .mini-timber-hero__visual,
  .frame-house-hero__visual,
  .services-hero__visual {
    width: 100%;
    padding: 7px;
    transform: none;
  }

  .gazebo-hero__visual img,
  .mini-timber-hero__visual img,
  .frame-house-hero__visual img,
  .services-hero__visual img {
    aspect-ratio: 1.25 / 1;
  }

  .gazebo-catalog,
  .mini-timber-catalog,
  .frame-house-catalog,
  .services-catalog {
    padding-top: var(--mobile-section);
  }

  .gazebo-cta,
  .mini-timber-cta,
  .frame-house-cta,
  .services-cta {
    padding-bottom: var(--mobile-section);
  }

  .gazebo-cta__inner,
  .mini-timber-cta__inner,
  .frame-house-cta__inner,
  .services-cta__inner {
    gap: 22px;
    padding: 26px 20px;
  }

  .contacts.contacts,
  .contacts {
    padding-top: var(--mobile-section);
  }

  .contacts-panel.contacts-panel--reviews,
  .contacts-panel {
    width: 100%;
    min-width: 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .contacts-panel--reviews .contact-card,
  .contact-card {
    padding: 26px 20px;
  }

  .contact-card li {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .contact-card li > a,
  .contact-card li > span:not(.contact-icon) {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .contact-card .btn {
    width: 100%;
    padding-inline: 16px;
  }

  .contact-card__art {
    min-height: 190px;
    margin: 14px -20px -26px;
  }

  .contacts-panel--reviews .map-placeholder,
  .contacts-panel--reviews .map-placeholder iframe,
  .map-placeholder,
  .map-placeholder iframe {
    min-height: 340px;
  }

  .contact-reviews {
    width: 100%;
    min-width: 0;
    height: min(620px, 78dvh);
  }

  .site-footer {
    padding: 36px 0 max(34px, env(safe-area-inset-bottom));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
  }

  .footer-brand,
  .footer-contacts {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: 560px;
  }

  .footer-col a,
  .footer-col span {
    line-height: 1.45;
  }

  .socials a {
    width: 44px;
    height: 44px;
  }

  .feedback-modal {
    align-items: end;
    padding: 12px max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  }

  .feedback-modal__dialog {
    width: 100%;
    max-height: calc(100dvh - 24px - env(safe-area-inset-bottom));
    padding: 28px 20px 22px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 18px;
  }

  .feedback-modal__dialog h2 {
    padding-right: 40px;
    font-size: clamp(31px, 9vw, 40px);
  }

  .feedback-modal__dialog p:not(.eyebrow) {
    margin-bottom: 18px;
  }

  .feedback-form input {
    height: 52px;
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  :root {
    --page-x: 14px;
    --mobile-section: 48px;
  }

  .brand {
    gap: 8px;
  }

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

  .brand strong {
    font-size: 18px;
  }

  h1,
  .gazebo-hero__content h1,
  .mini-timber-hero__content h1,
  .frame-house-hero__content h1,
  .services-hero__content h1 {
    font-size: clamp(33px, 10.2vw, 40px);
  }

  h2 {
    font-size: clamp(28px, 8.8vw, 34px);
  }

  .hero {
    padding-top: 30px;
    padding-bottom: 218px;
    background-size: auto, auto, 540px auto, auto;
  }

  .btn {
    min-height: 50px;
    padding-inline: 16px;
    font-size: 13px;
    line-height: 1.25;
    text-align: center;
  }

  .benefit-item,
  .benefit-item:nth-child(n + 3) {
    min-height: 120px;
    padding-inline: 8px;
  }

  .metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .metrics div {
    min-height: 74px;
  }

  .before-after,
  .before-after.before-after--works {
    height: 290px;
  }

  .before-after__hint {
    font-size: 10px;
  }

  .project-detail__stage {
    aspect-ratio: 1 / 1;
  }

  .project-detail__stage-bar span {
    min-height: 36px;
    padding-inline: 12px;
    font-size: 11px;
  }

  .project-slider__nav {
    width: 42px;
    height: 42px;
  }

  .gazebo-hero__facts div,
  .mini-timber-hero__facts div,
  .frame-house-hero__facts div,
  .services-hero__facts div {
    grid-template-columns: 96px minmax(0, 1fr);
    padding: 12px;
  }

  .gazebo-hero__visual figcaption,
  .mini-timber-hero__visual figcaption,
  .frame-house-hero__visual figcaption,
  .services-hero__visual figcaption {
    position: static;
    display: block;
    margin-top: 7px;
    padding: 8px 10px;
    box-shadow: none;
    font-size: 10px;
    text-align: center;
  }

  .frame-house-card__body,
  .mini-timber-card__body,
  .gazebo-card__body,
  .service-option-card__body {
    padding: 18px 16px;
  }

  .frame-house-card__head,
  .mini-timber-card__head,
  .gazebo-card__head,
  .service-option-card__head {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 11px;
  }

  .frame-house-card__number,
  .mini-timber-card__number,
  .gazebo-card__number,
  .service-option-card__number {
    width: 36px;
    height: 36px;
  }

  .gazebo-prices {
    grid-template-columns: minmax(0, 1fr);
  }

  .contacts-panel.contacts-panel--reviews {
    width: 100%;
  }

  .contacts-panel--reviews .contact-card,
  .contact-card {
    padding-inline: 18px;
  }

  .contact-card__art {
    margin-right: -18px;
    margin-left: -18px;
  }

  .contacts-panel--reviews .map-placeholder,
  .contacts-panel--reviews .map-placeholder iframe,
  .map-placeholder,
  .map-placeholder iframe {
    min-height: 300px;
  }

  .contact-reviews {
    height: min(570px, 76dvh);
  }

  .footer-grid {
    gap: 28px 16px;
  }

  .footer-col h3 {
    font-size: 15px;
  }

  .footer-col a,
  .footer-col span {
    font-size: 12px;
  }
}

@media (hover: none) {
  .btn:hover,
  .project-card:hover,
  .catalog-card:hover,
  .work-card:hover,
  .work-feature:hover,
  .gazebo-card:hover,
  .project-gallery__item:hover {
    transform: none;
  }

  .project-card:hover .project-image img,
  .gazebo-card:hover .gazebo-card__gallery img,
  .work-card:hover img {
    transform: none;
  }
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid rgba(217, 91, 37, .72);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Mobile landing page — aligned with the compact reference layout. */
@media (max-width: 760px) {
  :root {
    --page-x: 18px;
    --mobile-section: 46px;
    --radius-lg: 14px;
  }

  .header-inner {
    grid-template-columns: minmax(118px, 1fr) auto 46px;
    min-height: 64px;
    gap: 10px;
  }

  .brand {
    max-width: 142px;
    gap: 8px;
  }

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

  .brand strong {
    font-size: 17px;
  }

  .brand small {
    margin-top: 3px;
    font-size: 8px;
  }

  .mobile-header-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    color: var(--ink);
    font-size: 11px;
    white-space: nowrap;
  }

  .mobile-header-phone .phone-icon {
    width: 30px;
    height: 30px;
  }

  .mobile-header-phone .phone-icon img {
    width: 19px;
    height: 19px;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
  }

  .site-header.is-open .mobile-header-phone {
    visibility: hidden;
  }

  .hero {
    padding: 34px 0 28px;
    background:
      linear-gradient(90deg, rgba(255,253,251,.98) 0%, rgba(255,251,247,.9) 42%, rgba(255,249,243,.34) 78%, rgba(255,248,241,.08) 100%),
      linear-gradient(180deg, rgba(255,253,251,.58) 0%, rgba(255,249,243,.08) 52%, rgba(255,248,241,.82) 100%),
      url("/images/hero-key-house.webp") 74% 12px / 590px auto no-repeat,
      linear-gradient(180deg, #fffdfb, #fff8f1);
  }

  .hero::before {
    background: radial-gradient(ellipse at 8% 40%, rgba(255,253,251,.88), transparent 64%);
  }

  .hero::after {
    bottom: -176px;
  }

  .hero h1 {
    max-width: 350px;
    margin-bottom: 14px;
    font-size: clamp(34px, 10vw, 42px);
    line-height: .98;
  }

  .hero-text {
    max-width: 340px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.52;
  }

  .hero-buttons {
    max-width: 340px;
    gap: 8px;
  }

  .hero-buttons .btn {
    min-height: 46px;
  }

  .benefits {
    margin-top: -8px;
    padding: 0 0 38px;
  }

  .benefits-grid {
    gap: 8px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .benefit-item,
  .benefit-item:nth-child(n + 3) {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    min-height: 90px;
    padding: 13px 10px;
    gap: 10px;
    border: 1px solid rgba(234, 216, 202, .64);
    border-radius: 12px;
    background: rgba(255,255,255,.78);
    box-shadow: 0 12px 28px rgba(91,52,30,.055);
  }

  .benefits .mini-icon {
    grid-row: 1 / 3;
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .benefits .mini-icon img {
    max-width: 28px;
    max-height: 28px;
  }

  .benefit-item strong {
    align-self: end;
    font-size: 13px;
  }

  .benefit-item small {
    align-self: start;
    font-size: 10px;
  }

  .projects {
    padding-top: 38px;
    background: linear-gradient(180deg, rgba(255,248,241,.62), rgba(255,253,251,0));
  }

  .project-grid {
    gap: 10px;
  }

  .project-card {
    display: grid;
    grid-template-columns: 43% minmax(0, 57%);
    min-height: 196px;
    overflow: hidden;
  }

  .project-image {
    height: 100%;
    min-height: 196px;
    aspect-ratio: auto;
    border: 0;
    border-right: 1px solid rgba(234,216,202,.62);
    border-radius: 0;
  }

  .project-body {
    min-width: 0;
    padding: 14px;
  }

  .project-body h3 {
    margin-bottom: 5px;
    font-size: 17px;
  }

  .project-body p {
    display: -webkit-box;
    margin-bottom: 10px;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  .project-bottom {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .project-bottom strong {
    font-size: 12px;
  }

  .project-bottom .btn {
    width: auto;
    min-height: 36px;
    padding: 8px 10px;
    font-size: 10px;
  }

  .about {
    padding: 46px 0 42px;
  }

  .about-content p:not(.eyebrow) {
    margin: 16px 0 24px;
    font-size: 14px;
    line-height: 1.58;
  }

  .about-image {
    display: none;
  }

  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metrics div {
    min-height: 72px;
    padding: 10px;
  }

  .works-copy p:not(.eyebrow) {
    display: none;
  }

  .works-all-link {
    width: 100%;
    min-width: 0;
  }

  .works-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .work-card__body {
    padding: 12px;
  }

  .process-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .contacts {
    padding-top: 34px;
  }

  .contacts-panel.contacts-panel--reviews {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(234,216,202,.7);
    border-bottom: 0;
  }

  .contacts-panel--reviews .contact-card {
    padding: 26px 20px 18px;
    box-shadow: none;
  }

  .contact-card__art {
    position: relative;
    order: 10;
    flex: 0 0 190px;
    width: calc(100% + 40px);
    min-height: 190px;
    margin: 16px -20px -18px;
    clear: both;
  }

  .contact-card__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 54%;
  }

  .contact-inline-form {
    display: none;
    gap: 14px;
    padding: 24px 20px 28px;
    background: rgba(255,255,255,.86);
    border-top: 1px solid rgba(234,216,202,.68);
  }

  .contact-inline-form__head h2 {
    margin-bottom: 8px;
    font-size: 30px;
  }

  .contact-inline-form__head > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
  }

  .contact-inline-form label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
  }

  .contact-inline-form input {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-size: 16px;
  }

  .contact-inline-form input:focus {
    border-bottom-color: var(--accent);
  }

  .contact-inline-form .btn {
    width: 100%;
  }

  .contact-inline-form__honeypot {
    position: absolute;
    left: -9999px;
  }

  .contact-inline-form__status {
    min-height: 18px;
    margin: -4px 0 0;
    font-size: 12px;
  }

  .contact-inline-form__status[data-state="success"] {
    color: #287246;
  }

  .contact-inline-form__status[data-state="error"] {
    color: #a7351b;
  }

  .contacts-panel--reviews .map-placeholder,
  .contacts-panel--reviews .contact-reviews {
    display: none;
  }

  .site-footer {
    padding-top: 34px;
  }
}

@media (max-width: 420px) {
  .mobile-header-phone {
    gap: 4px;
    font-size: 9px;
  }

  .header-inner {
    grid-template-columns: minmax(118px, 1fr) auto 46px;
  }

  .project-card {
    grid-template-columns: 42% minmax(0, 58%);
  }

  .project-body {
    padding: 12px;
  }
}
