* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --ink: #1a1a1a;
  --muted: #5b5f66;
  --accent: #1d5f7a;
  --accent-soft: #e3f2f7;
  --sand: #f6f2ee;
  --surface: #ffffff;
  --border: #e3e5e8;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

a {
  color: inherit;
  text-decoration: none;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  background: var(--surface);
  padding: 32px 24px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brand span {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--muted);
}

.brand strong {
  font-size: 22px;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav a {
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--sand);
  font-weight: 500;
}

.nav a:hover {
  background: var(--accent-soft);
}

.sidebar-note {
  font-size: 14px;
  color: var(--muted);
}

.sidebar-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
}

.btn.ghost {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn.sand {
  background: var(--sand);
  border-color: var(--border);
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-header {
  padding: 32px 32px 0 32px;
}

.page-header h1 {
  font-size: 34px;
  margin: 0 0 12px 0;
}

.page-header p {
  color: var(--muted);
  max-width: 640px;
}

.section {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section.alt {
  background: var(--surface);
}

.section.layered {
  position: relative;
  overflow: hidden;
  background: var(--accent-soft);
}

.section.layered::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29, 95, 122, 0.15), transparent);
  pointer-events: none;
}

.section.layered > * {
  position: relative;
  z-index: 1;
}

.section.backdrop {
  position: relative;
  background: url("https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1400&q=80")
    center/cover no-repeat;
  color: #fff;
}

.section.backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.section.backdrop > * {
  position: relative;
  z-index: 1;
}

.section.backdrop .btn {
  color: #1a1a1a;
  background: #f8d48f;
}

.hero {
  gap: 24px;
  background: url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1400&q=80") center/cover no-repeat;
  color: #fff;
  min-height: 320px;
  justify-content: flex-end;
}

.hero .hero-card {
  background: rgba(0, 0, 0, 0.65);
  padding: 24px;
  border-radius: 20px;
  max-width: 560px;
}

.hero .hero-card h2 {
  margin: 0 0 12px 0;
  font-size: 28px;
}

.hero .hero-card p {
  margin: 0 0 18px 0;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.split.reverse {
  flex-direction: column-reverse;
}

.inline-cta {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
}

.card-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--surface);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card img {
  border-radius: 12px;
  height: 140px;
  width: 100%;
  object-fit: cover;
}

.card h4 {
  margin: 0;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--sand);
  font-size: 13px;
}

.service-price {
  font-weight: 700;
  color: var(--accent);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.timeline-step {
  background: var(--accent);
  color: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 600;
}

.form-panel {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border);
}

.service-choices {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.service-choice {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--sand);
}

.service-choice input {
  margin-right: 8px;
}

.fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-group input,
.field-group select {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 16px;
}

.form-status {
  color: var(--accent);
  min-height: 20px;
}

.sticky-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #f89d3a;
  color: #1a1a1a;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 20;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 30;
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer {
  padding: 24px 32px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
}

.muted {
  color: var(--muted);
}

@media (min-width: 900px) {
  .sidebar {
    width: 280px;
    position: relative;
  }

  .page-header h1 {
    font-size: 42px;
  }

  .split {
    flex-direction: row;
    align-items: center;
  }

  .split.reverse {
    flex-direction: row-reverse;
  }

  .card-row {
    flex-direction: row;
  }

  .card {
    flex: 1;
  }

  .service-choices {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .service-choice {
    flex: 1 1 220px;
  }

  .timeline {
    flex-direction: row;
  }

  .timeline-item {
    flex: 1;
  }

  .cookie-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
