* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f6f4f0;
  --ink: #1f2a26;
  --accent: #2f6f5f;
  --accent-dark: #214f44;
  --muted: #6a776f;
  --paper: #ffffff;
  --sand: #efe9e1;
  --sun: #f2d074;
  --shadow: rgba(31, 42, 38, 0.12);
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, 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;
}

a:hover {
  color: var(--accent-dark);
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.sidebar {
  background: var(--paper);
  border-bottom: 1px solid #e3ded6;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.brand img {
  width: 40px;
  height: 40px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav a {
  font-weight: 600;
  color: var(--ink);
}

.nav a span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.sidebar-cta {
  background: var(--accent);
  color: #fff;
  padding: 12px 16px;
  border-radius: 18px;
  font-weight: 600;
  text-align: center;
}

.sidebar-meta {
  font-size: 13px;
  color: var(--muted);
}

.content {
  flex: 1;
}

main {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px 20px 120px;
}

.section {
  background: var(--paper);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 18px 40px var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section h2,
.section h3 {
  line-height: 1.2;
}

.section.hero {
  background: linear-gradient(120deg, rgba(47, 111, 95, 0.12), rgba(242, 208, 116, 0.4));
  padding: 28px;
}

.section.highlight {
  background: #fff6df;
}

.highlight-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.button {
  border: none;
  border-radius: 18px;
  padding: 12px 18px;
  font-weight: 600;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.button.secondary {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.split {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.split .panel {
  flex: 1;
  background: var(--sand);
  padding: 18px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stacked-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fdfbf8;
  border: 1px solid #e7e1d9;
  padding: 16px;
  border-radius: 18px;
}

.card img {
  width: 100%;
  border-radius: 16px;
}

.metrics {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.metric {
  background: var(--sand);
  padding: 14px;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.quote {
  background: #1f2a26;
  color: #fff;
  border-radius: 22px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quote span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.pricing-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.price-item {
  background: #f7f2ea;
  border: 1px solid #e7e0d7;
  padding: 16px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.price-item strong {
  font-size: 20px;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison .row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fdfbf8;
  border-radius: 16px;
  padding: 14px;
}

.form-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-weight: 600;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #d9d3cb;
  font-size: 15px;
}

.service-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #ded8cf;
  border-radius: 14px;
  padding: 10px 12px;
}

.service-pill input {
  width: auto;
}

.bg-texture {
  background-image: url("../assets/images/texture.svg");
  background-size: cover;
  background-position: center;
}

.footer {
  background: var(--paper);
  border-top: 1px solid #e3ded6;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sticky-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: var(--accent-dark);
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 20;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 80px;
  background: #fff;
  border: 1px solid #e1dbd2;
  border-radius: 18px;
  padding: 16px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 15;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-actions button {
  padding: 10px 14px;
  border-radius: 14px;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.accept {
  background: var(--accent);
  color: #fff;
}

.reject {
  background: #efe9e1;
  color: var(--ink);
}

.page-title {
  font-size: 28px;
}

.simple-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 900px) {
  .page {
    flex-direction: row;
  }

  .sidebar {
    width: 280px;
    border-right: 1px solid #e3ded6;
    border-bottom: none;
    min-height: 100vh;
  }

  main {
    padding: 40px 50px 140px;
  }

  .hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .highlight-inner {
    flex-direction: row;
    align-items: center;
  }

  .hero-actions {
    flex-direction: row;
  }

  .split {
    flex-direction: row;
  }

  .stacked-cards {
    flex-direction: row;
  }

  .stacked-cards .card {
    flex: 1;
  }

  .metrics {
    flex-direction: row;
  }

  .metric {
    flex: 1;
  }

  .pricing-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .price-item {
    flex: 1 1 240px;
  }

  .comparison {
    flex-direction: row;
  }

  .comparison .row {
    flex: 1;
  }

  .form-grid {
    flex-direction: row;
  }

  .form-grid .field {
    flex: 1;
  }

  .cookie-actions {
    flex-direction: row;
  }
}
