:root {
  --navy: #16233f;
  --navy-deep: #0f1a30;
  --navy-soft: #24365c;
  --gold: #c8a24a;
  --gold-soft: #e4cd93;
  --gold-deep: #a9842f;
  --ivory: #f6f1e6;
  --cream: #fffdf8;
  --ink: #23262e;
  --ink-soft: #5f6270;
  --line: rgba(22, 35, 63, 0.12);
  --white: #ffffff;
  --shadow: 0 22px 50px -26px rgba(15, 26, 48, 0.55);
  --shadow-soft: 0 16px 34px -22px rgba(15, 26, 48, 0.35);
  --radius: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", system-ui, sans-serif;
  background: #0b1424;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

/* phone frame */
.frame {
  max-width: 480px;
  margin: 0 auto;
  background: var(--ivory);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  box-shadow: 0 0 70px rgba(0, 0, 0, 0.5);
}

.wrap {
  padding: 0 22px;
}

h1, h2, h3, h4 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: 0.005em;
}

/* ornament divider */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 18px;
  color: var(--gold);
}
.divider::before,
.divider::after {
  content: "";
  height: 1px;
  width: 46px;
  background: linear-gradient(90deg, transparent, currentColor);
}
.divider::after {
  background: linear-gradient(90deg, currentColor, transparent);
}
.divider__mark {
  font-size: 15px;
  line-height: 1;
}
.divider--light { color: var(--gold-soft); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  border: none;
  cursor: pointer;
  border-radius: 14px;
  padding: 15px 22px;
  transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: var(--navy-deep);
  box-shadow: 0 14px 26px -12px rgba(168, 132, 47, 0.75);
}
.btn--gold:hover { filter: brightness(1.05); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn--navy {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn--navy:hover { filter: brightness(1.12); transform: translateY(-2px); }
.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--block { display: flex; width: 100%; }
.btn:active { transform: scale(0.97); }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 30px 0 40px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(11, 20, 36, 0.72) 0%, rgba(11, 20, 36, 0.82) 55%, rgba(11, 20, 36, 0.94) 100%),
    url("https://images.unsplash.com/photo-1755378023094-5b5bb385eed4?w=900&q=80") center 30%/cover no-repeat;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 12%, rgba(200, 162, 74, 0.35), transparent 45%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 4px auto 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(228, 205, 147, 0.4);
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 20px;
}
.hero__center { text-align: center; }
.hero__title {
  font-size: 40px;
  font-weight: 600;
  margin-top: 18px;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
.hero__title b { color: var(--gold-soft); font-weight: 700; }
.hero__subtitle {
  font-size: 15px;
  margin: 16px auto 0;
  max-width: 380px;
  color: rgba(255, 255, 255, 0.9);
}
.hero__actions {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}
.hero__trust {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  text-align: left;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}
.trust-item__ico {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(200, 162, 74, 0.18);
  border: 1px solid rgba(228, 205, 147, 0.5);
  color: var(--gold-soft);
  font-size: 14px;
}
.hero__note {
  margin-top: 24px;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 16px;
}

/* ============ SECTIONS ============ */
.section {
  padding: 46px 0;
}
.section--tint {
  background: linear-gradient(180deg, #efe7d6, #f6f1e6);
}
.section--dark {
  background: var(--navy);
  color: #fff;
}
.section--navy-deep {
  background: var(--navy-deep);
  color: #fff;
}
.section__eyebrow {
  text-align: center;
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section--dark .section__eyebrow,
.section--navy-deep .section__eyebrow { color: var(--gold-soft); }
.section__title {
  text-align: center;
  font-size: 30px;
  color: var(--navy);
}
.section--dark .section__title,
.section--navy-deep .section__title { color: #fff; }
.section__title b { color: var(--gold-deep); font-weight: 700; }
.section--dark .section__title b { color: var(--gold-soft); }
.section__text {
  text-align: center;
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 14px auto 0;
  max-width: 400px;
}
.section--dark .section__text,
.section--navy-deep .section__text { color: rgba(255, 255, 255, 0.82); }
.section__text + .section__text { margin-top: 12px; }

/* ============ ДЛЯ КОГО (minis) ============ */
.minis {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}
.mini {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 18px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.mini::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
}
.mini__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: linear-gradient(135deg, #f3ead4, #e7d6a9);
  color: var(--gold-deep);
  margin-bottom: 12px;
}
.mini__title {
  font-size: 21px;
  color: var(--navy);
}
.mini__text {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 6px;
}

/* ============ ХРАМ ============ */
.temple {
  margin-top: 26px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy-deep);
}
.temple__img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.temple__cap {
  padding: 14px 18px;
  font-size: 12.5px;
  color: var(--gold-soft);
  font-style: italic;
  text-align: center;
  letter-spacing: 0.02em;
}

/* ============ ЩО МОЖНА ПЕРЕДАТИ (offers) ============ */
.offers {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}
.offer {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 20px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.offer__ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 26px;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--gold-soft);
  margin-bottom: 14px;
  box-shadow: 0 10px 20px -10px rgba(15, 26, 48, 0.6);
}
.offer__title {
  font-size: 23px;
  color: var(--navy);
}
.offer__text {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 8px;
}
.offer__label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 14px;
  margin-bottom: 2px;
}
.offer .btn { margin-top: 16px; }

/* ============ ЯК ЦЕ ПРАЦЮЄ (steps) ============ */
.steps {
  margin-top: 28px;
  display: grid;
  gap: 14px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  left: 37px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: repeating-linear-gradient(rgba(228, 205, 147, 0.6) 0 5px, transparent 5px 12px);
}
.step {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(228, 205, 147, 0.22);
  border-radius: 16px;
  padding: 16px 18px;
}
.step__num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--navy-deep);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 8px 16px -8px rgba(168, 132, 47, 0.8);
  position: relative;
  z-index: 2;
}
.step__title {
  font-size: 20px;
  color: #fff;
}
.step__text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 4px;
}

