@charset "UTF-8";
* {
  box-sizing: border-box;
}

body,
html {
  font-family: "Montserrat", sans-serif;
  color: #0b0b0b;
  font-size: 15px;
  min-width: 340px;
  min-height: 640px;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0;
  position: relative;
  font-weight: 500;
  line-height: 1.5;
  background-color: #ffffff;
}

a {
  color: inherit;
  display: inline-block;
}

p {
  margin: 0 0 30px;
}

.ln,
.ln li {
  padding: 0;
  margin: 0;
  list-style: none;
}

.custom-disk {
  padding: 0;
}
.custom-disk li {
  padding: 0;
  list-style: none;
  padding-left: 15px;
  position: relative;
}
.custom-disk li:before {
  content: "";
  width: 4px;
  position: absolute;
  height: 4px;
  left: 0;
  top: 8px;
  background: #0b0b0b;
  border-radius: 100%;
}

.flex-align {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vertical-align {
  display: flex;
  height: 100%;
  position: relative;
}
.vertical-align * {
  margin: auto 0;
}

.img-cover {
  width: 100%;
  position: absolute;
  height: 100%;
  left: 0;
  top: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.img-cover img {
  visibility: hidden;
  object-fit: cover;
  width: 100%;
  position: absolute;
  height: 100%;
  left: 0;
  top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  color: #0b0b0b;
  font-weight: 700;
  line-height: 1.1;
}

h1 {
  font-size: 68px;
}

h2 {
  font-size: 48px;
}

h3 {
  font-size: 24px;
}

@media (max-width: 820px) {
  h1 {
    font-size: 48px;
  }
  h2 {
    font-size: 28px;
  }
}
@media (max-width: 576px) {
  h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 21px;
  }
  h3 {
    font-size: 18px;
  }
}
.main-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 15px;
  padding: 0 15px;
  max-width: 1620px;
  margin: 0 auto;
  position: relative;
}
.main-grid .main-grid {
  padding: 0;
}

.main-full {
  padding: 0 15px;
  max-width: 1620px;
  margin: 0 auto;
}

.col-1 {
  grid-column-end: span 1;
}

.col-2 {
  grid-column-end: span 2;
}

.col-3 {
  grid-column-end: span 3;
}

.col-4 {
  grid-column-end: span 4;
}

.col-5 {
  grid-column-end: span 5;
}

.col-6 {
  grid-column-end: span 6;
}

.col-7 {
  grid-column-end: span 7;
}

.col-8 {
  grid-column-end: span 8;
}

.col-9 {
  grid-column-end: span 9;
}

.col-10 {
  grid-column-end: span 10;
}

.col-11 {
  grid-column-end: span 11;
}

.col-12 {
  grid-column-end: span 12;
}

