/* src/styles/base.css */
:root {
  --color-dark: #2a3847;
  --color-cyan: #3ebfce;
  --color-cyan-light: #7dedfa;
  --color-white: #ffffff;
  --page-bg: #f0f0f0;
  --container: min(1520px, calc(100% - 80px));
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  background: var(--page-bg);
  color: var(--color-white);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.35;
}

body.menu-is-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

button {
  cursor: pointer;
}

.page {
  min-height: 100vh;
}

.button {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 2px;
  background: var(--color-cyan);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.phone-roll {
  position: relative;
  display: block;
  height: var(--phone-roll-height, 1.25em);
  overflow: hidden;
}

.phone-roll__line {
  display: block;
  transition: transform 260ms ease;
  will-change: transform;
}

.phone-roll__line--clone {
  position: absolute;
  inset: 0 auto auto 0;
  transform: translate3d(0, 100%, 0);
}

a:hover .phone-roll__line:first-child,
a:focus-visible .phone-roll__line:first-child {
  transform: translate3d(0, -100%, 0);
}

a:hover .phone-roll__line--clone,
a:focus-visible .phone-roll__line--clone {
  transform: translate3d(0, 0, 0);
}

.reveal-heading {
  opacity: 0;
  filter: blur(3px);
  transition: opacity 600ms cubic-bezier(0.55, 0.085, 0.68, 0.53), filter 600ms cubic-bezier(0.55, 0.085, 0.68, 0.53);
  will-change: opacity, filter;
}

.reveal-heading.is-visible {
  opacity: 1;
  filter: blur(0);
}

@media (min-width: 960px) {
  [data-image-curtain] {
    position: relative;
    overflow: hidden;
  }

  [data-image-curtain].image-curtain--ready::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: var(--image-curtain-color, var(--page-bg));
    pointer-events: none;
    transform: translate3d(0, 0, 0);
    transition: transform 1500ms cubic-bezier(0.55, 0.085, 0.68, 0.53);
    will-change: transform;
  }

  [data-image-curtain].image-curtain--ready.is-visible::after {
    transform: translate3d(0, 100%, 0);
  }
}

@media (min-width: 640px) {
  .button {
    min-width: max-content;
  }
}

@media (max-width: 959px) {
  :root {
    --container: min(100% - 48px, 1120px);
  }
}

@media (max-width: 639px) {
  :root {
    --container: calc(100% - 32px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-roll__line,
  .reveal-heading,
  [data-image-curtain].image-curtain--ready::after {
    transition: none;
  }

  .reveal-heading {
    opacity: 1;
    filter: none;
  }

  [data-image-curtain].image-curtain--ready::after {
    display: none;
  }
}

/* src/styles/floating-header.css */
.floating-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9000;
  padding: 8px 0;
  background: #f0f0f0;
  color: var(--color-dark);
  box-shadow: 0 1px 0 rgba(42, 56, 71, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -100%, 0);
  transition: transform 240ms ease, opacity 240ms ease;
}

.floating-header.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.floating-header__inner {
  display: flex;
  width: var(--container);
  min-height: 64px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(42, 56, 71, 0.12);
}

.floating-brand,
.site-menu__brand {
  display: inline-block;
  align-items: center;
  color: var(--color-dark);
  text-decoration: none;
}

.floating-brand {
  width: 180px;
  flex: 0 0 auto;
}

.floating-brand__logo,
.site-menu__brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.floating-header__actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.floating-rating,
.floating-phone {
  display: grid;
  min-width: max-content;
  color: var(--color-dark);
  text-decoration: none;
}

.floating-rating {
  margin-right: clamp(20px, 9vw, 230px);
}

.floating-phone {
  --phone-roll-height: 20px;
  margin-right: 16px;
}

.floating-rating__line {
  display: flex;
  align-items: center;
  gap: 3px;
}

.floating-rating strong,
.floating-phone strong {
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.floating-rating__line span {
  color: #ffd646;
  font-size: 10px;
  line-height: 1;
}

.floating-rating small,
.floating-phone small {
  color: rgba(42, 56, 71, 0.78);
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
}

.floating-icon,
.floating-header__cta,
.floating-menu-button {
  display: grid;
  height: 50px;
  place-items: center;
  border-radius: 2px;
  text-decoration: none;
}

.floating-icon,
.floating-menu-button {
  width: 50px;
  border: 0;
  background: rgba(255, 255, 255, 0.85);
  color: #73b9cc;
}

.floating-icon svg,
.floating-menu-button svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.floating-header__cta {
  min-width: 220px;
  padding: 0 26px;
  background: rgba(62, 191, 206, 0.72);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  white-space: nowrap;
}

.floating-menu-button {
  border: 1px solid rgba(62, 191, 206, 0.72);
  background: transparent;
}

.site-menu {
  position: fixed;
  inset: 0;
  z-index: 9100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.site-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.site-menu__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(18, 31, 43, 0.76);
}

.site-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(560px, 100vw);
  height: 100vh;
  height: 100svh;
  margin: 0;
  background: #f0f0f0;
  color: var(--color-dark);
  box-shadow: -1px 0 0 rgba(42, 56, 71, 0.14);
  transform: translate3d(100%, 0, 0);
  transition: transform 260ms ease;
}

@supports (height: 100dvh) {
  .site-menu__panel {
    height: 100dvh;
  }
}

.site-menu.is-open .site-menu__panel {
  transform: translate3d(0, 0, 0);
}

.site-menu__close {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  color: var(--color-dark);
}

.site-menu__close span {
  position: absolute;
  top: 23px;
  left: 7px;
  display: block;
  width: 40px;
  height: 3px;
  background: currentColor;
}

.site-menu__close span:first-child {
  transform: rotate(45deg);
}

.site-menu__close span:last-child {
  transform: rotate(-45deg);
}

.site-menu__content {
  display: grid;
  height: 100%;
  padding: 88px 80px 76px;
  grid-template-rows: auto 1fr auto;
  overflow-y: auto;
}

.site-menu__brand {
  width: 260px;
  margin-bottom: 58px;
}

.site-menu__nav {
  display: grid;
  align-content: start;
  gap: 22px;
}

.site-menu__nav a {
  color: var(--color-dark);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
  text-decoration: none;
}

.site-menu__bottom {
  display: grid;
  gap: 56px;
}

.site-menu__socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-menu__socials a {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-cyan);
  color: var(--color-white);
}

.site-menu__socials svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

.site-menu__cta {
  display: inline-flex;
  min-height: 100px;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  background: var(--color-cyan);
  color: var(--color-white);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 1199px) {
  .floating-rating,
  .floating-phone {
    display: none;
  }
}

@media (max-height: 940px) and (min-width: 768px) {
  .site-menu__content {
    padding-top: 80px;
    padding-bottom: 36px;
  }

  .site-menu__brand {
    margin-bottom: 34px;
  }

  .site-menu__nav {
    gap: 14px;
  }

  .site-menu__nav a {
    font-size: 29px;
    line-height: 1.05;
  }

  .site-menu__bottom {
    gap: 24px;
  }

  .site-menu__socials a {
    width: 50px;
    height: 50px;
  }

  .site-menu__socials svg {
    width: 27px;
    height: 27px;
  }

  .site-menu__cta {
    min-height: 72px;
    font-size: 25px;
  }
}

@media (max-width: 767px) {
  .floating-header {
    padding: 6px 0;
  }

  .floating-header__inner {
    min-height: 56px;
    gap: 14px;
  }

  .floating-brand {
    width: 142px;
  }

  .floating-header__cta {
    display: none;
  }

  .floating-icon,
  .floating-menu-button {
    width: 42px;
    height: 42px;
  }

  .floating-icon svg,
  .floating-menu-button svg {
    width: 23px;
    height: 23px;
  }

  .site-menu__panel {
    width: min(520px, 100vw);
  }

  .site-menu__content {
    padding: 86px 44px 46px;
  }

  .site-menu__close {
    top: 26px;
    right: 26px;
  }

  .site-menu__brand {
    width: 224px;
    margin-bottom: 44px;
  }

  .site-menu__nav {
    gap: 19px;
  }

  .site-menu__nav a {
    font-size: 30px;
  }

  .site-menu__bottom {
    gap: 36px;
  }

  .site-menu__socials a {
    width: 56px;
    height: 56px;
  }

  .site-menu__cta {
    min-height: 88px;
    font-size: 27px;
  }
}

@media (max-width: 479px) {
  .floating-brand {
    width: 116px;
  }

  .floating-header__inner {
    gap: 8px;
  }

  .floating-header__actions {
    gap: 5px;
  }

  .site-menu__content {
    padding: 74px 28px 24px;
  }

  .site-menu__close {
    top: 24px;
    right: 24px;
    width: 42px;
    height: 42px;
  }

  .site-menu__close span {
    top: 20px;
    left: 6px;
    width: 34px;
  }

  .site-menu__brand {
    width: 188px;
    margin-bottom: 28px;
  }

  .site-menu__nav {
    gap: 12px;
  }

  .site-menu__nav a {
    font-size: 25px;
    line-height: 1.05;
  }

  .site-menu__bottom {
    gap: 20px;
  }

  .site-menu__socials {
    gap: 12px;
  }

  .site-menu__socials a {
    width: 48px;
    height: 48px;
  }

  .site-menu__socials svg {
    width: 25px;
    height: 25px;
  }

  .site-menu__cta {
    min-height: 70px;
    font-size: 23px;
  }
}

/* src/styles/hero.css */
.hero {
  --hero-shell-pad-top: 15px;
  --hero-shell-pad-bottom: 36px;
  --hero-header-min-height: 55px;
  --hero-header-gap: 24px;
  --hero-logo-width: 180px;
  --hero-actions-gap: 8px;
  --hero-rating-margin: 32px;
  --hero-phone-margin: 16px;
  --hero-menu-margin: 8px;
  --hero-icon-size: 40px;
  --hero-icon-svg: 24px;
  --hero-meta-font: 15px;
  --hero-meta-line: 20px;
  --hero-meta-small-font: 13px;
  --hero-meta-small-line: 17px;
  --hero-star-size: 10px;
  --hero-header-cta-min: 165px;
  --hero-header-cta-pad: 18px;
  --hero-content-gap: 20px;
  --hero-eyebrow-width: 500px;
  --hero-eyebrow-font: 15px;
  --hero-eyebrow-line: 20px;
  --hero-title-width: 760px;
  --hero-title-font: 55px;
  --hero-title-gap: 18px;
  --hero-lead-width: 420px;
  --hero-lead-font: 15px;
  --hero-lead-line: 20px;
  --hero-lower-margin: 10px;
  --hero-lower-row-gap: 36px;
  --hero-lower-col-gap: 118px;
  --hero-col-cta: 440px;
  --hero-col-feature-a-min: 250px;
  --hero-col-feature-a-max: 316px;
  --hero-col-feature-b-min: 270px;
  --hero-col-feature-b-max: 328px;
  --hero-cta-gap: 20px;
  --hero-button-width: 270px;
  --hero-button-min-height: 45px;
  --hero-button-pad: 24px;
  --hero-button-font: 15px;
  --hero-button-line: 20px;
  --hero-note-width: 200px;
  --hero-note-font: 13px;
  --hero-note-line: 17px;
  --hero-feature-min-height: 85px;
  --hero-feature-pad: 15px;
  --hero-feature-gap: 15px;
  --hero-feature-font: 15px;
  --hero-feature-line: 20px;
  --hero-feature-icon: 30px;
  --hero-list-bar-width: 16px;
  --hero-list-bar-height: 5px;
  --hero-list-gap: 3px;
  --hero-cluster-gap: 2px;
  --hero-cluster-pad: 2px;
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: url("assets/optimized/hero-bg.jpg") center top / cover no-repeat, var(--color-dark);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(42, 56, 71, 0.58);
  pointer-events: none;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__video {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 500ms ease;
}

.hero__video.is-ready {
  opacity: 1;
}

.hero__shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: var(--container);
  height: 100vh;
  height: 100svh;
  margin: 0 auto;
  padding: var(--hero-shell-pad-top) 0 var(--hero-shell-pad-bottom);
}

@supports (height: 100dvh) {
  .hero,
  .hero__shell {
    height: 100dvh;
  }
}

.hero-header {
  display: flex;
  min-height: var(--hero-header-min-height);
  align-items: center;
  justify-content: space-between;
  gap: var(--hero-header-gap);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-logo {
  display: block;
  width: var(--hero-logo-width);
  flex: 0 0 auto;
}

.hero-logo img {
  width: 100%;
  height: auto;
}

.hero-header__actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: var(--hero-actions-gap);
}

.hero-rating,
.hero-phone {
  display: grid;
  min-width: max-content;
  color: var(--color-white);
  text-decoration: none;
}

.hero-rating {
  margin-right: var(--hero-rating-margin);
}

.hero-rating__line {
  display: flex;
  align-items: center;
  gap: 3px;
}

.hero-rating strong,
.hero-phone strong {
  font-size: var(--hero-meta-font);
  font-weight: 500;
  line-height: var(--hero-meta-line);
}

.hero-rating__line span {
  color: #ffd646;
  font-size: var(--hero-star-size);
  line-height: 1;
}

.hero-rating small,
.hero-phone small {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--hero-meta-small-font);
  font-weight: 400;
  line-height: var(--hero-meta-small-line);
}

.hero-phone {
  --phone-roll-height: var(--hero-meta-line);
  margin-right: var(--hero-phone-margin);
}

.hero-icon,
.hero-header__cta {
  display: grid;
  width: var(--hero-icon-size);
  height: var(--hero-icon-size);
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--color-white);
  text-decoration: none;
}

.hero-icon svg {
  width: var(--hero-icon-svg);
  height: var(--hero-icon-svg);
  fill: currentColor;
}

.hero-icon--phone {
  display: none;
}

.hero-header__cta {
  width: auto;
  min-width: var(--hero-header-cta-min);
  padding: 0 var(--hero-header-cta-pad);
  background: rgba(62, 191, 206, 0.74);
  font-size: var(--hero-meta-small-font);
  font-weight: 400;
  line-height: var(--hero-meta-small-line);
  white-space: nowrap;
}

