*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #f7f4ef;
  --ink: #1f1b16;
  --muted: #6f665c;
  --accent: #8b3a3a;
  --accent-light: #f1d7d3;
  --sand: #efe7dd;
  --ivory: #fffdf9;
  --shadow: 0 20px 50px rgba(31, 27, 22, 0.12);
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

header {
  display: flex;
  flex-direction: column;
  padding: 24px 18px 10px;
  gap: 16px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--ink);
}

.hero {
  position: relative;
  background: url("https://images.unsplash.com/photo-1483985988355-763728e1935b?auto=format&fit=crop&w=1200&q=80")
    center/cover no-repeat;
  color: #fff;
  padding: 80px 18px 100px;
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(24, 17, 14, 0.78), rgba(24, 17, 14, 0.2));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.hero h1 {
  font-size: 2.2rem;
  margin: 0 0 12px;
}

.hero p {
  margin: 0 0 22px;
  color: #f2eee9;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 0;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section {
  padding: 40px 0;
}

.section-muted {
  background: var(--sand);
}

.section-ivory {
  background: var(--ivory);
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.split.reverse {
  flex-direction: column;
}

.split .media {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: #fff;
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card img {
  border-radius: 18px;
  height: 180px;
  object-fit: cover;
}

.kicker {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.overlap {
  margin-top: -40px;
  background: #fff;
  padding: 30px;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.testimonial {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
}

.pricing-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-card {
  border: 1px solid #e5ded3;
  border-radius: 20px;
  padding: 18px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.price {
  font-size: 1.3rem;
  font-weight: 700;
}

.form-panel {
  background: #fff;
  border-radius: 26px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

input,
select,
textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #d9d0c3;
  font-size: 1rem;
}

.cta-inline {
  display: inline-block;
  font-weight: 600;
}

.sticky-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
}

.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
  z-index: 30;
  display: none;
  flex-direction: column;
  gap: 12px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

footer {
  padding: 40px 0 60px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
}

.mini-banner {
  background: var(--accent-light);
  padding: 14px 18px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 820px) {
  header {
    padding: 30px 42px 14px;
  }

  .hero {
    padding: 110px 42px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .split {
    flex-direction: row;
    align-items: center;
  }

  .split.reverse {
    flex-direction: row-reverse;
  }

  .cards {
    flex-direction: row;
  }

  .card {
    flex: 1;
  }

  .pricing-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .price-card {
    flex: 1;
    min-width: 240px;
  }

  .form-panel {
    padding: 32px;
  }
}
