* {
  box-sizing: border-box;
}

:root {
  --ink: #1c1b1a;
  --muted: #5b5652;
  --sand: #f4efe8;
  --clay: #cfa989;
  --forest: #2f4b3f;
  --mist: #e7ecea;
  --accent: #d07a3c;
  --white: #ffffff;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page {
  min-height: 100vh;
  display: flex;
}

.sidebar {
  width: 260px;
  background: var(--mist);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
}

.ad-label {
  font-size: 12px;
  color: var(--muted);
  background: var(--white);
  padding: 8px 10px;
  border-radius: 8px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav a {
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.nav a:hover,
.nav a:focus {
  border-color: var(--accent);
}

.content {
  flex: 1;
  padding: 40px 6vw 80px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.hero {
  display: flex;
  gap: 32px;
  align-items: stretch;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.hero-media {
  flex: 1;
  background-color: #cfd5d3;
  border-radius: 24px;
  overflow: hidden;
  min-height: 320px;
}

.hero-media img {
  width: 100%;
  height: 100%;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.primary-btn {
  background: var(--accent);
  color: var(--white);
}

.secondary-btn {
  background: var(--forest);
  color: var(--white);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.offset-panel {
  display: flex;
  gap: 24px;
  align-items: center;
  background: var(--white);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.offset-panel.reverse {
  flex-direction: row-reverse;
}

.offset-media {
  flex: 1;
  background-color: #d8d4cf;
  border-radius: 18px;
  overflow: hidden;
  min-height: 220px;
}

.offset-body {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-title {
  margin: 0 0 8px;
  font-size: 28px;
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.service-card {
  flex: 1 1 240px;
  background: var(--white);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.service-media {
  background-color: #d9d3cb;
  border-radius: 14px;
  overflow: hidden;
}

.service-price {
  font-weight: 700;
  color: var(--forest);
}

.testimonial-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial {
  background: var(--mist);
  border-radius: 18px;
  padding: 18px 20px;
}

.split-band {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.bg-slice {
  border-radius: 24px;
  padding: 28px;
  color: var(--white);
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bg-autumn {
  background-image: url("https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=1400&q=80");
  background-color: #606663;
}

.bg-misty {
  background-image: url("https://images.unsplash.com/photo-1482192596544-9eb780fc7f66?w=1400&q=80");
  background-color: #6b6f72;
}

.band-text {
  flex: 1.2;
  background: var(--white);
  border-radius: 20px;
  padding: 24px;
}

.band-image {
  flex: 0.8;
  background-color: #d0d4cf;
  border-radius: 20px;
  overflow: hidden;
}

.form-section {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.form-panel {
  flex: 1.1;
  background: var(--white);
  border-radius: 20px;
  padding: 24px;
}

.form-panel form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-panel label {
  font-weight: 600;
}

.form-panel input,
.form-panel select,
.form-panel textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #cfc8be;
  background: #faf9f7;
}

.form-aside {
  flex: 0.9;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-aside-box {
  background: var(--mist);
  border-radius: 16px;
  padding: 18px;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: var(--accent);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.legal-page {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.contact-blocks {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-card {
  flex: 1 1 220px;
  background: var(--mist);
  border-radius: 18px;
  padding: 20px;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  background: var(--white);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
  z-index: 20;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.small-btn {
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.accept-btn {
  background: var(--forest);
  color: var(--white);
}

.reject-btn {
  background: #d9d3cb;
  color: var(--ink);
}

@media (max-width: 1024px) {
  .page {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .content {
    padding: 32px 6vw 80px;
  }

  .hero,
  .offset-panel,
  .split-band,
  .form-section {
    flex-direction: column;
  }

  .sticky-cta {
    right: 16px;
    bottom: 16px;
  }
}
