* {
  box-sizing: border-box;
}

:root {
  --ink: #1f2328;
  --muted: #5a6672;
  --bg: #f6f4f1;
  --panel: #ffffff;
  --accent: #2f5b7c;
  --accent-strong: #1f3e55;
  --sand: #efe8e0;
  --stone: #e1d9d1;
  --shadow: 0 14px 32px rgba(31, 35, 40, 0.12);
  --radius: 20px;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 280px;
  padding: 32px 24px;
  background: var(--panel);
  border-right: 1px solid rgba(31, 35, 40, 0.08);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.ad-label {
  font-size: 13px;
  color: var(--muted);
  background: var(--sand);
  padding: 10px 12px;
  border-radius: 12px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav a {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(47, 91, 124, 0.08);
  transition: background 0.2s ease;
}

.nav a:hover {
  background: rgba(47, 91, 124, 0.18);
}

.sidebar-cta {
  margin-top: auto;
  padding: 18px;
  border-radius: 16px;
  background: var(--accent);
  color: #fff;
  position: sticky;
  top: 20px;
}

.sidebar-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 10px 16px;
  background: #fff;
  color: var(--accent-strong);
  border-radius: 999px;
  font-weight: 600;
}

.content {
  flex: 1;
  padding: 40px 56px 120px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.hero {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #d9d1c8;
  padding: 48px;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(31, 35, 40, 0.7), rgba(31, 35, 40, 0.2));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 520px;
  color: #fff;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: 36px;
  line-height: 1.2;
}

.hero p {
  margin: 0 0 24px;
  font-size: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  transition: background 0.2s ease;
}

.btn:hover {
  background: var(--accent-strong);
}

.section {
  display: flex;
  gap: 32px;
  align-items: center;
}

.section.reverse {
  flex-direction: row-reverse;
}

.text-block {
  flex: 1;
}

.media-frame {
  flex: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: #d8d1c9;
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-bg {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #ded5cc;
  padding: 36px;
}

.section-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.25;
  z-index: 1;
}

.section-bg .text-block {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  flex: 1 1 220px;
  background: var(--panel);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card .price {
  font-weight: 700;
  color: var(--accent-strong);
}

.price {
  font-weight: 700;
  color: var(--accent-strong);
}

.inline-link {
  color: var(--accent);
  font-weight: 600;
}

.form-section {
  background: var(--panel);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(31, 35, 40, 0.2);
  font-size: 15px;
  background: #fff;
}

button {
  cursor: pointer;
  border: none;
}

.footer {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--panel);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--muted);
}

.disclaimer {
  font-size: 13px;
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: #fff;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 50;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
}

.btn-outline:hover {
  background: rgba(47, 91, 124, 0.12);
}

.legal-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.highlight-box {
  background: var(--sand);
  padding: 20px;
  border-radius: 16px;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.contact-card {
  flex: 1 1 220px;
  background: var(--panel);
  padding: 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.sticky-cta {
  position: sticky;
  top: 24px;
  align-self: flex-start;
  background: var(--stone);
  padding: 20px;
  border-radius: 16px;
  max-width: 260px;
}

@media (max-width: 980px) {
  .page {
    flex-direction: column;
  }

  .sidebar {
    width: auto;
    border-right: none;
    border-bottom: 1px solid rgba(31, 35, 40, 0.08);
  }

  .content {
    padding: 32px 24px 120px;
  }

  .section,
  .section.reverse {
    flex-direction: column;
  }

  .sticky-cta {
    position: static;
    max-width: none;
  }
}
