* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f6f4f0;
  --ink: #1e1d1b;
  --muted: #6c645c;
  --accent: #2f5f55;
  --accent-dark: #244a42;
  --paper: #ffffff;
  --sand: #e7e0d7;
  --line: #d7cfc5;
}

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 16px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

.page {
  display: flex;
  flex-direction: column;
  gap: 72px;
  padding-bottom: 120px;
}

.topbar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--ink);
}

.hero {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card {
  background: var(--paper);
  padding: 28px;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(20, 17, 14, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-card h1 {
  font-size: 2.2rem;
  line-height: 1.2;
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-outline {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

.floating-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  background: var(--accent-dark);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.section {
  padding: 0 24px;
}

.section-block {
  background: var(--paper);
  padding: 28px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}

.offset {
  margin-left: clamp(0px, 8vw, 80px);
}

.offset-alt {
  margin-right: clamp(0px, 8vw, 80px);
}

.split {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sand);
  color: var(--accent-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.service-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  background: #fcfbf9;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card strong {
  font-size: 1.05rem;
}

.price {
  font-weight: 700;
  color: var(--accent-dark);
}

.form-card {
  background: var(--accent-dark);
  color: #fff;
  padding: 24px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-card label {
  font-size: 0.9rem;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: none;
  margin-top: 6px;
}

.form-card button {
  width: 100%;
}

.quote {
  background: var(--sand);
  padding: 18px;
  border-radius: 16px;
  font-style: italic;
}

.mini-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
}

.banner {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 24px;
}

.footer {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer a {
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  left: 16px;
  bottom: 16px;
  right: 16px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
  padding: 16px;
  z-index: 30;
  display: none;
  flex-direction: column;
  gap: 12px;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-page {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: var(--paper);
  padding: 22px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--line);
}

@media (min-width: 768px) {
  .topbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero {
    flex-direction: row;
    align-items: center;
    gap: 36px;
  }

  .hero-card {
    flex: 1.2;
  }

  .hero img {
    flex: 1;
  }

  .cta-row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .split {
    flex-direction: row;
  }

  .service-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .service-card {
    flex: 1 1 280px;
  }

  .cookie-actions {
    flex-direction: row;
  }

  .footer {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}