/* ============ ПАКЕТИ ============ */
.packs {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.pack {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 20px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.pack--featured {
  border: 1.5px solid var(--gold);
  box-shadow: 0 26px 54px -26px rgba(168, 132, 47, 0.55);
}
.pack__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: var(--navy-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 8px 16px -8px rgba(168, 132, 47, 0.8);
}
.pack__title {
  font-size: 25px;
  color: var(--navy);
  text-align: center;
}
.pack__desc {
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 6px;
}
.pack__list {
  list-style: none;
  margin: 18px 0;
  display: grid;
  gap: 9px;
}
.pack__list li {
  position: relative;
  padding-left: 26px;
  font-size: 13.5px;
  color: var(--ink);
}
.pack__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: inset 0 0 0 2px var(--cream);
}
.pack__price {
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.pack__price b {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 2px;
}
.pack__actions {
  display: grid;
  gap: 10px;
}

/* ============ ФОРМА ============ */
.form {
  margin-top: 26px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 20px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field > label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
}
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 162, 74, 0.18);
}
.field__hint {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 6px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  position: relative;
  cursor: pointer;
}
.chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.chip span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 9px 14px;
  transition: all 0.18s ease;
}
.chip input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.chip input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(200, 162, 74, 0.3);
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  background: #f4eede;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 18px;
}
.consent input { margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--gold-deep); }

/* ============ ВАЖЛИВО / NOTE ============ */
.note-block {
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(228, 205, 147, 0.28);
  border-left: 4px solid var(--gold);
  border-radius: 16px;
  padding: 20px;
}
.note-block p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
.note-block p + p { margin-top: 12px; }

