:root {
  --main-bg-color: #333546;
  --text-color: #F8F3EF;
  --accent-color: #EE6949;
  --card-bg-color: #FCF9E8;
  --filter-color: #f18669;
  --header-min-height: 60px;
  --header-max-height: 116px;
}

html {
  /* Prevent font scaling in landscape */
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--main-bg-color);
  font-family: 'Raleway', sans-serif;
  color: var(--text-color);
  text-transform: uppercase;
}

b {
  font-weight: 800;
  color: var(--accent-color);
}


/* Headings */

h1,
h2,
h3,
h4 {
  font-family: 'Oswald', sans-serif;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 140%;
  color: var(--card-bg-color);
}

h1 {
  font-weight: 700;
  font-size: 26px;
  text-align: center;
  line-height: 2;
}

.moto-section h1 {
  line-height: 1.4;
}


h2 {
  font-weight: 600;
  font-size: 24px;
}

h3 {
  font-weight: 700;
  font-size: 18px;
}

h4 {
  font-weight: 600;
  font-size: 18px;
  color: var(--accent-color);
}

.h1 {
  display: none;
}


@media screen and (min-width: 960px) {
  h1 {
    font-size: 52px;
    text-align: left;
  }

  h2 {
    font-size: 48px;
  }

  h3 {
    font-size: 28px;
  }

  h4 {
    font-size: 24px;
  }
}


/* Helpers and components */

.font-display {
  font-family: 'Molle', cursive;
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  display: block;
  font-size: 50px;
  line-height: 69%;
}

.number {
  font-family: 'Rethink Sans', sans-serif;
}

@media screen and (min-width: 960px) {
  .font-display {
    font-size: 109px;
    line-height: 69%;
  }
}

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


