html {
  scroll-behavior: smooth;
}

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

:root {
  --primary-color: #007bff;
  --primary-color-hover: #1d66cd;
  --background-color-dark: #f8f9fa;
  --background-color-light: #fff;
  --font-color-dark: #212529;
  --second-color-dark: rgba(33, 37, 41, 0.8);
  --font-color-light: #fff;
  --shadow: 0 1px 11px 0 rgba(0, 0, 0, 0.1);
  --font-size-h2: 54px;
  --font-size-h1: 48px;
  --font-size-hw: 700;
  --font-size-title: 24px;
  --font-size-subtitle: 20px;
  --font-size-paragraph: 18px;
  --font-size-small: 16px;
  --margin-top: 60px;
  --margin-bottom: 60px;
  --padding: 32px;
  --border: 30px;
}

*,
a {
  font-family: "Rubik", sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
  color: inherit;
}

html {
  scroll-padding-top: 90px; /* смещение для ПК */
}

h1 {
  font-weight: 700;
  font-size: var(--font-size-h1);
  text-transform: uppercase;
  color: var(--font-color-light);
}

h2 {
  font-size: var(--font-size-h2);
  font-weight: var(--font-size-hw);
  color: var(--font-color-dark);
  max-width: 840px;
}

h3 {
  font-size: var(--font-size-title);
  font-weight: 600;
  color: var(--font-color-dark);
}

.container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

button {
  border: none;
  width: fit-content;
}

.button {
  border-radius: var(--border);
  padding: 18px 36px;
  background: var(--primary-color);
  font-weight: 600;
  font-size: var(--font-size-subtitle);
  text-align: center;
  color: var(--font-color-light);
  cursor: pointer;
  transition: background 0.3s ease;
}

.button:hover {
  background: var(--primary-color-hover);
}

.white {
  background: var(--background-color-light);
  color: var(--font-color-dark);
}

.button.white:hover {
  background: var(--background-color-dark);
  color: var(--primary-color);
}

body {
  scroll-behavior: smooth;
  background-color: var(--background-color-light);
  color: var(--font-color-dark);
  width: 100%;
  padding: 20px 0 0 0;
  margin: 0 auto;
  overflow-x: hidden;
}

footer {
  width: 100%;
}

.column-spacing {
  padding-top: var(--margin-top);
  padding-bottom: var(--margin-bottom);
}

.background-dark {
  background-color: var(--background-color-dark);
  position: absolute;
  width: 100vw;
  height: 100%;
  top: 0;
  left: 50%;
  margin-left: -50vw;
  z-index: -1;
  box-shadow: var(--shadow);
}
.header.sticky {
  max-width: 100%;
  width: 100%;
  border-radius: 0;
  margin: 0 auto;
}

.header__wrap {
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  color: var(--font-color-dark);
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
  max-width: 1440px;
  transition: max-width 0.3s ease;
}

.header.sticky .header__wrap {
  width: 100%;
  max-width: 1400px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-radius: var(--border);
  background-color: var(--background-color-dark);
  box-shadow: var(--shadow);
  padding: 20px var(--padding);
  max-width: 1400px;
  width: 100%;
  transition: max-width 0.3s ease;
}

.header .logo img {
  width: 100%;
  max-width: 156px;
}

.header__menu ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 24px;
}
.header__menu li {
  list-style: none;
  position: relative;
  transition: color 0.3s ease;
}

.header__menu li::before {
  content: "";
  position: absolute;
  opacity: 0;
  height: 0;
  width: 100%;
  border-radius: 10px;
  background-color: var(--primary-color);
  bottom: -8px;
  left: 0;
  transition:
    opacity 0.3s ease,
    height 0.3s ease;
}

.header__menu li:hover {
  color: var(--primary-color);
}

.header__menu li:hover::before {
  opacity: 1;
  height: 2px;
}

.header__menu li a {
  font-size: var(--font-size-small);
  font-weight: 600;
}

.header__contacts {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.contact {
  display: inline-flex;
  gap: 6px;
  color: var(--font-color-dark);
  transition: 0.3s ease;
}

.contact:hover {
  color: var(--primary-color);
}

.header__contacts a {
  font-size: var(--font-size-paragraph);
  color: var(--font-color-dark);
  font-weight: 600;
}

/* hero (главный экран) */
.hero {
  margin-top: 20px;
  display: flex;
  align-items: center;
  width: 100%;
  gap: 24px;
  background: url(../images/offer.webp) no-repeat left center;
  background-size: cover;
  box-shadow: var(--shadow);
  border-radius: var(--border);
  padding: var(--padding);
  min-height: 700px;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--border);
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.32) 0%,
    rgba(0, 0, 0, 0) 45%,
    rgba(0, 0, 0, 0) 72%
  );
  pointer-events: none;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 500px;
  position: relative;
  z-index: 1;
}

