:root {
  --color-dark: #141414;
  --color-light: #fff;
  --color-primary: #2e62f2;
  --font-family: "Montserrat", sans-serif;
  --second-family: "Inter", sans-serif;
}

.font-family {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

/* HEADER/////////////////////////////////////////////////////////////// */

.site-header {
  background-color: #ffffff;
  top: 0;
  position: relative;
  z-index: 1;
}

.header-container {
  width: 100%; /* ✅ Занимает всю доступную ширину родителя (.container) */
  margin: 0 auto;
  padding: 40px 0 20px 0; /* ✅ Убираем боковые отступы отсюда, они уже есть у .container */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Общие стили для всех 3 блоков */
.header-block {
  display: flex;
  align-items: center;
}

/* --- БЛОК 1: Логотип --- */
.header-logo {
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  color: #111827;
}

/* --- БЛОК 2: Навигация --- */
.header-nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
}

.header-nav li {
  display: inline-block;
}

.header-nav a {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-dark);
  transition:
    transform 0.3s ease,
    color 0.3s ease,
    border-bottom 0.3s ease;
  cursor: pointer;
  display: inline-block;
  border-bottom: 2px solid transparent; /* ✅ Добавьте эту строку */
}

.header-nav a:hover {
  transform: scale(1.08);
}

/* --- БЛОК 3: Соцсети --- */
.header-socials ul {
  display: flex;
  gap: 8px;
  list-style: none;
}