.image {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.image.contain img,
.image--contain img {
  object-fit: contain;
}

.image.cover img,
.image--cover img {
  object-fit: cover;
}

.image::before {
  content: '';
  display: block;
  /* Default to 1:1 ratio */
  padding-top: 100%;
}

.image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

/* 1x1 ratio */
.image.\31 x1::before,
.image--1x1::before {
  padding-top: 100%;
}

/* 3x2 ratio */
.image.\33 x2::before,
.image--3x2::before {
  padding-top: calc(2 / 3 * 100%);
}

.image--responsive {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.image--rounded {
  border-radius: 12px;
}

/* cards */

.card {
  border-radius: 32px;
  padding: 20px;
  background-color: var(--card-bg-color);
  color: var(--main-bg-color);
}

.card--small {
  border-radius: 20px;
  padding: 12px;
}

.card--accent {
  --background-color: var(--accent-color);
  background-color: var(--background-color);
}

.border-white {
  border: solid 2px var(--card-bg-color);
  box-shadow: inset 0 0 0 6px var(--background-color), inset 0 0 0 8px var(--card-bg-color);
}

.border-accent {
  border: solid 2px var(--main-bg-color);
  box-shadow: inset 0 0 0 6px var(--card-bg-color), inset 0 0 0 8px var(--accent-color);
}

@media screen and (min-width: 1200px) {
  .card {
    padding: 40px;
  }
}


/* Flip */

/* Базовый контейнер для флип-карточки */
.flip-container {
  perspective: 1200px;
  width: 100%;
  position: relative;
}

/* Общие стили для передней и задней сторон */
.flip-front,
.flip-back {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  backface-visibility: hidden;
  transition: transform 0.8s ease;
}

/* Стили для передней стороны */
.flip-front {
  transform: rotateY(0deg);
  z-index: 2;
}

/* Стили для задней стороны */
.flip-back {
  transform: rotateY(180deg);
  z-index: 1;
}

/* Стили при перевороте */
.flipped .flip-front {
  transform: rotateY(-180deg);
}

.flipped .flip-back {
  transform: rotateY(0deg);
}

/* Flip end */


.page {
  max-width: 600px;
  margin: 0 auto;
  padding: 10px;
}

@media screen and (min-width: 960px) {
  .page {
    max-width: 1440px;
    padding: 20px;
  }
}


/* MAIN SECTION */

.main-section {
  margin-bottom: 10px;
  /* Пропорция 9:16 (width:height) */
  padding-top: calc(16 / 9 * 100%);
}

@media screen and (min-width: 960px) {
  .main-section {
    margin-bottom: 20px;
    padding-top: calc(9 / 12 * 100%);
  }
}

@media screen and (min-width: 1200px) {
  .main-section {
    padding-top: calc(9 / 14 * 100%);
  }
}

.logo-container,
.logo-container-center {
  margin: auto;
  flex: 1;
  display: flex;
  justify-content: center;
}

.logo-container-center {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.logo {
  max-width: 100%;
  /* Ограничиваем высоту логотипа */
  max-height: var(--header-min-height);
  /* Сохраняем пропорции */
  height: auto;
  width: auto;
  user-select: none;
}

.main-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.main-card-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: var(--header-min-height);
  position: relative;
}

@media screen and (min-width: 960px) {
  .logo {
    height: 8vw;
    min-height: var(--header-min-height);
    max-height: var(--header-max-height);
  }

  .main-card {
    padding: 40px;
  }

  .main-card-header {
    height: 8vw;
    min-height: var(--header-min-height);
    max-height: var(--header-max-height);
    padding: 20px 20px;
    margin-bottom: 40px;
  }

}

.menu-desktop {
  display: none;
}

.menu-desktop a {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  color: var(--main-bg-color);
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
}

.menu-desktop a:hover {
  color: var(--accent-color);
}

@media screen and (min-width: 1200px) {
  .menu-desktop {
    display: flex;
    flex-direction: row;
    gap: 36px;
    /* TODO: should be 56px; */
  }
}

.menu-mob {
  display: flex;
  flex-direction: column;
}

.close {
  margin-right: 44px;
}

.header-section {
  margin-bottom: 10px;
  position: relative;
  padding-top: 100px;
  transition: padding-top 0.3s ease;
}

.header-card {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
}

.header-section .main-card-header {
  margin-bottom: 0;
}

.header-section.expanded {
  padding-top: calc(16 / 9 * 100%);
}

.header-section .menu-mob-items {
  transition: opacity 0.2s ease;
  opacity: 0;
  display: none;
}

.header-section.expanded .menu-mob-items {
  opacity: 1;
}

@media screen and (min-width: 960px) {

  .header-section.expanded,
  .header-section {
    padding-top: 0;
  }

  .header-card {
    position: relative;
    width: 100%;
    height: auto;
    padding-bottom: 30px;
  }
}


.video-container {
  position: relative;
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
}

.video-container video {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  z-index: 1;
}

#video-web {
  display: none;
}

@media screen and (min-width: 960px) {
  #video-mob {
    display: none;
  }

  #video-web {
    display: block;
  }
}

.video-container .content {
  position: absolute;
  padding: 0 12px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(0deg, rgba(60, 53, 50, 0.3), rgba(60, 53, 50, 0.3));
  border-radius: 20px;
  z-index: 2;
}

