@font-face {
    font-family: "OpenSans-Regular";
    src: url("OpenSans-Regular.ttf");
}

@font-face {
    font-family: "OpenSans-SemiBold";
    src: url("OpenSans-SemiBold.ttf");
}

@font-face {
    font-family: "OpenSans-Light";
    src: url("OpenSans-Light.ttf");
}

@font-face {
    font-family: "OpenSans-Medium";
    src: url("OpenSans-Medium.ttf");
}


* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-width: 320px;
  color: #222;
  font-family: "OpenSans-Regular", sans-serif;
  background: #fff;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: #fff;
  border-bottom: solid 1px #ededed;
}

.header-inner {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.logo {
  width: 250px;
  height: 70px;
  flex: 0 0 250px;
  display: flex;
  align-items: center;
}

.logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.header-benefits {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 48px;
  flex: 1 1 auto;
}

.benefit {
  min-width: 112px;
  color: #1f1f1f;
  font-size: 14px;
  line-height: 1.25;
  font-family: "OpenSans-Medium";
  text-transform: uppercase;
  text-align: center;
}

.benefit-icon {
  width: 30px;
  height: 30px;
  display: block;
  margin: 0 auto 10px;
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #222;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.header-contacts {
  min-width: 230px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  text-align: left;
  font-family: "OpenSans-Medium";
}

.contact-call-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
}

.phone {
  display: block;
  margin-bottom: 7px;
  color: #222;
  font-size: 22px;
  line-height: 1;
  text-decoration: none;
}

.header-contacts address {
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
  font-style: normal;
}

.callback-btn {
  min-width: 170px;
  height: 46px;
  border: 0;
  border-radius: 3px;
  padding: 0 20px;
  color: #fff;
  background: #222;
  font-size: 13px;
  font-family: "OpenSans-Medium";
  letter-spacing: .02em;
  text-transform: uppercase;
}

