.page {
  min-height: 100dvh;
  color: #03045e;
  background-color: #f9fbff;
}

/* Хедер */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(249, 251, 255, 0.2);
  box-shadow: 0px 5px 6px 0px rgb(0 0 0 / 10%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header__container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 16px;
}

.header__brand {
  display: flex;
}

.header__logo {
  display: inline-block;
  padding: 10px;
}

.header__logo-image {
  width: 49px;
  height: 49px;
  object-fit: contain;
  object-position: center;
}

.header__version {
  display: block;
  padding: 0 5px;
  font-size: 12px;
  color: #03045e;
  white-space: nowrap;
  align-self: center;
}

.header__version-mobile {
  display: none;
}
/* ===== ПУНКТ МЕНЮ С ВЫПАДАШКОЙ ===== */
.header__nav-item--dropdown {
  position: relative;
}

/* ===== ВЫПАДАЮЩЕЕ МЕНЮ ===== */
.header__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  visibility: hidden;
  opacity: 0;
  min-width: 220px;
  padding: 8px 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
  transform: translateY(-8px);
  list-style: none;
}

/* ===== ПОКАЗЫВАЕМ ПРИ НАВЕДЕНИИ ===== */
.header__nav-item--dropdown:hover .header__dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* ===== ССЫЛКИ В ВЫПАДАШКЕ ===== */
.header__dropdown-link {
  display: block;
  padding: 10px 20px;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.header__dropdown-link:hover {
  background: #f9fbff;
  color: #1a1a2e;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__social-link {
}

.header__icon:hover,
.header__btn:hover {
  color: #f7ad19;
}

.header__icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.header__icon {
  display: block;
  width: 100%;
  height: 100%;
  color: #03045e;
  transition: color 0.3s ease;
  stroke: currentColor;
  fill: none;
  stroke-width: 1;
}

/* .header__social-link:hover .header__icon {
  color: #F7AD19; 
} */

.header__btn {
  display: inline-block;
  padding: 15px 5px;
  border: none;
  border-radius: 34px;
  background: none;
  font-size: 16px;
  font-weight: lighter;
  color: #03045e;
  text-align: center;
  transition:
    0.5s ease,
    transform 0.2s ease;
  cursor: pointer;
}

/* главная секция */

.hero {
}

.hero__container {
  padding-top: 177px;
  position: relative;
  text-align: center;
  width: 100%;
  max-width: 730px;
  margin: 0 auto;
  overflow: hidden;
  padding-bottom: 90px;
}

.hero__container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(2%, -60%);
  width: 353px;
  height: 353px;
  border-radius: 50%;
  box-shadow:
    inset -17px 10px 6px 0 rgba(134, 134, 134, 0.05),
    inset 5px -10px 6px 0 rgba(134, 134, 134, 0.25);
  z-index: -1;
}

.hero__content {
  text-align: center;
}

.hero__title__block {
  display: flex;
  flex-direction: column;
  padding-bottom: 16px;
}

.hero__title {
  font-size: 125px;
  padding-bottom: 0;
}

.hero__title--accent {
  font-family: "Manrope", sans-serif;
  font-weight: lighter;
  letter-spacing: 89%;
  font-size: 53px;
  color: inherit;
  padding-left: 30px;
}

.hero__subtitle {
  padding-bottom: 16px;
}

.hero__description {
  padding-bottom: 30px;
  font-size: 16px;
}

.hero__btn {
  display: inline-block;
  padding: 14px 32px;
  border: none;
  border-radius: 34px;
  background: #03045e;
  font-size: 16px;
  font-weight: bold;
  color: #f9fbff;
  text-align: center;
  transition:
    0.5s ease,
    transform 0.2s ease;
  cursor: pointer;
}

.hero__btn.pulse {
  animation: pulse 0.5s ease forwards;
}

