* {
  box-sizing: border-box;
}

:root {
  --bg: #f5f3ef;
  --ink: #1d1b19;
  --muted: #5c5854;
  --accent: #3d5a80;
  --accent-2: #8b5e34;
  --panel: #ffffff;
  --soft: #ede7df;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

a {
  color: var(--accent);
  text-decoration: underline;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 270px;
  padding: 24px 20px;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-right: 1px solid #e1ddd7;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0.4px;
}

.ad-label {
  font-size: 12px;
  padding: 6px 8px;
  background: var(--soft);
  border-radius: 8px;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--soft);
}

.sidebar .contact-mini {
  font-size: 13px;
  color: var(--muted);
  margin-top: auto;
  background: #f7f2ec;
  padding: 12px;
  border-radius: 12px;
}

.content {
  flex: 1;
  padding: 32px 36px 96px;
}

.hero {
  display: flex;
  gap: 28px;
  align-items: stretch;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-card {
  flex: 1 1 320px;
  background: var(--panel);
  padding: 18px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.image-wrap {
  background: #d9d1c7;
  border-radius: 16px;
  overflow: hidden;
}

.ratio-4-3 {
  aspect-ratio: 4 / 3;
}

.ratio-5-4 {
  aspect-ratio: 5 / 4;
}

.ratio-3-2 {
  aspect-ratio: 3 / 2;
}

.image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.section {
  margin-top: 32px;
  padding: 24px;
  border-radius: 20px;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section.alt {
  background: var(--soft);
}

.split {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.split .text {
  flex: 1 1 320px;
}

.split .media {
  flex: 1 1 280px;
}

.cards {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.card {
  flex: 1 1 220px;
  background: #fbfaf8;
  border: 1px solid #e8e2da;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price {
  font-size: 20px;
  color: var(--accent-2);
  font-weight: 700;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 600;
}

.btn.alt {
  background: #2f3e46;
}

.inline-cta {
  font-weight: 600;
}

.form-panel {
  background: #ffffff;
  border: 1px solid #e5ded6;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-panel label {
  font-weight: 600;
  font-size: 14px;
}

.form-panel input,
.form-panel select,
.form-panel textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d8d1c8;
  font-size: 14px;
}

.form-panel button {
  align-self: flex-start;
}

.tagline {
  font-size: 14px;
  color: var(--muted);
}

.footer {
  margin-top: 32px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 22px;
  z-index: 10;
  background: var(--accent-2);
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: 18px;
  cursor: pointer;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  bottom: 16px;
  max-width: 360px;
  background: #ffffff;
  border: 1px solid #e1ddd7;
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 20;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.note-box {
  background: #f8f2ea;
  border-left: 4px solid var(--accent-2);
  padding: 12px 14px;
  border-radius: 12px;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.legal-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.legal-grid .tile {
  flex: 1 1 220px;
  background: #fbfaf8;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e7e0d7;
}

@media (max-width: 980px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e1ddd7;
  }

  .content {
    padding: 24px 20px 96px;
  }
}
