:root {
  /* Колірні токени з макета Figma */
  --bg: #f7f3ec;
  --bg-alt: #f1e6da;
  --brown-900: #331205;
  --brown-700: #7b3306;
  --olive: #595a45;
  --text-dark: #03010e;
  --text-brown: #3b2720;
  --orange: #ff6e00;
  --gold: #f2d7a9;
  --cream-light: #ffefd7;
  --white: #ffffff;
  --muted: #b8b8b8;

  --font-display: 'Cormorant', serif;
  --font-body: 'Inter', sans-serif;

  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.21;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 500;
}

p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Заголовок секції: Cormorant 500 52px uppercase */
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 52px;
  line-height: 1.21;
  text-transform: uppercase;
  color: var(--brown-700);
}

@media (max-width: 768px) {
  .section-title {
    font-size: 28px;
  }
}

/* Помаранчева кнопка-пігулка зі стрілкою в колі */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 400;
  padding: 16px 28px;
  border: 1px solid var(--white);
  border-radius: 100px;
  white-space: nowrap;
  transition: filter 0.2s ease;
}

.btn-pill:hover {
  filter: brightness(1.06);
}

.btn-pill__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  flex-shrink: 0;
}

.btn-pill__arrow svg {
  display: block;
}
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__logo {
  flex-shrink: 0;
}

.header__logo img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.header__menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.header__link {
  font-size: 16px;
  font-weight: 500;
  color: #3b2720;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.header__link:hover {
  color: var(--orange);
}

.header__lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 500;
  color: #3b2720;
}

.header__contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: var(--orange);
  font-size: 16px;
  font-weight: 500;
  padding: 4px 4px 4px 20px;
  border: 1px solid var(--orange);
  border-radius: 100px;
  white-space: nowrap;
}

.header__contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 47px;
  height: 47px;
  border-radius: 50%;
  background: var(--orange);
}

/* бургер-кнопка (тільки моб.) */
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.header__burger span {
  display: block;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: #3b2720;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.header__burger.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.header__burger.is-open span:nth-child(2) {
  opacity: 0;
}
.header__burger.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* висувне меню */
.header__drawer {
  display: none;
}

@media (max-width: 1080px) {
  .header__menu {
    gap: 22px;
  }
}

@media (max-width: 900px) {
  .header__inner {
    padding: 16px;
  }
  .header__logo img {
    width: 48px;
    height: 48px;
  }
  .header__menu,
  .header__contact {
    display: none;
  }
  .header__burger {
    display: flex;
  }

  /* фон шапки під час відкритого меню */
  .header.is-open .header__inner {
    background: var(--bg);
  }

  .header__drawer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: var(--bg);
    transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
  }
  .header__drawer.is-open {
    max-height: 480px;
    opacity: 1;
    padding: 8px 16px 28px;
  }

  .header__drawer-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .header__drawer-link {
    font-size: 16px;
    font-weight: 500;
    color: #331205;
  }
  .header__drawer-link:active {
    color: var(--orange);
  }

  /* перемикач мови RU | UKR */
  .header__drawer-lang {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 16px;
    font-weight: 500;
  }
  .header__drawer-lang span:not(.header__drawer-lang-sep) {
    color: #b8b8b8;
  }
  .header__drawer-lang span.is-active {
    color: #331205;
  }
  .header__drawer-lang-sep {
    width: 1px;
    height: 20px;
    background: #b8b8b8;
  }

  /* кнопка "Зв'язатися" — біла з помаранчевою рамкою, іконка зліва */
  .header__drawer-contact {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    background: var(--white);
    color: var(--orange);
    font-size: 16px;
    font-weight: 500;
    padding: 6px;
    border: 1px solid var(--orange);
    border-radius: 100px;
  }
  .header__drawer-contact .header__contact-icon {
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
  }
}
.hero {
  background: var(--bg);
  padding: 113px 0 78px;
}

.hero__card {
  position: relative;
  max-width: 1200px;
  height: 730px;
  margin: 0 auto;
  border-radius: 40px;
  overflow: hidden;
}

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

.hero__tower {
  position: absolute;
  top: 9.05%;
  right: 5.42%;
  width: 40.62%;
  height: auto;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
}

.hero__content {
  position: absolute;
  top: 0;
  left: 60px;
  z-index: 1;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 273px;
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--brown-900);
}

