:root {
  --ink: #1c232b;
  --muted: #5a6775;
  --accent: #2b5fb8;
  --accent-dark: #1f4787;
  --sand: #f4f1ec;
  --stone: #e4e0da;
  --sage: #dce8e0;
  --night: #0f1a24;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--accent-dark);
}

header {
  background: var(--white);
  border-bottom: 1px solid var(--stone);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6vw;
  gap: 16px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.ad-label {
  font-size: 0.9rem;
  color: var(--muted);
  text-align: right;
  max-width: 320px;
}

.page {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 32px 6vw 80px;
}

.side-nav {
  flex: 0 0 190px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 12px 0;
}

.side-nav a {
  font-size: 0.95rem;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.side-nav a:hover,
.side-nav a:focus {
  border-color: var(--accent);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
}

.hero-content {
  flex: 1 1 320px;
  min-width: 280px;
}

.hero-media {
  flex: 1 1 360px;
  min-width: 260px;
  background: var(--stone);
  padding: 12px;
  border-radius: 18px;
  transform: translateY(12px);
}

.hero-media img {
  border-radius: 14px;
  height: 360px;
  width: 100%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  border: none;
}

.btn.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn:hover,
.btn:focus {
  background: var(--accent-dark);
  color: var(--white);
}

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}

.split.reverse {
  flex-direction: row-reverse;
}

.split .panel {
  flex: 1 1 280px;
  min-width: 260px;
}

.panel-image {
  background: var(--sage);
  padding: 10px;
  border-radius: 16px;
}

.panel-image img {
  width: 100%;
  height: 280px;
  border-radius: 12px;
}

.offset-card {
  background: var(--white);
  padding: 28px;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(15, 26, 36, 0.08);
  max-width: 520px;
  margin-left: 8%;
}

.card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  flex: 1 1 240px;
  min-width: 220px;
  background: var(--white);
  padding: 18px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 10px 25px rgba(15, 26, 36, 0.06);
}

.card .price {
  font-weight: 700;
  color: var(--accent-dark);
}

.card img {
  height: 160px;
  width: 100%;
  border-radius: 12px;
}

.tinted {
  background: var(--night);
  color: var(--white);
  padding: 36px;
  border-radius: 20px;
}

.tinted a {
  color: #b7d4ff;
}

.bg-section {
  position: relative;
  padding: 40px;
  border-radius: 22px;
  overflow: hidden;
  background: #273444;
  color: var(--white);
}

.bg-section img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.25;
}

.bg-section .bg-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.list-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.list-grid .item {
  flex: 1 1 260px;
  min-width: 230px;
  background: var(--stone);
  padding: 16px;
  border-radius: 14px;
}

.form-wrap {
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 16px 30px rgba(15, 26, 36, 0.08);
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

input,
select,
textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--stone);
  font-size: 1rem;
}

label {
  font-weight: 600;
}

.footer {
  background: var(--white);
  padding: 40px 6vw 60px;
  border-top: 1px solid var(--stone);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.footer .col {
  flex: 1 1 220px;
  min-width: 200px;
}

.footer small {
  color: var(--muted);
}

.disclaimer {
  background: var(--sand);
  padding: 18px;
  border-radius: 14px;
  color: var(--muted);
}

.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: var(--accent);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 12px 20px rgba(15, 26, 36, 0.2);
  z-index: 8;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  background: var(--white);
  border-radius: 16px;
  padding: 18px 20px;
  display: none;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 16px 30px rgba(15, 26, 36, 0.2);
  z-index: 10;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-actions button {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
}

.cookie-actions .accept {
  background: var(--accent);
  color: var(--white);
}

.cookie-actions .reject {
  background: var(--stone);
  color: var(--ink);
}

.notice {
  background: var(--sage);
  padding: 18px;
  border-radius: 14px;
}

@media (max-width: 900px) {
  .page {
    flex-direction: column;
  }

  .side-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .offset-card {
    margin-left: 0;
  }

  .sticky-cta {
    right: 14px;
    left: 14px;
    text-align: center;
  }
}
