* {
  box-sizing: border-box;
}

:root {
  --ink: #1e2430;
  --muted: #5b667a;
  --bg: #f7f4ef;
  --accent: #2c6bed;
  --accent-dark: #234fb2;
  --sand: #efe6da;
  --slate: #1f2a3a;
  --mint: #e4f0ec;
  --line: #d8d2c9;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration: none;
}

header {
  padding: 24px 6%;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.brand {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.5px;
}

.ad-label {
  background: var(--sand);
  color: var(--slate);
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 12px;
}

.section {
  padding: 64px 6%;
}

.section.alt {
  background: #fff;
}

.section.muted {
  background: var(--mint);
}

.section.dark {
  background: var(--slate);
  color: #fff;
}

.split {
  display: flex;
  gap: 36px;
  align-items: center;
  flex-wrap: wrap;
}

.split.reverse {
  flex-direction: row-reverse;
}

.split .copy {
  flex: 1 1 320px;
  min-width: 280px;
}

.split .media {
  flex: 1 1 320px;
  min-width: 280px;
  background: #dfe5eb;
  border-radius: 18px;
  overflow: hidden;
}

.media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero h1 {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 18px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  border: 0;
  font-weight: 600;
}

.btn.secondary {
  background: #fff;
  color: var(--accent-dark);
  border: 1px solid var(--accent-dark);
}

.cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.card .card-body {
  padding: 18px;
}

.price {
  font-weight: 700;
  color: var(--accent-dark);
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--sand);
  border-radius: 12px;
  font-size: 12px;
}

.layer {
  background: #fff;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 12px 30px rgba(18, 24, 33, 0.08);
  margin-top: -40px;
}

.form-wrap {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--line);
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-weight: 600;
}

select,
input,
textarea {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
}

.inline-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.testimonial {
  padding: 18px 22px;
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.1);
}

.sticky-cta {
  position: sticky;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 12px 6%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

footer {
  background: #fff;
  padding: 32px 6%;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

.legal-note {
  max-width: 840px;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(18, 24, 33, 0.15);
  padding: 16px 18px;
  border-radius: 16px;
  max-width: 360px;
  display: none;
  z-index: 10;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.cookie-actions button {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 600;
  cursor: pointer;
}

.cookie-actions button.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.wide-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.meta-block {
  background: var(--sand);
  padding: 18px;
  border-radius: 14px;
  font-size: 14px;
}

@media (max-width: 820px) {
  .hero h1 {
    font-size: 32px;
  }

  .sticky-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