.hero__content p {
  font-size: 30px;
  font-weight: 500;
  color: var(--font-color-light);
  white-space: nowrap;
}

.animated-text {
  background: linear-gradient(
    90deg,
    var(--font-color-light),
    var(--primary-color)
  );
  background-size: 400% 400%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  grid-column: 2 / 3;
}

/* advantages (преимущества) */
.advantages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.advantages__left {
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.advantages__left article {
  background-color: var(--background-color-dark);
  padding: var(--padding);
  border-radius: var(--border);
  box-shadow: var(--shadow);
  font-size: var(--font-size-subtitle);
  font-weight: 400;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  border: 2px solid var(--primary-color);
}

.advantages__left article img {
  width: 53px;
  height: 53px;
  object-fit: contain;
}

.advantages__left article svg {
  width: 53px;
  height: 53px;
  flex-shrink: 0;
}

.advantages__card-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.advantages__card-text h4 {
  font-size: var(--font-size-subtitle);
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

.advantages__card-text p {
  font-size: var(--font-size-small);
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
  color: #6c757d;
}

.advantages__right ul {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
}

.advantages__right li {
  font-size: var(--font-size-subtitle);
  font-weight: 400;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.advantages__right li::before {
  content: "•";
  color: var(--primary-color);
  font-size: 26px;
}

/* service-1 (Бурение скважин) */

.background-position {
  position: relative;
  z-index: 2;
}

.services__wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
  gap: 24px;
  margin-top: var(--margin-top);
}

.card {
  position: relative;
  background-color: var(--primary-color);
  border-radius: var(--border) var(--border) 32px 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.services__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  flex: 1;
  padding: 0 3px 3px;
}

.services__spacing {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.services__spacing h4 {
  max-width: 390px;
  margin: 0 auto;
  padding: var(--padding) var(--padding) 0 var(--padding);
  font-weight: 500;
  font-size: var(--font-size-title);
  text-align: center;
  color: var(--font-color-light);
}

.services img {
  border-radius: var(--border) var(--border) 0 0;
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  object-position: bottom;
  display: block;
  border-width: 4px 4px 0 4px; /* ширина для каждой стороны */
  border-style: solid; /* стиль границы */
  border-color: var(--primary-color); /* цвет границы */
}

/* arrangement (оформление) */

.card__title::after {
  content: attr(data-price);
  padding: 17px 20px;
  position: absolute;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  color: var(--font-color-light);
  font-weight: 600;
  font-size: var(--font-size-subtitle);
  text-align: center;
  border-radius: 0 var(--border);
  top: 0;
  right: 0;
  min-width: 110px;
  background-color: var(--primary-color);
}
/* technic (Виды рабочей техники) */

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

.technic__wrap h3 {
  padding-top: var(--margin-top);
}

.technic__item {
  padding-top: var(--padding);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 24px;
}

.technic__left {
  height: 100%;
  width: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: var(--border);
  box-shadow: var(--shadow);
}

.technic__left-1 {
  background-image: url("../images/technic-1.webp");
}

.technic__left-2 {
  background-image: url("../images/technic-2.webp");
}

.technic__icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.technic__right {
  display: flex;
  flex-direction: column;
  padding: var(--padding) 0;
  gap: var(--padding);
  justify-content: center;
}

.technic__details {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 16px;
}

.technic__details p {
  font-size: var(--font-size-subtitle);
  font-weight: 400;
  color: var(--font-color-dark);
}

.technic__details p span {
  font-weight: 600;
  color: var(--primary-color);
}

/* steps (Как мы работаем) */

.steps__wrap {
  margin-top: var(--margin-top);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.steps__item-small,
.steps__item-big {
  display: flex;
  padding: var(--padding);
  border-radius: var(--border);
  flex-direction: column;
  gap: 24px;
  box-shadow: var(--shadow);
}

.steps__item-small {
  grid-column: 1;
  flex-direction: row;
  background-color: var(--background-color-light);
}

.steps__item-big {
  color: var(--font-color-light);
  background-color: var(--primary-color);
  grid-column: 2;
  grid-row: 1 / 4;
}

.steps__item-big .steps__subtitle li::before {
  color: var(--background-color-light);
}

.steps__item-small .button {
  width: fit-content;
}

.steps__details {
  flex: 1;
  height: min-content;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.steps__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.steps__number {
  flex-shrink: 0;
  border-radius: 100px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: 20px;
  background-color: var(--primary-color);
  color: var(--font-color-light);
}

.steps__title {
  font-size: var(--font-size-title);
  font-weight: 600;
}

.steps__subtitle ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.steps__subtitle li {
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: var(--font-size-subtitle);
  font-weight: 400;
  line-height: 120%;
}

.steps__subtitle li::before {
  content: "•";
  font-size: 26px;
  color: var(--primary-color);
}

.steps__img {
  display: none;
  flex: 0 0 220px;
  height: auto;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: var(--border);
}

.steps__item-big .steps__img {
  max-width: 100%;
  flex: auto;
}

.steps__item-big .steps__number {
  color: var(--primary-color);
  background-color: var(--background-color-light);
}

.steps__img-1 {
  background-image: url("../images/steps-1.webp");
}

.steps__img-2 {
  background-image: url("../images/steps-2.webp");
}

.video-container {
  position: relative; /* Обязателен для управления позиционированием */
  width: 100%; /* Ширина контейнера */
  height: 100%; /* Высота контейнера */
  min-height: 330px;
  overflow: hidden; /* Обрезаем лишнее видео */
  display: flex; /* Для выравнивания содержимого */
  justify-content: center; /* Центровка по горизонтали */
  align-items: start; /* Выравнивание по верхней границе */
  border-radius: var(--border);
}

.video-container video {
  position: absolute;
  top: -20px;
  left: 50%; /* Центрируем по горизонтали */
  transform: translateX(-50%); /* Смещаем назад на половину ширины видео */
  width: 100%;
  height: auto; /* Сохраняем пропорции видео */
}

/* faq (Ответы на ваши вопросы) */

.faq__accordion {
  margin-top: var(--margin-top);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  border-radius: var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq__question {
  width: 100%;
  padding: var(--padding);
  background-color: var(--primary-color);
  border: none;
  outline: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-size-title);
  color: var(--font-color-light);
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.faq__question:hover {
  background-color: var(--primary-color-hover);
}

.faq__icon {
  font-size: 24px;
  transition: transform 0.3s ease;
}

.faq__question.active .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 var(--padding);
  background-color: var(--background-color-dark);
  font-size: var(--font-size-subtitle);
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}

.faq__answer .steps__subtitle {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__answer.open {
  max-height: 430px;
  padding: var(--padding);
}

/* contact-form (форма обратной связи) */

.contact__wrap {
  background-color: var(--primary-color);
  padding: var(--margin-top) var(--padding);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-radius: var(--border);
  justify-content: space-between;
  gap: var(--padding);
  box-shadow: var(--shadow);
}

.contact__left {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 24px;
}

.contact__left h3 {
  font-weight: 500;
  font-size: 36px;
  line-height: 120%;
  color: var(--font-color-light);
}

.contact__left li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact__left ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__left p {
  font-weight: 400;
  font-size: var(--font-size-subtitle);
  line-height: 120%;
  color: var(--font-color-light);
}

.contact__messengers {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__messengers h6 {
  font-weight: 400;
  font-size: var(--font-size-small);
  line-height: 140%;
  color: var(--font-color-light);
}

.contact__icons {
  display: flex;
  gap: 16px;
}

.contact__icons img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.contact__right {
  background-color: var(--background-color-light);
  padding: var(--padding);
  border-radius: var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__right h3 {
  font-weight: 500;
  font-size: var(--font-size-title);
  line-height: 140%;
}

.contact__form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__form input {
  font-weight: 400;
  font-size: var(--font-size-small);
  line-height: 150%;
  color: #212529;
  border-radius: var(--border);
  padding: 12px var(--padding);
  width: 100%;
  border: none;
  background-color: #eeeeee;
}

.contact__form textarea {
  font-weight: 400;
  font-size: var(--font-size-small);
  line-height: 150%;
  color: var(--font-color-dark);
  border-radius: var(--border);
  padding: 12px var(--padding);
  width: 100%;
  resize: none;
  border: none;
  background-color: #eeeeee;
}

.contact__group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-check {
  margin-top: 12px;
  display: flex;
  align-items: center;
  flex-direction: row;
  position: relative;
}

.form-check input[type="checkbox"] {
  display: none;
}

.form-check label {
  position: relative;
  user-select: none;
  cursor: pointer;
  padding-left: 36px; /* Для отступа от квадрата */
}

.form-check label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-color);
  border-radius: 4px;
  background-color: #fff;
  transition:
    background-color 0.3s,
    border-color 0.3s;
}

.form-check label::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 44%;
  transform: translateY(-50%) rotate(45deg) scale(0);
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  opacity: 0;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.form-check input[type="checkbox"]:checked + label::before {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check input[type="checkbox"]:checked + label::after {
  opacity: 1;
  transform: translateY(-50%) rotate(45deg) scale(1);
}

.contact__privacy {
  color: var(--primary-color);
  text-decoration: underline;
}

/* footer (навигация низ) */

footer {
  padding: 40px var(--padding);
}

footer li {
  list-style: none;
  max-width: min-content;
  white-space: nowrap;
  position: relative;
}

.footer__left li::before {
  content: "";
  position: absolute;
  opacity: 0;
  height: 2px;
  width: 100%;
  border-radius: 10px;
  background-color: var(--primary-color);
  bottom: -8px;
  left: 0;
  transition: opacity 0.3s ease;
}

.footer__left li:hover {
  color: var(--primary-color);
}

.footer__left li:hover::before {
  opacity: 1;
}

.footer__wrap {
  display: flex;
  gap: 40px;
  flex-direction: column;
  width: 100%;
}

.footer__navigation {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.footer__left {
  display: flex;
  flex-direction: column;
  gap: var(--padding);
}

.footer .logo img {
  width: 100%;
  max-width: 156px;
}

.footer__left ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer__left li {
  font-weight: 400;
  font-size: var(--font-size-paragraph);
}

.footer__right h3 {
  text-align: right;
  font-weight: 600;
  font-size: var(--font-size-title);
}

.footer__right {
  display: flex;
  flex-direction: column;
  gap: var(--padding);
}

.footer__right ul {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
}

.footer__mail {
  display: flex;
  flex-direction: column;
  gap: 1px;
  align-items: flex-end;
}

.footer__mail .footer__subtitle {
  transition: 0.3s ease;
}

.footer__mail:hover .footer__subtitle {
  color: var(--primary-color);
}

.footer__contact {
  font-weight: 600;
  font-size: var(--font-size-subtitle);
}

.footer__title {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.footer__subtitle {
  font-weight: 400;
  font-size: 14px;
}

.footer__mail .footer__subtitle {
  text-decoration: underline;
}

.footer__right li {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}

.footer__rules {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: var(--padding);
  font-weight: 400;
  font-size: var(--font-size-paragraph);
}

.footer__rules span {
  font-weight: 600;
}

/* Стиль для балуна (всплывающего окна) Яндекс.Карт в фирменных цветах */
#yamap {
  height: 100%;
}

.yamap-balloon {
  font-family: "Rubik", sans-serif;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 16px;
  background: #fff;
  border-radius: 20px;
  padding: 14px 49px 14px 14px;
  width: 280px;
  min-height: 64px;
  position: relative;
  border: 3px solid var(--primary-color);
}

.yamap-balloon .yamap-logo {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 38px;
  height: 38px;
  background: #fff;
  border-radius: 50%;
  padding: 3px;
  border: 2px solid var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.yamap-balloon .yamap-logo img {
  display: block;
  width: 30px;
  position: relative;
  top: -1px;
  object-fit: contain;
}

.yamap-item::before {
  content: "• ";
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
}

.yamap-item {
  font-weight: 400;
  color: var(--font-color-dark);
  font-size: 16px;
}

.yamap-item .watermark {
  font-weight: 500;
}

.yamap-address {
  font-weight: 400;
  font-size: 16px;
  text-transform: capitalize;
  text-decoration: underline;
  line-height: 120%;
  display: flex;
  align-items: flex-start;
  gap: 3px;
}

.yamap-address svg {
  display: inline-block;
  padding-top: 2px;
  width: 10px;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.yamap-balloon .waterline {
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 700;
}

@media screen and (max-width: 1581px) {
  .container {
    max-width: 100%;
    overflow: hidden;
  }

  .header {
    max-width: calc(100% - 40px);
  }

  .header__wrap {
    max-width: 100%;
  }

  .header.sticky .header__wrap {
    width: 100%;
    max-width: 100%;
  }

  .services img {
    max-height: 340px;
  }

  .services__spacing {
    gap: 16px;
  }

  .card {
    position: relative;
    background-color: var(--primary-color);
    border-radius: 24px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
  }

  :root {
    --padding: 20px;
    --border: 20px;
  }
}

@media screen and (max-width: 1280px) {
  .container {
    max-width: 1280px;
  }

  .header {
    width: 100%;
    max-width: calc(100% - 40px);
  }

  .hero__content p {
    white-space: normal;
  }

  main .container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
  }

  .header__menu li a {
    font-size: 16px;
  }

  :root {
    --font-size-h1: 28px;
    --font-size-h2: 24px;
    --font-size-hw: 700;
    --font-size-title: 18px;
    --font-size-subtitle: 16px;
    --font-size-paragraph: 16px;
    --font-size-small: 14px;
    --margin-top: 40px;
    --margin-bottom: 40px;
    --padding: 20px;
    --border: 20px;
  }

  .contact__left h3 {
    font-size: 26px;
  }
}

@media screen and (max-width: 765px) {
  .header__contacts,
  .header__menu {
    display: none;
  }

  .yamap-balloon {
    width: 260px;
  }

  #yamap {
    margin-top: var(--margin-top);
    height: 40vh;
  }

  :root {
    --font-size-h1: 28px;
    --margin-top: 32px;
    --margin-bottom: 32px;
  }

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

  .advantages__left,
  .advantages__right {
    grid-column: 1 / 1;
  }

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

  .advantages__right {
    order: -1;
  }

  .button {
    white-space: nowrap;
    padding: 16px;
    width: 100%;
  }
}
@media screen and (max-width: 480px) {
  :root {
    --margin-top: 24px;
    --margin-bottom: 24px;
  }

  .hero {
    background-position: center center;
    justify-content: center;
    min-height: 480px;
    padding: 40px 20px;
  }
  .hero::before {
    background: rgba(0, 0, 0, 0.52);
  }

  .video-container {
    display: none;
  }

  .hero__content {
    max-width: 100%;
    gap: 24px;
    align-items: center;
  }

  #hero-title {
    text-align: center;
  }

  .hero__content p {
    font-size: 22px;
    text-align: center;
  }

  .hero img {
    grid-column: 1 / 1;
  }

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

  .advantages__left,
  .advantages__right {
    grid-column: 1 / 1;
  }

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

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

  .services img {
    max-height: 280px;
  }

  .card__title::after {
    font-size: 16px;
  }

  .card {
    border-radius: var(--border) var(--border) 23px 23px;
  }

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

  .technic__left {
    height: 200px;
  }

  .steps__wrap {
    display: flex;
    flex-direction: column;
  }

  .steps__item-small {
    flex-direction: column;
  }

  .steps__img {
    flex: auto;
    max-width: 100%;
  }

  .steps__number {
    margin-bottom: 12px;
    border-radius: 100px;
    width: 40px;
    height: 40px;
    padding: var(--border);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
  }

  .steps__img {
    display: none;
  }

  .faq__answer.open {
    max-height: 790px;
  }

  .contact__wrap {
    grid-template-columns: 1fr;
    padding: 20px var(--padding);
  }

  .footer__navigation {
    flex-direction: column;
    gap: 40px;
  }

  .footer__rules {
    flex-direction: column-reverse;
    gap: 20px;
  }

  .footer__right,
  .footer__right ul,
  .footer__right li {
    align-items: flex-start;
  }

  body {
    padding: 0;
  }
  .header {
    position: sticky;
    top: 0;
    max-width: 100%;
    width: 100%;
    border-radius: 0;
  }

  .footer .logo {
    max-width: 240px;
  }

  .footer__mail {
    align-items: flex-start;
  }
}

#snow-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

@media (prefers-reduced-motion: reduce) {
  #snow-canvas {
    display: none;
  }
}

/* ── Task 10: Button shimmer animation ── */
.button {
  overflow: hidden;
  position: relative;
}
.button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: btn-shimmer 3s infinite;
  pointer-events: none;
}
@keyframes btn-shimmer {
  0% {
    left: -100%;
  }
  50% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}

/* ── Task 9: Engineer section ── */
.engineer__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.engineer__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.engineer__subtitle {
  font-size: var(--font-size-paragraph);
  color: var(--second-color-dark);
  line-height: 140%;
}

.engineer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.engineer__list li {
  font-size: var(--font-size-subtitle);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 6px;
}

.engineer__list li::before {
  content: "•";
  color: var(--primary-color);
  font-size: 26px;
}

.engineer__image {
  height: 100%;
  border-radius: var(--border);
  background-color: #e8f0fe;
  background-image: url("../images/ingener.webp");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

/* ── Task 1: Advantages right — 3-column card grid ── */
.advantages__right {
  background-color: var(--background-color-dark);
  padding: var(--padding);
  border-radius: var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow);
  border: 2px solid var(--primary-color);
}

@media (min-width: 766px) {
  .advantages__right {
    grid-column: 3 / 4;
  }
}

.advantages__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  height: 100%;
}

.advantages__card {
  background-color: var(--background-color-light);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow);
  font-size: var(--font-size-small);
  font-weight: 400;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 140%;
}

.advantages__dot {
  color: var(--primary-color);
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.arr-nav {
  display: flex;
  gap: 8px;
  margin-top: calc(var(--margin-top) / 2);
  border-bottom: 2px solid #e8eaed;
  padding-bottom: 0;
}
.arr-nav__btn {
  position: relative;
  background: none;
  border: none;
  padding: 12px 28px 14px;
  font-size: var(--font-size-small);
  font-weight: 600;
  color: var(--second-color-dark);
  cursor: pointer;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.arr-nav__btn::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.arr-nav__btn:hover {
  color: var(--primary-color);
}
.arr-nav__btn.active {
  color: var(--primary-color);
}
.arr-nav__btn.active::after {
  transform: scaleX(1);
}
.arr-panels {
  margin-top: var(--margin-top);
}
.arr-panel {
  display: none;
}
.arr-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--margin-top);
  align-items: stretch;
}
.arr-panel__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.arr-panel__badge {
  display: inline-block;
  align-self: flex-start;
  background-color: rgba(0, 123, 255, 0.1);
  color: var(--primary-color);
  font-size: var(--font-size-small);
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.01em;
}
.arr-panel__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--font-color-dark);
  line-height: 1.2;
}
.arr-panel__desc {
  font-size: var(--font-size-small);
  color: var(--second-color-dark);
  line-height: 1.65;
}
.arr-panel__depth {
  color: var(--primary-color);
  font-weight: 500;
}
.arr-panel__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.arr-panel__features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--font-size-small);
  color: var(--font-color-dark);
  line-height: 1.45;
}
.arr-panel__features li svg {
  flex-shrink: 0;
  margin-top: 1px;
}
.arr-panel__price {
  font-size: var(--font-size-title);
  font-weight: 700;
  color: var(--primary-color);
}
.arr-panel__btn {
  align-self: flex-start;
  width: auto;
  padding: 14px 32px;
  font-size: var(--font-size-small);
}
.arr-panel__img-wrap {
  position: relative;
  border-radius: var(--border);
  overflow: hidden;
  min-height: 0;
  box-shadow: var(--shadow);
}
.arr-panel__img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s ease;
}
.arr-panel__img-wrap:hover img {
  transform: scale(1.03);
}
@media screen and (max-width: 900px) {
  .arr-panel.active {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .arr-panel__img-wrap {
    order: -1;
    aspect-ratio: 4/3;
  }
  .arr-panel__title {
    font-size: 26px;
  }
}
@media screen and (max-width: 600px) {
  .arr-nav {
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .arr-nav::-webkit-scrollbar {
    display: none;
  }
  .arr-nav__btn {
    padding: 12px 20px 16px;
    font-size: 14px;
  }
  .arr-nav__btn::after {
    bottom: 0;
  }
  .arr-panel__title {
    font-size: 18px;
  }
  .arr-panel__btn {
    width: 100%;
    text-align: center;
  }
}

/* ── Works & Certs sliders ── */
.works-slider h2,
.certs-slider h2 {
  margin-bottom: var(--margin-top);
}

.works-swiper .swiper-wrapper {
  align-items: stretch;
}
.works-swiper .swiper-slide {
  height: auto;
}
.works-swiper .swiper-pagination {
  display: none;
}
.works-swiper__nav {
  display: none;
}
.works-swiper__button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--font-color-light);
  box-shadow: 0 8px 24px rgba(0, 123, 255, 0.28);
  cursor: pointer;
  transition:
    background 0.2s ease,
    opacity 0.2s ease;
}
.works-swiper__button span {
  font-size: 24px;
  line-height: 1;
}
.works-swiper__button:focus-visible {
  outline: 3px solid rgba(0, 123, 255, 0.38);
  outline-offset: 4px;
}
.works-swiper__button.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
@media (hover: hover) {
  .works-swiper__button:not(.swiper-button-disabled):hover {
    background: var(--primary-color-hover);
  }
}
@media (min-width: 769px) {
  .works-swiper {
    position: relative;
  }
  .works-swiper__nav {
    position: absolute;
    top: 50%;
    right: 16px;
    left: 16px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    transform: translateY(-50%);
  }
  .works-swiper__button {
    display: inline-flex;
    pointer-events: auto;
  }
}
@media (max-width: 768px) {
  .works-swiper .swiper-pagination {
    display: block;
    position: static;
    margin-top: 16px;
  }
  .works-swiper__nav {
    display: none;
  }
}

