* {
  box-sizing: border-box;
}

:root {
  --bg: #f6f5f2;
  --ink: #1d1f21;
  --muted: #4b5563;
  --accent: #1f6f8b;
  --accent-dark: #165465;
  --sand: #ebe6dc;
  --fog: #e3ecef;
  --line: #d7d2c7;
}

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,
button:hover {
  opacity: 0.9;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 280px;
  background: #ffffff;
  border-right: 1px solid var(--line);
  padding: 28px 24px;
  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: var(--fog);
  padding: 6px 8px;
  border-radius: 6px;
  line-height: 1.4;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav a {
  font-weight: 600;
}

.sidebar-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
}

.btn.secondary {
  background: var(--sand);
  color: var(--ink);
}

.content {
  flex: 1;
  padding: 32px 36px 80px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.hero {
  display: flex;
  gap: 28px;
  align-items: stretch;
  background: var(--fog);
  border-radius: 16px;
  padding: 24px;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-image {
  flex: 1;
  min-height: 280px;
  border-radius: 14px;
  overflow: hidden;
  background: #c7d4d8;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section {
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--line);
}

.split {
  display: flex;
  gap: 24px;
  align-items: center;
}

.split.reverse {
  flex-direction: row-reverse;
}

.split .image-box {
  flex: 1;
  min-height: 220px;
  border-radius: 12px;
  overflow: hidden;
  background: #d2ddd8;
}

.split .image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split .text-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.card {
  flex: 1 1 240px;
  background: var(--sand);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  border: 1px solid var(--line);
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  background: #d7d0c4;
}

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price {
  font-weight: 700;
  color: var(--accent-dark);
}

.highlight {
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inline-cta {
  font-weight: 600;
  text-decoration: underline;
}

.form-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 16px;
}

.form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.form-row > div {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer {
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sticky-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--accent);
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  border: none;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 12px;
  width: 320px;
  display: none;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

.banner-button {
  flex: 1;
  border-radius: 8px;
  border: none;
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 600;
}

.banner-accept {
  background: var(--accent);
  color: #fff;
}

.banner-reject {
  background: var(--sand);
  color: var(--ink);
}

.note-box {
  border-left: 4px solid var(--accent);
  padding-left: 12px;
  color: var(--muted);
}

.image-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.image-row img {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  object-fit: cover;
  background: #cfd9de;
}

.image-row .image-cell {
  flex: 1 1 220px;
  display: flex;
  background: #cfd9de;
}

.simple-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-block {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 14px;
}

@media (max-width: 900px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--line);
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero,
  .split,
  .split.reverse {
    flex-direction: column;
  }

  .sticky-cta {
    right: 12px;
    bottom: 12px;
  }
}
