* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #1d1d1d;
  background-color: #f7f5f1;
}

a {
  color: #1a4b8c;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 240px;
  background-color: #1f2a3c;
  color: #f7f5f1;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.ad-label {
  font-size: 13px;
  line-height: 1.4;
  background-color: #32425d;
  padding: 10px 12px;
  border-radius: 8px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav a {
  color: #f7f5f1;
  font-weight: 500;
}

.main {
  flex: 1;
  padding: 32px 36px 80px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: #ffffff;
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(31, 42, 60, 0.08);
}

.section.alt {
  background-color: #ece7de;
}

.section.split {
  flex-direction: row;
  gap: 28px;
  align-items: center;
}

.section.split.reverse {
  flex-direction: row-reverse;
}

.section-title {
  font-size: 28px;
  margin: 0;
}

.lead {
  font-size: 18px;
  line-height: 1.6;
}

.image-box {
  background-color: #dcd4c7;
  border-radius: 16px;
  overflow: hidden;
  flex: 1;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.content-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  display: flex;
  gap: 16px;
  padding: 18px;
  border-radius: 14px;
  background-color: #f8f6f2;
  border: 1px solid #e1d8c9;
}

.card-image {
  width: 140px;
  height: 110px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #d9d2c5;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.price {
  font-weight: 700;
  color: #1f2a3c;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  background-color: #1a4b8c;
  color: #ffffff;
  border: none;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.btn.secondary {
  background-color: #f0b429;
  color: #1f2a3c;
}

.btn.ghost {
  background-color: transparent;
  border: 1px solid #1a4b8c;
  color: #1a4b8c;
}

.btn:hover {
  filter: brightness(0.95);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form label {
  font-weight: 600;
}

.form input,
.form select,
.form textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #c9c4bb;
  font-size: 15px;
  font-family: inherit;
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 14px;
  color: #4a4a4a;
}

.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10;
}

.sticky-cta button {
  box-shadow: 0 12px 24px rgba(26, 75, 140, 0.25);
}

.footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: #4a4a4a;
}

.footer a {
  color: #4a4a4a;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 90px;
  background-color: #1f2a3c;
  color: #f7f5f1;
  padding: 16px 18px;
  border-radius: 14px;
  display: none;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  z-index: 12;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions .btn {
  padding: 8px 14px;
}

.two-col {
  display: flex;
  flex-direction: row;
  gap: 24px;
}

.two-col > div {
  flex: 1;
}

.inline-link {
  font-weight: 600;
}

@media (max-width: 980px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
  }

  .nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }

  .section.split,
  .section.split.reverse,
  .two-col {
    flex-direction: column;
  }

  .sticky-cta {
    right: 16px;
    bottom: 16px;
  }
}