.header-socials a {
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.header-socials a:hover {
  opacity: 0.7;
  transform: scale(1.08);
}

/* Полоска-разделитель на всю ширину */
.header-divider {
  width: 100vw; /* Ширина на весь экран */
  height: 1px;
  background: var(--color-dark);
  margin-left: calc(
    -50vw + 50%
  ); /* Сдвиг для центрирования относительно окна */
  position: relative;
  left: 0;
}

/* HEADER END/////////////////////////////////////////////////////////////// */

/* HERO SECTION////////////////////////////////////////////////////////////// */

.hero__title {
  font-family: var(--second-family);
  font-weight: 900;
  font-size: 176px;
  text-align: center;
  color: var(--color-dark);
  line-height: normal;
  white-space: nowrap;
}

.hero__main {
  display: flex;
  position: relative;
  gap: 26%;
  max-height: 432px;
}

.hero__tag {
  border: 1px solid var(--color-primary);
  border-radius: 50px;
  padding: 10px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 15px;
  color: var(--color-dark);
  white-space: nowrap;
  margin-right: 40px;
  display: flex;
  align-items: center;
  max-height: 31px;
}

.hero__button {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 24px;
  color: var(--color-light);
  border-radius: 50px;
  padding: 24px;
  width: 325px;
  max-height: 65px;
  background: var(--color-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  z-index: 1000;
}

.hero__button:hover {
  background: transparent;
  color: var(--color-dark);
  border: 1px solid var(--color-dark);
}

.hero__description {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 24px;
  color: var(--color-dark);
  line-height: normal;
  margin-right: 30px;
}

.hero__left {
  display: flex;
  width: 50%;
  flex-wrap: wrap;
  align-content: space-between;
  height: 570px;
  z-index: 2;
}

.hero__center {
  display: flex;
  position: absolute;
  top: -70%;
  left: 16%;
}

.hero__right {
  display: flex;
  width: 50%;
  flex-wrap: wrap;
  align-content: space-between;
  height: 570px;
}

.hero__image {
  max-width: 100%;
  height: auto;
  animation: heroImageAppear 0.8s ease-out both;
  transform-origin: center;
  pointer-events: none;
}

@keyframes heroImageAppear {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.hero__title,
.hero__left,
.hero__right {
  animation: heroSlideDown 0.6s ease-out forwards;
  opacity: 0;
}

.hero__title {
  animation-delay: 0.3s;
}

.hero__left {
  animation-delay: 0.5s;
}

.hero__right {
  animation-delay: 0.7s;
}

@keyframes heroSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ABOUT ME//////////////////////////////////////////////////////////// */

.br {
  display: block;
}

.br-400 {
  display: inline;
}
@media (max-width: 1440px) {
  .services__list {
    justify-content: center;
  }
  .cases__list {
    justify-content: center;
  }
  .services__card-title,
  .services__card-desc {
    min-width: 0;
  }
  
  .services__card-title {
    font-size: 18px;
  }
}
@media (max-width: 1400px) {
  .br {
    display: inline;
  }
}

@media (max-width: 400px) {
  .br-400 {
    display: block;
  }
}

.about {
  background: var(--color-dark);
}

.about__wrapper {
  margin-top: 226px;
  position: relative;
  display: flex;
  gap: 20px;
}

.about__photo--primary {
  width: 50%;
  margin-top: 40px;

  margin-bottom: 40px;
}

.about__photo--primary img {
  border-radius: 50px;
  max-width: 498px;
  max-height: 498px;
}

.about__photo--secondary img {
  border-radius: 50px;
  max-width: 285px;
  max-height: 380px;
  position: absolute;
  left: 29%;
  bottom: 40px;
}

.about__content {
  display: flex;
  flex-direction: column;
  width: 50%;
  margin-top: 40px;
}

.about__title {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 96px;
  line-height: 102%;
  color: var(--color-light);
  margin-bottom: 64px;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

.about__text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-light);
  margin-bottom: 24px;
  line-height: normal;
}

.about__text--accent {
  margin-bottom: 180px;
}

.about__button {
  border-radius: 50px;
  padding: 24px;
  width: 325px;
  height: 65px;
  background: var(--color-primary);
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 24px;
  color: var(--color-light);
  text-decoration: none;
  margin-bottom: 40px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid transparent;
  box-sizing: border-box;
}

.about__button:hover {
  border: 1px solid var(--color-light);
  border-radius: 50px;
  padding: 24px;
  height: 65px;
  background: var(--color-dark);
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 24px;
  color: var(--color-light);
}

/* About section scroll-triggered animation */
.about__photo--primary,
.about__title,
.about__text,
.about__text--accent,
.about__button {
  opacity: 0;
  transform: translateY(-30px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.about__title {
  transition-delay: 0.1s;
}
.about__text {
  transition-delay: 0.2s;
}
.about__text--accent {
  transition-delay: 0.3s;
}
.about__button {
  transition-delay: 0.4s;
}
.about__photo--primary {
  transition-delay: 0.2s;
}

.about__photo--secondary {
  opacity: 0;
  transition: opacity 0.6s ease-out;
  transition-delay: 0.4s;
}

.about__photo--secondary.animate {
  opacity: 1;
}

.about__photo--primary.animate,
.about__title.animate,
.about__text.animate,
.about__text--accent.animate,
.about__button.animate {
  opacity: 1;
  transform: translateY(0);
}

/* CASES SECTION//////////////////////////////////////////////////////////// */

.cases {
  padding: 88px 0;
}

.cases__title {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 96px;
  line-height: 102%;
  color: var(--color-dark);
  margin-bottom: 64px;
}

.cases__list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.cases__card {
  display: flex;
  flex-direction: column;
  max-width: 325px;
}

.cases__card-tag {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 24px;
  color: var(--color-dark);
  padding-bottom: 24px;
}

.cases__card picture {
  display: block;
}

.cases__card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 50px;
}

.cases__card-title {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 28px;
  color: var(--color-dark);
  margin: 24px 0 16px;
}

.cases__card-desc {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-dark);
  grid-column-start: 1;
  grid-row-start: 2;
  width: 202px;
  line-height: normal;
}

.cases__card-btn {
  grid-row: span 2 / span 2;
  grid-column-start: 2;
  grid-row-start: 1;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  justify-self: end;
}

.cases__card-btn .cases__card-btn-circle {
  fill: #2e62f2;
}
.cases__card-btn .cases__card-btn-arrow {
  fill: none;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cases__card-btn:hover .cases__card-btn-circle {
  fill: transparent;
}
.cases__card-btn:hover .cases__card-btn-arrow {
  stroke: #141414;
}

.cases__card_wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0px;
}

/* Cases section scroll-triggered animation */
.cases__title,
.cases__card {
  opacity: 0;
  transform: translateY(-30px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}
.cases__title {
  transition-delay: 0.1s;
}
.cases__card:nth-child(1) {
  transition-delay: 0.2s;
}
.cases__card:nth-child(2) {
  transition-delay: 0.3s;
}
.cases__card:nth-child(3) {
  transition-delay: 0.4s;
}
.cases__card:nth-child(4) {
  transition-delay: 0.5s;
}
.cases__title.animate,
.cases__card.animate {
  opacity: 1;
  transform: translateY(0);
}

/* POSTERS SECTION//////////////////////////////////////////////////////////// */

.posters__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.posters__title {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 40px;
  line-height: 102%;
  color: var(--color-dark);
}

.posters__nav {
  display: flex;
  gap: 8px;
}

.posters__prev,
.posters__next {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.posters__prev:hover svg path:first-child,
.posters__next:hover svg path:first-child {
  fill: transparent !important;
}

.posters__prev:hover svg path:not(:first-child),
.posters__next:hover svg path:not(:first-child) {
  stroke: var(--color-dark) !important;
}

.posters__slider {
  overflow: hidden;
}

.posters__slider .swiper-wrapper {
  display: flex;
  align-items: flex-start;
}

.posters__card--center {
  align-self: center;
}

.posters__card {
  display: flex;
  flex-direction: column;
}

.posters__card-tag {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.posters__card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  margin-bottom: 88px;
}

.posters__card-title {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 28px;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.posters__card-desc {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-dark);
  margin-bottom: 24px;
}

.posters__card-btn {
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* Posters section scroll-triggered animation */
.posters__title,
.posters__slider {
  opacity: 0;
  transform: translateY(-30px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}
.posters__title {
  transition-delay: 0.1s;
}
.posters__slider {
  transition-delay: 0.2s;
}
.posters__title.animate,
.posters__slider.animate {
  opacity: 1;
  transform: translateY(0);
}

/* SERVICES SECTION//////////////////////////////////////////////////////////// */

.services {
  padding: 40px 0;
  background: var(--color-dark);
  text-align: center;
}

.services__title {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 96px;
  line-height: 102%;
  color: var(--color-light);
  margin-bottom: 64px;
}

.services__list {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.services__card {
  flex: 1 1 calc(25% - 20px);
  max-width: 325px;

  
  border-radius: 40px;
  min-height: 359px;
  box-sizing: border-box;
  background: var(--color-light);
  display: flex;
}

.services__card-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.services__card-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 24px;
  color: var(--color-dark);
  padding-top: 136px;
  margin-bottom: 16px;
  line-height: normal;
}

.services__card-desc {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-dark);
  min-width: 282px;
}

.services__card-footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: auto;
  margin-bottom: 32px;
  
}

.services__card:last-child .services__card-footer {
  display: block;
}

.services__card-price {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  color: var(--color-dark);
}

.services__card-deadline {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-dark);
}

.services__button {
  width: 100%;
  border-radius: 50px;
  padding: 24px;
  height: 65px;
  background: var(--color-primary);
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 24px;
  color: var(--color-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
}

.services__button:hover {
  border: 1px solid var(--color-light);
  background: transparent;
  color: var(--color-light);
}

/* Services section scroll-triggered animation */
.services__title,
.services__card,
.services__button {
  opacity: 0;
  transform: translateY(-30px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}
.services__title {
  transition-delay: 0.1s;
}
.services__card:nth-child(1) {
  transition-delay: 0.2s;
}
.services__card:nth-child(2) {
  transition-delay: 0.3s;
}
.services__card:nth-child(3) {
  transition-delay: 0.4s;
}
.services__card:nth-child(4) {
  transition-delay: 0.5s;
}
.services__button {
  transition-delay: 0.6s;
}
.services__title.animate,
.services__card.animate,
.services__button.animate {
  opacity: 1;
  transform: translateY(0);
}

/* STAGES SECTION//////////////////////////////////////////////////////////// */

.stages {
  padding: 88px 0px 128px;
}

.stages__title {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 96px;
  line-height: 102%;
  color: var(--color-dark);
}

.stages__list {
  display: flex;
  padding: 0px 130px 0px 130px;
  margin-top: 64px;
}

.stages__list--bottom {
  display: flex;
}

.stages__card {
  min-width: 514px;
  border-left: 1px dashed var(--color-primary);
}

.stages__card-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 24px;
  color: var(--color-dark);
  margin-bottom: 24px;
  margin-left: 30px;
}

.stages__card-desc {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-dark);
  margin-left: 30px;
  margin-bottom: 48px;
  line-height: normal;
}

.stages__card--bottom {
  min-width: 470px;
  border-left: 1px dashed var(--color-primary);
  position: relative;
}

.stages__card--bottom:first-child {
  margin-left: 20px;
  min-width: 340px;
  margin-right: 100px;
}

.stages__card--bottom .stages__card-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 24px;
  color: var(--color-dark);

  margin-left: 30px;
  margin-top: 48px;
}

.stages__card--bottom .stages__card-desc {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-dark);
  margin-left: 30px;
  margin-bottom: 0;
  line-height: normal;
}

.stages__divider {
  position: relative;
  width: 100%;
  height: 15px;
}

.stages__divider-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-primary);
  transform: translateY(-50%);
}