.contacts {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

@media (max-width: 393px) {
  .contacts {
    gap: 12px;
  }
}

.contacts .text {
  display: none;
}

.banner {
  border-radius: 20px;
  overflow: hidden;
  /* Чтобы скругление углов примеялось корректно */
  width: 100%;
  height: auto;
}

.video-container video {
  width: 100%;
  height: auto;
  object-fit: cover;
  /* Убедитесь, что видео будет заполнено по размеру контейнера */
  border-radius: 20px;
}

.main-section .content .text {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 140%;
  text-align: center;
  text-transform: uppercase;
  color: #F8F3EF;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
}

.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

@media screen and (min-width: 403px) {
  .cta-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
}

@media screen and (min-width: 960px) {
  .cta-container {
    flex-direction: row;
  }
}

.cta,
.cta2 {
  font-family: 'Oswald';
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 2%;
  color: var(--card-bg-color);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 12px 20px;
  background: var(--accent-color);
  border-radius: 100px;
  width: fit-content;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cta:hover {
  background-color: var(--card-bg-color);
  color: var(--accent-color);
}

.cta2 {
  background-color: var(--card-bg-color);
  color: var(--accent-color);
}

.cta2:hover {
  background-color: var(--accent-color);
  color: var(--card-bg-color);
}

.contacts .link {
  height: 40px;
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 32px;
  text-align: center;
  letter-spacing: 0.02em;
  color: var(--main-bg-color);
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

@media (max-width: 393px) {
  .buttons {
    gap: 8px;
  }

  .logo {
    max-width: 80px;
    max-height: var(--header-min-height);
  }

}

@media screen and (min-width: 960px) {
  .main-section .video-container .content {
    align-items: flex-start;
    padding-left: 40px;
    gap: 32px;
  }

  .main-section .content .text {
    max-width: 800px;
    text-align: left;
    font-size: 20px;
    line-height: 140%;
  }

  .cta {
    font-size: 20px;
  }
}

@media screen and (min-width: 1200px) {
  .contacts .link {
    height: 54px;
    color: var(--main-bg);
    border: solid 1.5px var(--main-bg-color);
    padding: 18px 24px;
    border-radius: 100px;
    gap: 8px;
  }

  .contacts .link:hover {
    color: var(--accent-color);
    border: solid 1.5px var(--accent-color);
  }



  .contacts .link.accent {
    color: var(--accent-color);
    border: solid 1.5px var(--accent-color);
  }

  .contacts .link.accent:hover {
    color: var(--main-bg-color);
    background-color: var(--card-bg-color);
    border: solid 1.5px var(--main-bg-color);
  }


  .contacts .text {
    display: inline;
    color: inherit;
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 600;
  }
}

.menu-mob-items {
  border: solid 2px var(--main-bg-color);
  border-radius: 20px;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 0 0 6px var(--card-bg-color), inset 0 0 0 8px var(--accent-color);
  margin-top: 10px;
  padding: 40px 0;
}

.menu-mob-items ul {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.menu-mob-items ul li a {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 20px;
  text-decoration: none;
  color: var(--main-bg-color);
}

.menu-toggle {
  margin-right: 44px;
  background-color: transparent;
}

@media screen and (min-width: 1200px) {
  .menu-toggle {
    display: none;
  }
}

/* MOTO SECTION */

.moto-section {
  display: flex;
  flex-direction: column;
  padding: 44px 20px;
  gap: 32px;
  margin-bottom: 10px;
}

.moto-flip {
  padding-top: 100%;
}

@media (max-width: 430px) {
  .moto-flip {
    padding-top: 120%;
  }
}

@media screen and (min-width: 960px) {
  .moto-section {
    padding: 120px 60px;
    gap: 60px;
  }

  .moto-flip {
    padding-top: 110%;
  }

}

.moto-section p {
  text-align: center;
  line-height: 140%;
  font-weight: 600;
}

.moto-section h3 {
  text-align: center;
  font-size: 20px;
}

@media screen and (min-width: 960px) {
  .moto-section h3 {
    font-size: 28px;
  }
}

.moto-section .cta {
  background-color: var(--main-bg-color);
  transition: background-color 0.3s ease;
}

.moto-section .cta:hover {
  background-color: var(--card-bg-color);
  color: var(--main-bg-color);
}


.call-to-action {
  padding-top: 32px;
  gap: 24px;
  width: 100%;
}

.call-to-action p {
  font-weight: 600;
  text-align: center;
  color: var(--card-bg-color);
  line-height: 140%;
}

.gear-section .call-to-action h3 {
  color: var(--main-bg-color);
}

.gear-section .call-to-action .cta {
  background-color: var(--accent-color);
  color: var(--card-bg-color);
  transition: color 0.3s ease;
}

.gear-section .call-to-action .cta:hover {
  background-color: var(--main-bg-color);
}


@media screen and (min-width: 1200px) {
  .moto-section {
    padding: 120px 60px 80px;
    gap: 60px;
  }
}

.moto-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
  width: 100%;
}

.moto-card-container {
  width: 100%;
  transition: all 0.3s ease;
}

.moto-card-container.hidden {
  display: none;
}

.moto-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  height: 100%;
}

.details-container {
  display: flex;
  flex: 1;
  align-items: flex-end;
}

.moto-card.flip-back {
  justify-content: space-between;
}

@media screen and (max-width: 393px) {
  .moto-card-container {
    min-width: 100%;
  }
}


@media screen and (min-width: 960px) {
  .moto-cards {
    gap: 32px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .moto-card-container {
    max-width: 420px;
  }

  .moto-cards .card--small {
    padding: 40px;
  }
}


.price {
  color: var(--card-bg-color);
  font-weight: 600;
  white-space: nowrap;
}

button.small {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: 0.02em;
  color: var(--main-bg-color);
  text-transform: uppercase;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 4px 32px;
  gap: 10px;
  background: var(--card-bg-color);
  border-radius: 50px;
  height: 40px;
}

.moto-section a {
  display: block;
  margin: 0 auto;
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--card-bg-color);
  padding: 12px 32px;
  background-color: var(--main-bg-color);
  border-radius: 32px;
  width: fit-content;
  transition: color 0.3s ease;
  cursor: pointer;
}

.moto-section a:hover {
  color: var(--main-bg-color);
  background-color: var(--card-bg-color);
}

@media screen and (min-width: 960px) {

  button.small {
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  button.small:hover {
    color: var(--card-bg-color);
    background-color: var(--main-bg-color);
  }

  .moto-section a {
    font-size: 22px;
    padding: 13px 40px;
  }

  .moto-section p {
    font-size: 20px;
  }
}

.moto-section h3 {
  text-align: center;
  white-space: nowrap;
}

.price-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  font-size: 18px;
}

.price-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 12px;
  width: 100%;
}

.dots-separator {
  width: 100%;
  border-bottom: 2px dotted #F8F3EF;
  margin: 0 4px;
}

/* HOW SECTION */

.how-section {
  display: flex;
  flex-direction: column;
  margin: 44px 10px;
  gap: 24px;
}

.way-mob {
  display: flex;
  width: 100%;
}

.way-desk {
  display: none;
}

@media screen and (min-width: 960px) {
  .way-mob {
    display: none;
  }

  .way-desk {
    display: flex;
    width: 100%;
  }
}

/* GEAR SECTION */

.gear-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 44px 20px;
}