.alert-strip {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  color: #fff;
  background: #ff5a66;
  font-size: 17px;
  line-height: 1.3;
  font-family: "OpenSans-Medium";
  text-align: center;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 914px;
  color: #fff;
  background: #05080c;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  display: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 43% 39%, rgba(0, 190, 115, .48) 0 5%, transparent 12%),
    radial-gradient(circle at 78% 35%, rgba(63, 66, 96, .56), transparent 25%),
    linear-gradient(115deg, #010203 0%, #050607 45%, #111827 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 46px 0 58px;
}

.hero-title {
  max-width: 1000px;
  margin: 0 auto 58px;
  text-align: center;
}

.hero-title h1 {
  margin: 0 0 24px;
  font-size: 32px;
  line-height: 1.18;
  font-family: "OpenSans-SemiBold";
  letter-spacing: .02em;
  text-transform: uppercase;
}

.hero-title p {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.25;
  font-family: "OpenSans-Medium";
}

.hero-title strong {
  display: block;
  margin-bottom: 6px;
  font-size: 27px;
  line-height: 1.25;
}

.hero-title span {
  display: block;
  color: rgba(255, 255, 255, .78);
  font-size: 26px;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-content {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 58px;
  align-items: start;
  margin: 0 auto;
}

.service-form,
.modal-form {
  color: #222;
  background: #fff;
  border-radius: 4px;
}

.service-form {
  padding: 33px 31px 38px;
}

.service-form h2,
.modal-form h2 {
  margin: 0;
  color: #222;
  font-size: 17px;
  line-height: 1.25;
  font-family: "OpenSans-Regular";
  text-align: center;
}

.service-form h2 {
  margin-bottom: 30px;
}

.service-form label,
.modal-form label {
  display: block;
  margin-bottom: 22px;
}

.service-form span,
.modal-form span {
  display: block;
  margin-bottom: 8px;
  color: #222;
  font-size: 15px;
  line-height: 1.2;
  font-family: "OpenSans-Medium";
}

.service-form small {
  display: block;
  margin: -3px 0 13px;
  color: #aaa;
  font-size: 13px;
  line-height: 1;
}

.service-form b,
.modal-form b {
  color: #fb5d5d;
}

.service-form input,
.modal-form input {
  width: 100%;
  height: 45px;
  border: 1px solid #cfcfcf;
  border-radius: 3px;
  padding: 0 12px;
  color: #222;
  background: #fff;
  outline: none;
}

.service-form input:focus,
.modal-form input:focus {
  border-color: #5368ce;
  box-shadow: 0 0 0 2px rgba(83, 104, 206, .12);
}

.service-form button,
.modal-form button[type="submit"] {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 3px;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-family: "OpenSans-Medium";
}

.service-form button {
  background: #222;
}

.privacy,
.modal-form p {
  margin: 22px auto 0;
  color: #9a9a9a;
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
}

.privacy {
  max-width: 290px;
}

.features {
  padding-top: 12px;
}

.feature {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 41px;
}

.feature-number {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #111;
  background: #ffc400;
  font-size: 21px;
  line-height: 1;
  font-family: "OpenSans-SemiBold";
}

.feature h3 {
  max-width: 475px;
  margin: 0 0 15px;
  color: #fff;
  font-size: 19px;
  line-height: 1.22;
  font-family: "OpenSans-SemiBold";
}

.feature p {
  max-width: 535px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 1.45;
  font-family: "OpenSans-Medium";
}

.process-section {
  padding: 50px 0 66px;
  color: #111;
  background: #fff;
  text-align: center;
}

.process-section h2 {
  max-width: 950px;
  margin: 0 auto 26px;
  font-size: 38px;
  line-height: 1.35;
  font-family: "OpenSans-SemiBold";
}

.process-section h2 span {
  display: block;
}

.process-section p {
  margin: 0 0 70px;
  color: #252525;
  font-size: 23px;
  line-height: 1.35;
}

.process-media {
  width: min(1200px, 100%);
  display: grid;
  /* Автоматически распределяет 6 видео по колонкам (минимум 150px на видео) */
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px; /* Отступы между видеороликами */
  padding: 16px; /* Внутренние отступы контейнера */
  box-sizing: border-box;
}

.process-media video {
  width: 100%;
  height: auto; /* Высота рассчитается автоматически на основе aspect-ratio */
  aspect-ratio: 9 / 16; /* Пропорции задаются строго для каждого видео */
  display: block;
  object-fit: cover;
  border-radius: 8px; /* Опционально: скругление углов для шортсов */
}

.services-section {
  padding: 28px 0 70px;
  color: #222;
  background: #fff;
  text-align: center;
}

.services-section h2 {
  margin: 0 0 58px;
  color: #000;
  font-size: 42px;
  line-height: 1.2;
  font-family: "OpenSans-Regular";
  letter-spacing: .04em;
  text-transform: uppercase;
}

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

.service-card {
  min-height: 800px;
  border: 1px solid #333;
  padding: 45px 44px 41px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card h3 {
  min-height: 58px;
  margin: 0 0 40px;
  color: #252525;
  font-size: 19px;
  line-height: 1.25;
  font-family: "OpenSans-Regular";
  text-transform: uppercase;
}

.service-card strong {
  display: block;
  margin-bottom: 27px;
  color: #000;
  font-size: 38px;
  line-height: 1.1;
  font-family: "OpenSans-Regular";
}

.service-note {
  min-height: 111px;
  margin: 0 0 44px;
  color: #969696;
  font-size: 14px;
  line-height: 1.6;
  font-family: "OpenSans-Medium";
}

.service-list {
  margin-bottom: 47px;
  font-size: 18px;
  line-height: 1.55;
}

.service-list p {
  margin: 0 0 8px;
}

.service-list ol {
  margin: 0;
  padding: 0;
  list-style-position: inside;
}

.service-list li {
  margin-bottom: 10px;
}

.service-order-btn {
  min-width: 130px;
  height: 45px;
  margin-top: auto;
  border: 1px solid #333;
  border-radius: 3px;
  padding: 0 21px;
  color: #222;
  background: #fff;
  font-size: 16px;
  font-family: "OpenSans-Medium";
}

.price-strip {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: #fff;
  background: #ff5a66;
  font-size: 14px;
  line-height: 1.35;
  font-family: "OpenSans-Medium";
  text-align: center;
}

.difference-section {
  padding: 70px 0 69px;
  color: #222;
  background: #fff;
}

.difference-section h2 {
  margin: 0 0 24px;
  color: #000;
  font-size: 49px;
  line-height: 1.15;
  font-family: "OpenSans-Regular";
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
}

.difference-subtitle {
  margin: 0 0 63px;
  font-size: 23px;
  line-height: 1.3;
  text-align: center;
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 122px;
  row-gap: 68px;
  max-width: 1200px;
  margin: 0 auto;
}

.difference-item {
  display: grid;
  grid-template-columns: 59px 1fr;
  gap: 28px;
  align-items: start;
}

.check-icon {
  position: relative;
  width: 59px;
  height: 59px;
  border-radius: 50%;
  background: #7cc42d;
}

.check-icon::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 14px;
  width: 22px;
  height: 13px;
  border-left: 7px solid #fff;
  border-bottom: 7px solid #fff;
  transform: rotate(-45deg);
}

.difference-item h3 {
  margin: 1px 0 20px;
  color: #202020;
  font-size: 18px;
  line-height: 1.25;
  font-family: "OpenSans-SemiBold";
}

.difference-item p {
  margin: 0;
  color: #242424;
  font-size: 16px;
  line-height: 1.9;
  font-family: "OpenSans-Regular";
}

.dpf-section {
  padding: 40px 0 0;
  color: #303030;
  background: #fff;
}

.section-iframe {
  width: 100%;
  height: 700px;
}

.section-iframe iframe {
  width: 100%;
  height: 100%;
}

.dpf-container {
  max-width: 1200px;
}

.dpf-section h2 {
  margin: 0 0 55px;
  color: #111;
  font-size: 40px;
  line-height: 1.2;
  font-family: "OpenSans-Regular";
  text-align: center;
}

.dpf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: stretch;
}

.dpf-cell {
  min-height: 445px;
}

.dpf-text {
  padding: 34px 34px 26px;
  border: 1px solid #ededed;
  font-size: 15px;
  line-height: 1.85;
  font-family: "OpenSans-Regular";
}

.dpf-text p {
  margin: 0 0 28px;
}

.dpf-text p:last-child {
  margin-bottom: 0;
}

.dpf-text ul {
  margin: 0 0 8px;
  padding-left: 18px;
}

.dpf-media {
  overflow: hidden;
  background: #f3f3f3;
}

.dpf-media img,
.dpf-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.dpf-media video {
  height: auto;
  aspect-ratio: 1;
}

.dpf-media img {
  transition: transform .35s ease;
}

.dpf-video {
  background:
    radial-gradient(circle at 42% 45%, rgba(0, 151, 219, .75), transparent 31%),
    linear-gradient(135deg, #5eb6d4, #0c4564 58%, #163040);
}

.dpf-filter-img {
  background: #fff;
}

.about-service-section {
  padding: 48px 0 14px;
  color: #303030;
  background: #fff;
}

.about-service-section h2 {
  margin: 20px 0 20px;
  color: #202020;
  font-size: 23px;
  line-height: 1.25;
  font-family: "OpenSans-Regular";
  text-align: center;
}

.about-service-subtitle {
  max-width: 700px;
  margin: 0 auto 54px;
  color: #2c2c2c;
  font-size: 18px;
  line-height: 1.45;
  text-align: center;
}

.about-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: stretch;
}

.about-service-cell {
  min-height: 445px;
}

.about-service-text {
  padding: 34px 34px 28px;
  border: 1px solid #e1e1e1;
  font-size: 15px;
  line-height: 1.85;
  font-family: "OpenSans-Regular";
}

.about-service-text h3 {
  margin: 0 0 8px;
  color: #242424;
  font-size: 16px;
  line-height: 1.4;
  font-family: "OpenSans-Medium";
}

.about-service-text p {
  margin: 0 0 18px;
}

.about-service-text p:last-child {
  margin-bottom: 0;
}

.about-service-media {
  overflow: hidden;
  background: #f6f6f6;
}

.about-service-media img,
.about-service-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.about-service-media video {
  height: auto;
  aspect-ratio: 10/12;
}

.about-service-media img {
  transition: transform .35s ease;
}

.about-service-video {
  background:
    radial-gradient(circle at 42% 45%, rgba(0, 151, 219, .75), transparent 31%),
    linear-gradient(135deg, #5eb6d4, #0c4564 58%, #163040);
}

.about-service-scheme {
  background: #fff;
}

.work-steps-section {
  padding: 130px 0 130px;
  color: #111;
  background: #fff;
  text-align: center;
}

.work-steps-section h2 {
  margin: 0 0 78px;
  font-size: 40px;
  line-height: 1.2;
  font-family: "OpenSans-Regular";
  letter-spacing: .04em;
  text-transform: uppercase;
}

.work-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
}

.work-step {
  position: relative;
  padding-top: 1px;
}

.work-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(50% + 36px);
  top: 23px;
  width: calc(100% - 72px);
  height: 1px;
  background: #1c1c1c;
}