.stages__divider-dot {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
}

.stages__divider-dot svg {
  display: block;
}

.stages__dot {
  display: none;
}

.stages__card--bottom .stages__divider-dot.dot-5 {
  position: absolute;
  top: -15px;
  left: 0;
  transform: translateX(-50%);
}

/* Stages section scroll-triggered animation */
.stages__title,
.stages__card,
.stages__card--bottom {
  opacity: 0;
  transform: translateY(-30px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}
.stages__title {
  transition-delay: 0.1s;
}
.stages__card:nth-child(1) {
  transition-delay: 0.2s;
}
.stages__card:nth-child(2) {
  transition-delay: 0.3s;
}

.stages__divider {
  opacity: 0;
  transition: opacity 0.6s ease-out;
  transition-delay: 0.4s;
}

.stages__card--bottom:nth-child(1) {
  transition-delay: 0.5s;
}
.stages__card--bottom:nth-child(2) {
  transition-delay: 0.6s;
}
.stages__card--bottom:nth-child(3) {
  transition-delay: 0.7s;
}

.stages__title.animate,
.stages__card.animate,
.stages__divider.animate,
.stages__card--bottom.animate {
  opacity: 1;
  transform: translateY(0);
}
.stages__divider.animate {
  transform: none;
}

/* Contacts section scroll-triggered animation */
.contacts__heading,
.contacts__desc,
.contacts__form,
.contacts__socials {
  opacity: 0;
  transform: translateY(-30px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}
.contacts__heading {
  transition-delay: 0.1s;
}
.contacts__desc {
  transition-delay: 0.2s;
}
.contacts__form {
  transition-delay: 0.3s;
}
.contacts__socials {
  transition-delay: 0.4s;
}
.contacts__heading.animate,
.contacts__desc.animate,
.contacts__form.animate,
.contacts__socials.animate {
  opacity: 1;
  transform: translateY(0);
}

/* CONTACTS SECTION//////////////////////////////////////////////////////////// */
.screen-reader-response {
  display: none;
}

.contacts {
  padding: 0px 0;
}

.contacts__wrapper {
  display: flex;
  gap: 20px;
  padding-bottom: 24px;
}

.contacts__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-wrap: break-word;
  max-width: 670px;
  padding-right: 101px;
}

.contacts__info-top {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.contacts__heading {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 96px;
  line-height: 102%;
  color: var(--color-dark);
}

.contacts__desc {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 24px;
  color: var(--color-dark);
  line-height: normal;
  max-width: 475px;
}

.contacts__socials {
  display: flex;
  gap: 8px;
  align-items: center;
}

.contacts__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.contacts__socials a:hover {
  opacity: 0.7;
  transform: scale(1.08);
}

.contacts__form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contacts .wpcf7 {
  flex: 1;
  min-width: 0;
}

.contacts .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 16px;
}

.contacts .wpcf7-not-valid-tip {
  display: block;
  font-family: var(--font-family);
  font-size: 14px;
  color: #dc3232;
  margin-top: 4px;
  padding-left: 24px;
}

.contacts .wpcf7-form-control-wrap input,
.contacts .wpcf7-form-control-wrap textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--color-primary);
  border-radius: 40px;
  padding: 32px 24px;
  max-height: 81px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 24px;
  color: #7f7f7f;
}