/* ============ ЧОМУ ДОВІРИТИ (trust cards) ============ */
.trust-cards {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}
.trust-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 18px;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.trust-card__ico {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: linear-gradient(135deg, #f3ead4, #e7d6a9);
  color: var(--gold-deep);
}
.trust-card h3 {
  font-size: 20px;
  color: var(--navy);
}
.trust-card p {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 5px;
}

/* ============ ВІДГУКИ ============ */
.reviews {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}
.review {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.review__proof {
  position: relative;
  width: 100%;
  height: 160px;
  border-radius: 14px;
  border: 1.5px dashed rgba(22, 35, 63, 0.22);
  background: #f2ecdd;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
  padding: 12px;
  overflow: hidden;
}
.review__proof--filled {
  padding: 0;
  border-style: solid;
  border-color: var(--line);
  background: #0b1424;
}
.review__proof-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: none;
}
.review__proof--filled .review__proof-img {
  display: block;
}
.review__proof-placeholder { display: block; }
.review__proof-placeholder b { display: block; font-size: 26px; margin-bottom: 4px; opacity: 0.6; }
.review__proof--filled .review__proof-placeholder {
  display: none;
}
.review__head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.review__name { font-size: 15px; font-weight: 700; color: var(--navy); }
.review__stars { color: var(--gold); font-size: 12px; letter-spacing: 1px; }
.review__text {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 12px;
}
.reviews__note {
  text-align: center;
  font-size: 11.5px;
  color: var(--ink-soft);
  margin-top: 18px;
  font-style: italic;
}

/* ============ FAQ ============ */
.faq {
  margin-top: 26px;
  display: grid;
  gap: 10px;
}
.faq__item {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2px 18px;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq__item[open] {
  border-color: var(--gold);
  box-shadow: 0 18px 32px -24px rgba(168, 132, 47, 0.6);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--navy);
  padding: 15px 30px 15px 0;
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--gold-deep);
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p {
  font-size: 13.5px;
  color: var(--ink-soft);
  padding-bottom: 16px;
  animation: faqIn 0.35s ease both;
}
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ============ ФІНАЛЬНИЙ ЗАКЛИК ============ */
.final {
  text-align: center;
  background:
    linear-gradient(180deg, rgba(11, 20, 36, 0.82), rgba(11, 20, 36, 0.92)),
    url("https://images.unsplash.com/photo-1697926156905-c4fcd0504936?w=900&q=80") center/cover no-repeat;
  border-radius: 30px;
  margin: 18px 14px 0;
  padding: 44px 24px;
  color: #fff;
}
.final .section__title {
  color: #fff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
}
.final .section__title b {
  color: var(--gold-soft);
}
.final .section__text {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.final__note {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 18px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* ============ КОНТАКТИ ============ */
.contacts {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(228, 205, 147, 0.25);
  border-radius: 14px;
  padding: 15px 18px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s ease;
}
.contact-row:hover { background: rgba(255, 255, 255, 0.1); }
.contact-row__ico {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(200, 162, 74, 0.18);
  color: var(--gold-soft);
  font-size: 16px;
}
.contact-row span { color: rgba(255, 255, 255, 0.6); font-weight: 500; margin-right: 4px; }
.contacts__hours {
  text-align: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 16px;
}

/* ============ ФУТЕР ============ */
.site-footer {
  background: var(--navy-deep);
  color: #fff;
  padding: 34px 0 90px;
  text-align: center;
}
.site-footer__legal {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}
.site-footer__legal p + p {
  margin-top: 2px;
}
.site-footer__legal-title {
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  margin-bottom: 6px;
}
.site-footer__legal a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer__legal a:hover {
  color: var(--gold-soft);
}
.site-footer__links {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  text-align: center;
}
.site-footer__links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 13px;
}
.site-footer__links a:hover {
  color: var(--gold-soft);
}
.site-footer__copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 22px;
  text-align: center;
}

/* ============ LEGAL / THANK YOU PAGES ============ */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 26px 0 30px;
  border-radius: 0 0 30px 30px;
  text-align: center;
}
.page-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-soft);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.page-hero__title {
  font-size: 32px;
  margin-top: 18px;
}
.page-hero__sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 12px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}
.legal-body { padding: 30px 0 40px; }
.legal-section { margin-top: 24px; }
.legal-section h2 {
  font-size: 21px;
  color: var(--navy);
  margin-bottom: 8px;
}
.legal-section p,
.legal-section li {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.legal-section ul { margin-top: 6px; padding-left: 20px; display: grid; gap: 6px; }
.legal-section p + p { margin-top: 10px; }
.legal-updated { font-size: 12px; color: var(--ink-soft); margin-top: 6px; }

/* thank you */
.thanks {
  text-align: center;
  padding: 60px 0 50px;
}
.thanks__icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 40px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: var(--navy-deep);
  box-shadow: 0 16px 30px -14px rgba(168, 132, 47, 0.8);
}
.thanks__title { font-size: 32px; color: var(--navy); }
.thanks__text {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 16px auto 0;
  max-width: 380px;
}
.thanks__note {
  margin: 24px auto 0;
  max-width: 380px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: left;
}
.thanks__actions {
  display: grid;
  gap: 10px;
  margin: 28px auto 0;
  max-width: 340px;
}