.work-step span {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  border-radius: 50%;
  color: #fff;
  background: #000;
  font-size: 16px;
  line-height: 1;
  font-family: "OpenSans-Medium";
}

.work-step p {
  max-width: 200px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.45;
  font-family: "OpenSans-Regular";
}

.gallery-section {
  padding: 65px 0 80px;
  color: #111;
  background: #fff;
  text-align: center;
}

.gallery-section h2 {
  margin: 0 0 55px;
  font-size: 40px;
  line-height: 1.2;
  font-family: "OpenSans-Regular";
  letter-spacing: .04em;
  text-transform: uppercase;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 30px;
}

.gallery-grid img {
  width: 100%;
  height: 335px;
  display: block;
  object-fit: cover;
  background: #d8d8d8;
  transition: transform .35s ease;
}

.reviews-section {
  padding: 62px 0 84px;
  color: #262626;
  background: #fff;
}

.reviews-section h2 {
  margin: 0 0 58px;
  color: #111;
  font-size: 39px;
  line-height: 1.2;
  font-family: "OpenSans-Regular";
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 31px;
  margin: 0 auto;
}

.review-card {
  min-height: 419px;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
  padding: 27px 23px 22px;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.review-card p {
  margin: 0;
  color: #444;
  font-size: 14px;
  line-height: 1.9;
  font-family: "OpenSans-Regular";
}

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

.review-author span {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #d8d8d8;
  font-family: "OpenSans-SemiBold";
  color: #aaa;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (hover: hover) {
  .dpf-media:hover img,
  .about-service-media:hover img,
  .gallery-grid img:hover,
  .review-author img:hover {
    transform: scale(1.08);
  }
}

.dpf-media img,
.about-service-media img,
.gallery-grid img,
.review-author img {
  cursor: zoom-in;
}

.review-author a {
  color: #555;
  font-size: 15px;
  line-height: 1.2;
  font-family: "OpenSans-SemiBold";
}

.policy-section {
  padding: 90px 0px 120px;
}

.site-footer {
  padding: 34px 0 30px;
  color: #2b2b2b;
  background: #fff;
  box-shadow: 0 -1px 0 #ededed;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  justify-content: space-between;
  gap: 48px;
}

.footer-legal {
  max-width: 760px;
}

.footer-legal h2 {
  margin: 0 0 16px;
  color: #2b2b2b;
  font-size: 18px;
  line-height: 1.2;
  font-family: "OpenSans-SemiBold";
}

.footer-legal p,
.footer-legal a {
  margin: 0 0 8px;
  color: #202020;
  font-size: 14px;
  line-height: 1.45;
  font-family: "OpenSans-Regular";
}

.footer-legal a {
  border-bottom: solid 1px #ededed;
  font-family: "OpenSans-Medium";
  margin-top: 20px;
}

.privacy-link {
  display: inline-block;
  margin-top: 10px;
  color: #2f8df5;
  text-decoration: none;
}

.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #2b2b2b;
  font-size: 14px;
  line-height: 1.3;
  font-family: "OpenSans-Medium";
}

