@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Manrope:wght@300;400;500;600;700&display=swap');

:root {
  --c-bg: #F4EDE0;
  --c-bg-deep: #2B1F14;
  --c-bg-warm: #EAE0CC;
  --c-text: #2B1F14;
  --c-muted: #6B5A45;
  --c-accent: #A6552E;
  --c-accent-soft: #C8985E;
  --c-border: #C9B79A;
  --c-on-dark: #F4EDE0;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(16px, 1vw + 14px, 18px);
  line-height: 1.65;
  letter-spacing: 0.005em;
  overflow-x: hidden;
}

body.has-cookie-banner .float-actions { bottom: 120px; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 12px 20px;
  background: var(--c-accent);
  color: #fff;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

.container {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

section { padding-block: clamp(48px, 8vw, 96px); }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--c-accent);
}

.display {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
h1.display {
  font-size: clamp(32px, 5vw, 56px);
  margin: 0 0 24px;
}
h2.display { font-size: clamp(24px, 3.5vw, 40px); margin: 0 0 16px; }
h3.display { font-size: clamp(20px, 2.5vw, 28px); margin: 0 0 12px; }

.section-head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 70px);
  max-width: 720px;
  margin-inline: auto;
}
.section-head p {
  color: var(--c-muted);
  margin: 0;
  max-width: 65ch;
  margin-inline: auto;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 48px 0;
  color: var(--c-accent-soft);
}
.ornament::before, .ornament::after {
  content: '';
  flex: 1;
  max-width: 180px;
  height: 1px;
  background: var(--c-border);
}
.ornament svg { width: 24px; height: 24px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--c-bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--c-border) 50%, transparent);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
}
.logo small {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--c-muted);
}

.nav-desktop {
  display: none;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-muted);
}
.nav-desktop a:hover { color: var(--c-accent); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--c-border);
  border-radius: 50%;
  color: var(--c-muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}
.header-social__link svg {
  width: 20px;
  height: 20px;
}
.header-social__link:hover {
  transform: translateY(-1px);
}
.header-social__link--tg:hover {
  color: #fff;
  background: #229ed9;
  border-color: #229ed9;
}
.header-social__link--vk:hover {
  color: #fff;
  background: #0077ff;
  border-color: #0077ff;
}
.header-social--mobile {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--c-border);
  justify-content: flex-start;
  gap: 12px;
}
.header-social--mobile .header-social__link {
  width: 48px;
  height: 48px;
}
.header-social--mobile .header-social__link svg {
  width: 24px;
  height: 24px;
}

.burger {
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-border);
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-text);
  transition: transform 0.3s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  inset: 0;
  top: var(--header-h);
  background: var(--c-bg);
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 99;
  overflow-y: auto;
}
.nav-mobile.is-open { transform: translateX(0); }
.nav-mobile a {
  display: block;
  padding: 14px 0;
  font-size: 18px;
  font-family: 'Cormorant Garamond', serif;
  border-bottom: 1px solid var(--c-border);
}
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 98;
}
.nav-overlay.is-open { opacity: 1; pointer-events: auto; }

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .burger, .nav-mobile, .nav-overlay { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 14px 24px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s, background 0.25s, color 0.25s;
}
.btn:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--c-text);
  color: var(--c-bg);
}
.btn-primary:hover { background: var(--c-accent); transform: translateY(-2px); }
.btn-secondary {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-text);
}
.btn-secondary:hover {
  background: var(--c-text);
  color: var(--c-bg);
}
.btn-tg { background: #229ED9; color: #fff; }
.btn-tg:hover { background: #1a7eb0; transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Hero */
.hero {
  position: relative;
  padding-block: clamp(48px, 8vw, 100px);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  pointer-events: none;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      105deg,
      rgba(244, 237, 224, 0.94) 0%,
      rgba(244, 237, 224, 0.88) 42%,
      rgba(244, 237, 224, 0.62) 68%,
      rgba(234, 224, 204, 0.45) 100%
    );
  pointer-events: none;
}
.hero--with-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(200, 152, 94, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse at 5% 95%, rgba(166, 85, 46, 0.12) 0%, transparent 55%);
  pointer-events: none;
}
.hero:not(.hero--with-bg)::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(200, 152, 94, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(166, 85, 46, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.hero--with-bg .deco-blob { z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 3;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.35fr 1fr; gap: 64px; }
}
.hero-grid > * { min-width: 0; }
.hero h1 em { font-style: italic; color: var(--c-accent); }
.hero-lead {
  font-size: 1.05rem;
  color: var(--c-muted);
  max-width: 55ch;
  margin: 0 0 28px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.tag {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--c-border);
  color: var(--c-muted);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-card {
  background: var(--c-bg-deep);
  color: var(--c-on-dark);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(200, 152, 94, 0.25) 0%, transparent 60%);
}
.hero-card > * { position: relative; }
.hero-card .eyebrow { color: var(--c-accent-soft); }
.hero-card .eyebrow::before { background: var(--c-accent-soft); }
.hero-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  margin: 0 0 12px;
  color: var(--c-on-dark);
}
.hero-card p { font-size: 15px; color: rgba(244, 237, 224, 0.85); margin: 0 0 16px; }
.hero-card-note {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent-soft);
}
.price-big {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  color: var(--c-accent-soft);
  margin: 0;
}