@media (max-width: 380px) {
  .hero__title { font-size: 34px; }
  .section__title { font-size: 26px; }
}

/* ============ ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.stagger.is-in > * { opacity: 1; transform: none; }
.stagger.is-in > *:nth-child(2) { transition-delay: 0.08s; }
.stagger.is-in > *:nth-child(3) { transition-delay: 0.16s; }
.stagger.is-in > *:nth-child(4) { transition-delay: 0.24s; }
.stagger.is-in > *:nth-child(5) { transition-delay: 0.32s; }

/* hover polish */
.mini, .offer, .pack, .trust-card, .review, .contact-row, .step {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, background 0.2s ease;
}
.mini:hover, .offer:hover, .trust-card:hover, .review:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 44px -26px rgba(15, 26, 48, 0.45);
}
.pack:hover { transform: translateY(-5px); }

/* ============================================================
   ENHANCEMENTS — marquee, richer motion, unique block accents
   ============================================================ */

/* ---- біжучий рядок (marquee) ---- */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(228, 205, 147, 0.25);
  border-bottom: 1px solid rgba(228, 205, 147, 0.25);
  padding: 14px 0;
}
.marquee--gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
}
.marquee--navy {
  background: var(--navy-deep);
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  animation: marquee 32s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  display: inline-flex;
  align-items: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0 4px;
}
.marquee--gold .marquee__track span { color: var(--navy-deep); }
.marquee--navy .marquee__track span { color: #fff; }
.marquee__track .sep {
  color: var(--gold);
  font-size: 13px;
  padding: 0 18px;
  opacity: 0.9;
}
.marquee--gold .marquee__track .sep { color: var(--navy-deep); opacity: 0.55; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- gold buttons: світловий блиск ---- */
.btn--gold {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn--gold::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  left: -130%;
  width: 55%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: btnSheen 4s ease-in-out infinite;
}
@keyframes btnSheen {
  0% { left: -130%; }
  55%, 100% { left: 170%; }
}

/* ---- hero: плавний вхід + живий фон ---- */
.hero__glow { animation: heroGlow 9s ease-in-out infinite alternate; }
@keyframes heroGlow {
  0% { opacity: 0.7; transform: translateY(-6px) scale(1); }
  100% { opacity: 1; transform: translateY(6px) scale(1.08); }
}
.hero__badge { animation: fadeDown 0.7s 0.05s both; }
.hero__title { animation: fadeUp 0.9s 0.15s both; }
.hero__subtitle { animation: fadeUp 0.9s 0.32s both; }
.hero__actions { animation: fadeUp 0.9s 0.46s both; }
.hero__trust .trust-item { animation: fadeUp 0.7s both; }
.hero__trust .trust-item:nth-child(1) { animation-delay: 0.56s; }
.hero__trust .trust-item:nth-child(2) { animation-delay: 0.66s; }
.hero__trust .trust-item:nth-child(3) { animation-delay: 0.76s; }
.hero__note { animation: fadeUp 0.8s 0.9s both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: none; }
}
.trust-item__ico { transition: transform 0.3s ease, background 0.3s ease; }
.trust-item:hover .trust-item__ico {
  transform: scale(1.15) rotate(-6deg);
  background: rgba(200, 162, 74, 0.32);
}

/* ---- дивайдер: пульсуючий знак ---- */
.divider__mark { animation: markPulse 3.4s ease-in-out infinite; }
@keyframes markPulse {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.25) rotate(180deg); }
}

