* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: #1c1f1d;
  background: #f7f6f2;
}

a {
  color: inherit;
  text-decoration: none;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 240px;
  background: #f0efe9;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-right: 1px solid #d9d7cf;
}

.brand {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.ad-label {
  font-size: 12px;
  line-height: 1.4;
  padding: 10px 12px;
  border-radius: 8px;
  background: #e4e0d6;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.nav a {
  padding: 6px 8px;
  border-radius: 6px;
}

.nav a:hover,
.nav a:focus {
  background: #d9d3c4;
}

.sticky-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  bottom: 18px;
}

.btn {
  border: none;
  padding: 12px 16px;
  border-radius: 999px;
  background: #2f4f42;
  color: #f7f6f2;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

.btn--ghost {
  background: transparent;
  color: #2f4f42;
  border: 1px solid #2f4f42;
}

.btn:hover,
.btn:focus {
  background: #223a30;
  color: #f7f6f2;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

header {
  padding: 24px 42px 0 42px;
}

.hero {
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 24px 42px 36px 42px;
}

.hero-text {
  flex: 1;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 12px;
}

.hero p {
  font-size: 16px;
  line-height: 1.6;
}

.image-frame {
  background: #e6e2d8;
  border-radius: 18px;
  overflow: hidden;
  flex: 1;
  min-height: 280px;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

section {
  padding: 36px 42px;
  display: flex;
  gap: 30px;
  align-items: center;
}

.section--reverse {
  flex-direction: row-reverse;
}

.section--dense {
  padding: 24px 42px;
  background: #ede9de;
}

.section--air {
  padding: 48px 42px;
}

.section--layered {
  background: #f1efe6;
  border-top: 1px solid #ded9cc;
  border-bottom: 1px solid #ded9cc;
}

.section--scenic {
  position: relative;
  color: #f7f6f2;
  background-image: url("https://images.unsplash.com/photo-1472214103451-9374bd1c798e?w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.section--scenic::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(32, 43, 36, 0.65);
}

.section--scenic > * {
  position: relative;
}

.text-block {
  flex: 1;
}

.text-block h2 {
  margin-top: 0;
}

.card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid #e2ddd1;
}

.card-image {
  background: #e6e2d8;
  border-radius: 12px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.price {
  font-weight: 600;
  color: #2f4f42;
}

.inline-link {
  color: #2f4f42;
  font-weight: 600;
}

.form-wrap {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid #e2ddd1;
  width: 100%;
  max-width: 520px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-size: 14px;
}

select,
input {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #cfc9bc;
  font-size: 14px;
}

footer {
  padding: 26px 42px 36px 42px;
  background: #ede9de;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;
  border: 1px solid #e0dbcf;
  max-width: 320px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  z-index: 40;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #d9d3c4;
  font-size: 12px;
}

@media (max-width: 980px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }

  .nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sticky-cta {
    position: static;
    margin-top: 10px;
  }

  .hero,
  section {
    flex-direction: column;
  }
}
