* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --bg: #f7f5f2;
  --ink: #1f1f1f;
  --muted: #5c5c5c;
  --accent: #6a4aa1;
  --accent-dark: #4c3378;
  --soft: #efe9f7;
  --sand: #f3efe8;
  --border: #e1d9cf;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

header {
  padding: 28px 0 12px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.3px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  font-size: 0.95rem;
}

.ad-label {
  background: var(--soft);
  color: var(--accent-dark);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
}

.btn {
  background: var(--accent);
  color: white;
  padding: 10px 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn:hover,
.btn:focus {
  background: var(--accent-dark);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn-ghost:hover,
.btn-ghost:focus {
  background: var(--accent);
  color: white;
}

.btn-inline {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 2px solid transparent;
}

.btn-inline:hover,
.btn-inline:focus {
  border-bottom-color: var(--accent);
}

main {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding: 20px 0 80px;
}

.split {
  display: flex;
  gap: 32px;
  align-items: stretch;
}

.split.reverse {
  flex-direction: row-reverse;
}

.split .text {
  flex: 1 1 52%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 0;
}

.split .media {
  flex: 1 1 48%;
  border-radius: 22px;
  overflow: hidden;
  background: var(--sand);
  min-height: 320px;
}

.hero {
  align-items: center;
}

.hero .text h1 {
  font-size: clamp(2.1rem, 3.5vw, 3rem);
}

.meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.meta-card {
  flex: 1 1 160px;
  background: white;
  border-radius: 16px;
  padding: 14px;
  border: 1px solid var(--border);
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  flex: 1 1 240px;
  background: white;
  border-radius: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price {
  font-weight: 700;
  color: var(--accent-dark);
}

.section-bg {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #d9d3cc;
  padding: 36px;
}

.section-bg .bg-img {
  position: absolute;
  inset: 0;
  opacity: 0.2;
}

.section-bg .content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.testimonial {
  background: white;
  border-radius: 20px;
  padding: 18px;
  border: 1px solid var(--border);
}

.form-card {
  background: white;
  border-radius: 22px;
  padding: 24px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
}

input,
select,
textarea {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 1rem;
  background: #fff;
}

.sticky-cta {
  position: sticky;
  top: 16px;
  align-self: flex-start;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(320px, 100%);
}

footer {
  background: #1e1c1a;
  color: #f6f2ee;
  padding: 36px 0;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-col {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.95rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  left: 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  z-index: 20;
}

#cookie-banner.hidden {
  display: none;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.notice {
  color: var(--muted);
  font-size: 0.95rem;
}

.hidden {
  display: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 600;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.list-item {
  padding: 10px 12px;
  background: white;
  border-radius: 14px;
  border: 1px solid var(--border);
}

@media (max-width: 900px) {
  .split,
  .split.reverse {
    flex-direction: column;
  }

  .sticky-cta {
    position: static;
    width: 100%;
  }

  #cookie-banner {
    right: 12px;
    left: 12px;
  }
}
