* {
  box-sizing: border-box;
}

:root {
  --ink: #1b1b1b;
  --muted: #5c5c5c;
  --sand: #f6f0ea;
  --cream: #fffaf3;
  --olive: #6d7457;
  --rust: #b5654d;
  --night: #121212;
  --line: #e2d9cf;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

a {
  color: var(--rust);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 1.5rem 1rem;
}

.nav-top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand span {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.95rem;
}

.hero {
  padding: 4rem 1.5rem 3rem;
  background: url("images/hero.svg") center/cover no-repeat;
  color: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-height: 70vh;
}

.hero .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(18, 18, 18, 0.7);
  color: #f9f4ef;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.hero h1 {
  font-size: 2.8rem;
  line-height: 1.1;
  margin: 0;
  max-width: 34rem;
}

.hero p {
  max-width: 34rem;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease;
}

.primary-btn {
  background: var(--rust);
  color: #fff;
}

.secondary-btn {
  background: transparent;
  border-color: #f9f4ef;
  color: #fff;
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
}

.section {
  padding: 3.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.section.alt {
  background: var(--sand);
}

.section.dark {
  background: var(--night);
  color: #f9f4ef;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.split.reverse {
  flex-direction: column-reverse;
}

.badge {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--olive);
  font-weight: 600;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card.dark {
  background: #1d1d1d;
  border-color: #333;
  color: #f9f4ef;
}

.card h3 {
  margin: 0;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step span {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--rust);
}

.testimonial {
  border-left: 3px solid var(--rust);
  padding-left: 1.5rem;
  font-style: italic;
}

.pricing {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.price-item {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.4rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--line);
}

.price-item strong {
  font-size: 1.4rem;
}

.form-wrapper {
  background: #fff;
  border-radius: 1.5rem;
  border: 1px solid var(--line);
  padding: 1.8rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  font-weight: 600;
  font-size: 0.9rem;
}

input,
select,
textarea {
  padding: 0.7rem 0.9rem;
  border-radius: 0.8rem;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 1rem;
}

.sticky-cta {
  position: sticky;
  bottom: 1.2rem;
  display: flex;
  justify-content: center;
  margin: 2rem auto 0;
  z-index: 2;
}

.sticky-cta a {
  background: var(--night);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
}

.footer {
  padding: 2.5rem 1.5rem 3rem;
  background: #14110f;
  color: #f2e9df;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer a {
  color: #f2e9df;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

.banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid var(--line);
  padding: 1rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  z-index: 10;
}

.banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.banner button {
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
}

.banner .accept {
  background: var(--olive);
  color: #fff;
}

.banner .reject {
  background: #f0ebe3;
  color: var(--ink);
}

.muted {
  color: var(--muted);
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.legal {
  max-width: 760px;
}

@media (min-width: 900px) {
  .nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 4rem 1.5rem;
  }

  .nav-top {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }

  .hero {
    padding: 6rem 4rem;
  }

  .section {
    padding: 4.5rem 4rem;
  }

  .split {
    flex-direction: row;
    align-items: center;
  }

  .split.reverse {
    flex-direction: row-reverse;
  }

  .cards {
    flex-direction: row;
  }

  .price-item {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .contact-grid {
    flex-direction: row;
  }
}
