@charset "UTF-8";

/* Цветовая палитра */
:root {
  --primary-color: #008080;
  /* teal */
  --secondary-color: #17859c;
    /* price-modal */
  --price-color: #17859c;
  /* hover teal */
  --accent-color: #f65f16;
  /* orange */
  --background-color: #dadace;
  /* beige */
  --text-color: #333;
  /* dark gray */
  --light-text: #fff;
  /* white */
  --shadow-color: rgba(37, 33, 33, 0.2);
  --light-shadow: rgba(237, 238, 243, 0.5);
}

@font-face {
  font-family: "Xolonium";
  src: url(./fonts/Xolonium.woff2) format("woff2"), url(./fonts/Xolonium.woff) format("woff"), url(./fonts/Xolonium.ttf) format("ttf");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OpenSans";
  src: url(./fonts/OpenSans.woff2) format("woff2"), url(./fonts/OpenSans.woff) format("woff"), url(./fonts/OpenSans.ttf) format("ttf");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bebas";
  src: url(./fonts/Bebas-Neue.woff2) format("woff2"), url(./fonts/Bebas-Neue.woff) format("woff"), url(./fonts/Bebas-Neue.ttf) format("ttf");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  outline: none;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "OpenSans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--text-color);
}

body .container {
  max-width: 1360px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Заголовки */
h1,
h2,
h3,
h4 {
  margin: 0;
  padding: 0;
  font-style: normal;
  color: var(--text-color);
}

h1 {
  font-family: "Xolonium", sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 66px;
  -webkit-transform: scaleX(0.7);
  -ms-transform: scaleX(0.7);
  transform: scaleX(0.7);
  -webkit-transform-origin: 0 100%;
  -ms-transform-origin: 0 100%;
  transform-origin: 0 100%;
}

h2 {
  font-family: "Xolonium", sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 50px;
  -webkit-transform: scaleX(0.7);
  -ms-transform: scaleX(0.7);
  transform: scaleX(0.7);
}

h3 {
  font-family: "Bebas", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
}

h4 {
  font-family: "OpenSans", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 32px;
}

p {
  line-height: 1.2;
}

button,
label,
a {
  cursor: pointer;
}

/* Buttons */

.left__arrow,
.right__arrow,
.close__button {
  width: 40px;
  height: 40px;
  background-color: var(--secondary-color);
  border: none;
  border-radius: 50%;
  text-decoration: none;
  -webkit-box-shadow: 0 5px var(--shadow-color) inset, 2px -5px 5px var(--light-shadow) inset;
          box-shadow: 0 5px var(--shadow-color) inset, 2px -5px 5px var(--light-shadow) inset;
  -webkit-transition: .3s ease-in-out;
  -o-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
  cursor: pointer;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.left__arrow:hover,
.right__arrow:hover,
.close__button:hover {
  background-color: var(--primary-color);
  -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
          transform: scale(1.05);
}

.left__arrow:active,
.right__arrow:active,
.close__button:active {
  -webkit-transform: scale(0.95);
      -ms-transform: scale(0.95);
          transform: scale(0.95);
}

.left__arrow::before,
.right__arrow::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-left: 6px solid #000;
  border-bottom: 6px solid #000;
}

.left__arrow::before {
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
  margin-left: 5px;
}

.right__arrow::before {
  -webkit-transform: rotate(-135deg);
      -ms-transform: rotate(-135deg);
          transform: rotate(-135deg);
  margin-right: 5px;
}

/* Стиль для кнопки с крестиком */
.close__button::before,
.close__button::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 6px;
  background-color: #000;
  border-radius: 2px;
}

.close__button::before {
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}