.contacts .wpcf7-form-control-wrap input::placeholder,
.contacts .wpcf7-form-control-wrap textarea::placeholder {
  color: var(--color-dark);
  opacity: 0.6;
}

.contacts .wpcf7-submit {
  width: 100%;
  border-radius: 50px;
  padding: 0 24px;
  height: 65px;
  background: var(--color-primary);
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 24px;
  color: var(--color-light);
  text-align: center;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
  margin-top: auto;
}

.contacts .wpcf7-submit:hover {
  border: 1px solid var(--color-dark);
  background: transparent;
  color: var(--color-dark);
}

.contacts .wpcf7-acceptance .wpcf7-list-item {
  margin-left: 0;
}

.contacts .wpcf7-acceptance label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.contacts .wpcf7-acceptance input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.swal2-icon.swal2-error {
  border-color: var(--color-primary);
}
.contacts .wpcf7-acceptance .wpcf7-list-item-label {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  color: #1f1f1f;

  line-height: normal;
}

.contacts .wpcf7-acceptance label::before {
  content: "";
  width: 30px;
  height: 30px;
  min-width: 30px;
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.contacts .wpcf7-acceptance label:has(input[type="checkbox"]:checked)::before {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='20' viewBox='0 0 18 20' fill='none'><path d='M1.00018 10L6.3339 19L17.0002 1' stroke='%232E62F2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 18px 20px;
  background-repeat: no-repeat;
  background-position: center;
}

/* FOOTER SECTION//////////////////////////////////////////////////////////// */

.site-footer {
  background: var(--color-dark);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.footer__nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
}

.footer__nav a {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-light);
  display: inline-block;
  transition: transform 0.3s ease;
}

.footer__nav a:hover {
  transform: scale(1.08);
}

.footer__divider {
  width: 100vw;
  height: 1px;
  background: var(--color-light);
  margin-left: calc(-50vw + 50%);
  position: relative;
  left: 0;
}

.footer__bottom {
  padding: 40px 0;
}

.footer__policy {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-light);
  text-decoration: none;
}

.footer__policy:hover {
  opacity: 0.7;
}

.footer__mobile-meta {
  display: none;
}

/* PRIVACY POLICY PAGE//////////////////////////////////////////////////////////// */

