* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --bg: #f7f4f1;
  --surface: #ffffff;
  --ink: #1e1a16;
  --muted: #6b6057;
  --accent: #2e6f6b;
  --accent-dark: #1d4d4a;
  --sand: #efe6dc;
  --peach: #f4d6c0;
  --lavender: #d8dbe8;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  font-size: 16px;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  flex: 0 0 250px;
  background: var(--surface);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-right: 1px solid #eee2d7;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand span {
  font-size: 0.95rem;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav a {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--sand);
  font-weight: 600;
  transition: background 0.2s ease;
}

.nav a:hover,
.nav a:focus {
  background: var(--peach);
}

.sidebar .cta-link {
  margin-top: auto;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-weight: 600;
}

main {
  flex: 1;
  padding: 32px 24px 90px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section {
  background: var(--surface);
  padding: 28px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 12px 30px rgba(30, 26, 22, 0.08);
}

.section.alt {
  background: var(--sand);
}

.section.patterned {
  background-image: url("assets/pattern.svg");
  background-size: cover;
  background-position: center;
}

.section.split {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section.split .split-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section.split .split-row .split-text {
  flex: 1;
}

.section.split .split-row .split-media {
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.section.hero {
  background: linear-gradient(135deg, #f4efe9 0%, #fff 100%);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.button.secondary {
  background: #fff;
  color: var(--accent-dark);
  border: 1px solid var(--accent-dark);
}

.inline-cta {
  font-weight: 600;
  color: var(--accent-dark);
  text-decoration: underline;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid #f0e5da;
}

.price {
  font-weight: 700;
  color: var(--accent-dark);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--lavender);
  font-weight: 600;
}

.testimonial {
  background: #fff;
  padding: 16px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent);
}

.form-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid #d5c8bb;
  font-size: 1rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: var(--accent-dark);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(30, 26, 22, 0.2);
  font-weight: 600;
  z-index: 10;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: #fff;
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 24px rgba(30, 26, 22, 0.2);
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 12;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-actions button {
  flex: 1;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--sand);
  padding: 18px;
  border-radius: var(--radius-md);
}

.split-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 900px) {
  .section.split .split-row,
  .split-row {
    flex-direction: row;
    align-items: center;
  }

  .cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 240px;
  }

  .form-row {
    flex-direction: row;
  }

  .form-row > div {
    flex: 1;
  }
}

@media (max-width: 960px) {
  .page {
    flex-direction: column;
  }

  .sidebar {
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 1px solid #eee2d7;
  }

  .sidebar .cta-link {
    margin-top: 0;
  }
}
