:root {
  --c-white: #fff;
  --c-grey-50: #f3f3f3;
  --c-beige-50: #FBFBF9;
  --c-beige-100: #E8E7E1;
  --c-purple-100: #e5d6e9;
  --c-purple-500: #72577A;
  --c-purple-400: #9875a3;
  --c-violet-500: #66018D;
  --c-gold-500: #F8B331;
  --c-dark: #1D160C;
  --c-dark-2: #292927;
  --rounded-10: 10px;
  --rounded-15: 15px;
  --rounded-20: 20px;
  --rounded-40: 40px;
  --transition: .2s;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #F7F5F1;
  font-family: "Jost", sans-serif;
  font-size: clamp(16px, 1.5vw, 28px);
}

main {
  flex-grow: 1;
}

section.mb {
  margin-bottom: clamp(80px, 10.4vw, 150px);
}

.container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 20px;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  padding: 0 clamp(20px, 2.6vw, 50px);
  border-radius: var(--rounded-15);
  transition: var(--transition);
  white-space: nowrap;
  font-size: clamp(16px, 1.5vw, 25px);
  font-weight: 600;
  line-height: 1;
}

.text {
  font-size: clamp(16px, 1.3vw, 25px);
}

.button:disabled {
  pointer-events: none;
  opacity: .7;
}

.button:active {
  translate: 0 1px;
}

.button.default {
  background: var(--c-purple-500);
  color: var(--c-white);
}

.button.default:hover {
  background: var(--c-purple-400);
}

.button.white {
  background: var(--c-white);
  color: var(--c-purple-500);
}

.button.white:hover {
  background: var(--c-grey-50);
}

.button.outline {
  background: transparent;
  border: 2px solid var(--c-white);
  color: var(--c-white);
}

.button.outline:hover {
  border-color: var(--c-beige-100);
  color: var(--c-beige-100);
}

h1,
h2 {
  font-family: "Forum", serif;
  font-weight: 400;
}

h1 {
  font-size: clamp(45px, 6vw, 120px);
  line-height: 0.9;
}

h2 {
  font-size: clamp(35px, 4.7vw, 90px);
  line-height: 1;
}

.big-title {
  font-size: clamp(35px, 4.7vw, 90px);
  line-height: 0.9;
}

.accordion {
  margin: clamp(-30px, -2.9vw, -55px) 0;
}

.accordion__item {
  border-bottom: 1px solid var(--c-beige-100);
}

.accordion__item:last-child {
  border-bottom: 0;
}

.accordion__button {
  cursor: pointer;
  position: relative;
  padding: clamp(30px, 2.9vw, 55px) 0;
  padding-right: clamp(30px, 2.9vw, 55px);
  width: 100%;
  background: transparent;
  text-align: left;
}

.accordion__button-icon {
  pointer-events: none;
  position: absolute;
  top: 50%;
  right: 0;
  translate: 0 -50%;
  width: 15px;
  height: 15px;
  transition: var(--transition);
}

.accordion__button-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 100%;
  height: 2px;
  background: var(--c-purple-500);
  transition: var(--transition);
}

.accordion__button-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  rotate: 90deg;
  width: 100%;
  height: 2px;
  background: var(--c-purple-500);
  transition: var(--transition);
}

.accordion__item.active .accordion__button-icon::before {
  rotate: 90deg;
  width: 0;
}

.accordion__item.active .accordion__button-icon::after {
  rotate: 180deg;
}

.accordion__content {
  overflow: hidden;
  height: 0;
  transition: .2s;
  color: var(--c-dark-2);
}

.accordion__content-inner {
  padding-bottom: clamp(30px, 2.9vw, 55px);
}

.accordion__content-inner p {
  margin-bottom: 1rem;
}

.accordion__content-inner p:last-child {
  margin-bottom: 0;
}

.accent {
  color: var(--c-purple-500);
}

.italic {
  font-style: italic;
}

.step-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.step-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-height: clamp(190px, 18.9vw, 360px);
  background: var(--c-beige-50);
  border-radius: var(--rounded-40);
  padding: clamp(30px, 2.6vw, 50px) clamp(25px, 2.6vw, 50px);
}

.step-card__num {
  font-size: clamp(50px, 6.2vw, 120px);
  font-weight: 300;
  line-height: 0.8;
  color: var(--c-purple-100);
}

.step-card__text {
  font-weight: 300;
  color: var(--c-dark-2);
}

.step-card p {
  font-weight: 300;
  color: var(--c-dark-2);
}

.split-titles {
  display: flex;
  flex-direction: column;
}

.split-titles h2:first-child {
  margin-bottom: 10px;
}

.split-titles h2:last-of-type {
  margin-left: auto;
  text-align: right;
}

.split-titles p {
  margin-top: 30px;
}

.quote {
  position: relative;
  width: fit-content;
  padding: 0 clamp(50px, 3.7vw, 60px);
  font-size: clamp(20px, 1.9vw, 35px);
  font-weight: 300;
  font-style: italic;
  color: var(--c-dark-2);
}

.quote::before {
  content: "«";
  position: absolute;
  top: -15px;
  left: -10px;
  rotate: -5deg;
  font-family: "Forum", serif;
  font-size: 110px;
  font-weight: 400;
  line-height: 0.4;
  color: var(--c-purple-100);
}

.quote::after {
  content: "»";
  position: absolute;
  bottom: -10px;
  right: 0;
  rotate: -5deg;
  font-family: "Forum", serif;
  font-size: 110px;
  font-weight: 400;
  line-height: 0.4;
  color: var(--c-purple-100);
}

.header {
  position: absolute;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header.another {
  border-color: #E1DED5;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(20px, 2.6vw, 50px) 0;
}

.logo {
  transition: opacity var(--transition);
}

.logo:hover {
  opacity: .8;
}





.menu__list {
  display: flex;
  gap: 30px;
}



.menu__list>li>a {
  transition: var(--transition);
  color: var(--c-white);
}

.header.another .menu__list>li>a {
  color: var(--c-dark);
}

.menu__list>li>a:hover {
  color: var(--c-purple-500);
}

.menu-button {
  display: none;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 15px;
  background: var(--c-white);
  border-radius: var(--rounded-10);
  transition: background var(--transition);
}

.menu-button:hover {
  background: var(--c-beige-100);
}

.menu-button__burger {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-button__text {
  font-size: clamp(16px, 1.1vw, 20px);
  font-weight: 500;
  line-height: 1;
}

.menu-button__burger span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-dark);
}

.menu-button__burger span:nth-child(2) {
  width: 14px;
}

.header.another .menu-button {
  background: var(--c-purple-500);
}

.header.another .menu-button span {
  background: var(--c-white);
}

.pic {
  position: relative;
  overflow: hidden;
}

.cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero {
  overflow: hidden;
  position: relative;
}

.hero__inner {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  padding-top: 60px;
  min-height: 100vh;
  padding-bottom: clamp(60px, 5.2vw, 100px);
  color: var(--c-white);
}

