:root {
  --bg: #f6f4f1;
  --ink: #1f1f1f;
  --muted: #5f5a54;
  --accent: #2f5f57;
  --accent-soft: #d7e3de;
  --paper: #ffffff;
  --sand: #efe6dc;
  --sky: #e7eef2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.page {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  padding: 32px 24px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-right: 1px solid #e3ddd6;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand strong {
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.ad-label {
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--sand);
  padding: 8px 10px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-links a {
  font-weight: 600;
}

.nav-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 28px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}

.button.secondary {
  background: transparent;
  color: var(--accent);
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 48px;
  background: var(--paper);
  align-items: center;
}

.hero-text {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-media {
  flex: 1 1 320px;
  background: #d9e2dc;
  border-radius: 24px;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 320px;
}

.section {
  padding: 42px 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section.alt {
  background: var(--sky);
}

.section.sand {
  background: var(--sand);
}

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.split > div {
  flex: 1 1 260px;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.image-block {
  background: #d9e2dc;
  border-radius: 16px;
  overflow: hidden;
}

.card {
  flex: 1 1 240px;
  background: var(--paper);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid #e6ded6;
}

.card img {
  width: 100%;
  height: 160px;
  border-radius: 14px;
}

.price {
  font-weight: 700;
  font-size: 1.1rem;
}

.image-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.image-strip .image-block {
  flex: 1 1 220px;
  border-radius: 16px;
  overflow: hidden;
  background: #d9e2dc;
}

.image-strip img {
  width: 100%;
  height: 200px;
}

.testimonial {
  background: var(--paper);
  border-left: 4px solid var(--accent);
  padding: 18px 20px;
  border-radius: 12px;
}

.form-wrap {
  background: var(--paper);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid #e6ded6;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

input,
select,
textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #d6cec6;
  font-size: 1rem;
}

footer {
  padding: 30px 48px 60px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid #e6ded6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.95rem;
}

.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  max-width: 360px;
  background: var(--paper);
  border: 1px solid #d6cec6;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 20;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.table-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.table-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2dad2;
}

.notice {
  font-size: 0.95rem;
  color: var(--muted);
}

@media (max-width: 980px) {
  .page {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e3ddd6;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .nav-links {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .nav-cta {
    margin-top: 0;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero {
    padding: 32px 24px;
  }

  .section {
    padding: 32px 24px;
  }

  footer {
    padding: 24px;
  }

  .sticky-cta {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 640px) {
  .sidebar {
    flex-direction: column;
    align-items: flex-start;
  }

  .sticky-cta {
    position: static;
  }
}