/* Teasers */
.teasers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) { .teasers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .teasers-grid { grid-template-columns: repeat(4, 1fr); } }

.teaser {
  padding: 28px 24px;
  background: var(--c-bg-warm);
  border-top: 3px solid var(--c-accent-soft);
}
.teaser svg { width: 32px; height: 32px; color: var(--c-accent); margin-bottom: 16px; }
.teaser h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  margin: 0 0 8px;
}
.teaser p { margin: 0; font-size: 14px; color: var(--c-muted); }

/* Lists & prose */
.prose { max-width: 65ch; }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { margin: 0 0 1.25em; padding-left: 1.25em; }
.prose li { margin-bottom: 0.5em; }
.prose strong { color: var(--c-accent); font-weight: 600; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  padding-left: 28px;
  position: relative;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 14px;
  border: 2px solid var(--c-accent);
  border-radius: 2px;
  background: color-mix(in srgb, var(--c-accent) 15%, transparent);
}

.two-col {
  display: grid;
  gap: 40px;
  align-items: start;
}
@media (min-width: 900px) {
  .two-col { grid-template-columns: 1fr 1.2fr; gap: 80px; }
}

.about-layout {
  display: grid;
  gap: 40px;
  align-items: start;
}
@media (min-width: 900px) {
  .about-layout { grid-template-columns: minmax(280px, 1fr) 1.2fr; gap: 80px; }
}
.about-head .section-deco::before { height: 72px; }

/* Стопка фото — «Что вас ждёт» */
.photo-stack {
  position: relative;
  display: block;
  width: min(100%, 340px);
  height: 240px;
  margin: 28px 0 0;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
}
.photo-stack:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 6px;
}
.photo-stack__item {
  position: absolute;
  left: 0;
  top: 0;
  width: 78%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 3px solid var(--c-bg);
  box-shadow: 0 10px 28px rgba(43, 31, 20, 0.22);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  transform-origin: center center;
}
.photo-stack__item:nth-child(1) {
  transform: rotate(-7deg) translate(0, 12px);
  z-index: 1;
}
.photo-stack__item:nth-child(2) {
  transform: rotate(4deg) translate(18%, 6px);
  z-index: 2;
}
.photo-stack__item:nth-child(3) {
  transform: rotate(-3deg) translate(36%, 0);
  z-index: 3;
}
.photo-stack__item:nth-child(4) {
  transform: rotate(5deg) translate(54%, 8px);
  z-index: 4;
}
.photo-stack__item:nth-child(5) {
  transform: rotate(-2deg) translate(72%, 4px);
  z-index: 5;
}
.photo-stack:hover .photo-stack__item,
.photo-stack:focus-visible .photo-stack__item {
  box-shadow: 0 14px 36px rgba(43, 31, 20, 0.28);
}
.photo-stack:hover .photo-stack__item:nth-child(1) { transform: rotate(-9deg) translate(0, 6px); }
.photo-stack:hover .photo-stack__item:nth-child(2) { transform: rotate(5deg) translate(18%, 0); }
.photo-stack:hover .photo-stack__item:nth-child(3) { transform: rotate(-4deg) translate(36%, -4px); }
.photo-stack:hover .photo-stack__item:nth-child(4) { transform: rotate(6deg) translate(54%, 2px); }
.photo-stack:hover .photo-stack__item:nth-child(5) { transform: rotate(-3deg) translate(72%, -2px); }