.privacy-policy__content {
  max-width: 900px;
  margin: 0 auto;
}

.privacy-policy__content h1,
.privacy-policy__content h2 {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 36px;
  line-height: 102%;
  color: var(--color-dark);
  margin-bottom: 24px;
}

.privacy-policy__content h2 {
  font-size: 28px;
  margin-top: 48px;
}

.privacy-policy__content p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark);
  margin-bottom: 16px;
  margin-top: 20px;
}

.privacy-policy__content ul,
.privacy-policy__content ol {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark);
  margin-bottom: 16px;
  padding-left: 24px;
}

.privacy-policy__content li {
  margin-bottom: 8px;
}

.privacy-policy__content strong {
  font-weight: 600;
}

@media (max-width: 700px) {
  .privacy-policy__content h1,
  .privacy-policy__content h2 {
    font-size: 28px;
  }

  .privacy-policy__content h2 {
    font-size: 22px;
    margin-top: 32px;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  overflow-y: auto;
  padding: 52px 0;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.lightbox__content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  margin: auto;
}

.lightbox__img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* Burger button — скрыт на десктопе */
.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 0;
}

.mobile-menu {
  display: none;
}

/* HERO MARQUEE (показать на <= 1070px) */

.hero__marquee {
  display: none;
}

.hero__marquee-slider {
  overflow: hidden;
  width: 100%;
}

.hero__marquee-slider .swiper-wrapper {
  transition-timing-function: linear !important;
}

.hero__marquee-slider .swiper-slide {
  width: auto !important;
}

.hero__marquee-slider .hero__tag {
  margin-right: 0;
  flex-shrink: 0;
}

/*АДАПТИВ........................................ */

@media (max-width: 1430px) {
  /* .stages__list {
    padding: 0px;
  } */
  .stages__card--bottom:first-child {
    margin-left: 20px;
    margin-right: 10px;
    width: 250px;
  }
  .stages__card--bottom {
    margin-right: 10px;
    min-width: 353px;
  }
  .stages__divider-dot.dot-1 {
    left: 20px !important;
  }
  .stages__divider-dot.dot-2 {
    left: 151px !important;
  }
  .stages__divider-dot.dot-3 {
    left: 371px !important;
  }
  .stages__divider-dot.dot-4 {
    left: 684px !important;
  }
  .stages__card.animate {
    margin-left: 20px;
  }
 
}

@media (max-width: 1400px) {
  .hero__title {
    font-size: 150px;
  }
  .hero__tag {
    margin-right: 10px;
  }
  .hero__description {
    margin-right: 30px;
  }

  .about__wrapper {
    gap: 30px;
  }
  .services__card-title {
    min-width: 0;
  }
  .services__card-desc {
    min-width: 0;
  }
  .services__card-title {
    font-size: 23px;
  }

  /* .services__card-price {
    font-size: 15px;
  } */


}

@media (max-width: 1350px) {
  .hero__description {
    font-size: 18px;
    margin-left: 50px;
  }
  .about__wrapper {
    gap: 40px;
  }
 
}
@media (max-width: 1300px) {
  .hero__center {
    left: 13%;
  }
  .hero__description {
    font-size: 18px;
    margin-left: 65px;
    margin-right: 0px;
  }
  .about__wrapper {
    gap: 20px;
  }
 
  .services__card-title {
    font-size: 20px;
  }
  .services__card-price {
    font-size: 18px;
  }
  .services__card {
    border-radius: 30px;
  }
  
}

@media (max-width: 1270px) {
  .stages__card.animate {
    min-width: 450px;
  }
  .stages__divider-dot.dot-4 {
    left: 621px !important;
  }
}

@media (max-width: 1200px) {
  .hero__title {
    font-size: 130px;
  }
  .hero__center {
    left: 10%;
    top: -64%;
  }
  .hero__right {
    height: 610px;
  }
  .hero__left {
    height: 610px;
  }
  .contacts .wpcf7-form-control-wrap input,
  .contacts .wpcf7-form-control-wrap textarea {
    padding: 16px 24px;
  }
  .contacts__info {
    max-width: 100%;
    padding-right: 0px;
  }
}

@media (max-width: 1280px) {
  .hero__tag {
    margin-right: 20px;
  }
}
@media (max-width: 1255px) {
  .hero__tag {
    margin-right: 8px;
  }
  .about__photo--secondary {
    display: none;
  }
  .about__text--accent {
    margin-bottom: 117px;
  }
  .about__title {
    margin-bottom: 32px;
  }
  .about__photo--primary {
    width: initial;
  }
  .services__card-footer {
    gap: 36px;
   
    margin-left: 0px;
    margin-right: 0px;
  }
}

@media (max-width: 1440px) {
  .cases__card {
    width: calc(25% - 15px);
    max-width: calc(25% - 15px);
  }
}

