* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --ink: #1c1a18;
  --muted: #6c655e;
  --sand: #f4efe9;
  --pebble: #e6dfd7;
  --accent: #8a5d3b;
  --accent-dark: #5b3a22;
  --olive: #6b715d;
  --white: #ffffff;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 280px;
  background: var(--white);
  padding: 32px 24px;
  border-right: 1px solid var(--pebble);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand span {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand h1 {
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav a {
  padding: 10px 12px;
  border-radius: 18px;
  font-weight: 600;
  background: var(--sand);
}

.nav a:hover {
  background: var(--pebble);
}

.sidebar .cta-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--accent);
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding: 36px 6vw 80px;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section h2 {
  font-size: 2rem;
  letter-spacing: -0.01em;
}

.hero {
  background: url("https://images.unsplash.com/photo-1505691938895-1758d7feb511?auto=format&fit=crop&w=1200&q=80") center/cover;
  color: var(--white);
  padding: 80px 52px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(28, 26, 24, 0.55);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  background: var(--accent);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.button.secondary {
  background: var(--white);
  color: var(--accent-dark);
}

.button.ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.split-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 18px 40px rgba(28, 26, 24, 0.08);
}

.card img {
  border-radius: 16px;
  height: 160px;
  object-fit: cover;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pebble);
  color: var(--accent-dark);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

.pricing {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price {
  font-size: 1.8rem;
  color: var(--accent);
  font-weight: 700;
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery img {
  border-radius: 20px;
  height: 220px;
  object-fit: cover;
}

.form-wrap {
  background: var(--white);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--pebble);
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.inline-cta {
  color: var(--accent);
  font-weight: 600;
}

.floating-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--accent-dark);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(28, 26, 24, 0.2);
  z-index: 4;
}

.cookies {
  position: fixed;
  left: 20px;
  bottom: 20px;
  background: var(--white);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 16px 30px rgba(28, 26, 24, 0.14);
  max-width: 320px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 5;
}

.cookies.active {
  display: flex;
}

.cookies-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer {
  border-top: 1px solid var(--pebble);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.muted {
  color: var(--muted);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.testimonial {
  background: #fff;
  border-left: 4px solid var(--accent);
  padding: 18px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stacked-tiles {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tile {
  background: var(--pebble);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-contrast {
  background: var(--white);
  border-radius: 28px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--white);
  padding: 28px;
  border-radius: 24px;
}

.legal {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 760px;
}

.legal h2 {
  font-size: 1.6rem;
}

@media (min-width: 900px) {
  .split-row {
    flex-direction: row;
    align-items: stretch;
  }

  .split-row.reverse {
    flex-direction: row-reverse;
  }

  .gallery-row {
    flex-direction: row;
  }

  .gallery img {
    height: 260px;
    flex: 1;
  }

  .split {
    flex-direction: row;
    align-items: stretch;
  }

  .stacked-tiles {
    flex-direction: row;
  }
}

@media (max-width: 960px) {
  .page {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .main {
    padding: 28px 6vw 80px;
  }

  .floating-cta {
    right: 16px;
    bottom: 16px;
  }
}