.work-card {
  border-radius: var(--border);
  overflow: hidden;
  position: relative;
  height: 560px;
  cursor: pointer;
}
.work-card__img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.work-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.work-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px 24px;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(20px);
  background: rgb(1 123 255 / 10%);
  display: flex;
  flex-direction: column;
}
.work-card__title {
  padding: 0 0 12px;
  font-size: var(--font-size-title);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.work-card__params {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}
.work-card__params li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-size-small);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.work-card__param-label {
  color: rgba(255, 255, 255, 0.65);
}
.work-card__param-value {
  font-weight: 600;
  color: #fff;
}
.work-card__badge {
  display: inline-block;
  align-self: flex-start;
  margin: 14px 0 0;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}
.work-card__badge--keson {
  background: var(--primary-color);
  color: var(--font-color-light);
}

.work-card__badge--adapter {
  background: rgba(40, 167, 69, 1);
  color: var(--font-color-light);
}

.cert-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.cert-card img {
  width: 100%;
  height: 380px;
  object-fit: contain;
  object-position: top;
  border-radius: 0;
  background: none;
  border: none;
  transition: box-shadow 0.25s ease;
}
.cert-card:hover img {
  box-shadow: 0 8px 32px rgba(0, 123, 255, 0.15);
}
.cert-caption {
  font-size: var(--font-size-small);
  color: #555;
  text-align: center;
  line-height: 1.4;
}
.cert-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.cert-lightbox.active {
  display: flex;
}
.cert-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--border);
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.5);
}
.cert-lightbox__close {
  position: fixed;
  top: 20px;
  right: 24px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.cert-lightbox__close:hover {
  opacity: 1;
}
/* ── Task 4: Price table ── */
.price-table h2 {
  margin-bottom: var(--margin-top);
}

.price-table__layout {
  display: grid;
  grid-template-columns: 510px 1fr;
  gap: 32px;
  align-items: stretch;
  margin-top: var(--margin-top);
}

.price-table__container {
  background-color: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8eaf0;
}

.price-table__map {
  height: 100%;
  min-height: 400px;
  border-radius: var(--border);
  box-shadow: var(--shadow);
  border: 8px solid var(--background-color-light);
  overflow: hidden;
}

.price-table__table {
  width: 100%;
  border-collapse: collapse;
}

.price-table__table thead tr {
  background: linear-gradient(135deg, var(--primary-color) 0%, #5a7ef5 100%);
}

.price-table__table thead th {
  white-space: nowrap;
  color: #fff;
  padding: 18px 24px;
  text-align: left;
  font-weight: 700;
  font-size: var(--font-size-small);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-table__table thead th:last-child {
  text-align: right;
}

.price-table__table tbody tr {
  border-bottom: 1px solid #f0f2f7;
  transition: background-color 0.15s ease;
}

.price-table__table tbody tr:last-child {
  border-bottom: none;
}

.price-table__table tbody tr:nth-child(odd) {
  background-color: #fff;
}

.price-table__table tbody tr:nth-child(even) {
  background-color: #f8f9fc;
}

.price-table__table tbody tr:hover {
  background-color: #eef1fb;
}

.price-table__table tbody td:first-child {
  text-align: left;
  font-size: var(--font-size-small);
  font-weight: 500;
  padding: 14px 24px;
  color: #1a1a2e;
}

.price-table__table tbody td {
  text-align: center;
  font-size: var(--font-size-small);
  padding: 14px 24px;
  color: #444;
}

.price-table__table tbody td:last-child {
  text-align: right;
  color: var(--primary-color);
  font-weight: 700;
  font-size: var(--font-size-small);
}

/* ── Task 7: Reviews section ── */
.reviews__layout {
  margin-top: var(--margin-top);
  display: grid;
  grid-template-columns: 760px 1fr;
  gap: 32px;
  align-items: start;
}
.reviews__widget {
  width: 760px;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 1px 11px 0 rgba(0, 0, 0, 0.1);
}
.reviews__widget iframe {
  display: block;
  width: 760px !important;
}
.reviews__highlights {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 1px 11px 0 rgba(0, 0, 0, 0.1);
  padding: var(--padding);
  position: sticky;
  top: 100px;
}
.reviews__highlights-title {
  font-size: var(--font-size-title);
  font-weight: 700;
  color: var(--font-color-dark);
  margin: 0 0 var(--padding);
}
.reviews__highlights-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.reviews__highlight-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.reviews__highlight-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin-top: 2px;
}
.reviews__highlight-icon svg {
  width: 40px;
  height: 40px;
  display: block;
}
.reviews__highlight-item strong {
  display: block;
  font-size: var(--font-size-subtitle);
  font-weight: 600;
  color: var(--font-color-dark);
  margin-bottom: 5px;
}
.reviews__highlight-item p {
  margin: 0;
  font-size: var(--font-size-small);
  color: var(--second-color-dark);
  line-height: 1.5;
}
@media (max-width: 1100px) {
  .reviews__layout {
    grid-template-columns: 1fr;
  }
  .reviews__widget {
    width: 100%;
  }
  .reviews__widget iframe {
    width: 100% !important;
  }
  .reviews__highlights {
    display: none;
  }
}

/* ── Task 11: Services desc text ── */
.services__desc {
  display: none;
  color: var(--font-color-light);
  font-size: var(--font-size-small);
  font-weight: 400;
  padding: 0 var(--padding);
  line-height: 140%;
  opacity: 0.9;
}

/* ── Promo Banner ── */
.promo-popup {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 60px));
  z-index: 1000;
  max-width: 760px;
  width: calc(100% - 48px);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.promo-popup.show {
  transform: translateX(-50%) translateY(0);
}

.promo-popup__close {
  position: absolute;
  top: -13px;
  right: -13px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: none;
  color: #444;
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  padding: 0;
  line-height: 1;
  transition:
    background 0.2s,
    transform 0.15s;
}

.promo-popup__close:hover {
  background: #f0f0f0;
  transform: scale(1.12);
}

.promo-popup__close:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

.promo-popup__card {
  background: var(--primary-color);
  color: #fff;
  border-radius: 20px;
  padding: 18px 24px;
  box-shadow: 0 12px 40px rgba(0, 123, 255, 0.28);
  display: flex;
  align-items: center;
  gap: 16px;
}

.promo-popup__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.promo-popup__top {
  display: contents;
}

.promo-popup__text {
  flex: 1;
  min-width: 0;
}

.promo-popup__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 4px;
}

