*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #f7f4ef;
  --ink: #1f1c17;
  --muted: #5b554a;
  --accent: #c84f3a;
  --accent-soft: #f3d3c6;
  --surface: #ffffff;
  --deep: #1d1c1a;
  --line: #e4ddd4;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", 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;
  flex-direction: column;
  min-height: 100vh;
}

.sidebar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem;
}

.brand {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}

.nav {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.nav a {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--bg);
}

.sidebar-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.content {
  flex: 1;
}

.section {
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section--light {
  background: var(--surface);
}

.section--accent {
  background: var(--accent-soft);
}

.section--deep {
  background: var(--deep);
  color: #f5f2ee;
}

.section--image {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.65)),
    url("https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.section-title {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  margin: 0;
}

.section-subtitle {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-weight: 600;
  background: var(--ink);
  color: #f5f2ee;
}

.button--ghost {
  background: transparent;
  color: var(--ink);
}

.button--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fffaf5;
}

.inline-link {
  color: var(--accent);
  font-weight: 600;
}

.card-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card strong {
  font-size: 1.1rem;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.split img {
  border-radius: 1rem;
}

.stat-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stat {
  background: var(--surface);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  border: 1px solid var(--line);
}

.quote {
  font-size: 1.1rem;
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
}

.services {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-card {
  background: var(--surface);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-card span {
  font-weight: 700;
  color: var(--accent);
}

.form-wrapper {
  background: var(--surface);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
}

input,
select,
textarea {
  padding: 0.75rem 0.9rem;
  border-radius: 0.8rem;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 1rem;
}

.sticky-cta {
  position: sticky;
  top: 1rem;
  align-self: flex-start;
  background: var(--accent);
  color: #fffaf5;
  padding: 1rem 1.4rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 16rem;
}

.sticky-cta .button {
  background: #fffaf5;
  color: var(--accent);
  border-color: #fffaf5;
}

.media-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.media-row img {
  border-radius: 1rem;
}

.footer {
  padding: 2rem 1.5rem;
  background: var(--surface);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: var(--deep);
  color: #f5f2ee;
  padding: 1.2rem;
  border-radius: 1rem;
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 10;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-actions button {
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  border: 1px solid #f5f2ee;
  background: transparent;
  color: inherit;
  font-weight: 600;
}

@media (min-width: 900px) {
  .page {
    flex-direction: row;
  }

  .sidebar {
    width: 260px;
    border-right: 1px solid var(--line);
    border-bottom: none;
    min-height: 100vh;
  }

  .content {
    width: calc(100% - 260px);
  }

  .section {
    padding: 3.5rem 3.5rem;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 calc(50% - 1rem);
    min-width: 220px;
  }

  .split {
    flex-direction: row;
    align-items: center;
  }

  .split.reverse {
    flex-direction: row-reverse;
  }

  .stat-row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .services {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .service-card {
    flex: 1 1 calc(50% - 1rem);
    min-width: 240px;
  }

  .media-row {
    flex-direction: row;
    align-items: stretch;
  }

  .media-row .card {
    flex: 1;
  }

  .cookie-banner {
    left: auto;
    right: 2rem;
    max-width: 360px;
  }
}
