* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink: #1d1f23;
  --muted: #5c6672;
  --paper: #f6f2ee;
  --accent: #2d5b7b;
  --accent-soft: #dce7f1;
  --warm: #efe1d4;
  --line: #e2d6c9;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fbf8f5;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: var(--paper);
  padding: 32px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.ad-label {
  font-size: 12px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px;
  line-height: 1.4;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
}

.nav a {
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
}

.sidebar-cta {
  margin-top: auto;
  padding: 14px 12px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-weight: 600;
}

.main {
  flex: 1;
  padding: 40px 50px 80px;
}

.hero {
  display: flex;
  gap: 32px;
  align-items: stretch;
  background: var(--paper);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 40px;
}

.hero-text {
  flex: 1.1;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-text h1 {
  font-size: 36px;
  line-height: 1.15;
}

.hero-media {
  flex: 1;
  min-height: 320px;
  background: #c8d3da;
}

.hero-media img {
  width: 100%;
  height: 100%;
}

.section {
  margin: 42px 0;
  display: flex;
  gap: 28px;
  align-items: center;
}

.section.reverse {
  flex-direction: row-reverse;
}

.section.full {
  flex-direction: column;
  align-items: stretch;
  background: var(--warm);
  padding: 32px;
  border-radius: 20px;
}

.section h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.section p {
  color: var(--muted);
}

.image-frame {
  flex: 1;
  background: #d9dee3;
  border-radius: 20px;
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: 260px;
}

.text-block {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.card {
  flex: 1 1 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card img {
  width: 100%;
  height: 150px;
  border-radius: 12px;
  background: #d9dee3;
}

.card h3 {
  font-size: 18px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.button.secondary {
  background: #fff;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.form-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-shell label {
  font-weight: 600;
  font-size: 14px;
}

.form-shell input,
.form-shell select,
.form-shell textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 15px;
}

.form-shell textarea {
  resize: vertical;
  min-height: 110px;
}

.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  padding: 14px 18px;
  border-radius: 18px;
  background: var(--accent);
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.footer {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 30;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-text {
  flex: 1;
  color: var(--muted);
  font-size: 14px;
}

.two-column {
  display: flex;
  gap: 20px;
  align-items: stretch;
  flex-wrap: wrap;
}

.two-column .panel {
  flex: 1 1 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.reference-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.muted {
  color: var(--muted);
}

.spaced {
  margin-top: 18px;
}

@media (max-width: 980px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .sidebar-cta {
    width: 100%;
  }

  .main {
    padding: 32px 24px 90px;
  }

  .hero,
  .section {
    flex-direction: column;
  }

  .sticky-cta {
    right: 16px;
    left: 16px;
    bottom: 16px;
  }
}