@media (max-width: 1230px) {
  .cases__card-tag,
  .cases__card-title {
    font-size: 20px;
  }
}

@media (max-width: 1190px) {
  .hero__tag {
    font-size: 14px;
  }
  .hero__center {
    left: 11%;
    top: -61%;
  }
}
@media (max-width: 1170px) {
}
@media (max-width: 1100px) {
  .hero__center {
    left: 5%;
    top: -270px;
  }
  .hero__button {
    width: 275px;
  }
  .cases__list {
    justify-content: center;
  }
  .stages__card--bottom .stages__card-title {
    font-size: 20px;
  }
  .stages__card-title {
    font-size: 20px;
  }
  .stages__title {
    font-size: 70px;
  }
  .contacts__heading {
    font-size: 70px;
  }
  .stages__list {
    flex-direction: column;
    padding: 0;
  }
  .stages__list--bottom {
    flex-direction: column;
    margin: 0px 7px 0px 7px;
  }
  .stages__card--bottom:first-child {
    width: 100%;
  }
  .stages__card {
    margin-top: 36px;
    width: 100%;
    min-width: 0;
  }
  .stages__card,
  .stages__card--bottom {
    border-left: none;
    border-right: none;
    border-bottom: 2px solid var(--color-primary);
  }
  .stages__card.animate {
    margin-left: 0px;
  }
  .stages__card:first-child {
    border-left: 1px dashed var(--color-primary);
    margin-left: 0px;
  }
  .stages__card:last-child {
    border-right: 1px dashed var(--color-primary);
  }
  .stages__card--bottom:nth-child(1) {
    border-left: 1px dashed var(--color-primary);
    margin-left: 0px;
  }
  .stages__card--bottom:nth-child(2) {
    border-right: 1px dashed var(--color-primary);
    margin-left: 0px;
  }
  .stages__card--bottom:nth-child(3) {
    border-left: 1px dashed var(--color-primary);
    margin-left: 0px;
  }

  .stages__divider {
    display: none;
  }

  .stages__card,
  .stages__card--bottom {
    position: relative;
  }

  .stages__dot {
    display: block;
    position: absolute;
    bottom: 0;
    z-index: 2;
  }
  .stages__dot.dot-1,
  .stages__dot.dot-3 {
    left: 0;
    transform: translate(-50%, 50%);
  }
  .stages__dot.dot-2,
  .stages__dot.dot-4 {
    right: 0;
    transform: translate(50%, 50%);
  }
  .stages__card--bottom .stages__divider-dot.dot-5 {
    top: auto;
    bottom: 0;
    left: 0;
    transform: translate(-50%, 50%);
  }
  .stages__dot svg {
    display: block;
  }
  .stages__card-title {
    margin-bottom: 16px;
  }
  .stages__card-desc {
    margin-bottom: 38px;
  }
  .stages__card--bottom {
    margin-right: 0px;
    margin-top: 31px;
  }
  .stages__card--bottom .stages__card-title {
    margin-top: 0px;
  }
  .stages__card--bottom .stages__card-desc {
    margin-bottom: 39px;
  }
  .contacts__desc {
    font-size: 20px;
  }
  .stages__card-desc br {
    display: none;
  }
}

@media (max-width: 1070px) {
  .hero__left,
  .hero__right {
    display: none;
  }

  .hero__marquee {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 70%;
  }
  .hero__marquee .container {
    width: 100%;
  }
  .hero__marquee .hero__button {
    width: 100%;
    opacity: 0;
    animation: heroSlideDown 0.6s ease-out forwards;
    animation-delay: 0.3s;
  }
}

@media (max-width: 1010px) {
  .about__wrapper {
    flex-direction: column;
    margin-top: 44px;
    gap: 0px;
    align-items: center;
  }
  .about__title {
    padding: 20px 0px 36px 0px;
    margin-bottom: 0px;
  }

  .about__content {
    display: contents;
  }

  .about__title {
    order: 1;
  }

  .about__text {
    order: 2;
  }

  .about__photo--primary {
    order: 3;
    width: 100%;
    margin-top: 0;
  }

  .about__photo--primary img {
    max-width: 100%;
    max-height: none;
  }

  .about__text--accent {
    order: 4;
  }

  .about__button {
    order: 5;
  }
  .contacts .wpcf7-form-control-wrap input,
  .contacts .wpcf7-form-control-wrap textarea {
    font-size: 20px;
  }
}

@media (max-width: 1050px) {
  .hero__description {
    font-size: 16px;
    margin-left: 50px;
  }
  .about__text--accent {
    margin-bottom: 96px;
  }
  .cases__card {
    width: auto;
    max-width: 325px;
  }
  .services__card-price {
    font-size: 20px;
  }
}

