* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --ink: #1b1b1b;
  --muted: #55565a;
  --bg: #f6f4f1;
  --accent: #a24b2e;
  --accent-dark: #7c3c26;
  --sand: #efe8df;
  --soft: #ffffff;
  --line: #ded7cf;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-dark);
}

img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page {
  width: 100%;
  overflow: hidden;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 6vw 12px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-weight: 700;
  letter-spacing: 0.04em;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
  max-width: 560px;
  text-align: right;
}

.ad-label {
  font-size: 0.82rem;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 999px;
  background: #faf7f3;
}

.hero {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 40px 6vw 60px;
  background: url("https://images.unsplash.com/photo-1501183638710-841dd1904471?w=1400&q=80")
    center/cover no-repeat;
  color: #fdfaf6;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(27, 27, 27, 0.52);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.hero h1 {
  font-size: 2.7rem;
  line-height: 1.1;
  margin: 0 0 14px;
}

.hero p {
  margin: 0 0 22px;
  color: #f3ede5;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-ghost {
  background: transparent;
  border-color: #f5efe6;
  color: #f5efe6;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.section {
  padding: 64px 6vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-alt {
  background: var(--sand);
}

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}

.split.reverse {
  flex-direction: row-reverse;
}

.split .text {
  flex: 1 1 320px;
  max-width: 520px;
}

.split .visual {
  flex: 1 1 280px;
  min-width: 260px;
}

.img-frame {
  background: #e5ddd4;
  padding: 8px;
}

.overlap-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-start;
}

.overlap-card {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 20px;
  flex: 1 1 220px;
  position: relative;
}

.overlap-card.offset {
  margin-top: 20px;
}

.price-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.price-card {
  flex: 1 1 220px;
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price {
  font-size: 1.2rem;
  font-weight: 700;
}

.testimonial-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.testimonial {
  flex: 1 1 240px;
  padding: 18px;
  background: #fffdf9;
  border-left: 4px solid var(--accent);
}

.form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid #cfc7bf;
  font-size: 1rem;
  background: #fff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.cta-inline {
  font-weight: 600;
}

.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  z-index: 10;
}

.sticky-cta:hover {
  background: var(--accent-dark);
  color: #fff;
}

.footer {
  padding: 40px 6vw;
  background: #141312;
  color: #f2ede7;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer a {
  color: #f2ede7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  bottom: 18px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px;
  max-width: 320px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 12;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions .btn {
  padding: 8px 14px;
  font-size: 0.9rem;
}

.legal-block {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-title {
  font-size: 2.2rem;
  margin: 0;
}

.reference-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  header {
    flex-direction: column;
    gap: 12px;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    padding: 32px 6vw 48px;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .sticky-cta {
    right: 12px;
    bottom: 12px;
    padding: 10px 14px;
  }
}