.photo-stack__badge {
  position: absolute;
  right: 0;
  bottom: 8px;
  z-index: 10;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 12px;
  background: var(--c-bg-deep);
  color: var(--c-on-dark);
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.photo-stack-hint {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--c-muted);
  font-style: italic;
}

/* Pillars */
.pillars-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 900px) { .pillars-grid { grid-template-columns: repeat(3, 1fr); } }

.pillar {
  padding: 40px 32px;
  background: var(--c-bg-warm);
  border-top: 3px solid var(--c-accent-soft);
}
.pillar-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 48px;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 16px;
}
.pillar h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  margin: 0 0 12px;
}
.pillar p { margin: 0; font-size: 15px; color: var(--c-muted); }
.pillar ul { margin: 12px 0 0; padding-left: 1.1em; font-size: 14px; color: var(--c-muted); }

/* Dark band */
.band-dark {
  background: var(--c-bg-deep);
  color: var(--c-on-dark);
}
.band-dark .eyebrow { color: var(--c-accent-soft); }
.band-dark .eyebrow::before { background: var(--c-accent-soft); }
.band-dark h2, .band-dark h3 { color: var(--c-on-dark); }
.band-dark p, .band-dark li { color: rgba(244, 237, 224, 0.8); }

/* Program days */
.program-list { display: flex; flex-direction: column; gap: 0; }
.program-day {
  border-bottom: 1px solid var(--c-border);
}
.program-day summary {
  padding: 20px 0;
  cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.program-day summary::-webkit-details-marker { display: none; }
.program-day summary::after {
  content: '+';
  font-size: 24px;
  color: var(--c-accent);
  flex-shrink: 0;
}
.program-day[open] summary::after { transform: rotate(45deg); }
.program-day-content {
  padding: 0 0 24px;
  font-size: 15px;
  color: var(--c-muted);
}
.program-day-content ul { margin: 8px 0 0; padding-left: 1.2em; }

/* Price block */
.price-panel {
  display: grid;
  gap: 32px;
}
@media (min-width: 768px) { .price-panel { grid-template-columns: 1fr 1fr; } }
.price-highlight {
  text-align: center;
  padding: 48px 32px;
  background: var(--c-bg-warm);
  border: 1px solid var(--c-border);
}
.price-highlight .amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 6vw, 56px);
  color: var(--c-accent);
  margin: 8px 0;
}

/* Leader */
.leader-card {
  display: grid;
  gap: 32px;
  align-items: center;
  padding: 40px;
  background: var(--c-bg-warm);
}
@media (min-width: 768px) {
  .leader-card {
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
    gap: 40px 48px;
  }
}
.leader-prose {
  max-width: 42rem;
}
@media (min-width: 768px) {
  .leader-prose { max-width: 36ch; }
}
.leader-photo {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #A6552E, #2B1F14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px;
  font-style: italic;
  color: rgba(244, 237, 224, 0.35);
  overflow: hidden;
  border: none;
  padding: 0;
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
}
.leader-photo--img {
  position: relative;
  cursor: zoom-in;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.leader-photo--img:hover,
.leader-photo--img:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(43, 31, 20, 0.18);
}
.leader-photo--img:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 4px;
}
.leader-photo--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.leader-photo__hint {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 8px 12px;
  font-size: 12px;
  font-family: system-ui, sans-serif;
  font-style: normal;
  text-align: center;
  color: #fff;
  background: rgba(15, 11, 8, 0.55);
  border-radius: 4px;
  pointer-events: none;
}