.hero__kicker {
  margin-top: -34px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 40px;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--brown-900);
}

.hero__kicker-accent {
  color: var(--white);
}

.hero__sub {
  margin-top: 18px;
  padding-left: 17px;
  border-left: 1px solid var(--brown-900);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.21;
  text-transform: uppercase;
  color: var(--brown-900);
}

.hero__cta {
  position: absolute;
  left: 60px;
  bottom: 68px;
  z-index: 3;
}

.hero__date {
  position: absolute;
  right: 60px;
  bottom: 85px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  color: var(--orange);
  font-size: 18px;
  font-weight: 400;
  padding: 16px;
  border-radius: 100px;
}

@media (max-width: 1100px) {
  .hero__title {
    font-size: 200px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 90px 0 40px;
  }
  .hero__card {
    height: 580px;
    margin: 0 16px;
  }
  /* мобільний герой: усе по центру, кнопка на всю ширину знизу */
  .hero__content {
    top: 6px;
    left: 0;
    right: 0;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero__title {
    font-size: 120px;
  }
  .hero__kicker {
    font-size: 24px;
    margin-top: -12px;
  }
  .hero__sub {
    margin-top: 14px;
    border-left: none;
    padding-left: 0;
    align-items: center;
    text-align: center;
    font-size: 12px;
  }
  .hero__date {
    top: 208px;
    bottom: auto;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    padding: 12px 16px;
    white-space: nowrap;
  }
  .hero__cta {
    left: 16px;
    right: 16px;
    bottom: 12px;
    justify-content: center;
    font-size: 24px;
    white-space: nowrap;
  }
  .hero__tower {
    display: none;
  }
}
.stages {
  position: relative;
  background: var(--bg-alt);
  padding: 62px 0;
  overflow: hidden;
}

/* промені сяйва на фоні секції */
.stages__rays {
  position: absolute;
  inset: 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  opacity: 0.45;
  pointer-events: none;
}

.stages__row {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.stages__group {
  display: flex;
  align-items: flex-start;
}

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

.stages__circle {
  width: 167px;
  height: 126px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  overflow: hidden;
}

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

.stages__caption {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.stages__name {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-dark);
}

.stages__sub {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.21;
  color: var(--text-dark);
}

.stages__connector {
  width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 57px;
}

.stages__line {
  position: relative;
  width: 72px;
  height: 0;
  border-top: 1px dashed var(--text-dark);
}

.stages__line::before,
.stages__line::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-dark);
  transform: translateY(-50%);
}

.stages__line::before {
  left: -3px;
}

.stages__line::after {
  right: -3px;
}

.stages__stay {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-dark);
  text-align: center;
}

@media (max-width: 900px) {
  .stages {
    padding: 40px 0;
  }
  /* горизонтальний скрол рядка на телефонах (як у макеті) */
  .stages__row {
    max-width: none;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 20px;
  }
  .stages__row::-webkit-scrollbar {
    display: none;
  }
  .stages__group {
    flex-shrink: 0;
  }
}
.ladder {
  background: var(--bg);
  padding: 90px 0 0;
}

.ladder__inner {
  max-width: 1087px;
  margin: 0 auto;
  padding: 0 24px;
}

.ladder__title {
  color: var(--olive);
  margin-bottom: 40px;
}

/* колонка таймлайна зліва + картки справа */
.ladder__rows {
  position: relative;
  padding-left: 183px;
}

/* суцільна вертикальна лінія (починається під петлею, йде до стику з секцією "участь") */
.ladder__line {
  position: absolute;
  left: 38px;
  top: 316px;
  bottom: -49px;
  width: 4px;
  background: var(--brown-700);
}

/* верхня крапка — з відступом 10px до петлі/лінії, як в оригіналі */
.ladder__top-dot {
  position: absolute;
  left: 33px;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brown-700);
}

/* декоративна петля вгорі (експорт геометрії з Figma) */
.ladder__loop {
  position: absolute;
  left: -29px;
  top: 24px;
  width: 72px;
  height: auto;
  pointer-events: none;
}

.ladder__row {
  position: relative;
  margin-bottom: 48px;
}

/* емблема — золоте коло по центру лінії, у лівому жолобі */
.ladder__node {
  position: absolute;
  left: -174px;
  top: 50%;
  transform: translateY(-50%);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 7px var(--bg);
  z-index: 2;
}

