* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --ink: #0b1720;
  --muted: #44535f;
  --accent: #0e6b7a;
  --accent-dark: #0a4d59;
  --surface: #f5f7f6;
  --surface-strong: #e6ece9;
  --highlight: #ffe8c2;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  display: block;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.side-nav {
  background: var(--surface);
  padding: 24px 20px;
  border-bottom: 1px solid #d9e0dd;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.brand span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  padding: 20px 0 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-weight: 600;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--accent);
}

.content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.top-bar {
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: 1px solid #e2e6e4;
}

.top-bar .cta-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  border-radius: 999px;
  border: none;
}

.btn.secondary {
  background: #ffffff;
  color: var(--accent-dark);
  border: 1px solid var(--accent);
}

.btn.text {
  background: transparent;
  color: var(--accent-dark);
  border-bottom: 2px solid var(--accent);
  border-radius: 0;
  padding: 4px 0;
}

main {
  display: flex;
  flex-direction: column;
}

section {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero {
  background: var(--surface);
}

.hero .hero-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero h1 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin: 0;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero .hero-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.split-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.story-panel {
  background: var(--highlight);
  border-radius: 14px;
  padding: 18px;
}

.image-panel {
  background: var(--surface-strong);
  border-radius: 16px;
  padding: 16px;
}

.quote-bar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-left: 4px solid var(--accent);
  background: #f9fbfb;
}

.card-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: #ffffff;
  border: 1px solid #e3e8e6;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 20px rgba(12, 26, 33, 0.06);
}

.card .price {
  font-weight: 700;
  color: var(--accent-dark);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px dashed #ccd6d3;
}

.layered {
  background: #f0f4f3;
  position: relative;
  overflow: hidden;
}

.layered::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(14, 107, 122, 0.12);
}

.sticky-cta {
  position: sticky;
  top: 16px;
  align-self: flex-start;
  padding: 12px 18px;
  background: #0f7c8d;
  color: #ffffff;
  border-radius: 10px;
  font-weight: 600;
}

.form-shell {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #dde3e0;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #cdd6d3;
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.footer {
  margin-top: auto;
  padding: 24px;
  background: var(--surface);
  border-top: 1px solid #d9e0dd;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #0f171c;
  color: #ffffff;
  padding: 16px;
  border-radius: 12px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-actions .btn {
  width: 100%;
}

.muted {
  color: var(--muted);
}

.list-plain {
  padding-left: 18px;
}

@media (min-width: 880px) {
  .page {
    flex-direction: row;
  }

  .side-nav {
    width: 240px;
    min-height: 100vh;
    border-right: 1px solid #d9e0dd;
    border-bottom: none;
  }

  .top-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .top-bar .cta-row {
    flex-direction: row;
  }

  section {
    padding: 40px 48px;
  }

  .hero .hero-grid {
    flex-direction: row;
    align-items: center;
  }

  .split-row {
    flex-direction: row;
    align-items: center;
  }

  .card-row {
    flex-direction: row;
  }

  .card {
    flex: 1;
  }

  .steps {
    flex-direction: row;
  }

  .step {
    flex: 1;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 18px;
  }

  .cookie-actions {
    flex-direction: row;
    justify-content: flex-end;
  }

  .cookie-actions .btn {
    width: auto;
  }
}