.hero__btn:hover {
  background: #f7ad19;
  box-shadow:
    -26px 33px 17px rgba(0, 0, 0, 0.02),
    -15px 19px 14px rgba(0, 0, 0, 0.08),
    -7px 8px 11px rgba(0, 0, 0, 0.13),
    -2px 2px 6px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

.hero__btn:focus-visible {
  transition: none;
  outline: 5px solid #f7ad19;
}

/* Карусель */
.carousel__intro {
  padding-bottom: 40px;
  margin: 0 auto;
  max-width: 400px;
}

.carousel__title {
  padding-bottom: 16px;
  text-align: center;
}

.carousel__lead__div {
  position: relative;
}

.carousel__lead {
  font-size: 16px;
  text-align: center;
}

.carousel {
  position: relative;
  overflow: hidden;
  max-width: 1360px;
  margin: 0 auto;
  margin-bottom: 90px;
  user-select: none;
  -webkit-user-select: none;
}

.carousel:active {
  cursor: grabbing;
}

.carousel__slide img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  pointer-events: none; /* картинки не мешают drag */
  -webkit-user-drag: none; /* Safari */
  user-drag: none;
}

.carousel__track {
  display: flex;
  transition: transform 0.4s ease;
  cursor: grab;
}

.carousel__slide {
  flex: 0 0 62%;
  aspect-ratio: 16 / 9;
  transition: transform 0.4s ease;
}

.carousel__slide img {
  object-fit: cover;
  transition: transform 0.4s ease;
}

.carousel__slide--active img {
  transform: scale(1);
}

/* Соседи — уменьшенные и чуть приглушённые */
.carousel__slide:not(.carousel__slide--active) img {
  transform: scale(0.75);
}

.slider-arrow-left-box,
.slider-arrow-right-box {
  cursor: pointer;
  height: 100%;
  position: absolute;
  top: 0;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  z-index: 10;
}

.slider-arrow-left-box {
  left: 0;
}

.slider-arrow-right-box {
  right: 0;
}

.carousel__btn {
  position: absolute;
  top: 40%;
  background: rgba(0, 0, 0, 0.5);
  color: #f9fbff;
  border: none;
  font-size: 32px;
  padding: 25px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.carousel__btn--prev {
  left: 12px;
}
.carousel__btn--next {
  right: 12px;
}

.carousel__btn--prev::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border-left: 4px solid #f9fbff;
  border-bottom: 4px solid #f9fbff;
  transform: rotate(45deg);
  margin-left: 4px;
}

.carousel__btn--next::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border-right: 4px solid #f9fbff;
  border-bottom: 4px solid #f9fbff;
  transform: rotate(-45deg);
  margin-right: 4px;
}

.carousel__btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carousel__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 0;
  cursor: pointer;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

.carousel__dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.carousel__dot--active {
  background: #03045e;
  transform: scale(1.3);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.7);
}

/* секция Наши работы */

.works {
}

.works__container {
  width: 95%;
  max-width: 1370px;
  margin: 0 auto;
}

.works__title {
  text-align: center;
}

.works__grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr 1fr;
}

.works__card {
}

.works__card-image {
  display: block;
  max-width: 656px;
  height: 454px;
  overflow: hidden;
  margin-bottom: 30px;
  object-fit: cover;
}

.works__card-image img {
  object-fit: cover;
  object-position: top;
}

.works__card-content {
}

.works__card-title {
}

.works__card-description {
}

.works__card-client {
  padding-bottom: 16px;
  color: #03045e;
}

.works__card-link {
  font-size: 16px;
  color: #f7ad19;
  text-decoration: underline solid 1px;
  text-underline-offset: 1px;
}

/* Секция описания команды */

.about {
}

.about__container {
  width: 95%;
  max-width: 1370px;
  margin: 0 auto;
}

.about__intro {
  padding-bottom: 40px;
  text-align: center;
}

.about__title {
  padding-bottom: 20px;
  text-align: center;
}

.about__wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}