.ladder__node img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

/* картка */
.ladder__card {
  position: relative;
  min-height: 474px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--brown-900);
}

.ladder__photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

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

/* Золотий Трикутник, Джйотірлінги: купол/будівля зміщені до правого краю */
.ladder__row:nth-of-type(3) .ladder__photo img,
.ladder__row:nth-of-type(5) .ladder__photo img {
  transform: scale(1.2) translateX(20%);
  transform-origin: center;
}

.ladder__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #331205 0%,
    #331205 28%,
    rgba(51, 18, 5, 0.6) 42%,
    rgba(51, 18, 5, 0) 60%
  );
}

.ladder__content {
  position: relative;
  z-index: 1;
  padding: 36px 24px 36px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 540px;
  color: var(--white);
}

.ladder__tags {
  display: flex;
  gap: 8px;
}

.ladder__badge {
  background: var(--gold);
  color: var(--text-dark);
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 10px;
}

.ladder__tag {
  color: var(--white);
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.62);
}

.ladder__name {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 40px;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--white);
}

.ladder__pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border-radius: 100px;
  padding: 4px;
}

.ladder__date {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 4px 4px 4px 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--brown-700);
  white-space: nowrap;
}

.ladder__price {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--gold);
  border-radius: 100px;
  padding: 4px 14px 4px 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brown-700);
  white-space: nowrap;
}

.ladder__points {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ladder__points li {
  position: relative;
  padding-left: 22px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.21;
  color: var(--white);
}

.ladder__points li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--white);
}

.ladder__cta {
  align-self: flex-start;
  margin-top: 0;
}

@media (max-width: 820px) {
  .ladder__rows {
    padding-left: 0;
  }
  .ladder__line,
  .ladder__loop,
  .ladder__top-dot,
  .ladder__node {
    display: none;
  }
  /* фото — банер зверху, контент на суцільному темному низом */
  .ladder__card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--brown-900);
  }
  .ladder__photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: 250px;
    flex-shrink: 0;
  }
  /* на мобільному кадруємо кожне фото так, щоб головний об'єкт був по центру,
     з невеликим зумом */
  .ladder__row:nth-of-type(1) .ladder__photo img {
    object-position: 100% center;
    transform: scale(2) translateX(-24%);
  }
  .ladder__row:nth-of-type(3) .ladder__photo img {
    object-position: 47% center;
    transform: scale(1.25);
  }
  .ladder__row:nth-of-type(4) .ladder__photo img {
    object-position: 82% center;
    transform: scale(1.7) translateX(-15%);
  }
  .ladder__row:nth-of-type(5) .ladder__photo img {
    object-position: 52% center;
    transform: scale(2);
  }
  /* сильніший градієнт: доходить до суцільного кольору раніше за нижній
     край фото (250px ≈ 93% оверлея), тож стику фото з низом не видно */
  .ladder__overlay {
    inset: 0 0 auto 0;
    height: 270px;
    background: linear-gradient(
      180deg,
      rgba(51, 18, 5, 0) 22%,
      rgba(51, 18, 5, 0.55) 52%,
      rgba(51, 18, 5, 0.9) 74%,
      #331205 86%
    );
  }
  .ladder__content {
    max-width: none;
    margin-top: -26px;
    padding: 0 20px 28px;
    gap: 18px;
  }
  /* теги, назву та пігулку з датою/ціною центруємо */
  .ladder__tags {
    justify-content: center;
  }
  .ladder__name {
    font-size: 24px;
    text-align: center;
  }
  .ladder__pill {
    align-self: center;
  }
  .ladder__points li {
    font-size: 14px;
  }
  .ladder__cta {
    align-self: stretch;
    justify-content: center;
    font-size: 18px;
  }
}
.participation {
  position: relative;
  background: var(--bg-alt);
  padding: 99px 0 177px;
  overflow: hidden;
}

.participation__star {
  position: absolute;
  top: 74px;
  left: 131px;
  width: 122px;
  opacity: 0.9;
  pointer-events: none;
}

.participation__leaves2 {
  position: absolute;
  top: 60px;
  right: 120px;
  width: 110px;
  opacity: 0.7;
  pointer-events: none;
}

.participation__curve {
  position: absolute;
  top: 0;
  left: calc(50% - 481.5px);
  width: 520px;
  pointer-events: none;
}

