* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --ink: #1c1c1c;
  --muted: #5f5f5f;
  --accent: #2f6f6b;
  --accent-dark: #1f4d4a;
  --soft: #f5f1ec;
  --warm: #fde8d2;
  --cool: #e4f1ef;
  --card: #ffffff;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #faf8f4;
  line-height: 1.6;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.sidebar {
  background: var(--soft);
  padding: 28px 20px;
  border-bottom: 1px solid #e5ded6;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.tagline {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.nav a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

main {
  flex: 1;
}

section {
  padding: 56px 20px;
}

.hero {
  background: linear-gradient(120deg, rgba(250, 248, 244, 0.9), rgba(250, 248, 244, 0.72)),
    url("https://images.unsplash.com/photo-1517849845537-4d257902454a?auto=format&fit=crop&w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.hero p {
  max-width: 520px;
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.btn {
  border: none;
  padding: 12px 20px;
  background: var(--accent);
  color: white;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn.secondary {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent-dark);
}

.btn.light {
  background: white;
  color: var(--accent-dark);
  border: 1px solid #d6cfc7;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.split.reverse {
  flex-direction: column-reverse;
}

.split img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.panel {
  background: var(--card);
  padding: 24px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stat {
  background: var(--cool);
  border-radius: 16px;
  padding: 18px;
}

.stat h3 {
  margin: 0;
  font-size: 1.4rem;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: var(--card);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-body {
  padding: 18px;
}

.price {
  font-weight: 700;
  color: var(--accent-dark);
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote {
  background: var(--warm);
  padding: 18px;
  border-radius: 16px;
}

.highlight {
  background: #fff7ee;
}

.layered {
  position: relative;
}

.layered::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: -18px;
  width: 60%;
  height: 50%;
  background: var(--cool);
  z-index: -1;
  border-radius: 20px;
}

.form-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-weight: 600;
  font-size: 0.9rem;
}

input,
select,
textarea {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #d8d2c8;
  font-size: 1rem;
  font-family: inherit;
}

.inline-link {
  font-weight: 600;
  border-bottom: 1px solid transparent;
}

.inline-link:hover {
  border-bottom: 1px solid var(--accent-dark);
}

.muted {
  color: var(--muted);
}

.sticky-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: var(--accent);
  color: white;
  padding: 12px 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  z-index: 10;
}

.sticky-cta a {
  color: white;
  font-weight: 600;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 16px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 20;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer {
  background: #111;
  color: #e5e5e5;
  padding: 32px 20px;
  font-size: 0.9rem;
}

.footer a {
  color: #e5e5e5;
}

@media (min-width: 900px) {
  .page {
    flex-direction: row;
  }

  .sidebar {
    width: 230px;
    min-height: 100vh;
    border-bottom: none;
    border-right: 1px solid #e5ded6;
    position: relative;
  }

  .nav {
    flex-direction: column;
    gap: 12px;
  }

  section {
    padding: 70px 60px;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .split {
    flex-direction: row;
    align-items: center;
  }

  .split.reverse {
    flex-direction: row-reverse;
  }

  .split > div,
  .split > img {
    flex: 1;
  }

  .stats {
    flex-direction: row;
  }

  .cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 calc(50% - 16px);
  }

  .testimonial {
    flex-direction: row;
  }

  .form-wrap {
    flex-direction: row;
  }

  .form-wrap > div,
  .form-wrap > form {
    flex: 1;
  }

  .cookie-banner {
    left: auto;
    right: 30px;
    max-width: 380px;
  }
}
