* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --ink: #1b1b1b;
  --muted: #5b5b5b;
  --accent: #2f6f64;
  --accent-2: #b56a4a;
  --bg: #f6f4f1;
  --panel: #ffffff;
  --line: #e7e2db;
  --fallback: #d8d3cd;
}

body {
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 270px;
  background: var(--panel);
  border-right: 1px solid var(--line);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ad-label {
  font-size: 0.85rem;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 10px;
  background: #faf8f5;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav a {
  padding: 8px 10px;
  border-radius: 8px;
  background: transparent;
  transition: background 0.2s ease;
}

.nav a:hover {
  background: #efe9e2;
}

.sidebar-cta {
  margin-top: auto;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-weight: 600;
}

.sidebar-cta:hover {
  background: #25554d;
}

.content {
  flex: 1;
  padding: 32px 36px 120px;
  display: flex;
  flex-direction: column;
  gap: 42px;
}

.hero {
  position: relative;
  min-height: 380px;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1505691938895-1758d7feb511?w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(23, 23, 23, 0.45);
}

.hero-content {
  position: relative;
  padding: 36px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-content h1 {
  font-size: 2.4rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
}

.btn.primary:hover {
  background: #1e4a43;
}

.btn.secondary {
  background: #f1ede7;
  color: var(--ink);
}

.btn.secondary:hover {
  background: #e7e2dc;
}

.section {
  background: var(--panel);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section.alt {
  background: #f0ebe4;
}

.split {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}

.split.reverse {
  flex-direction: row-reverse;
}

.split .text {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.split .media {
  flex: 1 1 240px;
}

.img-wrap {
  border-radius: 18px;
  overflow: hidden;
  background: var(--fallback);
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.service-card {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card h3 {
  font-size: 1.1rem;
}

.price {
  font-weight: 700;
  color: var(--accent-2);
}

.inline-cta {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
}

.form-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-select {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.service-option.selected {
  border-color: var(--accent);
  background: #f1f6f5;
}

.fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 1rem;
  font-family: inherit;
}

.footer {
  padding: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: var(--accent-2);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.sticky-cta:hover {
  background: #995139;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  bottom: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  max-width: 320px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  flex: 1;
}

.banner-visible {
  display: flex;
}

.mobile-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 600;
}

.nav.hidden {
  display: none;
}

@media (max-width: 980px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .mobile-toggle {
    display: inline-flex;
    align-self: flex-start;
  }

  .content {
    padding: 24px 20px 120px;
  }
}