@media (max-width: 1680px) {
  .col-xxl-1 {
    grid-column-end: span 1;
  }
  .col-xxl-2 {
    grid-column-end: span 2;
  }
  .col-xxl-3 {
    grid-column-end: span 3;
  }
  .col-xxl-4 {
    grid-column-end: span 4;
  }
  .col-xxl-5 {
    grid-column-end: span 5;
  }
  .col-xxl-6 {
    grid-column-end: span 6;
  }
  .col-xxl-7 {
    grid-column-end: span 7;
  }
  .col-xxl-8 {
    grid-column-end: span 8;
  }
  .col-xxl-9 {
    grid-column-end: span 9;
  }
  .col-xxl-10 {
    grid-column-end: span 10;
  }
  .col-xxl-11 {
    grid-column-end: span 11;
  }
  .col-xxl-12 {
    grid-column-end: span 12;
  }
}
@media (max-width: 1440px) {
  .col-xl-1 {
    grid-column-end: span 1;
  }
  .col-xl-2 {
    grid-column-end: span 2;
  }
  .col-xl-3 {
    grid-column-end: span 3;
  }
  .col-xl-4 {
    grid-column-end: span 4;
  }
  .col-xl-5 {
    grid-column-end: span 5;
  }
  .col-xl-6 {
    grid-column-end: span 6;
  }
  .col-xl-7 {
    grid-column-end: span 7;
  }
  .col-xl-8 {
    grid-column-end: span 8;
  }
  .col-xl-9 {
    grid-column-end: span 9;
  }
  .col-xl-10 {
    grid-column-end: span 10;
  }
  .col-xl-11 {
    grid-column-end: span 11;
  }
  .col-xl-12 {
    grid-column-end: span 12;
  }
}
@media (max-width: 1280px) {
  .col-lg-1 {
    grid-column-end: span 1;
  }
  .col-lg-2 {
    grid-column-end: span 2;
  }
  .col-lg-3 {
    grid-column-end: span 3;
  }
  .col-lg-4 {
    grid-column-end: span 4;
  }
  .col-lg-5 {
    grid-column-end: span 5;
  }
  .col-lg-6 {
    grid-column-end: span 6;
  }
  .col-lg-7 {
    grid-column-end: span 7;
  }
  .col-lg-8 {
    grid-column-end: span 8;
  }
  .col-lg-9 {
    grid-column-end: span 9;
  }
  .col-lg-10 {
    grid-column-end: span 10;
  }
  .col-lg-11 {
    grid-column-end: span 11;
  }
  .col-lg-12 {
    grid-column-end: span 12;
  }
}
@media (max-width: 992px) {
  .col-md-1 {
    grid-column-end: span 1;
  }
  .col-md-2 {
    grid-column-end: span 2;
  }
  .col-md-3 {
    grid-column-end: span 3;
  }
  .col-md-4 {
    grid-column-end: span 4;
  }
  .col-md-5 {
    grid-column-end: span 5;
  }
  .col-md-6 {
    grid-column-end: span 6;
  }
  .col-md-7 {
    grid-column-end: span 7;
  }
  .col-md-8 {
    grid-column-end: span 8;
  }
  .col-md-9 {
    grid-column-end: span 9;
  }
  .col-md-10 {
    grid-column-end: span 10;
  }
  .col-md-11 {
    grid-column-end: span 11;
  }
  .col-md-12 {
    grid-column-end: span 12;
  }
}
@media (max-width: 820px) {
  .col-sm-1 {
    grid-column-end: span 1;
  }
  .col-sm-2 {
    grid-column-end: span 2;
  }
  .col-sm-3 {
    grid-column-end: span 3;
  }
  .col-sm-4 {
    grid-column-end: span 4;
  }
  .col-sm-5 {
    grid-column-end: span 5;
  }
  .col-sm-6 {
    grid-column-end: span 6;
  }
  .col-sm-7 {
    grid-column-end: span 7;
  }
  .col-sm-8 {
    grid-column-end: span 8;
  }
  .col-sm-9 {
    grid-column-end: span 9;
  }
  .col-sm-10 {
    grid-column-end: span 10;
  }
  .col-sm-11 {
    grid-column-end: span 11;
  }
  .col-sm-12 {
    grid-column-end: span 12;
  }
}
@media (max-width: 576px) {
  .col-xs-1 {
    grid-column-end: span 1;
  }
  .col-xs-2 {
    grid-column-end: span 2;
  }
  .col-xs-3 {
    grid-column-end: span 3;
  }
  .col-xs-4 {
    grid-column-end: span 4;
  }
  .col-xs-5 {
    grid-column-end: span 5;
  }
  .col-xs-6 {
    grid-column-end: span 6;
  }
  .col-xs-7 {
    grid-column-end: span 7;
  }
  .col-xs-8 {
    grid-column-end: span 8;
  }
  .col-xs-9 {
    grid-column-end: span 9;
  }
  .col-xs-10 {
    grid-column-end: span 10;
  }
  .col-xs-11 {
    grid-column-end: span 11;
  }
  .col-xs-12 {
    grid-column-end: span 12;
  }
}
.btn {
  background: none;
  text-decoration: none;
  border: 1px solid;
  border-color: #ffffff;
  color: #0b0b0b;
  border-radius: 0px;
  background-color: #ffffff;
  padding: 12px 15px;
  display: inline-block;
  cursor: pointer;
  text-align: center;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  transition: ease-out 0.25s;
  width: 160px;
}
.btn i, .btn em {
  font-style: normal;
}
.btn:hover {
  background-color: #0b0b0b;
  border-color: #0b0b0b;
  color: #ffffff;
}

