*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f7f6f2;
  --text: #1f2a1f;
  --muted: #51604f;
  --accent: #2f7a4d;
  --accent-dark: #1d5a3a;
  --warm: #efe7d9;
  --dark: #111814;
  --shadow: 0 24px 60px rgba(18, 26, 18, 0.14);
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 20px 0;
}

.nav-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.95rem;
}

.nav-links a {
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  background: linear-gradient(120deg, #f5efe1 0%, #e3efe6 100%);
  padding: 28px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  background: rgba(47, 122, 77, 0.12);
  border-radius: 50%;
  right: -80px;
  top: -60px;
}

.hero h1 {
  margin: 0;
  font-size: 2.4rem;
  line-height: 1.2;
}

.hero p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 30px rgba(47, 122, 77, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  box-shadow: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.section {
  padding: 0 20px;
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
}

.section-title h2 {
  margin: 0;
  font-size: 1.8rem;
}

.section-title p {
  margin: 0;
  color: var(--muted);
}

.offset-blocks {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.offset-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.offset-card:nth-child(even) {
  background: var(--warm);
  transform: translateX(8px);
}

.split-band {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--dark);
  color: #f4f6f2;
  padding: 32px 20px;
}

.split-band .split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.inline-cta {
  color: var(--accent);
  text-decoration: underline;
}

.service-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.service-card .price {
  font-weight: 700;
  color: var(--accent);
}

.form-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.form-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: #f0f4ef;
  border-radius: 16px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}

input,
select,
textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #d4d9d4;
  font-size: 0.95rem;
  font-family: inherit;
}

.floating-cta {
  position: fixed;
  bottom: 20px;
  right: 16px;
  background: var(--accent-dark);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  z-index: 10;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.footer {
  padding: 28px 20px 40px;
  background: #1a221b;
  color: #dbe4d7;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 80px;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 12;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-actions button {
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.cookie-actions button.accept {
  background: var(--accent);
  color: #fff;
}

.thin-band {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #e9efe7;
  padding: 20px;
  border-radius: 20px;
}

.asym-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pill {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  background: #e0e8e0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 16px;
  margin: 0;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

@media (min-width: 900px) {
  header {
    padding: 40px 60px 0;
  }

  .section {
    padding: 0 60px;
  }

  .hero {
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .offset-blocks {
    flex-direction: row;
    align-items: stretch;
  }

  .offset-card {
    flex: 1;
  }

  .offset-card:nth-child(even) {
    transform: translateY(18px);
  }

  .split-band .split {
    flex-direction: row;
    align-items: center;
  }

  .split-band .split > * {
    flex: 1;
  }

  .service-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .service-card {
    flex: 1 1 calc(50% - 16px);
  }

  .asym-row {
    flex-direction: row;
    align-items: center;
  }

  .asym-row.reverse {
    flex-direction: row-reverse;
  }

  .form-panel {
    flex-direction: row;
    align-items: flex-start;
  }

  .form-panel > * {
    flex: 1;
  }

  .contact-grid {
    display: flex;
    gap: 24px;
  }
}