@media screen and (min-width: 960px) {
  .how-section {
    margin: 80px 20px;
  }

  .gear-section {
    padding: 80px 60px;
    gap: 60px;
  }
}

.gear-section h2 {
  color: var(--main-bg-color);
}

.gear-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gear-card {
  padding: 24px 16px;
  width: calc(50% - 4px);
  border-radius: 12px;

}


@media screen and (min-width: 960px) {
  .gear-cards {
    gap: 32px;
  }

  .gear-card {
    width: calc(50% - 16px);
  }
}

.gear-card p {
  font-size: 14px;
  text-align: center;
  line-height: 140%;
}

.gear-card h4 {
  text-align: center;
}

@media screen and (min-width: 960px) {
  .gear-card h4 {
    text-align: left;
  }

  .gear-card p {
    font-size: 18px;
    text-align: left;
  }
}

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

.gear-card-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media screen and (min-width: 960px) {
  .gear-card {
    flex-direction: row;
    gap: 21px
  }

  .gear-card-content {
    align-self: flex-start;
    justify-content: flex-start;
    gap: 21px
  }
}

.gear-section h3 {
  color: var(--main-bg-color);
  text-align: center;
}

.call-to-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

@media screen and (min-width: 960px) {
  .call-to-action {
    gap: 32px;
  }
}

