* {
  box-sizing: border-box;
}

:root {
  --ink: #1b1b1b;
  --muted: #5b5b5b;
  --paper: #f7f3ee;
  --sand: #efe6da;
  --clay: #d8c3ac;
  --accent: #6d4f3a;
  --accent-soft: #8a6a52;
  --leaf: #3f5b4f;
  --sky: #e7eef3;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.layout {
  display: flex;
  min-height: 100vh;
}

aside {
  width: 260px;
  background: #fff;
  border-right: 1px solid #e2d7c9;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ad-label {
  background: var(--sand);
  color: var(--accent);
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
}

nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
}

.nav-note {
  font-size: 12px;
  color: var(--muted);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 56px 56px 40px;
  background: #fff;
}

.hero-text {
  flex: 1 1 320px;
  min-width: 280px;
}

.hero-text h1 {
  font-size: 36px;
  margin-bottom: 14px;
}

.hero-text p {
  color: var(--muted);
  max-width: 520px;
}

.hero-media {
  flex: 1 1 300px;
  min-width: 280px;
}

.hero-media .img-wrap {
  height: 360px;
}

.img-wrap {
  background-color: var(--sand);
  border-radius: 16px;
  overflow: hidden;
}

.img-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.section {
  padding: 44px 56px;
}

.section.alt {
  background: var(--sand);
}

.section.dark {
  background: var(--accent);
  color: #fff;
}

.section.dark a {
  color: #fff;
}

.section-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.media-tall .img-wrap {
  height: 320px;
}

.media-wide .img-wrap {
  height: 240px;
}

.img-wrap.media-tall {
  height: 320px;
}

.img-wrap.media-wide {
  height: 240px;
}

.card {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(27, 27, 27, 0.08);
}

.card.dark {
  background: #f4ede4;
}

.card h3 {
  margin: 0;
}

.price {
  font-weight: 700;
  color: var(--accent);
  font-size: 18px;
}

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
}

.split.reverse {
  flex-direction: row-reverse;
}

.split > div {
  flex: 1 1 280px;
}

.tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--sky);
  font-size: 13px;
  color: var(--leaf);
}

.list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
}

.form-wrap {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(27, 27, 27, 0.12);
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-size: 14px;
  font-weight: 600;
}

input,
select,
textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d6c8b9;
  font-size: 15px;
}

button {
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.cta-link {
  font-weight: 600;
}

.testimonial {
  background: #fff;
  border-left: 4px solid var(--leaf);
  padding: 16px 18px;
  border-radius: 12px;
  color: var(--muted);
}

.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: var(--leaf);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.footer {
  padding: 32px 56px;
  background: #fff;
  border-top: 1px solid #e7dccf;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  max-width: 380px;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
  display: none;
  z-index: 20;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-actions button {
  flex: 1 1 140px;
}

.wide {
  width: 100%;
}

.muted {
  color: var(--muted);
}

@media (max-width: 900px) {
  .layout {
    flex-direction: column;
  }

  aside {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero,
  .section,
  .footer {
    padding: 32px 24px;
  }

  .sticky-cta {
    right: 16px;
    bottom: 16px;
  }
}
