* {
  box-sizing: border-box;
}

:root {
  --bg: #f4f1ec;
  --ink: #1f2428;
  --muted: #5a646e;
  --brand: #2f5d62;
  --accent: #c96b4b;
  --soft: #e7dfd3;
  --card: #ffffff;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: #1d2a2c;
  color: #f9f7f3;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.ad-label {
  font-size: 12px;
  line-height: 1.4;
  background: #2d3b3d;
  padding: 10px 12px;
  border-radius: 12px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav a {
  padding: 10px 12px;
  border-radius: 10px;
  background: transparent;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.sidebar .cta-link {
  margin-top: auto;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-weight: 600;
}

.content {
  flex: 1;
  padding: 36px 48px 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero {
  min-height: 320px;
  padding: 36px;
  color: #fdfbf7;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 27, 0.55);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.section {
  background: var(--card);
  padding: 28px 28px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 18px 30px rgba(24, 28, 31, 0.08);
}

.section.alt {
  background: var(--soft);
}

.section.wide {
  padding: 34px 38px;
}

.split {
  display: flex;
  gap: 24px;
  align-items: center;
}

.split.reverse {
  flex-direction: row-reverse;
}

.copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.image-frame {
  flex: 1;
  background: #e1d8cc;
  border-radius: 18px;
  overflow: hidden;
}

.frame-lg {
  min-height: 260px;
}

.frame-md {
  min-height: 220px;
}

.frame-sm {
  min-height: 180px;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.card {
  flex: 1 1 220px;
  background: var(--card);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e6ded2;
  display: flex;
  flex-direction: column;
}

.card-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card .btn {
  align-self: flex-start;
}

.tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn.secondary {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand);
}

.inline-link {
  color: var(--accent);
  font-weight: 600;
}

.pricing-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e0d6c8;
}

.pricing-item span:last-child {
  font-weight: 700;
  color: var(--brand);
}

.form-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cfc6b9;
  font-size: 15px;
}

.form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.form-row > div {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sticky-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 10;
}

.footer {
  background: #1b1f22;
  color: #d8d0c6;
  padding: 28px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer a {
  color: #d8d0c6;
  text-decoration: underline;
}

.legal-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  background: #fffaf2;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 20px 40px rgba(20, 22, 24, 0.18);
  display: none;
  max-width: 320px;
  z-index: 20;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.bg-hero {
  background-image: url("https://images.unsplash.com/photo-1467269204594-9661b134dd2b?w=1400&q=80");
  background-color: #2b383b;
}

.bg-insight {
  background-image: url("https://images.unsplash.com/photo-1496307042754-b4aa456c4a2d?w=1400&q=80");
  background-color: #2b3336;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.bg-insight .inline-link {
  color: #ffe8c7;
}

.bg-insight::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(25, 30, 32, 0.55);
}

.bg-insight > * {
  position: relative;
  z-index: 1;
}

.section.bg-insight {
  position: relative;
}

@media (max-width: 980px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sidebar .cta-link {
    margin-top: 0;
  }

  .content {
    padding: 24px;
  }

  .split,
  .split.reverse {
    flex-direction: column;
  }

  .sticky-cta {
    right: 12px;
    left: 12px;
    bottom: 12px;
  }
}
