/* ===== Geometria ===== */

@font-face {
  font-family: 'Geometria';
  src: url('../fonts/Geometria-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geometria';
  src: url('../fonts/Geometria.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geometria';
  src: url('../fonts/Geometria-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geometria';
  src: url('../fonts/Geometria-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ===== Baskerville BT ===== */

@font-face {
  font-family: 'Baskerville BT';
  src: url('../fonts/baskervillebt_roman.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Baskerville BT';
  src: url('../fonts/baskervillebt_bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --accent-choco-color: #665145;
  --accent-milk-color: #E2D6BA;
  --text-color: #2B2928;
  --light-text-color: #BDB9B1;
  --light-color: #E6E1DD;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  font-size: 18px;
  line-height: 1.1;
  font-family: 'Geometria', sans-serif;
  font-weight: 400;
  color: var(--text-color);
  background: #FFFCF6;
}
.container {
  width: calc(100% - 290px);
  max-width: 100%;
  margin: 0 auto;
}
a {
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}
ul {
  list-style-type: none;
  margin-block-start: 0;
  margin-block-end: 0;
  padding-inline-start: 0;
}
ul, h1, h2, h3, h4, h5, p {
  margin: 0;
  padding: 0;
  margin-block-start: 0;
  margin-block-end: 0;
}
h1, h2, h3 {
  font-family: 'Baskerville BT', serif;
  color: var(--text-color);
  font-weight: 700;
}
input, select, textarea {
  outline:none;
}
img {
  max-width: 100%;
}
.btn {
  max-width: fit-content;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 20px;
  background: var(--accent-milk-color);
  border-radius: 38px;
  font-size: clamp(16px, 1.3vw, 20px);
  color: var(--accent-choco-color);
  white-space: nowrap;
  transition: all 0.3s ease-in-out;
  border: 1px solid transparent;
}
.btn span {
  display: block;
  width: clamp(40px, 2.8vw, 53px);
  height: clamp(40px, 2.8vw, 53px);
  border-radius: 50%;
  background: url(../img/arrow-right.svg) no-repeat center, var(--accent-choco-color);
  background-size: clamp(20px, 1.7vw, 32px);
  transition: all 0.3s ease-in-out;
}
.btn:hover {
  color: var(--text-color);
}
.btn:hover span {
  background: url(../img/arrow-right.svg) no-repeat center, var(--text-color);
  background-size: clamp(20px, 1.7vw, 32px);
}
.btn-light {
  border: 1px solid #E6E1DD;
  background: transparent;
  color: var(--text-color);
}
.btn-light:hover {
  color: var(--accent-choco-color);
}
.btn-light span {
  background: url(../img/arrow-right.svg) no-repeat center, var(--text-color);
  background-size: clamp(20px, 1.7vw, 32px);
}
.btn-light:hover span {
  background: url(../img/arrow-right.svg) no-repeat center, var(--accent-choco-color);
  background-size: clamp(20px, 1.7vw, 32px);
}
.block__title {
  font-size: clamp(80px, 5.6vw, 107px);
}
.block__title span {
  color: var(--accent-choco-color);
}

.header {
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.4s ease, padding 0.4s ease;
  border-bottom: 1px solid rgb(255 255 255 / 20%);
}
.header__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__logo {
  padding: 12px 52px 12px 0;
  border-right: 1.33px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  align-self: stretch;
}
.burger-menu {
  display: none;
}
.menu {
  display: flex;
  gap: clamp(24px, 2vw, 32px);
}
.menu a {
  color: var(--white);
  font-size: clamp(14px, 1.2vw, 18px);
}
.header__block {
  padding: 0 20px;
}
.header__phone-wrapper {
  padding: 12px 0 12px 52px;
  border-left: 1.33px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  align-self: stretch;
}
.header__phone-wrapper.mobile {
  display: none;
}
.header__phone-block {
  padding: 8px 8px 8px 26px;
  max-width: fit-content;
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--text-color);
  border-radius: 38px;
  font-size: clamp(13px, 0.9vw, 17px);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.53;
}
.header__phone-text a {
  color: var(--white);
}
.header__phone-block:hover .header__phone-text a {
  text-decoration: underline;
}
.header__phone-img {
  width: clamp(40px, 2.8vw, 53px);
  height: clamp(40px, 2.8vw, 53px);
  border-radius: 50%;
  background: url(../img/phone.svg) no-repeat center, var(--accent-milk-color);
  background-size: clamp(24px, 1.7vw, 32px);
}        
.header__phone-block:hover .header__phone-img {
  background: url(../img/phone.svg) no-repeat center, var(--light-color);
  background-size: clamp(24px, 1.7vw, 32px);
}
.header__logo img {
  width: clamp(54px, 4vw, 70px);
}
.header.scrolled, .header:hover {
  background-color: #FFFCF6;
}
.header:hover .menu a , .header.scrolled .menu a {
  color: var(--text-color);
}
.header:hover .menu .menu-item:hover a , .header.scrolled .menu .menu-item:hover a {
  color: var(--accent-choco-color);
}
.logo-img-scrolled, .header.scrolled .logo-img, .header:hover .logo-img {
  display: none;
}
.header.scrolled .logo-img-scrolled, .header:hover  .logo-img-scrolled {
  display: block;
}

.hero {
  position: relative;
  min-height: 42rem;
  overflow: hidden;
  padding: 2rem 0;
}
.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background: url(../img/hero-bg-img.jpg) no-repeat center top;
  background-size: cover;
  will-change: transform;
}
.hero__wrapper {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 34vh 0 15vh;
  color: var(--white);
}
.hero__play-btn {
  width: clamp(148px, 11vw, 197px);
  height: clamp(148px, 11vw, 197px);
  position: absolute;
  top: 12vh;
  left: 35%;
  background: url(../img/play-btn.svg) no-repeat center;
  background-size: clamp(148px, 11vw, 197px);
  z-index: 2;
  cursor: pointer;
}
.hero__title {
  color: var(--white);
  font-size: clamp(95px, 6.75vw, 126px);
}
.video-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.video-modal.active {
  display: block;
}
.video-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.video-modal__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 900px;
  width: 90%;
}
.video-modal__content video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.video-modal__close {
  position: absolute;
  top: -30px;
  right: -20px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 32px;
  cursor: pointer;
}
.hero__block {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}
.hero__text-block {
  max-width: clamp(680px, 47vw, 850px)
}
.hero__text-title {
  font-size: clamp(52px, 3.62vw, 70px);
  color: var(--white);
  font-family: 'Baskerville BT', serif;
}
.hero__text {
  margin: 10px 0 20px;
  font-size: clamp(18px, 1.2vw, 24px);
  line-height: 1.5;
}
.hero__plan-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.hero__plan-block {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  background: var(--text-color);
  border-radius: 38px;
}
.hero__plan-content {
  max-width: clamp(210px, 17.2vw, 280px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 20px;
  font-size: clamp(16px, 1.3vw, 21px);
  font-weight: 700;
  line-height: 1.5;
}
.hero__plan-download {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(15px, 1.2vw, 20px);
  font-weight: 400;
  color: var(--light-color);
}
.hero__plan-download img {
  width: clamp(38px, 2.6vw, 50px);
}
.hero__brochure {
  width: clamp(126px, 9vw, 167px);
}

.about {
  padding: clamp(114px, 8.2vw, 150px) 0 clamp(84px, 6.2vw, 100px);
}
.about__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.about .block__title {
  max-width: 37%;
  font-size: clamp(64px, 6.5vw, 107px);
}
.about__text-wrapper {
  max-width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}
.about__big-text {
  font-size: clamp(33px, 2.3vw, 44px);
  font-family: 'Baskerville BT', serif;
}
.about__text-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}
.about__text {
  max-width: calc(100% - 300px);
  font-size: clamp(16px, 1.15vw, 21px);
  line-height: 1.5;
}
.about_gallery {
  display: none;
}

.img-scroll {
  /* padding: clamp(116px, 8.1vw, 150px) 0 clamp(95px, 6.8vw, 125px); */
  margin-left: 7.5%;
  position: relative;
  overflow: visible;
  /* height: calc(100vh + var(--scroll-distance, 0px)); */
}
.img-scroll__sticky {
  position: sticky;
  top: 100px;
  height: 80vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.img-scroll__track {
  display: flex;
  flex-wrap: nowrap;
  will-change: transform;
}
.img-scroll__item {
  flex: 0 0 auto;
}
.img-scroll__item img {
  display: block;
  width: auto;
  height: 70vh;
}

.advantages {
  padding-bottom: clamp(100px, 6.9vw, 130px);
}
.advantages .block__title {
  text-align: center;
}
.advantages__list {
    margin: 70px 0 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px clamp(280px, 19vw, 320px);
    background: url(../img/advantages-background.png) no-repeat center;
    background-size: clamp(330px, 20vw, 440px);
}
.advantages_item {
    width: calc(50% - clamp(140px, 10vw, 250px));
    display: flex;
    gap: 38px;
    align-items: center;
    justify-content: space-between;
    font-size: clamp(15px, 1.1vw, 20px);
    text-align: right;
    line-height: 1.5;
}
.advantages_item-text {
    width: calc(100% - clamp(45px, 8vw, 100px));
}
.advantages_item:nth-child(even) {
  flex-direction: row-reverse;
  text-align: left;
}
.advantages_title {
  margin-bottom: 6px;
  font-weight: 500;
  font-size: clamp(16px, 1.15vw, 21px);
}
.advantages_ico {
  font-size: clamp(44px, 3vw, 56px);
  height: auto;
}
.advantages__btn-wrapper {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.planning {
  padding: clamp(76px, 5.3vw, 96px) 0;
  background: #FFF6E5;
}
.planning__wrapper {
    margin-left: 7.5%;
}
.planning__text {
    margin: 25px 0 40px;
    font-size: clamp(16px, 1.15vw, 21px);
    line-height: 1.5;
}
.apartments-filter {
  display: flex;
  margin-bottom: 50px;
}
.filter-btn {
  padding: clamp(6px, 0.45vw, 8px) clamp(15px, 1.1vw, 20px);
  border: 1px solid var(--text-color);
  font-size: clamp(16px, 1.15vw, 21px); 
  background: transparent;
  cursor: pointer;
  line-height: 1.5;
  border-radius: 38px;
  transition: all 0.3s ease-in-out;
}
.filter-btn:hover {
  border-color: var(--accent-choco-color);
  color: var(--accent-choco-color);
}
.filter-btn.active {
  background: var(--text-color);
  color: #FFF6E5;
}
.apartments__list {
  min-height: clamp(570px, 39.5vw, 700px);
}
.apartments-splide .splide__track {
  padding-bottom: 45px;
}
 .apartments__slide-list {
    display: flex;
    gap: 40px;
 }
.apartment__item {
  width: clamp(282px, 19.6vw, 375px) !important;
  line-height: 1.5;
  flex-shrink: 0;
}
.apartment.apartment-sold {
  position: relative;
}
.apartment.apartment-sold::before {
  position: absolute;
  content: 'Продано';
  font-size: clamp(16px, 1.2vw, 21px);
  color: #664546;
  background: #E2BABA;
  padding: 18px 20px;
  border-radius: 38px;
  top: 140px;
  left: 50%;
  transform: translate(-50%, 0);
}
.apartment.apartment-sold .apartment__title, .apartment.apartment-sold .apartment__meta, .apartment.apartment-sold .ap_price_uah,
.apartment.apartment-sold .ap_price_usd {
  color: #BDB9B1;
}
.apartment__img {
  margin-bottom: 16px;
}
.apartment__img img {
  width: 100%;
  display: block;
  cursor: pointer;
}
.apartment__title {
  font-family: 'Geometria', sans-serif;
  font-size: clamp(18px, 1.35vw, 24px);
  font-weight: 500;
}
.apartment__meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px 40px;
}
.apartment__meta li {
  position: relative;
  padding-left: 46px;
  width: calc(50% - 20px);
  font-size: clamp(14px, 1.05vw, 18px);
}
.apartment__meta li::before {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: clamp(24px, 1.7vw, 32px);
  height: clamp(24px, 1.7vw, 32px);
}
.apartment__meta-area::before {
  background: url(../img/area-ico.svg) no-repeat center;
  background-size: clamp(24px, 1.7vw, 32px);
}
.apartment__meta-section::before {
  background: url(../img/section-ico.svg) no-repeat center;
  background-size: clamp(24px, 1.7vw, 32px);
}
.apartment__meta-floor::before {
  background: url(../img/floor-ico.svg) no-repeat center;
  background-size: clamp(21px, 1.5vw, 32px);
}
.apartment__meta-year::before {
  background: url(../img/year-ico.svg) no-repeat center;
  background-size: clamp(21px, 1.5vw, 32px);
}
.apartment__price-block {
  margin-top: 18px;
  padding: 18px 0;
  border-top: 1.33px solid #000000;
  font-size: clamp(17px, 1.32vw, 22px);
  text-align: right;
  line-height: 1.5;
}
.ap_price_uah {
  font-weight: 700;
}
.ap_price_usd {
  font-size: clamp(14px, 1.2vw, 18px);
  color: rgba(43, 41, 40, 0.5);
}
.apartments__list .btn-light {
  margin: 0 auto;
  padding: clamp(6px, 0.4vw, 8px) clamp(6px, 0.4vw, 8px) clamp(6px, 0.4vw, 8px) clamp(15px, 1vw, 20px);
  font-size: clamp(16px, 1.1vw, 20px);
}
.apartments__list .btn-light:hover {
  background: var(--accent-milk-color);
  border-color: var(--accent-milk-color);
  color: var(--accent-choco-color);
}
.apartments__list .btn-light:hover span {
  background: url(../img/arrow-right.svg) no-repeat center, var(--accent-choco-color);
  background-size: clamp(20px, 1.7vw, 32px);
}

/* ===== МОДАЛКА ===== */
.img-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.img-modal.open {
  display: block;
}
.img-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
}
.img-modal__content {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -48%);
  max-width: 90vw;
  max-height: 90vh;
  background: #fff;
  border-radius: 8px;
}
.img-modal__content img {
  max-width: 100%;
  max-height: 90vh;
  display: block;
}
.img-modal__close {
  position: absolute;
  top: -30px;
  right: -30px;
  font-size: 32px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.location {
  padding: 130px 0 120px;
}
.location__wrapper {
  display: flex;
  gap: clamp(50px, 3.5vw, 70px);
}
.location__block {
  max-width: clamp(390px, 27vw, 520px);
  line-height: 1.5;
}
.location__text, .stages__text {
  font-size: clamp(16px, 1.14vw, 21px);
}
.location__list {
  margin: 36px 0;
  font-size: clamp(14px, 1.28vw, 20px);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.location__item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.location__left {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}
.location__dots {
    flex: 1;
    height: 1px;
    margin: 0 10px;

    background-image: repeating-linear-gradient(
        to right,
        #BDB9B1,
        #BDB9B1 6px,
        transparent 6px,
        transparent 12px
    );
}
.location__distance {
    white-space: nowrap;
}
.location .btn, .investors .btn {
  max-width: 100%;
  justify-content: space-between;
}
.location iframe {
  width: 100%;
  height: auto;
  border-radius: 38px;
}

.stages {
  padding-bottom: 120px;
}
.stages__wrapper {
  line-height: 1.5;
}
.stages__list {
  margin-top: clamp(24px, 1.8vw, 64px);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 1.5vw, 32px);
}
.stages__item {
  padding-bottom: 30px;
  display: flex;
  gap: 30px;
  border-bottom: 1.33px solid #2B2928;
}
.stages__item-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stages__item-year {
  min-width: clamp(170px, 21vw, 385px);
  font-size: clamp(36px, 2.5vw, 48px);
  font-family: 'Baskerville BT', serif;
  font-weight: 700;
}
.stages__item:last-child .stages__item-year {
  color: #BDB9B1;
}
.stages__item__block {
  display: flex;
  gap: 25px;
  align-items: center;
}
.stages__item-title {
  font-size: clamp(18px, 1.3vw, 24px);
  font-weight: 500;
}
.stages__item-stage {
  padding: 8px 16px 8px 56px;
  max-width: fit-content;
  border-radius: 40px;
  font-size: clamp(15px, 1.1vw, 20px);
}
.completed .stages__item-stage {
  color: var(--white);
  background: url(../img/completed.svg) no-repeat center left 16px, #8D8F7B;
}
.progress .stages__item-stage {
  color: var(--text-color);
  background: url(../img/fast-forward.svg) no-repeat center left 16px, #E2D6BA;
}
.scheduled .stages__item-stage {
  color: var(--white);
  background: url(../img/scheduled.svg) no-repeat center left 16px, var(--text-color);
}
.housewarming .stages__item-stage {
  color: var(--white);
  background: url(../img/housewarming.svg) no-repeat center left 16px, var(--text-color);
}
.stages__item-text {
  margin: 10px 50px 0 0;
  font-size: clamp(15px, 1.1vw, 20px);
  color: rgba(43, 41, 40, 0.8);
}

.investors__wrapper {
  display: flex;
  gap: clamp(42px, 2.9vw, 56px);
  padding: clamp(72px, 5vw, 96px) clamp(42px, 2.9vw, 56px);
  background: #FFF6E5;
  border-radius: 38px;
}
.investors__block {
  width: calc(50% - clamp(22px, 1.5vw, 28px));
}
.investors .block__title {
  font-size: clamp(32px, 4.5vw, 85px);
}
.investors .btn {
  margin-top: 56px;
}
.investors_list {
  width: calc(50% - clamp(22px, 1.5vw, 28px));
  counter-reset: investor;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.investors_item {
  counter-increment: investor;
  position: relative;
  padding-left: clamp(80px, 5.5vw, 100px);
}

.investors_item::before {
  content: counter(investor, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: -5px;
  font-weight: 700;
  font-size: clamp(42px, 2.95vw, 56px);
  color: var(--accent-milk-color);
}
.investors_title {
  font-size: clamp(22px, 1.55vw, 29px);
  font-weight: 700;
}
.investors_text {
  margin-top: clamp(18px, 1.25vw, 24px);
  font-size: clamp(15px, 1.05vw, 20px);
}
.investors .btn.mobile {
  display: none;
}

.faq {
  padding: 130px 0 125px;
}
.faq__list {
  margin-top: 50px;
}
.faq__item {
  border-bottom: 1px solid var(--text-color);
  padding-bottom: clamp(15px, 1.2vw, 24px);
  line-height: 1.5;
}
.faq__question {
  position: relative;
  width: 100%;
  padding: clamp(18px, 1.2vw, 24px) 0 clamp(8px, 0.8vw, 12px);
  font-size: clamp(18px, 1.2vw, 24px);
  font-weight: 500;
  cursor: pointer;
}
.faq__question::after {
  position: absolute;
  content: '';
  width: clamp(40px, 2.8vw, 53px);
  height: clamp(40px, 2.8vw, 53px);
  border-radius: 50%;
  top: 50%;
  right: 0;
  transform: translate(0, clamp(-30%, 2.8vw, -50%));
  background: url(../img/faq-arrow.svg) no-repeat center;
  transition: all 0.3s ease-in-out;
  background-size: clamp(40px, 2.8vw, 53px);
}
.faq__answer {
  overflow: hidden;
  max-height: 0;
  font-size: clamp(16px, 1.3vw, 20px);
  transition: max-height 0.35s ease;
}
.faq__answer p {
  padding-right: 80px;
}
.faq__item.is-open .faq__answer {
  max-height: 500px;
}
.faq__item.is-open .faq__question::after {
  background: url(../img/faq-arrow-active.svg) no-repeat center;
  background-size: clamp(40px, 2.8vw, 53px);
}

.presentation {
  padding: clamp(190px, 13vw, 250px) 0;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}
.presentation__wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}
.presentation__img {
  width: 49%;
  text-align: center;
}
.presentation__block {
  width: 49%;
  color: var(--white);
}
.presentation .block__title {
  margin: clamp(28px, 1.9vw, 35px) 0;
  color: var(--white);
  font-size: clamp(32px, 3.7vw, 70px);
}
.presentation__text {
  font-size: clamp(26px, 1.85vw, 44px);
}

.footer {
  background: var(--text-color);
}
.footer__wrapper {        
  padding: 72px 0 22px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  background: url(../img/footer-bg.svg) no-repeat bottom left;
  font-size: clamp(13px, 0.9vw, 17px);
  background-size: clamp(470px, 32vw, 612px);
}
.footer__wrapper-content {
  display: flex;
  justify-content: space-between;
  gap: 30px;          
  padding-bottom: clamp(90px, 6.98vw, 135px);
}
.footer__text-block {
  width: 660px;
  max-width: 46%;
}
.footer__text {
  margin: 25px 0;
}
.footer__nav-name {
  margin-bottom: 30px;
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 24px);
}
.footer .menu {
  flex-direction: column;
  gap: clamp(12px, 1vw, 16px);
}    
.footer .menu a {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(15px, 1.1vw, 20px);
}
.footer__contact-name {
  color: rgba(255, 255, 255, 0.5);
  font-size: clamp(15px, 1.2vw, 20px);
}
.footer__contact-link {
  display: inline-block;
  margin: 5px 0 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(16px, 1.25vw, 21px);
}
.footer__wrapper-bottom, .footer__wrapper-bottom a {
  color: rgba(255, 255, 255, 0.6);
}
.footer__wrapper-bottom a {
  display: inline-block;
}
.footer__wrapper-bottom a:hover {
  text-decoration: underline;
}
.footer__wrapper-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

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

.modal {
  position: relative;
  width: 100%;
  max-width: 550px;
  background: #FFFFFF;
  color: var(--text-color);
  padding: 52px 42px;
  border-radius: 28px;
  font-size: 15px;
}
.modal-close {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 12px;
  height: 12px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.modal-close::before,
.modal-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: var(--text-color);
}
.modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.form__title {
  font-size: 32px;
  text-align: center;
}
.form__text {
  margin: 20px 0;
  font-size: 15px;
  text-align: center;
}
.wpcf7-form-control-wrap {
  margin: 8px 0 24px;
  display: block;
}
input:not([type="submit"]) {
  width: 100%;
  padding: 15px 20px;
  background: transparent;
  border: 1px solid #E6E1DD;
  color: var(--accent-choco-color);
  font-size: 15px;
  border-radius: 18px;
  transition: all 0.3s ease-in-out;
}
input:not([type="submit"]):focus, input:not([type="submit"]):hover {
  background: #E6E1DD;
}
.form__text-block {
  display: flex;
  justify-content: space-between;
}
.form__text-agree {
  width: 280px;
  color: #8D8F7B;
}
.form__text-agree a {
  text-decoration: underline;
  color: #8D8F7B;
}
.wpcf7-form-control.wpcf7-submit {
  margin-left: auto;
  border: none;
  background: url(../img/btn-form.svg) no-repeat top 6px right 6px,  #E2D6BA;
  padding: 14px 56px 14px 15px;
  border-radius: 28px;
  font-size: 16px;
  color: #665145;
  line-height: 1.5;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
  border: none;
}
.form__text-block p:not(.form__text-agree) {
  display: flex;
  flex-direction: column;
}
.wpcf7-not-valid-tip {
  margin-top: 6px;
}
.modal__after-main {
  display: none;
}
.modal.sent .modal__main {
  display: none;
}
.modal.sent .modal__after-main {
  display: block;
}
.modal__after-main {
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
}
.modal__after-main h3 {
  font-size: 32px;
}
.modal__after-main p {
  margin: 20px 0;
}
.btn-modal-close {
  margin: 0 auto;
}
.wpcf7 form .wpcf7-response-output {
    margin: 0;
}

section {
  overflow-x: hidden;
}

.animate-block {
  opacity: 0;
  transform: translateX(0);
  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

.animate-block.from-left {
  transform: translateX(-100px);
}

.animate-block.from-right {
  transform: translateX(100px);
}

.animate-block.fade-in {
  transform: translateY(80px);
}

.animate-block.in-view {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

.splide__pagination__page {
  background: #E6E1DD;
  border: 0;
  border-radius: 5px;
  display: inline-block;
  height: 3px;
  margin: 3px;
  opacity: 1;
  width: 55px;
}
.splide__pagination__page.is-active {
  background: #665145;
  transform: scale(1);
  z-index: 1;
}