:root {
  color: #1c3344;
  background-color: #f4f1ec;
  font-family: "Inter", "Segoe UI", "Arial", sans-serif;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #f4f1ec;
  color: #1c3344;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.sidebar {
  background-color: #1c3344;
  color: #f4f1ec;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar nav a {
  color: #f4f1ec;
  font-weight: 500;
}

.sidebar .sticky-cta {
  position: sticky;
  top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.2rem;
  background-color: #e3bda3;
  border-radius: 14px;
  color: #1c3344;
}

.sidebar .sticky-cta .button {
  background-color: #1c3344;
  color: #f4f1ec;
}

.content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

section {
  padding: 2rem 1.5rem;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.story-hero {
  background-image: url("assets/hero.svg");
  background-size: cover;
  background-position: center;
  color: #1c3344;
  min-height: 360px;
  justify-content: flex-end;
}

.story-hero .hero-card {
  background-color: rgba(244, 241, 236, 0.92);
  padding: 1.6rem;
  border-radius: 18px;
  max-width: 520px;
}

.inline-link {
  text-decoration: underline;
  font-weight: 600;
}

.split-row {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.tone-warm {
  background-color: #e6ded2;
}

.tone-deep {
  background-color: #1c3344;
  color: #f4f1ec;
}

.tone-light {
  background-color: #f7f4f0;
}

.tone-accent {
  background-color: #c9d8d4;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card {
  background-color: #f4f1ec;
  border-radius: 16px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  border: 1px solid rgba(28, 51, 68, 0.1);
}

.card img {
  border-radius: 12px;
}

.pricing-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-card {
  background-color: #f4f1ec;
  border-radius: 16px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  border: 1px solid rgba(28, 51, 68, 0.15);
}

.price {
  font-size: 1.4rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  background-color: #e3bda3;
  color: #1c3344;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.button.alt {
  background-color: #1c3344;
  color: #f4f1ec;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background-color: #f4f1ec;
  border-radius: 14px;
}

.form-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

input,
select,
textarea {
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(28, 51, 68, 0.3);
  font-size: 1rem;
  font-family: inherit;
}

.footer {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-banner {
  position: fixed;
  bottom: 1.2rem;
  right: 1.2rem;
  left: 1.2rem;
  background-color: #1c3344;
  color: #f4f1ec;
  padding: 1rem;
  border-radius: 16px;
  display: none;
  gap: 1rem;
  z-index: 999;
}

.cookie-banner.visible {
  display: flex;
  flex-direction: column;
}

.cookie-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

@media (min-width: 900px) {
  .page {
    flex-direction: row;
  }

  .sidebar {
    width: 280px;
    min-height: 100vh;
  }

  .content {
    padding: 2.5rem;
  }

  .split-row {
    flex-direction: row;
    align-items: center;
  }

  .split-row.reverse {
    flex-direction: row-reverse;
  }

  .cards {
    flex-direction: row;
  }

  .pricing-grid {
    flex-direction: row;
  }

  .cookie-banner {
    left: auto;
    max-width: 420px;
  }
}