/* FAQ */
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-item summary {
  padding: 20px 0;
  cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--c-accent);
  font-size: 24px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item-content { padding: 0 0 20px; color: var(--c-muted); font-size: 15px; }

/* Form */
.form-section { background: var(--c-bg-warm); }
.order-form {
  max-width: 520px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
.order-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}
.order-form input,
.order-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid var(--c-border);
  background: var(--c-bg);
  color: var(--c-text);
  border-radius: 2px;
}
.order-form textarea { min-height: 100px; resize: vertical; }
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--c-muted);
}
.consent input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; }
.consent a { text-decoration: underline; color: var(--c-accent); }
.form-status {
  min-height: 1.5em;
  font-size: 14px;
}
.form-status.is-success { color: #2d6a3e; }
.form-status.is-error { color: #9b2c2c; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  background: var(--c-bg-warm);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item span {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  z-index: 1;
}
.gallery-item--large { grid-column: span 2; aspect-ratio: 16/10; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 11, 8, 0.92);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 56px 20px 24px;
}
.lightbox.is-open { display: flex; flex-direction: column; }
.lightbox-figure {
  margin: 0;
  max-width: min(1100px, 100%);
  text-align: center;
}
.lightbox img {
  max-height: min(78vh, 900px);
  max-width: 100%;
  object-fit: contain;
  border-radius: 2px;
}
.lightbox-caption {
  margin-top: 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2.5vw, 22px);
  font-style: italic;
  color: rgba(244, 237, 224, 0.9);
}
.lightbox-caption:empty { display: none; }
.lightbox-counter {
  margin: 12px 0 0;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244, 237, 224, 0.65);
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  border-radius: 2px;
  z-index: 2;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  border-radius: 2px;
  z-index: 2;
}
.lightbox-nav:hover { background: rgba(200, 152, 94, 0.45); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
@media (max-width: 600px) {
  .photo-stack {
    height: 200px;
    width: 100%;
    max-width: 300px;
  }
  .photo-stack__item { width: 72%; }
  .photo-stack__item:nth-child(2) { transform: rotate(3deg) translate(14%, 8px); }
  .photo-stack__item:nth-child(3) { transform: rotate(-2deg) translate(28%, 4px); }
  .photo-stack__item:nth-child(4) { transform: rotate(4deg) translate(42%, 10px); }
  .lightbox-nav { width: 40px; height: 40px; font-size: 22px; }
}

/* SEO read more */
.seo-block { max-width: 65ch; margin-inline: auto; }
@media (max-width: 768px) {
  .seo-block.is-collapsed .seo-more { display: none; }
}
@media (min-width: 769px) {
  .seo-block .seo-more { display: block; }
  .seo-toggle { display: none; }
}
.seo-toggle {
  margin-top: 16px;
  background: none;
  border: none;
  color: var(--c-accent);
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  padding: 8px 0;
  min-height: 44px;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding-block: clamp(64px, 10vw, 120px);
  background: var(--c-bg-deep);
  color: var(--c-on-dark);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(200, 152, 94, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(166, 85, 46, 0.18) 0%, transparent 60%);
}
.final-cta .container { position: relative; z-index: 1; max-width: 720px; }
.final-cta h2 { color: var(--c-on-dark); }
.final-cta p { color: rgba(244, 237, 224, 0.75); }

/* Footer */
.site-footer {
  padding: 48px 0 32px;
  background: var(--c-bg-deep);
  color: rgba(244, 237, 224, 0.65);
  font-size: 13px;
}
.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 32px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-grid a:hover { color: var(--c-accent-soft); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(200, 152, 94, 0.15);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}

/* Cookie */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--c-bg-deep);
  color: var(--c-on-dark);
  padding: 20px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
}
.cookie-banner[hidden] { display: none; }
.cookie-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.cookie-inner p { margin: 0; font-size: 14px; max-width: 60ch; }
.cookie-inner a { color: var(--c-accent-soft); text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions button {
  min-height: 44px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
  border: 1px solid transparent;
}
#cookie-accept { background: var(--c-accent); color: #fff; }
#cookie-decline { background: transparent; color: var(--c-on-dark); border-color: rgba(255,255,255,0.3); }

/* Float */
.float-actions {
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.float-btn:hover { transform: scale(1.05); }
.float-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.float-btn svg { width: 22px; height: 22px; }
.float-tg { background: #229ED9; }
.float-wa { background: #25D366; }
.float-up { background: var(--c-accent); opacity: 0; pointer-events: none; }
.float-up.is-visible { opacity: 1; pointer-events: auto; }

/* Legal pages */
.legal-page { padding-block: 48px 96px; }
.legal-page h1 { font-family: 'Cormorant Garamond', serif; font-size: 36px; }
.legal-page h2 { font-family: 'Cormorant Garamond', serif; font-size: 24px; margin-top: 32px; }

/* Animations — без JS контент остаётся видимым */
.fade-in {
  opacity: 1;
  transform: none;
}
html.js .fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
html.js .fade-in.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  html.js .fade-in { opacity: 1; transform: none; }
}

@media (max-width: 899px) {
  .header-cta-desktop { display: none; }
}

/* —— Декор и утилиты —— */
.section-warm { background: var(--c-bg-warm); }

.page-deco { position: relative; overflow: hidden; }

.deco-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}
.hero--with-bg .deco-blob { opacity: 0.18; }
.deco-blob--1 { width: 320px; height: 320px; background: var(--c-accent-soft); top: -100px; right: -60px; }
.deco-blob--2 { width: 200px; height: 200px; background: var(--c-accent); bottom: 10%; left: -40px; opacity: 0.15; }
.deco-blob--3 { width: 260px; height: 260px; background: var(--c-accent-soft); bottom: -80px; left: 20%; opacity: 0.2; }

.deco-ring {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--c-accent-soft) 45%, transparent);
  border-radius: 50%;
  pointer-events: none;
}
.deco-ring--sm { width: 120px; height: 120px; top: 24px; right: 8%; }
.deco-ring--lg { width: 280px; height: 280px; top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0.2; }

