:root {
  color-scheme: light;
  --ink: #1b1b1b;
  --muted: #5a5a5a;
  --sand: #f4efe8;
  --earth: #cbb9a4;
  --clay: #a28a72;
  --night: #1f2421;
  --accent: #3c6e4f;
  --soft: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--sand);
}

a {
  color: inherit;
  text-decoration: none;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  flex: 0 0 260px;
  background: var(--soft);
  border-right: 1px solid #e2d9ce;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.brand {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.4px;
}

.ad-label {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  padding: 10px;
  background: #f8f3ed;
  border-radius: 8px;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-list a {
  padding: 8px 10px;
  border-radius: 8px;
  background: #f6f1ea;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.section {
  padding: 52px 64px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero {
  background-image: url("https://images.unsplash.com/photo-1654097800183-574ba7368f74?w=1400&q=80");
  background-size: cover;
  background-position: center;
  color: var(--soft);
  min-height: 70vh;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(19, 22, 21, 0.48);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 18px;
  border-radius: 28px;
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--soft);
  cursor: pointer;
  font-size: 15px;
}

.btn.secondary {
  background: transparent;
  border-color: var(--soft);
}

.split {
  display: flex;
  gap: 32px;
  align-items: center;
}

.split.reverse {
  flex-direction: row-reverse;
}

.text-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.image-frame {
  flex: 1;
  background: #e6dbcf;
  border-radius: 18px;
  overflow: hidden;
  min-height: 260px;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.step-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.step {
  flex: 1 1 180px;
  background: var(--soft);
  border-radius: 14px;
  padding: 16px;
  border: 1px solid #e5dccf;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.card {
  flex: 1 1 240px;
  background: var(--soft);
  border-radius: 16px;
  border: 1px solid #e5dccf;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  background: #d9cfc3;
}

.price {
  font-weight: 700;
  color: var(--accent);
}

.bg-ritual {
  background-image: url("https://images.unsplash.com/photo-1480455624313-e29b44bbfde1?w=1400&q=80");
  background-size: cover;
  background-position: center;
  color: var(--soft);
  position: relative;
}

.bg-ritual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(25, 23, 22, 0.55);
}

.bg-ritual .section-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.sticky-cta {
  position: sticky;
  top: 24px;
  align-self: flex-start;
  background: var(--soft);
  border-radius: 18px;
  padding: 18px;
  border: 1px solid #e5dccf;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-wrap {
  background: var(--soft);
  border-radius: 18px;
  border: 1px solid #e5dccf;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-wrap label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

.form-wrap input,
.form-wrap select {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d9cfc3;
  font-size: 15px;
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer {
  padding: 28px 64px 40px;
  background: var(--night);
  color: var(--soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--soft);
  border: 1px solid #e5dccf;
  border-radius: 16px;
  padding: 16px;
  display: none;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.legal-block {
  background: var(--soft);
  border-radius: 16px;
  border: 1px solid #e5dccf;
  padding: 18px;
}

.simple-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-card {
  background: var(--soft);
  border-radius: 18px;
  border: 1px solid #e5dccf;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 980px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    border-right: none;
    border-bottom: 1px solid #e2d9ce;
  }

  .section {
    padding: 42px 28px;
  }

  .split,
  .split.reverse {
    flex-direction: column;
  }
}
