* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --ink: #1f2a24;
  --muted: #5f6d64;
  --accent: #c37b2b;
  --accent-dark: #8d5a21;
  --paper: #f7f3ea;
  --moss: #e3e8df;
  --clay: #efe3d1;
  --sage: #d3ddd0;
  --midnight: #16231f;
}

body {
  font-family: "Trebuchet MS", "Verdana", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  font: inherit;
  cursor: pointer;
  background: none;
}

.page {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 270px;
  background: var(--midnight);
  color: #f2efe7;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ad-label {
  font-size: 0.82rem;
  color: #f8e7c8;
  border: 1px solid rgba(248, 231, 200, 0.35);
  padding: 10px 12px;
  border-radius: 10px;
}

.brand {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-weight: 600;
}

.nav a {
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.sidebar-block {
  font-size: 0.92rem;
  color: #d9e2d3;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-cta {
  background: var(--accent);
  color: #1d1b17;
  font-weight: 700;
  text-align: center;
  padding: 12px 14px;
  border-radius: 12px;
}

.sidebar-cta:hover {
  background: var(--accent-dark);
  color: #fff7ea;
}

.content {
  flex: 1;
  padding: 36px 48px 80px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.hero {
  display: flex;
  gap: 32px;
  align-items: stretch;
  background: var(--clay);
  padding: 28px;
  border-radius: 24px;
}

.hero-text {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-text h1 {
  font-size: 2.2rem;
  line-height: 1.2;
}

.hero-text p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: var(--accent);
  color: #1c140b;
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff3e1;
}

.btn-secondary {
  border: 1px solid var(--accent);
  color: var(--accent-dark);
}

.btn-secondary:hover {
  background: rgba(195, 123, 43, 0.12);
}

.image-box {
  flex: 1;
  background-color: #cdbda8;
  border-radius: 20px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.story-text {
  flex: 1.4;
  background: #fff;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(31, 42, 36, 0.08);
}

.story-text h2 {
  margin-bottom: 12px;
}

.story-aside {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-card {
  background: var(--sage);
  padding: 18px;
  border-radius: 16px;
}

.section-title {
  font-size: 1.55rem;
}

.inline-link {
  color: var(--accent-dark);
  font-weight: 700;
}

.inline-link:hover {
  text-decoration: underline;
}

.service-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.service-card {
  flex: 1 1 250px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 240px;
}

.service-card .card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price {
  font-weight: 700;
  color: var(--accent-dark);
}

.service-select {
  background: var(--midnight);
  color: #fff7ea;
  padding: 10px 14px;
  border-radius: 10px;
  text-align: center;
}

.service-select:hover {
  background: #283832;
}

.panel {
  background: var(--moss);
  padding: 24px;
  border-radius: 22px;
  display: flex;
  gap: 24px;
  align-items: center;
}

.panel.reverse {
  flex-direction: row-reverse;
}

.panel-text {
  flex: 1;
}

.panel-img {
  flex: 1;
  background-color: #bfcbb6;
  border-radius: 18px;
  overflow: hidden;
  min-height: 220px;
}

.panel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form-section {
  background: #fff;
  padding: 28px;
  border-radius: 24px;
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.form-section form {
  flex: 1.3;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-section label {
  font-weight: 600;
}

.form-section input,
.form-section select,
.form-section textarea {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ccd5c8;
  font: inherit;
}

.form-section button {
  background: var(--accent);
  color: #1d1b17;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 999px;
}

.form-section button:hover {
  background: var(--accent-dark);
  color: #fff3e1;
}

.form-aside {
  flex: 1;
  background: var(--clay);
  padding: 18px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sticky-cta {
  position: sticky;
  top: 18px;
  align-self: flex-start;
  background: #fff;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #e0d8c8;
  max-width: 240px;
}

.cta-link {
  color: var(--accent-dark);
  font-weight: 700;
}

.cta-link:hover {
  text-decoration: underline;
}

.footer {
  background: var(--midnight);
  color: #f3efe5;
  padding: 28px;
  border-radius: 22px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-block {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.92rem;
}

.footer a {
  color: #f7deb9;
}

.footer a:hover {
  text-decoration: underline;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 340px;
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 20;
}

.cookie-banner.visible {
  display: flex;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-actions button {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
}

.cookie-accept {
  background: var(--accent);
}

.cookie-accept:hover {
  background: var(--accent-dark);
  color: #fff3e1;
}

.cookie-reject {
  border: 1px solid var(--accent);
  color: var(--accent-dark);
}

.cookie-reject:hover {
  background: rgba(195, 123, 43, 0.12);
}

.simple-header {
  background: var(--clay);
  padding: 22px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.two-col {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.two-col > div {
  flex: 1 1 260px;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.highlight {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
}

.thanks-box {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 980px) {
  .page {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero,
  .story,
  .panel,
  .panel.reverse,
  .form-section {
    flex-direction: column;
  }

  .content {
    padding: 28px 22px 60px;
  }
}