.hero__content {
  max-width: 840px;
}

.hero__title {
  margin-bottom: clamp(20px, 2.6vw, 50px);
}

.hero__subtitle {
  font-size: clamp(18px, 1.5vw, 25px);
}

.hero__links {
  display: flex;
  gap: 10px;
}

.square-link {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 274px;
  width: 274px;
  height: 270px;
  padding: 32px;
  border-radius: var(--rounded-20);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  transition: border-color var(--transition);
  line-height: 1.1;
}

.square-link:hover {
  border-color: var(--c-white);
}

.square-link::after {
  content: "";
  display: block;
  width: 9px;
  height: 18px;
  background-image: url(../images/icon-arrow-head-white.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: translate var(--transition);
}

.square-link:hover::after {
  translate: 4px 0;
}

.square-link p {
  font-size: clamp(16px, 1.5vw, 25px);
}

.questions__head {
  margin-bottom: 80px;
}

.creeping-line {
  overflow: hidden;
  margin: clamp(80px, 8.9vw, 150px) 0;
}

.creeping-line__inner {
  display: flex;
  font-family: "Forum", serif;
}

.creeping-line__inner p {
  padding-right: 10px;
  white-space: nowrap;
  animation: 30s creeping-line linear infinite;
  font-size: clamp(25px, 4.2vw, 70px);
}

@keyframes creeping-line {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.banner {
  padding: 0 20px;
}

.banner__wrap {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(114, 87, 122, 1) 0%, rgba(74, 66, 107, 1) 100%);
  border-radius: clamp(30px, 5.3vw, 100px);
}

.banner__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.54fr;
  padding: clamp(60px, 8.9vw, 150px) 0;
  gap: 70px;
  color: var(--c-white);
}

.banner__inner::before {
  content: "";
  position: absolute;
  top: 50%;
  translate: 120% -50%;
  width: 730px;
  height: 730px;
  background-image: url(../images/stars-bg.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.banner__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.banner__pic {
  height: clamp(320px, 32.9vw, 630px);
  border-radius: clamp(110px, 9.9vw, 190px) 30px 30px 30px;
}

.gold {
  color: var(--c-gold-500);
}

.banner__title span:first-of-type {
  display: block;
  text-align: right;
}

.first-step {
  overflow: hidden;
  position: relative;
}

.first-step::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 380px;
  height: 730px;
  background-image: url(../images/stars-bg-2.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.first-step__inner {
  position: relative;
}

.first-step__head {
  position: relative;
  margin-bottom: clamp(60px, 9vw, 150px);
}

.first-step__head::before {
  content: "";
  position: absolute;
  top: calc(100% + clamp(30px, 4vw, 100px));
  left: 18%;
  width: 320px;
  height: 1px;
  background: var(--c-violet-500);
}

.first-step__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.first-step__text {
  position: relative;
  max-width: 870px;
  margin-bottom: 100px;
  font-size: clamp(25px, 3.7vw, 70px);
  font-weight: 300;
}

.first-step__text::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -190px;
  width: 150px;
  height: 1px;
  background: var(--c-dark-2);
  opacity: .4;
}

.first-step__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 100px;
}

.first-step__item {
  padding: 35px 20px;
  border-radius: var(--rounded-20);
  background: var(--c-beige-50);
}

.joy {
  background: var(--c-beige-50);
  border-radius: clamp(30px, 5.3vw, 100px) clamp(30px, 5.3vw, 100px) 0 0;
}

.joy__inner {
  padding: clamp(60px, 8.9vw, 150px) 0;
}

.joy__head {
  margin-bottom: 80px;
}

.joy__head br {
  display: none;
}

.joy__grid {
  display: grid;
  grid-template-columns: 0.83fr 1fr;
  gap: clamp(30px, 9.1vw, 174px);
}

.joy__pic {
  height: 680px;
  border-radius: 30px clamp(110px, 9.9vw, 190px) 30px 30px;
}

.joy__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  padding: 60px 0;
}

.num-items {
  counter-reset: my-counter;
  margin-top: -40px;
}

.num-item {
  counter-increment: my-counter;
  position: relative;
  padding: 40px 0;
  border-bottom: 1px solid #E8E7E1;
}

.num-item::before {
  content: counter(my-counter)".";
}

.num-item:last-child {
  border-bottom: 0;
}

.num-item a {
  display: block;
  padding-left: 30px;
  font-weight: 300;
  color: var(--c-violet-500);
}

.joy__quote.mobile {
  display: none;
}

.advantages {
  padding: clamp(60px, 8vw, 130px) 0;
  background: var(--c-beige-50);
  border-radius: 0 0 clamp(30px, 5.3vw, 100px) clamp(30px, 5.3vw, 100px);
  border-top: 1px solid var(--c-beige-100);
}

.advantages__title {
  max-width: 1150px;
  margin-bottom: 80px;
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.brand-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 370px;
  padding: 30px;
  background: #F7F5F1;
  border-radius: var(--rounded-40);
  text-align: center;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(25px, 1.9vw, 35px);
}

.brand-card::before {
  content: "";
  position: absolute;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background-image: url(../images/water-mark.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 634px) minmax(0, 867px);
  justify-content: space-between;
  gap: 30px;
}

.faq__accordion {
  margin-top: clamp(-30px, -2.9vw, -55px);
  margin-bottom: clamp(-30px, -2.9vw, -55px);
}

.callback__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 105px 20px;
  background-color: var(--c-purple-500);
  border-radius: clamp(30px, 5.3vw, 100px);
  text-align: center;
  color: var(--c-white);
}

.callback__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../images/stars-bg.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1450px;
  opacity: .5;
}

.callback__content {
  position: relative;
  max-width: 1000px;
}

.callback__title {
  margin-bottom: 24px;
  font-size: clamp(35px, 3.7vw, 70px);
}

.callback__text {
  margin-bottom: 50px;
}

.callback__buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.footer {
  background: var(--c-beige-50);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  padding: 60px 0;
  gap: 30px;
  font-size: 22px;
}

.footer__col-1 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 50px;
}

.footer__policy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer a {
  transition: color var(--transition);
}

.footer a:hover {
  color: var(--c-violet-500);
}

.footer__policy p {
  opacity: .5;
}

.footer__logo {
  transition: opacity var(--transition);
}

.footer__logo:hover {
  opacity: .7;
}

.footer__title {
  margin-bottom: 28px;
  font-family: "Forum", serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__col-3 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 290px;
}

a.th-link {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 25px 28px;
  background: linear-gradient(180deg, rgba(52, 176, 223, 1) 0%, rgba(30, 136, 211, 1) 100%);
  border-radius: var(--rounded-20);
  transition: opacity var(--transition);
  font-size: 20px;
  color: var(--c-white);
}

.th-link:hover {
  opacity: .7;
}

.footer a.th-link:hover {
  color: var(--c-white);
}

.th-link img {
  width: 30px;
  height: 25px;
}

.modal-overlay {
  position: fixed;
  z-index: 199;
  inset: 0;
  display: none;
  background: rgba(0, 0, 0, 0.5);
}

