*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --ink: #1f1c1a;
  --muted: #6f625b;
  --cream: #f7f2ed;
  --olive: #6b6a47;
  --terracotta: #c86b4a;
  --sand: #efe4d6;
  --night: #2b2623;
  --accent: #eaa76b;
  --shadow: 0 18px 40px rgba(31, 28, 26, 0.15);
  --radius: 22px;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: #fffdfb;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  display: flex;
  flex-direction: column;
  gap: 72px;
  padding: 32px 20px 80px;
}

header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.brand-bar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.brand span {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.2em;
}

.nav-split {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
  font-size: 0.95rem;
}

.nav-split a {
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
}

.nav-split a:hover,
.nav-split a:focus {
  border-color: var(--terracotta);
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  padding: 32px 0 12px;
}

.hero .hero-copy {
  background: var(--cream);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 540px;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin: 0;
}

.hero p {
  margin: 0;
  color: var(--muted);
}

.hero .hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--night);
  color: #fff;
  padding: 8px 12px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--night);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--night);
  color: #fff;
  border-color: var(--night);
}

.btn.secondary {
  background: transparent;
  color: var(--night);
}

.btn.light {
  background: #fff;
  color: var(--night);
  border-color: #fff;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(43, 38, 35, 0.15);
}

.asym-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.asym-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.asym-row.reverse {
  flex-direction: column-reverse;
}

.asym-panel {
  background: var(--sand);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.asym-panel.dark {
  background: var(--night);
  color: #fff;
}

.asym-panel.dark p {
  color: rgba(255, 255, 255, 0.7);
}

.offset-card {
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-left: 12px;
}

.layered {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.layered::before {
  content: "";
  position: absolute;
  top: 12px;
  left: -12px;
  right: 40px;
  bottom: -12px;
  background: var(--accent);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.2;
}

.meta-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--olive);
}

.inline-link {
  text-decoration: underline;
  color: var(--terracotta);
  font-weight: 600;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card img {
  border-radius: 16px;
}

.highlight {
  background: var(--cream);
  padding: 28px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.timeline-step span {
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--night);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.quote {
  font-style: italic;
  font-size: 1.05rem;
  margin: 0;
}

.service-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-item {
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--terracotta);
}

.form-shell {
  background: var(--night);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-shell label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

input,
select,
textarea {
  border-radius: 14px;
  border: none;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
}

textarea {
  min-height: 120px;
}

.sticky-cta {
  position: sticky;
  top: 16px;
  align-self: flex-start;
  background: #fff;
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

footer {
  background: var(--night);
  color: #fff;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

footer a {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-hidden {
  display: none;
}

@media (min-width: 768px) {
  .page {
    padding: 40px 60px 100px;
    gap: 96px;
  }

  header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero {
    flex-direction: row;
    align-items: flex-start;
  }

  .hero .hero-copy {
    margin-right: -60px;
    z-index: 1;
  }

  .hero .hero-image {
    flex: 1;
  }

  .asym-row {
    flex-direction: row;
    align-items: center;
  }

  .asym-row.reverse {
    flex-direction: row-reverse;
  }

  .asym-panel {
    flex: 1;
  }

  .offset-card {
    margin-left: 0;
    margin-top: -32px;
    max-width: 420px;
  }

  .cards,
  .service-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card,
  .service-item {
    flex: 1 1 240px;
  }

  .highlight {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .form-layout {
    display: flex;
    gap: 24px;
  }

  .form-layout .form-shell {
    flex: 2;
  }

  .form-layout .sticky-cta {
    flex: 1;
  }

  footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
