@import url("reset.css");

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Nunito:wght@600;700;800&display=swap");

html {
  scroll-behavior: smooth;
}

/* ************COMMON************ */

.logo {
  display: inline-block;
  line-height: 0;
}

.logo img {
  display: block;
  height: 4.225rem;
  width: auto;
}

.footer__logo img {
  height: 3.575rem;
}

body {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  color: #303a4d;
}

h1, h2, h3, h4,
[class*="__title"] {
  font-family: "Nunito", sans-serif;
}

[class*="__container"] {
  max-width: 72.624rem;
  margin: 0 auto;
  padding: 0 0.938rem;
}

.button {
  font-weight: 600;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  transition: all 0.3s;
  color: #fff;
  background-color: #303a4d;
}

.title {
  font-family: "Nunito", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
}

.wrapper {
  min-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
}

/* ************HEADER************ */

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  z-index: 1000;
}

:root {
  --header-padding-top: 0.35rem;
  --header-logo-height: 4.225rem;
  --header-gap: 5px;
  --header-height: calc(var(--header-padding-top) + var(--header-logo-height) + var(--header-gap));
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 0;
  padding: var(--header-padding-top) 0.938rem var(--header-gap);
  flex-wrap: wrap;
  max-width: 74.624rem;
}

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

.header__navigation {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.menu__body {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.menu__link {
  font-weight: 600;
  position: relative;
  transition: opacity 0.25s ease;
}

.menu__item {
  position: relative;
}

.menu__item_has-submenu {
  padding-bottom: 0.75rem;
  margin-bottom: -0.75rem;
}

.menu__item_has-submenu::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -0.75rem;
  right: -0.75rem;
  height: 1rem;
}

.submenu-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 17rem;
  padding: 0.875rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 36px rgba(48, 58, 77, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  z-index: 5;
}

.submenu-menu::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.45rem;
  width: 0.9rem;
  height: 0.9rem;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid rgba(124, 58, 237, 0.12);
  border-left: 1px solid rgba(124, 58, 237, 0.12);
  transform: translateX(-50%) rotate(45deg);
}

.submenu-menu li:not(:last-child) {
  margin-bottom: 0.375rem;
}

.submenu-menu__link {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
  transition: background-color 0.25s ease, opacity 0.25s ease;
}

.menu__link:hover,
.menu__link:focus-visible,
.menu__item_has-submenu:hover > .menu__link,
.menu__item_has-submenu:focus-within > .menu__link {
  opacity: 0.85;
}

.menu__item_has-submenu:hover .submenu-menu,
.menu__item_has-submenu:focus-within .submenu-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.submenu-menu__link:hover,
.submenu-menu__link:focus-visible {
  background-color: #f4ecff;
  opacity: 0.9;
}