/* ---- заголовки секцій: золота лінія, що з'являється ---- */
.section__title {
  position: relative;
  padding-bottom: 16px;
}
.section__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) scaleX(0.3);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease;
}
.section.is-seen .section__title::after,
.final.is-seen .section__title::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

/* ---- унікальні акценти блоків ---- */

/* Minis: анімована бічна смуга + плаваюча іконка */
.mini::before {
  transform: scaleY(0.35);
  transform-origin: top;
  transition: transform 0.45s ease;
}
.mini:hover::before { transform: scaleY(1); }
.mini__icon { transition: transform 0.4s ease, box-shadow 0.4s ease; }
.mini:hover .mini__icon {
  transform: translateY(-3px) rotate(-6deg);
  box-shadow: 0 12px 20px -10px rgba(168, 132, 47, 0.7);
}

/* Offers: декоративний водяний символ + золота рамка на hover */
.offer {
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.offer::before {
  content: "☦";
  position: absolute;
  top: -14px;
  right: -6px;
  font-size: 96px;
  line-height: 1;
  color: rgba(22, 35, 63, 0.04);
  pointer-events: none;
  transition: transform 0.6s ease, color 0.4s ease;
}
.offer:hover {
  border-color: var(--gold);
  box-shadow: 0 28px 50px -26px rgba(168, 132, 47, 0.5);
  transform: translateY(-4px);
}
.offer:hover::before {
  transform: rotate(12deg) scale(1.1);
  color: rgba(200, 162, 74, 0.12);
}
.offer__ico { transition: transform 0.4s ease; }
.offer:hover .offer__ico { transform: translateY(-3px) scale(1.06); }

/* Steps: сяйво номера + плавна поява лінії */
.step__num { position: relative; }
.step__num::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(228, 205, 147, 0.45);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.step:hover .step__num::after { opacity: 1; transform: scale(1); }
.step:hover .step__num { animation: numPop 0.5s ease; }
@keyframes numPop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.14); }
}
.step:hover {
  border-color: rgba(228, 205, 147, 0.5);
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
}

/* Packages: плаваюча популярна картка + пульс бейджа */
.pack--featured { animation: floaty 6s ease-in-out infinite; }
.pack__badge { animation: badgePulse 2.6s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 8px 16px -8px rgba(168, 132, 47, 0.8); }
  50% { box-shadow: 0 8px 26px -6px rgba(168, 132, 47, 1); }
}
.pack__list li::before { transition: transform 0.3s ease; }
.pack:hover .pack__list li::before { transform: scale(1.25); }

/* Trust cards: іконка підстрибує */
.trust-card__ico { transition: transform 0.4s ease; }
.trust-card:hover .trust-card__ico { transform: translateY(-4px) rotate(8deg); }

/* Reviews: декоративні лапки */
.review { position: relative; overflow: hidden; }
.review::after {
  content: "\201D";
  position: absolute;
  bottom: -34px;
  right: 10px;
  font-family: Georgia, serif;
  font-size: 120px;
  line-height: 1;
  color: rgba(200, 162, 74, 0.1);
  pointer-events: none;
}
.review__avatar { transition: transform 0.4s ease; }
.review:hover .review__avatar { transform: scale(1.08) rotate(-4deg); }