.close__button::after {
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

a {
  text-decoration: none;
  color: var(--text-color);
}

ul,
li {
  list-style: none;
  padding: 0;
}

img {
  width: 100%;
}

/* Общие стили кнопок */
.btn,
.cards__list-item,
.accordion__item,
.photo-type,
.video-type {
  z-index: 10;
  white-space: nowrap;
  border: none;
  text-decoration: none;
  border-radius: 10px;
  -webkit-box-shadow: 0 5px var(--shadow-color) inset, 2px -5px 5px var(--light-shadow) inset;
  box-shadow: 0 5px var(--shadow-color) inset, 2px -5px 5px var(--light-shadow) inset;
  -webkit-transition: .3s ease-in-out;
  -o-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}

/* Стиль каталога - прайс-листа */

.modal__prise-list-column {
  z-index: 10;
  white-space: nowrap;
  border: none;
  background-color: var(--price-color);
  text-decoration: none;
  border-radius: 10px;
  -webkit-box-shadow: 0 5px var(--shadow-color) inset, 2px -5px 5px var(--light-shadow) inset;
  box-shadow: 0 5px var(--shadow-color) inset, 2px -5px 5px var(--light-shadow) inset;
  -webkit-transition: .3s ease-in-out;
  -o-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}

.btn {
  padding: 10px 20px;
  background-color: var(--primary-color);
}

.btn:hover,
.filter-btn:hover,
.cards__list-item:hover,
.accordion__item:hover {
  background-color: var(--secondary-color);
}

.btn:active,
.filter-btn:active,
.btn:focus,
.filter-btn:focus,
.cards__list-item:active,
.cards__list-item:focus {
  background-color: var(--accent-color);
}

/* Header */
.header {
  display: block;
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 40px;
  overflow: hidden;
}

.header__video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  z-index: -1;
  opacity: 1;
}

.header__inner {
  position: relative;
  z-index: 1;
}

.header__top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  padding: 10px 0;
  text-align: start;
}

.header__logo {
  width: 100px;
  margin-right: 50px;
}

.header__menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 50%;
  margin-right: auto;
  text-align: start;
  z-index: 10;
}

.header__menu-list {
  display: contents;
}

.header__menu-item {
  margin-right: 30px;
}

.header__menu-link {
  display: block;
  padding: 10px;
  color: var(--text-color);
  text-decoration: none;
  text-shadow: 1px 1px 0 var(--background-color),
    -1px -1px 0 var(--background-color),
    1px -1px 0 var(--background-color),
    -1px 1px 0 var(--background-color),
    1px 1px 0 var(--background-color);
  white-space: nowrap;
}

.header__menu-link:hover {
  color: var(--secondary-color);
}

.header__menu-link:active,
.header__menu-link:focus {
  color: var(--accent-color);
}

.header__social {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.header__social-phones,
.header__social-icons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
}

.header__social-phones {
  margin-right: 5px;
}

.header__social-link {
  display: inline-block;
  margin: 0 5px;
}

.header__social-icon {
  display: block;
  width: 40px;
  height: 40px;
  overflow: visible;
  z-index: 10;
}

.header__social-icon g:hover {
  fill: var(--secondary-color);
}

.header__social-icon g:active,
.header__social-icon g:focus {
  fill: var(--accent-color);
}

/* Hero section */
.hero__list {
  max-width: 45%;
}

.hero__title1,
.hero__list-title3,
.hero__list-content {
  color: var(--primary-color);
  text-shadow: 1px 1px 0 var(--background-color), -1px -1px 0 var(--background-color), 1px -1px 0 var(--background-color), -1px 1px 0 var(--background-color), 1px 1px 0 var(--background-color);
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.20;
}

/* Cards */
.cards__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 40px;
  max-width: 1355px;
  padding: 0 20px;
}

.cards__list-item {
  max-width: 300px;
  padding: 20px 35px;
  background-color: rgba(0, 128, 128, 0.7);
  cursor: pointer;
}

.cards__list-title3 {
  max-width: 100%;
  font-family: "Xolonium", sans-serif;
  font-size: 18px;
  line-height: 1.3;
  color: var(--light-text);
  white-space: normal;
  overflow: visible;
}

