*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --ink: #1c1c1a;
  --muted: #5f5b55;
  --sand: #f6f1eb;
  --clay: #e7ded4;
  --linen: #fbf9f6;
  --accent: #c86f4f;
  --accent-dark: #a35336;
  --olive: #6d7560;
  --shadow: 0 18px 36px rgba(28, 28, 26, 0.12);
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--linen);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.sidebar {
  background: #efe6dc;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.brand {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-weight: 600;
}

.side-nav a {
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

.side-nav a:hover {
  border-color: var(--accent);
}

.sidebar-cta {
  background: #fff;
  padding: 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-cta p {
  margin: 0;
  color: var(--muted);
}

.sidebar-cta a {
  align-self: flex-start;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

section {
  padding: 64px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-contrast {
  background: var(--sand);
}

.section-deep {
  background: #2d2c29;
  color: #f6f1eb;
}

.section-deep a {
  color: #f6f1eb;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.split.reverse {
  flex-direction: column-reverse;
}

.hero {
  padding-top: 56px;
  gap: 32px;
}

.hero-title {
  font-size: 2.4rem;
  line-height: 1.15;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid #d9cfc4;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 600;
}

.inline-cta {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 600;
}

.card-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow);
}

.card img {
  border-radius: 12px;
}

.metrics {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.metric {
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.testimonial-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial {
  background: #fff;
  padding: 20px;
  border-radius: 18px;
  border-left: 4px solid var(--accent);
}

.pricing-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-tag {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--olive);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.service-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  padding: 24px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.service-form label {
  font-weight: 600;
}

.service-form input,
.service-form select,
.service-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #d7ccc2;
  font-family: inherit;
}

.form-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer {
  padding: 32px 24px;
  background: #e9dfd3;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 600;
}

.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 24px;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow);
  z-index: 30;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: #2f2a26;
  color: #f6f1eb;
  padding: 18px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 40;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-banner.is-hidden {
  display: none;
}

.hero-media,
.media-block {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.media-block img {
  width: 100%;
  height: auto;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.checklist li::before {
  content: "•";
  color: var(--accent);
  margin-right: 8px;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-card {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.banner {
  background: var(--clay);
  padding: 18px 20px;
  border-radius: 14px;
  font-weight: 600;
}

@media (min-width: 900px) {
  .page {
    flex-direction: row;
  }

  .sidebar {
    width: 260px;
    min-height: 100vh;
  }

  .main {
    width: calc(100% - 260px);
  }

  section {
    padding: 80px 56px;
  }

  .split {
    flex-direction: row;
    align-items: center;
  }

  .split.reverse {
    flex-direction: row-reverse;
  }

  .card-row,
  .pricing-grid,
  .testimonial-row,
  .metrics,
  .process-steps,
  .contact-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card,
  .metric,
  .testimonial,
  .contact-card {
    flex: 1 1 calc(33% - 16px);
  }

  .pricing-grid .card {
    flex: 1 1 calc(50% - 16px);
  }

  .process-steps .step {
    flex: 1 1 calc(50% - 16px);
  }

  .service-form {
    max-width: 520px;
  }

  .cookie-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