.promo-popup__desc {
  font-size: 13px;
  opacity: 0.88;
  line-height: 1.4;
  margin: 0;
}

.promo-popup__btn {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  background: #fff;
  color: var(--primary-color);
  width: auto;
  transition:
    background 0.2s,
    transform 0.15s;
}

.promo-popup__btn:hover {
  background: rgba(255, 255, 255, 0.88);
}

/* ── Certificates ── */
.certs-swiper .swiper-pagination {
  display: none;
}

.cert-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.cert-card img {
  width: 100%;
  height: auto;
  border-radius: 0;
  background: none;
  border: none;
}

.cert-caption {
  font-size: 13px;
  color: #555;
  text-align: center;
}

@media (max-width: 768px) {
  .certs-swiper .swiper-pagination {
    display: block;
    position: static;
    margin-top: 16px;
  }
}

.cert-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.cert-lightbox.active {
  display: flex;
}

.cert-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--border);
}

.cert-lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 32px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

/* ── Responsive adjustments for new sections ── */
@media screen and (max-width: 1280px) {
  .advantages__cards {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .price-table__layout {
    grid-template-columns: 1fr;
  }

  .price-table__map {
    height: 360px;
  }

  .price-table__table thead th,
  .price-table__table tbody td {
    font-size: var(--font-size-small);
    padding: 10px 12px;
  }
}

@media screen and (max-width: 480px) {
  .engineer__wrap {
    grid-template-columns: 1fr;
  }

  .engineer__image {
    height: 250px;
  }

  .engineer .button {
    max-width: 100%;
  }

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

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

  .promo-popup {
    width: calc(100% - 20px);
    bottom: 10px;
  }

  .promo-popup__close {
    top: -7px;
    right: -7px;
  }

  .promo-popup__card {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
  }

  .promo-popup__top {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .promo-popup__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 20px;
    flex-shrink: 0;
  }

  .promo-popup__icon svg {
    width: 20px;
    height: 20px;
  }

  .promo-popup__title {
    font-size: 13px;
    margin: 0 0 2px;
  }

  .promo-popup__desc {
    font-size: 12px;
  }

  .promo-popup__btn {
    width: 100%;
    text-align: center;
    padding: 9px 16px;
    font-size: 13px;
  }
}

@media screen and (max-width: 640px) {
  .price-table__container {
    overflow: visible;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
  }

  .price-table__table {
    min-width: unset;
    width: 100%;
    display: block;
  }

  .price-table__table thead {
    display: none;
  }

  .price-table__table tbody {
    display: block;
  }

  .price-table__table tbody tr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 8px;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 8px;
    border-bottom: none;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.07);
  }

  .price-table__table tbody tr:nth-child(odd),
  .price-table__table tbody tr:nth-child(even) {
    background-color: #fff;
  }

  .price-table__table tbody tr:last-child {
    margin-bottom: 0;
  }

  .price-table__table tbody td {
    padding: 0;
    font-size: 14px;
    text-align: left;
  }

  .price-table__table tbody td:first-child {
    flex: 0 0 100%;
    font-weight: 600;
    font-size: 15px;
    padding: 0 0 4px;
    color: #1a1a2e;
  }

  .price-table__table tbody td:nth-child(2) {
    flex: 1;
    color: #6c757d;
    font-size: 13px;
    text-align: left;
  }

  .price-table__table tbody td:nth-child(2)::before {
    content: "Глубина: ";
    font-weight: 600;
    color: #495057;
  }

  .price-table__table tbody td:last-child {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 15px;
    text-align: right;
  }
  .work-card {
    height: 70vh;
  }
}

/* Quiz section */
.quiz__subtitle {
  font-size: 20px;
  color: var(--second-color-dark);
  line-height: 140%;
  margin-top: 12px;
  margin-bottom: var(--margin-top);
}

.quiz__widget {
  width: 100%;
}

.marquiz__container.marquiz__container_inline {
  max-width: 100%;
}

@media screen and (max-width: 768px) {
  .quiz__subtitle {
    font-size: var(--font-size-paragraph);
  }
}