.about__content {
}

.about__lead {
}

.about__text {
}

.about__subtitle {
}

.about__cards {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.about__card {
}

.about__card-content {
  width: 90%;
  max-width: 680px;
  padding-bottom: 30px;
}

.about__card-name {
}

.about__card-role {
}

.about__card-description {
}

.about__card-image {
  display: block;
  width: 357px;
  height: 357px;
  overflow: hidden;
  border-radius: 50%;
}

.about__card-image img {
  object-fit: cover;
  object-position: bottom;
}

.about__card-image-developer img {
  object-fit: cover;
  object-position: center 55%;
}

.about__sticky {
  position: sticky;
  top: 110px;
}

.about__logo {
  width: 414px;
  height: 414px;
}

.about__logo img {
  object-fit: contain;
  object-position: center;
}

/* Секция услуги */

.services {
}

.services__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 95%;
  max-width: 1370px;
  margin: 0 auto;
}

.services__container--services {
  padding-top: 45px;
}

.services__header {
  width: 297px;
  padding-bottom: 40px;
  text-align: center;
}

.services__title {
  padding-bottom: 20px;
}

.services__subtitle-text {
  font-size: 16px;
}

.services__names {
  display: flex;
  flex-direction: column;
  gap: 35px;
  width: 100%;
}

.services__block {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.services__subtitle {
  padding-bottom: 0;
  align-self: flex-start;
}

.services__list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
}

.services__item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  padding: 15px 20px;
  border-radius: 40px;
}

.services__item:active {
}

.services__item:hover {
  background-color: #f7ad19;
}

.services__item:focus-visible {
  outline: 5px solid #f7ad19;
}

/* Аккордеон */

.services__details {
  width: 100%;
}

.services__summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 15px 20px;
  border-radius: 40px;
  transition: background 0.3s ease;
  cursor: pointer;
  list-style: none;
}

.services__summary:hover {
  /* background: #fff; */
}

.services__summary::-webkit-details-marker {
  display: none;
  /* скрываем треугольник в Chrome/Safari */
}

/* Контент, который раскрывается */
.services__item-content {
  opacity: 0;
  max-height: 0;
  margin-top: 0;
  padding-left: 30px;
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease,
    margin 0.3s ease;
}

.services__details[open] .services__item-content {
  opacity: 1;
  max-height: 300px;
  /* достаточно, чтобы кнопка поместилась */
  margin-top: 10px;
}

/* Кнопка "Выбрать" */
.services__item-btn {
  display: inline-block;
  padding: 13px 39px;
  border: none;
  border-radius: 34px;
  background: #03045e;
  font-size: 16px;
  color: #f6f9ff;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
  cursor: pointer;
}

.services__item-btn:hover {
  background: #0156ff;
  box-shadow:
    -26px 33px 17px rgba(0, 0, 0, 0.02),
    -15px 19px 14px rgba(0, 0, 0, 0.08),
    -7px 8px 11px rgba(0, 0, 0, 0.13),
    -2px 2px 6px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

.services__item-left {
}

.services__item-title {
}

.services__item-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 20px;
}

/* Универсальный способ */
.services__item-features li::before {
  padding-right: 5px;
  color: #03045e;
  content: "•";
}

.services__item-features li {
  color: #1a1a2e;
}

.services__item-right {
}

.services__item-price {
  font-size: clamp(1rem, 0.6322rem + 1.6346vw, 3.125rem);
  /* font-size: 50px; */
  font-weight: 600;
  color: #03045e;
  text-align: end;
}

.services__item:active {
  color: #f9fbff;
}

/* Секция скам */

.scam {
  margin-bottom: 90px;
  background-image: url(../images/images-webp/фон-скам.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: #f9fbff;
}

.scam__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 95%;
  max-width: 1370px;
  margin: 0px auto;
  padding-top: 45px;
}

.scam__header {
  padding-bottom: 20px;
  color: #f7ad19;
}