.cards__list-image {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

/* Modal */

/*Text-modal*/

.modal__prise-list-column modal__prise-list-column--mobile-footer-text {
  background-color: red;
}

body.modal-open {
  overflow: hidden;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
}

.modal__content {
  position: relative;
  width: 95%;
  max-width: 1200px;
  margin: 5% auto;
  padding: 20px 40px 40px;
  background-color: var(--background-color);
  border: none;
  border-radius: 10px;
}

.modal__prise-content {
  width: 100%;
  overflow-x: auto;
}

.modal__prise-title4 {
  margin-bottom: 20px;
  font-family: "OpenSans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #666;
  text-align: center;
}

.modal__prise-list {
  width: 100%;
  margin: 20px 0;
  font-size: 12px;
  border-collapse: separate;
  border-spacing: 8px;
  border-radius: 8px;
  overflow: hidden;
  color: white;
  font-weight: 600;
}

.modal__prise-list th {
  padding: 12px 8px;
  background-color: var(--accent-color);
  color: var(--light-text);
  font-weight: 600;
  text-align: center;
}

.modal__prise-list tr:hover td {
  background-color: transparent;
}

.modal__prise-list-column {
  margin-bottom: 20px;
  background-color: var(--price-color);
  cursor: pointer;
}

.modal .close {
  position: absolute;
  top: 15px;
  right: 30px;
  width: 40px;
  height: 40px;
  padding: 10px;
  font-size: 28px;
  font-weight: 700;
  cursor: pointer;
  z-index: 1001;
}

.modal .close:hover {
  -webkit-transform: rotate(90deg);
      -ms-transform: rotate(90deg);
          transform: rotate(90deg);
}

/* Accordion */
.accordion__inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 20px 20px 10px;
}

.accordion__title {
  margin-bottom: 30px;
  color: var(--text-color);
}

.accordion__list {
  margin: 20px auto;
  list-style: none;
  padding: 0;
}

.accordion__item {
  background-color: rgba(0, 128, 128, 0.7);
  cursor: pointer;
}

.accordion__button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  padding: 5px 20px;
  background: none;
  border: none;
  color: var(--light-text);
  font-family: "Xolonium", sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-align: left;
  cursor: pointer;
  outline: none;
  -webkit-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
  word-break: break-word;
  white-space: normal;
}

.accordion__button-text {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.accordion__icon {
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
  transition: -webkit-transform 0.3s ease-in-out;
  -o-transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}

.accordion__button--active .accordion__icon {
  -webkit-transform: rotate(90deg);
      -ms-transform: rotate(90deg);
          transform: rotate(90deg);
}

.accordion__content {
  max-height: 0;
  padding: 0 20px;
  overflow: hidden;
  color: var(--light-text);
  text-align: left;
  -webkit-transition: max-height 0.3s ease-out;
  -o-transition: max-height 0.3s ease-out;
  transition: max-height 0.3s ease-out;
}

.accordion__content-title {
  margin-top: 15px;
  font-size: 22px;
  white-space: normal;
}

.accordion__content-text {
  margin-bottom: 15px;
  line-height: 1.5;
  white-space: normal;
}

.accordion__content-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 20px;
  margin: 15px 0;
}

.accordion__content-list {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 300px;
  list-style: none;
  padding: 0;
}

.accordion__content-list--methods,
.accordion__content-list--advantages {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 8px;
}

.accordion__content-list--prices,
.accordion__content-list--process {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 8px;
}

.accordion__content-item {
  margin-bottom: 8px;
  white-space: normal;
}

.accordion__content-subtitle {
  margin-bottom: 5px;
  font-size: 18px;
  font-weight: 700;
}

.accordion__content-link {
  display: inline-block;
  padding-bottom: 10px;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 700;
  white-space: normal;
}

.accordion__content-link:hover {
  text-decoration: underline;
}