.footer-contact p {
  margin: 0;
}

.footer-contact a {
  color: #222;
  text-decoration: none;
}

.footer-call-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  object-fit: contain;
}

.image-popup {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 36px;
  background: rgba(0, 0, 0, .9);
}

.image-popup.is-open {
  display: flex;
}

.image-popup-img {
  width: min(100%, 1400px);
  max-height: calc(100vh - 72px);
  display: block;
  object-fit: contain;
  background: #111;
}

.image-popup-close {
  position: absolute;
  top: 18px;
  right: 24px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  font-size: 34px;
  line-height: 38px;
}

.image-popup-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .14);
  font-size: 54px;
  line-height: 48px;
  transform: translateY(-50%);
}

.image-popup-prev {
  left: 24px;
}

.image-popup-next {
  right: 24px;
}

.image-popup:not(.is-gallery) .image-popup-arrow {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, .88);
}

.modal.is-open {
  display: flex;
}

.modal-dialog {
  position: relative;
  width: min(570px, 100%);
}

.modal-close {
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  color: #aaa;
  background: transparent;
  font-size: 28px;
  line-height: 30px;
}

.modal-form {
  padding: 45px 45px 48px;
}

.modal-form h2 {
  margin-bottom: 32px;
  font-size: 22px;
  font-family: "OpenSans-SemiBold";
}

