* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: #1d1f21;
  background: #f7f6f2;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  overflow-x: hidden;
}

.top-bar {
  padding: 18px 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #f7f6f2;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.nav-links a {
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover {
  border-bottom-color: #1d1f21;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 40px 6vw 70px;
}

.hero-copy {
  max-width: 520px;
}

.hero-copy h1 {
  font-size: 2.6rem;
  line-height: 1.1;
  margin: 0 0 18px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid #1d1f21;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.button.primary {
  background: #1d1f21;
  color: #f7f6f2;
}

.button.secondary {
  background: transparent;
}

.button.primary:hover {
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  padding: 26px;
  background: #d9ded5;
  border-radius: 24px;
}

.hero-visual::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 60%;
  height: 40%;
  background: #f0d6b1;
  border-radius: 24px;
  z-index: -1;
}

.section {
  padding: 60px 6vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section.alt {
  background: #ffffff;
}

.section-title {
  font-size: 1.8rem;
  margin: 0;
}

.split-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.offset-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.metrics {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.metric {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: #f0d6b1;
  border-radius: 16px;
}

.services-preview {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: 18px;
  background: #fefcf8;
  border: 1px solid #e2dfd3;
}

.service-card img {
  border-radius: 14px;
  height: 150px;
  object-fit: cover;
}

.inline-cta {
  font-weight: 600;
  border-bottom: 1px solid #1d1f21;
}

.story-layer {
  position: relative;
  padding: 30px;
  background: #1d1f21;
  color: #f7f6f2;
  border-radius: 26px;
}

.story-layer::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 18px;
  width: 40px;
  height: 40px;
  background: #f0d6b1;
  border-radius: 12px;
  transform: rotate(12deg);
}

.testimonial {
  background: #ffffff;
  padding: 20px;
  border-radius: 18px;
}

.form-wrap {
  background: #ffffff;
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #c7c4b7;
  font-size: 0.95rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sticky-cta {
  position: fixed;
  right: 16px;
  bottom: 18px;
  background: #1d1f21;
  color: #f7f6f2;
  padding: 12px 18px;
  border-radius: 999px;
  z-index: 10;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.footer {
  padding: 40px 6vw 60px;
  background: #1d1f21;
  color: #f7f6f2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  bottom: 18px;
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.15);
  max-width: 320px;
  z-index: 12;
  display: none;
  flex-direction: column;
  gap: 12px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-actions .button {
  padding: 8px 14px;
  font-size: 0.85rem;
}

.page-hero {
  padding: 50px 6vw 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-hero h1 {
  margin: 0;
  font-size: 2.2rem;
}

.content-blocks {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.list-panel {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  background: #ffffff;
  border-radius: 20px;
}

.legal-section {
  padding: 50px 6vw 60px;
  background: #ffffff;
}

@media (min-width: 900px) {
  .hero {
    flex-direction: row;
    align-items: center;
  }

  .split-row {
    flex-direction: row;
    align-items: stretch;
  }

  .metrics {
    flex-direction: row;
  }

  .services-preview {
    flex-direction: row;
  }

  .form-row {
    flex-direction: row;
  }

  .form-row .form-field {
    flex: 1;
  }

  .content-blocks {
    flex-direction: row;
  }

  .contact-grid {
    flex-direction: row;
  }
}