.participation__inner {
  position: relative;
  z-index: 1;
}

.participation__head {
  text-align: right;
  margin-bottom: 40px;
}

.participation__title {
  color: var(--olive);
}

.participation__subtitle {
  margin-top: 4px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 36px;
  line-height: 1.21;
  text-transform: lowercase;
  color: var(--brown-700);
}

.participation__cards {
  display: flex;
  gap: 36px;
}

.participation__card {
  position: relative;
  flex: 1;
  min-height: 451px;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 10px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.participation__lotus {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 88%;
  opacity: 0.13;
  pointer-events: none;
}

.participation__card:nth-child(3) .participation__lotus {
  top: 16.6%;
  left: -11%;
  width: 94.1%;
  transform: none;
}

.participation__card-inner {
  position: relative;
  z-index: 1;
  width: 290px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.participation__card-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.participation__card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.75px;
  text-align: center;
  color: var(--brown-900);
}

.participation__card-desc {
  font-size: 18px;
  line-height: 1.21;
  text-align: center;
  color: var(--text-brown);
}

.participation__btn {
  width: 290px;
  text-align: center;
  background: var(--orange);
  color: var(--white);
  font-size: 16px;
  font-weight: 400;
  padding: 14px 0;
  border-radius: 40px;
  transition: filter 0.2s ease;
}

.participation__btn:hover {
  filter: brightness(1.06);
}

.participation__divider {
  position: absolute;
  left: 50%;
  bottom: -134px;
  transform: translateX(-50%);
  width: 1060px;
  max-width: 90%;
  opacity: 1;
  pointer-events: none;
}

@media (max-width: 820px) {
  /* менші вертикальні відступи секції на мобільному */
  .participation {
    padding: 48px 0 56px;
  }
  .participation__head {
    text-align: center;
  }
  /* горизонтальний скрол карток (як у макеті) */
  .participation__cards {
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -16px;
    padding: 4px 16px;
  }
  .participation__cards::-webkit-scrollbar {
    display: none;
  }
  .participation__card {
    flex: 0 0 252px;
    min-height: 305px;
  }
  .participation__card-inner {
    width: 196px;
    gap: 20px;
  }
  .participation__card-title {
    font-size: 24px;
  }
  .participation__card-desc {
    font-size: 12px;
  }
  .participation__subtitle {
    font-size: 18px;
  }
  .participation__btn {
    width: 196px;
  }
  .participation__curve,
  .participation__leaves2,
  .participation__star {
    display: none;
  }
}
.meaning {
  background: var(--bg);
  padding: 96px 0;
}

.meaning__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 89px;
}

.meaning__title {
  color: var(--brown-700);
  white-space: nowrap;
}

.meaning__note {
  max-width: 425px;
  font-size: 18px;
  line-height: 1.21;
  color: var(--text-brown);
  padding-top: 8px;
}