.modal-form label {
  margin-bottom: 25px;
}

.modal-form span {
  margin-bottom: 13px;
  font-size: 14px;
  text-transform: uppercase;
}

.modal-form input {
  height: 47px;
}

.modal-form button[type="submit"] {
  height: 55px;
  margin-top: 5px;
  background: #475bbd;
  font-size: 18px;
}

.modal-form p {
  max-width: 390px;
  margin-top: 24px;
  font-size: 14px;
}

body.modal-open {
  overflow: hidden;
}

@media (min-width: 1100px) {
  video.hero-bg {
    display: block;
  }
}

@media (max-width: 1100px) {
  img.hero-bg {
   display: block;
  }

  .header-inner {
    min-height: 130px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 24px 0;
  }

  .logo {
    width: 220px;
    flex-basis: 220px;
  }

  .header-benefits {
    order: 3;
    flex-basis: 100%;
    gap: 28px;
  }

  .hero-content {
    grid-template-columns: 360px 1fr;
    gap: 34px;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 24px, 1200px);
  }

  .header-inner {
    align-items: center;
    gap: 18px;
  }

  .header-benefits {
    display: none;
  }

  .header-contacts {
    min-width: 0;
  }

  .phone {
    font-size: 18px;
  }

  .alert-strip {
    min-height: 56px;
    font-size: 14px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 36px 0 42px;
  }

  .hero-title {
    margin-bottom: 34px;
  }

  .hero-title h1 {
    font-size: 25px;
  }

  .hero-title p {
    font-size: 18px;
  }

  .hero-title strong,
  .hero-title span {
    font-size: 21px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .features {
    padding-top: 0;
  }

  .process-section {
    padding: 42px 0 48px;
  }

  .process-section h2 {
    font-size: 30px;
  }

  .process-section p {
    margin-bottom: 42px;
    font-size: 19px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

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

  .difference-section {
    padding: 52px 0;
  }

  .difference-section h2 {
    font-size: 34px;
  }

  .difference-subtitle {
    margin-bottom: 40px;
  }

  .difference-grid {
    grid-template-columns: 1fr;
    gap: 38px;
    max-width: 620px;
  }

  .dpf-section h2 {
    margin-bottom: 34px;
    font-size: 34px;
  }

  .dpf-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin: 0 auto;
  }

  .dpf-cell {
    min-height: 360px;
  }

  .about-service-section {
    padding-top: 38px;
  }

  .about-service-subtitle {
    margin-bottom: 36px;
    font-size: 16px;
  }

  .about-service-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin: 0 auto;
  }

  .about-service-cell {
    min-height: 360px;
  }

  .work-steps-section {
    padding: 70px 0;
  }

  .work-steps-section h2 {
    margin-bottom: 48px;
    font-size: 34px;
  }

  .work-steps {
    max-width: 520px;
    display: block;
  }

  .work-step {
    display: grid;
    grid-template-columns: 47px 1fr;
    gap: 18px;
    align-items: center;
    margin-bottom: 28px;
    text-align: left;
  }

  .work-step:not(:last-child)::after {
    left: 23px;
    top: 47px;
    width: 1px;
    height: 28px;
  }

  .work-step span {
    margin: 0;
  }

  .work-step p {
    max-width: none;
    margin: 0;
  }

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

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

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

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-contact {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .header-inner {
    min-height: 0;
    flex-direction: column;
    padding: 18px 0;
  }

  .logo {
    width: 210px;
    height: 56px;
    flex: 0 0 56px;
  }

  .header-contacts {
    text-align: center;
  }

  .callback-btn {
    width: 100%;
    max-width: 260px;
  }

  .hero-title h1 {
    font-size: 22px;
  }

  .hero-title strong,
  .hero-title span {
    font-size: 18px;
  }

  .service-form {
    padding: 26px 22px 30px;
  }

  .feature {
    grid-template-columns: 44px 1fr;
    gap: 14px;
    margin-bottom: 30px;
  }

  .feature-number {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .feature h3 {
    font-size: 17px;
  }

  .process-section h2 {
    font-size: 24px;
  }

  .process-section p {
    margin-bottom: 28px;
    font-size: 17px;
  }

  .services-section {
    padding-bottom: 46px;
  }

  .services-section h2 {
    margin-bottom: 34px;
    font-size: 32px;
  }

  .service-card {
    padding: 34px 22px;
  }

  .service-card h3 {
    min-height: 0;
    margin-bottom: 70px;
    font-size: 17px;
  }

  .service-card strong {
    font-size: 32px;
  }

  .service-note {
    min-height: 0;
  }

  .service-list {
    font-size: 16px;
  }

  .price-strip {
    min-height: 62px;
    font-size: 14px;
  }

  .difference-section h2 {
    font-size: 28px;
  }

  .difference-subtitle {
    font-size: 18px;
  }

  .difference-item {
    grid-template-columns: 46px 1fr;
    gap: 16px;
  }

  .check-icon {
    width: 46px;
    height: 46px;
  }

  .check-icon::before {
    left: 13px;
    top: 11px;
    width: 17px;
    height: 10px;
    border-left-width: 6px;
    border-bottom-width: 6px;
  }

  .difference-item h3 {
    margin-bottom: 12px;
    font-size: 16px;
  }

  .difference-item p {
    font-size: 14px;
    line-height: 1.6;
  }

  .dpf-section {
    padding-top: 32px;
  }

  .dpf-section h2 {
    font-size: 29px;
  }

  .dpf-cell {
    min-height: 270px;
  }

  .dpf-text {
    padding: 24px 20px;
    font-size: 15px;
    line-height: 1.7;
  }

  .about-service-section h2 {
    font-size: 20px;
  }

  .about-service-subtitle {
    font-size: 15px;
  }

  .about-service-cell {
    min-height: 270px;
  }

  .about-service-text {
    padding: 24px 20px;
    font-size: 15px;
    line-height: 1.7;
  }

  .work-steps-section {
    padding: 54px 0;
  }

  .work-steps-section h2 {
    font-size: 28px;
  }

  .gallery-section {
    padding: 48px 0;
  }

  .gallery-section h2 {
    margin-bottom: 34px;
    font-size: 28px;
  }

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

  .gallery-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 260 / 335;
  }

  .reviews-section {
    padding: 48px 0;
  }

  .reviews-section h2 {
    margin-bottom: 34px;
    font-size: 27px;
  }

  .review-card {
    padding: 22px 18px;
  }

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

  .site-footer {
    padding: 28px 0;
  }

  .footer-inner {
    gap: 18px;
  }

  .footer-legal h2 {
    font-size: 17px;
  }

  .footer-legal p,
  .footer-legal a {
    font-size: 13px;
  }

  .image-popup {
    padding: 16px;
  }

  .image-popup-img {
    max-height: calc(100vh - 32px);
  }

  .image-popup-arrow {
    width: 42px;
    height: 42px;
    font-size: 42px;
    line-height: 34px;
  }

  .image-popup-prev {
    left: 8px;
  }

  .image-popup-next {
    right: 8px;
  }

  .modal {
    padding: 14px;
  }

  .modal-form {
    padding: 38px 24px 34px;
  }

  .modal-form h2 {
    font-size: 20px;
  }
}