/* Filters */
.filters {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.filter-btn {
  font-size: 1rem;
  -webkit-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
  gap: 8px;
  background-color: var(--accent-color);
  height: 40px;
}

/* Gallery */
.gallery__title {
  text-align: center;
  margin-bottom: 30px;
}

.gallery-item {
  -webkit-animation: fadeIn .9s ease forwards;
  animation: fadeIn .9s ease forwards;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  -webkit-transition: all .4s ease;
  -o-transition: all .4s ease;
  transition: all .4s ease;
  cursor: pointer;
  aspect-ratio: 3/4;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  position: relative;
  height: 0;
  padding-bottom: 133.33%;
  /* 3:4 aspect ratio fallback */
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  opacity: 0;
  -webkit-transition: opacity .3s ease;
  -o-transition: opacity .3s ease;
  transition: opacity .3s ease;
}

.lightbox.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  width: 90%;
  height: 90%;
  max-width: 1200px;
  max-height: 800px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  border-radius: 10px;
  -webkit-box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.kinescope-iframe {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  border: none;
  border-radius: 10px;
  -webkit-box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
  background: #000;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  cursor: pointer;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  left: 0;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  padding: 0 20px;
  z-index: 1001;
  pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
  cursor: pointer;
  pointer-events: auto;
}

.lightbox-counter {
  position: absolute;
  bottom: -40px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  color: var(--light-text);
  font-size: 1.2rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 5px 15px;
  border-radius: 20px;
}

/* Slider */
.slider {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-transition: -webkit-transform .8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: -webkit-transform .8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -o-transition: transform .8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: transform .8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: transform .8s cubic-bezier(0.25, 0.46, 0.45, 0.94), -webkit-transform .8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
}

.slider-container {
  max-width: 1200px;
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.slide-group {
  min-width: 100%;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 20px 1fr 20px 1fr 20px 1fr;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 55px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.gallery-item:hover {
  -webkit-transform: translateY(-10px);
  -ms-transform: translateY(-10px);
  transform: translateY(-10px);
  -webkit-box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.item-type {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: .8rem;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.photo-type {
  background-color: var(--primary-color);
  color: #f5f5f5;
}

.video-type {
  background-color: var(--accent-color);
  color: #f5f5f5;
}

.slider-nav {
  position: absolute;
  top: 65%;
  left: 0;
  right: 0;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 0 10px;
  z-index: 10;
  pointer-events: none;
}

.nav-arrow {
  background: none;
  width: 50px;
  height: 50px;
  cursor: pointer;
  pointer-events: auto;
}

.nav-arrow:hover {
  background: none;
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

/* Promo */
.promo {
  background-color: var(--light-text);
  padding: 20px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-bottom: 20px;
}

.promo__inner {
  text-align: center;
}

.promo__title2 {
  display: inline-block;
  margin-bottom: 15px;
  white-space: nowrap;
}

.promo__preferents {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 20px;
}

.promo__title4 {
  font-weight: 700;
}

.promo__block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.promo__block:first-of-type {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  text-align: left;
}

.promo__block:last-of-type {
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  text-align: right;
}

.promo__text {
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 5px;
}

.promo__text2 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--accent-color);
}

.promo__link {
  color: var(--primary-color);
}

/* Footer */
.footer {
  background-color: var(--background-color);
}

.footer__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: start;
  padding-top: 20px;
  padding-bottom: 20px;
}

.footer__image {
  width: 100px;
}

.footer__text {
  text-align: center;
  max-width: 60%;
  font-size: 24px;
}

/* Burger menu */
.burger {
  display: inline-block;
  cursor: pointer;
}

.burger__bar {
  width: 35px;
  height: 5px;
  background-color: #000;
  margin: 6px 0;
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
}

.burger.change .burger__bar:nth-child(1) {
  -webkit-transform: rotate(-45deg) translate(-9px, 7px);
  -ms-transform: rotate(-45deg) translate(-9px, 7px);
  transform: rotate(-45deg) translate(-9px, 7px);
}

.burger.change .burger__bar:nth-child(2) {
  opacity: 0;
}

.burger.change .burger__bar:nth-child(3) {
  -webkit-transform: rotate(45deg) translate(-8px, -7px);
  -ms-transform: rotate(45deg) translate(-8px, -7px);
  transform: rotate(45deg) translate(-8px, -7px);
}

/* Группировка общих свойств */
.btn:not(:last-child),
.header__social-link:not(:last-child),
.cards,
.accordion__button--active {
  margin-bottom: 10px;
}

.hero__list-item:not(:last-child),
.accordion__item:not(:last-child) {
  margin-bottom: 20px;
}

.cards__inner,
.accordion {
  text-align: center;
}

/* Улучшите обработку длинных слов */
.accordion__content-subtitle,
.accordion__content-item,
.modal__prise-list-column {
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Современный aspect-ratio с fallback */
@supports (aspect-ratio: 3/4) {
  .gallery-item {
    aspect-ratio: 3/4;
    padding-bottom: 0;
    height: auto;
  }
}