:root {
  --page: #ffffff;
  --surface: #ffffff;
  --soft: #e7eddf;
  --soft-2: #dce5d6;
  --text: #323731;
  --muted: #75786d;
  --line: #d6ded0;
  --green: #758363;
  --green-dark: #5c684d;
  --green-soft: #dfe6d3;
  --shadow: 0 22px 60px rgba(57, 51, 40, 0.14);
  --radius: 8px;
  font-family: Arial, sans-serif;
  color: var(--text);
  background: var(--page);
}

/* Quality control */
.quality-control {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 7vw, 110px) clamp(72px, 6vw, 96px);
  background: #ffffff;
}

.quality-control__inner {
  display: grid;
  grid-template-columns: minmax(0, 31fr) minmax(0, 40fr) minmax(0, 29fr);
  gap: clamp(32px, 3vw, 48px);
  align-items: center;
  width: min(100%, 1680px);
  margin: 0 auto;
}

.quality-control__intro,
.quality-control__visual,
.quality-control__card {
  opacity: 0;
  transform: translateY(24px);
}

.quality-control.is-visible .quality-control__intro,
.quality-control.is-visible .quality-control__visual,
.quality-control.is-visible .quality-control__card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.58s ease, transform 0.58s ease;
}

.quality-control.is-visible .quality-control__visual {
  transition-delay: 0.14s;
}

.quality-control.is-visible .quality-control__card {
  transition-delay: 0.28s;
}

.quality-control__eyebrow {
  margin: 0;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quality-control__line {
  display: block;
  width: 58px;
  height: 2px;
  margin: 18px 0 26px;
  background: var(--green);
}

.quality-control__intro h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(36px, 3vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.quality-control__lead {
  max-width: 570px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
}

.quality-control__benefits {
  display: grid;
  gap: 20px;
  margin: 30px 0 28px;
  padding: 0;
  list-style: none;
}

.quality-control__benefits li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.quality-control__benefits b,
.quality-control__benefits small {
  display: block;
}

.quality-control__benefits b {
  margin-bottom: 5px;
  font-size: 18px;
  line-height: 1.2;
}

.quality-control__benefits small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.quality-control__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 50%;
}

.quality-control__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.quality-control__cta {
  display: inline-flex;
  width: 100%;
  min-height: 66px;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  background: var(--green-dark);
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(92, 104, 77, 0.2);
  transition: transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.quality-control__cta:hover {
  background: #4f5b42;
  box-shadow: 0 17px 34px rgba(92, 104, 77, 0.27);
  transform: translateY(-2px);
}

.quality-control__cta:focus-visible,
.quality-control__switch:focus-visible,
.quality-control__content:focus-visible {
  outline: 3px solid rgba(92, 104, 77, 0.38);
  outline-offset: 4px;
}

.quality-control__visual {
  position: relative;
  isolation: isolate;
  width: min(100%, 660px);
  margin: 0 auto;
}

.quality-control__glow {
  position: absolute;
  z-index: -1;
  inset: 7% -6% 3%;
  background: radial-gradient(circle at center, rgba(215, 225, 210, 0.55) 0%, rgba(231, 237, 223, 0) 68%);
  filter: blur(2px);
}

.quality-control__image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1122 / 1402;
  background: url("assets/window-profile-details-v2.webp?v=3") center / contain no-repeat;
  filter: drop-shadow(0 24px 24px rgba(50, 55, 49, 0.13));
  pointer-events: none;
  transform: scale(1.28);
  transform-origin: center;
  user-select: none;
}

.quality-control__underline {
  --underline-primary-width: 3px;
  --underline-primary-angle: -1deg;
  --underline-primary-skew: -5deg;
  --underline-primary-height: 9px;
  --underline-secondary-left: 8%;
  --underline-secondary-right: 6%;
  --underline-secondary-top: 6px;
  --underline-secondary-angle: 1deg;
  --underline-secondary-skew: 8deg;
  position: absolute;
  z-index: 2;
  height: 16px;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 3px 5px rgba(68, 118, 67, 0.15));
  transform: translateY(5px) scaleX(0.48);
  transform-origin: left center;
  transition: opacity 0.24s ease, transform 0.46s cubic-bezier(0.22, 1, 0.36, 1);
}

.quality-control__underline::before,
.quality-control__underline::after {
  position: absolute;
  right: 0;
  left: 0;
  content: "";
  border-radius: 50%;
}

.quality-control__underline::before {
  top: 0;
  height: var(--underline-primary-height);
  border-bottom: var(--underline-primary-width) solid rgba(68, 128, 72, 0.92);
  transform: rotate(var(--underline-primary-angle)) skewX(var(--underline-primary-skew));
}

.quality-control__underline::after {
  top: var(--underline-secondary-top);
  right: var(--underline-secondary-right);
  left: var(--underline-secondary-left);
  height: 6px;
  border-bottom: 2px solid rgba(107, 157, 99, 0.62);
  transform: rotate(var(--underline-secondary-angle)) skewX(var(--underline-secondary-skew));
}

.quality-control__underline--profile {
  --underline-primary-angle: -1.8deg;
  --underline-primary-skew: -4deg;
  --underline-primary-height: 8px;
  --underline-secondary-left: 5%;
  --underline-secondary-right: 16%;
  --underline-secondary-top: 7px;
  --underline-secondary-angle: 0.6deg;
  --underline-secondary-skew: 12deg;
  top: 40.5%;
  left: -2%;
  width: 108px;
  transform-origin: left center;
}

.quality-control__underline--custom {
  --underline-primary-width: 4px;
  --underline-primary-angle: 0.9deg;
  --underline-primary-skew: 7deg;
  --underline-primary-height: 12px;
  --underline-secondary-left: 24%;
  --underline-secondary-right: 1%;
  --underline-secondary-top: 4px;
  --underline-secondary-angle: -1.5deg;
  --underline-secondary-skew: -9deg;
  top: 33.7%;
  right: -4%;
  width: 112px;
  transform-origin: right center;
}

.quality-control__underline--install {
  --underline-primary-angle: -2.6deg;
  --underline-primary-skew: 5deg;
  --underline-primary-height: 7px;
  --underline-secondary-left: 2%;
  --underline-secondary-right: 27%;
  --underline-secondary-top: 8px;
  --underline-secondary-angle: 1.8deg;
  --underline-secondary-skew: -12deg;
  bottom: 15.5%;
  left: -2%;
  width: 92px;
  transform-origin: left center;
}

.quality-control__visual[data-active="profile"] .quality-control__underline--profile,
.quality-control__visual[data-active="custom"] .quality-control__underline--custom,
.quality-control__visual[data-active="install"] .quality-control__underline--install {
  opacity: 1;
  transform: translateY(0) scaleX(1);
}

.quality-control__card {
  align-self: start;
  margin-top: clamp(44px, 5vw, 76px);
  padding: clamp(30px, 2.5vw, 36px);
  background: rgba(241, 245, 235, 0.93);
  border: 1px solid rgba(117, 131, 99, 0.25);
  border-radius: 24px;
  box-shadow: 0 20px 52px rgba(57, 51, 40, 0.11);
}

.quality-control__card h3 {
  margin: 0 0 24px;
  font-size: clamp(26px, 2vw, 34px);
  line-height: 1.15;
}

.quality-control__switches {
  display: grid;
  gap: 9px;
}

.quality-control__switch {
  position: relative;
  display: flex;
  min-height: 50px;
  align-items: center;
  width: 100%;
  padding: 11px 42px 11px 16px;
  color: var(--muted);
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: color 0.24s ease, background-color 0.24s ease, border-color 0.24s ease, transform 0.24s ease;
}

.quality-control__switch::after {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--green);
  border-radius: 50%;
  opacity: 0;
  transform: translateY(-50%) scale(0.4);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.quality-control__switch:hover {
  color: var(--text);
  background: rgba(223, 230, 211, 0.45);
  transform: translateX(3px);
}

.quality-control__switch[aria-selected="true"] {
  color: var(--green-dark);
  font-weight: 700;
  background: var(--green-soft);
  border-color: rgba(117, 131, 99, 0.3);
}

.quality-control__switch[aria-selected="true"]::after {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.quality-control__content {
  margin-top: 26px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.quality-control__content.is-changing {
  opacity: 0;
  transform: translateY(7px);
}

.quality-control__content h4 {
  margin: 0 0 14px;
  font-size: 23px;
  line-height: 1.2;
}

.quality-control__content p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.quality-control__content .quality-control__brands {
  margin-top: 18px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

@media (max-width: 1240px) {
  .quality-control {
    padding-right: 48px;
    padding-left: 48px;
  }

  .quality-control__inner {
    grid-template-columns: minmax(320px, 0.9fr) minmax(380px, 1.1fr);
    min-height: 0;
  }

  .quality-control__card {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(250px, 0.8fr) minmax(300px, 1.2fr);
    gap: 0 36px;
    margin-top: 0;
  }

  .quality-control__card h3 {
    grid-column: 1 / -1;
  }

  .quality-control__content {
    margin-top: 0;
    padding: 4px 0 0 32px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 820px) {
  .quality-control {
    min-height: 0;
    padding: 72px 22px;
  }

  .quality-control__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    min-height: 0;
  }

  .quality-control__intro,
  .quality-control__card {
    display: contents;
    height: auto;
    margin-top: 0;
    min-height: 0;
  }

  .quality-control__eyebrow { grid-row: 1; }
  .quality-control__line { grid-row: 2; }
  .quality-control__intro h2 { grid-row: 3; }
  .quality-control__lead { grid-row: 4; }
  .quality-control__benefits { grid-row: 5; }
  .quality-control__visual { grid-row: 6; }
  .quality-control__card h3 { grid-row: 7; }
  .quality-control__switches { grid-row: 8; }
  .quality-control__content { grid-row: 9; }
  .quality-control__cta { grid-row: 10; }

  .quality-control__intro > *,
  .quality-control__card > * {
    opacity: 0;
    transform: translateY(20px);
  }

  .quality-control.is-visible .quality-control__intro > *,
  .quality-control.is-visible .quality-control__card > * {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.52s ease, transform 0.52s ease;
  }

  .quality-control__intro h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .quality-control__lead {
    font-size: 17px;
  }

  .quality-control__benefits {
    margin-top: 34px;
    margin-bottom: 34px;
  }

  .quality-control__visual {
    width: min(118%, 620px);
    max-width: none;
    margin: 0 -9% 36px;
    justify-self: center;
  }

  .quality-control__image {
    transform: scale(1.16);
  }

  .quality-control__card h3 {
    margin: 0;
    padding: 28px 24px 19px;
    background: var(--surface);
    border: 1px solid rgba(117, 131, 99, 0.25);
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 16px 34px rgba(57, 51, 40, 0.08);
  }

  .quality-control__switches {
    gap: 8px;
    padding: 0 20px 20px;
    background: var(--surface);
    border-right: 1px solid rgba(117, 131, 99, 0.25);
    border-left: 1px solid rgba(117, 131, 99, 0.25);
  }

  .quality-control__switch {
    min-height: 52px;
    border-color: var(--line);
  }

  .quality-control__switch:hover {
    transform: none;
  }

  .quality-control__content {
    margin: 0 0 26px;
    padding: 25px 24px 30px;
    background: var(--surface);
    border: 1px solid rgba(117, 131, 99, 0.25);
    border-top-color: var(--line);
    border-radius: 0 0 22px 22px;
    box-shadow: 0 20px 42px rgba(57, 51, 40, 0.09);
  }

  .quality-control__cta {
    min-height: 64px;
  }
}

@media (max-width: 480px) {
  .quality-control {
    padding-right: 18px;
    padding-left: 18px;
  }

  .quality-control__benefits li {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 13px;
  }

  .quality-control__icon {
    width: 48px;
    height: 48px;
  }

  .quality-control__content h4 {
    font-size: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quality-control__intro,
  .quality-control__visual,
  .quality-control__card,
  .quality-control__intro > *,
  .quality-control__card > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .quality-control__underline,
  .quality-control__content,
  .quality-control__cta,
  .quality-control__switch {
    transition: none !important;
  }
}

/* Quality-control technical composition */
.quality-control__image {
  background-image: url("assets/window-profile-clean-v3.webp");
}

.quality-control__visual figcaption {
  position: relative;
  z-index: 3;
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.quality-control__callouts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  margin: 14px auto 0;
  padding: 0;
  color: #4f5e4a;
  font-size: 12px;
  line-height: 1.3;
  list-style: none;
}

.quality-control__callout {
  position: relative;
  padding-left: 13px;
}

.quality-control__callout::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--green);
  border-radius: 50%;
}

@media (min-width: 1280px) {
  .quality-control {
    padding-top: clamp(52px, 4vw, 72px);
    padding-bottom: clamp(56px, 4.5vw, 80px);
    background: #f5f7f3;
  }

  .quality-control__inner {
    grid-template-columns: minmax(0, 33fr) minmax(0, 39fr) minmax(0, 28fr);
    gap: clamp(22px, 1.8vw, 34px);
    align-items: center;
  }

  .quality-control__intro,
  .quality-control__visual,
  .quality-control__card {
    opacity: 1;
    transform: none;
  }

  .quality-control__intro {
    align-self: center;
  }

  .quality-control__line {
    margin-top: 12px;
    margin-bottom: 20px;
  }

  .quality-control__intro h2 {
    width: 100%;
    max-width: none;
    font-size: var(--main-section-title-size);
    line-height: 1.06;
  }

  .quality-control__result-line {
    white-space: nowrap;
  }

  .quality-control__lead {
    max-width: 560px;
    margin-top: 20px;
    font-size: clamp(16px, 1.05vw, 18px);
    line-height: 1.48;
  }

  .quality-control__benefits {
    gap: 14px;
    margin-top: 22px;
    margin-bottom: 22px;
  }

  .quality-control__benefits li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 13px;
  }

  .quality-control__icon {
    width: 44px;
    height: 44px;
  }

  .quality-control__icon svg {
    width: 23px;
    height: 23px;
  }

  .quality-control__benefits b {
    margin-bottom: 3px;
    font-size: 16px;
  }

  .quality-control__benefits small {
    font-size: 13px;
    line-height: 1.38;
  }

  .quality-control__cta {
    min-height: 56px;
    padding: 12px 24px;
    font-size: 16px;
  }

  .quality-control__visual {
    position: relative;
    display: block;
    align-self: center;
    width: 100%;
    height: clamp(680px, 42vw, 780px);
    margin: 0;
    overflow: visible;
  }

  .quality-control__visual figcaption {
    position: absolute;
    top: 4px;
    right: auto;
    left: 50%;
    width: max-content;
    max-width: 92%;
    margin: 0;
    padding: 3px 9px;
    background: #f5f7f3;
    border-radius: 6px;
    font-size: clamp(12px, 0.78vw, 14px);
    letter-spacing: 0.015em;
    transform: translateX(-50%);
  }

  .quality-control__glow {
    display: none;
  }

  .quality-control__image {
    position: absolute;
    inset: 18px 0 0;
    width: auto;
    height: auto;
    aspect-ratio: auto;
    background-position: center 31%;
    background-size: auto 128%;
    background-repeat: no-repeat;
    filter: drop-shadow(0 18px 20px rgba(50, 55, 49, 0.1));
    transform: none;
  }

  .quality-control__callouts {
    position: absolute;
    z-index: 4;
    inset: 0;
    display: block;
    width: 100%;
    margin: 0;
    pointer-events: none;
  }

  .quality-control__callout {
    --leader: clamp(46px, 4vw, 76px);
    position: absolute;
    width: clamp(118px, 9.2vw, 166px);
    padding: 3px 5px;
    color: #40533e;
    font-size: clamp(10px, 0.72vw, 12px);
    font-weight: 600;
    line-height: 1.25;
    background: rgba(245, 247, 243, 0.92);
  }

  .quality-control__callout::after {
    position: absolute;
    top: 50%;
    height: 1px;
    content: "";
    background: rgba(74, 118, 72, 0.82);
  }

  .quality-control__callout::before {
    top: calc(50% - 4px);
    width: 8px;
    height: 8px;
    background: #4a7648;
    box-shadow: 0 0 0 2px #f5f7f3;
  }

  .quality-control__callout--glass,
  .quality-control__callout--seal,
  .quality-control__callout--profile {
    left: 0;
    text-align: right;
  }

  .quality-control__callout--glass::after,
  .quality-control__callout--seal::after,
  .quality-control__callout--profile::after {
    right: calc(-1 * var(--leader));
    width: var(--leader);
  }

  .quality-control__callout--glass::before,
  .quality-control__callout--seal::before,
  .quality-control__callout--profile::before {
    right: calc(-1 * var(--leader) - 4px);
    left: auto;
  }

  .quality-control__callout--spacer,
  .quality-control__callout--steel {
    right: -38px;
    width: 108px;
    padding-left: 5px;
    text-align: left;
  }

  .quality-control__callout--spacer::after,
  .quality-control__callout--steel::after {
    left: calc(-1 * var(--leader));
    width: var(--leader);
  }

  .quality-control__callout--spacer::before,
  .quality-control__callout--steel::before {
    right: auto;
    left: calc(-1 * var(--leader) - 4px);
  }

  .quality-control__callout--glass {
    --leader: clamp(86px, 7.5vw, 110px);
    top: 18%;
  }

  .quality-control__callout--spacer {
    --leader: clamp(78px, 6vw, 100px);
    top: 61%;
  }

  .quality-control__callout--seal {
    --leader: clamp(70px, 5.5vw, 90px);
    top: 64%;
  }

  .quality-control__callout--steel {
    --leader: clamp(64px, 5vw, 84px);
    top: 72%;
  }

  .quality-control__callout--profile {
    --leader: clamp(58px, 4.4vw, 82px);
    top: 83%;
  }

  .quality-control__card {
    align-self: center;
    margin-top: 0;
    padding: clamp(22px, 1.8vw, 30px);
    border-radius: 22px;
    box-shadow: 0 14px 36px rgba(57, 51, 40, 0.08);
  }

  .quality-control__card h3 {
    margin-bottom: 18px;
    font-size: clamp(24px, 1.55vw, 28px);
  }

  .quality-control__switches {
    gap: 6px;
  }

  .quality-control__switch {
    min-height: 44px;
    padding: 8px 34px 8px 13px;
    font-size: 14px;
    line-height: 1.25;
  }

  .quality-control__switch::after {
    right: 13px;
    width: 7px;
    height: 7px;
  }

  .quality-control__content {
    margin-top: 18px;
    padding-top: 18px;
  }

  .quality-control__content h4 {
    margin-bottom: 10px;
    font-size: clamp(19px, 1.3vw, 22px);
  }

  .quality-control__content p {
    font-size: 14px;
    line-height: 1.48;
  }
}

@media (min-width: 1280px) and (max-width: 1499px) {
  .quality-control {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .quality-control__intro h2 {
    font-size: 36px;
  }

  .quality-control__lead {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.42;
  }

  .quality-control__benefits {
    gap: 10px;
    margin-top: 16px;
    margin-bottom: 16px;
  }

  .quality-control__benefits li {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
  }

  .quality-control__icon {
    width: 38px;
    height: 38px;
  }

  .quality-control__icon svg {
    width: 20px;
    height: 20px;
  }

  .quality-control__benefits b {
    font-size: 15px;
  }

  .quality-control__benefits small {
    font-size: 12px;
  }

  .quality-control__cta {
    min-height: 50px;
  }

  .quality-control__visual {
    height: 600px;
  }

  .quality-control__card {
    padding: 20px;
  }

  .quality-control__card h3 {
    margin-bottom: 14px;
    font-size: 23px;
  }

  .quality-control__switch {
    min-height: 40px;
    font-size: 13px;
  }

  .quality-control__content {
    margin-top: 14px;
    padding-top: 14px;
  }

  .quality-control__content h4 {
    font-size: 18px;
  }

  .quality-control__content p {
    font-size: 13px;
  }
}

@media (max-width: 1279px) {
  .quality-control__callouts {
    width: min(92%, 560px);
  }
}

/* Projects gallery modal */
body.projects-modal-open {
  overflow: hidden;
}

.projects-modal[hidden],
.projects-gallery__card[hidden] {
  display: none;
}

.projects-modal {
  position: fixed;
  z-index: 1250;
  inset: 0;
  display: grid;
  padding: clamp(16px, 3vh, 34px) clamp(16px, 4vw, 64px);
  place-items: center;
}

.projects-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 32, 28, 0.62);
  opacity: 0;
  backdrop-filter: blur(0);
  transition: opacity 360ms ease, backdrop-filter 360ms ease;
}

.projects-modal__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  overflow: hidden;
  width: min(92vw, 1580px);
  height: min(89vh, 920px);
  grid-template-columns: clamp(280px, 20vw, 320px) minmax(0, 1fr);
  border: 1px solid rgba(213, 208, 196, 0.78);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 36px 90px rgba(20, 24, 19, 0.3);
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 360ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.projects-modal.is-open .projects-modal__backdrop {
  opacity: 1;
  backdrop-filter: blur(5px);
}

