* {
  box-sizing: border-box;
}

:root {
  --bg: #f7f4f2;
  --text: #231f1a;
  --muted: #6b6258;
  --accent: #9c5f73;
  --accent-dark: #7b4659;
  --paper: #ffffff;
  --sand: #efe7e0;
  --shadow: 0 18px 50px rgba(27, 19, 12, 0.12);
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 280px;
  background: #f0e6dd;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-right: 1px solid #e1d5cb;
}

.brand {
  font-size: 20px;
  letter-spacing: 1px;
  font-weight: 600;
}

.ad-label {
  font-size: 12px;
  color: var(--muted);
  background: #eadfd6;
  padding: 8px 10px;
  border-radius: 10px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.nav a {
  padding: 8px 10px;
  border-radius: 10px;
  background: #f7eee6;
}

.nav a:focus,
.nav a:hover,
.btn:focus,
.btn:hover,
.text-link:focus,
.text-link:hover {
  background: var(--accent);
  color: #fff;
}

.sidebar-cta {
  margin-top: auto;
}

.sidebar-meta {
  font-size: 12px;
  color: var(--muted);
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

section {
  padding: 64px 8vw;
}

.hero {
  color: #fff;
  background-color: #3a2a2a;
  background-image: url("https://images.unsplash.com/photo-1574269377461-37b44c6c2d85?w=1400&q=80");
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 20, 20, 0.62);
}

.hero-inner {
  position: relative;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn.secondary {
  background: #fff;
  color: var(--accent-dark);
}

.text-link {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  background: #f1e7dd;
  color: var(--accent-dark);
}

.row {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
}

.row.reverse {
  flex-direction: row-reverse;
}

.media-card {
  flex: 1 1 280px;
  background: var(--paper);
  box-shadow: var(--shadow);
  border-radius: 18px;
  overflow: hidden;
}

.media-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.media-card .media-fallback {
  background-color: #d8c8be;
}

.info-block {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.soft-bg {
  background: var(--sand);
}

.insight {
  background-color: #2f2723;
  color: #fff;
  background-image: url("https://images.unsplash.com/photo-1555820585-c5ae44394b79?w=1400&q=80");
  background-size: cover;
  background-position: center;
  position: relative;
}

.insight::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(28, 21, 18, 0.6);
}

.insight .panel {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.cards {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.card {
  flex: 1 1 220px;
  background: var(--paper);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card-media {
  background-color: #e2d7ce;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-tag {
  font-weight: 700;
  color: var(--accent-dark);
  font-size: 18px;
}

.panel {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.panel.dark {
  background: #2b2520;
  color: #fff;
}

.testimonials {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.testimonial {
  flex: 1 1 220px;
  padding: 18px;
  border-radius: 14px;
  background: #f8efe6;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #d9cfc5;
  font-size: 16px;
  width: 100%;
}

.form-note {
  font-size: 13px;
  color: var(--muted);
}

.footer {
  padding: 40px 8vw;
  background: #1f1a16;
  color: #f4ede6;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer a {
  color: #f4ede6;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  background: var(--accent-dark);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 18px;
  max-width: 320px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 120;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.page-title {
  margin-top: 0;
}

.banner {
  background-color: #3a2a2a;
  color: #fff;
  padding: 56px 8vw;
  background-size: cover;
  background-position: center;
  position: relative;
}

.banner.about {
  background-image: url("https://images.unsplash.com/photo-1501644898242-cfea317d7faf?w=1400&q=80");
}

.banner.services {
  background-image: url("https://images.unsplash.com/photo-1634052970539-224813476367?w=1400&q=80");
}

.banner.contact {
  background-image: url("https://images.unsplash.com/photo-1501699169021-3759ee435d66?w=1400&q=80");
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(33, 25, 23, 0.55);
}

.banner-inner {
  position: relative;
  max-width: 520px;
}

.simple-image {
  background-color: #e3d7ce;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.simple-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.legal-block {
  background: #fff;
  padding: 24px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (max-width: 960px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e1d5cb;
  }

  section {
    padding: 48px 6vw;
  }

  .sticky-cta {
    right: 16px;
    bottom: 16px;
  }
}