.btn--blue {
  background-color: #14143C;
  border-color: #14143C;
  color: #ffffff;
}
.btn--blue:hover {
  background: #C19F56;
  color: #ffffff;
  border-color: #C19F56;
}

.btn--blue-border {
  background: none;
  border-color: #14143C;
  color: #14143C;
}
.btn--blue-border:hover {
  background: #C19F56;
  color: #ffffff;
  border-color: #C19F56;
}

.btn--black {
  background-color: #0b0b0b;
  border-color: #ffffff;
  color: #ffffff;
}
.btn--black:hover {
  background: #C19F56;
  color: #ffffff;
  border-color: #C19F56;
}

.btn--black-border {
  background: none;
  border-color: #0b0b0b;
  color: #0b0b0b;
}
.btn--black-border:hover {
  background: #C19F56;
  color: #ffffff;
  border-color: #C19F56;
}

.btn--gold {
  background-color: #C19F56;
  border-color: #C19F56;
  color: #ffffff;
}
.btn--gold:hover {
  background: #0b0b0b;
  color: #ffffff;
  border-color: #0b0b0b;
}

.btn--gold-border {
  background: none;
  border-color: #C19F56;
  color: #C19F56;
}
.btn--gold-border:hover {
  background: #0b0b0b;
  color: #ffffff;
  border-color: #0b0b0b;
}

