* {
  box-sizing: border-box;
}

:root {
  --ink: #1a1c1f;
  --muted: #5b626a;
  --surface: #f4f1ed;
  --accent: #2f6f6c;
  --accent-dark: #21514f;
  --warm: #f9efe3;
  --line: #d9d1c7;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fbfaf8;
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

a {
  color: var(--accent);
  text-decoration: none;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: var(--surface);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-right: 1px solid var(--line);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brand h1 {
  font-size: 20px;
  margin: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ad-label {
  font-size: 12px;
  color: var(--muted);
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  width: fit-content;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

nav a {
  font-weight: 600;
}

.sidebar-meta {
  font-size: 14px;
  color: var(--muted);
}

.main {
  flex: 1;
  padding: 32px 6vw 64px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero {
  display: flex;
  gap: 32px;
  align-items: stretch;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-text h1 {
  font-size: 38px;
  margin: 0;
}

.hero-media {
  flex: 1;
  background: #dfe7e2;
  border-radius: 18px;
  overflow: hidden;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 24px;
  font-weight: 600;
  width: fit-content;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-heading h2 {
  margin: 0;
  font-size: 28px;
}

.split-row {
  display: flex;
  gap: 28px;
}

.split-row.reverse {
  flex-direction: row-reverse;
}

.panel {
  flex: 1;
  background: var(--warm);
  padding: 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panel img {
  border-radius: 14px;
}

.image-frame {
  background: #e6e1da;
  border-radius: 14px;
  overflow: hidden;
}

.image-frame img {
  border-radius: 14px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.card {
  flex: 1 1 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-body h3 {
  margin: 0;
}

.chip {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e2ecea;
  color: var(--accent-dark);
  font-size: 13px;
  width: fit-content;
}

.layered {
  position: relative;
  padding: 28px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.layered::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  right: -12px;
  bottom: -12px;
  background: #efe6dc;
  border-radius: 18px;
  z-index: -1;
}

.sticky-cta {
  position: sticky;
  top: 24px;
  align-self: flex-start;
  background: #233331;
  color: #fff;
  padding: 18px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sticky-cta a {
  color: #fff;
  text-decoration: underline;
}

.form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 15px;
}

button {
  padding: 12px 18px;
  border-radius: 24px;
  border: none;
  background: var(--accent-dark);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.footer {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-banner {
  position: fixed;
  bottom: 16px;
  right: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  max-width: 320px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 30;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  flex: 1;
}

.legal-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-note {
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .hero,
  .split-row {
    flex-direction: column;
  }

  .sticky-cta {
    position: static;
  }
}