.meaning__panel {
  height: 435px;
  border-radius: 30px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.meaning__info {
  width: 705px;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 52px;
}

.meaning__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.meaning__panel-title {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 40px;
  line-height: 1.1;
  text-transform: uppercase;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #d8b58a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.meaning__panel-sub {
  font-size: 18px;
  line-height: 1.21;
  text-align: center;
  color: var(--white);
  white-space: pre-line;
}

.meaning__levels {
  width: 718px;
  max-width: 100%;
}

@media (max-width: 820px) {
  .meaning__head {
    flex-direction: column;
    gap: 16px;
  }
  .meaning__title {
    white-space: normal;
  }
  .meaning__panel-title {
    font-size: 28px;
  }
  .meaning__panel {
    height: auto;
    padding: 48px 16px;
  }
}
.guide {
  background: var(--bg-alt);
  padding: 15px 0;
}

.guide__inner {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 900px;
  padding: 60px 24px 40px;
  background-size: cover;
  background-position: center;
}

.guide__head {
  text-align: center;
  max-width: 1070px;
  margin: 0 auto;
}

.guide__title {
  color: var(--brown-700);
}

.guide__note {
  margin-top: 21px;
  font-size: 24px;
  line-height: 1.21;
  color: var(--olive);
  white-space: pre-line;
}

.guide__stage {
  position: relative;
  max-width: 1190px;
  margin: 40px auto 0;
  min-height: 560px;
}

.guide__photo {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 400px;
  border-radius: 16px;
  z-index: 1;
}

/* розмиті "скляні" підкладки за блоками переваг, що заходять на фото */
.guide__glass {
  position: absolute;
  /* внутрішній край завжди заходить на фото (шир. 400px, центроване) на 60px */
  width: calc(50% - 112px);
  height: 120px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  z-index: 1;
  pointer-events: none;
}

.guide__glass--tl {
  top: 96px;
  left: -28px;
}
.guide__glass--bl {
  top: 346px;
  left: -28px;
}
.guide__glass--tr {
  top: 136px;
  right: -28px;
}
.guide__glass--br {
  top: 366px;
  right: -28px;
}

.guide__adv {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 48px;
  z-index: 2;
}

.guide__adv--left {
  flex-direction: row;
}

.guide__adv--right {
  flex-direction: row-reverse;
}

.guide__adv-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.guide__adv-text {
  font-size: 27px;
  line-height: 1.21;
  color: var(--brown-900);
  white-space: pre-line;
}

.guide__adv--right .guide__adv-text {
  text-align: right;
}

.guide__adv--tl {
  top: 120px;
  left: 0;
}
.guide__adv--bl {
  top: 370px;
  left: 0;
}
.guide__adv--tr {
  top: 160px;
  right: 0;
}
.guide__adv--br {
  top: 390px;
  right: 0;
}

@media (max-width: 900px) {
  .guide__inner {
    min-height: 0;
  }
  .guide__stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .guide__photo {
    position: static;
    transform: none;
    margin-bottom: 12px;
  }
  /* декоративні скляні підкладки лишаються лише для десктопа */
  .guide__glass {
    display: none;
  }
  /* переваги стають чистими суцільними картками (без розмиття) */
  .guide__adv {
    position: static;
    width: 100%;
    box-sizing: border-box;
    gap: 24px;
    padding: 22px 28px;
    background: rgba(255, 251, 244, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    box-shadow: 0 8px 22px rgba(120, 80, 40, 0.08);
  }
  .guide__adv--left,
  .guide__adv--right {
    flex-direction: row;
  }
  .guide__adv--right .guide__adv-text {
    text-align: left;
  }
  .guide__adv-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
  }
  .guide__adv-text {
    font-size: 22px;
  }
  .guide__note {
    font-size: 18px;
  }
}
.doubts {
  background: var(--bg);
  padding: 120px 0;
}

.doubts__inner {
  position: relative;
  max-width: 1200px;
}

.doubts__title {
  color: var(--brown-900);
  margin-bottom: 69px;
}

.doubts__rows {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.doubts__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--brown-700);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 10px 15px rgba(0, 0, 0, 0.1);
}

.doubts__row-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.75px;
  text-transform: uppercase;
  color: var(--olive);
}

.doubts__row-text {
  width: 314px;
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1.21;
  color: var(--brown-700);
}

/* десктоп: маленьке фото плаває по центру поверх карток
   (тепер позиціонується відносно .doubts__inner, тому top більший) */
.doubts__photo {
  position: absolute;
  left: 50%;
  top: 230px;
  transform: translateX(-50%);
  width: 193px;
  height: 258px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 6px 9px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

@media (max-width: 820px) {
  .doubts {
    padding: 60px 0;
  }
  .doubts__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding: 24px;
  }
  .doubts__row-title {
    font-size: 24px;
    line-height: 1.5;
  }
  .doubts__row-text {
    width: 100%;
    font-size: 18px;
    line-height: 1.22;
  }
  /* мобільний: велике фото на всю ширину, зверху над заголовком */
  .doubts__photo {
    position: static;
    transform: none;
    width: 100%;
    height: auto;
    aspect-ratio: 343 / 457;
    margin-bottom: 28px;
  }
}
.consult {
  background: var(--bg);
  padding: 30px 0 140px;
}

.consult__card {
  position: relative;
  max-width: 1200px;
  height: 730px;
  margin: 0 auto;
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.consult__mandala {
  position: absolute;
  width: 760px;
  height: 760px;
  max-width: none;
  opacity: 0.14;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* велика мандала зліва, обрізана по центру (видна права половина) */
.consult__mandala--left {
  top: -15px;
  left: -380px;
}

/* лише краєчок мандали у правому верхньому куті */
.consult__mandala--right {
  top: -711px;
  right: -725px;
}

.consult__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(51, 18, 5, 0.68) 0%, rgba(51, 18, 5, 0.9) 100%);
}

