* {
  box-sizing: border-box;
}

:root {
  --bg: #f5f3f0;
  --ink: #1c1b19;
  --muted: #5b5a57;
  --accent: #c85f2a;
  --accent-dark: #8e401c;
  --panel: #ffffff;
  --sand: #efe8df;
  --olive: #e2e0d6;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
}

.shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: var(--panel);
  border-right: 1px solid #ded8cf;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.ad-label {
  font-size: 12px;
  color: var(--muted);
  background: var(--sand);
  padding: 8px 10px;
  border-radius: 12px;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-list a {
  display: inline-flex;
  padding: 6px 0;
  font-weight: 600;
}

.sidebar-footer {
  margin-top: auto;
  font-size: 13px;
  color: var(--muted);
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sticky-cta {
  position: sticky;
  top: 16px;
  align-self: flex-end;
  margin: 16px 28px 0 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 18px;
  font-weight: 600;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 48px 56px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.85), rgba(243, 239, 232, 0.6)),
    url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?w=1400&q=80");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid #e0dbd3;
}

.hero h1 {
  font-size: 40px;
  max-width: 520px;
  margin: 0;
}

.hero p {
  max-width: 520px;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  border: none;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: 18px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn.secondary {
  background: var(--panel);
  color: var(--accent-dark);
  border: 1px solid #d3c9bf;
}

.section {
  padding: 44px 56px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section.alt {
  background: var(--sand);
}

.split {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.split.reverse {
  flex-direction: row-reverse;
}

.split .panel {
  flex: 1;
  background: var(--panel);
  padding: 24px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panel-image {
  flex: 1;
  background: #d9d2c9;
  border-radius: 20px;
  overflow: hidden;
}

.panel-image img {
  width: 100%;
  height: 100%;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.card {
  flex: 1 1 240px;
  background: var(--panel);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card .price {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-dark);
}

.card-image {
  background: #dad3cb;
  border-radius: 16px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 160px;
}

.form-area {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.form-panel {
  background: var(--panel);
  border-radius: 20px;
  padding: 24px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-weight: 600;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #d6cec4;
  font-size: 15px;
  background: #fff;
}

textarea {
  min-height: 120px;
}

.micro {
  font-size: 13px;
  color: var(--muted);
}

.inline-cta {
  font-weight: 600;
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-row {
  display: flex;
  gap: 16px;
}

.gallery-row .panel-image {
  height: 220px;
}

.footer {
  padding: 32px 56px 48px;
  background: var(--olive);
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--panel);
  border: 1px solid #d6cec4;
  border-radius: 18px;
  padding: 18px;
  max-width: 320px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 20;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.banner-visible {
  display: flex;
}

.simple-page {
  padding: 48px 56px 80px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.simple-page h1 {
  margin: 0;
  font-size: 34px;
}

.contact-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-block {
  background: var(--panel);
  border-radius: 18px;
  padding: 20px;
  flex: 1 1 240px;
}

@media (max-width: 980px) {
  .shell {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ded8cf;
  }

  .sticky-cta {
    align-self: center;
    margin-right: 0;
  }

  .hero,
  .section,
  .simple-page,
  .footer {
    padding-left: 28px;
    padding-right: 28px;
  }

  .split {
    flex-direction: column;
  }

  .gallery-row {
    flex-direction: column;
  }
}
