* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Inter", system-ui, sans-serif;
  color: #1b1b1b;
  background: #faf8f5;
}

a {
  color: inherit;
}

.page {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: #efe8df;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ad-label {
  font-size: 0.85rem;
  background: #1b1b1b;
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  line-height: 1.4;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-links a {
  text-decoration: none;
  padding: 6px 0;
  font-weight: 600;
}

.sidebar-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.content {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.section {
  background: #fff;
  padding: 32px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(27, 27, 27, 0.05);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section.alt {
  background: #f5f1ec;
}

.split {
  display: flex;
  gap: 24px;
  align-items: center;
}

.split.reverse {
  flex-direction: row-reverse;
}

.text-block {
  flex: 1;
}

.media-box {
  flex: 1;
  min-width: 240px;
  border-radius: 16px;
  overflow: hidden;
  background-color: #d8d1c7;
}

.media-box img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-title {
  font-size: 2.4rem;
  margin: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-button {
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1b1b1b;
  color: #fff;
}

.cta-button.secondary {
  background: #fff;
  color: #1b1b1b;
  border: 1px solid #1b1b1b;
}

.inline-link {
  text-decoration: underline;
  font-weight: 600;
}

.card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.card {
  flex: 1 1 240px;
  border-radius: 16px;
  border: 1px solid #e4ddd4;
  background: #fff;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card .media-box {
  height: 160px;
}

.price-tag {
  font-weight: 700;
  font-size: 1.1rem;
}

.list {
  margin: 0;
  padding-left: 18px;
}

.layered {
  position: relative;
  overflow: hidden;
}

.layered .background-photo {
  position: absolute;
  inset: 0;
  opacity: 0.2;
}

.layered .background-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.layered .layered-content {
  position: relative;
  z-index: 1;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #cfc8be;
  font-size: 1rem;
  font-family: inherit;
}

.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 8;
}

.sticky-cta button {
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  background: #845d3f;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: #1b1b1b;
  color: #fff;
  padding: 16px 20px;
  border-radius: 16px;
  display: none;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  z-index: 9;
}

.cookie-banner.show {
  display: flex;
}

.cookie-banner .cta-row {
  margin: 0;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
  color: #3f3f3f;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 980px) {
  .page {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
  }

  .sidebar-cta {
    width: 100%;
  }

  .content {
    padding: 24px;
  }

  .split,
  .split.reverse {
    flex-direction: column;
    align-items: stretch;
  }

  .sticky-cta {
    right: 16px;
    bottom: 16px;
  }
}
