:root {
  --bg: #f6f4f0;
  --ink: #1b1a18;
  --muted: #6a6359;
  --accent: #b24b2a;
  --accent-dark: #8c351d;
  --surface: #ffffff;
  --soft: #efe9e1;
  --line: #ded6cb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-dark);
}

img {
  max-width: 100%;
  display: block;
}

main {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding: 24px 18px 80px;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand span {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand small {
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card {
  background: var(--surface);
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.hero-card h1 {
  font-size: 2.4rem;
  margin: 0 0 12px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-actions {
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-outline {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

.asym-row {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: stretch;
}

.offset-panel {
  background: var(--surface);
  padding: 26px;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.offset-panel.highlight {
  background: var(--soft);
  border-color: transparent;
}

.offset-panel h2 {
  margin-top: 0;
}

.service-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-card {
  background: var(--surface);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-icon {
  width: 48px;
  height: 48px;
}

.price {
  font-size: 1.2rem;
  font-weight: 700;
}

.split-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-wrap {
  background: var(--surface);
  padding: 26px;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-family: inherit;
}

.form-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.inline-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.layered-section {
  background-image: url("../images/pattern.svg");
  background-size: cover;
  border-radius: 18px;
  padding: 28px;
  color: #2f251f;
}

.layers {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pill {
  display: inline-block;
  padding: 6px 14px;
  background: #fff;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

footer {
  background: #141312;
  color: #f5f1eb;
  padding: 36px 24px 60px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  z-index: 20;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  bottom: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  max-width: 320px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 30;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  flex: 1;
}

.page-header {
  padding: 28px 22px 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-header h1 {
  margin: 0;
}

.page-section {
  padding: 16px 22px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.list-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.notice {
  background: var(--soft);
  padding: 18px;
  border-radius: 12px;
}

@media (min-width: 840px) {
  main {
    padding: 36px 64px 120px;
  }

  .hero-split {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-card {
    flex: 1.2;
  }

  .hero-image {
    flex: 0.8;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
  }

  .asym-row {
    flex-direction: row;
  }

  .asym-row.reverse {
    flex-direction: row-reverse;
  }

  .offset-panel {
    flex: 1;
  }

  .offset-panel.shift {
    transform: translateY(-24px);
  }

  .service-cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .service-card {
    flex: 1 1 240px;
  }

  .split-details {
    flex-direction: row;
  }

  .split-details > div {
    flex: 1;
  }

  .form-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .form-grid .field {
    flex: 1 1 240px;
  }

  .layers {
    flex-direction: row;
  }

  .layers .offset-panel {
    flex: 1;
  }

  .page-section,
  .page-header {
    padding-left: 80px;
    padding-right: 80px;
  }
}