.t-logo-1 { color: #cad516; }
.t-logo-2 { color: #6cc0a9; }
.t-logo-3 { color: #6ec5cf; }
.t-logo-4 { color: #7f3c8c; }
.t-logo-5 { color: #e63442; }
.t-logo-6 { color: #6cb750; }
.t-logo-7 { color: #aa74b0; }
.t-logo-8 { color: #cad516; }

.actions-header {
  display: flex;
  align-items: center;
  gap: 0.624rem;
}

.icon-menu {
  display: none;
}

.actions-header__button {
  font-weight: 600;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid #303a4d;
  border-radius: 30px;
  transition: all 0.3s;
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

/* ****************PAGES**************** */
.page__main {
  padding-bottom: 160px;
}

.page__main:has(.main:not(.main_pages)) {
  padding-bottom: 0;
}

/* *****************HOME**************** */

.main {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.main:not(.main_pages) {
  min-height: 92vh;
  background-color: #e8e4df;
}

.main_home {
  background-color: #cfe4ff;
}

.main__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.main__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.main__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  display: block;
}

.main__wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: 5rem;
  z-index: 3;
  line-height: 0;
  pointer-events: none;
}

.main__wave_top {
  top: calc(var(--header-height) - 1px);
}

.main__wave_top svg {
  transform: scaleY(-1);
}

.main__wave_top path {
  fill: #ffffff;
}

.main__wave_bottom {
  bottom: -1px;
}

.main__wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.main:not(.main_pages) .main__container {
  padding-top: 10rem;
  padding-bottom: 3rem;
  z-index: 2;
}


.main__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.92);
  color: #5b4d6e;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 20px rgba(48, 58, 77, 0.12);
}

.main__badge_wide {
  max-width: 40rem;
  line-height: 1.5;
  padding: 0.65rem 1.5rem;
}

.main__title_colorful {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  max-width: 52rem;
}

.title_colorful {
  font-family: "Nunito", sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
}

.main__title_colorful .t-yellow,
.title_colorful .t-yellow {
  color: #d97706;
}

.main__title_colorful .t-purple,
.title_colorful .t-purple {
  color: #7c3aed;
}

.main__title_colorful .t-pink,
.title_colorful .t-pink {
  color: #db2777;
}

.main__title_colorful .t-logo-1,
.title_colorful .t-logo-1 {
  color: #cad516;
}

.main__title_colorful .t-logo-2,
.title_colorful .t-logo-2 {
  color: #6cc0a9;
}

.main__title_colorful .t-logo-3,
.title_colorful .t-logo-3 {
  color: #6ec5cf;
}

.main__title_colorful .t-logo-4,
.title_colorful .t-logo-4 {
  color: #7f3c8c;
}

.main__title_colorful .t-logo-5,
.title_colorful .t-logo-5 {
  color: #e63442;
}

.main__title_colorful .t-logo-6,
.title_colorful .t-logo-6 {
  color: #6cb750;
}

.main__title_colorful .t-logo-7,
.title_colorful .t-logo-7 {
  color: #aa74b0;
}

.main__title_colorful .t-logo-8,
.title_colorful .t-logo-8 {
  color: #cad516;
}

.main__title_colorful span,
.title_colorful span {
  text-shadow:
    0 0 20px rgba(255, 255, 255, 0.95),
    0 2px 4px rgba(255, 255, 255, 0.8),
    0 1px 2px rgba(48, 58, 77, 0.15);
}

.main:not(.main_pages) .main__title_colorful span {
  -webkit-text-stroke: 0;
  paint-order: normal;
  filter: none;
  text-shadow:
    2px 0 0 #ffffff,
    -2px 0 0 #ffffff,
    0 2px 0 #ffffff,
    0 -2px 0 #ffffff,
    2px 2px 0 #ffffff,
    -2px 2px 0 #ffffff,
    2px -2px 0 #ffffff,
    -2px -2px 0 #ffffff,
    1px 0 0 #ffffff,
    -1px 0 0 #ffffff,
    0 1px 0 #ffffff,
    0 -1px 0 #ffffff,
    1px 1px 0 #ffffff,
    -1px 1px 0 #ffffff,
    1px -1px 0 #ffffff,
    -1px -1px 0 #ffffff;
}

.main:not(.main_pages) .main__text {
  color: #FFFFFF;
  max-width: 37.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.45;
}

.main:not(.main_pages) .main__title_colorful {
  margin-top: 2cm;
}


.main__container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 19.188rem;
}

.main__caption {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.main__title {
  font-family: "Nunito", sans-serif;
  font-size: 5.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
}

.main:not(.main_pages):not(.main_home) .main__title {
  font-size: 3.69rem;
}

.main__text {
  margin-bottom: 3.5rem;
  max-width: 33.375rem;
  line-height: 150%;
  letter-spacing: 0.02em;
}

.main__button {
  font-weight: 600;
  display: inline-block;
  padding: 1.25rem 3rem;
  border-radius: 30px;
  transition: all 0.3s;
  color: #fff;
  background-color: #303a4d;
  letter-spacing: 0.02em;
  font-size: 1.375rem;
  line-height: 110%;
}

.outro_home {
  background-color: #cfe4ff;
  position: relative;
}

.outro_home .outro__container {
  padding-top: 5rem;
  padding-bottom: 4.5rem;
}

/* ************ABOUT**************** */

.main.main_about::before,
.main.main_prices::before {
  display: none;
}

.main_about .main__media img {
  filter: none;
}

.main_home .main__title,
.main_about .main__title,
.main_services .main__title,
.main_contact .main__title,
.main_prices .main__title,
.main_articles .main__title {
  font-size: 3.69rem;
}

.main:not(.main_pages) .main__title_colorful .t-yellow {
  color: #d97706;
  -webkit-text-fill-color: #d97706;
}

.main:not(.main_pages) .main__title_colorful .t-purple {
  color: #7c3aed;
  -webkit-text-fill-color: #7c3aed;
}

.main:not(.main_pages) .main__title_colorful .t-pink {
  color: #db2777;
  -webkit-text-fill-color: #db2777;
}

.main:not(.main_pages) .main__title_colorful .t-logo-1 {
  color: #cad516;
  -webkit-text-fill-color: #cad516;
}

.main:not(.main_pages) .main__title_colorful .t-logo-2 {
  color: #6cc0a9;
  -webkit-text-fill-color: #6cc0a9;
}

.main:not(.main_pages) .main__title_colorful .t-logo-3 {
  color: #6ec5cf;
  -webkit-text-fill-color: #6ec5cf;
}

.main:not(.main_pages) .main__title_colorful .t-logo-4 {
  color: #7f3c8c;
  -webkit-text-fill-color: #7f3c8c;
}

.main:not(.main_pages) .main__title_colorful .t-logo-5 {
  color: #e63442;
  -webkit-text-fill-color: #e63442;
}

.main:not(.main_pages) .main__title_colorful .t-logo-6 {
  color: #6cb750;
  -webkit-text-fill-color: #6cb750;
}

.main:not(.main_pages) .main__title_colorful .t-logo-7 {
  color: #aa74b0;
  -webkit-text-fill-color: #aa74b0;
}

.main:not(.main_pages) .main__title_colorful .t-logo-8 {
  color: #cad516;
  -webkit-text-fill-color: #cad516;
}

.about__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
}

.about__image {
  position: relative;
  max-width: 552px;
  height: 614px;
}

.about__image img {
  border-radius: 16px;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__title {
  margin-bottom: 1.5rem;
}

.about__text {
  max-width: 30rem;
  letter-spacing: 0.02em;
  line-height: 150%;
  margin-bottom: 3.5rem;
}

.about__text p:not(:last-child) {
  margin-bottom: 2.5rem;
}

.outro_about {
  background: url("../Website-Images/About/CTA.jpg") center / cover no-repeat;
}

/* **************SERVICES**************** */

.main_services {
  background-color: #e8e4df;
}

.main.main_services::before {
  display: none;
}

.main_services .main__media video {
  object-position: center 1cm;
  filter: none;
}

.about_reverse .about__container {
  flex-direction: row-reverse;
}

.about_home {
  position: relative;
  background-color: #fae8f8;
}

.about_home .about__container {
  padding-top: 4rem;
  padding-bottom: 4.5rem;
}

.services {
  background-color: #ffffff;
  position: relative;
}

.section-wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4rem;
  z-index: 1;
  line-height: 0;
  pointer-events: none;
}

.section-wave_bottom {
  bottom: -1px;
}

.section-wave_top {
  top: -1px;
}

.section-wave_top svg {
  transform: scaleY(-1);
}

.section-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.services__container {
  padding-top: 4rem;
  padding-bottom: 4.5rem;
}

.main_home .main__wave_bottom path {
  fill: #ffffff;
}

.services__title {
  text-align: center;
  margin-bottom: 5rem;
}

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

.services__column {
  display: flex;
  justify-content: center;
  height: 100%;
}

.item-services {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 22.5rem;
  height: 100%;
  text-align: center;
}

.item-services__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.item-services__image {
  width: 100%;
  height: 26.3125rem;
  flex: 0 0 26.3125rem;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 2rem;
}

.item-services__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.item-services__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  min-height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-services__text {
  width: 100%;
  line-height: 150%;
  flex-grow: 1;
  letter-spacing: 0.02em;
}

.item-services__button {
  margin-top: auto;
  flex-shrink: 0;
  background-color: inherit;
  border: 2px solid #303a4d;
  color: #303a4d;
}

.outro_services {
  background: url("../Website-Images/Services/CTA.jpg") center / cover no-repeat;
}

.outro_prices {
  background-color: #cfe4ff;
}

/* **************PRICES**************** */

.main_prices .main__media img {
  filter: none;
}

.prices {
  background-color: #ffffff;
}

.prices__container {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.prices__title {
  text-align: center;
  margin-bottom: 1.5rem;
}

.prices__intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.prices__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.prices__subtitle_promo {
  grid-column: 1 / -1;
  font-family: "Nunito", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: -0.25rem;
  background: linear-gradient(90deg, #e85d9a, #e63442, #6cb750);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  border: 3px solid transparent;
  box-shadow: 0 8px 24px rgba(48, 58, 77, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 40px rgba(48, 58, 77, 0.2);
}

.price-card_rent-5 {
  background: linear-gradient(145deg, #fff9b8 0%, #f5e642 55%, #e8d422 100%);
  border-color: #cad516;
  box-shadow: 0 8px 24px rgba(202, 213, 22, 0.35);
}

.price-card_rent-5 .price-card__title {
  color: #6b7a00;
}

.price-card_rent-5 .price-card__price {
  color: #5a6600;
}

.price-card_rent-10 {
  background: linear-gradient(145deg, #d4f5ea 0%, #7dd4b5 55%, #4db896 100%);
  border-color: #6cc0a9;
  box-shadow: 0 8px 24px rgba(108, 192, 169, 0.35);
}

.price-card_rent-10 .price-card__title {
  color: #1f6b55;
}

.price-card_rent-10 .price-card__price {
  color: #145a47;
}

.price-card_rent-20 {
  background: linear-gradient(145deg, #d0f0f8 0%, #6ec5cf 55%, #3aa8b8 100%);
  border-color: #3aa8b8;
  box-shadow: 0 8px 24px rgba(110, 197, 207, 0.35);
}

.price-card_rent-20 .price-card__title {
  color: #1a6d7a;
}

.price-card_rent-20 .price-card__price {
  color: #0f5560;
}

.price-card_family {
  background: linear-gradient(145deg, #f0d8f5 0%, #c98ed8 55%, #aa74b0 100%);
  border-color: #7f3c8c;
  box-shadow: 0 8px 24px rgba(170, 116, 176, 0.35);
}

.price-card_family .price-card__title {
  color: #5e2870;
}

.price-card_family .price-card__price {
  color: #4a1d5c;
}

.price-card_certificate {
  background: linear-gradient(145deg, #d4e8ff 0%, #7eb8f5 55%, #4a9ae8 100%);
  border-color: #2a7bc4;
  box-shadow: 0 8px 24px rgba(74, 154, 232, 0.35);
}

.price-card_certificate .price-card__title {
  color: #1a5a8a;
}

.price-card_certificate .price-card__price {
  color: #0f4570;
}

.price-card_promo {
  position: relative;
  overflow: hidden;
}

.price-card_promo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.45) 0%, transparent 55%);
  pointer-events: none;
}

.price-card__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 1;
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
  font-family: "Nunito", sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #e63442, #e85d9a);
  box-shadow: 0 2px 8px rgba(230, 52, 66, 0.4);
}

.price-card_promo::before {
  content: "🎁";
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1;
  font-size: 1.75rem;
  line-height: 1;
}

.price-card_birthday {
  background: linear-gradient(145deg, #ffd6eb 0%, #ff7eb8 55%, #e85d9a 100%);
  border-color: #c41e6a;
  box-shadow: 0 8px 28px rgba(232, 93, 154, 0.45);
}

.price-card_birthday::before {
  content: "🎂";
}

.price-card_birthday .price-card__title {
  color: #8a1248;
  position: relative;
  z-index: 1;
}

.price-card_birthday .price-card__price {
  color: #fff;
  text-shadow: 0 2px 8px rgba(138, 18, 72, 0.35);
}

.price-card_gift {
  background: linear-gradient(145deg, #d8f5c8 0%, #7dd44a 55%, #5cb832 100%);
  border-color: #3d8a22;
  box-shadow: 0 8px 28px rgba(108, 183, 80, 0.45);
}

.price-card_gift::before {
  content: "⭐";
}

.price-card_gift .price-card__title {
  color: #2a6018;
  position: relative;
  z-index: 1;
}

.price-card_gift .price-card__price {
  color: #fff;
  text-shadow: 0 2px 8px rgba(42, 96, 24, 0.35);
}

.price-card__title {
  font-family: "Nunito", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.price-card__duration {
  font-size: 1rem;
  line-height: 1.45;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  letter-spacing: 0.02em;
  color: rgba(48, 58, 77, 0.75);
  font-weight: 500;
}

.price-card__price {
  font-family: "Nunito", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #303a4d;
  line-height: 1;
}

.price-card__price_gift {
  font-size: 1.75rem;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
}

.prices__star {
  margin-left: 0.2rem;
  color: #e85d9a;
  font-weight: 700;
}

.prices__footnotes {
  margin-top: 2rem;
  max-width: 48rem;
  text-align: left;
}

.prices__footnote {
  line-height: 1.55;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
  text-align: left;
}

.prices__note {
  margin-top: 2rem;
  max-width: 48rem;
  text-align: left;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.prices__note a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.prices__note a:hover {
  opacity: 0.8;
}

/* ************ARTICLES**************** */

.main_articles {
  background-color: #fae8f8;
}

.main.main_articles::before {
  display: none;
}

.main_articles .main__media img {
  filter: none;
}

.articles {
  background-color: #ffffff;
  position: relative;
}

.articles__container {
  padding-top: 5rem;
  padding-bottom: 4.5rem;
}

.articles__title {
  text-align: center;
  margin-bottom: 1.5rem;
}

.articles__intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.articles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.article-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #303a4d;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(48, 58, 77, 0.12);
}

.article-card__image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .article-card__image img {
  transform: scale(1.03);
}

.article-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.5rem;
}

.article-card__date {
  font-size: 0.875rem;
  font-weight: 600;
  color: #7c3aed;
  margin-bottom: 0.5rem;
}

.article-card__title {
  font-family: "Nunito", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.article-card__title a {
  text-decoration: none;
}

.article-card__title a:hover {
  opacity: 0.85;
}

.article-card__excerpt {
  flex-grow: 1;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: #4a5568;
  margin-bottom: 1.25rem;
}

.article-card__button {
  align-self: flex-start;
  background-color: inherit;
  border: 2px solid #303a4d;
  color: #303a4d;
}

.outro_articles {
  background-color: #fae8f8;
}

.outro_articles .outro__container {
  padding-top: 4rem;
  padding-bottom: 4.5rem;
}

.article-detail {
  background: linear-gradient(180deg, #fff 0%, #f8f3ff 100%);
}

.article-detail__container {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
  max-width: 48rem;
}

.article-detail__back {
  display: inline-block;
  margin-bottom: 2rem;
  font-weight: 600;
  text-decoration: none;
}

.article-detail__back:hover {
  opacity: 0.8;
}

.article-detail__meta {
  font-size: 0.875rem;
  font-weight: 600;
  color: #7c3aed;
  margin-bottom: 1rem;
}

.article-detail__title {
  margin-bottom: 2rem;
}

.article-detail__image {
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.article-detail__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.article-detail__content {
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.article-detail__content p:not(:last-child) {
  margin-bottom: 1.5rem;
}

.article-detail__content h3 {
  font-size: 1.35rem;
  margin: 2rem 0 1rem;
}

.article-detail__content a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.service-detail {
  background: linear-gradient(180deg, #fff 0%, #f8f3ff 100%);
}

.service-detail__container {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.service-detail__intro {
  text-align: center;
  margin: 0 auto 3rem;
  max-width: 48rem;
}

.service-detail__title {
  margin-bottom: 1rem;
}

.service-detail__text {
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.service-detail__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-detail__card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 18px 36px rgba(48, 58, 77, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.08);
}

.service-detail__card-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.service-detail__card-text {
  line-height: 1.55;
  letter-spacing: 0.02em;
}

/* ************TESTIMONIAL**************** */

.testimonial_home {
  position: relative;
  background-color: #ffffff;
}

.testimonial_home .testimonial__container {
  padding-top: 4rem;
  padding-bottom: 4.5rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
}

.testimonial_home .testimonial__heading {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonial__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
}

.testimonial_home .testimonial__item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  padding: 1.125rem 1.25rem;
  background-color: #ffffff;
  box-shadow: 0 2px 12px rgba(48, 58, 77, 0.06);
}

.item-testimonial__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}

.item-testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
}

.testimonial_home .item-testimonial__image {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin: 0;
}

.testimonial_home .item-testimonial__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.item-testimonial__info {
  min-width: 0;
}

.testimonial_home .item-testimonial__title {
  margin: 0 0 0.125rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  color: #303a4d;
}

.testimonial_home .item-testimonial__caption {
  font-size: 0.75rem;
  line-height: 1.35;
  color: #8a94a6;
}

.item-testimonial__rating {
  flex-shrink: 0;
  font-size: 0.75rem;
  line-height: 1;
  letter-spacing: 0.05em;
  color: #f5b301;
}

.item-testimonial__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: #5c6678;
}

.testimonial__container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
}

.testiomonial__caption {
  margin-bottom: 4rem;
  font-weight: 600;
  text-transform: uppercase;
}

.testimonial__title {
  margin-bottom: 4rem;
  font-size: 2rem;
  max-width: 40.75rem;
  line-height: 136%;
  font-weight: 500;
}

.item-testimonial__image {
  max-width: 64px;
  margin: 0 auto;
  margin-bottom: 1.063rem;
  height: 64px;
}

.item-testimonial__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.item-testimonial__title {
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.item-testimonial__caption {
  font-size: 0.938rem;
}

/* ****************OUTRO**************** */

.outro__container {
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.outro__title {
  margin-bottom: 1.25rem;
}

.outro__text {
  max-width: 33.625rem;
  line-height: 150%;
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}

.outro__button {
  padding: 1.25rem 3rem;
}

/* ****************FOOTER**************** */

.footer {
  background-color: #f0f4f8;
  line-height: 150%;
}

.footer__container {
  padding: 3.5rem 0.938rem 2.5rem;
  max-width: 74.624rem;
}

.footer__logo {
  display: block;
}

.footer__column_contacts .footer__logo {
  margin-top: 1.5rem;
}

.footer__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.footer__title {
  font-family: "Nunito", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #303a4d;
  margin-bottom: 1.5rem;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer__link {
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #303a4d;
  transition: opacity 0.3s;
}

.footer__link:hover {
  opacity: 0.7;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #303a4d;
  transition: opacity 0.3s;
}

.footer__contact-item:hover {
  opacity: 0.7;
}

.footer__contact-item img {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.footer__phone {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(48, 58, 77, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer__policy {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #303a4d;
  transition: opacity 0.3s;
}

.footer__policy:hover {
  opacity: 0.7;
}

.footer__policy span {
  color: #303a4d;
}

.footer__copyright {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #303a4d;
}

/* ****************ABOUT PAGE**************** */
.main__text_pages {
  max-width: 37.5rem;
}

.main__container_pages {
  padding-top: 300px;
}

.main_pages {
  min-height: 676px !important;
}

/* ****************SERVICES PAGE**************** */
.services-page__container {
  padding-top: 160px;
}

.services-page__item {
  margin-bottom: 132px;
}

.services-page__item:not(:last-child) {
  padding-bottom: 132px;
  margin-bottom: 132px;
  border-bottom: 1px solid rgba(48, 58, 77, 0.4);
}

.services-page__column {
  display: flex;
  align-items: center;
  gap: 97px;
}

.services-page__title {
  margin-bottom: 24px;
}

.services-page__text {
  margin-bottom: 56px;
  max-width: 480px;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0.02em;
}

.services-page__text p:not(:last-child) {
  margin-bottom: 20px;
}

.services-page__img {
  max-width: 552px;
  height: 614px;
}

.services-page__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* ****************CONTACT PAGE****************/

.contact__container {
  display: flex;
  justify-content: space-between;
  gap: 109px;
  padding-top: 140px;
  padding-bottom: 140px;
}

.contact__title {
  margin-bottom: 48px;
  font-weight: 600;
  line-height: 110%;
  font-size: 40px;
}

.connect-contact {
  display: flex;
  flex-direction: column;
  align-items: start;
  row-gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e1e4eb;
}

.connect-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.connect-contact__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

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

.connect-contant__type {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 110%;
  text-transform: uppercase;
}

.connect-contact__label {
  font-size: 22px;
  line-height: 150%;
  letter-spacing: 0.02em;
}

.contact__links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact__text {
  max-width: 545px;
  font-size: 18px;
  line-height: 150%;
}

.contact__text p:not(:last-child) {
  margin-bottom: 15px;
}

.map iframe {
  width: 100vw;
  height: 482px;
}

/* **************REVIEWS PAGE**************** */
.reviews__container {
  padding-top: 160px;
  padding-bottom: 160px;
}

.reviews__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
}

.reviews__column {
  border: 1px solid #e1e4eb;
  border-radius: 8px;
}

.reviews__item {
  padding-top: 48px;
  padding-bottom: 56px;
  padding-right: 32px;
  padding-left: 32px;
}

.item-reviews {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item-reviews__img {
  max-width: 46px;
  height: 36px;
  margin: 0 auto;
  margin-bottom: 46px;
}

.item-reviews__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-reviews__text {
  margin-bottom: 40px;
  font-size: 18px;
  letter-spacing: 0.02em;
  line-height: 150%;
}

.item-reviews__author {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.item-reviews__geo {
  font-size: 14px;
  letter-spacing: 0.002em;
}

/* ******************PRICING PAGE******************** */
.pricing__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.pricing__caption {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 4%;
}

.pricing__title {
  font-weight: 600;
  font-size: 72px;
  margin-bottom: 24px;
}

.pricing__text {
  font-size: 22px;
  letter-spacing: 2%;
  margin-bottom: 88px;
}

.pricing__row {
  display: flex;
  align-items: start;
  gap: 24px;
}

.pricing__column {
  border: 2px solid #e1e4eb;
  border-radius: 8px;
}

.pricing__item {
  padding: 40px;
  padding-bottom: 48px;
}

.item-pricing__info {
  padding-bottom: 32px;
  border-bottom: 1px solid #e1e4eb;
  margin-bottom: 32px;
}

.item-pricing__label {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1%;
  margin-bottom: 16px;
}

.item-pricing__cost {
  font-size: 72px;
  font-weight: 600;
  margin-bottom: 16px;
}

.item-pricing__list {
  margin-bottom: 64px;
}

.item-pricing__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.item-pricing__item::before {
  content: "";
  background: url("../img/pricing/check.svg") 0 0 no-repeat;
  width: 16px;
  height: 18px;
}

.item-pricing__item:not(:last-child) {
  margin-bottom: 12px;
}

.item-pricing__button {
  display: inline-block;
  font-size: 22px;
  letter-spacing: 2%;
  font-weight: 600;
  color: #fff;
  padding: 20px 82px;
  background-color: #303a4d;
  border-radius: 64px;
}

.team {
  background-color: #e1e4eb;
}

.team__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.team__title {
  text-align: center;
  margin-bottom: 96px;
  max-width: 483px;
}

.team__row {
  display: grid;
  column-gap: 24px;
  row-gap: 96px;
  grid-template-columns: repeat(3, 1fr);
}

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

.item-team__img {
  max-width: 360px;
  height: 363px;
  margin-bottom: 40px;
}

.item-team__img img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.item-team__name {
  max-width: 186px;
  font-size: 32px;
  font-weight: 600;
  line-height: 120%;
  text-align: center;
  margin-bottom: 12px;
}

.item-team__role {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 26px;
  letter-spacing: 2%;
}

.item-team__role span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.item-team__role span::after {
  content: "";
  background: url("../img/team/icons/star.svg") 0 0 no-repeat;
  width: 12px;
  height: 12px;
}

.item-team__text {
  font-size: 16px;
  text-align: center;
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 328px;
  margin-bottom: 20px;
}

.item-team__icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* *************FAQ PAGE************** */
.faqs__container {
  padding-top: 140px;
  padding-bottom: 140px;
}

.faqs__title {
  text-align: center;
  margin-bottom: 80px;
}

.spollers-faq__item {
  width: 100%;
}

.spollers-faq__item:not(:last-child) {
  margin-bottom: 24px;
}

.spollers-faq__button {
  display: inline-block;
  border: 2px solid #e1e4eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-radius: 8px;
}

.spollers-faq__button span {
  padding-left: 40px;
  padding-top: 32px;
  padding-bottom: 32px;
  font-weight: 600;
}

.spollers-faq__button img {
  padding-right: 34.5px;
}

.spollers-faq__text {
  max-height: 0;
  overflow: hidden;
  width: 100%;
  display: block;
}

.spollers-faq__item.active .spollers-faq__text {
  max-height: 1000px;
  max-height: calc(1000px + 16px);
}

.spollers-faq__item.active .spollers-faq__button {
  border-bottom: none;
  border-radius: 8px 8px 0px 0px;
}

.spollers-faq__item.active .spollers-faq__button span {
  padding-bottom: 32px;
}

.spollers-faq__item.active .spollers-faq__button img {
  transform: translate(-34px, 0px) rotate(180deg);
}

.spollers-faq__inner {
  padding-top: 20px;
  padding-left: 40px;
  border: 2px solid #e1e4eb;
  border-radius: 0px 0px 8px 8px;
  line-height: 150%;
  padding-bottom: 20px;
  border-top: none;
  padding-right: 100px;
}

/* ****************TEAM PAGE**************** */
.director__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  align-items: center;
  gap: 96px;
}

.director__title {
  margin-bottom: 16px;
}

.director__role {
  font-size: 22px;
  letter-spacing: 2%;
  margin-bottom: 40px;
}

.director__text {
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 480px;
}

.director__text p:not(:last-child) {
  margin-bottom: 20px;
}

.director__img {
  max-width: 552px;
  height: 614px;
}

.director__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* ****************GALLERY**************** */
.gallery__container {
  padding-bottom: 140px;
  padding-top: 140px;
}

.gallery__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
  margin-bottom: 96px;
  justify-items: center;
}

.gallery__item {
  max-width: 360px;
  height: 407px;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.gallery__paggination {
  display: flex;
  align-items: center;
  justify-content: center;
  align-items: center;
  gap: 42px;
}

.gallery__paggination button:first-child {
  transform: translate(0px, 5px);
}

.gallery__paggination button:last-child {
  transform: rotate(-180deg) translate(0px, 5px);
}

.gallery_active {
  color: #fff;
  padding: 10px 15px;
  background-color: #303a4d;
  border-radius: 100px;
  display: inline-block;
}

.gallery_home {
  background-color: #ffffff;
  position: relative;
}

.gallery_home .gallery__container {
  padding-top: 4rem;
  padding-bottom: 4.5rem;
}

.gallery_home .gallery__title {
  text-align: center;
  margin-bottom: 5rem;
}

.gallery_home .gallery__row {
  column-gap: 1.5rem;
  row-gap: 1.5rem;
  margin-bottom: 0;
  justify-items: stretch;
}

.gallery_home .gallery__item {
  max-width: none;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border: 1px solid #303a4d;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  background: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery_home .gallery__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(48, 58, 77, 0.12);
}

.gallery_home .gallery__item_hidden {
  display: none;
}

.gallery_home .gallery__item img {
  border-radius: 0;
  pointer-events: none;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(48, 58, 77, 0.88);
}

.gallery-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(92vw, 72rem);
  padding: 3.5rem 4rem;
}

.gallery-lightbox__figure {
  margin: 0;
  width: 100%;
  text-align: center;
}

.gallery-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 10rem);
  margin: 0 auto;
  border-radius: 12px;
  object-fit: contain;
}

.gallery-lightbox__counter {
  margin-top: 1rem;
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.gallery-lightbox__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-lightbox__nav_prev {
  left: 0;
}

.gallery-lightbox__nav_next {
  right: 0;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

body.gallery-lightbox-open {
  overflow: hidden;
}

/* ****************RESOURCES**************** */
.resources__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
  justify-items: center;
}

.resources__img {
  max-width: 360px;
  height: 330px;
  margin-bottom: 32px;
}

.resources__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.resources__title {
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 12px;
}

.resources__text {
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 243px;
  margin-bottom: 32px;
}

.resources__button {
  background-color: #fff;
  color: #303a4d;
  font-weight: 600;
  letter-spacing: 2%;
  border: 2px solid #303a4d;
  border-radius: 64px;
}

/* ****************ADAPTIVE**************** */

@media (max-width: 992px) {
  .services__row {
    grid-template-columns: 1fr;
    gap: 3rem;
    justify-items: center;
  }

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

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

  .item-services {
    text-align: center;
    align-items: center;
  }

  .page__main {
    padding-bottom: 80px;
  }

  .service-detail__grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 47.999rem) {
  .menu__list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 995px) {
  .item-pricing__button {
    font-size: 19px;
  }
}

@media (max-width: 62.6875rem) {
  .resources__container {
    padding-top: 70px;
    padding-bottom: 70px;
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__paggination {
    gap: 27px;
  }

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

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

  .team__row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }

  .director__container {
    flex-direction: column;
    padding-top: 70px;
    padding-bottom: 70px;
    gap: 10px;
    text-align: center;
  }

  .item-pricing {
    padding: 20px;
    padding-bottom: 30px;
  }

  .pricing__title {
    font-size: 39px;
  }

  .pricing__text {
    margin-bottom: 25px;
  }

  .item-pricing__button {
    padding: 16px 42px;
  }

  .services-page__column {
    gap: 30px;
    font-size: 15px;
  }

  .services-page__title {
    font-size: 29px;
  }

  .reviews__row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
    column-gap: 10px;
  }

  .reviews__item {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-top: 20px;
    display: inline-block;
  }

  .item-reviews__text {
    font-size: 16px;
  }

  .item-reviews__author {
    font-size: 16px;
  }
}

@media (max-width: 47.999rem) {
  .menu__item_has-submenu {
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .menu__item_has-submenu::after {
    display: none;
  }

  .submenu-menu {
    position: static;
    transform: none;
    min-width: 0;
    margin-top: 1rem;
    padding: 1rem;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border-radius: 1rem;
    background: #f7f1ff;
    border: 1px solid rgba(124, 58, 237, 0.12);
  }

  .submenu-menu::before {
    display: none;
  }

  .submenu-menu li:not(:last-child) {
    margin-bottom: 0.5rem;
  }

  .submenu-menu__link {
    font-size: 1rem;
    text-align: center;
  }

  .spollers-faq__item.active .spollers-faq__button img {
    transform: translate(-10px, -10px) rotate(180deg);
  }

  .spollers-faq__button span {
    padding-top: 15px;
    padding-left: 10px;
    padding-bottom: 15px;
    font-weight: 600;
    font-size: 14px;
  }

  .spollers-faq__button img {
    padding-right: 10px;
  }

  .spollers-faq__inner {
    font-size: 16px;
    padding-left: 10px;
    line-height: 130%;
  }

  .pricing__container {
    text-align: center;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .pricing__row {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .item-pricing__button {
    font-size: 17px;
    padding: 15px 32px;
  }

  .reviews__container {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .icon-menu {
    display: block;
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 1.875rem;
    flex: 0 0 1.875rem;
    width: 1.875rem;
    height: 1.125rem;
    cursor: pointer;
    z-index: 5;
  }

  .icon-menu span,
  .icon-menu::before,
  .icon-menu::after {
    content: "";
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    right: 0;
    position: absolute;
    width: 100%;
    height: 0.125rem;
    background-color: #000;
  }

  .icon-menu::before {
    top: 0;
  }

  .icon-menu::after {
    bottom: 0;
  }

  .contact__container {
    flex-direction: column;
    padding-top: 80px;
    gap: 50px;
    padding-bottom: 80px;
  }

  .icon-menu span {
    top: calc(50% - 0.0625rem);
  }

  .menu-open .icon-menu span {
    width: 0;
  }

  .menu-open .icon-menu::before {
    top: calc(50% - 0.0625rem);
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .menu-open .icon-menu::after {
    bottom: calc(50% - 0.0625rem);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .menu__body {
    background-color: #fff;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    padding: 9.375rem 0.938rem 1.875rem 0.938rem;
    overflow: auto;
    flex-direction: column;
    row-gap: 5rem;
  }

  .menu__body::before {
    content: "";
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    min-height: var(--header-height);
    background-color: #fff;
    border-bottom: 1px solid #000;
    z-index: 2;
  }

  .menu-open .menu__body {
    left: 0;
  }

  .menu-open .menu__body::before {
    left: 0;
  }

  .menu__item {
    text-align: center;
  }

  .menu__item:not(:last-child) {
    margin-bottom: 1.563rem;
  }

  .menu__link {
    font-size: 2rem;
  }

  .actions-header__button {
    padding: 0.75rem;
  }

  .main__container {
    padding-top: 12.5rem;
  }

  .main:not(.main_pages) {
    min-height: 82.3vh;
  }

  .main__wave {
    height: 3rem;
  }

  :root {
    --header-logo-height: 3.25rem;
  }

  .section-wave {
    height: 2.5rem;
  }

  .main:not(.main_pages) .main__container {
    padding-top: 8rem;
    padding-bottom: 2rem;
  }

  .main__title_colorful,
  .title_colorful {
    font-size: 1.75rem;
  }

  .main__container_pages {
    padding-top: 290px;
  }

  .main__title {
    font-size: 3rem;
  }

  .main:not(.main_pages) .main__title {
    font-size: 2rem;
  }

  .main_home .main__title,
  .main_about .main__title,
  .main_services .main__title,
  .main_contact .main__title,
  .main_prices .main__title,
  .main_articles .main__title {
    font-size: 2rem;
  }

  .title {
    font-size: 2rem;
  }

  .about__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .about__container {
    flex-direction: column;
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
    gap: 4rem;
  }

  .about_home .about__container {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }

  .gallery_home .gallery__title {
    margin-bottom: 2.5rem;
  }

  .testimonial_home .testimonial__heading {
    margin-bottom: 2rem;
  }

  .testimonial__row {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }

  .gallery_home .gallery__container {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }

  .testimonial_home .testimonial__container {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }

  .outro_home .outro__container {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }

  .gallery_home .gallery__row {
    column-gap: 1rem;
    row-gap: 1rem;
  }

  .gallery-lightbox__dialog {
    padding: 3rem 2.75rem;
  }

  .gallery-lightbox__nav {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
  }

  .about_reverse .about__container {
    flex-direction: column;
  }

  .services__container {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }

  .prices__container {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .prices__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .articles__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .articles__container {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .price-card {
    padding: 1.5rem 1.25rem;
  }

  .price-card__price {
    font-size: 1.75rem;
  }

  .testimonial_home .testimonial__heading {
    margin-bottom: 2rem;
  }

  .outro__container {
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
  }

  .logo img {
    height: 3.25rem;
  }

  .footer__logo img {
    height: 2.925rem;
  }

  .services-page__column {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 20px;
    gap: 4rem;
  }
}

@media (max-width: 61.936rem) {
  .footer__columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__column_contacts {
    grid-column: 1 / -1;
  }

  .footer__container {
    padding: 2.5rem 0.938rem 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__policy,
  .footer__copyright {
    text-align: center;
  }

  .logo img {
    height: 3.575rem;
  }

  .footer__logo img {
    height: 3.25rem;
  }
}

@media (max-width: 530px) {
  .footer__columns {
    grid-template-columns: 1fr;
  }

  .footer__column_contacts {
    grid-column: auto;
  }

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

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

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

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

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

.cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem 0.938rem 1.5rem;
}

.cookie-banner__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(48, 58, 77, 0.55);
  animation: cookieFadeIn 0.35s ease;
}

.cookie-banner__dialog {
  position: relative;
  width: 100%;
  max-width: 44rem;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 16px 48px rgba(48, 58, 77, 0.28);
  overflow: hidden;
  animation: cookieSlideUp 0.4s ease;
}

.cookie-banner_hiding .cookie-banner__backdrop {
  animation: cookieFadeOut 0.3s ease forwards;
}

.cookie-banner_hiding .cookie-banner__dialog {
  animation: cookieSlideDown 0.3s ease forwards;
}

.cookie-banner__accent {
  height: 6px;
  background: linear-gradient(
    90deg,
    #cad516 0%,
    #6cc0a9 14%,
    #6ec5cf 28%,
    #7f3c8c 42%,
    #e63442 57%,
    #6cb750 71%,
    #aa74b0 85%,
    #cad516 100%
  );
}

.cookie-banner__content {
  padding: 1.75rem 2rem 2rem;
}

.cookie-banner__title {
  margin: 0 0 0.75rem;
  font-family: "Nunito", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: #303a4d;
}

.cookie-banner__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #303a4d;
}

.cookie-banner__text a {
  color: #7f3c8c;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__text a:hover {
  color: #e63442;
}

.cookie-banner__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.cookie-banner__button {
  font-family: "Montserrat", sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  padding: 0.875rem 2.25rem;
  border: none;
  border-radius: 30px;
  background-color: #303a4d;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  letter-spacing: 0.02em;
}

.cookie-banner__button:hover {
  background-color: #1f2738;
  transform: translateY(-1px);
}

.cookie-banner__button:focus-visible {
  outline: 3px solid #6ec5cf;
  outline-offset: 3px;
}

body.cookie-banner-open {
  overflow: hidden;
}

@keyframes cookieFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes cookieFadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes cookieSlideUp {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cookieSlideDown {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(1.5rem);
  }
}

@media (max-width: 530px) {
  .cookie-banner {
    padding: 0.75rem 0.75rem 1rem;
  }

  .cookie-banner__content {
    padding: 1.25rem 1.25rem 1.5rem;
  }

  .cookie-banner__title {
    font-size: 1.25rem;
  }

  .cookie-banner__text {
    font-size: 0.9375rem;
  }

  .cookie-banner__actions {
    margin-top: 1.25rem;
  }

  .cookie-banner__button {
    width: 100%;
    padding: 0.875rem 1.5rem;
  }
}