.consult__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  padding: 0 24px;
}

.consult__logo {
  width: 120px;
  height: 120px;
  transform: translateY(-40px);
  object-fit: contain;
}

.consult__heading {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 15px;
}

/* розмита "скляна" підкладка за заголовком */
.consult__heading::before {
  content: '';
  position: absolute;
  inset: -67px -38px -18px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: -1;
}

.consult__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 52px;
  line-height: 1.21;
  text-transform: uppercase;
  color: var(--cream-light);
}

/* перенос усередині заголовка вмикається лише на мобільному */
.consult__title-br {
  display: none;
}

.consult__subtitle {
  font-weight: 300;
  font-size: 36px;
  line-height: 1.2;
  color: var(--white);
}

.consult__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: var(--white);
  font-size: 24px;
  font-weight: 400;
  padding: 28px;
  border-radius: 10px;
  transition: filter 0.2s ease;
}

.consult__btn:hover {
  filter: brightness(1.06);
}

.consult__social {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.consult__social-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}

.consult__social-icons {
  display: flex;
  gap: 24px;
}

.consult__social-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cream-light);
  transition: transform 0.2s ease;
}

.consult__social-circle:hover {
  transform: translateY(-2px);
}

@media (max-width: 700px) {
  .consult__card {
    height: 600px;
    margin: 0 16px;
  }
  /* світліший верх — видно купол храму за логотипом */
  .consult__overlay {
    background: linear-gradient(
      180deg,
      rgba(51, 18, 5, 0.32) 0%,
      rgba(51, 18, 5, 0.6) 42%,
      rgba(51, 18, 5, 0.92) 100%
    );
  }
  .consult__mandala {
    width: 590px;
    height: 590px;
  }
  .consult__mandala--left {
    top: -15px;
    left: -295px;
  }
  .consult__mandala--right {
    top: -553px;
    right: -581px;
  }
  .consult__content {
    gap: 20px;
  }
  .consult__logo {
    width: 96px;
    height: 96px;
    transform: translateY(-26px);
  }
  /* скляна підкладка опускається нижче логотипа, вужча з боків */
  .consult__heading {
    width: 100%;
    margin-bottom: 8px;
  }
  .consult__heading::before {
    inset: -16px -14px -16px;
  }
  .consult__title {
    font-size: 28px;
  }
  .consult__title-br {
    display: inline;
  }
  .consult__subtitle {
    font-size: 21px;
    text-transform: lowercase;
  }
  .consult__btn {
    padding: 18px 22px;
    font-size: 20px;
  }
  .consult__social-label {
    text-transform: capitalize;
  }
  .consult__social-icons {
    gap: 18px;
  }
  .consult__social-circle {
    width: 56px;
    height: 56px;
  }
}
.footer {
  background: var(--brown-900);
  padding: 57px 0;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 41px;
}

.footer__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
  flex-shrink: 0;
}

.footer__logo img {
  width: 141px;
  height: 141px;
  object-fit: contain;
}

.footer__copy {
  font-family: 'Open Sans', var(--font-body);
  font-size: 12px;
  color: var(--muted);
}

.footer__cta-block {
  flex: 1;
  max-width: 519px;
}

.footer__heading {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.21;
  color: var(--white);
}

.footer__text {
  margin-top: 24px;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.21;
  color: var(--white);
}

.footer__btn {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: var(--white);
  font-size: 16px;
  padding: 12px 12px 12px 20px;
  border-radius: 10px;
  transition: filter 0.2s ease;
}

.footer__btn:hover {
  filter: brightness(1.06);
}

.footer__btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.footer__right {
  display: flex;
  flex-direction: column;
  gap: 45px;
  flex-shrink: 0;
}

.footer__nav {
  display: flex;
  gap: 84px;
}

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

.footer__nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  transition: color 0.2s ease;
}

.footer__nav a:hover {
  color: var(--orange);
}

.footer__social {
  display: flex;
  gap: 24px;
}

.footer__social-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  transition: transform 0.2s ease;
}

.footer__social-circle:hover {
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .footer__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding: 0 20px;
  }
  .footer__logo {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .footer__cta-block {
    max-width: none;
  }
  .footer__btn {
    width: 100%;
    justify-content: space-between;
  }
}
