:root {
  --bg: #f4f1ec;
  --panel: #ffffff;
  --ink: #1c2329;
  --muted: #5a6672;
  --accent: #4a6a82;
  --accent-soft: #dce6ee;
  --line: #cfd7de;
  --ok: #2f6f53;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.layout {
  min-height: 100vh;
  display: flex;
}

.sidebar {
  width: 290px;
  background: #141b20;
  color: #eff3f6;
  padding: 24px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.brand {
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  font-weight: 700;
}

.ad-label {
  background: #21303a;
  border-left: 3px solid #81a5c0;
  font-size: 0.85rem;
  line-height: 1.4;
  padding: 10px 12px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav a {
  color: #eff3f6;
  background: #1d2730;
  border: 1px solid #2a3844;
  border-radius: 8px;
  padding: 10px 12px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  background: #263847;
  border-color: #6f8ea5;
  text-decoration: none;
}

.sidebar-note {
  margin-top: auto;
  font-size: 0.85rem;
  color: #d1dde6;
  line-height: 1.5;
}

.content {
  flex: 1;
  padding: 24px 28px 80px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  background: #0f1922;
  color: #eff3f6;
}

.hero-copy {
  flex: 1 1 360px;
  padding: 36px 34px;
}

.hero-copy h1 {
  margin: 0 0 14px;
  font-size: 2rem;
  line-height: 1.2;
}

.hero-copy p {
  margin: 0 0 18px;
  color: #c8d6e3;
  max-width: 58ch;
  line-height: 1.6;
}

.hero-media {
  flex: 1 1 320px;
  background: #2a3a4a;
  min-height: 300px;
}

img {
  display: block;
  max-width: 100%;
}

.hero-media img,
.card img,
.inline-media img,
.bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 10px 15px;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: #7da1bd;
  color: #102333;
}

.btn-secondary {
  background: #fff;
  color: #122637;
  border-color: #9db4c6;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: #9ab3c7;
}

.section {
  margin-top: 24px;
}

.section-inner {
  padding: 26px;
}

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.split > * {
  flex: 1 1 260px;
}

.kicker {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
}

h2,
h3 {
  margin-top: 0;
}

p {
  line-height: 1.6;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.card {
  flex: 1 1 260px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.card-media {
  height: 170px;
  background: #d5dfe7;
}

.card-body {
  padding: 16px;
}

.price {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
  color: #24394a;
}

.inline-media {
  min-height: 240px;
  border-radius: 12px;
  overflow: hidden;
  background: #d6dde3;
}

.quote {
  border-left: 4px solid #9db4c6;
  padding-left: 14px;
  color: #34424f;
  margin: 0 0 14px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #bcc9d5;
  font: inherit;
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.sticky-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: #1e313f;
  color: #e6edf3;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #3d5567;
}

.sticky-cta a {
  color: #d5e6f4;
  font-weight: 700;
}

.bg-media {
  min-height: 220px;
  background: #d1dae3;
}

.list {
  margin: 0;
  padding-left: 18px;
}

.footer {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  bottom: 18px;
  width: min(420px, calc(100vw - 36px));
  background: #11212d;
  color: #e8eff4;
  border: 1px solid #3b5568;
  border-radius: 12px;
  padding: 14px;
  z-index: 50;
}

.cookie-banner p {
  margin-top: 0;
  font-size: 0.92rem;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  flex: 1;
}

.hidden {
  display: none;
}

@media (max-width: 940px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    position: static;
    width: 100%;
    height: auto;
  }

  .content {
    padding: 16px 16px 90px;
  }
}