/* Dark sections: тонке рухоме сяйво на фоні */
.section--dark, .section--navy-deep { position: relative; overflow: hidden; }
.section--dark::before, .section--navy-deep::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  width: 140%;
  height: 160%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 30% 30%, rgba(200, 162, 74, 0.12), transparent 45%),
    radial-gradient(circle at 75% 70%, rgba(200, 162, 74, 0.08), transparent 45%);
  pointer-events: none;
  animation: bgDrift 16s ease-in-out infinite alternate;
}
.section--dark .wrap, .section--navy-deep .wrap { position: relative; z-index: 1; }
@keyframes bgDrift {
  0% { transform: translateX(-52%) rotate(0deg); }
  100% { transform: translateX(-48%) rotate(8deg); }
}

/* Temple: легкий зум фото */
.temple__img { transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1); }
.temple:hover .temple__img { transform: scale(1.06); }

/* Contact rows: стрілка ковзає */
.contact-row { position: relative; }
.contact-row::after {
  content: "→";
  margin-left: auto;
  color: var(--gold-soft);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.contact-row:hover::after { opacity: 1; transform: translateX(0); }

/* Final CTA: пульсуюче золоте сяйво */
.final { position: relative; overflow: hidden; }
.final::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 320px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(200, 162, 74, 0.35), transparent 60%);
  pointer-events: none;
  animation: finalGlow 5s ease-in-out infinite;
}
.final > * { position: relative; z-index: 1; }
@keyframes finalGlow {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.85); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* thank-you icon glow */
.thanks__icon { animation: floaty 5s ease-in-out infinite; }

/* ============================================================
   WAVE DIVIDERS — плавні переходи між блоками
   ============================================================ */
.wave-divider {
  position: relative;
  display: block;
  width: 100%;
  height: 46px;
  line-height: 0;
  background: var(--wave-bg, transparent);
  overflow: hidden;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}
.wave-divider path {
  fill: var(--wave-fill, transparent);
}
.wave-divider__mark {
  position: absolute;
  left: 50%;
  top: 68%;
  transform: translate(-50%, -50%) scale(0.6);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  display: grid;
  place-items: center;
  font-size: 11px;
  color: var(--navy-deep);
  box-shadow: 0 8px 16px -6px rgba(168, 132, 47, 0.75);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.6s ease 0.15s, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s;
}
.wave-divider.is-in .wave-divider__mark {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.wave-divider.is-in path {
  animation: waveSettle 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes waveSettle {
  from { transform: translateY(10px); }
  to { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .wave-divider__mark { transition: none; opacity: 1; transform: translate(-50%, -50%) scale(1); }
  .wave-divider.is-in path { animation: none; }
}

/* ---- атмосферні фото в секціях ---- */
.section-photo {
  margin-top: 24px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.section-photo img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.section-photo:hover img { transform: scale(1.06); }
.section-photo__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 16px 12px;
  font-size: 12.5px;
  font-style: italic;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(11, 20, 36, 0.85));
}
.section--dark .section-photo,
.section--navy-deep .section-photo {
  border: 1px solid rgba(228, 205, 147, 0.25);
}

/* ---- фото-банер у картках "що передати" ---- */
.offer__media {
  position: relative;
  margin-bottom: 30px;
}
.offer__img {
  width: 100%;
  height: 148px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
.offer .offer__ico {
  margin: 0;
}
.offer__media .offer__ico {
  position: absolute;
  left: 12px;
  bottom: -18px;
}
.offer:hover .offer__img { filter: saturate(1.05) brightness(1.03); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .stagger > * { opacity: 1; transform: none; transition: none; }
  .marquee__track,
  .btn--gold::after,
  .hero__glow,
  .hero__badge, .hero__title, .hero__subtitle, .hero__actions,
  .hero__trust .trust-item, .hero__note,
  .divider__mark,
  .pack--featured, .pack__badge,
  .section--dark::before, .section--navy-deep::before,
  .final::before, .thanks__icon {
    animation: none !important;
  }
  .hero__badge, .hero__title, .hero__subtitle, .hero__actions,
  .hero__trust .trust-item, .hero__note { opacity: 1 !important; transform: none !important; }
  * { scroll-behavior: auto; }
}