/* OFFERS SECTION */

.offers-section {
  margin: 52px 0;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#gang {
  margin: 0;
  padding-top: 80px;
}

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

#gang .offer-cards {
  gap: 12px;
}

.offer-card {
  --background-color: var(--main-bg-color);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.offer-card--accent {
  --background-color: var(--accent-color);
}


.offer-card-media {
  width: 100%;
  flex: 1;
}

.offer-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}



.offer-card-content h3 {
  font-size: 20px;
  text-align: center;
}

.offer-card-content p {
  text-align: center;
  color: var(--card-bg-color);
  line-height: 150%;
}

.offer-card .image {
  flex: 1;
}

.offer-card .image img {
  /* хак для того чтобы бордеры отображались корректно */
  padding: 8px;
}

.offer-card.white-bg {
  background-color: var(--card-bg-color);
  padding: 24px;
  margin: 0 -20px;
  border-radius: 32px;
}

.offer-card.white-bg h3,
.offer-card.white-bg p {
  color: var(--main-bg-color);
}

@media screen and (min-width: 960px) {

  .offers-section {
    padding: 68px 60px 60px;
    gap: 60px;
  }

  .offer-cards {
    gap: 60px;
  }

  .offer-card {
    gap: 48px;
    align-items: flex-start;
    flex-direction: row;
  }

  .offer-card.reverse {
    flex-direction: row-reverse;
  }

  .offer-card.white-bg {
    flex-direction: row-reverse;
    padding: 60px;
    margin: 0 -60px;
  }

  .offer-card-content,
  .offer-card-content p {
    align-items: flex-start;
    text-align: left;
  }

  .offer-card-content {
    gap: 32px;
  }
}

.divider {
  border-top: solid 1px var(--card-bg-color);
  border-bottom: solid 1px var(--card-bg-color);
  height: 8px;
  margin: 24px 0 32px;
}

.offer-card a {
  color: var(--accent-color);
  text-decoration: underline;
  font-size: 20px;
  font-family: 'Oswald';
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s ease;
}

.offer-card a:hover {
  color: var(--card-bg-color);
}

#discount-link {
  color: var(--accent-color);
}

#discount-link:hover {
  color: var(--main-bg-color);
}

@media screen and (min-width: 1200px) {
  .offer-card a {
    font-size: 28px;
  }

  .offer-card p {
    font-size: 20px;
  }

  .offer-card h3 {
    font-size: 32px;
    text-align: left;
  }
}

.boss-section {
  padding: 24px;
  margin-top: 32px;
}

@media screen and (min-width: 960px) {
  .boss-section {
    background-image: url('/assets/our_boss.svg');
    background-repeat: no-repeat;
    background-position: 80px 40px;
    background-size: 45%;
    padding: 60px;
  }
}

/* CONTACT SECTION */

.contact-section {
  background-color: var(--accent-color);
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  padding: 44px 20px;
  gap: 16px;
  margin-bottom: 10px;
  align-items: center;
}

.contact-section p {
  font-weight: 600;
  text-align: center;
  color: var(--card-bg-color);
  line-height: 140%;
}

.buttons {
  margin-top: 8px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

#instagram {
  color: var(--main-bg-color);
  background-color: var(--card-bg-color);
  display: flex;
  flex-direction: row;
  gap: 6px;
  align-items: center;
  padding: 12px 24px;
  transition: color 0.3s ease;
}

#instagram:hover {
  color: var(--card-bg-color);
  background-color: var(--main-bg-color);
}

#whatsapp {
  color: var(--card-bg-color);
  background-color: var(--main-bg-color);
  display: flex;
  flex-direction: row;
  gap: 6px;
  align-items: center;
  padding: 12px 24px;
  white-space: nowrap;
  transition: color 0.3s ease;
}