.scam__title {
  padding-bottom: 20px;
  color: inherit;
}

.scam__subtitle {
  width: 90%;
  max-width: 650px;
  font-size: 24px;
  color: inherit;
}

.scam__grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 675px 600px;
  padding-bottom: 30px;
}

.scam__left {
}

.scam__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scam__list li {
  position: relative;
  padding-left: 15px;
  font-size: 20px;
}

.scam__list li::before {
  position: absolute;
  top: 9px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #4a90e2;
  content: "";
}

.scam__price-box {
  padding-bottom: 30px;
}

.scam__price {
  font-size: 24px;
  font-weight: 700;
  color: #f7ad19;
}

.scam__price--old {
  padding-right: 17px;
  text-decoration: line-through;
  text-decoration-color: #fff;
}

.scam__price--new {
}

.scam__timer {
  font-weight: bold;
  color: inherit;
}

.scam__right {
}

.scam__question {
  color: inherit;
}

.scam__text {
  color: inherit;
}

.scam__cta {
  padding-bottom: 30px;
}

.scam__btn {
  display: inline-block;
  padding: 13px 53px;
  border: none;
  border-radius: 40px;
  background-color: #f7ad19;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Секция отзыв */

.reviews {
}

.reviews__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 95%;
  max-width: 1370px;
  margin: 0px auto;
}

.reviews__header {
  padding-bottom: 90px;
  text-align: center;
}

.reviews__title {
  padding-bottom: 20px;
}

.reviews__subtitle {
}

.reviews__list {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: flex-start;
}

.reviews__item {
  width: 31%;
}

.reviews__card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reviews__images-player {
  width: 400px;
  height: 400px;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 50%;
  cursor: pointer;
}

.reviews__images {
  object-fit: cover;
  object-position: top;
}

.reviews__name {
  padding-bottom: 16px;
  font-family: manrope, sans-serif;
  font-size: 24px;
}

.reviews__profession {
  padding-bottom: 20px;
  font-weight: bold;
  color: #03045e;
}

.reviews__profession--underline {
  display: block;
  width: 100%;
  height: 2px;
  margin: 20px 0 20px;
  padding-bottom: 1px;
  background: #03045e;
}

.reviews__video {
  position: relative;
  width: 400px;
  height: 400px;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #1a1a2e;
  cursor: pointer;
}

.reviews__video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reviews__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  transition:
    background 0.3s ease,
    transform 0.2s ease;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.reviews__play-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translate(-50%, -50%) scale(1.15);
}

.reviews__play-btn svg {
  margin-left: 3px;
  fill: #fff;
}

.reviews__quote-title {
  padding-bottom: 16px;
}

.reviews__text {
  padding-bottom: 16px;
  text-align: left;
}

.reviews__link {
  display: inline-block;
  width: 100%;
  color: #f7ad19;
  text-align: left;
  text-decoration: underline;
}

/* Секция контакты */
.contacts-social {
}

.contacts-social__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 95%;
  max-width: 1370px;
  margin: 0px auto;
}

.contacts-social__title {
}

.contacts-social__list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(557px, 675px));
  padding-bottom: 90px;
}

.contacts-social__item {
  width: 100%;
  color: #f9fbff;
}

.contacts-social__item--max {
  background-color: #6e1aff;
}

.contacts-social__item--telegram {
  background-color: #24a1de;
}

.contacts-social__item--vk {
  background-color: #0077ff;
}

.contacts-social__item--instagram {
  background-color: #c13584;
}

.contacts-social__item--email {
  background-color: #03045e;
}

.contacts-social__item--phone {
  background-color: #1a1a2e;
}

.contacts-social__link-wrapper {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 30px 0 40px 30px;
}

.contacts-social__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24%;
  max-width: 140px;
  color: #f9fbff;
}

.contacts-social__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contacts-social__label {
  font-size: 32px;
}