.modal-overlay.active {
  display: block;
}

.modal {
  overflow: auto;
  position: fixed;
  z-index: 200;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  display: none;
  max-width: 700px;
  width: calc(100% - 30px);
  max-height: 100vh;
  padding: 50px 60px 60px 60px;
  border-radius: 40px;
  background: #F7F5F1;
  opacity: 0;
}

.modal.active {
  display: block;
}

.modal.fade {
  opacity: 1;
}

.modal__button-close {
  position: absolute;
  top: 46px;
  right: 46px;
  opacity: .6;
  transition: var(--transition);
}

.modal__button-close:hover {
  opacity: 1;
}

.modal__button-close-icon {
  pointer-events: none;
  width: 20px;
  height: 20px;
}

.modal__title {
  margin: 0;
  margin-bottom: 50px;
  font-family: "Forum", serif;
  font-size: clamp(35px, 3.2vw, 60px);
  font-weight: 400;
}

.form {
  font-size: clamp(16px, 1.5vw, 25px);
}

.fields {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.field__input {
  width: 100%;
  height: 70px;
  padding: 0 26px;
  background: var(--c-beige-50);
  border-radius: var(--rounded-15);
  border: 1px solid #E1DED5;
}

.field__input::placeholder {
  color: var(--c-dark);
  opacity: .4;
}

.field__textarea {
  width: 100%;
  height: 150px;
  padding: 18px 26px;
  background: var(--c-beige-50);
  border-radius: var(--rounded-15);
  border: 1px solid #E1DED5;
  resize: none;
}

.field__textarea::placeholder {
  color: var(--c-dark);
  opacity: .4;
}

.violet {
  color: var(--c-violet-500);
}

.form__consent {
  margin-top: 30px;
}

.checkbox {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.checkbox__input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
}

.checkbox__square {
  min-width: 25px;
  width: 25px;
  height: 25px;
  border-radius: 5px;
  background-color: var(--c-beige-50);
  border: 1px solid #E1DED5;
}

.checkbox__text {
  font-size: 16px;
}

.checkbox__text a {
  position: relative;
  z-index: 1;
  color: var(--c-violet-500);
}

.checkbox__input:checked+.checkbox__square {
  background-image: url(../images/check.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}

.form__button {
  width: 100%;
  margin-top: 30px;
}

.modal-complete .modal__title {
  margin-bottom: 30px;
}

.modal__text {
  color: var(--c-dark-2);
}

.modal-complete .form__button {
  margin-top: 50px;
}

.hero-2 {
  position: relative;
}

.hero-2__decor {
  position: absolute;
}



.hero-2__decor-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 675px;
  height: auto;
}

.hero-2__decor-2 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 270px;
  height: auto;
}

.hero-2__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
}

.hero-2__title {
  translate: 0 -120px;
}

.hero-2__bottom {
  position: absolute;
  bottom: 80px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.hero-2__text {
  max-width: 650px;
}

.hero-2__button {
  width: 240px;
}





.hero-2__img {
  position: absolute;
  top: 50%;
  right: 250px;
  translate: 0 -50%;
  width: clamp(300px, 37vw, 708px);
}

.laws {
  background: var(--c-beige-50);
  border-radius: clamp(30px, 5.3vw, 100px);
}

.laws__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(60px, 8.9vw, 150px) 0;
}

.law {
  overflow: hidden;
  position: relative;
  border-radius: clamp(35px, 4.7vw, 90px);
}

.law::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  translate: 0 -50%;
  width: 270px;
  aspect-ratio: 0.5;
}

.law::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  translate: 0 -50%;
  width: 270px;
  aspect-ratio: 0.4;
}

.law-1 {
  background: linear-gradient(180deg, rgba(172, 136, 86, 1) 0%, rgba(157, 126, 73, 1) 100%);
}