@font-face {
  font-family: "WO Geometric RU";
  src: url("../fonts/wo-geometric-ru-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "WO Geometric RU";
  src: url("../fonts/wo-geometric-ru-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "WO Geometric RU";
  src: url("../fonts/wo-geometric-ru-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
html, body {
  min-width: 0;
  min-height: 100%;
  max-width: none;
}

body {
  color: #282828;
  font-family: "WO Geometric RU", Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

.main-full, .main-grid {
  max-width: 1300px;
  padding-inline: clamp(18px, 4vw, 55px);
}

[id] {
  scroll-margin-top: 94px;
}

h1, h2 {
  color: #282828;
  font-size: 23px;
  font-weight: 600;
  margin-bottom: 20px;
}

.btn {
  width: auto;
  font-size: 17px;
  font-weight: 500;
  padding: 8px 22px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #282828;
  color: white;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1333333333);
}

.header-inner, nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.header-inner {
  height: 92px;
}
.header-inner .logo {
  display: block;
  width: 134px;
  height: 78px;
  object-fit: contain;
}
.header-inner nav {
  margin-left: auto;
}
.header-inner a {
  text-decoration: none;
  font-weight: 500;
}
.header-inner nav a:hover {
  text-decoration: underline;
}
.header-inner .btn, .header-inner .phone {
  color: #282828;
  background: #f9dd05;
  border-color: #f9dd05;
}

.phone {
  padding: 8px 12px;
  border-radius: 50%;
}

.menu-toggle {
  display: none;
  color: inherit;
}

.px-progressbar-container {
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  pointer-events: none;
}

.px-progressbar {
  height: 100%;
  background: #f9dd05;
  transform: scaleX(0);
  transform-origin: left;
  border-radius: 0 4px 4px 0;
}

.hero-home {
  position: relative;
  height: clamp(340px, 56vw, 750px);
  background: #282828;
}
.hero-home img {
  width: 100%;
  position: absolute;
  height: 100%;
  left: 0;
  top: 0;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s;
}
.hero-home .current {
  opacity: 1;
}

.about-home, .services-home, .projects-home {
  padding-block: clamp(38px, 5vw, 75px);
}

.about-home {
  background: linear-gradient(rgba(249, 221, 5, 0.95), rgba(249, 221, 5, 0.95)), url("../images/plans.jpg") center/cover;
}
.about-home p {
  max-width: 860px;
}

.work-list {
  columns: 3;
  max-width: 840px;
  margin: 0 0 24px;
  padding-left: 19px;
}

.services-grid, .projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.services-grid {
  grid-template-rows: repeat(6, 80px);
}
.services-grid .photo-card:nth-child(1) {
  grid-area: 1/1/5/2;
}
.services-grid .photo-card:nth-child(2) {
  grid-area: 5/1/7/2;
}
.services-grid .photo-card:nth-child(3) {
  grid-area: 1/2/4/3;
}
.services-grid .photo-card:nth-child(4) {
  grid-area: 4/2/7/3;
}
.services-grid .photo-card:nth-child(5) {
  grid-area: 1/3/3/4;
}
.services-grid .photo-card:nth-child(6) {
  grid-area: 3/3/7/4;
}

.photo-card {
  position: relative;
  overflow: hidden;
  background: #282828;
  color: white;
  font-size: 20px;
  font-weight: 700;
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 45%, rgba(0, 0, 0, 0.6));
}
.photo-card span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  z-index: 1;
}
.photo-card:hover img {
  transform: scale(1.03);
}

.projects-home {
  padding-top: 0;
  padding-bottom: 38px;
}
.projects-home .projects-heading {
  background: #282828;
  padding-block: 15px;
  margin-bottom: 30px;
}
.projects-home .projects-heading h2 {
  color: white;
  margin: 0;
}

.projects-grid .photo-card {
  height: clamp(185px, 23vw, 300px);
}
.projects-grid .photo-card span {
  right: auto;
  max-width: calc(100% - 32px);
  padding: 6px 12px;
  background: #282828;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.1;
  transition: background-color 0.2s, color 0.2s;
}
.projects-grid .photo-card:hover span, .projects-grid .photo-card:focus-visible span {
  background: #f9dd05;
  color: #282828;
}

.services-grid .photo-card span::after {
  content: "→";
  display: inline-block;
  margin-left: 6px;
  opacity: 0;
  transition: transform 0.15s, opacity 0.15s;
}
.services-grid .photo-card:hover span::after, .services-grid .photo-card:focus-visible span::after {
  opacity: 1;
  transform: translateX(5px);
}

.estimate {
  padding-block: 15px 0;
  position: relative;
  z-index: 1;
}

.estimate-inner {
  max-width: 900px;
  margin: auto;
  padding: clamp(26px, 4vw, 52px);
  background: #f9dd05;
  text-align: center;
}
.estimate-inner p {
  margin-bottom: 20px;
}

footer {
  margin-top: -60px;
  padding: 112px 0 55px;
  background: #282828;
  color: white;
}
footer strong {
  display: block;
  margin-bottom: 12px;
}
footer a {
  display: block;
  width: fit-content;
  margin-bottom: 5px;
}
footer p {
  margin: 0 0 8px;
}

dialog {
  width: min(760px, 92vw);
  padding: 0;
  border: 0;
  max-height: 90dvh;
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.7333333333);
}
dialog img {
  width: 100%;
  max-height: 65dvh;
  display: block;
  object-fit: cover;
}
dialog h2 {
  font-size: 22px;
  padding: 18px;
  margin: 0;
}
dialog button {
  position: absolute;
  right: 10px;
  top: 10px;
  border: 0;
  background: white;
  font-size: 26px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

@media (max-width: 820px) {
  .header-inner {
    height: 70px;
    gap: 12px;
  }
  .header-inner .logo {
    width: 100px;
    height: 60px;
  }
  .header-inner nav {
    position: absolute;
    inset: 100% 0 auto;
    background: white;
    color: #282828;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1333333333);
  }
  .header-inner nav:not(.open) {
    display: none;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
    border: 0;
    background: none;
    font: inherit;
    cursor: pointer;
  }
  .services-grid {
    grid-template-rows: repeat(6, 54px);
  }
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .work-list {
    display: none;
  }
  footer .main-grid {
    row-gap: 28px;
  }
}
@media (max-width: 576px) {
  .hero-home {
    height: clamp(275px, 85vw, 360px);
  }
  .services-grid, .projects-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .services-grid .photo-card:nth-child(n) {
    grid-area: auto;
    height: 155px;
  }
  .projects-grid .photo-card {
    height: 210px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-home img, .photo-card img {
    transition: none;
  }
}
@media (min-width: 768px) and (max-width: 992px) {
  h1, h2 {
    font-size: 17px;
  }
}
@media (max-width: 767px) {
  .header-inner nav a {
    font-size: 16px;
  }
}