@media (max-width: 1010px) {
  .about__text-sentence--second {
    display: none;
  }
  .about__photo--primary {
    text-align: center;
    margin-bottom: 24px;
  }
  .about__text--accent {
    margin-bottom: 24px;
  }
  .about__button {
    width: 100%;
    height: 46px;
    font-size: 20px;
  }
  .about__button:hover {
    height: 46px;
    font-size: 20px;
  }

  @media (max-width: 1000px) {
    .hero__title {
      font-size: 100px;
    }

    .hero__center {
      left: 4%;
      top: -260px;
    }
    .hero__marquee {
      margin-top: 75%;
    }
  }

  @media (max-width: 900px) {
    .hero__center {
      left: 4%;
      top: -220px;
    }
    .about__title {
      font-size: 60px;
    }
    .services__title {
      font-size: 60px;
    }
    .stages__title {
      font-size: 60px;
    }
    .contacts__heading {
      font-size: 60px;
    }

    .cases {
      padding: 44px 0px 36px 0px;
    }
    .cases__title {
      font-size: 36px;
      margin-bottom: 24px;
    }

    .cases__card-tag {
      font-size: 20px;
      padding-bottom: 16px;
    }
    .cases__list {
      gap: 16px;
    }
    .cases__card-title {
      font-size: 20px;
      margin: 23px 0 12px;
    }
    .cases__card-desc {
      font-size: 16px;
      width: 278px;
    }
    .cases__card-btn-icon {
      width: 50px;
      height: 50px;
    }
    .stages {
      padding: 20px 0px 64px;
    }
    .stages__list {
      margin-top: 0px;
    }
    .lightbox__content {
      max-width: 70vw;
    }
  }
  @media (max-width: 800px) {
    .header-nav ul {
      gap: 25px;
    }
    .container {
      padding: 0 20px;
    }
    .hero__title {
      font-size: 80px;
    }
    .hero__center {
      top: -200px;
    }
  }

  @media (max-width: 750px) {
    .header-container {
      padding: 20px 0px 0px 0px;
    }

    .header-nav,
    .header-socials {
      display: none;
    }

    .site-header {
      z-index: auto;
    }

    .burger-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      z-index: 4001;
    }

    /* Mobile menu */
    .mobile-menu {
      display: block;
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      z-index: 4000;
      pointer-events: none;
    }

    .mobile-menu.open {
      pointer-events: auto;
    }

    .mobile-menu__overlay {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      background: rgba(0, 0, 0, 0.5);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .mobile-menu.open .mobile-menu__overlay {
      opacity: 1;
    }

    .mobile-menu__panel {
      position: fixed;
      top: 0;
      right: -100%;
      width: 100%;
      height: 100%;
      background: #fff;
      transition: right 0.3s ease;
      display: flex;
      flex-direction: column;
      padding: 2 0px;
      box-sizing: border-box;
    }

    .mobile-menu.open .mobile-menu__panel {
      right: 0;
    }

    .mobile-menu__header {
      display: flex;
      justify-content: flex-start;
      align-items: center;

      padding: 20px 0px 36px 20px;
    }

    .mobile-menu__nav ul {
      display: flex;
      flex-direction: column;
      text-align: center;
    }

    .mobile-menu__nav li {
      border-bottom: 1px solid var(--color-primary);
    }

    .mobile-menu__nav li a {
      display: block;
      padding: 24px 0px 16px 0px;
      font-family: var(--font-family);
      font-weight: 600;
      font-size: 20px;
      text-align: center;
      color: var(--color-dark);
    }

    .mobile-menu__nav li:first-child a {
      padding: 0px 0px 16px 0px;
    }

    .mobile-menu__socials {
      margin-top: 16px;
    }

    .mobile-menu__socials ul {
      display: flex;
      justify-content: center;
      gap: 8px;
    }
    .header-divider {
      display: none;
    }
    .hero__title {
      font-size: 50px;
      padding-top: 16px;
    }
    .hero__center {
      top: -193px;
    }
    .contacts__wrapper {
      flex-direction: column;
    }
    .contacts__info {
      display: contents;
    }
    .contacts__info-top {
      align-items: center;
      gap: 36px;
      order: 0;
    }
    .contacts__desc {
      text-align: center;
    }
    .contacts__form {
      order: 1;
    }
    .contacts__socials {
      order: 2;
    }
    .contacts__wrapper {
      align-items: center;
      gap: 24px;
    }
    .contacts .wpcf7-submit {
      height: 46px !important;
      font-size: 20px !important;
    }
    .contacts .wpcf7-submit:hover {
      height: 46px;
      font-size: 20px;
    }
  }
  @media (max-width: 650px) {
    .hero__center {
      top: -170px;
    }
    .about__title {
      font-size: 36px;
    }
    .services__title {
      font-size: 36px;
    }
    .stages__title {
      font-size: 36px;
      text-align: center;
    }
    .contacts__heading {
      font-size: 36px;
    }
    .services__title {
      margin-bottom: 36px;
    }
  }
}