.deco-line-accent {
  width: 100%;
  max-width: 140px;
  height: 1px;
  margin: 20px 0 24px;
  background: linear-gradient(90deg, var(--c-accent), transparent);
}
.deco-line-accent--light {
  margin-inline: auto;
  background: linear-gradient(90deg, transparent, var(--c-accent-soft), transparent);
}

.deco-diamond {
  width: 7px;
  height: 7px;
  background: var(--c-accent-soft);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.deco-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--c-accent-soft);
  border-style: solid;
  pointer-events: none;
  opacity: 0.6;
}
.deco-corner--tr { top: 12px; right: 12px; border-width: 1px 1px 0 0; }

.deco-frame { position: relative; }
.deco-frame::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(200, 152, 94, 0.25);
  pointer-events: none;
}

.deco-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--c-accent);
  opacity: 0.7;
  display: block;
  margin-bottom: 12px;
}

.section-deco { position: relative; padding-left: 20px; }
.section-deco::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 2px;
  height: 48px;
  background: linear-gradient(180deg, var(--c-accent), transparent);
}

.band-deco { position: relative; overflow: hidden; }
.band-deco .deco-grid {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    linear-gradient(var(--c-accent-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-accent-soft) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.final-deco { position: relative; overflow: hidden; }
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  letter-spacing: 0.1em;
  color: var(--c-on-dark);
}
.footer-tagline { margin: 12px 0 0; }
.footer-col-title {
  margin: 0 0 8px;
  font-weight: 600;
  color: var(--c-on-dark);
}

.price-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 12px;
}
.price-note { margin: 0; color: var(--c-muted); font-size: 14px; }
.price-cta { margin-top: 24px; }
.price-sub { margin-top: 24px; }
.price-promo { margin-top: 16px; }
.faq-hint { color: var(--c-muted); }
.form-submit { width: 100%; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hero-grid > .fade-in,
.hero-grid > .hero-card { position: relative; z-index: 1; }
