* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f6f3ef;
  --ink: #1f1e1c;
  --muted: #5b5b57;
  --accent: #d66a2c;
  --accent-dark: #b1541f;
  --soft: #ffffff;
  --line: #d8d1c7;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  display: block;
}

.layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.sidebar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 24px 20px;
}

.brand {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-weight: 600;
}

.nav a {
  color: var(--muted);
}

.nav a:hover {
  color: var(--ink);
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.section {
  padding: 36px 20px;
  border-bottom: 1px solid var(--line);
}

.section.alt {
  background: var(--soft);
}

.section.tight {
  padding: 24px 20px;
}

.section.spacious {
  padding: 56px 20px;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero h1 {
  font-size: 2.2rem;
  line-height: 1.2;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn.secondary {
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid var(--accent-dark);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f0e8de;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.split.reverse {
  flex-direction: column-reverse;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: #fff;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card .price {
  font-weight: 700;
  color: var(--accent-dark);
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat {
  background: #fef8f1;
  padding: 16px;
  border-radius: 14px;
}

.quote {
  border-left: 4px solid var(--accent);
  padding-left: 16px;
  font-style: italic;
  color: var(--muted);
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-size: 0.9rem;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #faf8f5;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.inline-cta {
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: underline;
}

.footer {
  padding: 24px 20px;
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.image-frame {
  background: #f3ede5;
  padding: 16px;
  border-radius: 20px;
}

.sticky-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: var(--accent-dark);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  z-index: 10;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 12;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-actions button {
  flex: 1;
}

.hidden {
  display: none;
}

.table {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
}

.row span {
  font-weight: 600;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  border: 1px dashed var(--accent-dark);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
  color: var(--accent-dark);
}

@media (min-width: 900px) {
  .layout {
    flex-direction: row;
  }

  .sidebar {
    min-width: 240px;
    border-right: 1px solid var(--line);
    border-bottom: none;
    min-height: 100vh;
  }

  .main {
    width: calc(100% - 240px);
  }

  .hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-text {
    max-width: 52%;
  }

  .split {
    flex-direction: row;
    align-items: center;
  }

  .split.reverse {
    flex-direction: row-reverse;
  }

  .cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 220px;
  }

  .stats {
    flex-direction: row;
  }

  .stat {
    flex: 1;
  }

  .table {
    flex-direction: column;
  }

  .row {
    padding: 16px;
  }
}
