* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #1c1f23;
  background-color: #f4f5f7;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 270px;
  background: #101820;
  color: #f8f9fb;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.ad-label {
  font-size: 12px;
  background: #223042;
  padding: 10px 12px;
  border-radius: 8px;
  color: #dfe6ee;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav a {
  padding: 8px 10px;
  border-radius: 6px;
  background: transparent;
  transition: background 0.2s ease;
}

.nav a:hover {
  background: #223042;
}

.nav .cta-link {
  background: #2a7f68;
  color: #fff;
  text-align: center;
}

.main {
  flex: 1;
  padding: 32px 40px 120px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section {
  background: #ffffff;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 18px 40px rgba(16, 24, 32, 0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section.compact {
  padding: 24px;
}

.section.alt {
  background: #eef3f2;
}

.hero {
  background-image: url("https://images.unsplash.com/photo-1497366216548-37526070297c?w=1400&q=80");
  background-size: cover;
  background-position: center;
  background-color: #c6ced6;
  color: #0f1b21;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(248, 249, 251, 0.88);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
}

.headline {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
}

.subhead {
  font-size: 18px;
  color: #2a3a46;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  background: #2a7f68;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.button.secondary {
  background: #1c1f23;
}

.button:hover {
  background: #236854;
}

.button.secondary:hover {
  background: #000;
}

.split {
  display: flex;
  gap: 24px;
  align-items: center;
}

.split.reverse {
  flex-direction: row-reverse;
}

.split > div {
  flex: 1;
}

.image-frame {
  background: #d7dee6;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 220px;
}

.image-frame.card-image {
  min-height: 160px;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.card {
  flex: 1 1 220px;
  background: #f9fafb;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 220px;
}

.card .price {
  font-weight: 700;
  color: #2a7f68;
}

.tag {
  display: inline-flex;
  padding: 6px 10px;
  background: #e3ecea;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form label {
  font-weight: 600;
}

.form input,
.form select,
.form textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cbd5df;
  font-size: 14px;
  width: 100%;
}

.form .row {
  display: flex;
  gap: 12px;
}

.form .row > div {
  flex: 1;
}

.background-panel {
  background-image: url("https://images.unsplash.com/photo-1509395176047-4a66953fd231?w=1400&q=80");
  background-size: cover;
  background-position: center;
  background-color: #cfd8df;
  color: #fff;
}

.background-panel .panel-inner {
  background: rgba(16, 24, 32, 0.72);
  border-radius: 16px;
  padding: 24px;
}

.quote {
  background: #0f1b21;
  color: #fff;
  padding: 20px;
  border-radius: 14px;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer {
  font-size: 13px;
  color: #4a5562;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer a {
  color: #2a7f68;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 5;
  background: #f5b400;
  color: #1c1f23;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.2);
}

.sticky-cta:hover {
  background: #e5a700;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.2);
  display: none;
  max-width: 320px;
  z-index: 6;
}

.cookie-banner.active {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  flex: 1;
}

.inline-link {
  color: #2a7f68;
  text-decoration: underline;
}

.note {
  font-size: 14px;
  color: #4a5562;
}

.two-column {
  display: flex;
  gap: 16px;
}

.two-column > div {
  flex: 1;
}

@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;
  }

  .main {
    padding: 24px 20px 120px;
  }

  .split,
  .split.reverse,
  .two-column {
    flex-direction: column;
  }

  .sticky-cta {
    right: 16px;
    bottom: 16px;
  }
}