#whatsapp:hover {
  color: var(--accent-color);
  background-color: var(--card-bg-color);
}

@media screen and (min-width: 1200px) {
  .contact-section {
    padding: 80px 60px;
    gap: 52px;
    margin-bottom: 20px;
  }

  .contact-section p {
    font-size: 24px;
  }
}

/* FOOTER SECTION */

.footer-section {
  margin-top: 10px;
  padding: 40px 32px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

@media screen and (max-width: 393px) {
  .footer-section {
    padding: 40px 20px;
  }
}

@media screen and (min-width: 960px) {
  .footer-section {
    padding: 60px 80px;
  }
}

.footer-section .links {
  display: flex;
  flex-direction: row;
  gap: 24px;
}

.footer-section ul {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  gap: 12px;
}


.footer-section .logo {
  max-height: 68px;
}

@media screen and (min-width: 960px) {
  .footer-section .logo {
    max-height: 116px;
  }

  .footer-section ul {
    gap: 20px;
  }

  .footer-section a {
    font-size: 20px;
    line-height: 120%;
    cursor: pointer;
    transition: color 0.3s ease;
  }

  .footer-section a:hover {
    color: var(--accent-color);
  }

  .footer-section .links {
    gap: 72px;
  }
}

.footer-section .logo-container {
  flex: none;
}

.footer-section a {
  height: 24px;
  line-height: 20px;
  font-size: 16px;
  text-decoration: none;
  color: var(--main-bg-color);
  font-weight: 600;
  font-family: 'Oswald';
}

@media screen and (min-width: 960px) {
  .footer-section a {
    font-size: 20px;
    line-height: 120%;
  }
}

.whatsapp-button {
  background-color: #4D9D5E;
  color: var(--card-bg-color);
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  border-radius: 32px;
  padding: 12px 20px;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Oswald';
  font-weight: 600;
  text-decoration: none;
}

.whatsapp-button:hover {
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.whatsapp-button img {
  width: 32px;
  height: 32px;
}

.whatsapp-button.visible {
  opacity: 1;
  pointer-events: auto;
}

.footer-section .logo-container {
  margin-left: 0;
}


/* ANIMATIONS */

.rotate {
  --rotate-duration: 5s;
  /* Переменная для времени анимации */
  animation: rotateAnimation var(--rotate-duration) ease-in-out infinite;
  perspective: 1000px;
}

@keyframes rotateAnimation {
  from {
    transform: rotateY(0deg);
  }

  to {
    transform: rotateY(360deg);
  }
}

.contacts .link.accent img {
  transition: filter 0.1s ease;
}

.contacts .link.accent:hover img {
  filter: brightness(0) saturate(100%) invert(20%) sepia(14%) saturate(634%) hue-rotate(189deg) brightness(97%) contrast(87%);
}

.contacts .link img {
  transition: filter 0.1s ease;
}

.contacts .link:hover img {
  filter: brightness(0) saturate(100%) invert(56%) sepia(87%) saturate(1771%) hue-rotate(334deg) brightness(97%) contrast(96%);
}

#whatsapp img {
  transition: filter 0.1s ease;
}

#whatsapp:hover img {
  /* Этот фильтр преобразует изображение в цвет #EE6949 (--accent-color) */
  filter: brightness(0) saturate(100%) invert(56%) sepia(87%) saturate(1771%) hue-rotate(334deg) brightness(97%) contrast(96%);
}

#instagram img {
  transition: filter 0.1s ease;
}

#instagram:hover img {
  /* Этот фильтр преобразует изображение в цвет #FCF9E8 (--card-bg-color) */
  filter: brightness(0) saturate(100%) invert(99%) sepia(19%) saturate(176%) hue-rotate(316deg) brightness(103%) contrast(94%);
}