* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f5f3ef;
  --ink: #1f2328;
  --muted: #6b6f75;
  --accent: #1f6feb;
  --accent-dark: #0b2d5c;
  --warm: #e9dfd1;
  --soft: #ffffff;
  --shadow: 0 20px 40px rgba(31, 35, 40, 0.1);
}

body {
  font-family: "Inter", "Segoe UI", 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;
}

.layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.sidebar {
  background: var(--soft);
  border-bottom: 1px solid #e4e0d9;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand span {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.85rem;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-weight: 500;
}

.nav a {
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.nav a:hover {
  border-color: var(--ink);
}

.sidebar-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: var(--warm);
  border-radius: 16px;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 24px;
}

.section {
  padding: 28px 20px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.section--hero {
  color: #fefefe;
  background-image: linear-gradient(120deg, rgba(9, 36, 82, 0.88), rgba(12, 70, 132, 0.7)), url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.section--hero .hero-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
}

.section--story {
  background: #f8f2e8;
}

.section--story .story-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section--insight {
  background: #fffaf4;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  padding: 18px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #ece7df;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.panel-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.panel {
  padding: 20px;
  border-radius: 18px;
  background: #f1f6ff;
}

.panel--overlap {
  background: #ffffff;
  box-shadow: var(--shadow);
}

.services {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f7f9fc;
}

.service strong {
  font-size: 1.1rem;
}

.service-price {
  font-weight: 700;
  color: var(--accent-dark);
}

.sticky-cta {
  background: #1f2328;
  color: #ffffff;
  padding: 16px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  background: #1558c0;
}

.button--ghost {
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
}

.button--light {
  background: #ffffff;
  color: #092452;
}

.inline-link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form label {
  font-weight: 600;
}

.form input,
.form select,
.form textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #ddd7cd;
  font-size: 1rem;
  background: #ffffff;
}

.form textarea {
  min-height: 120px;
}

.meta-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.meta-list span {
  color: var(--muted);
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.testimonial {
  padding: 16px;
  border-radius: 14px;
  background: #f4f0ea;
}

.footer {
  padding: 32px 24px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-banner {
  position: fixed;
  bottom: 16px;
  right: 16px;
  left: 16px;
  background: #1f2328;
  color: #ffffff;
  padding: 18px;
  border-radius: 16px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-banner button {
  border: none;
}

details {
  padding: 12px 0;
  border-bottom: 1px solid #e4e0d9;
}

details summary {
  font-weight: 600;
  cursor: pointer;
}

@media (min-width: 900px) {
  .layout {
    flex-direction: row;
  }

  .sidebar {
    width: 280px;
    border-right: 1px solid #e4e0d9;
    border-bottom: none;
    height: auto;
  }

  .content {
    padding: 40px;
  }

  .section {
    padding: 36px 40px;
  }

  .section--story .story-row,
  .split {
    flex-direction: row;
    align-items: center;
  }

  .cards {
    flex-direction: row;
  }

  .card {
    flex: 1;
  }

  .panel-wrap {
    flex-direction: row;
  }

  .panel {
    flex: 1;
  }

  .panel--overlap {
    transform: translateY(18px);
  }

  .services {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .service {
    flex: 1 1 45%;
  }

  .sticky-cta {
    position: sticky;
    top: 24px;
    align-self: flex-start;
  }

  .testimonials {
    flex-direction: row;
  }

  .testimonial {
    flex: 1;
  }

  .cookie-banner {
    left: auto;
    max-width: 420px;
  }
}