.chat-block {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 5;
}

.chat-block .start-block {
    width: 80px;
    height: 80px;
    display: flex;
    border-radius: 50%;
    background-color: #28a71b;
    box-shadow: 0 0 8px 0 rgba(43, 42, 40, 0.5);
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.chat-block .start-block img {
    height: 50px;
}

.chat-block .popup-button,
.chat-block .max-button {
    display: none;
}

.chat-block .popup-button img,
.chat-block .max-button img {
    width: 50px;
    position: relative;
    z-index: 2;
}

.chat-block:hover {
    height: 300px;
    width: 80px;
}

.chat-block:hover .start-block {
    position: absolute;
    bottom: 0;
    right: 0;
}

.chat-block:hover .popup-button {
    display: block;
    position: absolute;
    bottom: 100px;
    right: 15px;
    cursor: pointer;
}

.chat-block:hover .max-button {
    display: block;
    position: absolute;
    bottom: 100px;
    right: 15px;
    cursor: pointer;
}

.chat-block .popup-button span,
.chat-block .max-button span {
    display: none;
}

.chat-block .popup-button:hover span,
.chat-block .max-button:hover span {
    display: block;
    position: absolute;
    top: 12px;
    right: 30px;
    background-color: #E8E8E8;
    padding: 8px 30px 8px 15px;
    text-align: right;
    border-radius: 3px;
    white-space: nowrap;
    font-family: "OpenSans-Light";
    color: #2B2A28;
    font-size: 14px;
}