@media (max-width: 1050px) {
  .services__list {
    flex-wrap: wrap;
    justify-content: center;
  }
  .services__card {
    flex: 1 1 calc(50% - 10px);
    max-width: 325px;

  }
  .services__card-title,
  .services__card-desc {
    min-width: 0;
  }
  .services__card-title {
    font-size: 20px;
  }
}
@media (max-width: 900px) {
  .posters__header {
    flex-direction: column;
    text-align: center;
    margin-bottom: 16px;
  }
  .posters__title {
    font-size: 24px;
    margin-bottom: 24px;
  }
  .posters__nav {
    gap: 10px;
  }
  .posters__prev,
  .posters__next {
    width: 31px;
    height: 31px;
  }
  .services__card-title {
    font-size: 20px;
    padding-top: 117px;
  }
  .services__list {
    justify-content: center;
    gap: 16px;
  }

  .services {
    padding: 20px 0;
  }
  .posters__card img {
    margin-bottom: 44px;
  }
  .services__button {
    height: 46px;
    font-size: 20px;
  }
}
@media (max-width: 700px) {
  .contacts__wrapper {
    padding-bottom: 12px;
  }
  .site-footer {
    background: var(--color-light);
    text-align: center;
    padding: 0px 0px 24px;
  }
  .site-footer .footer__top {
    display: none;
    margin-top: 36px;
  }
  .site-footer .footer__divider {
    display: none;
  }
  .site-footer .footer__bottom {
    display: block;
    padding: 0;
    margin-bottom: 24px;
  }
  .footer__policy {
    color: var(--color-dark);
  }
  .footer__mobile-meta {
    display: block;
  }
  .footer__meta-note {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    color: var(--color-dark);
    text-align: center;
    margin: 0;
  }
}

@media (max-width: 600px) {
  .hero__center {
    top: -153px;
  }
  .hero__button {
    padding: 16px 112px;
    width: 100%;
    height: 46px;
    font-size: 20px;
  }
  .services__list {
    flex-direction: column;
    align-items: center;
  }
  .services__card.animate {
    flex: 1 1 100%;
    width: 100%;
    
    min-height: 350px;
  
    
        
  }
  .stages__card,
  .stages__card--bottom {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
}
@media (max-width: 550px) {
  .hero__center {
    top: -145px;
  }
  .hero__marquee {
    margin-top: 80%;
  }
}
@media (max-width: 500px) {
  .hero__center {
    top: -130px;
  }
  .stages__list {
    margin: 0px 7px 0px 7px;
  }
  .contacts__form {
    gap: 0;
  }
  .contacts .wpcf7-form-control-wrap {
    margin-bottom: 12px;
  }
  .contacts .wpcf7-acceptance label::before {
    width: 20px;
    height: 20px;
    min-width: 20px;
  }
  .contacts
    .wpcf7-acceptance
    label:has(input[type="checkbox"]:checked)::before {
    background-size: 11px 10px;
  }
  .contacts .wpcf7-acceptance label {
    gap: 14px;
    align-items: center;
  }
  .stages__card--bottom {
    height: 167px;
  }
  .stages__card {
    height: 167px;
  }
  .stages__card.animate {
    min-width: initial;
  }

  .stages__card:last-child .stages__card-desc,
  .stages__card--bottom:nth-child(2) .stages__card-desc {
    text-align: right;
    margin-right: 16px;
  }
  .stages__card:last-child .stages__card-title,
  .stages__card--bottom:nth-child(2) .stages__card-title {
    text-align: right;
    margin-right: 16px;
  }
  .stages__card-title,
  .stages__card-desc {
    margin-left: 16px;
  }
  .stages__card--bottom .stages__card-desc {
    margin-left: 16px;
  }
  .stages__card--bottom .stages__card-title {
    margin-left: 16px;
  }
  .contacts__wrapper {
    margin-bottom: 36px;
    padding-bottom: 0px;
  }

  .cases__card {
    max-width: initial;
  }

  @media (max-width: 450px) {
    .hero__center {
      top: -120px;
    }
    .services__card {
      max-width: 100%;
    }
  }
  @media (max-width: 430px) {
    .hero__title {
      font-size: 45px;
    }
    .services__card {
      width: 100%;
    }
  }
  @media (max-width: 400px) {
    .hero__center {
      top: -109px;
    }
    .about__text {
      max-width: 350px;
    }
    .cases__card {
      max-width: initial;
    }
    .cases__card:last-child .cases__card-desc {
      width: 191px;
    }
  }
}