.projects-modal.is-open .projects-modal__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.projects-modal__close {
  position: absolute;
  z-index: 5;
  top: 22px;
  right: 24px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #30352f;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.projects-modal__close span::before,
.projects-modal__close span::after {
  position: absolute;
  top: 22px;
  left: 12px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

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

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

.projects-modal__close:hover,
.projects-modal__close:focus-visible {
  background: #eef2e9;
  outline: none;
  transform: scale(1.05);
}

.projects-modal__sidebar {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  padding: clamp(42px, 5vh, 62px) clamp(26px, 2.6vw, 42px) 36px;
  border-right: 1px solid rgba(117, 134, 102, 0.2);
  background: linear-gradient(155deg, #f1f5eb 0%, #e7eddf 100%);
}

.projects-modal__intro {
  position: relative;
  z-index: 1;
}

.projects-modal__intro h2 {
  margin: 0 0 22px;
  color: #292e29;
  font-size: clamp(34px, 3vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.projects-modal__intro p {
  max-width: 235px;
  margin: 0;
  color: #777d76;
  font-size: 15px;
  line-height: 1.55;
}

.projects-modal__filters {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  margin-top: clamp(28px, 4vh, 44px);
}

.projects-filter {
  display: grid;
  width: 100%;
  min-height: 66px;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 15px;
  background: transparent;
  color: #30352f;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.projects-filter:hover,
.projects-filter:focus-visible {
  color: #627353;
  outline: none;
  transform: translateX(3px);
}

.projects-filter.is-active {
  border-color: rgba(131, 151, 111, 0.14);
  background: #edf2e8;
  color: #587049;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.projects-filter__icon {
  display: block;
  width: 46px;
  height: 46px;
  border: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: saturate(0.88);
  transition: filter 180ms ease, transform 180ms ease;
}

.projects-filter__icon::before,
.projects-filter__icon::after {
  display: none;
}

.projects-filter__icon--all {
  background-image: url("assets/projects-ui/projects-all.webp?v=2");
}

.projects-filter__icon--windows {
  background-image: url("assets/projects-ui/projects-windows.webp?v=2");
}

.projects-filter__icon--balconies {
  background-image: url("assets/projects-ui/projects-balconies.webp?v=2");
}

.projects-filter__icon--houses {
  background-image: url("assets/projects-ui/projects-houses.webp?v=2");
}

.projects-filter__icon--production {
  background-image: url("assets/projects-ui/projects-production.webp?v=2");
}

.projects-filter:hover .projects-filter__icon,
.projects-filter:focus-visible .projects-filter__icon,
.projects-filter.is-active .projects-filter__icon {
  filter: saturate(1.04) contrast(1.04);
  transform: scale(1.06);
}

.projects-modal__botanical {
  position: absolute;
  bottom: -24px;
  left: 14px;
  width: 265px;
  height: 290px;
  background: url("assets/projects-ui/projects-branch.webp?v=2") center bottom / contain no-repeat;
  opacity: 0.2;
  transform: rotate(-4deg);
}

.projects-modal__botanical::before,
.projects-modal__botanical span,
.projects-modal__botanical i,
.projects-modal__botanical b {
  display: none;
}

.projects-modal__content {
  overflow: auto;
  min-width: 0;
  padding: clamp(34px, 4vh, 52px) clamp(28px, 3vw, 52px) 42px;
  overscroll-behavior: contain;
  scrollbar-color: rgba(117, 134, 99, 0.42) transparent;
  scrollbar-width: thin;
}

.projects-modal__header {
  display: flex;
  min-height: 48px;
  gap: 18px;
  align-items: baseline;
  padding-right: 58px;
}

.projects-modal__header h2 {
  margin: 0;
  color: #292e29;
  font-size: clamp(27px, 2.1vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.projects-modal__header p {
  margin: 0;
  color: #758668;
  font-size: 14px;
  font-weight: 600;
}

.projects-gallery {
  display: grid;
  min-width: 0;
  grid-auto-flow: dense;
  grid-auto-rows: 118px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.projects-gallery__card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  grid-row: span 2;
  margin: 0;
  border-radius: 18px;
  background: #eef0ec;
  box-shadow: inset 0 0 0 1px rgba(27, 35, 27, 0.06);
  animation: projectsCardIn 280ms ease both;
}

.projects-gallery__card--tall {
  grid-row: span 3;
}

.projects-gallery__card--wide {
  grid-column: span 2;
}

.projects-gallery__card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), filter 260ms ease;
}

.projects-gallery__card:hover img {
  filter: saturate(1.03);
  transform: scale(1.02);
}

.projects-gallery__card--compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.projects-gallery__compare-pane {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.projects-gallery__compare-pane + .projects-gallery__compare-pane {
  border-left: 3px solid rgba(255, 255, 255, 0.92);
}

.projects-gallery__compare-pane em {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  background: rgba(31, 42, 31, 0.78);
  color: #fff;
  box-shadow: 0 8px 22px rgba(20, 26, 20, 0.2);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.projects-gallery__video-load {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  overflow: hidden;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #1f251f;
  color: #fff;
  cursor: pointer;
}

.projects-gallery__video-load[hidden] {
  display: none;
}

.projects-gallery__video-load::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(17, 21, 17, 0.36));
  content: "";
}

.projects-gallery__video-load i {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 35px rgba(23, 29, 22, 0.24);
  transform: translate(-50%, -50%);
  transition: transform 220ms ease, background 220ms ease;
}

.projects-gallery__video-load i::before {
  position: absolute;
  top: 50%;
  left: 53%;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 15px solid #617653;
  content: "";
  transform: translate(-50%, -50%);
}

.projects-gallery__video-load:hover i,
.projects-gallery__video-load:focus-visible i {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.08);
}

.projects-gallery__card--video video {
  display: block;
  width: 100%;
  height: 100%;
  background: #121612;
  object-fit: cover;
}

.projects-gallery__card--video video[hidden] {
  display: none;
}

.projects-gallery__card > span {
  position: absolute;
  top: 12px;
  left: 12px;
  min-width: 38px;
  padding: 8px 9px;
  border: 1px solid rgba(57, 63, 54, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  color: #343a34;
  box-shadow: 0 6px 18px rgba(24, 29, 23, 0.1);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

@keyframes projectsCardIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .projects-modal {
    padding: 18px;
  }

  .projects-modal__dialog {
    width: min(96vw, 1200px);
    height: 92vh;
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .projects-modal__sidebar {
    padding-right: 24px;
    padding-left: 24px;
  }

  .projects-modal__intro h2 {
    font-size: 36px;
  }

  .projects-modal__intro p {
    font-size: 14px;
  }

  .projects-filter {
    grid-template-columns: 40px minmax(0, 1fr);
    padding-right: 12px;
    padding-left: 12px;
    font-size: 13px;
  }

  .projects-gallery {
    grid-auto-rows: 112px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .projects-modal {
    padding: 12px;
  }

  .projects-modal__dialog {
    display: block;
    overflow: auto;
    width: 100%;
    height: calc(100dvh - 24px);
    border-radius: 22px;
    overscroll-behavior: contain;
  }

  .projects-modal__close {
    position: fixed;
    top: 24px;
    right: 24px;
    width: 42px;
    height: 42px;
    box-shadow: 0 5px 20px rgba(29, 34, 28, 0.12);
  }

  .projects-modal__close span::before,
  .projects-modal__close span::after {
    top: 20px;
    left: 11px;
    width: 20px;
  }

  .projects-modal__sidebar {
    overflow: visible;
    min-height: 0;
    padding: 30px 22px 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(117, 134, 102, 0.2);
  }

  .projects-modal__intro h2 {
    margin-bottom: 10px;
    padding-right: 56px;
    font-size: 32px;
  }

  .projects-modal__intro h2 br {
    display: none;
  }

  .projects-modal__intro p {
    max-width: 430px;
    padding-right: 30px;
    font-size: 13px;
  }

  .projects-modal__filters {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    margin-top: 20px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .projects-modal__filters::-webkit-scrollbar {
    display: none;
  }

  .projects-filter {
    width: auto;
    min-width: max-content;
    min-height: 50px;
    grid-template-columns: 30px auto;
    gap: 7px;
    padding: 7px 12px 7px 8px;
    border-color: rgba(117, 134, 99, 0.16);
    background: rgba(255, 255, 255, 0.72);
  }

  .projects-filter__icon {
    display: block;
    width: 30px;
    height: 30px;
  }

  .projects-modal__botanical {
    display: none;
  }

  .projects-modal__content {
    overflow: visible;
    padding: 24px 16px 30px;
  }

  .projects-modal__header {
    display: block;
    min-height: 0;
    padding-right: 0;
  }

  .projects-modal__header h2 {
    font-size: 26px;
  }

  .projects-modal__header p {
    margin-top: 5px;
  }

  .projects-gallery {
    display: grid;
    grid-auto-rows: auto;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
  }

  .projects-gallery__card,
  .projects-gallery__card--tall,
  .projects-gallery__card--wide {
    min-height: 0;
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .projects-gallery__card--tall {
    aspect-ratio: 3 / 4;
  }

  .projects-gallery__card--compare {
    aspect-ratio: 4 / 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .projects-modal__backdrop,
  .projects-modal__dialog,
  .projects-modal__close,
  .projects-filter,
  .projects-gallery__card,
  .projects-gallery__card img {
    animation: none !important;
    transition: none !important;
  }
}

/* Profile brands */
.profile-brands {
  overflow: hidden;
  padding: clamp(64px, 5vw, 86px) 7vw clamp(72px, 6vw, 98px);
  background: #fff;
}

.profile-brands__inner {
  width: min(100%, 1320px);
  margin: 0 auto;
}

.profile-brands__header {
  display: grid;
  justify-items: center;
  text-align: center;
}

.profile-brands__eyebrow {
  margin: 0;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.11em;
}

.profile-brands__line {
  width: 60px;
  height: 2px;
  margin: 17px 0 22px;
  background: var(--green);
  transform-origin: center;
}

.profile-brands__header h2 {
  max-width: 760px;
  margin: 0;
  color: var(--text);
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.profile-brands__lead {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.55;
}

.profile-brands__panel {
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: clamp(34px, 3.5vw, 46px);
  border: 1px solid rgba(117, 131, 99, 0);
  border-radius: 24px;
  background: #f1f5eb;
  box-shadow: 0 22px 58px rgba(57, 51, 40, 0);
}

.profile-brands__panel::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle 260px at var(--spot-x) var(--spot-y), rgba(117, 131, 99, 0.09), transparent 72%);
  opacity: 0;
  content: "";
  transition: opacity 280ms ease;
}

.profile-brands__panel:hover::after {
  opacity: 1;
}

.profile-brand {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  min-height: 196px;
  grid-column: span 3;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  padding: 22px 30px 24px;
  background: transparent;
  transition: opacity 280ms ease, filter 280ms ease, background-color 280ms ease, box-shadow 280ms ease;
}

.profile-brand:nth-child(n + 3) {
  min-height: 184px;
  grid-column: span 2;
}

.profile-brand::before,
.profile-brand::after {
  position: absolute;
  z-index: 3;
  background: rgba(142, 143, 126, 0.26);
  content: "";
  opacity: 0;
}

.profile-brand::before {
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  transform: scaleY(0);
  transform-origin: top;
}

.profile-brand::after {
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
}

.profile-brand__number {
  align-self: start;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.profile-brand__logo {
  display: flex;
  width: 100%;
  min-height: 82px;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
}

.profile-brand__logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 84px;
  object-fit: contain;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-brand__logo--rehau img {
  width: min(70%, 250px);
}

.profile-brand__logo--montblanc img {
  width: min(68%, 245px);
}

.profile-brand__logo--provedal img {
  width: min(74%, 245px);
  max-height: 62px;
}

.profile-brand__logo--reachmont img {
  width: min(54%, 185px);
  max-height: 82px;
}

.profile-brand__logo--wintech img {
  width: min(78%, 255px);
  max-height: 58px;
}

.profile-brand > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  transition: color 280ms ease, transform 280ms ease;
}

.profile-brand:hover {
  background: rgba(232, 236, 222, 0.42);
  box-shadow: inset 0 0 0 1px rgba(117, 131, 99, 0.52);
}

.profile-brand:hover .profile-brand__logo img {
  transform: scale(1.03);
}

.profile-brand:hover > p {
  color: #5e655c;
  transform: translateY(-4px);
}

.profile-brands.is-visible .profile-brand:hover > p {
  color: #5e655c;
  transform: translateY(-4px);
}

@media (hover: hover) and (pointer: fine) {
  .profile-brands__panel:has(.profile-brand:hover) .profile-brand:not(:hover) {
    opacity: 0.64;
    filter: saturate(0.78);
  }
}

.profile-brands__eyebrow,
.profile-brands__line,
.profile-brands__header h2,
.profile-brands__lead,
.profile-brands__panel {
  opacity: 0;
  transform: translateY(20px);
}

.profile-brands__line {
  transform: translateY(12px) scaleX(0.25);
}

.profile-brand__number,
.profile-brand__logo,
.profile-brand > p {
  opacity: 0;
  transform: translateY(10px) scale(0.97);
}

.profile-brands.is-visible .profile-brands__eyebrow,
.profile-brands.is-visible .profile-brands__line,
.profile-brands.is-visible .profile-brands__header h2,
.profile-brands.is-visible .profile-brands__lead,
.profile-brands.is-visible .profile-brands__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 560ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-brands.is-visible .profile-brands__eyebrow {
  transition-delay: 40ms;
}

.profile-brands.is-visible .profile-brands__line {
  transition-delay: 130ms;
}

.profile-brands.is-visible .profile-brands__header h2 {
  transition-delay: 210ms;
}

.profile-brands.is-visible .profile-brands__lead {
  transition-delay: 300ms;
}

.profile-brands.is-visible .profile-brands__panel {
  border-color: rgba(117, 131, 99, 0.24);
  box-shadow: 0 22px 58px rgba(57, 51, 40, 0.09);
  transition-delay: 410ms;
}

.profile-brands.is-visible .profile-brand:nth-child(1)::before,
.profile-brands.is-visible .profile-brand:nth-child(3)::before,
.profile-brands.is-visible .profile-brand:nth-child(4)::before {
  opacity: 1;
  transform: scaleY(1);
  transition: opacity 160ms ease 600ms, transform 620ms cubic-bezier(0.22, 1, 0.36, 1) 600ms;
}

.profile-brands.is-visible .profile-brand:nth-child(3)::after,
.profile-brands.is-visible .profile-brand:nth-child(4)::after,
.profile-brands.is-visible .profile-brand:nth-child(5)::after {
  opacity: 1;
  transform: scaleX(1);
  transition: opacity 160ms ease 650ms, transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 650ms;
}

.profile-brands.is-visible .profile-brand__number,
.profile-brands.is-visible .profile-brand__logo,
.profile-brands.is-visible .profile-brand > p {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 460ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(820ms + var(--brand-index) * 90ms);
}

@media (max-width: 900px) {
  .profile-brands {
    padding-right: 28px;
    padding-left: 28px;
  }

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

  .profile-brand,
  .profile-brand:nth-child(n + 3) {
    min-height: 180px;
    grid-column: span 1;
  }

  .profile-brand:nth-child(5) {
    grid-column: 1 / -1;
  }

  .profile-brands.is-visible .profile-brand:nth-child(3)::before,
  .profile-brands.is-visible .profile-brand:nth-child(4)::before,
  .profile-brands.is-visible .profile-brand:nth-child(5)::before,
  .profile-brands.is-visible .profile-brand:nth-child(3)::after,
  .profile-brands.is-visible .profile-brand:nth-child(4)::after,
  .profile-brands.is-visible .profile-brand:nth-child(5)::after {
    opacity: 0;
    transform: scale(0);
  }

  .profile-brands.is-visible .profile-brand:nth-child(1)::before,
  .profile-brands.is-visible .profile-brand:nth-child(3)::before {
    opacity: 1;
    transform: scaleY(1);
  }

  .profile-brands.is-visible .profile-brand:nth-child(3)::after,
  .profile-brands.is-visible .profile-brand:nth-child(4)::after,
  .profile-brands.is-visible .profile-brand:nth-child(5)::after {
    opacity: 1;
    transform: scaleX(1);
  }
}

@media (max-width: 620px) {
  .profile-brands {
    padding: 58px 14px 68px;
  }

  .profile-brands__eyebrow {
    font-size: 13px;
  }

  .profile-brands__line {
    width: 52px;
    margin: 15px 0 19px;
  }

  .profile-brands__header h2 {
    max-width: 360px;
    font-size: clamp(30px, 9vw, 38px);
  }

  .profile-brands__lead {
    max-width: 420px;
    margin-top: 16px;
    font-size: 15px;
  }

  .profile-brands__panel {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 32px;
    border-radius: 20px;
  }

  .profile-brand,
  .profile-brand:nth-child(n + 3),
  .profile-brand:nth-child(5) {
    min-height: 158px;
    grid-column: 1;
    padding: 18px 20px 20px;
  }

  .profile-brand__logo {
    min-height: 72px;
  }

  .profile-brand__logo img {
    max-height: 72px;
  }

  .profile-brands.is-visible .profile-brand:nth-child(n)::before {
    opacity: 0;
    transform: scaleY(0);
  }

  .profile-brands.is-visible .profile-brand::after {
    opacity: 1;
    transform: scaleX(1);
  }

  .profile-brands.is-visible .profile-brand:first-child::after {
    opacity: 0;
    transform: scaleX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-brands__eyebrow,
  .profile-brands__line,
  .profile-brands__header h2,
  .profile-brands__lead,
  .profile-brands__panel,
  .profile-brand,
  .profile-brand::before,
  .profile-brand::after,
  .profile-brand__number,
  .profile-brand__logo,
  .profile-brand__logo img,
  .profile-brand > p {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Measurement request modal */
body.measure-modal-open {
  overflow: hidden;
}

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

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

.measure-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(35, 38, 32, 0.58);
  opacity: 0;
  backdrop-filter: blur(0);
  transition: opacity 440ms ease, backdrop-filter 440ms ease;
}

.measure-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 548px);
  max-height: calc(100dvh - 32px);
  box-sizing: border-box;
  padding: 48px 46px 24px;
  overflow-y: auto;
  border: 1px solid rgba(117, 131, 99, 0.48);
  border-radius: 26px;
  outline: none;
  background: #f1f5eb;
  box-shadow: 0 30px 90px rgba(31, 34, 29, 0.3);
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 440ms ease, transform 440ms cubic-bezier(0.22, 1, 0.36, 1);
}

.measure-modal.is-open .measure-modal__backdrop {
  opacity: 1;
  backdrop-filter: blur(5px);
}

.measure-modal.is-open .measure-modal__dialog {
  opacity: 1;
  transform: scale(1);
}

.measure-modal__close {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #4c514b;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.measure-modal__close span::before,
.measure-modal__close span::after {
  position: absolute;
  top: 20px;
  left: 10px;
  width: 22px;
  height: 2px;
  content: "";
  border-radius: 2px;
  background: currentColor;
}

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

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

.measure-modal__close:hover,
.measure-modal__close:focus-visible {
  background: rgba(117, 131, 99, 0.12);
  outline: none;
  transform: scale(1.04);
}

.measure-modal__eyebrow {
  margin: 0 0 18px;
  color: #6d7c5d;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.measure-modal__eyebrow::after {
  display: block;
  width: 48px;
  height: 1px;
  margin-top: 14px;
  content: "";
  background: #758363;
}

.measure-modal__title {
  max-width: calc(100% - 36px);
  margin: 0 0 16px;
  color: #292d28;
  font-size: clamp(38px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.measure-modal__description {
  margin: 0 0 28px;
  color: #666c65;
  font-size: 16px;
  line-height: 1.55;
}

.measure-form {
  display: grid;
  gap: 8px;
}

.measure-form__field label {
  display: block;
  margin-bottom: 9px;
  color: #30352f;
  font-size: 15px;
  font-weight: 500;
}

.measure-form__field input {
  width: 100%;
  height: 60px;
  box-sizing: border-box;
  padding: 0 18px;
  border: 1px solid #d7d8d2;
  border-radius: 15px;
  outline: none;
  background: #ffffff;
  color: #2f342f;
  font: inherit;
  font-size: 17px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.measure-form__field input::placeholder {
  color: #989b96;
  opacity: 1;
}

.measure-form__field input:focus {
  border-color: #7b896a;
  box-shadow: 0 0 0 4px rgba(117, 131, 99, 0.12);
}

.measure-form__field.is-invalid input {
  border-color: #aa665b;
  box-shadow: 0 0 0 3px rgba(170, 102, 91, 0.1);
}

.measure-form__error {
  display: block;
  min-height: 20px;
  padding: 5px 2px 0;
  color: #a2574d;
  font-size: 12px;
  line-height: 1.25;
}

.measure-form__submit,
.measure-modal__success button {
  display: flex;
  width: 100%;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 0 22px;
  border: 0;
  border-radius: 15px;
  background: #758763;
  box-shadow: 0 14px 30px rgba(93, 108, 79, 0.2);
  color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.measure-form__submit:hover,
.measure-form__submit:focus-visible,
.measure-modal__success button:hover,
.measure-modal__success button:focus-visible {
  background: #667759;
  box-shadow: 0 17px 34px rgba(93, 108, 79, 0.27);
  outline: none;
  transform: translateY(-2px);
}

.measure-form__submit i {
  font-style: normal;
  font-size: 23px;
  line-height: 1;
}

.measure-form__submit:disabled {
  cursor: wait;
  opacity: 0.82;
  transform: none;
}

.measure-form__submit.is-loading i {
  width: 17px;
  height: 17px;
  box-sizing: border-box;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: contact-spin 0.7s linear infinite;
}

.measure-form__privacy {
  margin: 8px 0 0;
  color: #797d77;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.measure-form__privacy a {
  color: #657456;
  text-underline-offset: 3px;
}

.measure-form__privacy a:hover,
.measure-form__privacy a:focus-visible {
  color: #4f5f43;
}

.measure-form__status {
  min-height: 18px;
  margin: 0;
  color: #a2574d;
  font-size: 12px;
  line-height: 1.35;
}

.measure-form__status:empty {
  min-height: 0;
}

.measure-modal__step {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 230ms cubic-bezier(0.22, 1, 0.36, 1);
}

.measure-modal.is-open .measure-modal__step {
  opacity: 1;
  transform: translateY(0);
}

.measure-modal.is-open .measure-modal__eyebrow { transition-delay: 50ms; }
.measure-modal.is-open .measure-modal__title { transition-delay: 70ms; }
.measure-modal.is-open .measure-modal__description { transition-delay: 90ms; }
.measure-modal.is-open [data-measure-field="name"] { transition-delay: 110ms; }
.measure-modal.is-open [data-measure-field="phone"] { transition-delay: 130ms; }
.measure-modal.is-open .measure-form__submit { transition-delay: 150ms; }
.measure-modal.is-open .measure-form__privacy { transition-delay: 170ms; }

.measure-modal__success {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 320ms ease, transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.measure-modal__success[hidden] {
  display: none;
}

.measure-modal__success.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.measure-modal__success-mark {
  position: relative;
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 50%;
  background: rgba(117, 135, 99, 0.14);
}

.measure-modal__success-mark::before {
  width: 19px;
  height: 10px;
  content: "";
  border-bottom: 3px solid #667759;
  border-left: 3px solid #667759;
  transform: translateY(-2px) rotate(-45deg);
}

.measure-modal__success h2 {
  margin: 0 0 16px;
  color: #292d28;
  font-size: 40px;
  line-height: 1.08;
}

.measure-modal__success p {
  margin: 0 0 30px;
  color: #666c65;
  font-size: 17px;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .measure-modal {
    padding: 12px;
  }

  .measure-modal__dialog {
    max-height: calc(100dvh - 24px);
    padding: 38px 22px 25px;
    border-radius: 24px;
  }

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

  .measure-modal__eyebrow {
    margin-bottom: 15px;
    font-size: 13px;
  }

  .measure-modal__title {
    margin-bottom: 13px;
    font-size: 32px;
  }

  .measure-modal__description {
    margin-bottom: 23px;
    font-size: 15px;
    line-height: 1.5;
  }

  .measure-form__field input,
  .measure-form__submit,
  .measure-modal__success button {
    min-height: 58px;
  }

  .measure-form__submit {
    padding: 0 16px;
    font-size: 15px;
  }

  .measure-modal__success {
    min-height: 360px;
  }

  .measure-modal__success h2 {
    font-size: 32px;
  }
}

/* Living glazing: calm, one-shot motion for the calculator. */
.quiz-section {
  --quiz-step-duration: 400ms;
  --quiz-step-easing: cubic-bezier(0.22, 1, 0.36, 1);
}

.quiz-section .quiz-intro {
  opacity: 1;
  transform: none;
  transition: none;
}

.quiz-section .quiz-eyebrow,
.quiz-section .quiz-intro h2,
.quiz-section .quiz-copy {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 440ms var(--quiz-step-easing),
    transform 520ms var(--quiz-step-easing);
}

.quiz-section.is-visible .quiz-eyebrow,
.quiz-section.is-visible .quiz-intro h2,
.quiz-section.is-visible .quiz-copy {
  opacity: 1;
  transform: translateY(0);
}

.quiz-section.is-visible .quiz-eyebrow { transition-delay: 0ms; }
.quiz-section.is-visible .quiz-intro h2 { transition-delay: 80ms; }
.quiz-section.is-visible .quiz-copy { transition-delay: 160ms; }

.quiz-section .quiz-card {
  filter: blur(8px);
  transform: translateY(24px) scale(0.99);
  transition:
    height var(--quiz-step-duration) var(--quiz-step-easing),
    opacity 520ms var(--quiz-step-easing) 100ms,
    transform 620ms var(--quiz-step-easing) 100ms,
    filter 500ms ease 100ms;
}

.quiz-section.is-visible .quiz-card {
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.quiz-hero-visual::after {
  content: "";
  position: absolute;
  inset: -16%;
  background: radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.48) 0 8%, rgba(228, 239, 218, 0.2) 23%, rgba(255, 255, 255, 0) 54%);
  opacity: 0.72;
  pointer-events: none;
  transform: translate3d(var(--quiz-glass-light-x, 0), var(--quiz-glass-light-y, 0), 0);
  transition: transform 420ms var(--quiz-step-easing), opacity 420ms ease;
  will-change: transform;
}

.quiz-section[data-quiz-step="1"] { --quiz-glass-light-x: -2%; --quiz-glass-light-y: -1%; }
.quiz-section[data-quiz-step="2"] { --quiz-glass-light-x: 2%; --quiz-glass-light-y: 1%; }
.quiz-section[data-quiz-step="3"] { --quiz-glass-light-x: 4%; --quiz-glass-light-y: -2%; }
.quiz-section[data-quiz-step="4"] { --quiz-glass-light-x: 1%; --quiz-glass-light-y: 2%; }
.quiz-section[data-quiz-step="5"] { --quiz-glass-light-x: -3%; --quiz-glass-light-y: 1%; }

.quiz-card.is-transitioning .quiz-step-content {
  pointer-events: none;
}

.quiz-step-content.is-entering {
  animation: livingGlassStepIn var(--quiz-step-duration) var(--quiz-step-easing) both;
}

.quiz-step-content.is-leaving-next {
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity var(--quiz-step-duration) ease, transform var(--quiz-step-duration) var(--quiz-step-easing);
}

.quiz-step-content.is-leaving-prev {
  opacity: 0;
  transform: translateX(18px);
  transition: opacity var(--quiz-step-duration) ease, transform var(--quiz-step-duration) var(--quiz-step-easing);
}

.quiz-step-ghost {
  position: absolute;
  z-index: 4;
  margin: 0;
  pointer-events: none;
}

.quiz-step-ghost.is-leaving-next {
  animation: livingGlassStepOutNext var(--quiz-step-duration) var(--quiz-step-easing) both;
}

.quiz-step-ghost.is-leaving-prev {
  animation: livingGlassStepOutPrev var(--quiz-step-duration) var(--quiz-step-easing) both;
}

@keyframes livingGlassStepIn {
  from { opacity: 0; transform: translateX(var(--quiz-enter-x, 18px)); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes livingGlassStepOutNext {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-18px); }
}

@keyframes livingGlassStepOutPrev {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(18px); }
}

.quiz-progress-fill {
  transition: width 400ms var(--quiz-step-easing);
}

.quiz-step-dot span {
  position: relative;
}

.quiz-step-dot.is-active span::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1px solid rgba(120, 141, 99, 0.38);
  border-radius: 50%;
  pointer-events: none;
  animation: livingGlassActiveRing 440ms ease-out both;
}

.quiz-step-dot.is-newly-done span {
  animation: livingGlassStepDone 320ms var(--quiz-step-easing) both;
}

@keyframes livingGlassActiveRing {
  from { opacity: 0.42; transform: scale(0.78); }
  to { opacity: 0; transform: scale(1.38); }
}

@keyframes livingGlassStepDone {
  0% { transform: scale(0.82); }
  68% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.quiz-section .quiz-choice {
  --quiz-card-lift: 0px;
  --quiz-tilt-x: 0deg;
  --quiz-tilt-y: 0deg;
  --quiz-image-x: 0px;
  --quiz-image-y: 0px;
  cursor: pointer;
  transform: perspective(900px) translate3d(0, var(--quiz-card-lift), 0) rotateX(var(--quiz-tilt-x)) rotateY(var(--quiz-tilt-y));
  transform-style: preserve-3d;
  transition:
    transform 220ms var(--quiz-step-easing),
    border-color 220ms ease,
    background-color 260ms ease,
    box-shadow 220ms ease;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
  .quiz-section .quiz-choice:hover,
  .quiz-section .quiz-choice:focus-visible {
    --quiz-card-lift: -3px;
    border-color: rgba(101, 122, 83, 0.72);
    box-shadow: 0 16px 34px rgba(57, 65, 49, 0.12);
  }
}

.quiz-section .quiz-choice.is-selected {
  border-color: var(--quiz-green);
  background-color: var(--quiz-selected);
}

.quiz-object-visual img,
.quiz-volume-visual img,
.quiz-priority-visual img {
  transform: translate3d(var(--quiz-image-x), var(--quiz-image-y), 0) scale(var(--quiz-image-scale, 1));
  transition: transform 260ms var(--quiz-step-easing);
  will-change: transform;
}

.quiz-choice.is-selected {
  --quiz-image-scale: 1.025;
}

.quiz-section .quiz-choice::before,
.quiz-section .quiz-choice.is-selected::before {
  content: "";
  position: absolute;
  top: -32%;
  bottom: -32%;
  left: -46%;
  z-index: 2;
  display: block;
  width: 24%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-160%) rotate(14deg);
}

.quiz-section .quiz-choice.is-selection-animating::before {
  animation: livingGlassChoiceSheen 580ms ease-out both;
}

.quiz-choice.is-selection-animating .quiz-selected-mark {
  animation: livingGlassCheckIn 300ms var(--quiz-step-easing) 70ms both;
}

@keyframes livingGlassChoiceSheen {
  0% { opacity: 0; transform: translateX(-160%) rotate(14deg); }
  28% { opacity: 0.28; }
  100% { opacity: 0; transform: translateX(720%) rotate(14deg); }
}

@keyframes livingGlassCheckIn {
  0% { opacity: 0; transform: scale(0.7); }
  72% { opacity: 1; transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1); }
}

.quiz-step-content.is-entering .quiz-choice-volume .quiz-volume-visual {
  animation: livingGlassVolumeIn 380ms var(--quiz-step-easing) calc(var(--quiz-choice-index, 0) * 55ms) both;
}

@keyframes livingGlassVolumeIn {
  from { opacity: 0; transform: translateY(8px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.quiz-priority-visual {
  position: relative;
  isolation: isolate;
}

.quiz-priority-visual::after {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  color: rgba(101, 122, 83, 0.62);
  opacity: 0;
  pointer-events: none;
}

.quiz-choice[data-choice-value="heat"] .quiz-priority-visual::after {
  content: "≋";
  right: 8%;
  bottom: 8%;
  font-size: 28px;
}

.quiz-choice[data-choice-value="noise"] .quiz-priority-visual::after {
  content: ")))";
  right: 4%;
  top: 22%;
  font-size: 14px;
  letter-spacing: 1px;
}

.quiz-choice[data-choice-value="light"] .quiz-priority-visual::after {
  content: "";
  top: 8%;
  right: 7%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 189, 82, 0.56) 0 16%, rgba(226, 189, 82, 0.18) 18% 34%, transparent 36%);
}

.quiz-choice[data-choice-value="budget"] .quiz-priority-visual::after {
  content: "₽";
  right: 7%;
  bottom: 6%;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(101, 122, 83, 0.38);
  border-radius: 50%;
  background: rgba(241, 245, 235, 0.88);
  font-size: 13px;
  font-weight: 700;
}

.quiz-choice[data-choice-value="durability"] .quiz-priority-visual::after {
  content: "✓";
  right: 7%;
  bottom: 7%;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(101, 122, 83, 0.38);
  border-radius: 48% 48% 56% 56%;
  background: rgba(241, 245, 235, 0.9);
  font-size: 15px;
  font-weight: 700;
}

.quiz-choice[data-choice-value="heat"]:is(:hover, :focus-visible, .is-selected) .quiz-priority-visual::after {
  animation: livingGlassHeat 520ms ease-out both;
}

.quiz-choice[data-choice-value="noise"]:is(:hover, :focus-visible, .is-selected) .quiz-priority-visual::after {
  animation: livingGlassNoise 520ms ease-out both;
}

.quiz-choice[data-choice-value="light"]:is(:hover, :focus-visible, .is-selected) .quiz-priority-visual::after {
  animation: livingGlassLight 560ms ease-out both;
}

.quiz-choice[data-choice-value="budget"]:is(:hover, :focus-visible, .is-selected) .quiz-priority-visual::after {
  animation: livingGlassCoin 540ms var(--quiz-step-easing) both;
}

.quiz-choice[data-choice-value="durability"]:is(:hover, :focus-visible, .is-selected) .quiz-priority-visual::after {
  animation: livingGlassShield 500ms var(--quiz-step-easing) both;
}

@keyframes livingGlassHeat {
  from { opacity: 0; transform: translateY(6px) scaleY(0.9); }
  to { opacity: 0.72; transform: translateY(-2px) scaleY(1); }
}

@keyframes livingGlassNoise {
  from { opacity: 0; transform: translateX(-5px) scaleX(0.82); }
  to { opacity: 0.68; transform: translateX(0) scaleX(1); }
}

@keyframes livingGlassLight {
  from { opacity: 0; transform: rotate(-10deg) scale(0.7); }
  to { opacity: 0.8; transform: rotate(0) scale(1); }
}

@keyframes livingGlassCoin {
  0% { opacity: 0; transform: translateY(7px) rotate(-16deg) scale(0.82); }
  70% { opacity: 0.78; transform: translateY(-2px) rotate(3deg) scale(1.04); }
  100% { opacity: 0.72; transform: translateY(0) rotate(0) scale(1); }
}

@keyframes livingGlassShield {
  from { opacity: 0; transform: scale(0.72); }
  to { opacity: 0.76; transform: scale(1); }
}

.quiz-choice-number {
  position: relative;
  overflow: hidden;
}

.quiz-choice-number > span {
  position: relative;
  z-index: 2;
  transition: transform 240ms var(--quiz-step-easing);
}

.quiz-choice-number::after {
  content: "→";
  position: absolute;
  right: 4px;
  bottom: 1px;
  color: rgba(101, 122, 83, 0.62);
  font-size: 12px;
  opacity: 0;
  transform: translateX(-5px);
}

.quiz-choice-number i,
.quiz-choice-number i::before,
.quiz-choice-number i::after {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
}

.quiz-choice-number i {
  top: 7px;
  right: 8px;
}

.quiz-choice-number i::before { left: -7px; }
.quiz-choice-number i::after { top: 7px; }

.quiz-choice-text:is(:hover, :focus-visible, .is-selected) .quiz-choice-number::after {
  animation: livingGlassTimingArrow 460ms var(--quiz-step-easing) both;
}

.quiz-choice-text:is(:hover, :focus-visible, .is-selected) .quiz-choice-number i,
.quiz-choice-text:is(:hover, :focus-visible, .is-selected) .quiz-choice-number i::before,
.quiz-choice-text:is(:hover, :focus-visible, .is-selected) .quiz-choice-number i::after {
  animation: livingGlassCalendarCell 420ms ease-out both;
}

@keyframes livingGlassTimingArrow {
  from { opacity: 0; transform: translateX(-5px); }
  to { opacity: 0.7; transform: translateX(0); }
}

@keyframes livingGlassCalendarCell {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 0.5; transform: translateY(0); }
}

.quiz-btn-primary {
  position: relative;
  overflow: hidden;
  transition: background-color 220ms ease, box-shadow 220ms ease, transform 220ms var(--quiz-step-easing);
}

.quiz-btn-primary::before {
  content: "";
  position: absolute;
  top: -60%;
  bottom: -60%;
  left: -34%;
  width: 19%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-160%) rotate(13deg);
}

.quiz-btn-primary:hover:not(:disabled)::before,
.quiz-btn-primary:focus-visible:not(:disabled)::before {
  animation: livingGlassButtonSheen 600ms ease-out both;
}

.quiz-btn-primary > span[aria-hidden="true"] {
  display: inline-block;
  margin-left: 8px;
  transition: transform 220ms var(--quiz-step-easing);
}

.quiz-btn-primary:hover:not(:disabled) > span[aria-hidden="true"],
.quiz-btn-primary:focus-visible:not(:disabled) > span[aria-hidden="true"] {
  transform: translateX(6px);
}

@keyframes livingGlassButtonSheen {
  0% { opacity: 0; transform: translateX(-160%) rotate(13deg); }
  30% { opacity: 0.25; }
  100% { opacity: 0; transform: translateX(820%) rotate(13deg); }
}

@media (hover: none), (pointer: coarse), (max-width: 1024px) {
  .quiz-section .quiz-choice,
  .quiz-section .quiz-choice:hover,
  .quiz-section .quiz-choice:focus-visible {
    --quiz-card-lift: 0px;
    --quiz-tilt-x: 0deg;
    --quiz-tilt-y: 0deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quiz-section .quiz-eyebrow,
  .quiz-section .quiz-intro h2,
  .quiz-section .quiz-copy,
  .quiz-section .quiz-card,
  .quiz-hero-visual::after,
  .quiz-progress-fill,
  .quiz-step-content,
  .quiz-step-ghost,
  .quiz-choice,
  .quiz-selected-mark,
  .quiz-object-visual img,
  .quiz-volume-visual,
  .quiz-volume-visual img,
  .quiz-priority-visual img,
  .quiz-priority-visual::after,
  .quiz-step-dot span,
  .quiz-step-dot span::after,
  .quiz-choice-number::after,
  .quiz-choice-number i,
  .quiz-choice-number i::before,
  .quiz-choice-number i::after,
  .quiz-btn-primary,
  .quiz-btn-primary::before,
  .quiz-btn-primary > span[aria-hidden="true"] {
    animation: none !important;
    transition: none !important;
  }

  .quiz-section .quiz-eyebrow,
  .quiz-section .quiz-intro h2,
  .quiz-section .quiz-copy,
  .quiz-section .quiz-card,
  .quiz-step-content {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  .quiz-step-ghost,
  .quiz-choice::before,
  .quiz-btn-primary::before,
  .quiz-priority-visual::after,
  .quiz-step-dot span::after {
    display: none !important;
  }

  .quiz-section .quiz-choice,
  .quiz-object-visual img,
  .quiz-volume-visual img,
  .quiz-priority-visual img,
  .quiz-btn-primary > span[aria-hidden="true"] {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .measure-modal__backdrop,
  .measure-modal__dialog,
  .measure-modal__step,
  .measure-modal__success,
  .measure-modal__close,
  .measure-form__submit,
  .measure-modal__success button {
    transition: none !important;
  }

  .measure-form__submit.is-loading i {
    animation: none !important;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--page);
  color: var(--text);
}

button,
input,
select,
textarea {
  font-family: Arial, sans-serif;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 28px;
  align-items: center;
  min-height: 76px;
  padding: 0 6vw;
  background: #ffffff;
  border-bottom: 1px solid rgba(117, 134, 102, 0.22);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 190px;
}

.brand-logo {
  display: block;
  width: 190px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.brand small,
.header-contact span,
.site-footer small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.main-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  font-size: 14px;
  color: #4b4f48;
}

.main-nav a,
.site-footer nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover,
.site-footer nav a:hover {
  color: var(--green-dark);
}

.header-contact {
  text-align: right;
  white-space: nowrap;
}

.header-contact a,
.site-footer div > a {
  display: block;
  font-weight: 600;
}

.header-button,
.button,
.small-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-button,
.button.primary,
.small-button {
  background: var(--green);
  color: #ffffff;
}

.header-button {
  min-width: 168px;
  padding: 0 20px;
  font-size: 13px;
}

.button {
  min-width: 190px;
  padding: 0 24px;
  font-size: 14px;
}

.button.secondary {
  background: rgba(241, 245, 235, 0.72);
  border-color: #b8ad9d;
  color: #596052;
}

.small-button {
  min-width: 122px;
  min-height: 38px;
  padding: 0 18px;
  font-size: 12px;
}

.button:hover,
.header-button:hover,
.small-button:hover {
  box-shadow: 0 12px 26px rgba(92, 104, 77, 0.22);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.hero {
  position: relative;
  height: calc(100vh - 76px);
  height: calc(100svh - 76px);
  min-height: 640px;
  max-height: 1000px;
  overflow: hidden;
  background: #ffffff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  background: #ffffff;
}

.hero-canvas {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(980px, 56vw);
  height: 100%;
  min-height: 0;
  padding: clamp(28px, 3.5vh, 38px) 0 clamp(42px, 7vh, 72px) clamp(64px, 5vw, 80px);
}

.eyebrow {
  margin: 0 0 clamp(44px, 5.4vh, 58px);
  color: var(--green);
  font-size: clamp(15px, 0.95vw, 17px);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.eyebrow::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin-top: 14px;
  background: var(--green);
}

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

h1 {
  max-width: 960px;
  margin-bottom: clamp(40px, 4.5vh, 48px);
  color: #292d28;
  font-size: clamp(48px, 3vw, 60px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-title__line,
.hero-title__switch {
  display: block;
}

.hero-title__switch {
  position: relative;
  display: inline-grid;
  max-width: 100%;
  min-height: 1.04em;
  color: #758363;
  white-space: nowrap;
}

.hero-title__measure,
.hero-title__stage {
  grid-area: 1 / 1;
}

.hero-title__measure,
.hero-title__current-measure {
  visibility: hidden;
  pointer-events: none;
}

.hero-title__current-measure {
  position: absolute;
  width: max-content;
  max-width: 100%;
  white-space: inherit;
}

.hero-title__stage {
  --hero-title-phrase-width: 100%;
  --hero-title-phrase-height: 1.04em;
  position: relative;
  justify-self: start;
  width: var(--hero-title-phrase-width);
  max-width: 100%;
  min-height: 1.04em;
}

.hero-title__mask {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0);
}

.hero-title__marker {
  position: absolute;
  top: 0.1em;
  width: 2px;
  height: calc(var(--hero-title-phrase-height) - 0.2em);
  background: currentColor;
  opacity: 0;
  pointer-events: none;
}

.hero-title__marker--left {
  left: 0;
}

.hero-title__marker--right {
  right: 0;
}

.hero-title__switch.is-lines-visible .hero-title__marker,
.hero-title__switch.is-closing .hero-title__marker,
.hero-title__switch.is-closed .hero-title__marker {
  opacity: 1;
}

.hero-title__switch.is-lines-visible .hero-title__marker {
  transition: opacity 120ms linear;
}

.hero-title__switch.is-closing .hero-title__mask {
  clip-path: inset(0 50%);
  transition: clip-path 350ms cubic-bezier(0.55, 0, 0.45, 1);
}

.hero-title__switch.is-closing .hero-title__marker--left,
.hero-title__switch.is-closed .hero-title__marker--left {
  transform: translateX(calc((var(--hero-title-phrase-width) / 2) - 1px));
}

.hero-title__switch.is-closing .hero-title__marker--right,
.hero-title__switch.is-closed .hero-title__marker--right {
  transform: translateX(calc(1px - (var(--hero-title-phrase-width) / 2)));
}

.hero-title__switch.is-closing .hero-title__marker {
  transition: transform 350ms cubic-bezier(0.55, 0, 0.45, 1);
}

.hero-title__switch.is-closed .hero-title__mask {
  clip-path: inset(0 50%);
}

.hero-title__switch.is-opening .hero-title__mask {
  clip-path: inset(0);
  transition: clip-path 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-title__switch.is-opening .hero-title__marker {
  opacity: 0;
  transition:
    transform 450ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 100ms linear 350ms;
}

.hero-title__switch.is-opening .hero-title__marker--left,
.hero-title__switch.is-opening .hero-title__marker--right {
  transform: translateX(0);
}

.hero-lead {
  max-width: 740px;
  margin-bottom: clamp(46px, 5.2vh, 56px);
  color: #4f554f;
  font-size: clamp(18px, 1.15vw, 22px);
  line-height: 1.4;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  max-width: 700px;
  margin-top: clamp(48px, 5.3vh, 58px);
}

.benefits article {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  min-width: 0;
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
  opacity: 0;
  transform: translateY(12px);
  animation: hero-benefit-reveal 0.52s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.benefits article:first-child {
  padding-left: 0;
}

.benefits article:last-child {
  padding-right: 0;
}

.benefits article + article::before {
  content: "";
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 0;
  width: 1px;
  background: #d9ddd2;
}

.benefits article:nth-child(1) {
  animation-delay: 0.22s;
}

.benefits article:nth-child(2) {
  animation-delay: 0.32s;
}

.benefits article:nth-child(3) {
  animation-delay: 0.42s;
}

.benefit-icon {
  display: grid;
  width: 34px;
  height: 34px;
  margin: 0;
  place-items: center;
  color: var(--green);
  transition: color 180ms ease, transform 180ms ease;
}

.benefit-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.benefits b {
  display: block;
  margin: 0;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.3;
}

.benefits article:hover .benefit-icon {
  color: #45633d;
  transform: translateY(-3px);
}

@keyframes hero-benefit-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title__marker {
    display: none;
  }

  .benefits article {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .benefit-icon {
    transition: none;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-actions .button {
  min-height: 58px;
  min-width: 278px;
  padding: 0 36px;
  border-radius: 7px;
  font-size: 17px;
  font-weight: 600;
}

.hero-actions .button.primary {
  background: #758363;
}

.hero-actions .button.primary:hover {
  background: #667354;
}

.hero-actions .button.secondary {
  background: rgba(241, 245, 235, 0.56);
  border-color: #879474;
  color: #68745a;
}

.hero-actions .button.secondary:hover {
  background: rgba(223, 230, 211, 0.46);
}

.section {
  padding: 82px 6vw;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  max-width: 1240px;
  margin: 0 auto 34px;
}

.section-head.centered {
  display: block;
  text-align: center;
}

.section-head h2,
.quote-intro h2,
.trust h2,
.contact-copy h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3.1vw, 42px);
  line-height: 1.2;
}

.section-head a {
  color: var(--green-dark);
  font-weight: 600;
}

.service-grid,
.project-grid,
.step-grid {
  display: grid;
  max-width: 1240px;
  margin: 0 auto;
  gap: 22px;
}

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

.service-card,
.project-card,
.step-grid article,
.contact-form,
.trust blockquote {
  overflow: hidden;
  border: 1px solid rgba(117, 134, 102, 0.22);
  border-radius: var(--radius);
  background: rgba(241, 245, 235, 0.82);
  box-shadow: 0 10px 34px rgba(57, 51, 40, 0.08);
}

.services {
  padding: 56px 4vw 64px;
  background: #ffffff;
}

.service-head {
  margin-bottom: 34px;
}

.service-head h2 {
  color: #2e332d;
  font-size: clamp(42px, 3vw, 56px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: 0;
}

.service-head p {
  margin: 14px auto 0;
  max-width: 1060px;
  color: #74776f;
  font-size: clamp(18px, 1.25vw, 21px);
  line-height: 1.4;
  text-align: center;
}

.services .service-grid {
  max-width: 1680px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.services .service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(117, 134, 102, 0.24);
  border-radius: 24px;
  background: #f1f5eb;
  box-shadow: 0 12px 30px rgba(57, 51, 40, 0.06);
  color: inherit;
  min-width: 0;
  min-height: 0;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

.services .service-card.is-highlighted {
  border-color: #9fbe45;
  box-shadow:
    inset 0 0 32px rgba(159, 190, 69, 0.14),
    0 0 0 3px rgba(159, 190, 69, 0.25),
    0 0 28px 8px rgba(159, 190, 69, 0.24),
    0 18px 48px rgba(76, 108, 55, 0.24);
  transform: translateY(-4px);
  transition-delay: 0s;
}

.service-photo {
  position: relative;
  overflow: hidden;
  margin: 12px 12px 0;
  height: 210px;
  border-radius: 16px 16px 10px 10px;
  background: var(--soft);
}

.service-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}

.service-card:nth-child(4) .service-photo img {
  object-position: center 48%;
}

.service-photo::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -45%;
  width: 36%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
  transform: skewX(-16deg);
  opacity: 0;
  pointer-events: none;
}

.service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 20px 20px;
  text-align: left;
}

.service-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #e4eadf;
  color: #68745a;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}

.service-body h3 {
  min-height: 2.25em;
  margin-bottom: 10px;
  color: #2e332d;
  font-size: clamp(24px, 1.45vw, 29px);
  font-weight: 700;
  line-height: 1.13;
}

.service-body p {
  width: 100%;
  min-height: 2.8em;
  margin-bottom: 14px;
  color: #5d625b;
  font-size: clamp(16px, 0.95vw, 18px);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.service-points {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-content: start;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.service-points li {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  min-height: 42px;
  padding: 6px 0;
  color: #2f352f;
  font-size: clamp(15px, 0.9vw, 17px);
  font-weight: 500;
  line-height: 1.35;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}

.service-points li + li {
  border-top: 1px solid rgba(217, 221, 210, 0.86);
}

.service-points li::before {
  content: "\2713";
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(104, 127, 91, 0.34);
  border-radius: 50%;
  background: #e8eee1;
  color: #58714f;
  font-size: 15px;
  font-weight: 700;
}

.service-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 56px;
  width: 100%;
  margin-top: auto;
  border-radius: 12px;
  background: #758666;
  color: #fff;
  font-size: clamp(17px, 1vw, 19px);
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(117, 134, 102, 0.22);
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.service-button span {
  display: inline-block;
  font-size: 30px;
  line-height: 0.8;
  transition: transform 0.24s ease;
}

@media (min-width: 1121px) {
  .services {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    box-sizing: border-box;
    height: calc(100svh - 82px);
    min-height: calc(100svh - 82px);
    padding: clamp(74px, 8.4vh, 92px) 4vw 2px;
  }

  .service-head {
    margin-bottom: clamp(14px, 1.8vh, 20px);
  }

  .service-head h2 {
    font-size: clamp(48px, 3vw, 60px);
    line-height: 1.04;
  }

  .service-head p {
    margin-top: 12px;
    font-size: clamp(19px, 1.35vw, 24px);
  }

  .services .service-grid {
    min-height: 0;
    height: 100%;
    gap: 18px;
    align-items: stretch;
  }

  .services .service-card {
    height: 100%;
    min-height: 0;
  }

  .service-photo {
    margin: 10px 10px 0;
    height: clamp(165px, 19.5vh, 255px);
    aspect-ratio: auto;
  }

  .service-body {
    min-height: 0;
    padding: 16px 22px 18px;
  }

  .service-tag {
    margin-bottom: 10px;
    padding: 6px 14px;
    font-size: 15px;
  }

  .service-body h3 {
    margin-bottom: 10px;
    font-size: clamp(24px, 1.6vw, 31px);
  }

  .service-body p {
    margin-bottom: 12px;
    font-size: clamp(16px, 1vw, 18px);
    line-height: 1.35;
  }

  .service-points {
    margin-bottom: 12px;
  }

  .service-points li {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    min-height: 40px;
    padding: 5px 0;
    font-size: clamp(15px, 0.95vw, 17px);
  }

  .service-points li::before {
    width: 28px;
    height: 28px;
    font-size: 15px;
  }

  .service-button {
    min-height: clamp(52px, 5.6vh, 58px);
    gap: 16px;
    font-size: clamp(18px, 1.15vw, 21px);
  }

  .service-button span {
    font-size: 31px;
  }
}

@media (min-width: 1121px) and (max-height: 700px) {
  .services {
    padding-top: 30px;
    padding-bottom: 16px;
  }

  .service-head {
    margin-bottom: 16px;
  }

  .service-head h2 {
    font-size: 48px;
  }

  .service-head p {
    margin-top: 7px;
    font-size: 17px;
  }

  .service-photo {
    height: 170px;
  }

  .service-body {
    padding: 16px 20px 18px;
  }

  .service-tag {
    margin-bottom: 10px;
  }

  .service-body h3 {
    margin-bottom: 8px;
    font-size: 23px;
  }

  .service-body p {
    margin-bottom: 10px;
    font-size: 15.5px;
    line-height: 1.35;
  }

  .service-points {
    margin-bottom: 10px;
  }

  .service-points li {
    min-height: 36px;
    padding: 4px 0;
  }

  .service-points li::before {
    width: 26px;
    height: 26px;
  }

  .service-button {
    min-height: 50px;
    font-size: 17px;
  }
}

@media (min-width: 1121px) {
  .services {
    display: block;
    height: auto;
    min-height: 0;
    padding: 56px 4vw 64px;
  }

  .service-head {
    margin-bottom: 34px;
  }

  .service-head h2 {
    font-size: clamp(42px, 3vw, 56px);
    line-height: 1.06;
  }

  .service-head p {
    margin-top: 14px;
    font-size: clamp(18px, 1.25vw, 21px);
  }

  .services .service-grid {
    height: auto;
    min-height: 0;
    gap: 20px;
  }

  .services .service-card {
    height: auto;
    min-height: 0;
  }

  .service-photo {
    height: 210px;
    margin: 12px 12px 0;
  }

  .service-body {
    min-height: 0;
    padding: 18px 20px 20px;
  }

  .service-tag {
    margin-bottom: 12px;
    padding: 7px 14px;
    font-size: 15px;
  }

  .service-body h3 {
    margin-bottom: 10px;
    font-size: clamp(24px, 1.45vw, 29px);
  }

  .service-body p {
    margin-bottom: 14px;
    font-size: clamp(16px, 0.95vw, 18px);
    line-height: 1.4;
  }

  .service-points {
    margin-bottom: 18px;
  }

  .service-points li {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    min-height: 42px;
    padding: 6px 0;
    font-size: clamp(15px, 0.9vw, 17px);
  }

  .service-points li::before {
    width: 28px;
    height: 28px;
    font-size: 15px;
  }

  .service-button {
    min-height: 56px;
    gap: 16px;
    font-size: clamp(17px, 1vw, 19px);
  }

  .service-button span {
    font-size: 30px;
  }
}

.services .service-card:hover {
  border-color: rgba(117, 134, 102, 0.35);
  box-shadow: 0 18px 45px rgba(46, 51, 45, 0.12);
  transform: translateY(-5px);
}

.services .service-grid:hover .service-card:not(:hover) {
  opacity: 1;
}

.services .service-card:hover .service-photo img {
  filter: contrast(1.04);
  transform: scale(1.025);
}

.services .service-card:hover .service-button,
.service-button:focus-visible {
  background: #667759;
  box-shadow: 0 14px 30px rgba(102, 119, 89, 0.28);
}

.service-button:focus-visible {
  outline: 3px solid rgba(117, 134, 102, 0.28);
  outline-offset: 3px;
}

.service-button:active {
  transform: scale(0.98);
}

.services .service-card:hover .service-button span,
.service-button:focus-visible span {
  transform: translateX(5px);
}

.services.services-animate .service-head h2,
.services.services-animate .service-head p,
.services.services-animate .service-card {
  opacity: 0;
  transform: translateY(20px);
}

.services.services-animate .service-card {
  transform: translateY(28px) scale(0.985);
}

.services.services-animate.is-visible .service-head h2 {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.services.services-animate.is-visible .service-head p {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.1s, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.services.services-animate.is-visible .service-card {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.services.services-animate.is-visible .service-card:nth-child(1) {
  transition-delay: 0.18s, 0.18s, 0s, 0s;
}

.services.services-animate.is-visible .service-card:nth-child(2) {
  transition-delay: 0.3s, 0.3s, 0s, 0s;
}

.services.services-animate.is-visible .service-card:nth-child(3) {
  transition-delay: 0.42s, 0.42s, 0s, 0s;
}

.services.services-animate.is-visible .service-card:nth-child(4) {
  transition-delay: 0.54s, 0.54s, 0s, 0s;
}

.services.services-animate.is-visible .service-photo::after {
  animation: service-glint 1.1s ease 0.72s 1;
}

.services.services-animate.is-visible .service-card:nth-child(2) .service-photo::after {
  animation-delay: 0.84s;
}

.services.services-animate.is-visible .service-card:nth-child(3) .service-photo::after {
  animation-delay: 0.96s;
}

.services.services-animate.is-visible .service-card:nth-child(4) .service-photo::after {
  animation-delay: 1.08s;
}

@keyframes service-glint {
  0% {
    opacity: 0;
    transform: translateX(0) skewX(-16deg);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(410%) skewX(-16deg);
  }
}

.quote-band {
  display: grid;
  grid-template-columns: minmax(220px, 310px) 1fr;
  gap: 34px;
  align-items: center;
  max-width: 1240px;
  margin: 54px auto 0;
  padding: 28px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 28%, rgba(241, 245, 235, 0.84), rgba(241, 245, 235, 0) 34%),
    linear-gradient(135deg, #d9e1d3, #e7eddf 48%, #cfd9c9);
}

.quote-intro {
  padding: 20px 12px;
}

.quote-intro h2 {
  margin-bottom: 18px;
}

.quote-intro p {
  color: var(--muted);
  line-height: 1.55;
}

.arrow-line {
  display: block;
  width: 90px;
  height: 70px;
  margin: 16px auto 0;
  border-right: 2px solid rgba(92, 104, 77, 0.45);
  border-bottom: 2px solid rgba(92, 104, 77, 0.45);
  border-radius: 0 0 55px 0;
  transform: rotate(18deg);
}

.quiz-section {
  --quiz-bg: #f5f7f3;
  --quiz-card: #fbfcfa;
  --quiz-text: #2e332d;
  --quiz-muted: #74776f;
  --quiz-green: #758666;
  --quiz-green-dark: #667759;
  --quiz-selected: #eef1e8;
  --quiz-line: #d9e1d3;
  --quiz-border: rgba(117, 134, 102, 0.18);
  --quiz-error: #b56c5d;
  --quiz-check-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='4 6 16 12'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  margin: 54px auto 0;
  padding: 0 6vw 92px;
  scroll-margin-top: 96px;
  color: var(--quiz-text);
  font-family: Arial, sans-serif;
}

.quiz-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(340px, 0.33fr) minmax(0, 0.67fr);
  gap: clamp(34px, 4vw, 56px);
  width: min(100%, 1560px);
  margin: 0 auto;
  padding: clamp(26px, 3.3vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(117, 134, 102, 0.2);
  border-radius: 30px;
  background:
    radial-gradient(circle at 17% 15%, rgba(223, 230, 211, 0.48), transparent 24%),
    radial-gradient(circle at 92% 96%, rgba(117, 134, 102, 0.12), transparent 24%),
    var(--quiz-bg);
  box-shadow: 0 22px 58px rgba(57, 51, 40, 0.12);
}

.quiz-intro,
.quiz-card {
  position: relative;
  z-index: 1;
}

.quiz-section .quiz-intro {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.quiz-section .quiz-card {
  opacity: 0;
  transform: translateY(30px) scale(0.985);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.15s, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.quiz-section.is-visible .quiz-intro,
.quiz-section.is-visible .quiz-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.quiz-intro {
  min-height: 700px;
  padding: 22px 2px 28px 2px;
  overflow: hidden;
}

.quiz-intro::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -82px;
  left: -46px;
  z-index: 0;
  height: 500px;
  background: none;
  opacity: 0.42;
  pointer-events: none;
}

.quiz-intro > * {
  position: relative;
  z-index: 1;
}

.quiz-eyebrow {
  margin: 0 0 36px;
  color: var(--quiz-green);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.quiz-intro h2 {
  max-width: 390px;
  margin: 0 0 22px;
  font-size: clamp(44px, 3.1vw, 56px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0;
}

.quiz-copy {
  max-width: 380px;
  margin: 0 0 32px;
  color: var(--quiz-text);
  font-size: 20px;
  line-height: 1.34;
}

.quiz-benefits {
  display: grid;
  gap: 18px;
  max-width: 360px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quiz-benefits li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  align-items: center;
  color: var(--quiz-text);
  font-size: 16px;
  font-weight: 500;
}

.quiz-mini-icon {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: #e7eddf;
  color: var(--quiz-green);
}

.quiz-mini-icon::before,
.quiz-mini-icon::after,
.quiz-trust-note span::before,
.quiz-trust-note span::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.quiz-mini-clock::before {
  width: 25px;
  height: 25px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.quiz-mini-clock::after {
  width: 10px;
  height: 12px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: translate(3px, -2px);
}

.quiz-mini-window::before {
  width: 28px;
  height: 22px;
  border: 3px solid currentColor;
  border-radius: 4px;
}

.quiz-mini-window::after {
  width: 3px;
  height: 22px;
  background: currentColor;
  box-shadow: 9px 0 0 currentColor;
}

.quiz-mini-tape::before {
  width: 30px;
  height: 18px;
  border: 3px solid currentColor;
  border-radius: 9px 5px 5px 9px;
}

.quiz-mini-tape::after {
  width: 12px;
  height: 5px;
  border: 2px solid currentColor;
  border-radius: 4px;
  transform: translate(5px, 0);
}

.quiz-trust-note {
  position: absolute;
  left: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  align-items: center;
  width: min(100%, 328px);
  min-height: 62px;
  padding: 14px 20px;
  border: 1px solid rgba(117, 134, 102, 0.18);
  border-radius: 14px;
  background: rgba(241, 245, 235, 0.72);
}

.quiz-trust-note span {
  position: relative;
  width: 28px;
  height: 28px;
  color: var(--quiz-green);
}

.quiz-trust-note span::before {
  inset: 3px;
  border: 2px solid currentColor;
  transform: rotate(45deg);
}

.quiz-trust-note span::after {
  left: 8px;
  top: 6px;
  width: 9px;
  height: 16px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(42deg);
}

.quiz-trust-note p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.22;
}

.quiz-decor-window {
  position: absolute;
  right: 8px;
  bottom: 54px;
  width: 170px;
  height: 170px;
  fill: none;
  stroke: rgba(117, 134, 102, 0.34);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  display: none;
}

.quiz-card {
  align-self: stretch;
  min-height: 740px;
  padding: clamp(30px, 3.2vw, 50px);
  border: 1px solid rgba(117, 134, 102, 0.23);
  border-radius: 24px;
  background: var(--quiz-card);
  box-shadow: 0 18px 45px rgba(57, 51, 40, 0.08);
}

.quiz-progress-title {
  margin: 0 0 22px;
  font-size: 20px;
  font-weight: 600;
}

.quiz-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 22px;
}

.quiz-step-dot {
  position: relative;
  display: grid;
  gap: 10px;
  justify-items: center;
  color: var(--quiz-muted);
  font-size: 14px;
}

.quiz-step-dot::before {
  content: "";
  position: absolute;
  top: 16px;
  left: calc(-50% + 28px);
  width: calc(100% - 34px);
  height: 2px;
  background: var(--quiz-line);
}

.quiz-step-dot:first-child::before {
  display: none;
}

.quiz-step-dot.is-active,
.quiz-step-dot.is-done {
  color: var(--quiz-green);
}

.quiz-step-dot.is-done::before,
.quiz-step-dot.is-active::before {
  background: var(--quiz-green);
}

.quiz-step-dot span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #d8d5ce;
  border-radius: 50%;
  background: #fff;
  color: var(--quiz-text);
  font-weight: 600;
  line-height: 1;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.22s ease;
}

.quiz-step-dot.is-active span,
.quiz-step-dot.is-done span {
  border-color: var(--quiz-green);
  background: var(--quiz-green);
  color: #fff;
}

.quiz-step-dot.is-done span {
  font-size: 0;
  background-color: var(--quiz-green);
  background-image: var(--quiz-check-icon);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 54% auto;
}

.quiz-step-dot.is-done span::before {
  content: none;
}

.quiz-progress-track {
  height: 6px;
  margin-bottom: 34px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--quiz-line);
}

.quiz-progress-fill {
  width: var(--quiz-progress, 25%);
  height: 100%;
  border-radius: inherit;
  background: var(--quiz-green);
  transition: width 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.quiz-step-content {
  min-height: 430px;
}

.quiz-step-content.is-entering {
  animation: none;
}

.quiz-step-content.is-leaving-next {
  animation: none;
}

.quiz-step-content.is-leaving-prev {
  animation: none;
}

.quiz-question h3 {
  margin: 0;
  color: var(--quiz-text);
  font-size: clamp(26px, 2vw, 31px);
  line-height: 1.16;
}

.quiz-question p {
  margin: 6px 0 22px;
  color: var(--quiz-muted);
  font-size: 16px;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(var(--quiz-cols, 4), minmax(0, 1fr));
  gap: 18px;
}

.quiz-options-grid.is-five {
  --quiz-cols: 3;
}

.quiz-options-grid.is-five .quiz-choice-card {
  min-height: 206px;
}

.quiz-options-grid.is-five .quiz-visual {
  width: 76px;
  height: 76px;
  margin-bottom: 16px;
}

.quiz-options-grid.is-five .quiz-choice.quiz-choice-card h4 {
  font-size: clamp(18px, 1.08vw, 21px);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.quiz-options-grid.is-five .quiz-choice.quiz-choice-card p {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.quiz-options-list {
  display: grid;
  gap: 12px;
}

.quiz-options-list-illustrated {
  gap: 10px;
}

.quiz-options-list-illustrated .quiz-choice-list {
  min-height: 78px;
  grid-template-columns: 158px minmax(0, 1fr) 30px;
  gap: 18px;
  align-items: center;
  padding: 7px 54px 7px 14px;
}

.quiz-options-list-illustrated .quiz-visual {
  width: 144px;
  height: 64px;
  margin: 0;
  border-radius: 8px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  box-shadow: none;
  color: transparent;
}

.quiz-options-list-illustrated .quiz-visual svg {
  display: none;
}

.quiz-options-list-illustrated .quiz-choice-list::after {
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
}

.quiz-options-list-illustrated .quiz-choice-list h4 {
  margin-bottom: 3px;
  padding-right: 0;
  font-size: clamp(16px, 0.95vw, 18px);
  line-height: 1.16;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.quiz-options-list-illustrated .quiz-choice-list p {
  font-size: 14px;
  line-height: 1.22;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.quiz-options-list-with-images {
  gap: 10px;
}

.quiz-options-list-with-images .quiz-choice-list {
  min-height: 78px;
  grid-template-columns: 148px minmax(0, 1fr) 30px;
  gap: 20px;
  align-items: center;
  padding: 7px 54px 7px 14px;
}

.quiz-options-list-with-images .quiz-choice-list .quiz-visual {
  width: 136px;
  height: 64px;
  margin: 0;
}

.quiz-options-list-with-images .quiz-choice-list h4 {
  margin-bottom: 3px;
  padding-right: 0;
  font-size: clamp(17px, 1vw, 20px);
  line-height: 1.16;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.quiz-options-list-with-images .quiz-choice-list p {
  font-size: 15px;
  line-height: 1.22;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.quiz-options-list-with-images .quiz-choice-list::after {
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
}

.quiz-timing-grid {
  --quiz-cols: 2;
  gap: 14px 18px;
}

.quiz-timing-grid .quiz-choice-list {
  min-height: 76px;
  grid-template-columns: 54px minmax(0, 1fr) 28px;
  gap: 14px;
  align-items: center;
  padding: 14px 52px 14px 18px;
}

.quiz-timing-grid .quiz-choice-list::after {
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
}

.quiz-timing-grid .quiz-choice-list h4 {
  margin: 0;
  padding-right: 0;
  font-size: clamp(16px, 1vw, 18px);
  line-height: 1.2;
  overflow-wrap: normal;
  word-break: normal;
}

.quiz-timing-grid .quiz-visual {
  width: 44px;
  height: 44px;
}

.quiz-choice {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  border: 2px solid rgba(117, 134, 102, 0.2);
  border-radius: 14px;
  background: rgba(241, 245, 235, 0.86);
  color: var(--quiz-text);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.quiz-choice:hover,
.quiz-choice:focus-visible {
  border-color: rgba(117, 134, 102, 0.45);
  box-shadow: 0 14px 34px rgba(46, 51, 45, 0.1);
  outline: none;
}

.quiz-choice.is-selected {
  border-color: var(--quiz-green);
  background: var(--quiz-selected);
  animation: none;
}

.quiz-choice::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 14px;
  width: 25px;
  height: 25px;
  border: 2px solid #d3d9cb;
  border-radius: 50%;
  background: #fff;
}

.quiz-choice.is-selected::after {
  border-color: var(--quiz-green);
  background-color: var(--quiz-green);
  background-image: var(--quiz-check-icon);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 54% auto;
  box-shadow: none;
}

.quiz-choice.is-selected::before {
  content: none;
}

.quiz-choice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 226px;
  padding: 24px 22px 24px;
}

.quiz-choice-card h4 {
  width: 100%;
  font-size: clamp(18px, 0.98vw, 20px);
}

.quiz-choice-list {
  min-height: 64px;
  grid-template-columns: 62px 1fr 32px;
  gap: 18px;
  align-items: center;
  padding: 10px 48px 10px 14px;
}

.quiz-choice-list::after {
  top: 50%;
  transform: translateY(-50%);
}

.quiz-visual {
  display: grid;
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  background: rgba(238, 241, 232, 0.68);
  color: var(--quiz-green);
}

.quiz-choice-list .quiz-visual {
  width: 50px;
  height: 50px;
  margin: 0;
}

.quiz-options-list-illustrated .quiz-choice-list .quiz-visual {
  width: 144px;
  height: 64px;
  margin: 0;
}

.quiz-visual svg {
  width: 86%;
  height: 86%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
}

.quiz-visual.quiz-visual-image {
  border-radius: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  box-shadow: none;
  color: transparent;
}

.quiz-visual.quiz-visual-image svg {
  display: none;
}

/* The quiz is intentionally text-only; legacy image-backed variants were removed. */

.quiz-visual.quiz-visual-plastic-one-window {
  background-size: contain;
}

.quiz-visual.quiz-visual-plastic-two-three {
  background-size: contain;
}

.quiz-visual.quiz-visual-plastic-balcony-block {
  background-size: contain;
}

.quiz-visual.quiz-visual-plastic-four-plus {
  background-size: contain;
}

.quiz-visual.quiz-visual-plastic-consult {
  background-size: contain;
}

.quiz-visual.quiz-visual-cottage-panorama,
.quiz-visual.quiz-visual-cottage-terrace,
.quiz-visual.quiz-visual-cottage-sliding,
.quiz-visual.quiz-visual-cottage-facade,
.quiz-visual.quiz-visual-cottage-consult {
  background-size: contain;
}

.quiz-visual.quiz-visual-commercial-office,
.quiz-visual.quiz-visual-commercial-store,
.quiz-visual.quiz-visual-commercial-entrance,
.quiz-visual.quiz-visual-commercial-production,
.quiz-visual.quiz-visual-commercial-other {
  background-size: contain;
}

.quiz-choice-card .quiz-visual.quiz-visual-image[class*="quiz-visual-priority-"] {
  width: min(100%, 172px);
  height: 116px;
  margin: 0 auto 14px;
  border-radius: 8px;
  background-size: contain;
}

.quiz-choice-card .quiz-visual.quiz-visual-image[class*="quiz-visual-balcony-scenario-"] {
  width: min(100%, 180px);
  height: 176px;
  margin: -8px auto 10px;
  border-radius: 8px;
  background-size: 148% auto;
}

.quiz-choice-card .quiz-visual.quiz-visual-image[class*="quiz-visual-cottage-priority-"] {
  width: min(100%, 180px);
  height: 176px;
  margin: -8px auto 10px;
  border-radius: 8px;
  background-size: 148% auto;
}

.quiz-options-grid.is-five .quiz-choice-card .quiz-visual.quiz-visual-image[class*="quiz-visual-commercial-priority-"] {
  width: min(100%, 180px);
  height: 160px;
  margin: -4px auto 12px;
  border-radius: 8px;
  background-size: 136% auto;
}

.quiz-subquestion .quiz-choice-card .quiz-visual.quiz-visual-image[class*="quiz-visual-opening-"] {
  width: min(100%, 150px);
  height: 78px;
  margin: 0 auto 10px;
  border-radius: 8px;
  background-size: contain;
}

.quiz-choice h4 {
  margin: 0 0 12px;
  padding-right: 0;
  font-size: clamp(18px, 1.16vw, 22px);
  font-weight: 600;
  line-height: 1.15;
  overflow-wrap: normal;
}

.quiz-choice-card > * {
  min-width: 0;
  max-width: 100%;
}

.quiz-choice-card > span:not(.quiz-visual) {
  width: 100%;
}

.quiz-choice.quiz-choice-card h4 {
  width: 100%;
  max-width: 100%;
  font-size: clamp(17px, 0.95vw, 19px);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.quiz-choice.quiz-choice-card p {
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.quiz-choice p {
  margin: 0;
  color: var(--quiz-muted);
  font-size: 15px;
  line-height: 1.32;
  overflow-wrap: normal;
}

.quiz-choice-list h4 {
  padding-right: 28px;
}

.quiz-choice-list h4 {
  margin-bottom: 4px;
  font-size: 17px;
}

.quiz-subquestion {
  margin-top: 20px;
}

.quiz-subquestion h4 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
}

.quiz-subquestion .quiz-options-grid {
  --quiz-cols: 4;
}

.quiz-subquestion .quiz-choice-card {
  min-height: 150px;
  padding: 14px 42px 14px 16px;
}

.quiz-subquestion .quiz-choice-card h4 {
  margin: 0 0 5px;
  font-size: 15px;
}

.quiz-subquestion .quiz-choice-card p {
  font-size: 13px;
}

.quiz-actions {
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(360px, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--quiz-line);
}

.quiz-safe {
  display: none;
  gap: 12px;
  align-items: center;
  grid-column: 1 / -1;
  color: var(--quiz-muted);
  font-size: 14px;
}

.quiz-safe::before {
  content: "";
  width: 18px;
  height: 26px;
  border-right: 2px solid var(--quiz-green);
  border-bottom: 2px solid var(--quiz-green);
  transform: rotate(42deg);
}

.quiz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  border: 1px solid var(--quiz-green);
  border-radius: 9px;
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  font-weight: 600;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, opacity 0.22s ease;
}

.quiz-btn-primary {
  grid-column: 2;
  background: var(--quiz-green);
  color: #fff;
  box-shadow: 0 12px 24px rgba(117, 134, 102, 0.2);
}

.quiz-btn-secondary {
  grid-column: 1;
  background: transparent;
  color: var(--quiz-green-dark);
}

.quiz-btn:hover:not(:disabled),
.quiz-btn:focus-visible:not(:disabled) {
  background: var(--quiz-green-dark);
  color: #fff;
  box-shadow: 0 14px 30px rgba(102, 119, 89, 0.26);
  transform: translateY(-2px);
  outline: none;
}

.quiz-btn span {
  display: inline-block;
  transition: transform 0.22s ease;
}

.quiz-btn-primary:hover span,
.quiz-btn-primary:focus-visible span {
  transform: translateX(5px);
}

.quiz-btn:active:not(:disabled) {
  transform: scale(0.98);
}

.quiz-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.quiz-form-block {
  margin-top: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--quiz-line);
}

.quiz-form-block h3 {
  margin: 0 0 6px;
  font-size: 26px;
  line-height: 1.2;
}

.quiz-form-block > p {
  margin: 0 0 20px;
  color: var(--quiz-muted);
  font-size: 15px;
}

.quiz-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  margin-bottom: 18px;
}

.quiz-field {
  display: grid;
  gap: 8px;
}

.quiz-field label,
.quiz-contact-title {
  color: var(--quiz-text);
  font-size: 14px;
  font-weight: 600;
}

.quiz-input-wrap {
  position: relative;
}

.quiz-field input {
  width: 100%;
  min-height: 56px;
  padding: 0 44px 0 20px;
  border: 1px solid rgba(117, 134, 102, 0.22);
  border-radius: 12px;
  background: #f1f5eb;
  color: var(--quiz-text);
  outline: none;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quiz-field input:focus {
  border-color: var(--quiz-green);
  box-shadow: 0 0 0 4px rgba(117, 134, 102, 0.14);
}

.quiz-field.is-valid .quiz-input-wrap::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 18px;
  width: 8px;
  height: 15px;
  border-right: 3px solid var(--quiz-green);
  border-bottom: 3px solid var(--quiz-green);
  transform: rotate(42deg);
}

.quiz-field.is-error input {
  border-color: var(--quiz-error);
}

.quiz-error-text {
  min-height: 18px;
  color: var(--quiz-error);
  font-size: 13px;
}

.quiz-contact-method {
  display: grid;
  grid-template-columns: minmax(0, 250px) minmax(0, 250px);
  gap: 18px;
  margin: 8px 0 0;
}

.quiz-contact-method .quiz-choice-list {
  min-height: 54px;
  grid-template-columns: 44px 1fr 24px;
  padding: 8px 42px 8px 12px;
}

.quiz-contact-method .quiz-visual {
  width: 36px;
  height: 36px;
}

.quiz-contact-method .quiz-icon-phone {
  width: 76%;
  height: 76%;
  stroke-width: 1.7;
}

.quiz-contact-method h4 {
  margin: 0;
  font-size: 15px;
}

.quiz-form-actions {
  display: grid;
  grid-template-columns: minmax(160px, 210px) 1fr minmax(260px, 390px);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.quiz-form-actions .quiz-btn-primary {
  grid-column: 3;
}

.quiz-form-actions .quiz-btn-secondary {
  grid-column: 1;
}

.quiz-status {
  grid-column: 1 / -1;
  min-height: 20px;
  color: var(--quiz-error);
  font-size: 14px;
}

.quiz-success {
  display: grid;
  min-height: 640px;
  place-items: center;
  text-align: center;
}

.quiz-success-card {
  width: min(100%, 680px);
  padding: clamp(38px, 5vw, 74px);
  border: 1px solid rgba(117, 134, 102, 0.22);
  border-radius: 24px;
  background: var(--quiz-card);
  box-shadow: 0 18px 45px rgba(57, 51, 40, 0.08);
}

.quiz-success-mark {
  position: relative;
  display: grid;
  width: 132px;
  height: 132px;
  margin: 0 auto 34px;
  place-items: center;
  border-radius: 50%;
  background: #e7eddf;
  animation: quiz-success-in 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.quiz-success-mark::before {
  content: "";
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--quiz-green);
}

.quiz-success-mark::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 52px;
  border-right: 8px solid #fff;
  border-bottom: 8px solid #fff;
  transform: rotate(42deg) translate(-4px, -3px);
}

.quiz-success h3 {
  margin: 0 0 26px;
  font-size: 34px;
  line-height: 1.15;
}

.quiz-success p {
  max-width: 560px;
  margin: 0 auto 34px;
  color: var(--quiz-muted);
  font-size: 20px;
  line-height: 1.35;
}

.quiz-success-info {
  display: inline-grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
  align-items: center;
  max-width: 480px;
  margin-bottom: 38px;
  padding: 18px 34px;
  border: 1px solid rgba(117, 134, 102, 0.18);
  border-radius: 16px;
  background: #e7eddf;
  text-align: left;
}

.quiz-success-info .quiz-mini-icon {
  width: 36px;
  height: 36px;
  background: transparent;
}

.quiz-return {
  width: min(100%, 380px);
  background: transparent;
  color: var(--quiz-green-dark);
}

@keyframes quiz-check-in {
  from {
    opacity: 0;
    transform: scale(0.75);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes quiz-selected-pulse {
  50% {
    transform: scale(1.012);
  }
}

@keyframes quiz-step-enter {
  from {
    opacity: 0;
    transform: translateX(var(--quiz-enter-x, 18px));
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes quiz-step-leave-next {
  to {
    opacity: 0;
    transform: translateX(-18px);
  }
}

@keyframes quiz-step-leave-prev {
  to {
    opacity: 0;
    transform: translateX(18px);
  }
}

@keyframes quiz-success-in {
  from {
    opacity: 0;
    transform: scale(0.82);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1320px) {
  .quiz-shell {
    grid-template-columns: 1fr;
  }

  .quiz-intro {
    min-height: 0;
    padding-bottom: 56px;
  }

  .quiz-intro::after {
    right: -24px;
    bottom: -34px;
    left: auto;
    width: min(760px, 88vw);
    height: 360px;
    background-size: 116% auto;
    background-position: right bottom;
    opacity: 0.34;
  }

  .quiz-intro h2,
  .quiz-copy {
    max-width: 760px;
  }

  .quiz-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 880px;
  }

  .quiz-decor-window {
    right: 8%;
    bottom: 8px;
  }
}

@media (min-width: 1321px) and (max-height: 1180px) {
  .quiz-section {
    margin-top: 28px;
    padding-bottom: 46px;
    scroll-margin-top: 84px;
  }

  .quiz-shell {
    gap: clamp(28px, 3vw, 44px);
    padding: 24px 30px;
    border-radius: 24px;
  }

  .quiz-intro {
    min-height: 0;
    padding: 8px 0 18px;
  }

  .quiz-intro::after {
    right: -54px;
    bottom: -54px;
    left: -34px;
    height: 390px;
    background-size: 132% auto;
    opacity: 0.34;
  }

  .quiz-eyebrow {
    margin-bottom: 20px;
    font-size: 15px;
  }

  .quiz-intro h2 {
    max-width: 380px;
    margin-bottom: 18px;
    font-size: clamp(40px, 2.55vw, 48px);
    line-height: 1.12;
  }

  .quiz-copy {
    max-width: 370px;
    margin-bottom: 24px;
    font-size: 18px;
    line-height: 1.3;
  }

  .quiz-benefits {
    gap: 14px;
  }

  .quiz-benefits li {
    grid-template-columns: 42px 1fr;
    gap: 14px;
    font-size: 15px;
  }

  .quiz-mini-icon {
    width: 42px;
    height: 42px;
  }

  .quiz-card {
    min-height: 0;
    padding: 28px 34px;
    border-radius: 22px;
  }

  .quiz-progress-title {
    margin-bottom: 12px;
    font-size: 18px;
  }

  .quiz-steps {
    gap: 14px;
    margin-bottom: 12px;
  }

  .quiz-step-dot {
    gap: 7px;
    font-size: 13px;
  }

  .quiz-step-dot::before {
    top: 14px;
  }

  .quiz-step-dot span {
    width: 30px;
    height: 30px;
  }

  .quiz-progress-track {
    height: 5px;
    margin-bottom: 24px;
  }

  .quiz-step-content {
    min-height: 0;
  }

  .quiz-question h3 {
    font-size: clamp(25px, 1.72vw, 30px);
    line-height: 1.12;
  }

  .quiz-question p {
    margin: 5px 0 16px;
    font-size: 15px;
  }

  .quiz-options-list {
    gap: 10px;
  }

  .quiz-choice-list {
    min-height: 58px;
    grid-template-columns: 54px 1fr 30px;
    gap: 16px;
    padding: 8px 46px 8px 12px;
  }

  .quiz-choice-list .quiz-visual {
    width: 44px;
    height: 44px;
  }

  .quiz-choice-list h4 {
    margin-bottom: 2px;
    font-size: 16px;
  }

  .quiz-choice p {
    font-size: 14px;
    line-height: 1.24;
  }

  .quiz-options-list-illustrated .quiz-choice-list {
    min-height: 72px;
    grid-template-columns: 144px minmax(0, 1fr) 28px;
    gap: 16px;
    padding: 6px 48px 6px 12px;
  }

  .quiz-options-list-illustrated .quiz-visual,
  .quiz-options-list-illustrated .quiz-choice-list .quiz-visual {
    width: 132px;
    height: 60px;
  }

  .quiz-options-list-with-images .quiz-choice-list {
    min-height: 76px;
    grid-template-columns: 148px minmax(0, 1fr) 28px;
    gap: 16px;
    padding: 6px 48px 6px 12px;
  }

  .quiz-options-list-with-images .quiz-choice-list .quiz-visual {
    width: 136px;
    height: 64px;
  }

  .quiz-options-list-with-images .quiz-choice-list h4 {
    margin-bottom: 2px;
    font-size: 16px;
    line-height: 1.16;
  }

  .quiz-options-list-with-images .quiz-choice-list p {
    font-size: 14px;
    line-height: 1.2;
  }

  .quiz-actions {
    gap: 16px;
    margin-top: 24px;
    padding-top: 18px;
  }

  .quiz-btn {
    min-height: 46px;
    font-size: 17px;
  }

  .quiz-timing-grid {
    --quiz-cols: 2;
    gap: 10px 14px;
  }

  .quiz-timing-grid .quiz-choice-list {
    min-height: 58px;
    grid-template-columns: 38px minmax(0, 1fr) 24px;
    gap: 10px;
    padding: 8px 36px 8px 10px;
  }

  .quiz-timing-grid .quiz-visual {
    width: 34px;
    height: 34px;
  }

  .quiz-timing-grid .quiz-choice-list h4 {
    font-size: 15px;
    line-height: 1.16;
    white-space: normal;
  }

  .quiz-form-block {
    margin-top: 16px;
    padding-top: 18px;
  }

  .quiz-form-block h3 {
    font-size: 24px;
  }

  .quiz-form-block > p {
    margin-bottom: 14px;
    font-size: 14px;
  }

  .quiz-fields {
    gap: 12px 20px;
    margin-bottom: 12px;
  }

  .quiz-field {
    gap: 6px;
  }

  .quiz-field input {
    min-height: 48px;
    border-radius: 10px;
  }

  .quiz-contact-method {
    gap: 12px;
    margin-top: 6px;
  }

  .quiz-contact-method .quiz-choice-list {
    min-height: 48px;
  }

  .quiz-form-actions {
    gap: 14px;
    margin-top: 12px;
  }

}

@media (max-width: 900px) {
  .quiz-section {
    padding-bottom: 70px;
  }

  .quiz-shell {
    padding: 24px;
    border-radius: 24px;
  }

  .quiz-card {
    min-height: 0;
    padding: 26px;
    border-radius: 20px;
  }

  .quiz-intro h2 {
    font-size: clamp(34px, 8vw, 48px);
  }

  .quiz-copy {
    font-size: 18px;
  }

  .quiz-steps {
    gap: 8px;
  }

  .quiz-step-dot {
    font-size: 12px;
  }

  .quiz-step-dot::before {
    display: none;
  }

  .quiz-options-grid,
  .quiz-options-grid.is-five,
  .quiz-subquestion .quiz-options-grid {
    --quiz-cols: 2;
  }

  .quiz-choice-card {
    min-height: 210px;
  }

  .quiz-actions,
  .quiz-form-actions {
    grid-template-columns: 1fr 1fr;
  }

  .quiz-btn-primary,
  .quiz-form-actions .quiz-btn-primary {
    grid-column: 2;
  }

  .quiz-btn-secondary,
  .quiz-form-actions .quiz-btn-secondary {
    grid-column: 1;
  }

  .quiz-safe,
  .quiz-status {
    grid-column: 1 / -1;
  }

  .quiz-fields {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .quiz-section {
    margin-top: 34px;
    padding: 0 14px 56px;
  }

  .quiz-shell {
    gap: 18px;
    padding: 16px;
    border-radius: 20px;
  }

  .quiz-intro {
    padding: 12px 2px 42px;
  }

  .quiz-eyebrow {
    margin-bottom: 18px;
    font-size: 13px;
  }

  .quiz-intro h2 {
    font-size: 34px;
    line-height: 1.16;
  }

  .quiz-copy {
    font-size: 16px;
  }

  .quiz-benefits {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .quiz-benefits li {
    grid-template-columns: 38px 1fr;
    gap: 12px;
    font-size: 14px;
  }

  .quiz-mini-icon {
    width: 38px;
    height: 38px;
  }

  .quiz-decor-window {
    display: none;
  }

  .quiz-card {
    padding: 20px;
  }

  .quiz-progress-title {
    margin-bottom: 16px;
    font-size: 18px;
  }

  .quiz-step-dot {
    gap: 6px;
  }

  .quiz-step-dot b {
    display: none;
  }

  .quiz-step-dot span {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .quiz-progress-track {
    height: 5px;
    margin-bottom: 26px;
  }

  .quiz-step-content {
    min-height: 0;
  }

  .quiz-question h3 {
    font-size: 24px;
  }

  .quiz-options-grid,
  .quiz-options-grid.is-five,
  .quiz-subquestion .quiz-options-grid {
    --quiz-cols: 1;
  }

  .quiz-choice-card {
    min-height: 0;
    padding: 18px 48px 18px 16px;
  }

  .quiz-visual {
    width: 76px;
    height: 76px;
    margin-bottom: 14px;
  }

  .quiz-choice h4 {
    font-size: 18px;
  }

  .quiz-choice-list {
    grid-template-columns: 48px 1fr 24px;
    gap: 12px;
    padding: 10px 42px 10px 10px;
  }

  .quiz-options-list-illustrated .quiz-choice-list {
    min-height: 82px;
    grid-template-columns: 108px minmax(0, 1fr) 24px;
    gap: 12px;
    padding: 10px 42px 10px 10px;
  }

  .quiz-options-list-illustrated .quiz-visual {
    width: 98px;
    height: 58px;
  }

  .quiz-options-list-illustrated .quiz-choice-list h4 {
    font-size: 16px;
  }

  .quiz-options-list-illustrated .quiz-choice-list p {
    font-size: 13px;
  }

  .quiz-contact-method {
    grid-template-columns: 1fr;
  }

  .quiz-actions,
  .quiz-form-actions {
    grid-template-columns: 1fr;
  }

  .quiz-btn,
  .quiz-btn-primary,
  .quiz-btn-secondary,
  .quiz-form-actions .quiz-btn-primary,
  .quiz-form-actions .quiz-btn-secondary {
    grid-column: 1;
    width: 100%;
    min-height: 52px;
    font-size: 16px;
  }

  .quiz-safe {
    grid-column: 1;
  }

  .quiz-success {
    min-height: 520px;
  }

  .quiz-success-card {
    padding: 34px 20px;
  }

  .quiz-success h3 {
    font-size: 28px;
  }

  .quiz-success p {
    font-size: 16px;
  }

  .quiz-success-info {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quiz-section *,
  .quiz-section *::before,
  .quiz-section *::after {
    animation-duration: 0.1s;
    transition-duration: 0.1s;
  }

  .quiz-choice:hover,
  .quiz-choice:focus-visible,
  .quiz-btn:hover:not(:disabled),
  .quiz-btn:focus-visible:not(:disabled) {
    transform: none;
  }
}

.calc-form {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1.05fr 1.15fr;
  gap: 18px;
  align-items: start;
  padding: 30px;
  border-radius: 8px;
  background: rgba(241, 245, 235, 0.92);
  box-shadow: var(--shadow);
}

.calc-form label {
  display: grid;
  gap: 12px;
}

.calc-form label > span {
  color: #4b4f48;
  font-size: 14px;
  font-weight: 600;
}

.calc-form input,
.calc-form select,
.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f1f5eb;
  color: var(--text);
  padding: 0 16px;
  outline: none;
}

.calc-form input:focus,
.calc-form select:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(117, 131, 99, 0.18);
}

.calc-result {
  grid-column: 2 / 4;
  display: grid;
  min-height: 48px;
  place-items: center;
  border: 1px dashed rgba(117, 131, 99, 0.45);
  border-radius: 5px;
  color: var(--green-dark);
  font-weight: 600;
}

.calc-button {
  grid-column: 4;
  width: 100%;
}

.projects {
  padding-top: 86px;
  padding-bottom: 84px;
}

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

.project-image {
  position: relative;
  height: 265px;
  overflow: hidden;
}

.compare-image {
  --split: 50%;
  cursor: ew-resize;
  user-select: none;
  touch-action: pan-y;
}

.project-card:nth-child(1) .compare-image {
  --compare-before-image: url("assets/project-balcony-before.webp");
  --compare-after-image: url("assets/project-balcony-after.webp");
}

.project-card:nth-child(2) .compare-image {
  --compare-before-image: url("assets/project-cottage-before-v2.webp");
  --compare-after-image: url("assets/project-cottage-after-v2.webp");
}

.project-card:nth-child(3) .compare-image {
  --compare-before-image: url("assets/project-flat-before-v2.webp");
  --compare-after-image: url("assets/project-flat-after.webp");
}

.project-card:nth-child(4) .compare-image {
  --compare-before-image: url("assets/project-commercial-before.webp");
  --compare-after-image: url("assets/project-commercial-after.webp");
}

.project-card:nth-child(5) .compare-image {
  --compare-before-image: url("assets/project-loggia-before.webp");
  --compare-after-image: url("assets/project-loggia-after.webp");
}

.project-card:nth-child(6) .compare-image {
  --compare-before-image: url("assets/project-terrace-before.webp");
  --compare-after-image: url("assets/project-terrace-after.webp");
}

.compare-image .compare-before,
.compare-image .compare-after {
  position: absolute;
  inset: 0;
  height: 100%;
  background-position: center;
  background-size: cover;
}

.compare-image .compare-before {
  background-image: var(--compare-before-image);
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}

.compare-image .compare-after {
  background-image: var(--compare-after-image);
  clip-path: inset(0 0 0 var(--split));
}

.compare-image:focus-visible {
  outline: 3px solid rgba(117, 131, 99, 0.42);
  outline-offset: 3px;
}

.project-image .before,
.project-image .after {
  position: absolute;
  z-index: 2;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: 4px;
  background: rgba(241, 245, 235, 0.88);
  color: #62665d;
  font-size: 12px;
  font-weight: 600;
}

.project-image .before {
  left: 12px;
}

.project-image .after {
  right: 12px;
}

.divider {
  position: absolute;
  z-index: 3;
  inset: 0 auto 0 var(--split);
  width: 2px;
  background: rgba(241, 245, 235, 0.92);
}

.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(241, 245, 235, 0.95);
  box-shadow: 0 4px 16px rgba(57, 51, 40, 0.18);
  transform: translate(-50%, -50%);
}

.project-body {
  position: relative;
  padding: 18px 20px 22px;
}

.project-body p {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
}

.project-body p span {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 4px;
  background: var(--soft);
}

.project-body h3 {
  margin-bottom: 8px;
  padding-right: 58px;
  font-size: 20px;
  line-height: 1.25;
}

.project-body small {
  color: var(--muted);
}

.project-body b {
  position: absolute;
  right: 20px;
  bottom: 22px;
}

.work-process {
  overflow: hidden;
  padding: clamp(88px, 7vw, 116px) 6vw clamp(96px, 8vw, 128px);
  color: #253129;
  background: #ffffff;
}

.work-process__inner {
  width: min(100%, 1480px);
  margin: 0 auto;
}

.work-process__head {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
  opacity: 0;
  transform: translateY(22px);
}

.work-process__eyebrow {
  margin: 0;
  color: #58714f;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.work-process__head-line {
  display: block;
  width: 52px;
  height: 2px;
  margin: 18px auto 24px;
  background: #58714f;
}

.work-process__head h2 {
  max-width: 1120px;
  margin: 0;
  color: #253129;
  font-size: clamp(38px, 3.7vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.work-process__lead {
  margin: 22px 0 0;
  color: #5f685f;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.5;
}

.work-process__lead strong {
  color: #58714f;
  font-weight: 700;
}

.work-process__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 1.7vw, 26px);
  margin-top: clamp(74px, 6vw, 96px);
  padding-top: 70px;
  isolation: isolate;
}

.work-process__grid::before,
.work-process__grid::after {
  position: absolute;
  z-index: 0;
  top: 25px;
  right: 12.5%;
  left: 12.5%;
  height: 1px;
  content: "";
  transform-origin: left center;
}

.work-process__grid::before {
  background: #d9ddd2;
}

.work-process__grid::after {
  background: #58714f;
  transform: scaleX(0);
}

.work-process.is-visible .work-process__head {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-process.is-visible .work-process__grid::after {
  transform: scaleX(1);
  transition: transform 1.25s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.work-card {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  min-height: 530px;
  flex-direction: column;
  padding: 32px 28px 27px;
  background: #f1f5eb;
  border: 1px solid #d9ddd2;
  border-radius: 23px;
  box-shadow: 0 16px 34px rgba(37, 49, 41, 0.055);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.58s ease, transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

.work-process.is-visible .work-card {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(0.42s + var(--step-index) * 0.14s), calc(0.42s + var(--step-index) * 0.14s), 0s, 0s;
}

.work-process.is-visible .work-card:hover,
.work-process.is-visible .work-card:focus-within {
  border-color: rgba(88, 113, 79, 0.7);
  box-shadow: 0 20px 42px rgba(37, 49, 41, 0.1);
  transform: translateY(-4px);
  transition-delay: 0s;
}

.work-card__number {
  position: absolute;
  z-index: 3;
  top: -70px;
  left: 50%;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: #58714f;
  font-size: 16px;
  font-weight: 700;
  background: #eef2e9;
  border: 2px solid #d2dacd;
  border-radius: 50%;
  box-shadow: 0 0 0 5px #e7eddf;
  transform: translateX(-50%);
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.work-process.is-visible .work-card__number {
  animation: work-number-sequence 1.05s ease calc(0.42s + var(--step-index) * 0.28s) both;
}

.work-process.is-sequence-complete .work-card__number {
  animation: none;
}

.work-card:hover .work-card__number,
.work-card:focus-within .work-card__number {
  color: #fff;
  background: #58714f;
  border-color: #58714f;
  box-shadow: 0 0 0 5px #e7eddf, 0 8px 18px rgba(88, 113, 79, 0.22);
  animation: none;
}

@keyframes work-number-sequence {
  0%, 100% {
    color: #58714f;
    background: #eef2e9;
    border-color: #d2dacd;
  }
  28%, 66% {
    color: #fff;
    background: #58714f;
    border-color: #58714f;
    box-shadow: 0 0 0 5px #e7eddf, 0 8px 18px rgba(88, 113, 79, 0.2);
  }
}

.work-card h3 {
  margin: 0 0 13px;
  color: #253129;
  font-size: clamp(20px, 1.45vw, 24px);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.work-card > p {
  margin: 0;
  color: #5f685f;
  font-size: 15px;
  line-height: 1.58;
}

.work-card__fact {
  display: block;
  margin-top: auto;
  padding-top: 22px;
  color: #58714f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.work-illustration {
  --illustration-ink: #3d4a40;
  --illustration-green: #58714f;
  --illustration-soft: #e4eadf;
  position: relative;
  width: 100%;
  height: 214px;
  margin: 0 0 25px;
  color: var(--illustration-ink);
}

.work-illustration::before {
  position: absolute;
  top: 28px;
  left: 50%;
  width: 142px;
  height: 142px;
  content: "";
  background: rgba(228, 234, 223, 0.72);
  border-radius: 50%;
  transform: translateX(-50%);
}

.request-sheet,
.request-phone,
.request-bubble,
.request-check,
.measure-window,
.measure-line,
.measure-tape,
.production-frame,
.production-post,
.production-console,
.production-belt,
.install-window,
.install-level,
.install-guide,
.install-check {
  position: absolute;
  display: block;
}

.request-sheet {
  top: 31px;
  left: calc(50% - 78px);
  width: 112px;
  height: 146px;
  background: #f1f5eb;
  border: 2px solid var(--illustration-ink);
  border-radius: 7px;
  transform: rotate(-4deg);
}

.request-sheet::before,
.request-sheet::after {
  position: absolute;
  left: 20px;
  height: 2px;
  content: "";
  background: #9ba49b;
  box-shadow: 0 15px 0 #9ba49b, 0 30px 0 #9ba49b;
}

.request-sheet::before { top: 37px; width: 62px; }
.request-sheet::after { top: 94px; width: 44px; box-shadow: 0 14px 0 #9ba49b; }

.request-phone {
  top: 21px;
  left: calc(50% - 49px);
  width: 82px;
  height: 164px;
  background: rgba(241, 245, 235, 0.96);
  border: 3px solid var(--illustration-ink);
  border-radius: 18px;
  box-shadow: inset 0 0 0 2px #d9ddd2;
  transition: transform 0.35s ease;
}

.request-phone::before {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 26px;
  height: 4px;
  content: "";
  background: var(--illustration-ink);
  border-radius: 4px;
  transform: translateX(-50%);
}

.request-phone::after {
  position: absolute;
  right: 24px;
  bottom: 10px;
  left: 24px;
  height: 4px;
  content: "";
  background: #c5cdc1;
  border-radius: 3px;
}

.request-phone i {
  position: absolute;
  left: 18px;
  width: 42px;
  height: 2px;
  background: #aab3aa;
}

.request-phone i:nth-child(1) { top: 52px; }
.request-phone i:nth-child(2) { top: 68px; width: 34px; }
.request-phone i:nth-child(3) { top: 103px; width: 46px; }

.request-bubble {
  top: 68px;
  right: calc(50% - 96px);
  width: 92px;
  height: 58px;
  background: #f1f5eb;
  border: 2px solid var(--illustration-ink);
  border-radius: 15px;
  transition: transform 0.35s ease;
}

.request-bubble::after {
  position: absolute;
  right: 17px;
  bottom: -9px;
  width: 16px;
  height: 16px;
  content: "";
  background: #f1f5eb;
  border-right: 2px solid var(--illustration-ink);
  border-bottom: 2px solid var(--illustration-ink);
  transform: rotate(45deg);
}

.request-bubble i {
  position: absolute;
  z-index: 1;
  top: 24px;
  width: 9px;
  height: 9px;
  background: var(--illustration-green);
  border-radius: 50%;
}

.request-bubble i:nth-child(1) { left: 20px; }
.request-bubble i:nth-child(2) { left: 40px; }
.request-bubble i:nth-child(3) { left: 60px; }

.request-check {
  right: calc(50% - 91px);
  bottom: 19px;
  width: 44px;
  height: 44px;
  background: #eef2e9;
  border: 2px solid var(--illustration-green);
  border-radius: 50%;
}

.request-check::before {
  position: absolute;
  top: 12px;
  left: 11px;
  width: 17px;
  height: 9px;
  content: "";
  border-bottom: 3px solid var(--illustration-green);
  border-left: 3px solid var(--illustration-green);
  transform: rotate(-45deg);
}

.work-card:hover .request-phone { transform: translateY(-2px) rotate(-1deg); }
.work-card:hover .request-bubble { transform: translate(3px, -3px); }

.measure-window {
  top: 31px;
  left: 50%;
  width: 124px;
  height: 132px;
  background: rgba(241, 245, 235, 0.9);
  border: 3px solid var(--illustration-ink);
  box-shadow: inset 0 0 0 5px #f1f5eb, inset 0 0 0 7px #9ca79c;
  transform: translateX(-50%);
}

.measure-window::before,
.measure-window::after,
.measure-window i::before {
  position: absolute;
  content: "";
  background: #879287;
}

.measure-window::before { top: 8px; bottom: 8px; left: 50%; width: 2px; }
.measure-window::after { right: 8px; bottom: 8px; left: 8px; height: 2px; }
.measure-window i::before { top: 8px; bottom: 8px; left: 8px; width: 2px; }

.measure-line {
  color: var(--illustration-green);
  border-color: currentColor;
  transition: transform 0.35s ease;
}

.measure-line::before,
.measure-line::after {
  position: absolute;
  width: 7px;
  height: 7px;
  content: "";
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
}

.measure-line--horizontal {
  top: 15px;
  left: calc(50% - 68px);
  width: 136px;
  border-top: 1px solid currentColor;
}

.measure-line--horizontal::before { top: -4px; left: 0; transform: rotate(-45deg); }
.measure-line--horizontal::after { top: -4px; right: 0; transform: rotate(135deg); }

.measure-line--vertical {
  top: 29px;
  left: calc(50% - 79px);
  height: 136px;
  border-left: 1px solid currentColor;
}

.measure-line--vertical::before { top: 0; left: -4px; transform: rotate(45deg); }
.measure-line--vertical::after { bottom: 0; left: -4px; transform: rotate(-135deg); }

.measure-tape {
  right: calc(50% - 92px);
  bottom: 12px;
  width: 78px;
  height: 78px;
  background: #e8eee3;
  border: 3px solid var(--illustration-ink);
  border-radius: 50%;
  box-shadow: inset 0 0 0 7px #f1f5eb, inset 0 0 0 9px #83917f;
  transition: transform 0.35s ease;
}

.measure-tape::before {
  position: absolute;
  right: 54px;
  bottom: 4px;
  width: 74px;
  height: 16px;
  content: "";
  background: repeating-linear-gradient(90deg, #f1f5eb 0 8px, #879287 8px 9px);
  border: 2px solid var(--illustration-ink);
  transform: rotate(-8deg);
}

.measure-tape i {
  position: absolute;
  inset: 28px 22px 28px 22px;
  background: var(--illustration-green);
  border-radius: 8px;
}

.work-card:hover .measure-tape { transform: rotate(4deg) translateY(-2px); }
.work-card:hover .measure-line--horizontal { transform: scaleX(1.04); }

.production-frame {
  top: 35px;
  left: calc(50% - 66px);
  width: 105px;
  height: 112px;
  background: rgba(241, 245, 235, 0.92);
  border: 3px solid var(--illustration-ink);
  box-shadow: inset 0 0 0 5px #f1f5eb, inset 0 0 0 7px #8e9a8e;
}

.production-frame::before {
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 50%;
  width: 2px;
  content: "";
  background: #879287;
}

.production-frame i {
  position: absolute;
  right: 7px;
  bottom: 7px;
  left: 7px;
  height: 2px;
  background: #879287;
}

.production-post {
  top: 44px;
  width: 8px;
  height: 122px;
  border: 2px solid var(--illustration-ink);
}

.production-post::before,
.production-post::after {
  position: absolute;
  left: -5px;
  width: 14px;
  height: 4px;
  content: "";
  background: #f1f5eb;
  border: 1px solid var(--illustration-ink);
}

.production-post::before { top: -7px; }
.production-post::after { bottom: -7px; }
.production-post--left { left: calc(50% - 87px); }
.production-post--right { left: calc(50% + 72px); }

.production-console {
  top: 70px;
  left: calc(50% + 43px);
  width: 52px;
  height: 66px;
  background: #eef2e9;
  border: 2px solid var(--illustration-ink);
  transition: transform 0.35s ease;
}

.production-console::before {
  position: absolute;
  top: 9px;
  right: 8px;
  left: 8px;
  height: 27px;
  content: "";
  background: #dce5d7;
  border: 2px solid #667663;
}

.production-console i {
  position: absolute;
  bottom: 9px;
  width: 7px;
  height: 7px;
  background: #7f8d7c;
  border-radius: 50%;
}

.production-console i:nth-child(1) { left: 9px; }
.production-console i:nth-child(2) { left: 22px; }
.production-console i:nth-child(3) { left: 35px; background: var(--illustration-green); }

.production-belt {
  right: calc(50% - 105px);
  bottom: 26px;
  left: calc(50% - 105px);
  height: 34px;
  background:
    radial-gradient(circle, #f1f5eb 0 5px, #6f7b70 5px 7px, transparent 7px) 0 50% / 34px 34px repeat-x,
    #dfe6da;
  border: 3px solid var(--illustration-ink);
  border-radius: 5px;
  transition: background-position 0.45s ease;
}

.work-card:hover .production-console { transform: translateY(-3px); }
.work-card:hover .production-belt { background-position: 17px 50%, 0 0; }

.install-window {
  top: 29px;
  left: 50%;
  width: 124px;
  height: 133px;
  background: rgba(241, 245, 235, 0.9);
  border: 3px solid var(--illustration-ink);
  box-shadow: inset 0 0 0 5px #f1f5eb, inset 0 0 0 7px #8f9a8f;
  transform: translateX(-50%);
}

.install-window::before {
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 50%;
  width: 2px;
  content: "";
  background: #879287;
}

.install-window i {
  position: absolute;
  right: 7px;
  bottom: 7px;
  left: 7px;
  height: 2px;
  background: #879287;
}

.install-level {
  right: calc(50% - 92px);
  bottom: 23px;
  left: calc(50% - 92px);
  height: 30px;
  background: #e2eadf;
  border: 3px solid var(--illustration-ink);
  border-radius: 4px;
  transition: transform 0.35s ease;
}

.install-level i {
  position: absolute;
  top: 6px;
  width: 17px;
  height: 12px;
  background: #f1f5eb;
  border: 2px solid #667663;
  border-radius: 50%;
}

.install-level i:first-child { left: 18px; }
.install-level i:last-child { right: 18px; }

.install-guide {
  top: 23px;
  height: 147px;
  border-left: 1px dashed #7e8a7f;
}

.install-guide--left { left: calc(50% - 78px); }
.install-guide--right { left: calc(50% + 77px); }

.install-check {
  top: 77px;
  right: calc(50% - 102px);
  width: 48px;
  height: 48px;
  background: #f1f5eb;
  border: 2px solid var(--illustration-green);
  border-radius: 50%;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.install-check::before {
  position: absolute;
  top: 12px;
  left: 10px;
  width: 21px;
  height: 11px;
  content: "";
  border-bottom: 4px solid var(--illustration-green);
  border-left: 4px solid var(--illustration-green);
  transform: rotate(-45deg);
}

.work-card:hover .install-level { transform: translateY(-2px); }
.work-card:hover .install-check { transform: scale(1.08) rotate(-3deg); }

@media (max-width: 1120px) {
  .work-process__inner { max-width: 900px; }

  .work-process__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 74px 26px;
    padding-top: 68px;
  }

  .work-process__grid::before,
  .work-process__grid::after {
    top: 27px;
    right: auto;
    bottom: auto;
    left: 50%;
    width: 1px;
    height: calc(50% + 1px);
    transform-origin: center top;
  }

  .work-process__grid::after { transform: scaleY(0); }
  .work-process.is-visible .work-process__grid::after { transform: scaleY(1); }

  .work-card { min-height: 500px; }
  .work-card__number { top: -66px; }

  .work-card::before {
    position: absolute;
    z-index: -1;
    top: -42px;
    height: 1px;
    content: "";
    background: #d9ddd2;
    transform: scaleX(0);
    transition: transform 0.55s ease calc(0.35s + var(--step-index) * 0.12s);
  }

  .work-process.is-visible .work-card::before { transform: scaleX(1); }

  .work-card:nth-child(odd)::before {
    right: -13px;
    left: 50%;
    transform-origin: left center;
  }

  .work-card:nth-child(even)::before {
    right: 50%;
    left: -13px;
    transform-origin: right center;
  }
}

@media (max-width: 660px) {
  .work-process {
    padding: 72px 20px 84px;
  }

  .work-process__eyebrow { font-size: 13px; }

  .work-process__head h2 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .work-process__lead {
    font-size: 17px;
  }

  .work-process__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    gap: 24px;
    margin-top: 62px;
    padding: 0 0 0 58px;
  }

  .work-process__grid::before,
  .work-process__grid::after {
    top: 35px;
    bottom: 35px;
    left: 24px;
    width: 1px;
    height: auto;
  }

  .work-process.is-visible .work-process__grid::after {
    transform: scaleY(1);
    transition-duration: 1.45s;
  }

  .work-card {
    min-height: 390px;
    padding: 28px 24px 25px;
  }

  .work-card__number {
    top: 24px;
    left: -58px;
    width: 48px;
    height: 48px;
    box-shadow: 0 0 0 5px #e7eddf;
    transform: none;
  }

  .work-card::before,
  .work-card:nth-child(odd)::before,
  .work-card:nth-child(even)::before {
    top: 48px;
    right: auto;
    left: -34px;
    width: 34px;
    transform-origin: left center;
  }

  .work-illustration {
    height: 190px;
    margin-bottom: -48px;
    transform: scale(0.66);
    transform-origin: top center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-process__head,
  .work-card,
  .work-process.is-visible .work-process__head,
  .work-process.is-visible .work-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .work-process__grid::after,
  .work-process.is-visible .work-process__grid::after,
  .work-card::before,
  .work-process.is-visible .work-card::before {
    transform: none !important;
    transition: none !important;
  }

  .work-card__number,
  .work-process.is-visible .work-card__number {
    animation: none !important;
    transition: none !important;
  }

  .work-illustration *,
  .work-illustration *::before,
  .work-illustration *::after {
    transition: none !important;
  }

  .work-process.is-visible .work-card:hover,
  .work-process.is-visible .work-card:focus-within {
    transform: none !important;
  }
}

.trust {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 520px) minmax(260px, 360px);
  align-items: stretch;
  gap: 0;
  margin-top: 0;
  background: linear-gradient(90deg, #e4eadf, #f1f5eb 45%, #dce5d6);
}

.trust-stats {
  padding: 64px 5vw 56px 6vw;
}

.trust-stats dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 36px 0;
}

.trust-stats dt {
  font-size: 26px;
  font-weight: 600;
}

.trust-stats dd {
  margin: 6px 0 0;
  color: var(--muted);
}

.partners {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 600;
}

.trust-photo {
  height: 100%;
  min-height: 390px;
  background: url("assets/team.webp") center / cover no-repeat;
}

.trust blockquote {
  align-self: center;
  margin: 44px 6vw 44px 0;
  padding: 42px;
  color: var(--muted);
}

.trust blockquote::before {
  content: "“";
  display: block;
  color: var(--green);
  font-size: 70px;
  line-height: 0.7;
}

.trust cite {
  display: block;
  margin: 18px 0;
  color: var(--text);
  font-style: normal;
  font-weight: 600;
}

.trust blockquote span {
  color: var(--green);
  letter-spacing: 0;
}

.contact-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 410px) minmax(320px, 520px);
  gap: 80px;
  align-items: center;
  min-height: 430px;
  padding: 76px 6vw;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(241, 245, 235, 0.98), rgba(241, 245, 235, 0.68) 44%, rgba(241, 245, 235, 0.12)),
    url("assets/contact-room.webp") center / cover no-repeat;
}

.contact-copy,
.contact-form {
  position: relative;
  z-index: 1;
}

.contact-copy h2 {
  margin-bottom: 22px;
}

.contact-copy p {
  color: var(--muted);
  line-height: 1.55;
}

.contact-copy > a {
  display: block;
  margin-top: 28px;
  font-size: 22px;
  font-weight: 600;
}

.contact-copy > span {
  color: var(--muted);
}

.messengers {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.messengers a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.messengers a:nth-child(2) {
  background: #419bdc;
}

.messengers a:nth-child(3) {
  background: #7a5bbf;
}

.contact-form {
  padding: 34px;
}

.contact-form h3 {
  margin-bottom: 22px;
  font-size: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form textarea {
  min-height: 118px;
  margin-top: 14px;
  padding-top: 14px;
  resize: vertical;
}

.agree {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 18px 0;
  color: var(--muted);
  font-size: 12px;
}

.agree input {
  width: 16px;
  min-height: 16px;
}

.contact-form .button {
  width: 100%;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 30px 6vw;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.site-footer div {
  text-align: right;
}

.site-footer .brand-logo {
  width: 205px;
  max-height: 68px;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

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

  .site-header.is-open .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    justify-content: stretch;
    padding: 12px 6vw 18px;
    background: rgba(241, 245, 235, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .site-header.is-open .main-nav a {
    padding: 13px 0;
  }

  .hero {
    height: auto;
    min-height: 700px;
    max-height: none;
  }

  .hero-content {
    width: min(720px, 64vw);
    padding-left: 6vw;
  }

  h1 {
    font-size: clamp(42px, 4.2vw, 46px);
  }

  .hero-lead {
    font-size: 20px;
  }

  .hero-actions .button {
    min-width: 226px;
  }

  .benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 680px;
  }

  .benefits article {
    padding-right: 24px;
    padding-left: 24px;
  }

  .calc-form {
    grid-template-columns: 1fr 1fr;
  }

  .calc-result,
  .calc-button {
    grid-column: auto;
  }

  .trust {
    grid-template-columns: 1fr 1fr;
  }

  .trust blockquote {
    grid-column: 1 / -1;
    margin: 0 6vw 54px;
  }
}

@media (max-width: 860px) {
  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .hero-bg {
    display: none;
  }

  .hero-content {
    order: 1;
    width: auto;
    min-height: auto;
    padding: 58px 6vw 44px;
  }

  .eyebrow {
    margin-bottom: 42px;
  }

  h1 {
    max-width: 720px;
    margin-bottom: 28px;
    font-size: clamp(44px, 7vw, 58px);
  }

  .hero-lead {
    max-width: 620px;
    margin-bottom: 32px;
  }

  .hero-actions .button {
    min-width: 246px;
  }

  .hero .benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 760px;
    margin-top: 32px;
  }

  .benefits article {
    min-height: 54px;
    padding: 0 24px;
  }

  .benefits article:first-child {
    padding-left: 0;
  }

  .benefits article:last-child {
    padding-right: 0;
  }

  .service-grid,
  .project-grid,
  .step-grid,
  .quote-band,
  .trust,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .quote-band {
    margin: 34px 6vw 0;
  }

  .quote-intro {
    padding: 8px 2px 0;
  }

  .arrow-line {
    display: none;
  }

  .step-grid article:not(:last-child)::after {
    top: auto;
    right: 28px;
    bottom: -17px;
    transform: rotate(135deg);
  }

  .trust-photo {
    min-height: 320px;
  }

  .contact-section {
    gap: 30px;
  }

  .site-footer,
  .site-footer div {
    text-align: left;
  }

  .site-footer nav {
    justify-content: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 68px;
  }

  .site-header.is-open .main-nav {
    top: 68px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 154px;
    max-height: 48px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-title__switch,
  .hero-title__stage {
    min-height: 2.08em;
    white-space: normal;
  }

  .hero-title__marker {
    max-height: 1.88em;
  }

  .hero-title__measure,
  .hero-title__current-measure {
    white-space: normal;
  }

  .hero-lead {
    font-size: 19px;
  }

  .calc-form,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 46px 24px 38px;
  }

  .eyebrow {
    margin-bottom: 34px;
    font-size: 13px;
  }

  h1 {
    margin-bottom: 24px;
  }

  .hero-lead {
    margin-bottom: 28px;
  }

  .hero-actions {
    display: grid;
    gap: 14px;
  }

  .hero-actions .button {
    min-width: 0;
    min-height: 58px;
    font-size: 16px;
  }

  .hero .benefits {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 26px;
  }

  .benefits article {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 58px;
    padding: 11px 0;
    text-align: left;
  }

  .benefits article + article::before {
    top: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .hero-actions .button,
  .calc-button,
  .header-button {
    width: 100%;
  }

  .section {
    padding-top: 52px;
    padding-bottom: 58px;
  }

  .section-head {
    display: block;
  }

  .section-head a {
    display: inline-block;
    margin-top: 12px;
  }

  .project-image {
    height: 220px;
  }

  .quote-band {
    padding: 20px;
  }

  .calc-form,
  .contact-form {
    padding: 22px;
  }

  .trust-stats dl {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1350px) {
  .services {
    padding-right: 6vw;
    padding-left: 6vw;
  }

  .services .service-grid {
    max-width: 1080px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-photo {
    height: 220px;
  }
}

@media (max-width: 1120px) {
  .services {
    padding-top: 56px;
  }

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

  .services .service-card {
    min-height: 0;
  }
}

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

  .service-head {
    margin-bottom: 34px;
  }

  .services .service-card {
    min-height: 0;
  }

  .service-body {
    padding: 18px 20px 20px;
  }

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

  .service-points li {
    white-space: normal;
  }
}

@media (max-width: 680px) {
  .services {
    padding: 56px 20px 58px;
  }

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

  .service-head h2 {
    font-size: 34px;
    line-height: 1.12;
  }

  .service-head p {
    font-size: 17px;
  }

  .service-photo {
    height: clamp(190px, 58vw, 235px);
  }

  .service-body h3 {
    min-height: 0;
    font-size: 27px;
  }

  .service-body p {
    min-height: 0;
    font-size: 17px;
  }

  .service-button {
    min-height: 58px;
    font-size: 18px;
  }

  .services .service-grid:hover .service-card:not(:hover) {
    opacity: 1;
  }

  .services .service-card:hover,
  .services .service-card:hover .service-photo img {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services.services-animate .service-head h2,
  .services.services-animate .service-head p,
  .services.services-animate .service-card,
  .services.services-animate.is-visible .service-head h2,
  .services.services-animate.is-visible .service-head p,
  .services.services-animate.is-visible .service-card {
    transition-duration: 0.1s;
    transform: none;
  }

  .service-photo img,
  .service-button,
  .service-button span {
    transition-duration: 0.1s;
  }

  .services.services-animate.is-visible .service-photo::after {
    animation: none;
  }
}

/* Customer reviews */
.reviews {
  padding: 82px 6vw 88px;
  background: #ffffff;
  border-top: 1px solid rgba(117, 134, 102, 0.2);
}

.reviews__inner {
  width: min(100%, 1740px);
  margin: 0 auto;
}

.reviews__header {
  display: flex;
  gap: 42px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 42px;
}

.reviews__heading h2 {
  margin: 0;
  color: #2e332d;
  font-size: clamp(40px, 3.7vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.reviews__heading p {
  max-width: 720px;
  margin: 16px 0 0;
  color: #656b64;
  font-size: clamp(17px, 1.2vw, 21px);
  line-height: 1.45;
}

.reviews__navigation {
  display: flex;
  gap: 24px;
  align-items: center;
  flex: 0 0 auto;
  padding-top: 8px;
}

.reviews__all {
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(88, 113, 79, 0.55);
  color: #58714f;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

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

.review-card {
  display: grid;
  grid-template-columns: minmax(0, 57%) minmax(240px, 43%);
  min-height: 430px;
  overflow: hidden;
  background: #f1f5eb;
  border: 1px solid #d9ddd2;
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(57, 51, 40, 0.07);
  scroll-margin-top: 100px;
}

.review-card__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 30px 30px 28px;
}

.review-card__content h3 {
  margin: 0;
  color: #2e332d;
  font-size: clamp(23px, 1.65vw, 29px);
  line-height: 1.18;
}

.review-card__location {
  margin: 7px 0 0;
  color: #747a73;
  font-size: 16px;
  line-height: 1.35;
}

.review-card__rating {
  margin: 13px 0 14px;
  color: #f2b43f;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 2px;
}

.review-card__category {
  display: inline-flex;
  width: fit-content;
  padding: 7px 13px;
  border-radius: 999px;
  background: #e7ebdf;
  color: #607154;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.review-card__text {
  display: block;
  max-height: none;
  overflow: visible;
  margin: 22px 0 0;
  color: #3f463f;
  font-size: clamp(16px, 1vw, 18px);
  line-height: 1.55;
}

.review-card__photo {
  min-width: 0;
  min-height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.review-card__photo--nelly {
  background-image: url("assets/review-nelly.webp");
}

.review-card__photo--olga {
  background-image: url("assets/review-olga-oleg.webp");
}

@media (max-width: 1180px) {
  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    grid-template-columns: minmax(0, 58%) minmax(280px, 42%);
    min-height: 400px;
  }
}

@media (max-width: 760px) {
  .reviews {
    padding: 60px 24px 64px;
  }

  .reviews__header {
    display: grid;
    gap: 24px;
    margin-bottom: 30px;
  }

  .reviews__navigation {
    justify-content: space-between;
    padding-top: 0;
  }

  .review-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .review-card__content {
    padding: 26px 24px 24px;
  }

  .review-card__photo {
    min-height: 280px;
  }
}

@media (max-width: 440px) {
  .reviews__heading h2 {
    font-size: 34px;
  }

  .reviews__navigation {
    align-items: flex-start;
  }

  .reviews__all {
    font-size: 14px;
  }

  .review-card__text {
    max-height: none;
  }
}

/* Final typography normalization: real Arial everywhere, without black weights. */
html,
body,
button,
input,
select,
textarea,
body * {
  font-family: Arial, Helvetica, sans-serif !important;
  font-synthesis-weight: none;
}

:where(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  strong,
  b,
  .eyebrow,
  .logo-title,
  .header-contact a,
  .button,
  .header-button,
  .small-button,
  .section-head h2,
  .service-head h2,
  .service-body h3,
  .service-button,
  .project-card h3,
  .process-card h3,
  .benefit-card h3,
  .quote-intro h2,
  .trust h2,
  .contact-copy h2,
  .quiz-eyebrow,
  .quiz-intro h2,
  .quiz-progress-title,
  .quiz-question h3,
  .quiz-choice h4,
  .quiz-choice-list h4,
  .quiz-subquestion h4,
  .quiz-contact-title,
  .quiz-actions button,
  .quiz-form-actions button,
  .quiz-btn
) {
  font-weight: 600 !important;
}

:where(
  p,
  li,
  .service-body p,
  .service-points li,
  .quiz-benefits li,
  .quiz-choice p,
  .quiz-choice-list p,
  .quiz-subtitle,
  .quiz-contact-copy
) {
  font-weight: 400 !important;
}

.service-points li {
  font-weight: 500 !important;
}

/* Final contact section */
.contact-section {
  --contact-bg: #ffffff;
  --contact-text: #29312b;
  --contact-muted: #6f746d;
  --contact-green: #758765;
  --contact-green-hover: #627455;
  position: relative;
  display: block;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--contact-bg);
  color: var(--contact-text);
}

.contact-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("assets/contact-window-v2.webp") center / cover no-repeat;
}

.contact-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.98) 36%, rgba(255, 255, 255, 0.76) 54%, rgba(255, 255, 255, 0.12) 78%, rgba(255, 255, 255, 0.04) 100%);
}

/* Five-step glazing calculator — wide editorial layout. */
.quiz-section {
  --quiz-bg: #f5f7f3;
  --quiz-card: #f1f5eb;
  --quiz-text: #2a302a;
  --quiz-muted: #6f746d;
  --quiz-green: #788d63;
  --quiz-green-dark: #657a53;
  --quiz-selected: #f7f9f5;
  --quiz-line: #e7ebe4;
  --quiz-border: rgba(101, 122, 83, 0.24);
  margin: 0;
  padding: clamp(76px, 7vw, 110px) clamp(20px, 5vw, 82px);
  overflow: hidden;
  background: var(--quiz-bg);
}

.quiz-shell {
  display: block;
  width: min(100%, 1760px);
  margin: 0 auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.quiz-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.54fr) minmax(460px, 0.46fr);
  min-height: clamp(300px, 24vw, 410px);
  overflow: hidden;
}

.quiz-intro {
  min-height: 0;
  padding: clamp(10px, 2vw, 30px) 0 clamp(38px, 4vw, 64px);
  overflow: visible;
}

.quiz-intro::after,
.quiz-decor-window,
.quiz-benefits {
  display: none;
}

.quiz-eyebrow {
  margin: 0 0 20px;
  color: var(--quiz-green-dark);
  font-size: clamp(14px, 1vw, 18px);
  font-weight: 700;
  letter-spacing: 0.045em;
}

.quiz-intro h2 {
  max-width: 820px;
  margin: 0 0 22px;
  font-size: clamp(48px, 4.2vw, 64px);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.quiz-intro h2 span {
  color: var(--quiz-green);
}

.quiz-copy {
  max-width: 680px;
  margin: 0;
  color: var(--quiz-muted);
  font-size: clamp(18px, 1.35vw, 23px);
  line-height: 1.48;
}

.quiz-hero-visual {
  position: absolute;
  top: -26px;
  right: -7%;
  bottom: 0;
  width: 61%;
  background: none;
  opacity: 0.94;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.12) 13%, #000 43%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.12) 13%, #000 43%);
  pointer-events: none;
}

.quiz-card {
  min-height: 0;
  margin-top: clamp(-34px, -2vw, -18px);
  padding: clamp(30px, 3.1vw, 52px) clamp(30px, 3.8vw, 64px) clamp(26px, 2.5vw, 42px);
  border: 1px solid rgba(117, 134, 102, 0.22);
  border-radius: 30px;
  background: rgba(241, 245, 235, 0.97);
  box-shadow: 0 22px 60px rgba(54, 58, 49, 0.1);
  backdrop-filter: blur(9px);
}

.quiz-progress-mobile {
  display: none;
}

.quiz-steps {
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  margin: 0 0 18px;
}

.quiz-step-dot {
  gap: 8px;
  font-size: clamp(13px, 1vw, 17px);
}

.quiz-step-dot::before {
  top: 22px;
  left: calc(-50% + 3px);
  width: calc(100% - 34px);
  z-index: 0;
  background: #dedfd9;
}

.quiz-step-dot span {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  font-size: 16px;
}

.quiz-step-dot b {
  font-weight: 500;
}

.quiz-progress-track {
  height: 5px;
  margin: 0 0 clamp(34px, 3vw, 48px);
}

.quiz-step-content {
  min-height: 0;
}

.quiz-step-content.is-entering {
  animation: quizContentIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.quiz-step-content.is-leaving-next,
.quiz-step-content.is-leaving-prev {
  opacity: 0;
  transform: translateX(var(--quiz-enter-x, 18px));
  transition: opacity 0.16s ease, transform 0.16s ease;
}

@keyframes quizContentIn {
  from { opacity: 0; transform: translateX(var(--quiz-enter-x, 18px)); }
  to { opacity: 1; transform: translateX(0); }
}

.quiz-question h3,
.quiz-form-block > h3 {
  margin: 0;
  color: var(--quiz-text);
  font-size: clamp(34px, 2.45vw, 40px);
  font-weight: 650;
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.quiz-question > p,
.quiz-form-block > p:not(.quiz-privacy):not(.privacy-policy-note) {
  margin: 9px 0 28px;
  color: var(--quiz-muted);
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.45;
}

.quiz-options-grid,
.quiz-object-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.55vw, 26px);
}

.quiz-choice {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1.5px solid #e8eae5;
  border-radius: 18px;
  background: #fcfdfb;
  color: var(--quiz-text);
  box-shadow: none;
  text-align: left;
}

.quiz-choice:hover,
.quiz-choice:focus-visible {
  border-color: rgba(101, 122, 83, 0.58);
  box-shadow: 0 12px 30px rgba(57, 65, 49, 0.09);
  outline: 3px solid transparent;
}

.quiz-choice:focus-visible {
  outline-color: rgba(120, 141, 99, 0.28);
  outline-offset: 3px;
}

.quiz-choice.is-selected {
  border-color: var(--quiz-green);
  background: var(--quiz-selected);
}

.quiz-choice::after {
  display: none;
}

.quiz-choice-object {
  min-height: clamp(270px, 20vw, 330px);
  padding: clamp(20px, 1.7vw, 28px);
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.quiz-object-visual {
  display: grid;
  width: 100%;
  height: clamp(154px, 11.5vw, 188px);
  margin: 0 0 12px;
  padding: clamp(8px, 0.7vw, 12px);
  overflow: hidden;
  place-items: center;
  border-radius: 14px;
  background: #ffffff;
}

.quiz-object-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: none;
}

.quiz-choice-copy {
  display: block;
  min-width: 0;
}

.quiz-choice h4 {
  margin: 0;
  color: var(--quiz-text);
  font-size: clamp(19px, 1.35vw, 23px);
  font-weight: 650;
  line-height: 1.2;
}

.quiz-choice p {
  margin: 10px 0 0;
  color: var(--quiz-muted);
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.35;
}

.quiz-selected-mark {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--quiz-green);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.quiz-choice.is-selected .quiz-selected-mark {
  opacity: 1;
  transform: scale(1);
}

.quiz-text-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 24px);
}

.quiz-choice-text {
  min-height: 116px;
  padding: clamp(20px, 1.8vw, 30px);
  align-items: center;
  gap: clamp(18px, 1.8vw, 30px);
}

.quiz-choice-volume {
  min-height: clamp(150px, 12vw, 184px);
  padding: clamp(18px, 1.55vw, 26px);
  align-items: center;
  gap: clamp(16px, 1.6vw, 26px);
}

.quiz-volume-visual {
  display: grid;
  width: clamp(120px, 10vw, 164px);
  height: clamp(96px, 8vw, 128px);
  flex: 0 0 clamp(120px, 10vw, 164px);
  place-items: center;
}

.quiz-volume-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.quiz-choice-volume .quiz-choice-copy {
  flex: 1 1 auto;
}

.quiz-choice-priority {
  min-height: clamp(150px, 11vw, 176px);
  padding: clamp(16px, 1.35vw, 22px);
  align-items: center;
  gap: clamp(14px, 1.25vw, 20px);
}

.quiz-priority-visual {
  display: grid;
  width: clamp(104px, 8.2vw, 132px);
  height: clamp(92px, 7.2vw, 116px);
  flex: 0 0 clamp(104px, 8.2vw, 132px);
  place-items: center;
}

.quiz-priority-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.quiz-choice-priority .quiz-choice-copy {
  flex: 1 1 auto;
}

.quiz-choice-number {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  place-items: center;
  border: 1px solid rgba(120, 141, 99, 0.35);
  border-radius: 50%;
  color: var(--quiz-green-dark);
  font-size: 15px;
  font-weight: 700;
}

.quiz-choice.is-selected .quiz-choice-number {
  border-color: var(--quiz-green);
  background: var(--quiz-green);
  color: #fff;
}

.quiz-priority-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.quiz-priority-grid .quiz-choice {
  grid-column: span 2;
}

.quiz-priority-grid .quiz-choice:nth-child(4) {
  grid-column: 2 / span 2;
}

.quiz-priority-grid .quiz-choice-text {
  min-height: 126px;
}

.quiz-actions,
.quiz-form-actions {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 340px);
  gap: 22px;
  align-items: center;
  margin-top: clamp(28px, 3vw, 44px);
  padding-top: clamp(24px, 2vw, 32px);
  border-top: 1px solid var(--quiz-line);
}

.quiz-btn {
  min-height: 62px;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 700;
}

.quiz-btn-primary {
  width: 100%;
  padding: 0 34px;
  border: 0;
  background: var(--quiz-green);
  color: #fff;
  box-shadow: 0 13px 28px rgba(101, 122, 83, 0.2);
}

.quiz-btn-primary:hover:not(:disabled),
.quiz-btn-primary:focus-visible {
  background: var(--quiz-green-dark);
}

.quiz-btn-primary:disabled {
  background: #d8dcd3;
  color: #f8f8f5;
  box-shadow: none;
  cursor: not-allowed;
}

.quiz-btn-secondary {
  justify-self: start;
  min-width: 136px;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--quiz-green-dark);
  box-shadow: none;
}

.quiz-btn-secondary:hover:not(:disabled),
.quiz-btn-secondary:focus-visible:not(:disabled) {
  background: var(--quiz-green-dark);
  color: #fff;
  box-shadow: 0 12px 26px rgba(102, 119, 89, 0.2);
}

.quiz-form-block {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.quiz-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
  margin-top: 34px;
}

.quiz-field label {
  display: block;
  margin: 0 0 10px;
  color: var(--quiz-text);
  font-size: 16px;
  font-weight: 600;
}

.quiz-input-wrap {
  display: block;
}

.quiz-field input {
  width: 100%;
  height: 62px;
  padding: 0 20px;
  border: 1px solid #d9dbd4;
  border-radius: 15px;
  background: #fff;
  color: var(--quiz-text);
  font: inherit;
  font-size: 17px;
  outline: 0;
}

.quiz-field input:focus {
  border-color: var(--quiz-green);
  box-shadow: 0 0 0 4px rgba(120, 141, 99, 0.12);
}

.quiz-field.is-error input {
  border-color: var(--quiz-error);
}

.quiz-error-text {
  display: block;
  min-height: 20px;
  margin-top: 7px;
  color: var(--quiz-error);
  font-size: 14px;
}

.quiz-form-actions {
  grid-template-columns: 1fr minmax(300px, 340px);
}

.quiz-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--quiz-error);
  font-size: 14px;
  text-align: right;
}

.quiz-privacy {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 22px 0 0;
  color: var(--quiz-muted);
  font-size: 14px;
}

.quiz-privacy span {
  display: grid;
  width: 26px;
  height: 30px;
  place-items: center;
  border: 2px solid var(--quiz-green);
  border-radius: 13px 13px 16px 16px;
  color: var(--quiz-green);
  font-weight: 700;
}

.quiz-success {
  min-height: 430px;
  display: grid;
  place-items: center;
}

.quiz-success-card {
  width: min(100%, 680px);
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid var(--quiz-border);
  border-radius: 24px;
  background: var(--quiz-selected);
  text-align: center;
}

@media (max-width: 1180px) {
  .quiz-hero {
    grid-template-columns: minmax(0, 0.62fr) minmax(360px, 0.38fr);
  }

  .quiz-intro h2 {
    font-size: clamp(46px, 5vw, 58px);
  }

  .quiz-choice-object {
    min-height: 278px;
    padding: 18px 14px 22px;
  }

  .quiz-choice h4 {
    font-size: 19px;
  }
}

@media (max-width: 900px) {
  .quiz-section {
    padding: 70px 22px;
  }

  .quiz-hero {
    display: block;
    min-height: 0;
  }

  .quiz-hero-visual {
    top: auto;
    right: -15%;
    bottom: 0;
    width: 62%;
    height: 220px;
    opacity: 0.36;
  }

  .quiz-intro {
    padding-bottom: 64px;
  }

  .quiz-copy {
    max-width: 560px;
  }

  .quiz-card {
    margin-top: 0;
    padding: 28px 24px;
    border-radius: 24px;
  }

  .quiz-steps {
    display: none;
  }

  .quiz-progress-mobile {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    color: var(--quiz-muted);
    font-size: 14px;
  }

  .quiz-progress-mobile b {
    color: var(--quiz-green-dark);
  }

  .quiz-progress-track {
    margin-bottom: 30px;
  }

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

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

  .quiz-priority-grid .quiz-choice,
  .quiz-priority-grid .quiz-choice:nth-child(4) {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .quiz-section {
    padding: 56px 14px;
  }

  .quiz-intro {
    padding: 0 4px 38px;
  }

  .quiz-eyebrow {
    margin-bottom: 14px;
    font-size: 13px;
  }

  .quiz-intro h2 {
    margin-bottom: 16px;
    font-size: clamp(36px, 11vw, 46px);
    line-height: 1.08;
  }

  .quiz-copy {
    font-size: 17px;
  }

  .quiz-hero-visual {
    display: none;
  }

  .quiz-card {
    padding: 22px 14px 18px;
    border-radius: 20px;
  }

  .quiz-question h3,
  .quiz-form-block > h3 {
    font-size: clamp(27px, 8vw, 34px);
  }

  .quiz-question > p,
  .quiz-form-block > p:not(.quiz-privacy):not(.privacy-policy-note) {
    margin-bottom: 22px;
  }

  .quiz-object-grid,
  .quiz-text-grid,
  .quiz-priority-grid,
  .quiz-fields {
    grid-template-columns: 1fr;
  }

  .quiz-choice-object {
    min-height: 228px;
    padding: 16px;
  }

  .quiz-object-visual {
    height: 138px;
    margin-bottom: 6px;
  }

  .quiz-choice-text,
  .quiz-priority-grid .quiz-choice-text {
    min-height: 88px;
    padding: 16px;
    gap: 14px;
  }

  .quiz-choice-volume {
    min-height: 128px;
    padding: 14px 16px;
    gap: 12px;
  }

  .quiz-volume-visual {
    width: 104px;
    height: 92px;
    flex-basis: 104px;
  }

  .quiz-choice-priority {
    min-height: 124px;
    padding: 14px 16px;
    gap: 12px;
  }

  .quiz-priority-visual {
    width: 92px;
    height: 84px;
    flex-basis: 92px;
  }

  .quiz-choice-number {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .quiz-choice h4 {
    font-size: 18px;
  }

  .quiz-choice p {
    font-size: 15px;
  }

  .quiz-actions,
  .quiz-form-actions {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 24px;
    padding-top: 20px;
  }

  .quiz-actions > span {
    display: none;
  }

  .quiz-btn-primary {
    grid-row: 1;
    width: 100%;
  }

  .quiz-btn-secondary {
    grid-row: 2;
    justify-self: center;
  }

  .quiz-fields {
    gap: 10px;
    margin-top: 26px;
  }

  .quiz-field input {
    height: 60px;
  }

  .quiz-status {
    grid-row: 3;
    text-align: center;
  }

  .quiz-privacy {
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quiz-step-content.is-entering,
  .quiz-step-content.is-leaving-next,
  .quiz-step-content.is-leaving-prev {
    animation: none;
    transition: none;
  }
}

.contact-light {
  position: absolute;
  top: 5%;
  right: -5%;
  z-index: -2;
  width: 54%;
  height: 64%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0) 68%);
  filter: blur(18px);
  pointer-events: none;
  animation: contact-daylight 12s ease-in-out infinite alternate;
}

.contact-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(420px, 490px);
  gap: clamp(64px, 9vw, 160px);
  align-items: center;
  width: min(100%, 1660px);
  min-height: 630px;
  margin: 0 auto;
  padding: 82px 7vw 74px;
}

.contact-copy {
  max-width: 700px;
}

.contact-eyebrow {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 0 0 24px;
  color: var(--contact-green);
  font-size: 14px;
  font-weight: 600 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-eyebrow::before {
  content: "";
  width: 40px;
  height: 2px;
  flex: 0 0 auto;
  background: currentColor;
}

.contact-copy h2 {
  max-width: 690px;
  margin: 0;
  color: var(--contact-text);
  font-size: clamp(40px, 3.35vw, 60px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.contact-copy .contact-lead {
  max-width: 570px;
  margin: 28px 0 0;
  color: var(--contact-muted);
  font-size: clamp(18px, 1.25vw, 22px);
  line-height: 1.48;
}

.contact-phone {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  margin-top: 32px;
  color: var(--contact-text);
  text-decoration: none;
}

.contact-phone__icon {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 16px;
  background: rgba(117, 135, 101, 0.12);
  color: var(--contact-green);
}

.contact-phone svg,
.contact-action-icon svg,
.contact-card__header svg,
.contact-field svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-phone__icon svg {
  width: 29px;
  height: 29px;
  transition: transform 0.3s ease;
}

.contact-phone > span:last-child {
  display: grid;
  gap: 4px;
}

.contact-phone b {
  position: relative;
  font-size: clamp(27px, 2.05vw, 36px);
  line-height: 1.1;
  transition: color 0.25s ease;
}

.contact-phone b::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: var(--contact-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.contact-phone small {
  color: var(--contact-muted);
  font-size: 16px;
  font-weight: 400;
}

.contact-phone:hover b,
.contact-phone:focus-visible b {
  color: var(--contact-green-hover);
}

.contact-phone:hover b::after,
.contact-phone:focus-visible b::after {
  transform: scaleX(1);
}

.contact-phone:hover .contact-phone__icon svg,
.contact-phone:focus-visible .contact-phone__icon svg {
  transform: rotate(-8deg);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.contact-actions > a,
.contact-messenger-trigger {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  min-height: 52px;
  padding: 8px 16px 8px 9px;
  border: 1px solid rgba(117, 135, 101, 0.34);
  border-radius: 14px;
  background: transparent;
  color: var(--contact-green-hover);
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.contact-actions > a:hover,
.contact-actions > a:focus-visible,
.contact-messenger-trigger:hover,
.contact-messenger-trigger:focus-visible,
.contact-messenger-trigger[aria-expanded="true"] {
  border-color: var(--contact-green);
  background: rgba(255, 255, 255, 0.56);
  transform: translateY(-2px);
  outline: none;
}

.contact-actions > a > i,
.contact-messenger-trigger > i {
  font-style: normal;
  transition: transform 0.25s ease;
}

.contact-actions > a:hover > i,
.contact-actions > a:focus-visible > i,
.contact-messenger-trigger:hover > i,
.contact-messenger-trigger:focus-visible > i {
  transform: translateX(4px);
}

.contact-messenger-trigger[aria-expanded="true"] > i {
  transform: rotate(90deg);
}

.contact-messenger-picker {
  position: relative;
}

.contact-messenger-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 30;
  width: 292px;
  padding: 8px;
  border: 1px solid rgba(117, 135, 101, 0.28);
  border-radius: 16px;
  background: rgba(241, 245, 235, 0.98);
  box-shadow: 0 18px 42px rgba(57, 51, 40, 0.16);
}

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

.contact-messenger-menu a {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 7px 9px;
  border-radius: 11px;
  color: var(--contact-text);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-messenger-menu a:hover,
.contact-messenger-menu a:focus-visible {
  background: rgba(117, 135, 101, 0.1);
  transform: translateX(2px);
  outline: none;
}

.contact-messenger-menu a > span:nth-child(2) {
  display: grid;
  gap: 2px;
}

.contact-messenger-menu b {
  font-size: 14px;
  line-height: 1.2;
}

.contact-messenger-menu small {
  color: var(--contact-muted);
  font-size: 11px;
  line-height: 1.25;
}

.contact-messenger-menu a > i {
  color: var(--contact-green);
  font-size: 16px;
  font-style: normal;
}

.messenger-option-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
}

.messenger-option-icon--whatsapp {
  background: #25d366;
}

.messenger-option-icon--telegram {
  background: transparent;
  border-radius: 10px;
}

.messenger-option-icon--max {
  background: #5367d7;
}

.messenger-option-icon img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.messenger-option-icon--whatsapp img {
  filter: brightness(0) invert(1);
}

.messenger-option-icon--telegram img {
  width: 100%;
  height: 100%;
  filter: none;
}

.contact-action-icon {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: rgba(117, 135, 101, 0.1);
}

.contact-action-icon svg {
  width: 20px;
  height: 20px;
}

.contact-message-icon > span {
  position: absolute;
  top: 15px;
  left: 9px;
  display: flex;
  gap: 2px;
}

.contact-message-icon > span i {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.contact-messenger:hover .contact-message-icon > span i,
.contact-messenger:focus-visible .contact-message-icon > span i {
  opacity: 1;
  transform: translateY(0);
}

.contact-message-icon > span i:nth-child(2) { transition-delay: 60ms; }
.contact-message-icon > span i:nth-child(3) { transition-delay: 120ms; }

[data-contact-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.58s ease var(--contact-delay), transform 0.58s cubic-bezier(0.22, 1, 0.36, 1) var(--contact-delay);
}

.contact-section.is-visible [data-contact-reveal] {
  opacity: 1;
  transform: translateY(0);
}

.contact-card {
  --glare-x: 50%;
  --glare-y: 0%;
  position: relative;
  width: 100%;
  max-width: 490px;
  min-height: 430px;
  padding: 40px;
  overflow: hidden;
  border: 1px solid rgba(117, 134, 102, 0.24);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 58px rgba(57, 51, 40, 0.12);
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.68s ease 0.34s, transform 0.68s cubic-bezier(0.22, 1, 0.36, 1) 0.34s, box-shadow 0.3s ease;
}

.contact-section.is-visible .contact-card {
  opacity: 1;
  transform: translateX(0);
}

.contact-section.is-visible .contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 68px rgba(57, 51, 40, 0.17);
}

.contact-card__glare {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at var(--glare-x) var(--glare-y), rgba(255, 255, 255, 0.8), transparent 35%);
  opacity: 0.44;
  pointer-events: none;
}

.contact-card__content,
.contact-success {
  position: relative;
  z-index: 1;
}

.contact-card__header {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: center;
}

.contact-card__header > span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 14px;
  background: rgba(117, 135, 101, 0.1);
  color: var(--contact-green);
}

.contact-card__header svg {
  width: 28px;
  height: 28px;
}

.contact-card h3 {
  margin: 0;
  color: var(--contact-text);
  font-size: 23px;
  line-height: 1.3;
}

.contact-card__content > p {
  margin: 26px 0 24px;
  color: var(--contact-muted);
  font-size: 16px;
  line-height: 1.52;
}

.contact-form {
  display: block;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-field {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 11px;
  align-items: center;
  height: 58px;
  padding: 0 18px;
  border: 1px solid #d9ddd2;
  border-radius: 12px;
  background: rgba(241, 245, 235, 0.84);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-field:focus-within {
  border-color: var(--contact-green);
  box-shadow: 0 0 0 3px rgba(117, 135, 101, 0.12);
}

.contact-field.is-error {
  border-color: #b36b5e;
  box-shadow: 0 0 0 3px rgba(179, 107, 94, 0.1);
}

.contact-field > span {
  display: grid;
  color: var(--contact-green);
  place-items: center;
}

.contact-field svg {
  width: 20px;
  height: 20px;
}

.contact-field input {
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--contact-text);
  font-size: 18px;
}

.contact-field input::placeholder {
  color: #7a7e78;
  opacity: 1;
}

.contact-error {
  display: block;
  min-height: 20px;
  padding-top: 5px;
  color: #a75d51;
  font-size: 12px;
}

.contact-submit {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 58px;
  padding: 0 22px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  border-radius: 12px;
  background: var(--contact-green);
  box-shadow: 0 14px 30px rgba(98, 116, 85, 0.18);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-submit::before {
  content: "";
  position: absolute;
  top: -90%;
  left: -35%;
  width: 22%;
  height: 280%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent);
  transform: rotate(18deg);
  transition: left 0.58s ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  background: var(--contact-green-hover);
  box-shadow: 0 17px 34px rgba(98, 116, 85, 0.24);
  transform: translateY(-2px);
  outline: none;
}

.contact-submit:hover::before,
.contact-submit:focus-visible::before {
  left: 118%;
}

.contact-submit i {
  position: relative;
  font-style: normal;
  transition: transform 0.25s ease;
}

.contact-submit:hover i,
.contact-submit:focus-visible i {
  transform: translateX(5px);
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.84;
}

.contact-submit.is-loading i {
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: contact-spin 0.7s linear infinite;
}

.contact-privacy {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 18px 0 0;
  color: var(--contact-muted);
  font-size: 12px;
  line-height: 1.45;
}

.contact-privacy__text {
  display: block;
  min-width: 0;
}

.contact-privacy a,
.quiz-privacy a {
  color: inherit;
  text-decoration-color: rgba(117, 131, 99, 0.55);
  text-underline-offset: 2px;
}

.contact-privacy a:hover,
.contact-privacy a:focus-visible,
.quiz-privacy a:hover,
.quiz-privacy a:focus-visible {
  color: #59684b;
  text-decoration-color: currentColor;
}

.consent-control {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  cursor: pointer;
  text-align: left;
}

.consent-control input {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  flex: 0 0 auto;
  appearance: auto;
  -webkit-appearance: checkbox;
  border: 0;
  border-radius: 4px;
  background: transparent;
  accent-color: var(--contact-green);
  cursor: pointer;
  outline: 0;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.consent-control input:checked {
  background-image: none;
}

.consent-control input:focus-visible {
  outline: 3px solid rgba(117, 135, 101, 0.2);
  outline-offset: 2px;
}

.consent-control.is-error input {
  border-color: #b35f52;
  box-shadow: 0 0 0 3px rgba(179, 95, 82, 0.1);
}

.consent-control .consent-control__text {
  display: block;
  width: auto;
  height: auto;
  min-width: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  font-weight: inherit;
  line-height: inherit;
}

.consent-control__error {
  display: block;
  min-height: 17px;
  margin: 4px 0 0 32px;
  color: #a2574d;
  font-size: 12px;
  line-height: 1.35;
}

.consent-control__error:empty {
  min-height: 0;
  margin-top: 0;
}

.privacy-policy-note {
  margin: 6px 0 0 32px;
  color: var(--contact-muted, #797d77);
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
}

.privacy-policy-note a,
.consent-control a {
  color: inherit;
  text-underline-offset: 2px;
}

.measure-form__privacy.consent-control {
  align-items: start;
  margin-top: 10px;
  text-align: left;
}

.quiz-privacy.consent-control {
  align-items: start;
  margin-top: 18px;
  line-height: 1.5;
}

.quiz-form-block > .privacy-policy-note {
  margin-top: 5px;
  margin-bottom: 18px;
  color: var(--quiz-muted);
  font-size: 13px;
}

/* Standalone legal documents */
.legal-page {
  margin: 0;
  min-width: 320px;
  background: #f5f7f3;
  color: #202720;
  font-family: inherit;
}

.legal-page__header {
  background: #fff;
  border-bottom: 1px solid rgba(117, 131, 99, 0.18);
}

.legal-page__header-inner,
.legal-page__main {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.legal-page__header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-page__logo {
  display: block;
  width: min(310px, 56vw);
  height: auto;
}

.legal-page__back {
  color: #59684b;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.legal-page__back:hover,
.legal-page__back:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-page__main {
  width: min(860px, calc(100% - 40px));
  margin-block: 48px 72px;
  padding: clamp(28px, 3vw, 40px);
  box-sizing: border-box;
  border: 1px solid rgba(117, 131, 99, 0.18);
  border-radius: 20px;
  background: #fff;
}

.legal-page h1 {
  margin: 0 0 14px;
  color: #202720;
  font-size: clamp(30px, 3vw, 36px);
  line-height: 1.15;
}

.legal-page__updated {
  margin: 0 0 36px;
  color: #6d746b;
}

.legal-page h2 {
  margin: 28px 0 10px;
  color: #202720;
  font-size: 21px;
  line-height: 1.3;
}

.legal-page p,
.legal-page li {
  color: #50584f;
  font-size: 16px;
  line-height: 1.65;
}

.legal-page p {
  margin: 0 0 12px;
}

.legal-page ul,
.legal-page ol {
  margin: 0;
  padding-left: 24px;
}

.legal-page a {
  color: #59684b;
}

.legal-page__details {
  margin-top: 36px;
  padding: 22px 24px;
  border-radius: 18px;
  background: #f5f7f3;
}

.legal-page__details p:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .legal-page__header-inner {
    min-height: 76px;
  }

  .legal-page__back {
    font-size: 0;
  }

  .legal-page__back::before {
    content: "←";
    font-size: 26px;
  }

  .legal-page__main {
    width: min(100% - 24px, 860px);
    margin-block: 20px 40px;
    padding: 24px 20px;
    border-radius: 16px;
  }

  .legal-page h1 {
    font-size: 28px;
  }

  .legal-page h2 {
    margin-top: 24px;
    font-size: 19px;
  }
}

.contact-privacy__icon {
  position: relative;
  width: 16px;
  height: 17px;
  margin-top: 1px;
  flex: 0 0 auto;
}

.contact-privacy__icon::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 1px;
  width: 14px;
  height: 11px;
  box-sizing: border-box;
  border: 1.5px solid var(--contact-muted);
  border-radius: 2.5px;
}

.contact-privacy__icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 4px;
  width: 8px;
  height: 8px;
  box-sizing: border-box;
  border: 1.5px solid var(--contact-muted);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}

.contact-success {
  display: grid;
  min-height: 350px;
  text-align: center;
  place-content: center;
  justify-items: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

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

.contact-success.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-success > span {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 50%;
  background: rgba(117, 135, 101, 0.14);
}

.contact-success > span::before {
  content: "";
  width: 22px;
  height: 12px;
  border-bottom: 3px solid var(--contact-green);
  border-left: 3px solid var(--contact-green);
  transform: translateY(-2px) rotate(-45deg);
}

.contact-success h3 {
  font-size: 26px;
}

.contact-success p {
  margin: 12px 0 0;
  color: var(--contact-muted);
  font-size: 17px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@keyframes contact-daylight {
  from { transform: translate3d(-5%, -2%, 0) scale(0.98); opacity: 0.62; }
  to { transform: translate3d(5%, 3%, 0) scale(1.04); opacity: 0.88; }
}

@keyframes contact-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1120px) {
  .contact-main {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 440px);
    gap: 42px;
    padding-right: 5vw;
    padding-left: 5vw;
  }

  .contact-copy h2 { font-size: clamp(36px, 4.2vw, 50px); }

  .contact-card { padding: 32px; }
}

@media (max-width: 880px) {
  .contact-bg {
    display: none;
  }

  .contact-bg::after {
    background: linear-gradient(90deg, rgba(241, 245, 235, 0.99), rgba(241, 245, 235, 0.94) 62%, rgba(241, 245, 235, 0.52));
  }

  .contact-light { display: none; }

  .contact-main {
    grid-template-columns: 1fr;
    gap: 46px;
    padding: 68px 7vw 58px;
  }

  .contact-copy { max-width: 680px; }

  .contact-card {
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 620px) {
  body.is-contact-in-view .marquiz-widget__iframe,
  body.is-quiz-in-view .marquiz-widget__iframe,
  body.measure-modal-open .marquiz-widget__iframe {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .contact-main {
    gap: 38px;
    padding: 52px 20px 42px;
  }

  .contact-eyebrow {
    margin-bottom: 18px;
    font-size: 12px;
  }

  .contact-copy h2 {
    font-size: clamp(31px, 9vw, 40px);
    line-height: 1.13;
  }

  .contact-copy h2 br { display: none; }

  .contact-copy .contact-lead {
    margin-top: 20px;
    font-size: 17px;
  }

  .contact-phone {
    gap: 14px;
    margin-top: 26px;
  }

  .contact-phone__icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
  }

  .contact-phone b { font-size: clamp(23px, 7.5vw, 29px); }
  .contact-phone small { font-size: 14px; }

  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .contact-actions > a { width: 100%; }
  .contact-actions > a > i { margin-left: auto; }

  .contact-messenger-picker,
  .contact-messenger-trigger {
    width: 100%;
  }

  .contact-messenger-trigger > i {
    margin-left: auto;
  }

  .contact-messenger-menu {
    right: 0;
    width: 100%;
  }

  .contact-card {
    min-height: 0;
    padding: 25px 20px;
    border-radius: 20px;
  }

  .contact-card__header {
    grid-template-columns: 46px 1fr;
    gap: 13px;
  }

  .contact-card__header > span {
    width: 46px;
    height: 46px;
  }

  .contact-card h3 { font-size: 19px; }
  .contact-card__content > p { margin: 20px 0; font-size: 15px; }
  .contact-form { padding: 0; }

  .contact-submit {
    gap: 10px;
    padding-inline: 14px;
    font-size: 15px;
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  .contact-card {
    padding-inline: 16px;
  }

  .contact-card__header {
    grid-template-columns: 44px 1fr;
    gap: 10px;
  }

  .contact-card__header > span {
    width: 44px;
    height: 44px;
  }

  .contact-card h3 {
    font-size: 17px;
  }
}

@media (max-width: 340px) {
  .contact-card__header {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-light,
  .contact-submit.is-loading i {
    animation: none !important;
  }

  [data-contact-reveal],
  .contact-card,
  .contact-phone__icon svg,
  .contact-actions > a,
  .contact-messenger-trigger,
  .contact-messenger-menu a,
  .contact-submit {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Refined site footer */
.site-footer {
  display: block;
  padding: 0;
  overflow: hidden;
  border-top: 0;
  background: #eef2e9;
  color: #30352f;
}

.site-footer,
.site-footer div {
  text-align: left;
}

.site-footer__inner,
.site-footer__legal-inner {
  width: min(calc(100% - 12vw), 1660px);
  margin: 0 auto;
}

.site-footer__inner {
  padding: 34px 0 42px;
}

.site-footer__ornament {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.site-footer__ornament > span {
  display: block;
  height: 1px;
  background: rgba(117, 131, 99, 0.34);
  transform: scaleX(1);
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer__ornament > span:first-child {
  transform-origin: right center;
}

.site-footer__ornament > span:last-child {
  transform-origin: left center;
}

.site-footer__window-mark {
  position: relative;
  display: block;
  width: 17px;
  height: 21px;
  box-sizing: border-box;
  margin: 0 auto;
  border: 1.5px solid rgba(96, 112, 82, 0.56);
  border-radius: 9px 9px 2px 2px;
  opacity: 1;
  transition: opacity 260ms ease 220ms;
}

.site-footer__window-mark::before,
.site-footer__window-mark::after {
  position: absolute;
  content: "";
  background: rgba(96, 112, 82, 0.56);
}

.site-footer__window-mark::before {
  top: 2px;
  bottom: 1px;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
}

.site-footer__window-mark::after {
  right: 1px;
  bottom: 7px;
  left: 1px;
  height: 1px;
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(320px, 0.9fr) minmax(390px, 1.08fr);
  gap: clamp(42px, 5.5vw, 92px);
  align-items: start;
  padding-top: 48px;
}

.site-footer__brand .brand {
  display: inline-flex;
}

.site-footer .site-footer__brand .brand-logo {
  width: 205px;
  max-height: 68px;
}

.site-footer__brand p {
  max-width: 330px;
  margin: 26px 0 0;
  color: #555b54;
  font-size: 16px;
  line-height: 1.58;
}

.site-footer .site-footer__nav {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  gap: 18px clamp(38px, 4vw, 72px);
  justify-content: stretch;
  padding: 14px clamp(34px, 4vw, 66px) 14px 0;
  border-right: 1px solid rgba(117, 131, 99, 0.2);
}

.site-footer .site-footer__nav a {
  position: relative;
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 15px;
  color: #30352f;
  font-size: 15px;
  font-weight: 600;
  transition: color 220ms ease, transform 220ms ease;
}

.site-footer__nav a::after {
  position: absolute;
  bottom: 1px;
  left: 0;
  width: 24px;
  height: 1px;
  content: "";
  background: #718262;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
}

.site-footer__nav a i {
  margin-left: auto;
  color: #718262;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  transition: transform 220ms ease;
}

.site-footer .site-footer__nav a:hover,
.site-footer .site-footer__nav a:focus-visible {
  color: #5e704f;
  outline: none;
  transform: translateX(3px);
}

.site-footer__nav a:hover::after,
.site-footer__nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-footer__nav a:hover i,
.site-footer__nav a:focus-visible i {
  transform: translateX(4px);
}

.site-footer__contacts {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  font-style: normal;
}

.site-footer .site-footer__contact {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 42px;
  margin: 0;
  color: #3f453f;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

.site-footer .site-footer__contact--phone {
  color: #2e332d;
}

.site-footer__contact--phone strong {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.site-footer__contact-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: rgba(117, 131, 99, 0.09);
  color: #667957;
  font-family: "Segoe UI Symbol", Arial, sans-serif;
  font-size: 20px;
  line-height: 1;
  transition: color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.site-footer a.site-footer__contact {
  transition: color 220ms ease, transform 220ms ease;
}

.site-footer a.site-footer__contact:hover,
.site-footer a.site-footer__contact:focus-visible {
  color: #5e704f;
  outline: none;
  transform: translateX(3px);
}

.site-footer__contact:hover .site-footer__contact-icon,
.site-footer__contact:focus-visible .site-footer__contact-icon {
  background: rgba(117, 131, 99, 0.17);
  color: #536746;
  transform: scale(1.04);
}

.site-footer__legal {
  border-top: 1px solid rgba(117, 131, 99, 0.18);
  background: rgba(255, 255, 255, 0.34);
}

.site-footer__legal-inner {
  display: grid;
  grid-template-columns: auto minmax(300px, 1fr) auto;
  gap: clamp(28px, 4vw, 66px);
  align-items: center;
  min-height: 82px;
  padding: 14px 0;
}

.site-footer .site-footer__legal small {
  color: #3f453f;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
}

.site-footer__legal-inner > p {
  max-width: 540px;
  margin: 0;
  color: #747970;
  font-size: 13px;
  line-height: 1.5;
}

.site-footer__legal-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.site-footer .site-footer__legal-links a {
  position: relative;
  display: inline-flex;
  color: #464c45;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
  transition: color 220ms ease, transform 220ms ease;
}

.site-footer__legal-links a::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  content: "";
  background: #718262;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
}

.site-footer .site-footer__legal-links a:hover,
.site-footer .site-footer__legal-links a:focus-visible {
  color: #5e704f;
  outline: none;
  transform: translateX(3px);
}

.site-footer__legal-links a:hover::after,
.site-footer__legal-links a:focus-visible::after {
  transform: scaleX(1);
}

.site-footer--animate .site-footer__ornament > span {
  transform: scaleX(0);
}

.site-footer--animate .site-footer__window-mark,
.site-footer--animate [data-footer-reveal] {
  opacity: 0;
}

.site-footer--animate [data-footer-reveal] {
  transform: translateY(12px);
}

.site-footer--animate.is-visible .site-footer__ornament > span {
  transform: scaleX(1);
}

.site-footer--animate.is-visible .site-footer__window-mark {
  opacity: 1;
}

.site-footer--animate.is-visible [data-footer-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 440ms ease var(--footer-delay), transform 520ms cubic-bezier(0.22, 1, 0.36, 1) var(--footer-delay);
}

@media (max-width: 1120px) {
  .site-footer__main {
    grid-template-columns: minmax(230px, 0.8fr) minmax(360px, 1.2fr);
    gap: 38px 54px;
  }

  .site-footer .site-footer__nav {
    padding-right: 0;
    border-right: 0;
  }

  .site-footer__contacts {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 28px;
    border-top: 1px solid rgba(117, 131, 99, 0.16);
  }

  .site-footer__legal-inner {
    grid-template-columns: auto 1fr;
  }

  .site-footer__legal-links {
    grid-column: 1 / -1;
    padding-bottom: 7px;
  }
}

@media (max-width: 760px) {
  .site-footer__inner,
  .site-footer__legal-inner {
    width: calc(100% - 40px);
  }

  .site-footer__inner {
    padding-top: 26px;
    padding-bottom: 34px;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 36px;
  }

  .site-footer__brand p {
    max-width: 420px;
    margin-top: 20px;
  }

  .site-footer .site-footer__nav {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 12px 30px;
    padding: 24px 0;
    border-top: 1px solid rgba(117, 131, 99, 0.16);
    border-bottom: 1px solid rgba(117, 131, 99, 0.16);
  }

  .site-footer__contacts {
    grid-column: auto;
    grid-template-columns: 1fr;
    padding-top: 0;
    border-top: 0;
  }

  .site-footer__legal-inner {
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    padding: 24px 0 26px;
  }

  .site-footer__legal-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding: 0;
  }

  .site-footer .site-footer__legal-links a {
    white-space: normal;
  }
}

@media (max-width: 430px) {
  .site-footer__inner,
  .site-footer__legal-inner {
    width: calc(100% - 32px);
  }

  .site-footer__ornament {
    gap: 12px;
  }

  .site-footer .site-footer__brand .brand-logo {
    width: min(205px, 72vw);
  }

  .site-footer__brand p {
    font-size: 15px;
  }

  .site-footer .site-footer__nav {
    column-gap: 20px;
  }

  .site-footer .site-footer__contact {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    font-size: 14px;
  }

  .site-footer__contact-icon {
    width: 38px;
    height: 38px;
  }

  .site-footer__contact--phone strong {
    font-size: inherit;
    font-weight: inherit;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer__ornament > span,
  .site-footer__window-mark,
  .site-footer [data-footer-reveal],
  .site-footer__nav a,
  .site-footer__nav a::after,
  .site-footer__nav a i,
  .site-footer__contact,
  .site-footer__contact-icon,
  .site-footer__legal-links a,
  .site-footer__legal-links a::after {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Shared layout rhythm and component geometry */
:root {
  --site-container-width: 1840px;
  --site-container-gutter: 48px;
  --section-space: 96px;
  --section-heading-gap: 48px;
  --main-section-title-size: 48px;
  --main-section-title-width: 1080px;
  --section-copy-width: 960px;
  --radius-card: 24px;
  --radius-control: 16px;
  --radius-pill: 999px;
  --border-color: #d6ded0;
  --border-color-accent: #a8b397;
  --shadow-card: 0 16px 40px rgba(38, 43, 35, 0.07);
  --shadow-floating: 0 24px 64px rgba(31, 36, 29, 0.16);
}

/* The hero and every primary section share one calm display-title scale. */
h1 {
  font-size: var(--main-section-title-size);
}

/* One pair of horizontal guides for every main section. */
.section-head,
.services .service-grid,
.quality-control__inner,
.profile-brands__inner,
.quiz-shell,
.projects .project-grid,
.work-process__inner,
.reviews__inner,
.contact-main,
.site-footer__inner,
.site-footer__legal-inner {
  width: min(
    calc(100% - var(--site-container-gutter) * 2),
    var(--site-container-width)
  );
  max-width: var(--site-container-width);
  margin-left: auto;
  margin-right: auto;
}

/* A consistent vertical field around the primary sections. */
.services,
.quality-control,
.profile-brands,
.quiz-section,
.projects,
.work-process,
.reviews {
  padding-top: var(--section-space);
  padding-right: 0;
  padding-bottom: var(--section-space);
  padding-left: 0;
}

.quiz-section {
  margin-top: 0;
}

.contact-main {
  padding-top: var(--section-space);
  padding-right: 0;
  padding-bottom: var(--section-space);
  padding-left: 0;
}

/* Repeated heading rhythm. */
.service-head h2,
.quality-control__intro h2,
.profile-brands__header h2,
.quiz-intro h2,
.projects .section-head h2,
.work-process__head h2,
.reviews__heading h2,
.contact-copy h2 {
  width: min(100%, var(--main-section-title-width));
  max-width: var(--main-section-title-width);
  font-size: var(--main-section-title-size);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.service-head h2,
.profile-brands__header h2,
.work-process__head h2 {
  margin-left: auto;
  margin-right: auto;
}

.service-head,
.projects .section-head,
.reviews__header {
  margin-bottom: var(--section-heading-gap);
}

.profile-brands__panel {
  margin-top: var(--section-heading-gap);
}

.service-head p,
.profile-brands__lead,
.work-process__lead {
  max-width: var(--section-copy-width);
  margin-right: auto;
  margin-left: auto;
}

.quality-control__line,
.profile-brands__line,
.work-process__head-line {
  margin-top: 16px;
  margin-bottom: 28px;
}

.profile-brands__line,
.work-process__head-line {
  margin-right: auto;
  margin-left: auto;
}

/* One visual language for cards, panels and nested controls. */
.services .service-card,
.project-card,
.quality-control__card,
.profile-brands__panel,
.quiz-shell,
.quiz-card,
.work-card,
.review-card,
.contact-card {
  border-color: var(--border-color);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.service-photo,
.contact-actions > a,
.contact-messenger-trigger,
.contact-messenger-menu,
.contact-field,
.quiz-field input,
.quiz-choice,
.quiz-choice-list {
  border-radius: var(--radius-control);
}

.service-tag,
.project-body p span {
  border-radius: var(--radius-pill);
}

.services .service-card:hover,
.work-process.is-visible .work-card:hover,
.work-process.is-visible .work-card:focus-within,
.contact-section.is-visible .contact-card:hover {
  border-color: var(--border-color-accent);
  box-shadow: 0 20px 48px rgba(38, 43, 35, 0.11);
}

.profile-brands.is-visible .profile-brands__panel {
  border-color: var(--border-color);
  box-shadow: var(--shadow-card);
}

.projects-modal__dialog,
.measure-modal__dialog {
  box-shadow: var(--shadow-floating);
}

@media (max-width: 1024px) {
  :root {
    --site-container-gutter: 24px;
    --section-space: 72px;
    --section-heading-gap: 40px;
    --main-section-title-size: 44px;
  }
}

@media (max-width: 640px) {
  :root {
    --site-container-gutter: 16px;
    --section-space: 56px;
    --section-heading-gap: 32px;
    --main-section-title-size: clamp(34px, 9vw, 40px);
    --main-section-title-width: 100%;
    --section-copy-width: 100%;
  }
}

/* Two-tone section rhythm: only the large section planes alternate. */
:root {
  --section-bg-white: #ffffff;
  --section-bg-warm: #f5f7f3;
}

.services,
.profile-brands,
.projects,
.reviews {
  background: var(--section-bg-white);
}

.quality-control,
.work-process {
  background: var(--section-bg-warm);
}

/* The calculator is taller than one viewport; a white section plane makes the
   continuation below the fold feel seamless instead of visually cropped. */
.quiz-section {
  --quiz-bg: var(--section-bg-white);
  background: var(--section-bg-white);
}

.contact-section {
  --contact-bg: var(--section-bg-white);
  background: var(--section-bg-white);
}

/* Keep the final window photo present and readable behind the contact content. */
.contact-bg {
  opacity: 1;
}

.contact-bg::after {
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.98) 36%,
    rgba(255, 255, 255, 0.76) 54%,
    rgba(255, 255, 255, 0.12) 78%,
    rgba(255, 255, 255, 0.04) 100%
  );
}

/* The calculator introduction is intentionally larger than regular section titles. */
.quiz-section .quiz-intro h2 {
  width: min(100%, 820px);
  max-width: 820px;
  font-size: clamp(48px, 4.2vw, 64px);
}

@media (max-width: 1024px) {
  .quiz-section .quiz-intro h2 {
    font-size: clamp(42px, 5.5vw, 56px);
  }
}

@media (max-width: 620px) {
  .quiz-section .quiz-intro h2 {
    width: 100%;
    font-size: clamp(36px, 11vw, 46px);
  }
}

.site-footer {
  background: var(--section-bg-white);
}

/* Keep the quality heading inside its column at every desktop width. */
.quality-control__intro {
  min-width: 0;
}

.quality-control__title-nowrap {
  white-space: normal;
}

@media (min-width: 1241px) and (max-width: 1799px) {
  .quality-control__inner {
    grid-template-columns: minmax(0, 39fr) minmax(0, 32fr) minmax(0, 29fr);
    gap: clamp(24px, 2vw, 32px);
  }

  .quality-control__intro h2 {
    font-size: 40px;
  }

  .quality-control__result-line {
    white-space: nowrap;
  }
}

@media (min-width: 1800px) {
  .quality-control__inner {
    grid-template-columns: minmax(0, 34fr) minmax(0, 37fr) minmax(0, 29fr);
  }
}

/* The profile brands now finish the quality section as one compact strip. */
.quality-control .profile-brands--compact {
  width: min(
    calc(100% - var(--site-container-gutter) * 2),
    var(--site-container-width)
  );
  margin: clamp(34px, 3vw, 48px) auto 0;
  padding: 0;
  overflow: visible;
  background: transparent;
  transform: translateY(clamp(24px, 2vw, 36px));
}

.profile-brands--compact .profile-brands__inner {
  width: 100%;
  max-width: none;
}

.profile-brands--compact .profile-brands__panel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  background: var(--border-color);
  box-shadow: var(--shadow-card);
}

.profile-brands--compact .profile-brand,
.profile-brands--compact .profile-brand:nth-child(n + 3),
.profile-brands--compact .profile-brand:nth-child(5) {
  display: flex;
  min-height: 124px;
  grid-column: span 1;
  align-items: center;
  justify-content: center;
  padding: 22px 28px;
  background: #ffffff;
}

.profile-brands--compact .profile-brand::before,
.profile-brands--compact .profile-brand::after,
.profile-brands--compact .profile-brand__number,
.profile-brands--compact .profile-brand > p {
  display: none;
}

.profile-brands--compact .profile-brand__logo {
  min-height: 0;
  padding: 0;
}

.profile-brands--compact .profile-brand__logo img {
  width: auto;
  max-width: min(82%, 230px);
  max-height: 58px;
}

.profile-brands--compact .profile-brand__logo--rehau img {
  max-width: min(76%, 210px);
  max-height: 60px;
}

.profile-brands--compact .profile-brand__logo--reachmont img {
  max-width: min(68%, 170px);
  max-height: 70px;
}

.profile-brands--compact .profile-brand:hover {
  background: #eef2e9;
  box-shadow: none;
}

.profile-brands--compact.is-visible .profile-brands__panel {
  border-color: var(--border-color);
  box-shadow: var(--shadow-card);
  transition-delay: 120ms;
}

.profile-brands--compact.is-visible .profile-brand__logo {
  transition-delay: calc(180ms + var(--brand-index) * 70ms);
}

@media (max-width: 720px) {
  .quality-control .profile-brands--compact {
    margin-top: 32px;
    transform: translateY(12px);
  }

  .profile-brands--compact .profile-brands__panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 20px;
  }

  .profile-brands--compact .profile-brand,
  .profile-brands--compact .profile-brand:nth-child(n + 3) {
    min-height: 104px;
    grid-column: span 1;
    padding: 18px 16px;
  }

  .profile-brands--compact .profile-brand:nth-child(5) {
    grid-column: 1 / -1;
  }

  .profile-brands--compact .profile-brand__logo img {
    max-width: min(82%, 190px);
    max-height: 50px;
  }
}

/* Group related sections into broader background zones. */
.services,
.projects,
.quiz-section,
.work-process,
.site-footer {
  background: var(--section-bg-white);
}

.quality-control,
.reviews,
.contact-section {
  background: var(--section-bg-warm);
}

.contact-section {
  --contact-bg: var(--section-bg-white);
  background: var(--section-bg-white);
}

.contact-bg::after {
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.98) 36%,
    rgba(255, 255, 255, 0.76) 54%,
    rgba(255, 255, 255, 0.12) 78%,
    rgba(255, 255, 255, 0.04) 100%
  );
}

/* Calculator typography aligned with the rest of the site. */
.quiz-section .quiz-intro h2 {
  width: min(100%, var(--main-section-title-width));
  max-width: var(--main-section-title-width);
  font-size: var(--main-section-title-size);
  line-height: 1.08;
}

.quiz-section .quiz-copy {
  max-width: 620px;
  font-size: clamp(17px, 1.15vw, 20px);
  line-height: 1.45;
}

.quiz-section .quiz-eyebrow {
  font-size: 15px;
}

.quiz-section .quiz-step-dot {
  font-size: clamp(13px, 0.9vw, 15px);
}

.quiz-section .quiz-step-dot span {
  font-size: 15px;
}

/* Completed steps use only the SVG checkmark, without the text glyph underneath. */
.quiz-section .quiz-step-dot.is-done span {
  font-size: 0;
}

.quiz-section .quiz-question h3,
.quiz-section .quiz-form-block > h3 {
  font-size: clamp(28px, 2vw, 32px);
  line-height: 1.16;
}

.quiz-section .quiz-question > p,
.quiz-section .quiz-form-block > p:not(.quiz-privacy):not(.privacy-policy-note) {
  font-size: clamp(15px, 1vw, 17px);
}

.quiz-section .quiz-choice h4 {
  font-size: clamp(17px, 1.15vw, 20px);
}

.quiz-section .quiz-choice p {
  font-size: clamp(14px, 0.95vw, 16px);
}

.quiz-section .quiz-btn {
  font-size: 16px;
}

.quiz-section .quiz-field label {
  font-size: 15px;
}

.quiz-section .quiz-field input {
  font-size: 16px;
}

@media (max-width: 640px) {
  .quiz-section .quiz-intro h2 {
    width: 100%;
    max-width: 100%;
    font-size: var(--main-section-title-size);
  }

  .quiz-section .quiz-copy {
    font-size: 16px;
  }

  .quiz-section .quiz-question h3,
  .quiz-section .quiz-form-block > h3 {
    font-size: clamp(24px, 7vw, 28px);
  }

  .quiz-section .quiz-choice h4 {
    font-size: 17px;
  }

  .quiz-section .quiz-choice p,
  .quiz-section .quiz-question > p,
  .quiz-section .quiz-form-block > p:not(.quiz-privacy):not(.privacy-policy-note) {
    font-size: 14px;
  }
}

/* Keep the living-glass motion above the legacy calculator overrides. */
.quiz-section .quiz-card {
  filter: blur(8px);
  transform: translateY(24px) scale(0.99);
  transition:
    height var(--quiz-step-duration) var(--quiz-step-easing),
    opacity 520ms var(--quiz-step-easing) 80ms,
    transform 620ms var(--quiz-step-easing) 80ms,
    filter 500ms ease 80ms;
}

.quiz-section.is-visible .quiz-card {
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.quiz-section .quiz-step-content.is-entering {
  animation: livingGlassStepIn var(--quiz-step-duration) var(--quiz-step-easing) both;
}

.quiz-section .quiz-step-content.is-leaving-next {
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity var(--quiz-step-duration) ease, transform var(--quiz-step-duration) var(--quiz-step-easing);
}

.quiz-section .quiz-step-content.is-leaving-prev {
  opacity: 0;
  transform: translateX(18px);
  transition: opacity var(--quiz-step-duration) ease, transform var(--quiz-step-duration) var(--quiz-step-easing);
}

.quiz-section .quiz-progress-fill {
  transition: width 400ms var(--quiz-step-easing);
}

/* Scroll-performance pass: keep the short interactions, but do not retain
   expensive compositor layers after they have finished. */
.quiz-section {
  contain: paint;
}

.quiz-section .quiz-card,
.quiz-section.is-visible .quiz-card {
  filter: none;
  transition:
    height var(--quiz-step-duration) var(--quiz-step-easing),
    opacity 420ms var(--quiz-step-easing) 60ms,
    transform 500ms var(--quiz-step-easing) 60ms;
}

.quiz-hero-visual {
  contain: paint;
}

.quiz-hero-visual::after,
.quiz-section .quiz-choice,
.quiz-object-visual img,
.quiz-volume-visual img,
.quiz-priority-visual img {
  will-change: auto;
}

.quiz-section .quiz-choice {
  transform-style: flat;
}

/* The photo remains, while the costly blurred infinite light animation is
   replaced with the same calm glow in a static state. */
.contact-light {
  filter: none;
  animation: none;
  opacity: 0.52;
}

/* Let the white calculator plane merge with the page. The outer shell must not
   look like a second card; only the form itself keeps a very soft separation. */
.quiz-section .quiz-shell {
  --quiz-edge-gap: clamp(14px, 1.6vw, 30px);
  --quiz-content-pad: clamp(30px, 3.8vw, 64px);
  width: min(calc(100% - var(--quiz-edge-gap) * 2), 1920px);
  max-width: 1920px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

@media (min-width: 901px) {
  .quiz-section .quiz-shell {
    width: calc(100% - var(--quiz-edge-gap));
    max-width: 2048px;
    margin-right: 0;
    margin-left: var(--quiz-edge-gap);
  }
}

/* Finish the window image with the same soft geometry used throughout the
   calculator while keeping the lower form card independent. */
.quiz-section .quiz-hero {
  border-radius: 0;
}

.quiz-section .quiz-intro {
  padding-right: var(--quiz-content-pad);
  padding-left: var(--quiz-content-pad);
}

.quiz-section .quiz-card {
  border-color: rgba(101, 122, 83, 0.055);
  background-color: rgba(251, 252, 250, 0.98);
  box-shadow: 0 12px 36px rgba(38, 43, 35, 0.025);
}

@media (max-width: 900px) {
  .quiz-section .quiz-shell {
    --quiz-content-pad: 24px;
  }
}

@media (max-width: 620px) {
  .quiz-section .quiz-shell {
    --quiz-content-pad: 14px;
  }
}

/* Keep project addresses and measurements on one shared footer line, even
   when titles above occupy a different number of rows. */
.projects .project-card {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.projects .project-image {
  flex: 0 0 auto;
}

.projects .project-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.projects .project-meta {
  display: flex;
  gap: 16px;
  align-items: baseline;
  justify-content: space-between;
  margin-top: auto;
}

.projects .project-meta small {
  min-width: 0;
  line-height: 1.35;
}

.projects .project-body b {
  position: static;
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Keep the desktop process section close to its original scale: only a few
   pixels are trimmed so it remains spacious and visually substantial. */
@media (min-width: 1121px) {
  .work-process {
    padding-top: 84px;
    padding-bottom: 92px;
  }

  .work-process__head-line {
    margin-top: 17px;
    margin-bottom: 23px;
  }

  .work-process__lead {
    margin-top: 21px;
  }

  .work-process__grid {
    margin-top: 72px;
    padding-top: 68px;
  }

  .work-process__grid::before,
  .work-process__grid::after {
    top: 25px;
  }

  .work-card {
    min-height: 520px;
    padding: 31px 28px 27px;
  }

  .work-card__number {
    top: -68px;
    width: 50px;
    height: 50px;
    font-size: 16px;
  }

  .work-illustration {
    height: 210px;
    margin-bottom: 24px;
    transform: none;
  }

  .work-card h3 {
    margin-bottom: 12px;
    font-size: clamp(20px, 1.45vw, 24px);
  }

  .work-card > p {
    font-size: 15px;
    line-height: 1.55;
  }

  .work-card__fact {
    padding-top: 21px;
    font-size: 14px;
  }
}

/* Short desktop screens lose only some outer spacing; the cards, typography
   and illustrations keep their normal visual scale. */
@media (min-width: 1121px) and (max-height: 850px) {
  .work-process {
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .work-process__grid {
    margin-top: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quiz-section .quiz-card,
  .quiz-section .quiz-step-content,
  .quiz-section .quiz-progress-fill {
    animation: none !important;
    transition: none !important;
  }

  .quiz-section .quiz-card,
  .quiz-section .quiz-step-content {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}

/* Quality control: a calm two-column composition with the profile as the hero. */
.quality-control {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 5.5vw, 110px) 0;
  background: #f5f7f3;
  color: #29312b;
}

.quality-control__inner {
  display: grid;
  width: min(calc(100% - 96px), 1520px);
  max-width: 1520px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 43fr) minmax(0, 57fr);
  gap: clamp(60px, 4.5vw, 86px);
  align-items: center;
}

.quality-control__intro,
.quality-control__visual {
  min-width: 0;
}

.quality-control__intro {
  align-self: center;
  opacity: 0;
  transform: translateY(24px);
}

.quality-control__eyebrow {
  margin: 0;
  color: #657753;
  font-size: clamp(14px, 0.9vw, 16px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.quality-control__line {
  display: block;
  width: 64px;
  height: 2px;
  margin: 16px 0 30px;
  border-radius: 999px;
  background: #657753;
}

.quality-control__intro h2 {
  width: 100%;
  max-width: 620px;
  margin: 0;
  color: #262d28;
  font-size: clamp(52px, 3.45vw, 66px);
  font-weight: 680;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.quality-control__intro h2 > span {
  display: block;
}

.quality-control__lead {
  max-width: 590px;
  margin: 30px 0 0;
  color: #657068;
  font-size: clamp(19px, 1.08vw, 21px);
  font-weight: 400;
  line-height: 1.55;
}

.quality-control__benefits {
  display: grid;
  gap: 26px;
  max-width: 590px;
  margin: 34px 0 36px;
  padding: 0;
  list-style: none;
}

.quality-control__benefits li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin: 0;
  padding: 0;
  opacity: 0;
  transform: translateY(10px);
}

.quality-control__icon {
  display: grid;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  background: #e6eddc;
  color: #617250;
  place-items: center;
}

.quality-control__icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.quality-control__benefits b,
.quality-control__benefits small {
  display: block;
}

.quality-control__benefits b {
  margin: 0 0 5px;
  color: #29312b;
  font-size: clamp(19px, 1.08vw, 21px);
  font-weight: 680;
  line-height: 1.2;
}

.quality-control__benefits small {
  max-width: 430px;
  color: #687169;
  font-size: clamp(16px, 0.88vw, 17px);
  font-weight: 400;
  line-height: 1.45;
}

.quality-control__cta {
  display: inline-flex;
  width: min(100%, 330px);
  min-height: 68px;
  padding: 16px 24px;
  border: 1px solid #667855;
  border-radius: 16px;
  background: #667855;
  color: #fff;
  font-size: clamp(17px, 0.96vw, 18px);
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(67, 83, 57, 0.13);
  align-items: center;
  justify-content: center;
  gap: 22px;
  transition: background-color 280ms ease, border-color 280ms ease, transform 280ms ease, box-shadow 280ms ease;
}

.quality-control__cta-arrow {
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  transition: transform 280ms ease;
}

.quality-control__cta:hover,
.quality-control__cta:focus-visible {
  border-color: #536545;
  background: #536545;
  box-shadow: 0 17px 34px rgba(67, 83, 57, 0.18);
  transform: translateY(-1px);
}

.quality-control__cta:hover .quality-control__cta-arrow,
.quality-control__cta:focus-visible .quality-control__cta-arrow {
  transform: translateX(5px);
}

.quality-control__cta:focus-visible {
  outline: 3px solid rgba(102, 120, 85, 0.28);
  outline-offset: 4px;
}

.quality-control__visual {
  position: relative;
  width: 100%;
  height: clamp(650px, 38vw, 740px);
  margin: 0;
  overflow: visible;
  opacity: 0;
}

.quality-control__visual figcaption {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 50%;
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 0;
  color: #29312b;
  font-size: clamp(27px, 1.55vw, 31px);
  font-weight: 680;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
  background: transparent;
  transform: translateX(-50%);
}

.quality-control__glow {
  position: absolute;
  z-index: 0;
  display: block;
  top: 52%;
  left: 50%;
  width: min(88%, 710px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(132, 158, 99, 0.34) 0%, rgba(156, 181, 126, 0.27) 34%, rgba(190, 207, 168, 0.18) 52%, rgba(222, 232, 209, 0.1) 64%, rgba(245, 247, 243, 0) 76%);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.quality-control__image {
  --profile-x: -50%;
  position: absolute;
  z-index: 2;
  top: 50px;
  left: 50%;
  display: block;
  width: min(400px, 48%);
  height: calc(100% - 50px);
  max-width: none;
  max-height: none;
  margin: 0;
  object-fit: contain;
  object-position: center;
  background: none;
  opacity: 0;
  filter: drop-shadow(0 22px 20px rgba(44, 52, 46, 0.11));
  transform: translateX(var(--profile-x)) scale(0.97);
}

.quality-control__callouts {
  position: absolute;
  z-index: 3;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.quality-control__callout {
  --leader: 110px;
  position: absolute;
  width: 178px;
  margin: 0;
  padding: 0;
  color: #3f4d3d;
  font-size: clamp(16px, 0.95vw, 18px);
  font-weight: 500;
  line-height: 1.3;
  background: transparent;
  opacity: 0;
  transform: translateY(8px);
}

.quality-control__callout::after {
  position: absolute;
  top: calc(50% - 0.5px);
  width: var(--leader);
  height: 1px;
  background: rgba(96, 119, 80, 0.92);
  content: "";
}

.quality-control__callout::before {
  position: absolute;
  z-index: 2;
  top: calc(50% - 5px);
  width: 10px;
  height: 10px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #687d55;
  box-shadow: 0 0 0 2px #f5f7f3;
  content: "";
}

.quality-control__callout--seal,
.quality-control__callout--profile {
  right: calc(50% + 174px);
  left: auto;
  text-align: right;
}

.quality-control__callout--seal::after,
.quality-control__callout--profile::after {
  right: calc(-1 * var(--leader));
}

.quality-control__callout--seal::before,
.quality-control__callout--profile::before {
  right: calc(-1 * var(--leader) - 5px);
}

.quality-control__callout--glass,
.quality-control__callout--steel {
  right: auto;
  left: calc(50% + 186px);
  text-align: left;
}

.quality-control__callout--glass::after,
.quality-control__callout--steel::after {
  left: calc(-1 * var(--leader));
}

.quality-control__callout--glass::before,
.quality-control__callout--steel::before {
  left: calc(-1 * var(--leader) - 5px);
}

.quality-control__callout--glass {
  --leader: 106px;
  top: 25%;
}

.quality-control__callout--seal {
  --leader: 138px;
  top: 56%;
}

.quality-control__callout--steel {
  --leader: 114px;
  top: 69%;
}

.quality-control__callout--profile {
  --leader: 122px;
  top: 84%;
}

.quality-control.is-visible .quality-control__intro {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 680ms ease, transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.quality-control.is-visible .quality-control__visual {
  opacity: 1;
  transition: opacity 680ms ease 100ms;
}

.quality-control.is-visible .quality-control__image {
  opacity: 1;
  transform: translateX(var(--profile-x)) scale(1);
  transition: opacity 680ms ease 100ms, transform 760ms cubic-bezier(0.22, 1, 0.36, 1) 100ms;
}

.quality-control.is-visible .quality-control__benefits li {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 560ms ease, transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
}

.quality-control.is-visible .quality-control__benefits li:nth-child(1) {
  transition-delay: 180ms;
}

.quality-control.is-visible .quality-control__benefits li:nth-child(2) {
  transition-delay: 260ms;
}

.quality-control.is-visible .quality-control__callout {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.quality-control.is-visible .quality-control__callout--glass {
  transition-delay: 240ms;
}

.quality-control.is-visible .quality-control__callout--seal {
  transition-delay: 340ms;
}

.quality-control.is-visible .quality-control__callout--steel {
  transition-delay: 440ms;
}

.quality-control.is-visible .quality-control__callout--profile {
  transition-delay: 540ms;
}

@media (max-width: 1279px) {
  .quality-control {
    padding: 76px 0;
  }

  .quality-control__inner {
    width: min(calc(100% - 64px), 1180px);
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
    gap: 38px;
  }

  .quality-control__intro h2 {
    font-size: clamp(43px, 4vw, 52px);
  }

  .quality-control__lead {
    margin-top: 24px;
    font-size: 18px;
  }

  .quality-control__benefits {
    gap: 22px;
    margin: 28px 0 30px;
  }

  .quality-control__benefits li {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 15px;
  }

  .quality-control__icon {
    width: 56px;
    height: 56px;
  }

  .quality-control__visual {
    height: 590px;
  }

  .quality-control__visual figcaption {
    font-size: 25px;
  }

  .quality-control__image {
    top: 44px;
    width: min(325px, 48%);
    height: calc(100% - 44px);
  }

  .quality-control__callout {
    width: 142px;
    font-size: 14px;
  }

  .quality-control__callout--seal,
  .quality-control__callout--profile {
    right: calc(50% + 142px);
  }

  .quality-control__callout--glass,
  .quality-control__callout--steel {
    left: calc(50% + 148px);
  }

  .quality-control__callout--glass {
    --leader: 84px;
  }

  .quality-control__callout--seal {
    --leader: 100px;
  }

  .quality-control__callout--steel {
    --leader: 84px;
  }

  .quality-control__callout--profile {
    --leader: 88px;
  }
}

@media (max-width: 959px) {
  .quality-control {
    padding: 72px 0 78px;
  }

  .quality-control__inner {
    width: min(calc(100% - 48px), 760px);
    grid-template-columns: minmax(0, 1fr);
    gap: 52px;
  }

  .quality-control__intro {
    width: 100%;
  }

  .quality-control__intro h2 {
    max-width: 650px;
    font-size: clamp(44px, 6.5vw, 54px);
  }

  .quality-control__lead,
  .quality-control__benefits {
    max-width: 620px;
  }

  .quality-control__visual {
    height: 640px;
  }

  .quality-control__image {
    width: min(350px, 47%);
  }

  .quality-control__callout {
    width: 150px;
    font-size: 15px;
  }

  .quality-control__callout--seal,
  .quality-control__callout--profile {
    right: calc(50% + 150px);
  }

  .quality-control__callout--glass,
  .quality-control__callout--steel {
    left: calc(50% + 154px);
  }
}

@media (max-width: 679px) {
  .quality-control {
    padding: 58px 0 64px;
  }

  .quality-control__inner {
    width: min(calc(100% - 32px), 520px);
    gap: 44px;
  }

  .quality-control__line {
    margin: 14px 0 24px;
  }

  .quality-control__intro h2 {
    font-size: clamp(36px, 10.7vw, 42px);
    line-height: 1.08;
  }

  .quality-control__lead {
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.52;
  }

  .quality-control__benefits {
    gap: 22px;
    margin: 28px 0 30px;
  }

  .quality-control__benefits li {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
  }

  .quality-control__icon {
    width: 54px;
    height: 54px;
  }

  .quality-control__icon svg {
    width: 27px;
    height: 27px;
  }

  .quality-control__benefits b {
    font-size: 19px;
  }

  .quality-control__benefits small {
    font-size: 16px;
  }

  .quality-control__cta {
    width: 100%;
    min-height: 66px;
  }

  .quality-control__visual {
    display: block;
    height: 560px;
  }

  .quality-control__visual figcaption {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    max-width: none;
    font-size: 24px;
    transform: translateX(-50%);
  }

  .quality-control__glow {
    top: 292px;
    width: min(118%, 470px);
    height: auto;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
  }

  .quality-control__image {
    --profile-x: -50%;
    position: absolute;
    top: 54px;
    left: 50%;
    width: min(50vw, 190px);
    height: 450px;
    max-height: none;
    margin: 0;
  }

  .quality-control__callouts {
    position: absolute;
    inset: 0;
    display: block;
    margin: 0;
  }

  .quality-control__callout,
  .quality-control__callout--glass,
  .quality-control__callout--seal,
  .quality-control__callout--steel,
  .quality-control__callout--profile {
    --leader: clamp(30px, 10vw, 42px);
    position: absolute;
    width: clamp(82px, 27vw, 106px);
    min-width: 0;
    padding: 3px 4px;
    font-size: clamp(11.5px, 3.35vw, 14px);
    line-height: 1.28;
    background: rgba(245, 247, 243, 0.88);
  }

  .quality-control__callout::after {
    display: block;
    top: 50%;
    height: 1px;
  }

  .quality-control__callout::before,
  .quality-control__callout--glass::before,
  .quality-control__callout--seal::before,
  .quality-control__callout--steel::before,
  .quality-control__callout--profile::before {
    top: calc(50% - 4px);
    width: 7px;
    height: 7px;
    border: solid #687d55;
    border-width: 0 1px 1px 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .quality-control__callout--seal,
  .quality-control__callout--profile {
    right: auto;
    left: 0;
    text-align: right;
  }

  .quality-control__callout--seal::after,
  .quality-control__callout--profile::after {
    right: calc(-1 * var(--leader));
  }

  .quality-control__callout--seal::before,
  .quality-control__callout--profile::before {
    right: calc(-1 * var(--leader) - 1px);
    left: auto;
    transform: rotate(-45deg);
  }

  .quality-control__callout--glass,
  .quality-control__callout--steel {
    right: 0;
    left: auto;
    text-align: left;
  }

  .quality-control__callout--glass::after,
  .quality-control__callout--steel::after {
    left: calc(-1 * var(--leader));
  }

  .quality-control__callout--glass::before,
  .quality-control__callout--steel::before {
    right: auto;
    left: calc(-1 * var(--leader) - 1px);
    transform: rotate(135deg);
  }

  .quality-control__callout--glass { top: 122px; }
  .quality-control__callout--seal { top: 238px; }
  .quality-control__callout--steel { top: 344px; }
  .quality-control__callout--profile { top: 438px; }
}

@media (prefers-reduced-motion: reduce) {
  .quality-control__intro,
  .quality-control__visual,
  .quality-control__image,
  .quality-control__benefits li,
  .quality-control__callout,
  .quality-control.is-visible .quality-control__intro,
  .quality-control.is-visible .quality-control__visual,
  .quality-control.is-visible .quality-control__image,
  .quality-control.is-visible .quality-control__benefits li,
  .quality-control.is-visible .quality-control__callout {
    opacity: 1;
    transform: translateX(var(--profile-x, 0%)) scale(1);
    transition: none;
  }

  .quality-control__cta,
  .quality-control__cta-arrow {
    transition: none;
  }
}

/* Reviews feed modal: a calm, single-column stream of client stories. */
body.reviews-feed-open {
  overflow: hidden;
}

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

.reviews-feed-modal {
  position: fixed;
  z-index: 1600;
  inset: 0;
  display: grid;
  padding: 16px;
  place-items: center;
  color: #29312b;
}

.reviews-feed-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 29, 25, 0.62);
  opacity: 0;
  backdrop-filter: blur(7px);
  transition: opacity 280ms ease;
}

.reviews-feed-modal__dialog {
  position: relative;
  display: flex;
  width: min(1320px, 100%);
  height: min(1000px, calc(100dvh - 32px));
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(95, 113, 86, 0.16);
  border-radius: 28px;
  background: #f5f7f3;
  box-shadow: 0 32px 90px rgba(19, 24, 20, 0.24);
  opacity: 0;
  transform: translateY(16px) scale(0.992);
  transition: opacity 280ms ease, transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reviews-feed-modal.is-open .reviews-feed-modal__backdrop,
.reviews-feed-modal.is-open .reviews-feed-modal__dialog {
  opacity: 1;
}

.reviews-feed-modal.is-open .reviews-feed-modal__dialog {
  transform: translateY(0) scale(1);
}

.reviews-feed-modal__header {
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
  padding: 30px 42px 22px;
  border-bottom: 1px solid rgba(95, 113, 86, 0.12);
  background: rgba(245, 247, 243, 0.96);
  backdrop-filter: blur(14px);
}

.reviews-feed-modal__title-row {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}

.reviews-feed-modal__title-row h2 {
  margin: 0;
  color: #252d27;
  font-size: clamp(34px, 2.55vw, 46px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.reviews-feed-modal__title-row h2 span {
  color: #607a55;
}

.reviews-feed-modal__close {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(75, 90, 72, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.reviews-feed-modal__close::before,
.reviews-feed-modal__close::after {
  position: absolute;
  width: 18px;
  height: 1.5px;
  content: "";
  border-radius: 999px;
  background: #2c342e;
}

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

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

.reviews-feed-modal__close:hover,
.reviews-feed-modal__close:focus-visible {
  border-color: rgba(75, 90, 72, 0.34);
  background: #ffffff;
  outline: none;
  transform: rotate(4deg);
}

.reviews-feed-modal__controls {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
}

.reviews-feed-modal__filters {
  display: flex;
  gap: 10px;
  align-items: center;
}

.reviews-feed-modal__filters button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(84, 101, 78, 0.15);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.72);
  color: #3c453e;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.reviews-feed-modal__filters button:hover,
.reviews-feed-modal__filters button:focus-visible {
  border-color: rgba(96, 122, 85, 0.4);
  outline: none;
}

.reviews-feed-modal__filters button.is-active {
  border-color: #d8e5ca;
  background: #dbe8cc;
  color: #40533d;
}

.reviews-feed-modal__service {
  position: relative;
  display: block;
  flex: 0 0 auto;
}

.reviews-feed-modal__service::after {
  position: absolute;
  top: 50%;
  right: 17px;
  width: 8px;
  height: 8px;
  content: "";
  border-right: 1.5px solid #58714f;
  border-bottom: 1.5px solid #58714f;
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.reviews-feed-modal__service select {
  min-width: 184px;
  min-height: 44px;
  padding: 9px 42px 9px 17px;
  appearance: none;
  border: 1px solid rgba(84, 101, 78, 0.15);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.76);
  color: #3c453e;
  cursor: pointer;
  font-size: 15px;
}

.reviews-feed-modal__service select:focus-visible {
  border-color: rgba(96, 122, 85, 0.5);
  outline: 3px solid rgba(96, 122, 85, 0.12);
}

.reviews-feed-modal__body {
  min-height: 0;
  flex: 1 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 20px 42px 52px;
  overscroll-behavior: contain;
  scrollbar-color: rgba(96, 122, 85, 0.42) transparent;
  scrollbar-width: thin;
}

.reviews-feed-modal__body::-webkit-scrollbar {
  width: 8px;
}

.reviews-feed-modal__body::-webkit-scrollbar-track {
  background: transparent;
}

.reviews-feed-modal__body::-webkit-scrollbar-thumb {
  border: 2px solid #f5f7f3;
  border-radius: 999px;
  background: rgba(96, 122, 85, 0.42);
}

.reviews-feed {
  display: grid;
  gap: 20px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.reviews-story {
  display: grid;
  grid-template-columns: minmax(0, 45%) minmax(0, 55%);
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(84, 101, 78, 0.14);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(34, 44, 34, 0.055);
}

.reviews-story[hidden] {
  display: none;
}

.reviews-story--feature {
  height: 590px;
  min-height: 590px;
  max-height: 590px;
}

.reviews-story--feature.is-expanded {
  height: auto;
  max-height: none;
}

.reviews-story[data-review-type="photo"] {
  height: 480px;
  min-height: 480px;
  max-height: 480px;
}

.reviews-story[data-review-type="photo"].is-expanded {
  height: auto;
  max-height: none;
}

.reviews-story--compact {
  display: block;
  min-height: 255px;
}

.reviews-story__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 32px 34px;
}

.reviews-story--compact .reviews-story__content {
  max-width: 830px;
  min-height: 255px;
  justify-content: center;
  padding: 32px 38px;
}

.reviews-story__person h3 {
  margin: 0;
  color: #252d27;
  font-size: clamp(22px, 1.45vw, 27px);
  font-weight: 600;
  line-height: 1.15;
}

.reviews-story__location {
  position: relative;
  margin: 7px 0 0;
  padding-left: 15px;
  color: #727971;
  font-size: 14px;
  line-height: 1.35;
}

.reviews-story__location::before {
  position: absolute;
  top: 0.4em;
  left: 2px;
  width: 6px;
  height: 6px;
  content: "";
  border: 1px solid #6f8b62;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.reviews-story__rating {
  margin: 14px 0 13px;
  color: #e9ad27;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 2px;
}

.reviews-story__category {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border: 1px solid rgba(103, 127, 91, 0.2);
  border-radius: 999px;
  background: #f1f5eb;
  color: #5a7150;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.reviews-story__text {
  max-height: calc(1.55em * 7);
  overflow: hidden;
  margin: 22px 0 0;
  color: #3d453f;
  font-size: clamp(16px, 1vw, 18px);
  line-height: 1.55;
  transition: max-height 300ms ease;
}

.reviews-story.is-expanded .reviews-story__text {
  max-height: 28em;
}

.reviews-story__more {
  display: inline-flex;
  width: fit-content;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding: 18px 0 3px;
  border: 0;
  background: transparent;
  color: #58714f;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
}

.reviews-story__more i {
  font-style: normal;
  transition: transform 180ms ease;
}

.reviews-story.is-expanded .reviews-story__more i {
  transform: rotate(180deg);
}

.reviews-story__more:focus-visible {
  border-radius: 5px;
  outline: 3px solid rgba(96, 122, 85, 0.16);
}

.reviews-story__media {
  position: relative;
  min-width: 0;
  min-height: 0;
  max-height: calc(100% - 28px);
  margin: 14px 14px 14px 0;
  overflow: hidden;
  border-radius: 19px;
  background: #e5e8e1;
}

.reviews-story__media img,
.reviews-story__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reviews-story__media img {
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reviews-story[data-review-type="photo"] .reviews-story__media {
  height: 452px;
  min-height: 452px;
  max-height: 452px;
  align-self: start;
}

.reviews-story:hover .reviews-story__media img {
  transform: scale(1.012);
}

.reviews-story__expand {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  display: grid;
  width: 68px;
  height: 68px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 18px;
  background: rgba(27, 33, 28, 0.56);
  box-shadow: 0 12px 32px rgba(18, 22, 19, 0.22);
  color: #ffffff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.92);
  backdrop-filter: blur(7px);
  transition: opacity 180ms ease, background-color 180ms ease, transform 220ms ease;
}

.reviews-story__expand svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.reviews-story__media:hover .reviews-story__expand,
.reviews-story__expand:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.reviews-story__expand:hover,
.reviews-story__expand:focus-visible {
  background: rgba(34, 43, 35, 0.76);
  outline: 3px solid rgba(255, 255, 255, 0.38);
}

.reviews-image-viewer[hidden] {
  display: none;
}

.reviews-image-viewer {
  position: fixed;
  z-index: 2400;
  inset: 0;
  display: grid;
  place-items: center;
}

.reviews-image-viewer__backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: rgba(10, 14, 11, 0.92);
  cursor: zoom-out;
  opacity: 0;
  backdrop-filter: blur(12px);
  transition: opacity 220ms ease;
}

.reviews-image-viewer__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  width: max-content;
  height: max-content;
  max-width: 100%;
  max-height: 100%;
  padding: 0;
  place-items: center;
  pointer-events: none;
}

.reviews-image-viewer__image {
  display: block;
  max-width: calc(100vw - 96px);
  max-height: calc(100dvh - 96px);
  border-radius: 14px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
  opacity: 0;
  object-fit: contain;
  pointer-events: auto;
  transform: scale(0.975);
  transition: opacity 220ms ease, transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reviews-image-viewer__close {
  position: fixed;
  z-index: 3;
  top: 24px;
  right: 24px;
  display: grid;
  width: 68px;
  height: 68px;
  padding: 0;
  place-items: center;
  border: 3px solid rgba(40, 51, 42, 0.22);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.22), 0 16px 36px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  opacity: 0;
  pointer-events: auto;
  transform: scale(0.9);
  transition: opacity 180ms ease, background-color 180ms ease, transform 220ms ease;
}

.reviews-image-viewer__close::before,
.reviews-image-viewer__close::after {
  position: absolute;
  width: 30px;
  height: 3px;
  content: "";
  border-radius: 999px;
  background: #202822;
}

.reviews-image-viewer__close::before {
  transform: rotate(45deg);
}

.reviews-image-viewer__close::after {
  transform: rotate(-45deg);
}

.reviews-image-viewer__close:hover,
.reviews-image-viewer__close:focus-visible {
  background: #eef4e8;
  outline: 4px solid rgba(210, 230, 197, 0.48);
  transform: scale(1.06);
}

.reviews-image-viewer.is-open .reviews-image-viewer__backdrop,
.reviews-image-viewer.is-open .reviews-image-viewer__image,
.reviews-image-viewer.is-open .reviews-image-viewer__close {
  opacity: 1;
}

.reviews-image-viewer.is-open .reviews-image-viewer__image,
.reviews-image-viewer.is-open .reviews-image-viewer__close {
  transform: scale(1);
}

.reviews-story__media figcaption,
.reviews-story__media > small {
  position: absolute;
  z-index: 2;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 9px;
  background: rgba(25, 30, 26, 0.72);
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
  backdrop-filter: blur(7px);
}

.reviews-story__media figcaption {
  left: 16px;
}

.reviews-story__media > small {
  right: 16px;
}

.reviews-story__play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  width: 68px;
  height: 68px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(26, 32, 27, 0.2);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: background-color 180ms ease, transform 180ms ease;
}

.reviews-story__play span {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #607a55;
}

.reviews-story__play:hover,
.reviews-story__play:focus-visible {
  background: #ffffff;
  outline: none;
  transform: translate(-50%, -50%) scale(1.06);
}

.reviews-story__media.is-template-message .reviews-story__play {
  opacity: 0;
  pointer-events: none;
}

.reviews-story__video-state {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: max-content;
  max-width: calc(100% - 48px);
  margin: 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: #40533d;
  font-size: 15px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transform: translate(-50%, -40%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.reviews-story__media.is-template-message .reviews-story__video-state {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.reviews-feed__empty {
  margin: 80px 0;
  color: #6f766e;
  font-size: 18px;
  text-align: center;
}

@media (max-width: 900px) {
  .reviews-feed-modal {
    padding: 0;
  }

  .reviews-feed-modal__dialog {
    width: 100%;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .reviews-feed-modal__header {
    padding: 22px 24px 18px;
  }

  .reviews-feed-modal__controls {
    gap: 14px;
    align-items: stretch;
    flex-direction: column;
  }

  .reviews-feed-modal__filters {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .reviews-feed-modal__filters button {
    flex: 0 0 auto;
  }

  .reviews-feed-modal__service select {
    width: 100%;
  }

  .reviews-feed-modal__body {
    padding: 18px 24px 40px;
  }

  .reviews-story,
  .reviews-story--feature,
  .reviews-story--photo,
  .reviews-story[data-review-type="photo"] {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .reviews-story__media {
    min-height: 320px;
    margin: 0 14px 14px;
    grid-row: 2;
  }

  .reviews-story[data-review-type="photo"] .reviews-story__media {
    height: 320px;
    min-height: 320px;
    max-height: 320px;
  }
}

@media (max-width: 560px) {
  .reviews-feed-modal__header {
    padding: 18px 16px 15px;
  }

  .reviews-feed-modal__title-row h2 {
    max-width: 260px;
    font-size: 31px;
  }

  .reviews-feed-modal__close {
    width: 42px;
    height: 42px;
  }

  .reviews-feed-modal__controls {
    margin-top: 18px;
  }

  .reviews-feed-modal__filters {
    gap: 7px;
  }

  .reviews-feed-modal__filters button {
    min-height: 40px;
    padding: 8px 13px;
    font-size: 14px;
  }

  .reviews-feed-modal__body {
    padding: 14px 12px 34px;
  }

  .reviews-story {
    border-radius: 19px;
  }

  .reviews-story__content,
  .reviews-story--compact .reviews-story__content {
    min-height: 0;
    padding: 25px 22px;
  }

  .reviews-story__person h3 {
    font-size: 22px;
  }

  .reviews-story__text {
    font-size: 16px;
  }

  .reviews-story__media {
    min-height: 240px;
    margin: 0 10px 10px;
    border-radius: 15px;
  }

  .reviews-story[data-review-type="photo"] .reviews-story__media {
    height: 240px;
    min-height: 240px;
    max-height: 240px;
  }

  .reviews-story__expand {
    width: 56px;
    height: 56px;
    border-radius: 15px;
  }

  .reviews-image-viewer__dialog {
    padding: 18px;
  }

  .reviews-image-viewer__image {
    max-width: calc(100vw - 28px);
    max-height: calc(100dvh - 28px);
    border-radius: 10px;
  }

  .reviews-image-viewer__close {
    top: 14px;
    right: 14px;
    width: 58px;
    height: 58px;
  }

  .reviews-story__media figcaption {
    bottom: 11px;
    left: 11px;
  }

  .reviews-story__media > small {
    right: 11px;
    bottom: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-feed-modal__backdrop,
  .reviews-feed-modal__dialog,
  .reviews-story__media img,
  .reviews-story__expand,
  .reviews-story__play,
  .reviews-story__video-state,
  .reviews-story__text,
  .reviews-image-viewer__backdrop,
  .reviews-image-viewer__image,
  .reviews-image-viewer__close {
    transition: none !important;
  }

  .reviews-feed-modal__dialog,
  .reviews-feed-modal.is-open .reviews-feed-modal__dialog {
    transform: none !important;
  }

  .reviews-story:hover .reviews-story__media img {
    transform: none !important;
  }
}

@media (hover: none) {
  .reviews-story__expand {
    opacity: 0.82;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Lightweight calculator motion: short fades only, without parallax, blur,
   cloned transition layers, animated glare or continuously promoted layers. */
.quiz-section {
  --quiz-step-duration: 200ms;
  --quiz-step-easing: ease-out;
}

.quiz-section .quiz-intro h2,
.quiz-section .quiz-copy {
  transform: none;
  transition: opacity 220ms ease-out;
}

.quiz-section.is-visible .quiz-intro h2,
.quiz-section.is-visible .quiz-copy {
  transform: none;
}

.quiz-section .quiz-card,
.quiz-section.is-visible .quiz-card {
  filter: none;
  transform: none;
  transition: opacity 220ms ease-out;
}

.quiz-section .quiz-step-content.is-entering {
  animation: quizLightFadeIn 180ms ease-out both;
}

@keyframes quizLightFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.quiz-section .quiz-progress-fill {
  transition: width 220ms ease-out;
}

.quiz-section .quiz-choice,
.quiz-section .quiz-choice:hover,
.quiz-section .quiz-choice:focus-visible {
  --quiz-card-lift: 0px;
  --quiz-tilt-x: 0deg;
  --quiz-tilt-y: 0deg;
  transform: none;
  transform-style: flat;
  will-change: auto;
  box-shadow: none;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.quiz-object-visual img,
.quiz-volume-visual img,
.quiz-priority-visual img,
.quiz-choice.is-selected .quiz-object-visual img,
.quiz-choice.is-selected .quiz-volume-visual img,
.quiz-choice.is-selected .quiz-priority-visual img {
  transform: none;
  transition: none;
  will-change: auto;
}

.quiz-hero-visual::after,
.quiz-section .quiz-choice::before,
.quiz-section .quiz-btn-primary::before,
.quiz-step-dot.is-active span::after {
  display: none;
}

.quiz-section .quiz-selected-mark,
.quiz-section .quiz-priority-visual::after,
.quiz-section .quiz-choice-number::after,
.quiz-section .quiz-choice-number i,
.quiz-section .quiz-choice-number i::before,
.quiz-section .quiz-choice-number i::after,
.quiz-section .quiz-step-dot span {
  animation: none !important;
  transition: none;
}

.quiz-section .quiz-btn-primary {
  transform: none;
  transition: background-color 160ms ease;
}

.quiz-section .quiz-btn-primary:hover:not(:disabled),
.quiz-section .quiz-btn-primary:focus-visible:not(:disabled) {
  transform: none;
}

.quiz-section .quiz-btn-primary > span[aria-hidden="true"] {
  transition: transform 160ms ease;
}

/* Compact desktop calculator: keep every step within a regular 16:9 screen
   without scaling the entire interface down. */
@media (min-width: 1100px) {
  .quiz-section {
    padding-top: 48px;
    padding-bottom: 0;
  }

  .quiz-section .quiz-hero {
    min-height: 285px;
  }

  .quiz-section .quiz-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
  }

  .quiz-section .quiz-eyebrow {
    margin-bottom: 14px;
  }

  .quiz-section .quiz-intro h2 {
    max-width: 760px;
    margin-bottom: 14px;
    font-size: clamp(44px, 3.2vw, 56px);
  }

  .quiz-section .quiz-copy {
    font-size: clamp(16px, 1.15vw, 20px);
    line-height: 1.42;
  }

  .quiz-section .quiz-card {
    margin-top: -24px;
    padding: 26px 44px 24px;
  }

  .quiz-section .quiz-steps {
    gap: 22px;
    margin-bottom: 10px;
  }

  .quiz-section .quiz-step-dot {
    gap: 5px;
  }

  .quiz-section .quiz-step-dot::before {
    top: 20px;
  }

  .quiz-section .quiz-step-dot span {
    width: 42px;
    height: 42px;
    font-size: 15px;
  }

  .quiz-section .quiz-progress-track {
    margin-bottom: 24px;
  }

  .quiz-section .quiz-question > p,
  .quiz-section .quiz-form-block > p:not(.quiz-privacy):not(.privacy-policy-note) {
    margin-top: 6px;
    margin-bottom: 18px;
  }

  .quiz-section .quiz-choice-object {
    min-height: 225px;
    padding: 14px 16px 16px;
  }

  .quiz-section .quiz-object-visual {
    height: 130px;
    margin-bottom: 8px;
    padding: 7px;
  }

  .quiz-section .quiz-choice-volume,
  .quiz-section .quiz-choice-priority {
    min-height: 124px;
    padding: 12px 16px;
  }

  .quiz-section .quiz-volume-visual {
    width: 104px;
    height: 84px;
    flex-basis: 104px;
  }

  .quiz-section .quiz-priority-visual {
    width: 90px;
    height: 80px;
    flex-basis: 90px;
  }

  .quiz-section .quiz-choice-text,
  .quiz-section .quiz-priority-grid .quiz-choice-text {
    min-height: 92px;
    padding: 16px 20px;
  }

  .quiz-section .quiz-actions,
  .quiz-section .quiz-form-actions {
    margin-top: 20px;
    padding-top: 18px;
  }

  .quiz-section .quiz-btn {
    min-height: 54px;
  }

  .quiz-section .quiz-fields {
    gap: 20px;
    margin-top: 22px;
  }

  .quiz-section .quiz-field input {
    height: 54px;
  }

  .quiz-section .quiz-privacy {
    margin-top: 14px;
  }

  .quiz-section .quiz-success {
    min-height: 320px;
  }
}

/* Normalize the perceived size of the four object illustrations. Their source
   canvases contain different amounts of empty space, so equal img dimensions
   do not produce an equal visual scale. */
.quiz-choice[data-choice-value="plastic"] .quiz-object-visual img {
  width: 82%;
  height: 82%;
}

.quiz-choice[data-choice-value="balcony"] .quiz-object-visual img {
  width: 118%;
  height: 118%;
  max-width: none;
}

.quiz-choice[data-choice-value="cottage"] .quiz-object-visual img {
  width: 100%;
  height: 100%;
}

.quiz-choice[data-choice-value="commercial"] .quiz-object-visual img {
  width: 92%;
  height: 92%;
}

/* Unified embedded calculator — compact 4-question flow */
.quiz-section {
  padding: clamp(44px, 4vw, 68px) clamp(20px, 3.2vw, 64px);
  background: #f5f7f3;
}

.quiz-section .quiz-shell {
  width: min(100%, 1760px);
  margin: 0 auto;
  padding: clamp(38px, 3vw, 52px);
  overflow: visible;
  border: 1px solid rgba(91, 105, 79, 0.14);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 20px 52px rgba(51, 61, 46, 0.07);
}

.quiz-section .quiz-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 280px);
  min-height: 0;
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
  margin: 0 0 clamp(30px, 2.4vw, 40px);
  padding: 0 0 clamp(30px, 2.4vw, 40px);
  overflow: visible;
  border-bottom: 1px solid #e5e8e1;
  border-radius: 0;
}

.quiz-section .quiz-intro {
  display: block;
  min-height: 0;
  padding: 0;
  overflow: visible;
}

.quiz-section .quiz-intro h2 {
  max-width: 940px;
  margin: 0;
  color: var(--quiz-text);
  font-size: clamp(40px, 3.15vw, 48px);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.032em;
}

.quiz-section .quiz-intro h2 span {
  color: var(--quiz-green);
  white-space: nowrap;
}

.quiz-section .quiz-copy {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--quiz-muted);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.5;
}

.quiz-header-progress {
  width: 100%;
  justify-self: end;
  color: var(--quiz-text);
}

.quiz-header-progress strong {
  display: block;
  margin: 0 0 14px;
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 700;
  line-height: 1.25;
}

.quiz-header-progress__track {
  width: 100%;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8ece5;
}

.quiz-header-progress .quiz-progress-fill {
  display: block;
  width: var(--quiz-progress, 25%);
  height: 100%;
  border-radius: inherit;
  background: var(--quiz-green);
  transition: width 380ms ease;
}

.quiz-header-progress__label {
  display: block;
  margin-top: 12px;
  color: var(--quiz-green-dark);
  font-size: 15px;
  font-weight: 650;
}

.quiz-section .quiz-card {
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.quiz-section .quiz-step-content {
  min-height: 0;
}

.quiz-section .quiz-question h3,
.quiz-section .quiz-form-block > h3 {
  margin: 0;
  color: var(--quiz-text);
  font-size: clamp(28px, 2vw, 32px);
  font-weight: 680;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.quiz-section .quiz-question > p,
.quiz-section .quiz-form-block > p:not(.quiz-privacy):not(.privacy-policy-note) {
  margin: 7px 0 24px;
  color: var(--quiz-muted);
  font-size: 15px;
  line-height: 1.42;
}

.quiz-section .quiz-options-grid,
.quiz-section .quiz-object-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.quiz-section .quiz-choice {
  min-width: 0;
  overflow: hidden;
  border: 2px solid #e7eae4;
  border-radius: 20px;
  background: #fdfefd;
  box-shadow: none;
  transition: transform 200ms ease, border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}

.quiz-section .quiz-choice:hover,
.quiz-section .quiz-choice:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(101, 122, 83, 0.72);
  box-shadow: 0 12px 26px rgba(50, 61, 45, 0.08);
}

.quiz-section .quiz-choice:focus-visible {
  outline: 3px solid rgba(120, 141, 99, 0.24);
  outline-offset: 3px;
}

.quiz-section .quiz-choice.is-selected {
  border-color: var(--quiz-green);
  background: #f5f7f3;
  box-shadow: inset 0 0 0 1px rgba(120, 141, 99, 0.08);
}

.quiz-section .quiz-choice-object {
  min-height: 232px;
  padding: 18px 20px 20px;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.quiz-section .quiz-object-visual {
  display: grid;
  width: 100%;
  height: 112px;
  margin: 0 0 12px;
  padding: 0;
  overflow: visible;
  place-items: center;
  border-radius: 0;
  background: transparent;
}

.quiz-section .quiz-object-visual img,
.quiz-section .quiz-choice.is-selected .quiz-object-visual img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  filter: none;
  transition: none;
}

.quiz-section .quiz-choice[data-choice-value="plastic"] .quiz-object-visual img {
  width: 96%;
  height: 96%;
}

.quiz-section .quiz-choice[data-choice-value="balcony"] .quiz-object-visual img {
  width: 140%;
  height: 140%;
}

.quiz-section .quiz-choice[data-choice-value="cottage"] .quiz-object-visual img {
  width: 118%;
  height: 118%;
}

.quiz-section .quiz-choice[data-choice-value="commercial"] .quiz-object-visual img {
  width: 108%;
  height: 108%;
}

.quiz-section .quiz-choice h4 {
  margin: 0;
  font-size: clamp(17px, 1.25vw, 19px);
  font-weight: 680;
  line-height: 1.25;
}

.quiz-section .quiz-choice p {
  margin: 8px 0 0;
  color: var(--quiz-muted);
  font-size: 14px;
  line-height: 1.4;
}

.quiz-section .quiz-selected-mark {
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: var(--quiz-green);
  color: #fff;
  box-shadow: 0 5px 14px rgba(80, 101, 65, 0.2);
  font-size: 19px;
}

.quiz-section .quiz-text-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.quiz-section .quiz-choice-volume,
.quiz-section .quiz-choice-priority {
  min-height: 190px;
  padding: 18px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.quiz-section .quiz-volume-visual,
.quiz-section .quiz-priority-visual {
  display: grid;
  width: 100%;
  height: 104px;
  flex: 0 0 104px;
  place-items: center;
}

.quiz-section .quiz-volume-visual img,
.quiz-section .quiz-priority-visual img,
.quiz-section .quiz-choice.is-selected .quiz-volume-visual img,
.quiz-section .quiz-choice.is-selected .quiz-priority-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
}

.quiz-section .quiz-priority-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.quiz-section .quiz-priority-grid .quiz-choice,
.quiz-section .quiz-priority-grid .quiz-choice:nth-child(4) {
  grid-column: auto;
}

.quiz-section .quiz-choice-text,
.quiz-section .quiz-priority-grid .quiz-choice-text {
  min-height: 108px;
  padding: 18px 20px;
  align-items: center;
  gap: 14px;
}

.quiz-section .quiz-choice-number {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
}

.quiz-section .quiz-actions,
.quiz-section .quiz-form-actions {
  display: grid;
  grid-template-columns: 1fr minmax(230px, 270px);
  gap: 20px;
  align-items: center;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #e5e8e1;
}

.quiz-section .quiz-btn {
  min-height: 56px;
  gap: 10px;
  border-radius: 15px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

.quiz-section .quiz-btn > span[aria-hidden="true"] {
  display: inline-grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  font-size: 20px;
  line-height: 1;
  transform: translateY(-1px);
}

.quiz-section .quiz-btn-primary {
  width: 100%;
  padding: 0 28px;
  box-shadow: 0 10px 22px rgba(78, 96, 64, 0.16);
}

.quiz-section .quiz-btn-secondary {
  display: inline-flex;
  width: 100%;
  min-width: 0;
  min-height: 56px;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid #d6ded0;
  border-radius: 15px;
  background: #eef2eb;
  color: var(--quiz-green-dark);
}

.quiz-section .quiz-actions {
  grid-template-columns: minmax(230px, 270px) minmax(230px, 270px);
  justify-content: space-between;
}

.quiz-section .quiz-btn-secondary:hover:not(:disabled),
.quiz-section .quiz-btn-secondary:focus-visible:not(:disabled) {
  border-color: var(--quiz-green);
  background: #e4eadf;
  color: var(--quiz-green-dark);
  box-shadow: 0 8px 18px rgba(78, 96, 64, 0.1);
}

.quiz-section .quiz-btn-secondary:disabled {
  border-color: #e1e5df;
  background: #ecefeb;
  color: #a3aaa1;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
}

.quiz-section .quiz-form-block {
  width: min(100%, 980px);
  margin: 0 auto;
}

.quiz-section .quiz-fields {
  gap: 18px;
  margin-top: 24px;
}

.quiz-section .quiz-field input {
  height: 56px;
}

.quiz-section .quiz-form-actions {
  grid-template-columns: 1fr minmax(250px, 300px);
}

.quiz-section .quiz-privacy {
  margin-top: 14px;
}

@media (max-width: 1250px) {
  .quiz-section .quiz-priority-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .quiz-section .quiz-priority-grid .quiz-choice {
    grid-column: span 2;
  }

  .quiz-section .quiz-priority-grid .quiz-choice:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .quiz-section .quiz-priority-grid .quiz-choice:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

@media (max-width: 1024px) {
  .quiz-section {
    padding: 44px 22px;
  }

  .quiz-section .quiz-shell {
    padding: 34px 30px;
    border-radius: 26px;
  }

  .quiz-section .quiz-hero {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 30px;
  }

  .quiz-section .quiz-intro h2 {
    font-size: clamp(34px, 4.4vw, 40px);
  }

  .quiz-section .quiz-object-grid,
  .quiz-section .quiz-volume-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quiz-section .quiz-choice-object {
    min-height: 220px;
  }

  .quiz-section .quiz-timing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .quiz-section {
    padding: 34px 14px;
  }

  .quiz-section .quiz-shell {
    padding: 24px;
    border-radius: 22px;
  }

  .quiz-section .quiz-hero {
    display: block;
    margin-bottom: 28px;
    padding-bottom: 28px;
  }

  .quiz-section .quiz-intro h2 {
    font-size: clamp(28px, 7.5vw, 34px);
  }

  .quiz-section .quiz-copy {
    margin-top: 12px;
    font-size: 15px;
  }

  .quiz-header-progress {
    width: min(100%, 300px);
    margin-top: 24px;
    justify-self: start;
  }

  .quiz-section .quiz-question h3,
  .quiz-section .quiz-form-block > h3 {
    font-size: clamp(25px, 6.5vw, 29px);
  }

  .quiz-section .quiz-question > p,
  .quiz-section .quiz-form-block > p:not(.quiz-privacy):not(.privacy-policy-note) {
    margin-bottom: 20px;
  }

  .quiz-section .quiz-priority-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quiz-section .quiz-priority-grid .quiz-choice,
  .quiz-section .quiz-priority-grid .quiz-choice:nth-child(4),
  .quiz-section .quiz-priority-grid .quiz-choice:nth-child(5) {
    grid-column: auto;
  }

  .quiz-section .quiz-choice-priority {
    min-height: 170px;
  }

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

  .quiz-section .quiz-form-actions {
    grid-template-columns: 1fr;
  }

  .quiz-section .quiz-actions .quiz-btn {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding-right: 14px;
    padding-left: 14px;
    font-size: 15px;
  }

  .quiz-section .quiz-actions .quiz-btn-primary,
  .quiz-section .quiz-actions .quiz-btn-secondary {
    grid-row: 1;
  }

  .quiz-section .quiz-form-actions .quiz-btn-primary {
    grid-row: 1;
  }

  .quiz-section .quiz-form-actions .quiz-btn-secondary {
    grid-row: 2;
  }

  .quiz-section .quiz-fields {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .quiz-section .quiz-shell {
    padding: 22px 20px;
  }

  .quiz-section .quiz-object-grid,
  .quiz-section .quiz-volume-grid,
  .quiz-section .quiz-priority-grid,
  .quiz-section .quiz-timing-grid {
    grid-template-columns: 1fr;
  }

  .quiz-section .quiz-choice-object {
    min-height: 214px;
  }

  .quiz-section .quiz-choice-volume,
  .quiz-section .quiz-choice-priority {
    min-height: 166px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quiz-header-progress .quiz-progress-fill,
  .quiz-section .quiz-choice,
  .quiz-section .quiz-step-content.is-entering {
    animation: none !important;
    transition: none !important;
  }

  .quiz-section .quiz-choice:hover,
  .quiz-section .quiz-choice:focus-visible {
    transform: none;
  }
}

/* One coordinate system for every illustrated quiz card. */
.quiz-section {
  --quiz-visual-row: 112px;
  --quiz-image-width: 180px;
  --quiz-image-height: 104px;
  --quiz-title-row: 48px;
  --quiz-card-title-size: 17px;
}

.quiz-section .quiz-choice-object,
.quiz-section .quiz-choice-volume,
.quiz-section .quiz-choice-priority {
  display: grid;
  grid-template-rows: var(--quiz-visual-row) minmax(0, 1fr);
  align-content: start;
  align-items: start;
  justify-content: stretch;
  gap: 8px;
  padding-top: 10px;
}

.quiz-section .quiz-object-visual,
.quiz-section .quiz-volume-visual,
.quiz-section .quiz-priority-visual {
  display: grid;
  width: 100%;
  height: var(--quiz-visual-row);
  min-height: var(--quiz-visual-row);
  margin: 0;
  overflow: visible;
  place-items: end center;
}

.quiz-section .quiz-object-visual img,
.quiz-section .quiz-volume-visual img,
.quiz-section .quiz-priority-visual img,
.quiz-section .quiz-choice.is-selected .quiz-object-visual img,
.quiz-section .quiz-choice.is-selected .quiz-volume-visual img,
.quiz-section .quiz-choice.is-selected .quiz-priority-visual img,
.quiz-section .quiz-choice[data-choice-value="plastic"] .quiz-object-visual img,
.quiz-section .quiz-choice[data-choice-value="balcony"] .quiz-object-visual img,
.quiz-section .quiz-choice[data-choice-value="cottage"] .quiz-object-visual img,
.quiz-section .quiz-choice[data-choice-value="commercial"] .quiz-object-visual img {
  display: block;
  width: min(100%, var(--quiz-image-width));
  height: var(--quiz-image-height);
  max-width: var(--quiz-image-width);
  max-height: var(--quiz-image-height);
  place-self: end center;
  object-fit: contain;
  object-position: center bottom;
  transform: none;
}

.quiz-section .quiz-choice-copy {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-rows: minmax(var(--quiz-title-row), auto) minmax(40px, auto);
  align-content: start;
  justify-items: center;
}

.quiz-section .quiz-choice-copy h4,
.quiz-section .quiz-choice h4 {
  display: flex;
  min-height: var(--quiz-title-row);
  margin: 0;
  align-items: flex-start;
  justify-content: center;
  font-size: var(--quiz-card-title-size);
  line-height: 1.25;
  text-align: center;
}

.quiz-section .quiz-choice-copy p {
  min-height: 40px;
  margin-top: 4px;
}

.quiz-section .quiz-choice-volume,
.quiz-section .quiz-choice-priority {
  min-height: 190px;
  padding-right: 18px;
  padding-bottom: 14px;
  padding-left: 18px;
}

.quiz-section .quiz-choice-volume .quiz-choice-copy,
.quiz-section .quiz-choice-priority .quiz-choice-copy {
  grid-template-rows: minmax(var(--quiz-title-row), auto);
}

@media (max-width: 760px) {
  .quiz-section {
    --quiz-visual-row: 104px;
    --quiz-image-width: 164px;
    --quiz-image-height: 96px;
    --quiz-title-row: 44px;
    --quiz-card-title-size: 16px;
  }
}

/* Responsive text stability for the embedded quiz. */
.quiz-section .quiz-intro h2,
.quiz-section .quiz-question h3,
.quiz-section .quiz-form-block > h3,
.quiz-section .quiz-choice h4,
.quiz-section .quiz-choice p,
.quiz-section .quiz-btn {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.quiz-section .quiz-intro h2,
.quiz-section .quiz-question h3,
.quiz-section .quiz-form-block > h3,
.quiz-section .quiz-choice h4,
.quiz-section .quiz-choice p {
  text-wrap: balance;
}

.quiz-section .quiz-choice-copy,
.quiz-section .quiz-choice-copy h4,
.quiz-section .quiz-choice-copy p {
  max-width: 100%;
}

/* Five priority cards need more width before the usual tablet breakpoint. */
@media (min-width: 901px) and (max-width: 1440px) {
  .quiz-section .quiz-priority-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .quiz-section .quiz-priority-grid .quiz-choice {
    grid-column: span 2;
  }

  .quiz-section .quiz-priority-grid .quiz-choice:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .quiz-section .quiz-priority-grid .quiz-choice:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

@media (min-width: 521px) and (max-width: 900px) {
  .quiz-section .quiz-priority-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quiz-section .quiz-priority-grid .quiz-choice,
  .quiz-section .quiz-priority-grid .quiz-choice:nth-child(4) {
    grid-column: auto;
  }

  .quiz-section .quiz-priority-grid .quiz-choice:nth-child(5) {
    width: calc((100% - 18px) / 2);
    grid-column: 1 / -1;
    justify-self: center;
  }
}

@media (max-width: 520px) {
  .quiz-section .quiz-priority-grid .quiz-choice:nth-child(5) {
    width: 100%;
    grid-column: auto;
    justify-self: stretch;
  }
}

/* A narrow two-column card is less readable than one calm full-width card. */
@media (max-width: 680px) {
  .quiz-section .quiz-object-grid,
  .quiz-section .quiz-volume-grid,
  .quiz-section .quiz-priority-grid,
  .quiz-section .quiz-timing-grid {
    grid-template-columns: 1fr;
  }

  .quiz-section .quiz-priority-grid .quiz-choice,
  .quiz-section .quiz-priority-grid .quiz-choice:nth-child(4),
  .quiz-section .quiz-priority-grid .quiz-choice:nth-child(5) {
    width: 100%;
    grid-column: auto;
    justify-self: stretch;
  }
}

/* Whole-site responsive stability pass.
   Keep Russian words intact and let headings wrap by meaning instead of
   splitting at arbitrary characters on narrow screens. */
:where(
  .hero h1,
  .services .section-head h2,
  .services .service-body h3,
  .quiz-section .quiz-intro h2,
  .quiz-section .quiz-question h3,
  .quiz-section .quiz-choice h4,
  .quality-control__intro h2,
  .quality-control__visual figcaption,
  .projects .section-head h2,
  .projects .project-body h3,
  .work-process__head h2,
  .work-process .work-card h3,
  .reviews__heading h2,
  .review-card__content h3,
  .reviews-story__person h3,
  .contact-copy h2,
  .contact-card h3,
  .site-footer__nav a,
  .site-footer__contact
) {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

:where(
  .hero h1,
  .services .section-head h2,
  .services .service-body h3,
  .quiz-section .quiz-intro h2,
  .quiz-section .quiz-question h3,
  .quiz-section .quiz-choice h4,
  .quality-control__intro h2,
  .quality-control__visual figcaption,
  .projects .section-head h2,
  .projects .project-body h3,
  .work-process__head h2,
  .work-process .work-card h3,
  .reviews__heading h2,
  .review-card__content h3,
  .reviews-story__person h3,
  .contact-copy h2,
  .contact-card h3
) {
  text-wrap: balance;
}

:where(
  .hero-lead,
  .services .section-head p,
  .services .service-body p,
  .services .service-points li,
  .quality-control__intro > p,
  .quality-control__benefits small,
  .projects .project-body small,
  .work-process__lead,
  .work-process .work-card > p,
  .review-card__text,
  .reviews-story__text,
  .contact-copy p,
  .contact-card p,
  .site-footer__brand p
) {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: pretty;
}

/* Keep navigation labels stable on full desktop layouts. */
@media (min-width: 1121px) {
  .main-nav {
    flex-wrap: nowrap;
  }

  .main-nav a,
  .header-contact,
  .header-button {
    white-space: nowrap;
  }
}

/* Repeated card layouts share title baselines without forcing extra height on
   the one-column mobile layout. */
@media (min-width: 861px) {
  .projects .project-body h3 {
    min-block-size: 2.3em;
  }
}

@media (max-width: 860px) {
  .services .service-body h3,
  .services .service-body p,
  .projects .project-body h3 {
    min-height: 0;
    min-block-size: 0;
  }
}

/* The mobile footer remains readable even with long address and e-mail data. */
@media (max-width: 430px) {
  .site-footer .site-footer__contact {
    align-items: start;
  }

  .site-footer__contact > span:last-child,
  .site-footer__contact strong {
    min-width: 0;
  }
}

/* The contact offer used to be squeezed beside the form at tablet and compact
   desktop widths, producing a four-line heading with a one-word orphan. */
.contact-copy h2 br {
  display: none;
}

.quiz-section .quiz-question,
.quiz-section .quiz-form-block {
  scroll-margin-top: 84px;
}

@media (min-width: 1121px) and (max-width: 1450px) {
  .contact-main {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 440px);
    gap: clamp(36px, 4vw, 56px);
    padding-right: 48px;
    padding-left: 48px;
  }

  .contact-copy {
    max-width: 780px;
  }
}

@media (max-width: 1120px) {
  .contact-main {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .contact-copy {
    max-width: 760px;
  }

  .contact-card {
    width: min(100%, 560px);
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
  }
}

/* Text-only calculator: compact cards without a reserved illustration row. */
.quiz-section .quiz-choice-object,
.quiz-section .quiz-choice-volume,
.quiz-section .quiz-choice-priority,
.quiz-section .quiz-choice-text,
.quiz-section .quiz-priority-grid .quiz-choice-text {
  display: grid;
  min-height: 142px;
  padding: 24px 56px 24px 22px;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: 1fr;
  gap: 16px;
  align-content: center;
  align-items: center;
  justify-content: stretch;
  text-align: left;
}

.quiz-section .quiz-choice-object {
  min-height: 156px;
}

.quiz-section .quiz-choice-number {
  display: grid;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  place-items: center;
  border: 1px solid rgba(120, 141, 99, 0.38);
  border-radius: 50%;
  color: var(--quiz-green-dark);
  background: rgba(245, 247, 243, 0.92);
  font-size: 14px;
  font-weight: 750;
}

.quiz-section .quiz-choice-number::after,
.quiz-section .quiz-choice-number i {
  display: none;
}

.quiz-section .quiz-choice-copy,
.quiz-section .quiz-choice-volume .quiz-choice-copy,
.quiz-section .quiz-choice-priority .quiz-choice-copy {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
}

.quiz-section .quiz-choice-copy h4,
.quiz-section .quiz-choice h4 {
  display: block;
  min-height: 0;
  margin: 0;
  font-size: clamp(17px, 1.18vw, 19px);
  line-height: 1.28;
  text-align: left;
  text-wrap: balance;
}

.quiz-section .quiz-choice-copy p {
  min-height: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.42;
  text-align: left;
  text-wrap: pretty;
}

.quiz-section .quiz-choice.is-selected .quiz-choice-number {
  border-color: var(--quiz-green);
  color: #fff;
  background: var(--quiz-green);
}

@media (max-width: 1250px) {
  .quiz-section .quiz-choice-object,
  .quiz-section .quiz-choice-volume,
  .quiz-section .quiz-choice-priority,
  .quiz-section .quiz-choice-text,
  .quiz-section .quiz-priority-grid .quiz-choice-text {
    min-height: 132px;
    padding: 22px 52px 22px 20px;
  }
}

@media (max-width: 680px) {
  .quiz-section .quiz-choice-object,
  .quiz-section .quiz-choice-volume,
  .quiz-section .quiz-choice-priority,
  .quiz-section .quiz-choice-text,
  .quiz-section .quiz-priority-grid .quiz-choice-text {
    min-height: 102px;
    padding: 18px 52px 18px 18px;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
  }

  .quiz-section .quiz-choice-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    font-size: 13px;
  }

  .quiz-section .quiz-choice-copy h4,
  .quiz-section .quiz-choice h4 {
    font-size: 17px;
  }

  .quiz-section .quiz-choice-copy p {
    font-size: 13px;
  }
}

/* Branded compact header — 2026-07-30 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(20px, 2vw, 38px);
  min-height: 76px;
  height: 76px;
  padding: 0 clamp(28px, 3.2vw, 64px);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(30, 55, 40, 0.08);
  box-shadow: none;
  backdrop-filter: blur(10px);
  transition: background-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 8px 30px rgba(25, 45, 32, 0.06);
}

.site-header .brand {
  min-width: 0;
  width: clamp(210px, 16vw, 280px);
  height: 58px;
  overflow: hidden;
  flex: 0 0 auto;
}

.site-header .brand-logo {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.site-header .main-nav {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(16px, 1.65vw, 31px);
  min-width: 0;
  font-size: clamp(13px, 0.76vw, 15px);
  font-weight: 520;
  color: #202820;
}

.site-header .main-nav > a,
.nav-services__trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #202820;
  white-space: nowrap;
  cursor: pointer;
  transition: color 220ms ease;
}

.site-header .main-nav > a::after,
.nav-services__trigger::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: #758363;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
}

.site-header .main-nav > a:hover,
.site-header .main-nav > a:focus-visible,
.site-header .main-nav > a.is-active,
.nav-services__trigger:hover,
.nav-services__trigger:focus-visible,
.nav-services.is-open .nav-services__trigger,
.nav-services.is-active .nav-services__trigger {
  color: #075234;
}

.site-header .main-nav > a:hover::after,
.site-header .main-nav > a:focus-visible::after,
.site-header .main-nav > a.is-active::after,
.nav-services__trigger:hover::after,
.nav-services__trigger:focus-visible::after,
.nav-services.is-open .nav-services__trigger::after,
.nav-services.is-active .nav-services__trigger::after {
  transform: scaleX(1);
}

.nav-services {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-services__trigger {
  font: inherit;
  font-weight: inherit;
}

.nav-services__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #202820;
  cursor: pointer;
}

.nav-services__toggle > svg {
  width: 11px;
  height: 7px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform 220ms ease;
}

.nav-services.is-open .nav-services__toggle > svg,
.nav-services:hover .nav-services__toggle > svg {
  transform: rotate(180deg);
}

.nav-services__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: -24px;
  z-index: 1100;
  width: 294px;
  padding: 11px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-7px);
  border: 1px solid rgba(30, 55, 40, 0.1);
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(25, 45, 32, 0.09);
  pointer-events: none;
  transition: opacity 210ms ease, transform 210ms ease, visibility 210ms ease;
}

.nav-services__menu::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 12px;
}

.nav-services:hover .nav-services__menu,
.nav-services:focus-within .nav-services__menu,
.nav-services.is-open .nav-services__menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-services__menu a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 6px 10px;
  border-radius: 9px;
  color: #263027;
  font-size: 14px;
  line-height: 1.25;
  transition: color 200ms ease, background-color 200ms ease;
}

.nav-services__menu a:hover,
.nav-services__menu a:focus-visible {
  color: #075234;
  background: #f5f7f3;
}

.nav-services__menu img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.6vw, 30px);
  min-width: 0;
}

.header-max-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 7px 18px rgba(50, 45, 130, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-max-link img {
  display: block;
  width: 100%;
  height: 100%;
}

.header-max-link:hover,
.header-max-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(50, 45, 130, 0.22);
}

.header-mobile-controls {
  display: none;
  align-items: center;
  gap: 10px;
}

.header-max-link--mobile {
  display: none;
}

.header-contact-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: clamp(15px, 1.4vw, 25px);
  border-left: 1px solid rgba(30, 55, 40, 0.12);
}

.header-phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #075234;
  background: #f1f5eb;
}

.header-phone-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header .header-contact {
  display: block;
  text-align: left;
  line-height: 1.15;
  white-space: nowrap;
}

.site-header .header-contact a {
  color: #172018;
  font-size: clamp(14px, 0.88vw, 17px);
  font-weight: 700;
}

.site-header .header-contact span {
  margin-top: 5px;
  color: #616960;
  font-size: 12px;
  line-height: 1.15;
}

.site-header .header-button {
  display: inline-flex;
  gap: 16px;
  min-width: 210px;
  min-height: 48px;
  height: 48px;
  padding: 0 20px;
  border-radius: 9px;
  background: #758363;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: none;
  white-space: nowrap;
  transition: background-color 220ms ease, box-shadow 220ms ease;
}

.site-header .header-button i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  font-size: 21px;
  font-style: normal;
  transition: transform 220ms ease;
}

.site-header .header-button:hover,
.site-header .header-button:focus-visible {
  background: #667357;
  box-shadow: 0 8px 20px rgba(68, 79, 55, 0.15);
  transform: none;
}

.site-header .header-button:hover i,
.site-header .header-button:focus-visible i {
  transform: translateX(4px);
}

.mobile-nav-actions {
  display: none;
}

.site-header .menu-toggle {
  display: none;
  position: relative;
  z-index: 1201;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #075234;
}

.site-header .menu-toggle span {
  width: 19px;
  height: 1.5px;
  margin: 4px auto;
  background: #ffffff;
  transition: transform 200ms ease, opacity 200ms ease;
}

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

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

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

#service-windows,
#service-balconies,
#service-panoramic,
#service-commercial,
#services,
#projects,
#quality-control,
#reviews,
#contacts,
#calculator {
  scroll-margin-top: 94px;
}

@media (max-width: 1420px) and (min-width: 1200px) {
  .site-header {
    gap: 18px;
    padding-inline: 28px;
  }

  .site-header .brand {
    width: 220px;
  }

  .site-header .main-nav {
    gap: 18px;
    font-size: 13px;
  }

  .header-actions {
    gap: 12px;
  }

  .header-max-link {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .header-contact-wrap {
    gap: 9px;
    padding-left: 15px;
  }

  .header-phone-icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .site-header .header-contact span {
    display: none;
  }

  .site-header .header-button {
    min-width: 184px;
    padding-left: 15px;
    font-size: 12px;
  }
}

@media (max-width: 1199px) {
  body.nav-open {
    overflow: hidden;
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    min-height: 68px;
    height: 68px;
    padding-inline: clamp(18px, 4vw, 42px);
    /* A backdrop filter makes fixed descendants use the header as their
       containing block. On mobile that collapsed the drawer to 68px. */
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-header .brand {
    width: clamp(200px, 28vw, 246px);
    height: 50px;
  }

  .site-header .menu-toggle {
    display: block;
  }

  .header-mobile-controls {
    display: flex;
  }

  .header-mobile-controls .header-max-link--mobile {
    display: inline-flex;
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .site-header .header-actions {
    display: none;
  }

  .site-header .main-nav {
    position: fixed;
    inset: 68px 0 0 auto;
    z-index: 1199;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: min(520px, 100vw);
    height: calc(100vh - 68px);
    max-height: calc(100vh - 68px);
    height: calc(100dvh - 68px);
    max-height: calc(100dvh - 68px);
    padding: 22px clamp(24px, 5vw, 46px) 34px;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 0;
    transform: translateX(100%);
    background: rgba(255, 255, 255, 0.99);
    border-left: 1px solid rgba(30, 55, 40, 0.08);
    box-shadow: -18px 20px 42px rgba(25, 45, 32, 0.08);
    pointer-events: none;
    transition: transform 240ms ease, opacity 220ms ease, visibility 240ms ease;
  }

  .site-header.is-open .main-nav {
    position: fixed;
    inset: 68px 0 0 auto;
    display: flex;
    gap: 0;
    padding: 22px clamp(24px, 5vw, 46px) 34px;
    background: #f7f9f4;
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
  }

  .site-header .main-nav > a,
  .nav-services__trigger {
    justify-content: space-between;
    width: 100%;
    min-height: 50px;
    padding: 0;
    border-bottom: 1px solid rgba(30, 55, 40, 0.08);
    font-size: 16px;
  }

  .nav-services {
    display: block;
    width: 100%;
  }

  .nav-services__trigger {
    padding-right: 42px;
  }

  .nav-services__toggle {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    display: inline-flex;
    width: 42px;
    height: 50px;
  }

  .site-header .main-nav > a::after,
  .nav-services__trigger::after {
    display: none;
  }

  .nav-services__toggle > svg {
    width: 13px;
    height: 9px;
  }

  .nav-services:hover .nav-services__toggle > svg {
    transform: none;
  }

  .nav-services.is-open .nav-services__toggle > svg {
    transform: rotate(180deg);
  }

  .nav-services__menu {
    position: static;
    width: 100%;
    max-height: 0;
    padding: 0 10px;
    overflow: hidden;
    visibility: hidden;
    opacity: 1;
    transform: none;
    border: 0;
    border-radius: 10px;
    background: #f5f7f3;
    box-shadow: none;
    pointer-events: none;
    transition: max-height 240ms ease, padding 240ms ease, margin 240ms ease, visibility 240ms ease;
  }

  .nav-services:hover .nav-services__menu,
  .nav-services:focus-within .nav-services__menu {
    max-height: 0;
    padding-block: 0;
    margin: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .nav-services.is-open .nav-services__menu {
    max-height: 250px;
    margin: 8px 0 12px;
    padding-block: 7px;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-services__menu a {
    min-height: 43px;
    font-size: 14px;
  }

  .mobile-nav-actions {
    display: grid;
    gap: 18px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(30, 55, 40, 0.12);
  }

  .mobile-nav-phone {
    display: flex;
    align-items: center;
    gap: 13px;
  }

  .mobile-nav-phone > span:last-child {
    display: grid;
    gap: 4px;
  }

  .mobile-nav-phone b {
    color: #172018;
    font-size: 17px;
  }

  .mobile-nav-phone small {
    color: #616960;
    font-size: 12px;
  }

  .site-header .header-button--mobile {
    display: inline-flex;
    width: 100%;
    max-width: 320px;
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-inline: 16px;
  }

  .site-header .brand {
    width: min(218px, calc(100vw - 154px));
    height: 47px;
  }

  .site-header .main-nav,
  .site-header.is-open .main-nav {
    width: 100vw;
    padding-inline: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header *,
  .site-header *::before,
  .site-header *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Final spacing audit: one horizontal guide and one vertical rhythm.
   This block intentionally comes last because several historical responsive
   adjustments above targeted the same sections with different values. */
:root {
  --section-space: 80px;
}

.hero-content {
  padding-left: var(--site-container-gutter);
}

.services,
.quality-control,
.profile-brands,
.projects,
.work-process,
.reviews {
  padding-top: var(--section-space);
  padding-right: 0;
  padding-bottom: var(--section-space);
  padding-left: 0;
}

.quiz-section {
  padding-top: var(--section-space);
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
  background: var(--section-bg-white);
}

.contact-main {
  width: min(
    calc(100% - var(--site-container-gutter) * 2),
    var(--site-container-width)
  );
  max-width: var(--site-container-width);
  margin-right: auto;
  margin-left: auto;
  padding-top: var(--section-space);
  padding-right: 0;
  padding-bottom: var(--section-space);
  padding-left: 0;
}

@media (max-width: 660px) {
  :root {
    --section-space: 48px;
  }
}

/* Quiz choice affordance: keep the selector visible before a choice is made. */
.quiz-section .quiz-selected-mark {
  opacity: 1;
  transform: scale(1);
  border: 2px solid rgba(117, 131, 99, 0.58);
  background: rgba(255, 255, 255, 0.9);
  color: transparent;
  box-shadow: none;
}

.quiz-section .quiz-choice.is-selected .quiz-selected-mark {
  border-color: var(--quiz-green);
  background: var(--quiz-green);
  color: #fff;
  box-shadow: 0 5px 14px rgba(80, 101, 65, 0.2);
}

/* Mobile editorial alignment.
   Short section introductions are centred; reading-heavy content, cards,
   forms and contact details keep a natural left edge. */
@media (max-width: 680px) {
  /* First screen */
  .hero-content {
    text-align: center;
  }

  .hero-content .eyebrow::after,
  .hero-lead,
  .hero-actions {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-lead__experience,
  .hero-lead__standard {
    display: block;
  }

  .hero-lead__separator,
  .hero-lead__extra {
    display: none;
  }

  .hero-title__line {
    text-align: center;
  }

  .hero-title__switch {
    justify-items: center;
  }

  .hero-title__stage {
    justify-self: center;
  }

  .hero-actions {
    justify-items: center;
  }

  .hero-actions .button {
    justify-content: center;
  }

  .benefits,
  .benefits article {
    text-align: left;
  }

  /* Services */
  .services .service-head,
  .services .section-head.centered {
    text-align: center;
  }

  .services .service-head p,
  .services .section-head.centered p {
    margin-right: auto;
    margin-left: auto;
  }

  .services .service-body,
  .services .service-body h3,
  .services .service-body p,
  .services .service-points {
    text-align: left;
  }

  /* Calculator */
  .quiz-section .quiz-intro,
  .quiz-section .quiz-header-progress {
    text-align: center;
  }

  .quiz-section .quiz-header-progress {
    margin-right: auto;
    margin-left: auto;
    justify-self: center;
  }

  .quiz-section .quiz-copy,
  .quiz-section .quiz-intro h2 {
    margin-right: auto;
    margin-left: auto;
  }

  .quiz-section .quiz-question,
  .quiz-section .quiz-form-block,
  .quiz-section .quiz-card,
  .quiz-section .quiz-choice,
  .quiz-section .quiz-choice-copy,
  .quiz-section .quiz-choice h4,
  .quiz-section .quiz-choice p {
    text-align: left;
  }

  /* Quality */
  .quality-control__eyebrow,
  .quality-control__intro h2,
  .quality-control__visual figcaption {
    text-align: center;
  }

  .quality-control__intro h2 {
    font-size: clamp(32px, 10vw, 40px);
  }

  .quality-control__intro h2 > span:first-child {
    white-space: nowrap;
  }

  .quality-control__line {
    margin-right: auto;
    margin-left: auto;
  }

  .quality-control__lead,
  .quality-control__benefits,
  .quality-control__benefits li {
    text-align: left;
  }

  .quality-control__cta {
    margin-right: auto;
    margin-left: auto;
  }

  /* Portfolio */
  .projects > .section-head {
    text-align: center;
  }

  .projects > .section-head > a {
    display: inline-flex;
    margin-right: auto;
    margin-left: auto;
  }

  .projects .project-body,
  .projects .project-body h3,
  .projects .project-meta {
    text-align: left;
  }

  /* Work stages */
  .work-process__head,
  .work-process__eyebrow,
  .work-process__lead {
    text-align: center;
  }

  .work-process__head-line {
    margin-right: auto;
    margin-left: auto;
  }

  .work-process .work-card,
  .work-process .work-card h3,
  .work-process .work-card p {
    text-align: left;
  }

  /* Reviews */
  .reviews__heading,
  .reviews__navigation {
    text-align: center;
  }

  .reviews__heading p {
    margin-right: auto;
    margin-left: auto;
  }

  .reviews__navigation {
    justify-content: center;
  }

  .review-card__content,
  .review-card__content h3,
  .review-card__text,
  .reviews-story__person,
  .reviews-story__text {
    text-align: left;
  }

  /* Contacts */
  .contact-copy > .contact-eyebrow,
  .contact-copy > h2,
  .contact-copy > .contact-lead {
    text-align: center;
  }

  .contact-copy > .contact-eyebrow::after,
  .contact-copy > .contact-lead {
    margin-right: auto;
    margin-left: auto;
  }

  .contact-actions {
    justify-content: center;
  }

  .contact-card,
  .contact-card h3,
  .contact-card p,
  .contact-form {
    text-align: left;
  }

  /* Footer: brand and navigation are presentation elements; factual data
     remains left-aligned for quick scanning. */
  .site-footer__brand,
  .site-footer__nav,
  .site-footer__legal-links,
  .site-footer__legal small {
    text-align: center;
  }

  .site-footer__brand .brand,
  .site-footer__brand p {
    margin-right: auto;
    margin-left: auto;
  }

  .site-footer .site-footer__nav a {
    justify-content: center;
  }

  .site-footer__contacts,
  .site-footer__contact,
  .site-footer__legal-inner > p {
    text-align: left;
  }

  .site-footer__legal-links {
    width: 100%;
    align-items: center;
  }
}

/* Compact four-step process: the complete sequence fits into one phone view. */
@media (max-width: 660px) {
  #about {
    scroll-margin-top: 68px;
  }

  .work-process {
    padding-top: var(--section-space);
    padding-bottom: var(--section-space);
  }

  .work-process__inner {
    width: min(calc(100% - 24px), 520px);
  }

  .work-process__eyebrow {
    font-size: 11px;
  }

  .work-process__head-line {
    width: 38px;
    margin-top: 8px;
    margin-bottom: 12px;
  }

  .work-process__head h2 {
    font-size: clamp(27px, 7.6vw, 31px);
    line-height: 1.04;
  }

  .work-process__lead {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.35;
  }

  .work-process__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    gap: 8px;
    margin-top: 18px;
    padding: 0;
  }

  .work-process__grid::before,
  .work-process__grid::after,
  .work-card::before,
  .work-card:nth-child(odd)::before,
  .work-card:nth-child(even)::before {
    display: none;
  }

  .work-card {
    display: grid;
    grid-template-columns: minmax(108px, 35%) minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    min-height: 118px;
    overflow: hidden;
    padding: 10px 14px 10px 10px;
    border-radius: 16px;
  }

  .work-card__number {
    top: 10px;
    left: 10px;
    width: 29px;
    height: 29px;
    font-size: 11px;
    box-shadow: 0 0 0 3px #e7eddf;
    transform: none;
  }

  .work-illustration {
    position: absolute;
    top: 50%;
    left: 10px;
    width: 220px;
    height: 214px;
    margin: 0;
    transform: translateY(-50%) scale(0.48);
    transform-origin: left center;
  }

  .work-card h3 {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    margin: 0;
    font-size: 18px;
    line-height: 1.12;
  }

  .work-card > p {
    display: none;
  }

  .work-card__fact {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    margin: 0;
    padding-top: 6px;
    font-size: 13px;
    line-height: 1.18;
  }
}

/* Messenger shortcuts slide out horizontally from the main contact button. */
.contact-messenger-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: visible;
}

.contact-messenger-trigger {
  position: relative;
  z-index: 2;
}

.contact-messenger-trigger[aria-expanded="true"] > i {
  transform: rotate(180deg);
}

.contact-messenger-menu {
  position: absolute;
  top: 50%;
  left: calc(100% + 8px);
  right: auto;
  z-index: 1;
  display: flex;
  width: auto;
  gap: 8px;
  padding: 0;
  visibility: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transform: translate(-24px, -50%);
  transition: opacity 220ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 420ms;
}

.contact-messenger-picker.is-open .contact-messenger-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%);
  transition-delay: 0s;
}

.contact-messenger-menu a {
  display: grid;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  transform: translateX(-22px) scale(0.82);
  transition: opacity 220ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1), border-color 200ms ease, box-shadow 200ms ease;
}

.contact-messenger-picker.is-open .contact-messenger-menu a {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.contact-messenger-picker.is-open .contact-messenger-menu a:nth-child(1) { transition-delay: 40ms; }
.contact-messenger-picker.is-open .contact-messenger-menu a:nth-child(2) { transition-delay: 100ms; }
.contact-messenger-picker.is-open .contact-messenger-menu a:nth-child(3) { transition-delay: 160ms; }

.contact-messenger-menu a:hover,
.contact-messenger-menu a:focus-visible {
  background: transparent;
  box-shadow: none;
  transform: translateY(-2px) scale(1.04);
}

.contact-messenger-menu .messenger-option-icon {
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 10px;
}

.contact-messenger-menu .messenger-option-icon--whatsapp,
.contact-messenger-menu .messenger-option-icon--max {
  background: transparent;
}

.contact-messenger-menu .messenger-option-icon--whatsapp img,
.contact-messenger-menu .messenger-option-icon--max img {
  width: 100%;
  height: 100%;
  filter: none;
}

.contact-messenger-menu .messenger-option-icon--telegram {
  border-radius: 10px;
}

.contact-messenger-menu .messenger-option-icon--telegram img {
  width: 100%;
  height: 100%;
  filter: none;
}

@media (max-width: 620px) {
  .contact-messenger-picker {
    display: grid;
    transition: padding-bottom 320ms ease;
  }

  .contact-messenger-picker.is-open {
    padding-bottom: 62px;
  }

  .contact-messenger-menu,
  .contact-messenger-picker.is-open .contact-messenger-menu {
    top: auto;
    right: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    justify-content: center;
  }

  .contact-messenger-menu {
    transform: translateY(-10px);
  }

  .contact-messenger-picker.is-open .contact-messenger-menu {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-messenger-picker,
  .contact-messenger-menu,
  .contact-messenger-menu a {
    transition: none !important;
  }
}