.contacts-social__value {
  font-size: 24px;
}

/* .contacts-social__value--phone {
  display: flex;
  flex-direction: column;
  gap: 10px;
} */

/* Секция футер */
.footer {
  background-color: #1a1a2e;
  color: #f9fbff;
}

.footer__container {
  display: flex;
  flex-direction: column;
  width: 85%;
  max-width: 1370px;
  margin: 0px auto;
  padding-top: 90px;
  background-image: url(../images/images-webp/main-logo-opacity.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto;
}

.footer__col__nav {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 44px;
  padding-bottom: 40px;
}

.footer__list__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  font-weight: bold;
}

.footer__col__contact {
  padding-bottom: 100px;
}

.footer__list__contact {
  display: grid;
  gap: 44px;
  grid-template-columns: repeat(3, minmax(284px, 400px));
  justify-items: start;
}

.footer__list a {
  font-size: 24px;
}

.footer__link {
  font-size: 20px;
  text-decoration: underline 1px;
  white-space: nowrap;
  text-underline-offset: 5px;
}

.footer__contact-item {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.footer__contact-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.footer__icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 33px;
  height: 33px;
  flex-shrink: 0;
}

.footer__icon {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
}

.footer__label {
  font-size: 24px;
  font-weight: bold;
}

.footer__bottom {
  padding-bottom: 40px;
  font-size: 20px;
}

.footer__copy {
  color: inherit;
}

.footer__legal {
  display: flex;
  flex-direction: row;
  gap: 40px;
  padding-bottom: 16px;
}

@media (max-width: 375px) {
  .hero__container {
    padding-top: 70px;
  }

  .works__card-image {
    height: 252px;
  }

  .about__cards {
    gap: 20px;
  }

  .services__summary {
    flex-direction: column;
    gap: 16px;
  }

  .services__item {
    padding: 16px 5px;
  }

  .services__item-price {
    font-size: 26px;
  }

  .reviews__header {
    padding-bottom: 35px;
  }

  .reviews__card {
    padding-bottom: 25px;
  }

  .reviews__name {
    text-align: center;
  }

  .contacts-social__list {
    grid-template-columns: 675px;
    padding-bottom: 30px;
  }

  .contacts-social__link-wrapper {
    gap: 15px;
    padding: 30px 0 40px 15px;
  }

  .contacts-social__value--email {
    width: 200px;
    word-break: break-all;
  }

  .footer__container {
    padding-top: 35px;
  }

  .footer__col__contact {
    padding-bottom: 30px;
  }

  .footer__legal {
    gap: 16px;
  }
}

@media (max-width: 430px) {
  .hero__title {
    font-size: 84px;
  }

  .hero__title--accent {
    font-size: 30px;
  }

  .carousel__slide {
    flex: 0 0 95%;
  }

  .carousel__btn {
    padding: 12px 10px;
  }

  .about__card-image {
    width: 335px;
    height: 335px;
    margin: 0 auto;
  }

  .reviews__video {
    width: 335px;
    height: 335px;
  }

  .reviews__images-player {
    width: 335px;
    height: 335px;
  }
}

@media (max-width: 768px) {
  .works__grid {
    grid-template-columns: 1fr;
  }

  .about__wrapper {
    flex-direction: column;
  }

  /* Секция отзывы */
  .reviews__item {
    width: 95%;
  }

  .reviews__list {
    flex-direction: column;
    align-items: center;
  }

  .contacts-social__list {
    grid-template-columns: 675px;
  }

  .footer__legal {
    flex-direction: column;
  }
}

@media (max-width: 1200px) {
  /* .scam__grid {
    grid-template-columns: 1fr;
  } */

  .about__sticky {
    display: none;
  }

  .contacts-social__list {
    grid-template-columns: 1fr;
  }

  .footer__container {
    align-items: center;
  }

  .footer__list__contact {
    grid-template-columns: 327px;
  }
}