.law-1::before {
  background-image: url(../images/law-texture-1-orange.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.law-1::after {
  background-image: url(../images/law-texture-2-orange.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.law-2 {
  background: linear-gradient(180deg, rgba(103, 81, 118, 1) 0%, rgba(89, 74, 113, 1) 100%);
}

.law-2::before {
  background-image: url(../images/law-texture-1-violet.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.law-2::after {
  background-image: url(../images/law-texture-2-violet.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.law-3 {
  background: linear-gradient(180deg, rgba(68, 126, 152, 1) 0%, rgba(42, 103, 136, 1) 100%);
}

.law-3::before {
  background-image: url(../images/law-texture-1-blue.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.law-3::after {
  background-image: url(../images/law-texture-2-blue.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.law-4 {
  background: linear-gradient(180deg, rgba(147, 85, 34, 1) 0%, rgba(130, 76, 32, 1) 100%);
}

.law-4::before {
  background-image: url(../images/law-texture-1-brown.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.law-4::after {
  background-image: url(../images/law-texture-2-brown.svg);
  background-size: contain;
  background-size: contain;
}

.law__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 70px;
  padding: clamp(20px, 7.7vw, 140px);
  color: var(--c-white);
  background-image: url(../images/stars-bg.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 40%;
}

.law__undertitle {
  font-weight: 600;
}

.law__title {
  width: 100%;
  text-align: center;
}

.law__bottom-text {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 1284px;
  text-align: center;
}

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

.before-after {
  position: relative;
}

.before-after::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 270px;
  height: 589px;
  background-image: url(../images/texture-3.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.before-after::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 270px;
  height: 589px;
  transform: scaleX(-1);
  background-image: url(../images/texture-3.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.before-after__inner {
  position: relative;
  z-index: 2;
}

.before-after__title {
  margin-bottom: 80px;
}

.before-after__content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  row-gap: 74px;
}

.before {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 586px;
  height: 568px;
  text-align: center;
}

.before::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../images/circle-before.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.before__circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.before__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.before__word {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--c-white);
  font-family: "Forum", serif;
  font-weight: 400;
  font-size: clamp(30px, 2.6vw, 50px);
}



.before__text br {
  display: none;
}

.before__bottom-text {
  position: absolute;
  bottom: -50px;
  left: 50%;
  translate: -50% 0;
}

.before__side-text {
  position: absolute;
  top: 0;
  left: -100px;
  font-family: "Forum", serif;
  font-size: clamp(25px, 3.2vw, 60px);
  color: #F8B331;
}

.after {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 867px;
  height: 867px;
  text-align: center;
}

.after::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../images/circle-after.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.after__circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.after__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.after__title {
  font-family: "Forum", serif;
  font-size: clamp(30px, 3.7vw, 70px);
  font-weight: 400;
  color: #F8B331;
}



.after .before__word {
  position: absolute;
  bottom: 160px;
  right: 280px;
}



.before__button {
  width: fit-content;
  margin: 0 auto;
  margin-top: 120px;
}

.title-split {
  display: flex;
  flex-direction: column;
  width: 100%;
  line-height: 1;
}

.title-split span:nth-child(2) {
  text-align: right;
}

.prayer {
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, rgba(103, 81, 118, 1) 0%, rgba(89, 74, 113, 1) 100%);
  border-radius: clamp(30px, 5.3vw, 100px);
  color: var(--c-white);
}

.prayer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  translate: 50% 10%;
  width: 450px;
  height: 450px;
  background-image: url(../images/stars-bg.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.prayer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(60px, 8.9vw, 150px) 0;
}

.prayer__title {
  max-width: 893px;
  margin-bottom: clamp(30px, 3.7vw, 80px);
}

.prayer__text {
  max-width: 893px;
  margin-bottom: clamp(40px, 3.7vw, 80px);
}

.prayer-box {
  overflow: hidden;
  position: relative;
  width: 100%;
  background: var(--c-white);
  border-radius: clamp(25px, 4.2vw, 70px);
  color: var(--c-dark);
}

.prayer-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 270px;
  height: 410px;
  background-image: url(../images/texture-1.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left left;
}

.prayer-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  transform: scaleX(-1) scaleY(-1);
  width: 270px;
  height: 430px;
  background-image: url(../images/texture-3.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right right;
}

.prayer-box__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 125px 50px 50px 50px;
  padding-bottom: 50px;
}

.prayer-box__quote {
  max-width: 1114px;
  text-align: center;
}

.prayer-box__quote::before {
  top: -30px;
  left: -40px;
  font-size: 160px;
}

.prayer-box__quote::after {
  font-size: 160px;
}

.prayer__devider {
  margin: 30px auto;
  width: 1px;
  height: 40px;
  background: #E1DED5;
}

.prayer-box__consent .checkbox__text {
  font-size: 20px;
  line-height: 1;
}

.checkbox__input:checked+.checkbox__square {
  background-color: var(--c-purple-500);
  background-image: url(../images/check-white.svg);
  background-repeat: no-repeat;
  background-position: center;
}

.prayer-box__bottom {
  padding: 50px;
  border-top: 1px solid #E1DED5;
}

.prayer-box__button {
  margin: 0 auto;
}

.congratulation {
  overflow: hidden;
}

.congratulation__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.congratulation__title {
  max-width: 79%;
  margin-bottom: clamp(40px, 5.2vw, 100px);
}

.congratulation__content {
  position: relative;
  align-content: flex-end;
  width: 100%;
}

.congratulation__parts {
  display: flex;
  gap: 2px;
  width: max-content;
}

.part {
  position: relative;
  color: var(--c-dark);
}

.part__inner {
  display: flex;
  gap: 2px;
}

.part-1 {
  width: clamp(293px, 29.6vw, 569px);
}

.part-2 {
  width: clamp(438px, 44.3vw, 849px);
}

.part-3 {
  width: clamp(212px, 21.4vw, 423px);
}

.part__bottom {
  position: relative;
  padding-top: 30px;
  margin-top: 30px;
  text-align: center;
}

.part__bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 10px);
  height: 14px;
  border: 1px solid var(--c-gold-500);
  border-width: 0 0 2px 0;
  border-radius: 0 0 10px 10px;
}

.steps__title {
  margin-bottom: clamp(40px, 5.2vw, 100px);
}

.steps__title br {
  display: none;
}

b {
  font-weight: 500;
}



.callback-banner__inner {
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 740px) 1px 375px;
  gap: clamp(60px, 7.3vw, 140px);
  padding: clamp(30px, 6vw, 120px);
  background: var(--c-purple-500);
  border-radius: clamp(30px, 5.3vw, 100px);
  color: var(--c-white);
}

.callback-banner__inner::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 270px;
  height: 589px;
  background-image: url(../images/texture-3.svg);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .1;
}

.callback-banner__inner::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 670px;
  height: 670px;
  translate: 50% -50%;
  background-image: url(../images/stars-bg.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.callback-banner__devider {
  width: 1px;
  height: 100%;
  opacity: .2;
  background: var(--c-beige-50);
}

.callback-banner__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  height: 100%;
}

.callback-banner__title {
  margin-bottom: 30px;
  font-size: clamp(30px, 4.2vw, 70px);
}

.callback-banner__content-bottom {
  display: flex;
  gap: 10px;
}



.contacts {
  display: flex;
  flex-direction: column;
  gap: 50px;
}



.contact-item__label {
  display: block;
  margin-bottom: 6px;
  opacity: .6;
  font-size: clamp(16px, 1.3vw, 24px);
}



.contact-item__button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-item__button:after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background-image: url(../images/icon-arrow-head-gold.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.socials-group {
  display: flex;
  gap: 15px;
}



.social-link__icon {
  width: 70px;
  min-width: 70px;
  height: 70px;
  transition: var(--transition);
}

.social-link__icon:hover {
  opacity: .7;
}

.some-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--c-violet-500);
}

.some-links a:hover {
  transition: var(--transition);
  color: var(--c-gold-500);
}

/* ===================== */

/* Страница "О церкви"    */

/* ===================== */

.breadcrumbs-wrapper {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 50px;
  font-size: clamp(16px, 1.1vw, 20px);
  color: var(--c-white);
}

.breadcrumbs.another {
  color: var(--c-violet-500);
}

.breadcrumbs__sep {
  opacity: .8;
}

.breadcrumbs span {
  opacity: .5;
}

.about-hero {
  overflow: hidden;
  position: relative;
  border-radius: 0 0 0 clamp(85px, 7.8vw, 150px);
  color: var(--c-white);
}

.about-hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: clamp(50px, 5.2vw, 100px);
}

.about-hero__content {
  margin-top: auto;
  max-width: 1130px;
}

.about-hero__title {
  margin-bottom: clamp(20px, 2.6vw, 50px);
}

.about-hero__text {
  font-weight: 500;
}

.services__inner {
  position: relative;
}

.services__title {
  margin-bottom: clamp(40px, 4.2vw, 80px);
}

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

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 570px) minmax(0, 1185px);
  gap: 10px;
}

.service-card {
  display: flex;
  align-items: center;
  min-height: clamp(90px, 9.1vw, 175px);
  padding: 20px clamp(30px, 3.1vw, 60px);
  background: var(--c-beige-50);
  border-radius: var(--rounded-40);
  font-size: clamp(18px, 1.46vw, 28px);
  color: var(--c-dark);
}

.service-card__description {
  display: none;
}

.service-row__label-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-row__label-title {
  font-weight: 600;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 16px;
  font-weight: 500;
  color: var(--c-violet-500);
  transition: opacity var(--transition);
}

.link-arrow:hover {
  opacity: .7;
}

.link-arrow__icon {
  flex-shrink: 0;
}

.service-row__content p {
  line-height: 1.25;
}

.service-row__content--split {
  display: grid;
  grid-template-columns: minmax(0, 466px) minmax(0, 714px);
  gap: 10px;
}

.service-row--sm .service-card {
  min-height: clamp(74px, 7.3vw, 140px);
}

.left-decor {
  position: relative;
}

.left-decor::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 0;
  width: 270px;
  height: 589px;
  background-image: url(../images/texture-3.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.right-decor {
  position: relative;
}

.right-decor::after {
  content: "";
  position: absolute;
  top: -80px;
  right: 0;
  width: 270px;
  height: 589px;
  transform: scaleX(-1) scaleY(-1);
  background-image: url(../images/texture-3.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.beliefs__inner {
  position: relative;
  z-index: 10;
}

.beliefs__title {
  margin-bottom: clamp(40px, 5.2vw, 100px);
}

.beliefs__columns {
  display: grid;
  grid-template-columns: minmax(0, 905px) 1px minmax(0, 600px);
  justify-content: space-between;
  gap: clamp(40px, 6.6vw, 127px);
}

.beliefs__text {
  font-size: clamp(25px, 2.6vw, 50px);
  font-weight: 300;
  font-style: italic;
  color: var(--c-dark-2);
}

.beliefs__divider {
  align-self: stretch;
  width: 1px;
  background: var(--c-beige-100);
}

.beliefs__guest-title {
  margin-bottom: 20px;
  opacity: .6;
  font-size: clamp(16px, 1.5vw, 28px);
  font-weight: 400;
}

.beliefs__guest-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.beliefs__guest-text p {
  font-size: clamp(16px, 1.3vw, 24px);
  line-height: 1.5;
  color: var(--c-dark-2);
}

.beliefs__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: clamp(40px, 5.2vw, 100px);
}

.beliefs__pic {
  border-radius: var(--rounded-40);
  aspect-ratio: 570 / 540;
}

.beliefs__pic-2 {
  margin-top: clamp(12px, 11.5vw, 220px);
}

.beliefs__pic-3 {
  margin-top: clamp(4px, 4.2vw, 80px);
}

.sunday-plan.left-decor::before {
  top: -280px;
}

.sunday-plan.right-decor::after {
  top: -280px;
}

.sunday-plan__inner {
  position: relative;
  z-index: 10;
}

.sunday-plan__title {
  margin-bottom: clamp(40px, 5.2vw, 100px);
}

.sunday-plan__list {
  display: flex;
  flex-direction: column;
}

.sunday-plan__item {
  display: grid;
  grid-template-columns: 64px minmax(0, 400px) 1fr;
  align-items: center;
  gap: clamp(20px, 2.6vw, 50px);
  padding: clamp(20px, 1.7vw, 32px) 0;
  border-bottom: 1px solid var(--c-beige-100);
}

.sunday-plan__item:last-child {
  border-bottom: none;
}

.sunday-plan__num {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.sunday-plan__num::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../images/star.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.sunday-plan__num span {
  position: relative;
  translate: -2px 0;
  font-size: 48px;
  font-weight: 300;
  font-style: italic;
  color: var(--c-gold-500);
}

.sunday-plan__item-title {
  font-size: clamp(18px, 1.5vw, 28px);
  font-weight: 600;
  color: var(--c-dark);
}

.sunday-plan__item-text {
  font-size: clamp(16px, 1.5vw, 28px);
  line-height: 1.5;
  color: var(--c-dark-2);
}

.pastors {
  overflow: hidden;
  position: relative;
  z-index: 20;
}



.pastors__title {
  margin-bottom: clamp(40px, 5.2vw, 100px);
}

.pastors__slider {
  overflow: visible;
}

.pastor-card {
  position: relative;
  width: clamp(220px, 21vw, 400px);
}

.pastor-card__photo {
  position: relative;
  border-radius: var(--rounded-40);
  aspect-ratio: 3 / 4;
}

.pastor-card__photo::before {
  content: "";
  position: absolute;
  z-index: 10;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(180deg, rgba(147, 85, 34, 0) 0%, rgba(29, 22, 12, 1) 100%);
}

.pastor-card__more {
  position: absolute;
  z-index: 20;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 50px;
  padding: 10px 20px;
  border-radius: 16px;
  border: 1px solid rgb(234, 233, 227, 0.3);
  background: rgba(47, 33, 10, 0.7);
  backdrop-filter: blur(10px);
  font-size: 20px;
  font-weight: 500;
  color: var(--c-white);
  transition: background var(--transition);
}

.pastor-card__more:hover {
  background: rgba(47, 33, 10, 1);
}

.pastor-card__more::after {
  content: "";
  width: 14px;
  height: 14px;
  background-image: url(../images/icon-chevrone-right-white.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.pastor-card__more-icon {
  flex-shrink: 0;
}

.pastor-card__name {
  margin-top: clamp(16px, 1vw, 18px);
  font-weight: 600;
  color: var(--c-dark);
}

.pastor-card__role {
  margin-top: 8px;
  font-size: clamp(16px, 1vw, 24px);
  color: var(--c-dark-2);
}

.pastor-card__info {
  display: none;
}

.slider-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: clamp(40px, 3.1vw, 60px);
}

.swiper-btn {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--c-white);
  transition: background var(--transition);
}



.swiper-btn.swiper-button-disabled {
  pointer-events: none;
}

.swiper-btn img {
  width: 23px;
  height: 23px;
}

.swiper-btn.swiper-button-disabled img {
  opacity: .4;
}

.location.left-decor::before {
  top: -280px;
  z-index: 11;
}

.location.left-decor::after {
  top: -280px;
  z-index: 11;
}

.location__content {
  position: relative;
}

.location__content::before {
  content: "";
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 20%;
  background: linear-gradient(0deg, rgba(147, 85, 34, 0) 0%, rgba(247, 245, 241, 1) 100%);
}

.location__content::after {
  content: "";
  position: absolute;
  z-index: 10;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20%;
  background: linear-gradient(180deg, rgba(147, 85, 34, 0) 0%, rgba(247, 245, 241, 1) 100%);
}

.location__title {
  margin-bottom: 10px;
}

.location__map {
  position: relative;
}

.location__map::before {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(147, 85, 34, 0) 0%, rgba(247, 245, 241, 1) 80%);
}

.location__map-embed {
  display: block;
  width: 100%;
  height: clamp(300px, 57vw, 958px);
  border: 0;
  border-radius: var(--rounded-40);
  overflow: hidden;
  background: var(--c-beige-100);
}

.location__map-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--c-purple-500);
  box-shadow: 0 4px 12px rgba(29, 22, 12, 0.35);
}

.location__map-marker img {
  width: 22px;
  height: 22px;
  transform: rotate(45deg);
}

.location__card {
  position: absolute;
  z-index: 20;
  left: 0;
  top: 50%;
  translate: 0 -50%;
  width: clamp(345px, 33.4vw, 640px);
  padding: clamp(25px, 2.6vw, 70px);
  border-radius: var(--rounded-40);
  background: var(--c-beige-50);
}

.location__card .contacts {
  gap: clamp(26px, 1.9vw, 36px);
}

.location__card .contact-item__text {
  color: var(--c-dark);
}

.location__card-button {
  width: fit-content;
  padding: 0 50px;
  margin-top: clamp(35px, 2.6vw, 50px);
}

.location__gallery {
  overflow: hidden;
  position: absolute;
  z-index: 20;
  right: clamp(20px, 3.1vw, 60px);
  bottom: clamp(-70px, -5.7vw, -110px);
  display: flex;
  align-items: flex-end;
  gap: 35px;
  width: 867px;
  border-radius: 25px;
}

.location__slider {
  overflow: hidden;
  width: 100%;
}

.location-pic {
  height: 190px;
  border-radius: 25px;
}

.location__nav {
  flex-direction: column;
  align-self: center;
  flex-shrink: 0;
  margin-top: 0;
}

.modal-person {
  max-width: 932px;
}

.modal-decor::before {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: 0;
  left: 0;
  width: 150px;
  height: 380px;
  background-image: url(../images/texture-3.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left bottom;
}

.modal-decor::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 20%;
  right: 0;
  width: 150px;
  height: 380px;
  background-image: url(../images/texture-2.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right top;
}

.modal-person__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.modal-person__head {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 30px;
}

.modal-person__pic {
  padding-top: 100%;
  border-radius: var(--rounded-40);
}



.modal-person__name {
  margin-bottom: 14px;
  font-family: 'Forum';
  font-size: clamp(25px, 4.2vw, 70px);
  font-weight: 400;
  line-height: 1;
}

.modal-person__role {
  font-size: 20px;
  color: var(--c-dark-2);
}

.modal-person__body p:not(:last-child) {
  margin-bottom: .8em;
}

.modal-service {
  max-width: 932px;
}

.modal-service__title {
  margin-bottom: clamp(20px, 2vw, 40px);
  font-size: clamp(35px, 4.2vw, 70px);
}

.paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.modal-service__slider {
  width: 100%;
  padding-bottom: clamp(30px, 2.1vw, 50px);
  border-bottom: 1px solid #E1DED5;
  margin-top: clamp(30px, 2vw, 40px);
}

.modal-service__pic {
  padding-top: 50%;
  border-radius: var(--rounded-40);
}

.modal-service__button {
  margin: 0 auto;
  margin-top: clamp(30px, 2vw, 45px);
}

.modal-service__text {
  font-size: clamp(16px, 1.1vw, 20px);
}

.swiper {
  position: relative;
}

.swiper-btn.absolute {
  position: absolute;
  z-index: 10;
  top: 50%;
  translate: 0 -50%;
}

.swiper-btn--prev {
  left: 20px;
}

.swiper-btn--next {
  right: 20px;
}

.modal-service .modal__button-close,
.modal-person .modal__button-close {
  top: 30px;
  right: 30px;
}

@media (min-width: 1920px) {
  .hero {
    overflow: hidden;
    position: relative;
    border-radius: 0 0 150px 150px;
  }

  .about-hero {
    border-radius: 0 0 0 150px;
  }
}

@media (max-width: 1920px) {
  .hero {
    overflow: hidden;
    position: relative;
    border-radius: 0 0 60px 60px;
  }

  .about-hero {
    border-radius: 0 0 0 60px;
  }
}

@media (max-width: 1680px) {
  .after {
    width: 586px;
    height: 568px;
  }

  .before__text {
    max-width: 320px;
  }

  .before__word {
    width: 80px;
    height: 80px;
  }

  .after .before__word {
    bottom: 90px;
    right: 190px;
  }
}

@media (max-width: 1400px) {
  .hero-2__decor-1 {
    width: 500px;
  }

  .hero-2__title {
    translate: unset;
    margin-bottom: 50px;
  }

  .hero-2__bottom {
    position: relative;
    inset: auto;
  }
}

@media (max-width: 1360px) {
  .prayer-box__quote {
    max-width: 764px;
  }

  .prayer-box__quote::before,
  .prayer-box__quote::after {
    font-size: 100px;
  }

  .prayer-box__quote::before {
    left: 0;
  }
}

@media (max-width: 1199px) {
  :root {
    --rounded-40: 30px;
  }

  .button {
    height: 55px;
  }

  .hero__inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
  }

  .hero__content {
    padding-top: 60px;
  }

  .square-link {
    height: 200px;
  }

  .first-step__text {
    margin-bottom: 60px;
  }

  .first-step__head::before {
    width: 160px;
  }

  .first-step__text::before {
    bottom: -25px;
    left: -50px;
    width: 80px;
  }

  .first-step__item br {
    display: none;
  }

  .joy__head {
    margin-bottom: 40px;
  }

  .joy__grid {
    gap: 30px;
  }

  .joy__pic {
    height: 100%;
  }

  .num-item {
    padding: 20px 0;
  }

  .advantages__title {
    margin-bottom: 60px;
  }

  .brand-card {
    min-height: 230px;
    font-size: 22px;
  }

  .brand-card::before {
    right: 30px;
    bottom: 30px;
    width: 34px;
    height: 34px;
  }

  .faq__inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .faq__title {
    margin-bottom: 40px;
  }

  .callback__inner {
    padding: 85px 0;
  }

  .callback__inner::before {
    background-size: 100%;
  }

  .footer__inner {
    flex-wrap: wrap;
    row-gap: 50px;
    font-size: 18px;
  }

  .modal__title {
    margin-bottom: 25px;
  }

  .fields {
    gap: 15px;
  }

  .field__input {
    height: 55px;
  }

  .modal-complete .modal__title {
    margin-bottom: 20px;
  }

  .modal-complete .form__button {
    margin-top: 30px;
  }

  .hero-2__inner {
    min-height: 700px;
  }

  .hero-2__img {
    display: none;
  }

  .hero-2__text br {
    display: none;
  }



  .law::before {
    width: 200px;
  }

  .law::after {
    width: 200px;
  }

  .law__inner {
    gap: 50px;
  }

  .law__bottom-text {
    gap: 18px;
  }

  .callback-banner__inner {
    grid-template-columns: minmax(0, 740px) 1px 305px;
    gap: 30px;
  }

  .breadcrumbs {
    padding-top: 20px;
  }

  .about-hero {
    border-radius: 0 0 0 60px;
  }

  .about-hero__inner {
    min-height: 700px;
  }

  .service-row {
    grid-template-columns: minmax(0, 340px) 1fr;
  }

  .beliefs__columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .beliefs__divider {
    width: 100%;
    height: 1px;
  }

  .sunday-plan__item {
    grid-template-columns: 56px minmax(0, 220px) 1fr;
    gap: 24px;
  }

  .sunday-plan__num {
    width: 56px;
    height: 56px;
  }

  .sunday-plan__num span {
    font-size: 25px;
  }

  .location.left-decor::before,
  .location.left-decor::after {
    display: none;
  }

  .location__gallery {
    display: none;
  }
}

@media (max-width: 991px) {
  .banner__inner {
    grid-template-columns: 1fr 0.7fr;
    gap: 30px;
    padding-bottom: 15px;
  }

  .advantages__title {
    margin-bottom: 40px;
  }

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

  .callback__inner {
    padding: 60px 20px;
    padding-bottom: 25px;
  }

  .callback__text {
    margin-bottom: 50px;
  }

  .callback__text br {
    display: none;
  }

  .footer__col-3 {
    gap: 40px;
  }

  .prayer-box::before,
  .prayer-box::after {
    display: none;
  }

  .prayer-box__top {
    padding-top: 80px;
  }

  .prayer-box__quote {
    margin-bottom: 50px;
  }

  .prayer__devider {
    display: none;
  }

  .congratulation__parts {
    flex-direction: column;
    gap: 40px;
    width: 100%;
  }

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

  .part-1,
  .part-2,
  .part-3 {
    width: 100%;
  }

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

  .carriage {
    display: flex;
    justify-content: center;
  }

  .part__bottom {
    font-size: 18px;
  }

  .part__bottom p br {
    display: none;
  }

  .callback-banner__inner {
    grid-template-columns: 1fr 1px 225px;
    gap: 30px;
  }

  .callback-banner__inner::before,
  .callback-banner__inner::after {
    display: none;
  }

  .service-row {
    grid-template-columns: minmax(0, 200px) 1fr;
  }

  .sunday-plan.right-decor::after {
    display: none;
  }

  .sunday-plan__item {
    grid-template-columns: 48px 1fr;
    align-items: flex-start;
    row-gap: 0;
  }

  .sunday-plan__item-title {
    grid-column: 2;
  }

  .sunday-plan__item-text {
    grid-column: 2;
    margin-top: -18px;
  }

  .sunday-plan__num {
    width: 50px;
    height: 50px;
  }

  .location__map-embed {
    height: clamp(400px, 55vw, 600px);
  }

  .location__card {
    width: clamp(260px, 40vw, 380px);
  }

  .location__gallery {
    width: clamp(220px, 45vw, 420px);
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 15px;
  }

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

  .hero__links {
    width: 100%;
  }

  .square-link {
    flex-grow: 1;
    width: 100%;
    min-width: auto;
    padding: 24px;
  }

  .questions__head {
    margin-bottom: 35px;
  }

  .banner {
    padding: 0 15px;
  }

  .banner__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .banner__inner::before {
    display: none;
  }

  .banner__title {
    margin-bottom: 30px;
  }

  .first-step::before {
    display: none;
  }

  .first-step__head {
    margin-bottom: 60px;
  }

  .first-step__items {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 35px;
  }

  .first-step__item:last-child {
    grid-column: 2 span;
  }

  .joy__head {
    margin-bottom: 30px;
  }

  .joy__head br {
    display: block;
  }

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

  .joy__pic {
    grid-row: 2;
    height: 320px;
  }

  .joy__content {
    padding: 0;
  }

  .joy__quote {
    display: none;
  }

  .num-items {
    margin-top: -20px;
    margin-bottom: -20px;
  }

  .joy__quote.mobile {
    display: block;
    margin-top: 30px;
  }

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

  .brand-card {
    font-size: 25px;
  }

  .hero-2__title {
    margin-top: -170px;
    margin-bottom: 24px;
  }

  .hero-2__bottom {
    position: unset;
    flex-direction: column;
    gap: 30px;
  }

  .law__inner {
    gap: 28px;
    padding: 60px 20px;
  }

  .law__title {
    display: initial;
    line-height: 1.1;
  }

  .law__title span {
    display: initial;
  }

  .law__title span:nth-child(3) {
    translate: 0 0;
  }

  .law::after {
    display: none;
  }

  .law::before {
    top: 0;
    translate: 0 0;
    transform: scaleY(-1) scaleX(-1);
    scale: -1;
    width: 270px;
    height: 265px;
    rotate: 90deg;
  }

  .law__inner {
    background-image: none;
  }

  .before-after__content {
    flex-direction: column;
  }

  .before {
    width: 285px;
    height: 285px;
  }

  .after {
    width: 345px;
    height: 345px;
  }

  .before__side-text {
    left: -30px;
  }

  .before__word {
    width: 50px;
    height: 50px;
  }

  .before::before {
    background-image: url(../images/circle-before-mobile.svg);
    background-repeat: no-repeat;
    background-size: contain;
  }

  .after::before {
    background-image: url(../images/circle-after-mobile.svg);
    background-repeat: no-repeat;
    background-size: contain;
  }

  .before__text br {
    display: block;
  }

  .after .before__word {
    bottom: 70px;
    right: 100px;
  }

  .before__button {
    margin-top: 100px;
  }

  .prayer-box__bottom {
    padding: 30px 20px;
  }

  .congratulation__title {
    max-width: 100%;
  }

  .part__inner {
    gap: 10px;
  }

  .callback-banner__inner {
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: 60px;
  }

  .contacts {
    gap: 34px;
  }

  .callback-banner__devider {
    width: 100%;
    height: 1px;
  }

  .callback-banner__inner::after {
    display: block;
    inset: auto;
    bottom: 0;
    right: 0;
    translate: 50% 12%;
    width: 428px;
    height: 428px;
  }

  .socials-group {
    gap: 10px;
  }

  .social-link__icon {
    width: 50px;
    min-width: 50px;
    height: 50px;
  }

  .about-hero {
    border-radius: 0 0 0 40px;
  }

  .breadcrumbs {
    font-size: 16px;
  }

  .services__grid {
    gap: 5px;
  }

  .service-row,
  .service-row__content--split {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
    padding: 25px 20px;
  }

  .service-row--sm .service-card {
    min-height: auto;
  }

  .service-row {
    overflow: hidden;
    border-radius: var(--rounded-40);
    background: var(--c-beige-50);
  }

  .service-row .service-card {
    border-bottom: 2px solid #F7F5F1;
    border-radius: 0;
  }

  .service-row__label-inner {
    gap: 4px;
  }

  .beliefs__gallery {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 30px;
  }

  .beliefs__pic {
    display: none;
    aspect-ratio: 16 / 12;
  }

  .beliefs__pic-1 {
    display: block;
  }

  .beliefs__pic-2,
  .beliefs__pic-3 {
    margin-top: 0;
  }

  .beliefs__columns {
    gap: 30px;
  }

  .beliefs__guest-text {
    gap: 16px;
  }

  .beliefs.right-decor::after {
    display: none;
  }

  .pastor-card__more {
    gap: 10px;
    padding: 0 12px;
    height: 32px;
    border-radius: 12px;
    font-size: 12px;
  }

  .pastor-card__more::after {
    width: 10px;
    height: 10px;
  }

  .pastor-card__role {
    margin-top: 4px;
  }

  .location__title {
    position: relative;
    z-index: 20;
    margin-bottom: -10px;
  }

  .location__map {
    display: flex;
    flex-direction: column;
  }

  .location__map-embed {
    height: 450px;
    margin-bottom: -100px;
  }

  .location__card {
    position: relative;
    top: 0;
    translate: 0;
    width: 100%;
    border-radius: 25px;
  }

  .location__gallery {
    position: static;
    width: 100%;
  }

  .location-pic {
    flex-grow: 1;
  }

  .location__content::before {
    height: 10%;
  }

  .modal-service,
  .modal-person {
    padding: 50px 30px 30px 30px;
  }

  .modal-person {
    padding-top: 54px;
  }

  .modal-person__head {
    grid-template-columns: 270px 1fr;
    gap: 20px;
  }

  .modal-person__pic {
    padding-top: 80%;
  }

  .modal-person__pic img {
    object-position: top;
  }

  .modal-person__content {
    gap: 20px;
  }
}

@media (max-width: 575px) {
  :root {
    --rounded-40: 20px;
  }

  section.mb {
    margin-bottom: 60px;
  }

  .menu-button {
    position: relative;
    z-index: 100;
    display: flex;
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .header__panel {
    position: absolute;
    top: 90px;
    left: 50%;
    translate: -50% 0;
    width: calc(100% - 30px);
    padding: 30px 20px;
    border-radius: var(--rounded-15);
    background: var(--c-white);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
  }

  .header__panel.active {
    opacity: 1;
    visibility: visible;
  }



  .menu__list {
    flex-direction: column;
    gap: 16px;
  }

  .menu__list>li>a {
    font-size: 20px;
    color: var(--c-dark);
  }

  .step-cards {
    grid-template-columns: 1fr;
  }

  .menu-button__text {
    display: none;
  }

  .hero__inner {
    padding-bottom: 25px;
  }

  .square-link {
    flex-direction: row;
    align-items: center;
    height: auto;
  }

  .first-step__items {
    grid-template-columns: 1fr;
  }

  .first-step__item:last-child {
    grid-column: auto;
  }

  .first-step__head::before {
    left: 20px;
    width: 60px;
  }

  .first-step__button {
    width: 100%;
  }

  .advantages {
    padding-bottom: 15px;
  }

  .callback__buttons {
    flex-direction: column;
  }

  .footer__inner {
    position: relative;
    padding: 40px 0;
    padding-bottom: 110px;
    gap: 30px;
    font-size: 16px;
  }

  .footer__col {
    width: 100%;
  }

  .footer__col-1 {
    gap: 40px;
  }

  .footer__logo-img {
    width: 250px;
    margin-bottom: 5px;
  }

  .footer__title {
    margin-bottom: 20px;
    font-size: 25px;
  }

  .footer__col-part .footer__title {
    margin-bottom: 12px;
  }

  .footer__policy {
    position: absolute;
    bottom: 25px;
    gap: 10px;
  }

  .th-link {
    width: 100%;
    border-radius: 15px;
  }

  .footer__nav ul {
    gap: 12px;
  }

  .modal {
    padding: 30px 25px 25px 25px;
    border-radius: 30px;
  }

  .checkbox__text {
    font-size: 12px;
  }

  .modal__button-close {
    top: 25px;
    right: 25px;
  }

  .modal__button-close-icon {
    width: 16px;
    height: 16px;
  }

  .field__input {
    padding: 0 20px;
  }

  .field__textarea {
    padding: 18px 20px;
  }

  .form__consent {
    margin-top: 10px;
  }

  .hero-2__decor-1 {
    width: 270px;
  }

  .hero-2__decor-2 {
    width: 230px;
  }

  .hero-2__title br {
    display: none;
  }

  .hero-2__button {
    position: absolute;
    bottom: 60px;
    left: 0;
    width: 100%;
  }

  .law__title {
    font-size: 30px;
  }

  .law__title br {
    display: none;
  }

  .before-after::before {
    top: 50%;
    bottom: unset;
    translate: 0 -50%;
    transform: scaleY(-1);
    width: 200px;
    height: 260px;
  }

  .before-after::after {
    top: unset;
    bottom: 0;
    transform: scaleX(-1);
    width: 200px;
    height: 260px;
  }

  .prayer::before {
    display: none;
  }

  .prayer__title {
    display: initial;
    max-width: 100%;
  }

  .prayer-box__top {
    padding: 55px 20px 20px 20px;
  }

  .prayer-box__quote {
    padding: 0;
    margin-bottom: 34px;
  }

  .prayer-box__quote span {
    position: relative;
    z-index: 2;
  }

  .prayer-box__quote::before {
    top: -24px;
    left: -10px;
  }

  .prayer-box__quote::after {
    right: 0;
  }

  .prayer-box__consent .checkbox__text {
    font-size: 15px;
  }

  .congratulation__title {
    display: initial;
    max-width: 100%;
    text-align: left;
    text-align-last: left;
  }

  .congratulation__title span:nth-child(2) {
    white-space: nowrap;
  }

  .congratulation__title br {
    display: block;
  }

  .steps__title {
    text-align: left;
  }

  .steps__title br {
    display: block;
  }

  .callback-banner__inner {
    padding: 60px 20px;
  }

  .callback-banner__button {
    flex-grow: 1;
  }

  .about-hero__bg {
    object-position: 64%;
  }

  .about-hero__inner {
    min-height: 600px;
  }

  .about-hero__title {
    margin-bottom: 20px;
  }

  .sunday-plan__item {
    column-gap: 20px;
  }

  .beliefs__title {
    margin-bottom: 20px;
    text-align: left;
  }

  .services__title,
  .sunday-plan__title {
    text-align: left;
  }

  .sunday-plan__title {
    margin-bottom: 20px;
  }

  .sunday-plan.left-decor::before {
    top: -130px;
  }

  .left-decor::before {
    width: 200px;
    height: 260px;
  }

  .pastors__title {
    text-align: left;
    margin-bottom: 30px;
  }

  .pastor-card {
    width: 68vw;
  }

  .swiper-btn {
    width: 50px;
    height: 50px;
  }

  .pastor-card__name {
    font-size: 18px;
  }

  .location {
    overflow: hidden;
  }

  .location__map-embed {
    width: auto;
    margin: 0 -20px;
    margin-bottom: -100px;
  }

  .location__map::before {
    left: -20px;
    right: -20px;
    width: auto;
    background: radial-gradient(circle, rgba(147, 85, 34, 0) 0%, rgba(247, 245, 241, 1) 100%);
  }

  .location__title {
    margin-bottom: -20px;
    text-align: left;
  }

  .location__card {
    padding: 20px;
  }

  .location__gallery {
    gap: 10px;
  }

  .location__nav {
    display: none;
  }

  .location__card-button {
    width: 100%;
  }

  .modal-service,
  .modal-person {
    padding: 40px 25px 25px 25px;
  }

  .modal-service .swiper-btn {
    display: none;
  }

  .modal-service__pic {
    padding-top: 65%;
  }

  .modal-service .modal__button-close,
  .modal-person .modal__button-close {
    top: 20px;
    right: 20px;
  }

  .modal-service__button {
    width: 100%;
  }

  .modal-person__head {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .modal-person__name {
    margin-bottom: 6px;
  }

  .modal-person__role {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .title-split {
    text-align-last: right;
  }

  .congratulation__title.title-split {
    text-align-last: left;
    line-height: 1;
  }
}

@media (max-width: 460px) {
  .hero__links {
    flex-direction: column;
  }
}