.hero-menu {
  margin-left: var(--hero-menu-margin);
}

.hero__content {
  display: grid;
  align-self: end;
  gap: var(--hero-content-gap);
}

.hero__eyebrow {
  max-width: var(--hero-eyebrow-width);
  margin: 0;
  font-size: var(--hero-eyebrow-font);
  font-weight: 500;
  line-height: var(--hero-eyebrow-line);
}

.hero__rule {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.hero__title-group {
  display: grid;
  max-width: var(--hero-title-width);
  gap: var(--hero-title-gap);
}

.hero h1 {
  margin: 0;
  font-size: var(--hero-title-font);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.95;
}

.hero h1 span {
  color: var(--color-cyan-light);
}

.hero__lead {
  max-width: var(--hero-lead-width);
  margin: 0;
  font-size: var(--hero-lead-font);
  font-weight: 500;
  line-height: var(--hero-lead-line);
}

.hero__lower {
  display: grid;
  margin-top: var(--hero-lower-margin);
  grid-template-columns:
    minmax(var(--hero-col-cta), 1fr)
    minmax(var(--hero-col-feature-a-min), var(--hero-col-feature-a-max))
    minmax(var(--hero-col-feature-b-min), var(--hero-col-feature-b-max));
  align-items: start;
  gap: var(--hero-lower-row-gap) var(--hero-lower-col-gap);
}

.hero__cta-group {
  display: flex;
  align-items: center;
  gap: var(--hero-cta-gap);
}

.hero__cta-group .button {
  width: var(--hero-button-width);
  flex: 0 0 auto;
}

.hero .button {
  min-height: var(--hero-button-min-height);
  padding: 0 var(--hero-button-pad);
  font-size: var(--hero-button-font);
  line-height: var(--hero-button-line);
}

.hero__cta-group p,
.hero-feature p {
  margin: 0;
  color: var(--color-white);
  font-size: var(--hero-feature-font);
  font-weight: 500;
  line-height: var(--hero-feature-line);
}

.hero__cta-group p {
  max-width: var(--hero-note-width);
  font-size: var(--hero-note-font);
  line-height: var(--hero-note-line);
}

.hero-feature {
  display: grid;
  min-height: var(--hero-feature-min-height);
  padding-left: var(--hero-feature-pad);
  align-content: start;
  gap: var(--hero-feature-gap);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-feature__icon {
  display: grid;
  width: var(--hero-feature-icon);
  height: var(--hero-feature-icon);
  background: var(--color-white);
  color: #8d949a;
}

.hero-feature__icon--list {
  align-content: center;
  justify-items: center;
  gap: var(--hero-list-gap);
}

.hero-feature__icon--list span {
  width: var(--hero-list-bar-width);
  height: var(--hero-list-bar-height);
  border-radius: 1px;
  background: currentColor;
}

.hero-feature__icon--cluster {
  grid-template-columns: repeat(2, 1fr);
  gap: var(--hero-cluster-gap);
  padding: var(--hero-cluster-pad);
  background: transparent;
}

.hero-feature__icon--cluster span {
  border-radius: 50%;
  background: var(--color-white);
}

@media (max-width: 1399px) {
  .hero {
    --hero-rating-margin: 24px;
    --hero-title-width: 720px;
    --hero-title-font: 50px;
    --hero-lower-row-gap: 42px;
    --hero-lower-col-gap: 42px;
    --hero-col-cta: 390px;
    --hero-col-feature-a-min: 230px;
    --hero-col-feature-a-max: 316px;
    --hero-col-feature-b-min: 240px;
    --hero-col-feature-b-max: 328px;
  }
}

@media (max-width: 1199px) {
  .hero {
    --hero-shell-pad-top: 18px;
    --hero-shell-pad-bottom: 36px;
    --hero-eyebrow-width: 520px;
    --hero-eyebrow-font: 18px;
    --hero-eyebrow-line: 24px;
    --hero-title-width: 720px;
    --hero-title-font: 44px;
    --hero-lead-width: 560px;
    --hero-lead-font: 18px;
    --hero-lead-line: 24px;
    --hero-lower-row-gap: 30px;
    --hero-lower-col-gap: 30px;
    --hero-col-cta: 390px;
    --hero-col-feature-a-min: 220px;
    --hero-col-feature-a-max: 316px;
    --hero-col-feature-b-min: 230px;
    --hero-col-feature-b-max: 328px;
    --hero-button-width: 320px;
  }

  .hero-rating,
  .hero-phone,
  .hero-header__cta {
    display: none;
  }

  .hero-icon--phone {
    display: grid;
  }

  .hero h1 {
    line-height: 1;
  }
}

@media (max-width: 959px) {
  .hero {
    --hero-mobile-min-height: 780px;
    --hero-content-gap: 22px;
    --hero-title-width: 760px;
    --hero-title-font: 52px;
    --hero-lower-margin: 14px;
    --hero-lower-row-gap: 44px;
    --hero-lower-col-gap: 38px;
    --hero-button-width: 360px;
    --hero-note-width: 250px;
    --hero-note-font: 18px;
    --hero-note-line: 23px;
    --hero-feature-min-height: 112px;
    --hero-feature-gap: 20px;
    --hero-feature-font: 19px;
    --hero-feature-line: 24px;
    height: var(--hero-stable-height, 100svh);
    min-height: var(--hero-mobile-min-height);
  }

  .hero__shell {
    height: var(--hero-stable-height, 100svh);
    min-height: var(--hero-mobile-min-height);
  }

  .hero h1 {
    line-height: 1;
  }

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

  .hero__cta-group {
    grid-column: 1 / -1;
  }

  .hero__cta-group .button {
    width: min(var(--hero-button-width), 100%);
  }
}

@media (max-width: 639px) {
  .hero {
    --hero-mobile-min-height: 810px;
    --hero-shell-pad-top: 20px;
    --hero-shell-pad-bottom: 30px;
    --hero-header-min-height: 68px;
    --hero-header-gap: 10px;
    --hero-logo-width: 132px;
    --hero-actions-gap: 5px;
    --hero-icon-size: 37px;
    --hero-icon-svg: 22px;
    --hero-menu-margin: 0;
    --hero-content-gap: 16px;
    --hero-eyebrow-width: 100%;
    --hero-eyebrow-font: 17px;
    --hero-eyebrow-line: 22px;
    --hero-title-width: 100%;
    --hero-title-font: 32px;
    --hero-title-gap: 18px;
    --hero-lead-width: 100%;
    --hero-lead-font: 17px;
    --hero-lead-line: 22px;
    --hero-lower-margin: 6px;
    --hero-lower-row-gap: 34px;
    --hero-lower-col-gap: 18px;
    --hero-cta-gap: 12px;
    --hero-button-min-height: 54px;
    --hero-button-pad: 18px;
    --hero-button-font: 17px;
    --hero-button-line: 22px;
    --hero-note-width: 300px;
    --hero-note-font: 17px;
    --hero-note-line: 22px;
    --hero-feature-min-height: 150px;
    --hero-feature-pad: 14px;
    --hero-feature-gap: 18px;
    --hero-feature-font: 17px;
    --hero-feature-line: 22px;
    --hero-feature-icon: 26px;
    --hero-list-bar-width: 14px;
    --hero-list-bar-height: 4px;
  }

  .hero {
    background-position: 56% top;
  }

  .hero__video {
    object-position: 56% top;
  }

  .hero-header {
    align-items: start;
  }

  .hero h1 {
    line-height: 1.04;
  }

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

  .hero__cta-group {
    display: grid;
  }

  .hero__cta-group .button {
    width: 100%;
  }

  .hero-feature {
    padding-left: var(--hero-feature-pad);
  }

  .hero-feature:first-of-type {
    border-left: 0;
    padding-left: 0;
  }

}

@media (max-width: 639px) and (max-height: 760px) {
  .hero {
    --hero-mobile-min-height: 790px;
    --hero-shell-pad-top: 16px;
    --hero-shell-pad-bottom: 22px;
    --hero-header-min-height: 58px;
    --hero-logo-width: 120px;
    --hero-icon-size: 34px;
    --hero-icon-svg: 20px;
    --hero-content-gap: 12px;
    --hero-eyebrow-font: 16px;
    --hero-eyebrow-line: 20px;
    --hero-title-font: 30px;
    --hero-title-gap: 12px;
    --hero-lead-font: 16px;
    --hero-lead-line: 20px;
    --hero-lower-row-gap: 24px;
    --hero-lower-col-gap: 16px;
    --hero-button-min-height: 48px;
    --hero-button-pad: 16px;
    --hero-button-font: 16px;
    --hero-button-line: 20px;
    --hero-note-font: 16px;
    --hero-note-line: 20px;
    --hero-feature-min-height: 128px;
    --hero-feature-gap: 12px;
    --hero-feature-font: 16px;
    --hero-feature-line: 20px;
    --hero-feature-icon: 24px;
  }
}

/* src/styles/facts.css */
.facts {
  background: var(--color-dark);
  color: var(--color-white);
}

.facts__shell {
  display: grid;
  width: var(--container);
  min-height: 540px;
  margin: 0 auto;
  padding: 100px 0;
  grid-template-columns: 245px minmax(0, 1fr);
  align-items: start;
  gap: clamp(72px, 9.5vw, 138px);
}

.facts__image-frame {
  width: 245px;
  height: 340px;
  border-radius: 2px;
  --image-curtain-color: var(--color-dark);
}

.facts__image {
  width: 100%;
  height: 100%;
  border-radius: 2px;
  object-fit: cover;
}

.facts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px clamp(44px, 6vw, 82px);
}

.facts-card {
  display: grid;
  min-height: 145px;
  padding-left: 15px;
  align-content: start;
  gap: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.facts-card--turnkey {
  grid-column: 1;
  grid-row: 1;
}

.facts-card--payment {
  grid-column: 2;
  grid-row: 1;
}

.facts-card--complexity {
  grid-column: 2;
  grid-row: 2;
}

.facts-card--stat {
  grid-column: 3;
  grid-row: 2;
}

.facts-card__icon {
  display: grid;
  width: 30px;
  height: 30px;
  margin-bottom: 5px;
}

.facts-card h2 {
  max-width: 270px;
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 25px;
}

.facts-card p {
  max-width: 270px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.facts-card__icon--cluster,
.facts-card__icon--pinch,
.facts-card__icon--corners {
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}

.facts-card__icon--cluster span,
.facts-card__icon--pinch span,
.facts-card__icon--corners span {
  display: block;
  background: var(--color-white);
}

.facts-card__icon--cluster span {
  border-radius: 50%;
}

.facts-card__icon--pinch span:nth-child(1),
.facts-card__icon--pinch span:nth-child(4) {
  border-radius: 50% 0 50% 0;
}

.facts-card__icon--pinch span:nth-child(2),
.facts-card__icon--pinch span:nth-child(3) {
  border-radius: 0 50% 0 50%;
}

.facts-card__icon--corners span:nth-child(1) {
  border-radius: 0 0 60% 0;
}

.facts-card__icon--corners span:nth-child(2) {
  border-radius: 0 0 0 60%;
}

.facts-card__icon--corners span:nth-child(3) {
  border-radius: 0 60% 0 0;
}

.facts-card__icon--corners span:nth-child(4) {
  border-radius: 60% 0 0 0;
}

.facts-card__icon--dots {
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.facts-card__icon--dots span {
  display: block;
  border-radius: 50%;
  background: var(--color-white);
}

@media (max-width: 1199px) {
  .facts__shell {
    min-height: auto;
    padding: 80px 0;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 64px;
  }

  .facts__image-frame {
    width: 220px;
    height: 305px;
  }

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

  .facts-card,
  .facts-card--turnkey,
  .facts-card--payment,
  .facts-card--complexity,
  .facts-card--stat {
    grid-column: auto;
    grid-row: auto;
  }

  .facts-card h2 {
    font-size: 22px;
    line-height: 24px;
  }
}

@media (max-width: 959px) {
  .facts__shell {
    padding: 64px 0;
    grid-template-columns: 1fr;
  }

  .facts__image-frame {
    display: none;
  }

  .facts__grid {
    gap: 36px 32px;
  }
}

@media (max-width: 639px) {
  .facts__shell {
    padding: 48px 0;
  }

  .facts__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .facts-card {
    min-height: auto;
  }

  .facts-card h2 {
    max-width: 100%;
    font-size: 21px;
    line-height: 24px;
  }

  .facts-card p {
    max-width: 100%;
    font-size: 15px;
    line-height: 20px;
  }
}

/* src/styles/pain.css */
.pain {
  background: #f0f0f0;
  color: var(--color-dark);
}

.pain__shell {
  width: var(--container);
  min-height: 835px;
  margin: 0 auto;
  padding: 100px 0;
}

.pain__label {
  display: flex;
  margin: 0 0 33px;
  align-items: center;
  gap: 10px;
  color: var(--color-dark);
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
}

.pain__label::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  background: var(--color-cyan);
}

.pain__head {
  display: grid;
  margin-bottom: 50px;
  grid-template-columns: minmax(0, 760px) minmax(240px, 310px);
  align-items: end;
  gap: clamp(80px, 7.5vw, 114px);
}

.pain__head h2 {
  margin: 0;
  color: var(--color-dark);
  font-size: 43px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.pain__head h2 span {
  color: var(--color-cyan);
}

.pain__head p {
  margin: 0;
  color: var(--color-dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.pain__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 77px);
}

.pain-card {
  display: grid;
  min-height: 405px;
  padding-left: 15px;
  align-content: start;
  border-left: 1px solid rgba(42, 56, 71, 0.12);
}

.pain-card__number {
  display: block;
  margin-bottom: 18px;
  color: var(--color-dark);
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
}

.pain-card h3 {
  min-height: 60px;
  max-width: 306px;
  margin: 0 0 110px;
  color: var(--color-dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.pain-card img {
  width: 230px;
  height: 200px;
  border-radius: 2px;
  object-fit: cover;
}

@media (max-width: 1199px) {
  .pain__shell {
    min-height: auto;
    padding: 86px 0;
  }

  .pain__label {
    margin-bottom: 38px;
  }

  .pain__head {
    margin-bottom: 58px;
    grid-template-columns: minmax(0, 620px);
    gap: 24px;
  }

  .pain__head h2 {
    font-size: 40px;
  }

  .pain__head p {
    max-width: 360px;
  }

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

  .pain-card {
    min-height: auto;
  }

  .pain-card h3 {
    margin-bottom: 42px;
  }

  .pain-card img {
    width: min(320px, 100%);
    height: auto;
    aspect-ratio: 230 / 200;
  }
}

@media (max-width: 639px) {
  .pain__shell {
    padding: 60px 0;
  }

  .pain__label {
    margin-bottom: 36px;
  }

  .pain__head {
    margin-bottom: 48px;
  }

  .pain__head h2 {
    font-size: 31px;
    line-height: 1.04;
  }

  .pain__head p {
    font-size: 15px;
    line-height: 20px;
  }

  .pain__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .pain-card {
    padding-left: 14px;
  }

  .pain-card__number {
    margin-bottom: 14px;
  }

  .pain-card h3 {
    min-height: auto;
    max-width: 100%;
    margin-bottom: 22px;
  }

  .pain-card img {
    width: 100%;
    max-height: 280px;
  }
}

/* src/styles/benefits.css */
.benefits {
  height: calc(100vh + var(--benefits-scroll-distance, 0px));
  height: calc(100svh + var(--benefits-scroll-distance, 0px));
  background: var(--color-dark);
  color: var(--color-white);
}

@supports (height: 100dvh) {
  .benefits {
    height: calc(100dvh + var(--benefits-scroll-distance, 0px));
  }
}

.benefits__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--color-dark);
}

.benefits__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

@supports (height: 100dvh) {
  .benefits__sticky {
    height: 100dvh;
  }
}

.benefits__shell {
  position: relative;
  z-index: 2;
  display: grid;
  width: var(--container);
  min-width: 0;
  height: 100%;
  margin: 0 auto;
  padding: 100px 0 40px;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.benefits__copy {
  display: grid;
  max-width: 690px;
  align-content: start;
}

.benefits__label {
  display: flex;
  margin: 0 0 33px;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
}

.benefits__label::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  background: var(--color-cyan);
}

.benefits__copy h2 {
  margin: 0;
  color: var(--color-white);
  font-size: 43px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.benefits__copy h2 span {
  color: var(--color-cyan-light);
}

.benefits__lead {
  max-width: 320px;
  margin: 30px 0 0;
  color: var(--color-white);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.benefits__button {
  width: 270px;
  margin-top: 40px;
}

.benefits__cards {
  width: 100%;
  min-width: 0;
  align-self: end;
  overflow: visible;
}

.benefits__track {
  display: flex;
  width: max-content;
  gap: 10px;
  transform: translate3d(var(--benefits-track-x, 0px), 0, 0);
  will-change: transform;
}

.benefits-card {
  display: grid;
  width: 373px;
  height: 220px;
  padding: 20px;
  align-content: start;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(7.5px);
  -webkit-backdrop-filter: blur(7.5px);
}

.benefits-card__mark {
  display: grid;
  width: 40px;
  height: 25px;
  margin-bottom: 50px;
  grid-template-columns: repeat(3, 10px);
  grid-auto-rows: 10px;
  gap: 5px;
}

.benefits-card__mark span {
  display: block;
  background: var(--color-white);
}

.benefits-card__mark--1 span:nth-child(-n + 1),
.benefits-card__mark--2 span:nth-child(-n + 2),
.benefits-card__mark--3 span:nth-child(-n + 3),
.benefits-card__mark--4 span:nth-child(-n + 4),
.benefits-card__mark--5 span:nth-child(-n + 5),
.benefits-card__mark--6 span:nth-child(-n + 6) {
  background: var(--color-cyan);
}

.benefits-card h3 {
  max-width: 330px;
  margin: 0 0 10px;
  color: var(--color-white);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 25px;
}

.benefits-card p {
  max-width: 265px;
  margin: 0;
  color: var(--color-white);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

@media (max-width: 1199px) {
  .benefits__shell {
    padding: 80px 0 36px;
  }

  .benefits__copy h2 {
    max-width: 620px;
    font-size: 40px;
  }

  .benefits-card {
    width: 340px;
  }
}

@media (max-width: 959px) {
  .benefits {
    height: auto;
  }

  .benefits__sticky {
    position: relative;
    height: auto;
    min-height: auto;
    overflow: hidden;
  }

  .benefits__shell {
    height: auto;
    min-height: auto;
    padding: 72px 0;
    gap: 56px;
  }

  .benefits__copy h2 {
    font-size: 38px;
  }

  .benefits__cards {
    overflow: visible;
  }

  .benefits__track {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    transform: none !important;
  }

  .benefits-card {
    width: auto;
    min-height: 220px;
    height: auto;
  }
}

@media (max-width: 639px) {
  .benefits__shell {
    padding: 60px 0;
    gap: 42px;
  }

  .benefits__label {
    margin-bottom: 28px;
  }

  .benefits__copy h2 {
    font-size: 31px;
    line-height: 1.04;
  }

  .benefits__lead {
    margin-top: 22px;
  }

  .benefits__button {
    width: 100%;
    margin-top: 28px;
  }

  .benefits__track {
    grid-template-columns: 1fr;
  }

  .benefits-card {
    min-height: 205px;
  }

  .benefits-card__mark {
    margin-bottom: 36px;
  }

  .benefits-card h3 {
    font-size: 22px;
    line-height: 24px;
  }
}

/* src/styles/pool-types-intro.css */
.pool-types-intro {
  background: #f0f0f0;
  color: var(--color-dark);
}

.pool-types-intro__shell {
  width: var(--container);
  min-height: 366px;
  margin: 0 auto;
  padding: 90px 0 54px;
}

.pool-types-intro__label {
  display: flex;
  margin: 0 0 33px;
  align-items: center;
  gap: 10px;
  color: var(--color-dark);
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
}

.pool-types-intro__label::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  background: var(--color-cyan);
}

.pool-types-intro__head {
  display: grid;
  grid-template-columns: minmax(0, 594px) minmax(240px, 306px);
  align-items: end;
  gap: clamp(80px, 10.7vw, 171px);
}

.pool-types-intro__head h2 {
  margin: 0;
  color: var(--color-dark);
  font-size: 43px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.pool-types-intro__head h2 span {
  color: var(--color-cyan);
}

.pool-types-intro__head p {
  margin: 0;
  color: var(--color-dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

@media (max-width: 1199px) {
  .pool-types-intro__shell {
    min-height: auto;
    padding: 82px 0 70px;
  }

  .pool-types-intro__head {
    grid-template-columns: minmax(0, 594px);
    gap: 26px;
  }

  .pool-types-intro__head h2 {
    font-size: 40px;
  }

  .pool-types-intro__head p {
    max-width: 360px;
  }
}

@media (max-width: 639px) {
  .pool-types-intro__shell {
    padding: 60px 0 54px;
  }

  .pool-types-intro__label {
    margin-bottom: 28px;
  }

  .pool-types-intro__head {
    gap: 22px;
  }

  .pool-types-intro__head h2 {
    font-size: 31px;
    line-height: 1.04;
  }
}

/* src/styles/pool-types.css */
.pool-types {
  position: relative;
  overflow: clip;
  background: #27313c;
  color: var(--color-white);
}

.pool-types__content {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  height: 100%;
  pointer-events: none;
}

.pool-types__viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

@supports (height: 100dvh) {
  .pool-types__viewport {
    height: 100dvh;
  }
}

.pool-types__stage {
  position: sticky;
  top: 0;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #27313c;
  color: var(--color-white);
}

@supports (min-height: 100dvh) {
  .pool-types__stage {
    min-height: 100dvh;
  }
}

.pool-types__stage::before,
.pool-types__stage::after {
  content: "";
  position: absolute;
  inset: 0;
}

.pool-types__stage::before {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.pool-types__stage::after {
  background: rgba(0, 0, 0, 0.5);
}

.pool-types__stage--concrete {
  z-index: 1;
}

.pool-types__stage--block {
  z-index: 2;
}

.pool-types__stage--composite {
  z-index: 3;
}

.pool-types__stage--concrete::before {
  background-image: url("assets/optimized/pool-types-bg-concrete-tilda.jpg");
}

.pool-types__stage--block::before {
  background-image: url("assets/optimized/pool-types-bg-block-tilda.jpg");
}

.pool-types__stage--composite::before {
  background-image: url("assets/optimized/pool-types-bg-composite-tilda.jpg");
}

.pool-types__shell {
  position: relative;
  z-index: 1;
  display: grid;
  width: var(--container);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding-top: clamp(132px, 20.55vh, 185px);
  grid-template-columns: 380px minmax(420px, 510px);
  align-items: start;
  gap: clamp(220px, 24vw, 385px);
}

@supports (min-height: 100dvh) {
  .pool-types__shell {
    min-height: 100dvh;
  }
}

.pool-types__content-layer {
  position: absolute;
  top: 0;
  left: 50%;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(-50%, 0, 0);
  transition: opacity 160ms ease;
}

.pool-types__content-layer.is-active {
  opacity: 1;
  visibility: visible;
}

.pool-type-card {
  display: grid;
  width: 380px;
  min-height: 350px;
  margin-top: 90px;
  padding: 30px;
  align-content: start;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(7.5px);
  -webkit-backdrop-filter: blur(7.5px);
}

.pool-type-card--compact {
  min-height: 320px;
  margin-top: 105px;
}

.pool-type-card--small {
  min-height: 310px;
  margin-top: 110px;
}

.pool-type-card h3 {
  max-width: 270px;
  margin: 0;
  color: var(--color-white);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.pool-type-card__lead {
  max-width: 318px;
  margin: 14px 0 20px;
  color: var(--color-white);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.pool-type-card__specs {
  display: grid;
  margin: 0;
  grid-template-columns: 172px minmax(0, 1fr);
  column-gap: 33px;
  color: var(--color-white);
  font-size: 15px;
  line-height: 20px;
}

.pool-type-card__specs dt,
.pool-type-card__specs dd {
  margin: 0;
}

.pool-type-card__specs dt {
  font-weight: 700;
}

.pool-type-card__specs dd {
  font-weight: 500;
}

.pool-types__media {
  width: 510px;
  height: 530px;
  margin: 0;
  border-radius: 2px;
  overflow: hidden;
}

.pool-types__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1199px) {
  .pool-types__shell {
    padding-top: clamp(112px, 17vh, 150px);
    grid-template-columns: 360px minmax(360px, 430px);
    gap: clamp(90px, 14vw, 170px);
  }

  .pool-type-card {
    width: 360px;
    margin-top: 76px;
    padding: 28px;
  }

  .pool-type-card--compact {
    margin-top: 88px;
  }

  .pool-type-card--small {
    margin-top: 94px;
  }

  .pool-type-card__specs {
    grid-template-columns: 165px minmax(0, 1fr);
    column-gap: 24px;
  }

  .pool-types__media {
    width: 430px;
    height: 470px;
  }
}

@media (min-width: 960px) {
  .pool-types__stage > .pool-types__shell {
    visibility: hidden;
  }
}

@media (max-width: 959px) {
  .pool-types__content {
    display: none;
  }

  .pool-types__stage {
    position: relative;
    min-height: auto;
    padding: 72px 0;
  }

  .pool-types__stage::before,
  .pool-types__stage::after {
    position: absolute;
  }

  .pool-types__shell {
    min-height: auto;
    padding-top: 0;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pool-type-card,
  .pool-type-card--compact,
  .pool-type-card--small {
    width: min(380px, 100%);
    min-height: auto;
    margin-top: 0;
  }

  .pool-types__media {
    width: 100%;
    height: auto;
    aspect-ratio: 510 / 530;
    order: -1;
  }
}

@media (max-width: 639px) {
  .pool-types__stage {
    padding: 60px 0;
  }

  .pool-type-card {
    width: 100%;
    padding: 34px 32px 32px;
    background: rgba(255, 255, 255, 0.16);
  }

  .pool-types .pool-type-card h3 {
    max-width: 220px;
    font-size: clamp(26px, 7vw, 32px);
    line-height: 0.98;
  }

  .pool-types .pool-type-card__lead {
    max-width: 360px;
    margin: 26px 0 28px;
  }

  .pool-types .pool-type-card__specs {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 26px;
    row-gap: 2px;
  }

  .pool-types .pool-type-card__specs dt {
    margin-top: 0;
    font-weight: 500;
  }

  .pool-types .pool-type-card__specs dt:nth-of-type(5),
  .pool-types .pool-type-card__specs dd:nth-of-type(5) {
    margin-top: 24px;
  }

  .pool-types__media {
    display: none;
  }
}

/* src/styles/materials.css */
.materials {
  background: #f0f0f0;
  color: var(--color-dark);
}

.materials__shell {
  width: var(--container);
  min-height: 1087px;
  margin: 0 auto;
  padding: 100px 0 102px;
}

.materials__label {
  display: flex;
  margin: 0 0 33px;
  align-items: center;
  gap: 10px;
  color: var(--color-dark);
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
}

.materials__label::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  background: var(--color-cyan);
}

.materials__head {
  display: grid;
  margin-bottom: 49px;
  grid-template-columns: minmax(0, 604px) minmax(220px, 231px);
  align-items: end;
  gap: clamp(80px, 10vw, 161px);
}

.materials__head h2 {
  margin: 0;
  color: var(--color-dark);
  font-size: 43px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.materials__head h2 span {
  color: var(--color-cyan);
}

.materials__head p {
  margin: 0 0 1px;
  color: var(--color-dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.materials__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas:
    "mosaic catalog sandy relax"
    ". elegance dark .";
  gap: 40px 10px;
}

.material-card {
  min-height: 330px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--color-white);
}

.material-card--mosaic {
  grid-area: mosaic;
}

.material-card--sandy {
  grid-area: sandy;
}

.material-card--relax {
  grid-area: relax;
}

.material-card--elegance {
  grid-area: elegance;
}

.material-card--dark {
  grid-area: dark;
}

.material-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.material-card__body {
  padding: 15px 20px 18px;
}

.material-card h3 {
  margin: 0 0 15px;
  color: var(--color-dark);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.material-card a,
.material-card__example,
.materials-catalog a {
  display: inline;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--color-dark);
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.materials-gallery-popup {
  position: fixed;
  inset: 0;
  z-index: 9300;
  display: grid;
  place-items: center;
  padding: 48px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.materials-gallery-popup.is-open {
  opacity: 1;
  pointer-events: auto;
}

.materials-gallery-popup__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(42, 56, 71, 0.56);
  backdrop-filter: blur(2px);
}

.materials-gallery-popup__dialog {
  position: relative;
  width: min(1520px, calc(100vw - 96px));
  max-height: calc(100vh - 96px);
  max-height: calc(100dvh - 96px);
  color: var(--color-white);
}

.materials-gallery-popup__close {
  position: absolute;
  top: -42px;
  right: 0;
  z-index: 3;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--color-white);
}

.materials-gallery-popup__close span {
  position: absolute;
  top: 18px;
  left: 6px;
  width: 30px;
  height: 2px;
  background: currentColor;
}

.materials-gallery-popup__close span:first-child {
  transform: rotate(45deg);
}

.materials-gallery-popup__close span:last-child {
  transform: rotate(-45deg);
}

.materials-gallery-popup__title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.materials-gallery-popup__stage {
  position: relative;
  display: grid;
  max-height: calc(100vh - 126px);
  max-height: calc(100dvh - 126px);
  place-items: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.materials-gallery-popup__stage img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 126px);
  max-height: calc(100dvh - 126px);
  object-fit: contain;
}

.materials-gallery-popup__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-dark);
  transform: translateY(-50%);
}

.materials-gallery-popup__arrow::before {
  content: "";
  width: 14px;
  height: 14px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.materials-gallery-popup__arrow--prev {
  left: 60px;
}

.materials-gallery-popup__arrow--prev::before {
  transform: translateX(3px) rotate(-45deg);
}

.materials-gallery-popup__arrow--next {
  right: 60px;
}

.materials-gallery-popup__arrow--next::before {
  transform: translateX(-3px) rotate(135deg);
}

.materials-gallery-popup__counter {
  margin: 14px 0 0;
  color: var(--color-white);
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
}

body.materials-gallery-is-open {
  overflow: hidden;
}

.materials-catalog {
  display: grid;
  width: min(282px, 100%);
  min-height: 140px;
  grid-area: catalog;
  justify-self: center;
  align-self: center;
  justify-items: center;
  align-content: start;
  text-align: center;
}

.materials-catalog__logo {
  display: block;
  width: 40px;
  height: 34px;
  margin-bottom: 17px;
  background-image: url("assets/logo.svg");
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 136px 34px;
}

.materials-catalog h3 {
  max-width: 282px;
  margin: 0 0 15px;
  color: var(--color-dark);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 25px;
  white-space: nowrap;
}

@media (max-width: 1199px) {
  .materials__shell {
    min-height: auto;
    padding: 82px 0;
  }

  .materials__head {
    grid-template-columns: minmax(0, 604px);
    gap: 26px;
  }

  .materials__head h2 {
    font-size: 40px;
  }

  .materials__head p {
    max-width: 320px;
  }

  .materials__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "mosaic sandy"
      "catalog relax"
      "elegance dark";
    gap: 16px;
  }

  .materials-catalog {
    min-height: 260px;
    align-self: stretch;
    align-content: center;
  }

  .materials-gallery-popup {
    padding: 32px;
  }

  .materials-gallery-popup__dialog {
    width: min(1000px, calc(100vw - 64px));
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px);
  }

  .materials-gallery-popup__stage,
  .materials-gallery-popup__stage img {
    max-height: calc(100vh - 94px);
    max-height: calc(100dvh - 94px);
  }

  .materials-gallery-popup__arrow--prev {
    left: 28px;
  }

  .materials-gallery-popup__arrow--next {
    right: 28px;
  }
}

@media (max-width: 639px) {
  .materials__shell {
    padding: 60px 0;
  }

  .materials__label {
    margin-bottom: 28px;
  }

  .materials__head {
    margin-bottom: 36px;
    gap: 22px;
  }

  .materials__head h2 {
    font-size: 31px;
    line-height: 1.04;
  }

  .materials__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "mosaic"
      "catalog"
      "sandy"
      "relax"
      "elegance"
      "dark";
  }

  .material-card {
    min-height: auto;
  }

  .material-card img {
    height: auto;
    aspect-ratio: 373 / 230;
  }

  .material-card h3 {
    font-size: 26px;
  }

  .materials-catalog {
    width: 100%;
    min-height: 220px;
    padding: 28px;
  }

  .materials-gallery-popup {
    padding: 16px;
  }

  .materials-gallery-popup__dialog {
    width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
  }

  .materials-gallery-popup__close {
    top: -38px;
  }

  .materials-gallery-popup__stage,
  .materials-gallery-popup__stage img {
    max-height: calc(100vh - 84px);
    max-height: calc(100dvh - 84px);
  }

  .materials-gallery-popup__arrow {
    width: 46px;
    height: 46px;
  }

  .materials-gallery-popup__arrow::before {
    width: 11px;
    height: 11px;
  }

  .materials-gallery-popup__arrow--prev {
    left: 16px;
  }

  .materials-gallery-popup__arrow--next {
    right: 16px;
  }
}

/* src/styles/quiz.css */
.quiz {
  background: var(--color-dark);
  color: var(--color-white);
}

.quiz__shell {
  width: var(--container);
  margin: 0 auto;
  padding: 100px 0;
}

.quiz__label {
  display: flex;
  margin: 0 0 33px;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
}

.quiz__label::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  background: var(--color-cyan);
}

.quiz h2 {
  max-width: 760px;
  margin: 0;
  color: var(--color-white);
  font-size: 43px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.quiz__title-accent {
  color: var(--color-cyan-light);
}

.quiz__title-line {
  display: block;
  white-space: nowrap;
}

.quiz-benefits {
  display: grid;
  margin-top: 49px;
  grid-template-columns: minmax(200px, 246px) repeat(3, minmax(230px, 250px));
  justify-content: space-between;
  gap: 24px;
}

.quiz-benefits__intro {
  max-width: 246px;
  margin: 0;
  color: var(--color-white);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.quiz-benefit {
  min-height: 145px;
  padding-left: 15px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.quiz-benefit__icon {
  display: block;
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  color: var(--color-white);
}

.quiz-benefit__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.quiz-benefit h3 {
  max-width: 215px;
  margin: 0 0 10px;
  color: var(--color-white);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 25px;
}

.quiz-benefit p {
  max-width: 232px;
  margin: 0;
  color: var(--color-white);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.quiz-form {
  display: flex;
  min-height: 560px;
  margin-top: 50px;
  flex-direction: column;
  scroll-margin-top: 96px;
}

.quiz-progress {
  height: 6px;
  overflow: hidden;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.12);
}

.quiz-progress span {
  display: block;
  width: 20%;
  height: 100%;
  background: #84c6d8;
  transition: width 260ms ease;
}

.quiz-step {
  padding-top: 42px;
}

.quiz-step[hidden] {
  display: none;
}

.quiz-step__title {
  max-width: 1390px;
  margin: 0 0 36px;
  color: var(--color-white);
  font-size: clamp(30px, 2.35vw, 38px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.12;
}

.quiz-step__title--final {
  max-width: 1420px;
  margin-bottom: 24px;
}

.quiz-step__subtitle {
  margin: 0 0 42px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
}

.quiz-options {
  display: grid;
}

.quiz-options--images {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.quiz-options--buttons {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}

.quiz-option-card {
  position: relative;
  display: grid;
  min-width: 0;
  gap: 13px;
  color: var(--color-white);
  cursor: pointer;
}

.quiz-option-card input,
.quiz-radio-card input,
.quiz-consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.quiz-option-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 392 / 392;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  transition: border-color 180ms ease, opacity 180ms ease;
}

.quiz-option-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quiz-option-card__check {
  position: absolute;
  top: -10px;
  left: -10px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #f0f0f0;
  color: var(--color-dark);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 180ms ease, transform 180ms ease;
}

.quiz-option-card__check::before {
  content: "";
  width: 19px;
  height: 11px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translateY(-2px) rotate(-45deg);
}

.quiz-option-card__title {
  display: block;
  min-height: 52px;
  color: var(--color-white);
  font-size: clamp(19px, 1.45vw, 24px);
  font-weight: 400;
  line-height: 1.14;
}

.quiz-option-card:hover .quiz-option-card__image,
.quiz-option-card input:focus-visible ~ .quiz-option-card__image,
.quiz-option-card input:checked ~ .quiz-option-card__image {
  border-color: #84c6d8;
}

.quiz-option-card input:checked ~ .quiz-option-card__check {
  opacity: 1;
  transform: scale(1);
}

.quiz-radio-card {
  position: relative;
  display: flex;
  min-height: 74px;
  min-width: 0;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border: 2px solid transparent;
  border-radius: 2px;
  background: var(--color-white);
  color: rgba(42, 56, 71, 0.9);
  cursor: pointer;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.18;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.quiz-radio-card__mark {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border: 3px solid rgba(42, 56, 71, 0.1);
  border-radius: 50%;
}

.quiz-radio-card__mark::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-cyan);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 160ms ease, transform 160ms ease;
}

.quiz-radio-card:hover,
.quiz-radio-card.is-selected {
  border-color: #84c6d8;
  box-shadow: 0 0 0 1px #84c6d8 inset;
}

.quiz-radio-card input:focus-visible ~ .quiz-radio-card__mark {
  outline: 2px solid #84c6d8;
  outline-offset: 4px;
}

.quiz-radio-card input:checked ~ .quiz-radio-card__mark::before {
  opacity: 1;
  transform: scale(1);
}

.quiz-fields {
  display: grid;
  gap: 24px;
}

.quiz-field {
  display: block;
}

.quiz-field__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.quiz-field input {
  width: 100%;
  height: 78px;
  border: 2px solid transparent;
  border-radius: 2px;
  background: var(--color-white);
  color: var(--color-dark);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  outline: none;
}

.quiz-field > input {
  padding: 0 26px;
}

.quiz-field input::placeholder {
  color: rgba(42, 56, 71, 0.42);
}

.quiz-field input:focus {
  border-color: #84c6d8;
}

.quiz-field__phone {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  border-radius: 2px;
  background: var(--color-white);
}

.quiz-field__phone input {
  min-width: 0;
  padding: 0 26px 0 14px;
}

.quiz-field__prefix {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: 26px;
  color: var(--color-dark);
  font-size: 21px;
  line-height: 1;
}

.quiz-field__flag {
  display: grid;
  width: 30px;
  height: 20px;
  overflow: hidden;
  grid-template-rows: repeat(3, 1fr);
  box-shadow: 0 0 0 1px rgba(42, 56, 71, 0.12);
}

.quiz-field__flag::before,
.quiz-field__flag::after {
  content: "";
}

.quiz-field__flag {
  background: linear-gradient(to bottom, #ffffff 0 33.33%, #3154a3 33.33% 66.66%, #d52b1e 66.66% 100%);
}

.quiz-consent {
  position: relative;
  display: grid;
  max-width: 1420px;
  margin-top: 34px;
  grid-template-columns: 30px 1fr;
  gap: 16px;
  color: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}

.quiz-consent__box {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.55);
}

.quiz-consent__box::before {
  content: "";
  width: 15px;
  height: 9px;
  border-bottom: 2px solid var(--color-white);
  border-left: 2px solid var(--color-white);
  opacity: 0;
  transform: translateY(-2px) rotate(-45deg);
}

.quiz-consent input:focus-visible + .quiz-consent__box {
  outline: 2px solid #84c6d8;
  outline-offset: 4px;
}

.quiz-consent input:checked + .quiz-consent__box::before {
  opacity: 1;
}

.quiz-consent a {
  text-underline-offset: 5px;
}

.quiz-form__status {
  min-height: 22px;
  margin: 24px 0 0 56px;
  color: #84c6d8;
  font-size: 16px;
  line-height: 1.35;
}

.quiz-form__footer {
  display: flex;
  margin-top: auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.quiz-form__footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
}

.quiz-form__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.quiz-form__back,
.quiz-form__next {
  display: inline-flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  color: var(--color-white);
  white-space: nowrap;
}

.quiz-form__back {
  width: 62px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  background: transparent;
}

.quiz-form__back:disabled {
  opacity: 0.35;
  cursor: default;
}

.quiz-form__back svg,
.quiz-form__next svg {
  width: 24px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.quiz-form__next {
  min-width: 210px;
  gap: 16px;
  border: 1px solid #84c6d8;
  background: #84c6d8;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.15;
}

.quiz-form.is-final-step .quiz-form__next {
  min-width: 300px;
}

.quiz-form.is-final-step .quiz-form__next svg {
  display: none;
}

@media (max-width: 1199px) {
  .quiz__shell {
    padding: 82px 0;
  }

  .quiz h2 {
    font-size: 40px;
  }

  .quiz-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 28px 36px;
  }

  .quiz-benefits__intro {
    max-width: 320px;
  }

  .quiz-form {
    min-height: 590px;
  }

  .quiz-options--images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 22px;
  }

  .quiz-option-card__image {
    aspect-ratio: 350 / 270;
  }

  .quiz-options--buttons {
    gap: 22px;
  }
}

@media (max-width: 959px) {
  .quiz-form {
    min-height: auto;
  }

  .quiz-step {
    padding-top: 34px;
  }

  .quiz-step__title {
    margin-bottom: 28px;
    font-size: 30px;
  }

  .quiz-options--buttons {
    grid-template-columns: 1fr;
  }

  .quiz-radio-card {
    min-height: 72px;
    font-size: 18px;
  }

  .quiz-form__footer {
    margin-top: 46px;
  }
}

@media (max-width: 639px) {
  .quiz__shell {
    padding: 60px 0;
  }

  .quiz__label {
    margin-bottom: 28px;
  }

  .quiz h2 {
    font-size: 31px;
    line-height: 1.04;
  }

  .quiz__title-line {
    white-space: normal;
  }

  .quiz-benefits {
    margin-top: 38px;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .quiz-benefit {
    min-height: auto;
  }

  .quiz-form {
    margin-top: 38px;
  }

  .quiz-step {
    padding-top: 28px;
  }

  .quiz-step__title {
    margin-bottom: 22px;
    font-size: 24px;
    line-height: 1.12;
  }

  .quiz-step__subtitle {
    margin-bottom: 28px;
    font-size: 17px;
  }

  .quiz-options--images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .quiz-option-card {
    gap: 8px;
  }

  .quiz-option-card__image {
    aspect-ratio: 160 / 116;
  }

  .quiz-option-card__title {
    min-height: 0;
    font-size: 16px;
    line-height: 1.12;
  }

  .quiz-option-card__check {
    top: -8px;
    left: -8px;
    width: 32px;
    height: 32px;
  }

  .quiz-option-card__check::before {
    width: 15px;
    height: 9px;
  }

  .quiz-radio-card {
    min-height: 64px;
    gap: 16px;
    padding: 17px 18px;
    font-size: 17px;
  }

  .quiz-radio-card__mark {
    width: 28px;
    height: 28px;
    border-width: 3px;
  }

  .quiz-radio-card__mark::before {
    width: 12px;
    height: 12px;
  }

  .quiz-fields {
    gap: 20px;
  }

  .quiz-field input {
    height: 66px;
    font-size: 18px;
  }

  .quiz-field > input {
    padding: 0 18px;
  }

  .quiz-field__phone input {
    padding: 0 16px 0 10px;
  }

  .quiz-field__prefix {
    gap: 8px;
    padding-left: 16px;
    font-size: 18px;
  }

  .quiz-field__flag {
    width: 28px;
    height: 19px;
  }

  .quiz-consent {
    margin-top: 28px;
    grid-template-columns: 28px 1fr;
    gap: 14px;
    font-size: 16px;
  }

  .quiz-consent__box {
    width: 28px;
    height: 28px;
    border-width: 2px;
  }

  .quiz-form__status {
    margin-left: 42px;
    font-size: 14px;
  }

  .quiz-form__footer {
    margin-top: 34px;
    align-items: flex-start;
    flex-direction: column;
  }

  .quiz-form__footer p {
    font-size: 18px;
  }

  .quiz-form__actions {
    width: 100%;
    gap: 10px;
  }

  .quiz-form__back,
  .quiz-form__next {
    min-height: 56px;
  }

  .quiz-form__back {
    width: 56px;
  }

  .quiz-form__next,
  .quiz-form.is-final-step .quiz-form__next {
    min-width: 0;
    flex: 1;
    font-size: 18px;
  }
}

/* src/styles/work-steps.css */
.work-steps {
  position: relative;
  --work-steps-exit-gap: 69px;
  background: #f0f0f0;
  color: var(--color-white);
}

.work-steps__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--color-dark);
}

.work-steps__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

@supports (height: 100dvh) {
  .work-steps__sticky {
    height: 100dvh;
  }
}

.work-steps__sticky-shell {
  position: relative;
  z-index: 2;
  width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding-top: 100px;
}

.work-steps__label {
  display: flex;
  margin: 0 0 33px;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
}

.work-steps__label::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  background: var(--color-cyan);
}

.work-steps__sticky h2 {
  max-width: 490px;
  margin: 0;
  color: var(--color-white);
  font-size: 43px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.work-steps__sticky h2 span {
  color: var(--color-cyan-light);
}

.work-steps__lead {
  max-width: 340px;
  margin: 19px 0 0;
  color: var(--color-white);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.work-steps__cards {
  position: relative;
  z-index: 1;
  display: grid;
  width: var(--container);
  margin: -100vh auto 0;
  margin-top: -100svh;
  padding: 40px 0 var(--work-steps-exit-gap);
  justify-items: end;
  gap: 10px;
}

@supports (height: 100dvh) {
  .work-steps__cards {
    margin-top: -100dvh;
  }
}

.work-step-card {
  width: 450px;
  min-height: 540px;
  padding: 20px;
  border-radius: 2px;
  background: var(--color-white);
  color: var(--color-dark);
}

.work-step-card--first,
.work-step-card--third {
  min-height: 520px;
}

.work-step-card--second {
  min-height: 560px;
}

.work-step-card img {
  width: 100%;
  height: 220px;
  border-radius: 2px;
  object-fit: cover;
}

.work-step-card__stage {
  margin: 20px 0 8px;
  color: var(--color-dark);
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
}

.work-step-card h3 {
  max-width: 384px;
  margin: 0 0 10px;
  color: var(--color-dark);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 25px;
}

.work-step-card ul {
  max-width: 393px;
  margin: 0 0 20px;
  padding-left: 20px;
  color: var(--color-dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.work-step-card li {
  margin: 0;
}

.work-step-card p:not(.work-step-card__stage) {
  max-width: 401px;
  margin: 0;
  color: var(--color-dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.work-step-card strong {
  font-weight: 700;
}

@media (max-width: 1199px) {
  .work-steps {
    --work-steps-exit-gap: 82px;
  }

  .work-steps__sticky-shell {
    padding-top: 82px;
  }

  .work-steps__sticky h2 {
    font-size: 40px;
  }

  .work-step-card {
    width: 420px;
  }
}

@media (max-width: 959px) {
  .work-steps__sticky {
    position: relative;
    height: auto;
    min-height: 520px;
  }

  .work-steps__sticky-shell {
    height: auto;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .work-steps__cards {
    width: var(--container);
    margin: 0 auto;
    padding: 16px 0 var(--work-steps-exit-gap);
    justify-items: stretch;
    gap: 16px;
  }

  .work-step-card,
  .work-step-card--first,
  .work-step-card--second,
  .work-step-card--third {
    width: 100%;
    min-height: auto;
  }
}

@media (max-width: 639px) {
  .work-steps {
    --work-steps-exit-gap: 60px;
  }

  .work-steps__sticky {
    min-height: 430px;
  }

  .work-steps__sticky-shell {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .work-steps__label {
    margin-bottom: 28px;
  }

  .work-steps__sticky h2 {
    font-size: 31px;
    line-height: 1.04;
  }

  .work-step-card {
    padding: 16px;
  }

  .work-step-card img {
    height: auto;
    aspect-ratio: 410 / 220;
  }

  .work-step-card h3 {
    font-size: 22px;
    line-height: 24px;
  }
}

/* src/styles/portfolio.css */
.portfolio {
  background: #f0f0f0;
  color: var(--color-dark);
}

.portfolio__shell {
  width: var(--container);
  min-height: auto;
  margin: 0 auto;
  padding: 69px 0 100px;
}

.portfolio__label {
  display: flex;
  margin: 0 0 33px;
  align-items: center;
  gap: 10px;
  color: var(--color-dark);
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
}

.portfolio__label::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  background: var(--color-cyan);
}

.portfolio__head {
  display: grid;
  max-width: 728px;
  gap: 19px;
}

.portfolio__head h2 {
  margin: 0;
  color: var(--color-dark);
  font-size: 43px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.portfolio__head h2 span {
  color: var(--color-cyan);
}

.portfolio__head p {
  max-width: 288px;
  margin: 0;
  color: var(--color-dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.portfolio-tabs {
  display: grid;
  margin-top: 70px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.portfolio-tab {
  display: grid;
  min-height: 50px;
  grid-template-columns: minmax(0, 1fr) 40px;
  align-items: center;
  gap: 14px;
  padding: 5px 5px 5px 20px;
  border: 0;
  border-radius: 2px;
  background: var(--color-white);
  color: var(--color-dark);
  text-align: left;
  white-space: nowrap;
}

.portfolio-tab.is-active {
  background: var(--color-cyan);
  color: var(--color-white);
}

.portfolio-tab span:first-child {
  min-width: 0;
  overflow: hidden;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portfolio-tab__icon {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 1px;
  background: #f0f0f0 url("assets/optimized/portfolio-tab-drop.svg") center / 10px 15px no-repeat;
}

.portfolio-tab.is-active .portfolio-tab__icon {
  background-color: var(--color-white);
  background-image: url("assets/optimized/portfolio-tab-drop-active.svg");
}

.portfolio-projects {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.portfolio-project {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(0, 970px) minmax(260px, 1fr);
  align-items: start;
  gap: 30px;
  padding: 20px;
  border-radius: 2px;
  background: var(--color-white);
}

.portfolio-project.is-hidden {
  display: none;
}

.portfolio-gallery {
  position: relative;
  align-self: start;
  min-width: 0;
}

.portfolio-gallery__stage {
  height: auto;
  min-height: 0;
  aspect-ratio: 970 / 535;
  overflow: hidden;
  border-radius: 2px;
  background: #f0f0f0;
}

.portfolio-gallery__stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-gallery__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: block;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 30px 30px;
  transform: translateY(-50%);
}

.portfolio-gallery__arrow--prev {
  left: 20px;
  background-image: url("assets/optimized/portfolio-arrow-prev.svg");
}

.portfolio-gallery__arrow--next {
  right: 20px;
  background-image: url("assets/optimized/portfolio-arrow-next.svg");
  transform: translateY(-50%) rotate(180deg);
}

.portfolio-project__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 0;
}

.portfolio-project__place {
  margin: 0 0 8px;
  color: var(--color-dark);
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
}

.portfolio-project h3 {
  max-width: 285px;
  margin: 0 0 5px;
  color: var(--color-dark);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 25px;
}

.portfolio-project__desc {
  max-width: 230px;
  margin: 0;
  color: var(--color-dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.portfolio-project__meta {
  display: grid;
  gap: 10px;
  margin: 15px 0 0;
  color: var(--color-dark);
  font-size: 15px;
  line-height: 20px;
}

.portfolio-project__meta div {
  margin: 0;
}

.portfolio-project__meta dt {
  margin: 0;
  font-weight: 700;
}

.portfolio-project__meta dd {
  margin: 0;
  font-weight: 500;
}

.portfolio-equipment {
  margin-top: 24px;
  padding-top: 0;
}

.portfolio-equipment h4 {
  margin: 0 0 10px;
  color: var(--color-dark);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 25px;
}

.portfolio-equipment ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.portfolio-equipment li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  min-height: 20px;
  color: var(--color-dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.portfolio-equipment li img {
  width: 12px;
  height: 12px;
  margin-top: 4px;
  object-fit: contain;
}

.portfolio-project__button {
  width: 255px;
  margin-top: 25px;
  border: 0;
}

.portfolio__more {
  display: block;
  width: fit-content;
  margin: 50px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  white-space: nowrap;
}

@media (max-width: 1199px) {
  .portfolio__shell {
    min-height: auto;
    padding: 82px 0;
  }

  .portfolio__head h2 {
    font-size: 40px;
  }

  .portfolio-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 54px;
  }

  .portfolio-project {
    grid-template-columns: minmax(0, 1.6fr) minmax(250px, 0.8fr);
  }
}

@media (max-width: 959px) {
  .portfolio-project {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .portfolio-gallery__stage {
    min-height: auto;
    aspect-ratio: 970 / 535;
  }

  .portfolio-project__content {
    padding-top: 0;
  }

  .portfolio-equipment {
    margin-top: 22px;
    padding-top: 0;
  }
}

@media (max-width: 639px) {
  .portfolio__shell {
    padding: 60px 0;
  }

  .portfolio__label {
    margin-bottom: 28px;
  }

  .portfolio__head h2 {
    font-size: 31px;
    line-height: 1.04;
  }

  .portfolio-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 40px;
  }

  .portfolio-tab {
    min-height: 46px;
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 8px;
    padding: 5px 5px 5px 10px;
  }

  .portfolio-tab span:first-child {
    font-size: 0;
    line-height: 0;
  }

  .portfolio-tab span:first-child::before {
    content: attr(data-mobile-label);
    display: block;
    overflow: hidden;
    font-size: 13px;
    font-weight: 500;
    line-height: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .portfolio-tab__icon {
    width: 34px;
    height: 34px;
    background-size: 8px 12px;
  }

  .portfolio-project {
    padding: 16px;
  }

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

  .portfolio-gallery__arrow--prev {
    left: 10px;
  }

  .portfolio-gallery__arrow--next {
    right: 10px;
  }

  .portfolio-project h3,
  .portfolio-equipment h4 {
    font-size: 22px;
    line-height: 24px;
  }

  .portfolio-project__button {
    width: 100%;
  }
}

/* src/styles/estimate-check.css */
.estimate-check {
  overflow: hidden;
  background: #f0f0f0;
  color: var(--color-dark);
}

.estimate-check__shell {
  width: var(--container);
  margin: 0 auto;
  padding: 54px 0 55px;
}

.estimate-check__canvas {
  position: relative;
  min-height: 550px;
  overflow: hidden;
  border-radius: 2px;
  background: #e4f4ff;
}

.estimate-check__bg {
  position: absolute;
  inset: -72px -32px;
  width: calc(100% + 64px);
  height: calc(100% + 144px);
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: rotate(180deg);
}

.estimate-check__card {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(560px, calc(100% - 80px));
  min-height: 370px;
  margin-left: 40px;
  padding: 30px;
  align-content: start;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(7.5px);
}

.estimate-check__canvas {
  display: flex;
  align-items: center;
}

.estimate-check__mark {
  width: 27px;
  height: 26px;
  margin-bottom: 24px;
}

.estimate-check h2 {
  max-width: 366px;
  margin: 0;
  color: var(--color-dark);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.estimate-check__text {
  max-width: 376px;
  margin: 19px 0 0;
  color: var(--color-dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.estimate-check__actions {
  display: flex;
  margin-top: 30px;
  gap: 10px;
  flex-wrap: wrap;
}

.estimate-check__button {
  display: grid;
  width: 210px;
  height: 45px;
  grid-template-columns: minmax(0, 1fr) 35px;
  align-items: center;
  gap: 5px;
  padding: 5px 5px 5px 15px;
  border: 0;
  border-radius: 2px;
  background: var(--color-cyan);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
}

.estimate-check__button span:first-child {
  text-align: center;
}

.estimate-check__button-icon {
  display: flex;
  width: 35px;
  height: 35px;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  background: var(--color-white);
}

.estimate-check__button-icon img {
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.estimate-check__button:first-child .estimate-check__button-icon img {
  width: 20px;
  height: 19px;
}

.estimate-check__privacy {
  max-width: 328px;
  margin: 15px 0 0;
  color: rgba(42, 56, 71, 0.6);
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
}

@media (max-width: 1199px) {
  .estimate-check__shell {
    padding: 42px 0;
  }

  .estimate-check__canvas {
    min-height: 500px;
  }
}

@media (max-width: 959px) {
  .estimate-check__canvas {
    min-height: auto;
    padding: 56px 0;
  }

  .estimate-check__card {
    width: min(560px, calc(100% - 48px));
    min-height: auto;
    margin: 0 auto;
  }
}

@media (max-width: 639px) {
  .estimate-check__shell {
    padding: 32px 0;
  }

  .estimate-check__canvas {
    padding: 24px 0;
  }

  .estimate-check__bg {
    inset: -40px -220px -40px -80px;
    width: calc(100% + 300px);
    height: calc(100% + 80px);
  }

  .estimate-check__card {
    width: calc(100% - 32px);
    padding: 24px;
  }

  .estimate-check__mark {
    margin-bottom: 36px;
  }

  .estimate-check h2 {
    font-size: 26px;
    line-height: 1.04;
  }

  .estimate-check__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .estimate-check__button {
    width: 100%;
  }
}

/* src/styles/about-company.css */
.about-company {
  background: #f0f0f0;
  color: var(--color-dark);
}

.about-company__shell {
  width: var(--container);
  min-height: 884px;
  margin: 0 auto;
  padding: 49px 0 50px;
}

.about-company__label {
  display: flex;
  margin: 0 0 33px;
  align-items: center;
  gap: 10px;
  color: var(--color-dark);
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
}

.about-company__label::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  background: var(--color-cyan);
}

.about-company h2 {
  max-width: 658px;
  margin: 0;
  color: var(--color-dark);
  font-size: 43px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.about-company h2 span {
  color: var(--color-cyan);
}

.about-company__layout {
  display: grid;
  margin-top: 49px;
  grid-template-columns: minmax(460px, 628px) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 0 clamp(70px, 8.5vw, 135px);
  align-items: start;
}

.about-company__text {
  grid-column: 2;
  grid-row: 1;
}

.about-company__photo {
  width: 100%;
  height: 600px;
  --image-curtain-color: #f0f0f0;
  grid-column: 1;
  grid-row: 1 / span 2;
  margin: 0;
  overflow: hidden;
  border: 1px solid #ebebeb;
  background: var(--color-white);
}

.about-company__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-company blockquote {
  max-width: 529px;
  margin: -5px 0 0;
  color: var(--color-dark);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.about-company__person {
  display: flex;
  margin-top: 26px;
  align-items: flex-start;
  gap: 56px;
}

.about-company__person p {
  width: 262px;
  margin: 0;
  color: var(--color-dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.about-company__person strong,
.about-company__person span {
  display: block;
}

.about-company__person strong {
  font-weight: 700;
}

.about-company__person span {
  padding-left: 32px;
}

.about-company__person img {
  width: 193px;
  height: 74px;
  margin-top: 14px;
}

.about-company__benefits {
  display: grid;
  grid-column: 2;
  grid-row: 2;
  margin-top: 84px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px clamp(40px, 7vw, 80px);
}

.about-company-benefit {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.about-company-benefit img {
  width: 24px;
  max-height: 22px;
  object-fit: contain;
}

.about-company-benefit h3 {
  max-width: 316px;
  margin: -5px 0 10px;
  color: var(--color-dark);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 25px;
}

.about-company-benefit p {
  max-width: 281px;
  margin: 0;
  color: var(--color-dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

@media (max-width: 1199px) {
  .about-company__shell {
    min-height: auto;
    padding: 72px 0;
  }

  .about-company h2 {
    font-size: 40px;
  }

  .about-company__layout {
    grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1fr);
    gap: 0 54px;
  }

  .about-company__photo {
    height: 560px;
  }

  .about-company blockquote {
    font-size: 26px;
  }

  .about-company__person {
    gap: 36px;
  }

  .about-company__benefits {
    margin-top: 60px;
    gap: 24px 34px;
  }
}

@media (max-width: 959px) {
  .about-company__layout {
    display: grid;
    margin-top: 36px;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-company__text,
  .about-company__photo,
  .about-company__benefits {
    grid-column: auto;
    grid-row: auto;
  }

  .about-company__photo {
    width: min(520px, 100%);
    height: 560px;
    justify-self: center;
  }

  .about-company__benefits {
    margin-top: 0;
    gap: 34px 40px;
  }
}

@media (max-width: 639px) {
  .about-company__shell {
    padding: 60px 0;
  }

  .about-company__label {
    margin-bottom: 40px;
  }

  .about-company h2 {
    font-size: 31px;
    line-height: 1.04;
  }

  .about-company__layout {
    margin-top: 34px;
    gap: 44px;
  }

  .about-company blockquote {
    max-width: 100%;
    font-size: 25px;
    line-height: 1.04;
  }

  .about-company__person {
    margin-top: 30px;
    gap: 20px;
  }

  .about-company__person p {
    width: min(190px, 52%);
  }

  .about-company__person span {
    padding-left: 0;
  }

  .about-company__person img {
    width: 155px;
    height: auto;
    margin-top: 12px;
  }

  .about-company__photo {
    height: auto;
    aspect-ratio: 1 / 1;
    border: 0;
  }

  .about-company__photo img {
    object-fit: cover;
    object-position: center center;
  }

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

  .about-company-benefit {
    grid-template-columns: 1fr;
    grid-template-rows: 28px auto;
    gap: 18px;
  }

  .about-company-benefit > img {
    width: 24px;
    height: 28px;
    max-height: none;
    object-fit: contain;
    object-position: left center;
  }

  .about-company-benefit h3 {
    margin-bottom: 10px;
    font-size: 24px;
    line-height: 25px;
  }
}

@media (max-width: 420px) {
  .about-company__person {
    align-items: flex-start;
  }

  .about-company__person img {
    width: 132px;
  }

  .about-company__benefits {
    gap: 32px 24px;
  }

  .about-company-benefit h3 {
    font-size: 23px;
    line-height: 24px;
  }
}

/* src/styles/spaces.css */
.spaces {
  background: #f0f0f0;
  color: var(--color-dark);
}

.spaces__shell {
  width: var(--container);
  min-height: 933px;
  margin: 0 auto;
  padding: 53px 0 50px;
}

.spaces__label {
  display: flex;
  margin: 0 0 33px;
  align-items: center;
  gap: 10px;
  color: var(--color-dark);
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
}

.spaces__label::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  background: var(--color-cyan);
}

.spaces__head {
  display: grid;
  gap: 21px;
}

.spaces__head h2 {
  max-width: 568px;
  margin: 0;
  color: var(--color-dark);
  font-size: 43px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.spaces__head h2 span {
  color: var(--color-cyan);
}

.spaces__head p {
  max-width: 576px;
  margin: 0;
  color: var(--color-dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

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

.spaces-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--color-dark);
  color: var(--color-white);
}

.spaces-card__bg,
.spaces-card__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.spaces-card__bg {
  max-width: none;
  object-fit: cover;
}

.spaces-card__overlay {
  background: rgba(0, 0, 0, 0.4);
}

.spaces-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 500px;
  flex-direction: column;
  padding: 30px;
}

.spaces-card__icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.spaces-card h3 {
  max-width: 383px;
  margin: 24px 0 0;
  color: var(--color-white);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.spaces-card p {
  max-width: 511px;
  margin: auto 0 0;
  color: var(--color-white);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

@media (max-width: 1199px) {
  .spaces__shell {
    min-height: auto;
    padding: 72px 0;
  }

  .spaces__head {
    gap: 24px;
  }

  .spaces__head h2 {
    font-size: 40px;
  }

  .spaces__cards {
    margin-top: 46px;
  }

  .spaces-card,
  .spaces-card__content {
    min-height: 460px;
  }
}

@media (max-width: 959px) {
  .spaces__head {
    gap: 34px;
  }

  .spaces__cards {
    margin-top: 48px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .spaces-card,
  .spaces-card__content {
    min-height: 420px;
  }
}

@media (max-width: 639px) {
  .spaces__shell {
    padding: 60px 0;
  }

  .spaces__label {
    margin-bottom: 28px;
  }

  .spaces__head h2 {
    font-size: 31px;
    line-height: 1.04;
  }

  .spaces__cards {
    margin-top: 40px;
  }

  .spaces-card,
  .spaces-card__content {
    min-height: 430px;
  }

  .spaces-card__content {
    padding: 24px;
  }

  .spaces-card h3 {
    font-size: 26px;
    line-height: 1.04;
  }
}

/* src/styles/vk-videos.css */
.vk-videos {
  background: #f0f0f0;
  color: var(--color-dark);
}

.vk-videos__shell {
  width: var(--container);
  min-height: 786px;
  margin: 0 auto;
  padding: 41px 0 25px;
}

.vk-videos__label {
  display: flex;
  margin: 0 0 33px;
  align-items: center;
  gap: 10px;
  color: var(--color-dark);
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
}

.vk-videos__label::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  background: var(--color-cyan);
}

.vk-videos__head {
  display: grid;
  gap: 19px;
}

.vk-videos__head h2 {
  max-width: 820px;
  margin: 0;
  color: var(--color-dark);
  font-size: 43px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.vk-videos__head h2 span {
  color: var(--color-cyan);
}

.vk-videos__head p {
  max-width: 360px;
  margin: 0;
  color: var(--color-dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.vk-videos__grid {
  display: grid;
  margin-top: 50px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.vk-video-card {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--color-dark);
}

.vk-video-card__poster,
.vk-video-card__overlay,
.vk-video-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.vk-video-card__poster {
  max-width: none;
  object-fit: cover;
}

.vk-video-card__overlay {
  background: rgba(0, 0, 0, 0.3);
}

.vk-video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translate(-50%, -50%);
}

.vk-video-card__play img {
  width: 100%;
  height: 100%;
}

.vk-video-card iframe {
  z-index: 2;
  border: 0;
}

.vk-video-card.is-loaded .vk-video-card__poster,
.vk-video-card.is-loaded .vk-video-card__overlay,
.vk-video-card.is-loaded .vk-video-card__play {
  opacity: 0;
  pointer-events: none;
}

.vk-videos__more {
  display: block;
  width: fit-content;
  margin: 35px auto 0;
  color: var(--color-dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

@media (max-width: 1199px) {
  .vk-videos__shell {
    min-height: auto;
    padding: 72px 0;
  }

  .vk-videos__head h2 {
    font-size: 40px;
  }

  .vk-video-card {
    min-height: 360px;
  }
}

@media (max-width: 959px) {
  .vk-videos__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 639px) {
  .vk-videos__shell {
    padding: 60px 0;
  }

  .vk-videos__label {
    margin-bottom: 28px;
  }

  .vk-videos__head h2 {
    font-size: 31px;
    line-height: 1.04;
  }

  .vk-videos__grid {
    margin-top: 40px;
  }

  .vk-video-card {
    min-height: auto;
    aspect-ratio: 755 / 400;
  }
}

/* src/styles/maintenance.css */
.maintenance {
  background: #f0f0f0;
  color: var(--color-dark);
}

.maintenance__shell {
  width: var(--container);
  min-height: 734px;
  margin: 0 auto;
  padding: 54px 0 40px;
}

.maintenance__label {
  display: flex;
  margin: 0 0 33px;
  align-items: center;
  gap: 10px;
  color: var(--color-dark);
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
}

.maintenance__label::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  background: var(--color-cyan);
}

.maintenance h2 {
  max-width: 760px;
  margin: 0;
  color: var(--color-dark);
  font-size: 43px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.maintenance h2 span {
  color: var(--color-cyan);
}

.maintenance__grid {
  display: grid;
  margin-top: 49px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.maintenance-card {
  display: flex;
  min-height: 455px;
  flex-direction: column;
  padding: 20px;
  border: 1px solid #dcdedf;
  border-radius: 2px;
  color: var(--color-dark);
}

.maintenance-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 333 / 200;
  border-radius: 2px;
  background: #e2e6e8;
  object-fit: cover;
}

.maintenance-card h3 {
  max-width: 242px;
  margin: 16px 0 10px;
  color: var(--color-dark);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 25px;
}

.maintenance-card p {
  max-width: 322px;
  margin: 0;
  color: var(--color-dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.maintenance-card__price {
  display: block;
  margin-top: 16px;
  color: var(--color-dark);
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
}

.maintenance-card__button {
  display: inline-flex;
  width: 165px;
  min-height: 45px;
  margin-top: auto;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 0;
  border-radius: 2px;
  background: var(--color-cyan);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 1199px) {
  .maintenance__shell {
    min-height: auto;
    padding: 72px 0;
  }

  .maintenance h2 {
    font-size: 40px;
  }

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

@media (max-width: 639px) {
  .maintenance__shell {
    padding: 60px 0;
  }

  .maintenance__label {
    margin-bottom: 28px;
  }

  .maintenance h2 {
    font-size: 31px;
    line-height: 1.04;
  }

  .maintenance__grid {
    margin-top: 40px;
    grid-template-columns: 1fr;
  }

  .maintenance-card {
    min-height: auto;
  }

  .maintenance-card__button {
    margin-top: 28px;
  }
}

/* src/styles/faq.css */
.faq {
  background: #f0f0f0;
  color: var(--color-dark);
}

.faq__shell {
  width: var(--container);
  margin: 0 auto;
  padding: 68px 0 72px;
}

.faq__layout {
  display: grid;
  grid-template-columns: minmax(320px, 400px) minmax(0, 755px);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "intro accordion"
    "contact accordion";
  justify-content: space-between;
  gap: 72px 60px;
}

.faq__intro {
  grid-area: intro;
}

.faq__label {
  display: flex;
  margin: 0 0 33px;
  align-items: center;
  gap: 10px;
  color: var(--color-dark);
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
}

.faq__label::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  background: var(--color-cyan);
}

.faq h2 {
  max-width: 469px;
  margin: 0;
  color: var(--color-dark);
  font-size: 43px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.faq h2 span {
  color: var(--color-cyan);
}

.faq__lead {
  max-width: 281px;
  margin: 21px 0 0;
  color: var(--color-dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.faq__accordion {
  display: grid;
  grid-area: accordion;
  align-content: start;
  padding-top: 67px;
}

.faq-item {
  border-top: 1px solid #dcdedf;
}

.faq-item:last-child {
  border-bottom: 1px solid #dcdedf;
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  display: grid;
  width: 100%;
  min-height: 50px;
  grid-template-columns: minmax(0, 1fr) 30px;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
  border: 0;
  background: transparent;
  color: var(--color-dark);
  text-align: left;
}

.faq-item button span:first-child {
  max-width: 543px;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
}

.faq-item__icon {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 1px;
  background: var(--color-white);
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  background: var(--color-dark);
  transform: translate(-50%, -50%);
}

.faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq-item.is-open .faq-item__icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}

.faq-item.is-open .faq-item__panel {
  max-height: 430px;
}

.faq-item__content {
  max-width: 616px;
  padding: 0 60px 25px 0;
}

.faq-item__content p {
  margin: 0;
  color: var(--color-dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.faq-item__content p + p {
  margin-top: 20px;
}

.faq-contact {
  position: relative;
  min-height: 175px;
  grid-area: contact;
  align-self: end;
  overflow: hidden;
  border-radius: 2px;
  color: var(--color-white);
}

.faq-contact__bg,
.faq-contact__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.faq-contact__bg {
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.faq-contact__overlay {
  background: rgba(0, 0, 0, 0.5);
}

.faq-contact__content {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 175px;
  padding: 20px;
  align-content: space-between;
}

.faq-contact h3 {
  max-width: 266px;
  margin: 0;
  color: var(--color-white);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 25px;
}

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

.faq-contact__links a {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  color: var(--color-white);
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
  text-decoration: none;
}

.faq-contact__icon {
  display: flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  background: var(--color-white);
  backdrop-filter: blur(7.5px);
}

.faq-contact__icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

@media (max-width: 1199px) {
  .faq__shell {
    min-height: auto;
    padding: 72px 0;
  }

  .faq__layout {
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 0 48px;
  }

  .faq h2 {
    font-size: 40px;
  }
}

@media (max-width: 959px) {
  .faq__layout {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "accordion"
      "contact";
    gap: 40px;
  }

  .faq__accordion {
    padding-top: 0;
  }

  .faq-contact {
    align-self: stretch;
  }

  .faq-contact__content {
    padding: 24px;
  }
}

@media (max-width: 639px) {
  .faq__shell {
    padding: 60px 0;
  }

  .faq__label {
    margin-bottom: 28px;
  }

  .faq h2 {
    font-size: 31px;
    line-height: 1.04;
  }

  .faq__lead {
    margin-top: 24px;
  }

  .faq-item button {
    gap: 16px;
  }

  .faq-item__content {
    padding-right: 0;
  }

  .faq-contact {
    min-height: 300px;
  }

  .faq-contact__content {
    min-height: 300px;
    padding: 24px 20px;
    gap: 28px;
  }

  .faq-contact__links {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .faq-contact__links a {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
  }

  .faq-contact__icon {
    width: 52px;
    height: 52px;
  }
}

/* src/styles/final-cta.css */
.final-cta {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: #f0f0f0;
  color: var(--color-white);
}

.final-cta__bg,
.final-cta__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.final-cta__bg {
  max-width: none;
  object-fit: cover;
  object-position: center 65%;
}

.final-cta__shade {
  background: rgba(0, 0, 0, 0.4);
}

.final-cta__shell {
  position: relative;
  z-index: 1;
  display: flex;
  width: var(--container);
  min-height: 610px;
  margin: 0 auto;
  align-items: center;
}

.final-cta__card {
  display: grid;
  width: 510px;
  min-height: 440px;
  align-content: start;
  padding: 30px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(7.5px);
}

.final-cta__mark {
  width: 25px;
  height: 26px;
  margin-bottom: 43px;
}

.final-cta h2 {
  max-width: 382px;
  margin: 0;
  color: var(--color-white);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.final-cta__text {
  max-width: 376px;
  margin: 34px 0 25px;
  color: var(--color-white);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.final-cta__button {
  width: 270px;
  padding: 0 18px;
}

.final-cta__phone {
  display: grid;
  width: fit-content;
  max-width: 100%;
  grid-template-columns: 60px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  margin-top: 30px;
  color: var(--color-white);
  text-decoration: none;
}

.final-cta__phone-icon {
  display: block;
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
}

.final-cta__phone-icon img {
  width: 100%;
  height: 100%;
}

.final-cta__phone strong,
.final-cta__phone small {
  display: block;
  color: var(--color-white);
}

.final-cta__phone strong {
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.final-cta__phone small {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
}

@media (max-width: 1199px) {
  .final-cta,
  .final-cta__shell {
    min-height: 580px;
  }

  .final-cta__card {
    width: min(510px, 52vw);
  }
}

@media (max-width: 959px) {
  .final-cta,
  .final-cta__shell {
    min-height: 560px;
  }

  .final-cta__shell {
    padding: 60px 0;
    align-items: flex-start;
  }

  .final-cta__card {
    width: min(520px, 100%);
    min-height: auto;
  }
}

@media (max-width: 639px) {
  .final-cta {
    min-height: auto;
  }

  .final-cta__bg {
    object-position: center bottom;
  }

  .final-cta__shell {
    min-height: auto;
    padding: 48px 0;
  }

  .final-cta__card {
    padding: 24px;
  }

  .final-cta__mark {
    margin-bottom: 36px;
  }

  .final-cta h2 {
    font-size: 26px;
    line-height: 1.04;
  }

  .final-cta__text {
    margin: 28px 0 24px;
  }

  .final-cta__button {
    width: 100%;
  }

  .final-cta__phone {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    margin-top: 24px;
  }

  .final-cta__phone-icon {
    width: 54px;
    height: 54px;
  }
}

/* src/styles/footer.css */
.site-footer {
  background: #f0f0f0;
  color: var(--color-dark);
}

.site-footer__shell {
  width: var(--container);
  min-height: 390px;
  margin: 0 auto;
  padding: 40px 0 18px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(240px, 282px) minmax(240px, 300px) minmax(180px, 220px) minmax(250px, 372px);
  justify-content: space-between;
  gap: 44px;
}

.site-footer__brand {
  display: grid;
  align-content: start;
}

.site-footer__logo {
  display: block;
  width: 205px;
  margin-bottom: 8px;
}

.site-footer__logo img {
  width: 100%;
  height: auto;
}

.site-footer__brand p,
.site-footer__label,
.site-footer__requisites,
.site-footer__bottom,
.site-footer-rating p {
  margin: 0;
  color: var(--color-dark);
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
}

.site-footer__brand p {
  max-width: 282px;
}

.site-footer__requisites {
  display: grid;
  gap: 0;
  margin-top: 20px;
}

.site-footer__requisites div {
  display: flex;
}

.site-footer__requisites dt,
.site-footer__requisites dd {
  margin: 0;
}

.site-footer__requisites dt::after {
  content: " ";
  white-space: pre;
}

.site-footer__email {
  display: block;
  width: fit-content;
  margin-top: 13px;
  color: var(--color-dark);
  font-size: 24px;
  font-weight: 500;
  line-height: 25px;
  text-decoration: none;
}

.site-footer__messengers {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.site-footer__messengers a {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  background: var(--color-white);
  color: var(--color-cyan);
  text-decoration: none;
}

.site-footer__messengers img,
.site-footer__messengers svg {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.site-footer__messengers svg {
  fill: currentColor;
}

.site-footer__nav {
  display: grid;
  align-content: start;
}

.site-footer__nav .site-footer__label {
  margin-bottom: 13px;
}

.site-footer__nav a {
  width: fit-content;
  color: var(--color-dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
}

.site-footer__hours {
  max-width: 225px;
  margin: 13px 0 30px;
  color: var(--color-dark);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 25px;
}

.site-footer__ratings {
  display: grid;
  grid-template-columns: repeat(2, 120px);
  gap: 10px;
}

.site-footer-rating {
  display: grid;
  min-height: 95px;
  align-content: start;
  padding: 15px;
  border-radius: 2px;
  background: var(--color-white);
}

.site-footer-rating div {
  margin-top: 10px;
  color: #f7c600;
  font-size: 15px;
  letter-spacing: 0;
  line-height: 15px;
}

.site-footer-rating strong {
  display: block;
  margin-top: 8px;
  color: var(--color-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 16px;
}

.site-footer-rating:first-child strong::first-letter {
  color: #f13d2f;
}

.site-footer-rating:last-child strong::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 4px;
  border-radius: 50%;
  background: #25bd4f;
  vertical-align: -1px;
}

.site-footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto auto auto 1fr;
  gap: 72px;
  align-items: center;
  margin-top: 80px;
  padding-top: 19px;
  border-top: 1px solid #dcdedf;
  color: rgba(42, 56, 71, 0.8);
}

.site-footer__bottom p,
.site-footer__bottom a {
  margin: 0;
  color: rgba(42, 56, 71, 0.8);
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
  text-decoration: none;
}

.site-footer__bottom a:last-child {
  justify-self: end;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

@media (max-width: 1199px) {
  .site-footer__top {
    grid-template-columns: minmax(240px, 1fr) minmax(240px, 1fr);
    gap: 48px 72px;
  }

  .site-footer__bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 40px;
    margin-top: 64px;
  }

  .site-footer__bottom a:last-child {
    justify-self: start;
  }
}

@media (max-width: 639px) {
  .site-footer__shell {
    min-height: auto;
    padding: 36px 0 24px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .site-footer__logo {
    width: 184px;
  }

  .site-footer__email,
  .site-footer__hours {
    font-size: 22px;
    line-height: 24px;
  }

  .site-footer__messengers {
    margin-top: 22px;
  }

  .site-footer__ratings {
    grid-template-columns: repeat(2, minmax(0, 120px));
  }

  .site-footer__bottom {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 44px;
    padding-top: 18px;
  }
}

/* src/styles/mobile-typography.css */
@media (max-width: 959px) {
  body {
    font-size: 14px;
  }

  .button {
    font-size: 14px;
    line-height: 18px;
  }

  .hero {
    --hero-eyebrow-font: 15px;
    --hero-eyebrow-line: 20px;
    --hero-lead-font: 15px;
    --hero-lead-line: 20px;
    --hero-note-font: 13px;
    --hero-note-line: 17px;
    --hero-feature-font: 15px;
    --hero-feature-line: 20px;
    --hero-button-font: 15px;
    --hero-button-line: 20px;
  }

  .pain__head h2,
  .benefits__copy h2,
  .pool-types-intro__head h2,
  .materials__head h2,
  .quiz h2,
  .work-steps__intro h2,
  .portfolio__head h2,
  .about-company h2,
  .spaces__head h2,
  .vk-videos__head h2,
  .maintenance h2,
  .faq h2 {
    font-size: clamp(30px, 4vw, 34px);
    line-height: 1.04;
  }

  .estimate-check h2,
  .final-cta h2 {
    font-size: clamp(25px, 3.5vw, 28px);
    line-height: 1.04;
  }
}

@media (max-width: 639px) {
  body {
    font-size: 13px;
  }

  .button {
    font-size: 13px;
    line-height: 17px;
  }

  .hero {
    --hero-eyebrow-font: 14px;
    --hero-eyebrow-line: 18px;
    --hero-title-font: 30px;
    --hero-title-gap: 14px;
    --hero-lead-font: 14px;
    --hero-lead-line: 18px;
    --hero-note-font: 12px;
    --hero-note-line: 16px;
    --hero-feature-font: 14px;
    --hero-feature-line: 18px;
    --hero-button-font: 14px;
    --hero-button-line: 18px;
  }

  .pain__label,
  .benefits__label,
  .pool-types-intro__label,
  .materials__label,
  .quiz__label,
  .work-steps__label,
  .portfolio__label,
  .estimate-check__label,
  .about-company__label,
  .spaces__label,
  .vk-videos__label,
  .maintenance__label,
  .faq__label,
  .final-cta__label,
  .footer__label {
    font-size: 11px;
    line-height: 15px;
  }

  .pain__head h2,
  .benefits__copy h2,
  .pool-types-intro__head h2,
  .materials__head h2,
  .quiz h2,
  .work-steps__intro h2,
  .portfolio__head h2,
  .about-company h2,
  .spaces__head h2,
  .vk-videos__head h2,
  .maintenance h2,
  .faq h2 {
    font-size: 26px;
    line-height: 1.05;
  }

  .estimate-check h2,
  .final-cta h2 {
    font-size: 23px;
    line-height: 1.08;
  }

  .pain__head p,
  .benefits__lead,
  .pool-types-intro__head p,
  .materials__head p,
  .quiz__head p,
  .work-steps__intro p,
  .portfolio__head p,
  .about-company__person p,
  .about-company-benefit p,
  .spaces__head p,
  .spaces-card p,
  .vk-videos__head p,
  .maintenance-card p,
  .faq__lead,
  .faq-item button span:first-child,
  .faq-item__content p,
  .estimate-check p,
  .final-cta__lead,
  .final-cta__note,
  .footer {
    font-size: 13px;
    line-height: 17px;
  }

  .facts-card h2,
  .benefits-card h3,
  .pool-type-card h3,
  .material-card h3,
  .materials-catalog h3,
  .work-step-card h3,
  .portfolio-project h3,
  .portfolio-equipment h4,
  .about-company-benefit h3,
  .spaces-card h3,
  .maintenance-card h3,
  .faq-contact h3 {
    font-size: 19px;
    line-height: 1.12;
  }

  .facts-card p,
  .pain-card h3,
  .benefits-card p,
  .pool-type-card__lead,
  .pool-type-card__specs,
  .material-card a,
  .material-card__example,
  .materials-catalog a,
  .work-step-card p,
  .work-step-card__meta,
  .portfolio-project__place,
  .portfolio-project__desc,
  .portfolio-project__meta,
  .portfolio-equipment li,
  .portfolio__more,
  .vk-videos__more,
  .maintenance-card__price,
  .maintenance-card__button,
  .faq-contact__links a {
    font-size: 13px;
    line-height: 17px;
  }

  .about-company blockquote {
    font-size: 22px;
    line-height: 1.08;
  }

  .quiz-step__title {
    font-size: 22px;
    line-height: 1.14;
  }

  .quiz-step__subtitle,
  .quiz-option-card__title,
  .quiz-radio-card,
  .quiz-form__footer p,
  .quiz-form__next,
  .quiz-form.is-final-step .quiz-form__next {
    font-size: 15px;
    line-height: 1.2;
  }

  .quiz-field input,
  .quiz-field__prefix {
    font-size: 16px;
  }

  .quiz-consent {
    font-size: 13px;
    line-height: 1.35;
  }

  .site-menu__nav a {
    font-size: 22px;
    line-height: 1.08;
  }

  .site-menu__cta {
    font-size: 20px;
  }
}

@media (max-width: 420px) {
  .pain__head h2,
  .benefits__copy h2,
  .pool-types-intro__head h2,
  .materials__head h2,
  .quiz h2,
  .work-steps__intro h2,
  .portfolio__head h2,
  .about-company h2,
  .spaces__head h2,
  .vk-videos__head h2,
  .maintenance h2,
  .faq h2 {
    font-size: 24px;
  }

  .hero {
    --hero-eyebrow-font: 12px;
    --hero-eyebrow-line: 16px;
    --hero-title-font: 28px;
    --hero-title-gap: 12px;
    --hero-lead-font: 12px;
    --hero-lead-line: 16px;
    --hero-note-font: 11px;
    --hero-note-line: 14px;
    --hero-feature-font: 12px;
    --hero-feature-line: 16px;
    --hero-button-font: 13px;
    --hero-button-line: 17px;
  }
}

/* src/styles/legal.css */
.legal-page {
  background: var(--page-bg);
  color: var(--color-dark);
}

.legal-page .floating-header {
  position: sticky;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.legal-page .floating-header__inner {
  border-bottom-color: rgba(42, 56, 71, 0.12);
}

.legal-main {
  min-height: 70vh;
}

.legal-document {
  padding: 90px 0;
  background: var(--page-bg);
}

.legal-document__shell {
  width: var(--container);
  margin: 0 auto;
}

.legal-document__card {
  padding: clamp(32px, 5vw, 72px);
  border-radius: 2px;
  background: var(--color-white);
  color: var(--color-dark);
}

.legal-document h1 {
  margin: 0 0 34px;
  color: var(--color-dark);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.04;
}

.legal-document__body {
  color: var(--color-dark);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

.legal-document__body ul {
  margin: 12px 0 18px;
  padding-left: 24px;
}

.legal-document__body li + li {
  margin-top: 7px;
}

.legal-document__body a {
  color: var(--color-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 767px) {
  .legal-document {
    padding: 48px 0;
  }

  .legal-document__card {
    padding: 28px 20px;
  }

  .legal-document__body {
    font-size: 15px;
    line-height: 1.45;
  }
}

/* src/styles/lead-popup.css */
.lead-popup {
  position: fixed;
  inset: 0;
  z-index: 9200;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.lead-popup.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lead-popup__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.62);
}

.lead-popup__dialog {
  position: relative;
  width: min(720px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  border-radius: 2px;
  background: var(--color-white);
  color: var(--color-dark);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.32);
  transform: translate3d(0, 18px, 0);
  transition: transform 220ms ease;
}

.lead-popup.is-open .lead-popup__dialog {
  transform: translate3d(0, 0, 0);
}

.lead-popup__bar {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}

.lead-popup__close {
  position: relative;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--color-dark);
}

.lead-popup__close span {
  position: absolute;
  top: 18px;
  left: 7px;
  width: 26px;
  height: 2px;
  background: currentColor;
}

.lead-popup__close span:first-child {
  transform: rotate(45deg);
}

.lead-popup__close span:last-child {
  transform: rotate(-45deg);
}

.lead-form {
  padding: 56px 56px 44px;
}

.lead-form h2 {
  max-width: 560px;
  margin: 0 0 14px;
  color: var(--color-dark);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.08;
}

.lead-form p {
  max-width: 560px;
  margin: 0 0 30px;
  color: var(--color-dark);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.22;
}

.lead-form__field {
  display: block;
  margin-bottom: 22px;
}

.lead-form__field > span:first-child {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.lead-form__field input {
  width: 100%;
  height: 68px;
  border: 1px solid rgba(42, 56, 71, 0.12);
  border-radius: 2px;
  background: var(--color-white);
  color: var(--color-dark);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  outline: none;
}

.lead-form__field > input {
  padding: 0 24px;
}

.lead-form__field input::placeholder {
  color: rgba(42, 56, 71, 0.42);
}

.lead-form__field input:focus,
.lead-form__phone:focus-within {
  border-color: #84c6d8;
}

.lead-form__phone {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  border: 1px solid rgba(42, 56, 71, 0.12);
  border-radius: 2px;
  background: var(--color-white);
}

.lead-form__phone input {
  min-width: 0;
  border: 0;
  padding: 0 24px 0 12px;
}

.lead-form__prefix {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-left: 24px;
  color: var(--color-dark);
  font-size: 19px;
  line-height: 1;
}

.lead-form__flag {
  display: block;
  width: 28px;
  height: 19px;
  background: linear-gradient(to bottom, #ffffff 0 33.33%, #3154a3 33.33% 66.66%, #d52b1e 66.66% 100%);
  box-shadow: 0 0 0 1px rgba(42, 56, 71, 0.12);
}

.lead-form__consent {
  position: relative;
  display: grid;
  margin: 22px 0 28px;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  color: rgba(42, 56, 71, 0.82);
  cursor: pointer;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
}

.lead-form__consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.lead-form__consent-box {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 2px solid rgba(42, 56, 71, 0.55);
}

.lead-form__consent-box::before {
  content: "";
  width: 14px;
  height: 8px;
  border-bottom: 2px solid var(--color-dark);
  border-left: 2px solid var(--color-dark);
  opacity: 0;
  transform: translateY(-2px) rotate(-45deg);
}

.lead-form__consent input:focus-visible + .lead-form__consent-box {
  outline: 2px solid #84c6d8;
  outline-offset: 4px;
}

.lead-form__consent input:checked + .lead-form__consent-box::before {
  opacity: 1;
}

.lead-form__consent a {
  text-underline-offset: 5px;
}

.lead-form__submit {
  display: inline-flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 2px;
  background: #84c6d8;
  color: var(--color-white);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

.lead-form__status {
  min-height: 21px;
  margin: 16px 0 0;
  color: var(--color-cyan);
  font-size: 15px;
  line-height: 1.35;
}

body.lead-popup-is-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .lead-popup {
    align-items: start;
    padding: 18px;
    background: #263d48;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .lead-popup__backdrop {
    background: transparent;
  }

  .lead-popup__dialog {
    width: 100%;
    min-height: calc(100vh - 36px);
    min-height: calc(100dvh - 36px);
    max-height: none;
    overflow: visible;
  }

  .lead-popup__bar {
    position: relative;
    top: auto;
    right: auto;
    display: flex;
    height: 64px;
    align-items: center;
    justify-content: flex-end;
    padding: 0 20px;
    background: #000000;
  }

  .lead-popup__close {
    color: var(--color-white);
  }

  .lead-popup__close span {
    width: 28px;
  }

  .lead-form {
    padding: 30px 26px 56px;
  }

  .lead-form h2 {
    margin-bottom: 14px;
    font-size: 30px;
    line-height: 1.08;
  }

  .lead-form p {
    margin-bottom: 24px;
    font-size: 18px;
    line-height: 1.25;
  }

  .lead-form__field {
    margin-bottom: 24px;
  }

  .lead-form__field input {
    height: 64px;
    font-size: 18px;
  }

  .lead-form__field > input {
    padding: 0 22px;
  }

  .lead-form__phone input {
    padding: 0 16px 0 10px;
  }

  .lead-form__prefix {
    gap: 9px;
    padding-left: 20px;
    font-size: 18px;
  }

  .lead-form__flag {
    width: 26px;
    height: 18px;
  }

  .lead-form__consent {
    margin: 24px 0 28px;
    grid-template-columns: 26px 1fr;
    gap: 12px;
    font-size: 16px;
    line-height: 1.35;
  }

  .lead-form__consent-box {
    width: 26px;
    height: 26px;
  }

  .lead-form__submit {
    min-height: 62px;
    font-size: 18px;
  }
}

@media (max-width: 479px) {
  .lead-popup {
    padding: 12px;
  }

  .lead-popup__dialog {
    min-height: calc(100vh - 24px);
    min-height: calc(100dvh - 24px);
  }

  .lead-popup__bar {
    height: 54px;
    padding: 0 16px;
  }

  .lead-form {
    padding: 24px 18px 42px;
  }

  .lead-form h2 {
    font-size: 25px;
  }

  .lead-form p {
    font-size: 16px;
  }

  .lead-form__field {
    margin-bottom: 18px;
  }

  .lead-form__field input {
    height: 56px;
    font-size: 16px;
  }

  .lead-form__prefix {
    padding-left: 16px;
    font-size: 16px;
  }

  .lead-form__flag {
    width: 24px;
    height: 16px;
  }

  .lead-form__consent {
    margin: 20px 0 24px;
    grid-template-columns: 24px 1fr;
    gap: 12px;
    font-size: 14px;
  }

  .lead-form__consent-box {
    width: 24px;
    height: 24px;
  }

  .lead-form__submit {
    min-height: 54px;
    font-size: clamp(15px, 4.2vw, 16px);
  }
}

/* src/styles/video-widget.css */
.video-widget {
  display: none;
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 999999;
}

.video-widget__container {
  font-family: "Manrope", Arial, sans-serif;
  z-index: 999999;
  overflow: hidden;
  border-style: solid;
  background: #eee url("https://static.tildacdn.com/tild6364-6437-4238-a137-366435333666/image.png") center / cover no-repeat;
  transition: transform .2s ease-in-out 0s, width .3s ease-in-out 0s, height .3s ease-in-out 0s, bottom .3s ease-in-out 0s, border-color .2s ease-in-out 0s, opacity 1s ease-in-out 0s;
  outline: 0;
  cursor: pointer;
  box-sizing: border-box;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow: rgba(0, 0, 0, .2) 0 10px 20px;
  position: absolute;
  right: 40px;
  bottom: 20px;
  border-radius: 2px;
  border-width: 0;
  width: 130px;
  height: 180px;
  border-color: transparent;
}

@media screen and (min-width: 768px) and (max-width: 1480px) {
  .video-widget {
    top: unset;
    bottom: 0;
  }

  .video-widget__container {
    top: unset;
    bottom: 20px;
  }
}

.video-widget__container:hover {
  transform: scale(1.1) translate(-5px, -5px);
}

.video-widget__video {
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  z-index: 200;
  transition: opacity .4s ease-in-out 0s;
  opacity: 1;
}

.video-widget__close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 20px;
  height: 20px;
  z-index: 250;
  opacity: 0;
  transition: transform .3s ease-in-out 0s, opacity .2s ease-in-out 0s;
  border: 0;
  padding: 0;
  background: transparent;
}

.video-widget__close:after,
.video-widget__close:before {
  position: absolute;
  left: 9px;
  top: 1px;
  content: "";
  height: 18px;
  width: 2px;
  background: #fff;
  box-shadow: rgba(0, 0, 0, .5) 1px 1px 10px;
}

.video-widget__close:before {
  transform: rotate(45deg);
}

.video-widget__close:after {
  transform: rotate(-45deg);
}

.video-widget__container:hover .video-widget__close {
  opacity: .5;
}

.video-widget.video-widget[data-state=opened] .video-widget__container {
  width: 280px;
  height: 500px;
  border-radius: 2px;
  border-color: #fff;
}

.video-widget.video-widget[data-state=opened] .video-widget__close {
  opacity: .5;
}

.video-widget.video-widget[data-state=opened] .video-widget__close:before {
  display: none;
}

.video-widget.video-widget[data-state=opened] .video-widget__close:after {
  transform: rotate(90deg);
}

.video-widget.video-widget[data-state=opened] .video-widget__close:hover {
  opacity: 1;
}

.video-widget__button {
  position: absolute;
  bottom: 20px;
  right: 20px;
  left: 20px;
  height: 45px;
  border-radius: 2px;
  z-index: 300;
  box-shadow: rgba(0, 0, 0, .25) 0 4px 15px;
  text-align: center;
  transition: transform .2s ease-in-out 0s, opacity .3s ease-in-out 0s, background-color .2s ease-in-out 0s;
  visibility: hidden;
  background-color: #3EBFCE;
  font-size: 16px;
  font-weight: 400;
  color: #ffffff !important;
  vertical-align: middle;
  line-height: 45px;
  text-transform: lowercase;
  opacity: 0;
  text-decoration: none;
  white-space: nowrap;
}

@media screen and (max-width: 480px) {
  .video-widget__button {
    font-size: 14px;
  }
}

.video-widget__button:hover {
  background-color: #3EBFCE;
  text-decoration: none;
}

.video-widget.video-widget[data-state=opened] .video-widget__button {
  opacity: 1;
  visibility: visible;
}

@media only screen and (max-width: 1023px) {
  .video-widget__close {
    opacity: .5;
  }
}

@media only screen and (max-width: 1199px) {
  .video-widget {
    display: none !important;
  }
}

@media only screen and (max-width: 480px) {
  .video-widget__container {
    right: 15px;
    bottom: 70px;
    width: 90px;
    height: 125px;
  }
}
