* {
  box-sizing: border-box;
}

:root {
  --charcoal: #1f2428;
  --sand: #f3efe9;
  --clay: #d7c2a6;
  --pine: #2f4c44;
  --rust: #b95c3b;
  --mist: #f9f7f3;
  --shadow: rgba(18, 22, 24, 0.12);
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--charcoal);
  background: var(--mist);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 18px;
}

.layout {
  display: flex;
  min-height: 100vh;
}

aside {
  width: 260px;
  background: var(--sand);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.brand {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.03em;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-weight: 500;
}

.nav a {
  padding: 8px 10px;
  border-radius: 12px;
}

.nav a:hover {
  background: rgba(185, 92, 59, 0.12);
}

.sidebar-cta {
  margin-top: auto;
  background: var(--pine);
  color: #fff;
  padding: 14px 18px;
  border-radius: 16px;
  text-align: center;
  font-weight: 600;
}

main {
  flex: 1;
  padding: 32px 5vw 120px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #fff;
  padding: 36px;
  border-radius: 28px;
  box-shadow: 0 18px 36px var(--shadow);
}

.section.alt {
  background: var(--sand);
}

.section.dark {
  background: var(--charcoal);
  color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: url("https://images.unsplash.com/photo-1519222970733-f546218fa6d7?auto=format&fit=crop&w=1600&q=80")
    center/cover no-repeat;
}

.hero .hero-overlay {
  background: rgba(18, 22, 24, 0.55);
  padding: 64px 48px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 3vw, 3.4rem);
  margin: 0;
}

.hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  background: var(--rust);
  color: #fff;
}

.btn.light {
  background: #fff;
  color: var(--charcoal);
}

.btn.outline {
  background: transparent;
  border-color: currentColor;
}

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.split > * {
  flex: 1 1 260px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.card {
  flex: 1 1 220px;
  background: #fff;
  padding: 20px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 12px 20px rgba(18, 22, 24, 0.08);
}

.card img {
  border-radius: 14px;
  height: 140px;
  object-fit: cover;
}

.pricing {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pricing-item {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(31, 36, 40, 0.08);
}

.pricing-item span {
  font-weight: 700;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--rust);
  margin-top: 6px;
  flex-shrink: 0;
}

.inline-link {
  color: var(--rust);
  font-weight: 600;
  text-decoration: underline;
}

.form-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  padding: 28px;
  border-radius: 20px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(31, 36, 40, 0.2);
  font-size: 1rem;
  font-family: inherit;
}

textarea {
  min-height: 110px;
}

.form-note {
  font-size: 0.9rem;
  color: rgba(31, 36, 40, 0.7);
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.gallery img {
  flex: 1 1 160px;
  height: 180px;
  object-fit: cover;
}

.quote {
  font-size: 1.05rem;
  font-style: italic;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(31, 36, 40, 0.7);
}

.footer a {
  color: inherit;
}

.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: var(--pine);
  color: #fff;
  padding: 14px 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 30px rgba(18, 22, 24, 0.18);
  z-index: 20;
}

.sticky-cta button {
  background: transparent;
  border: none;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  max-width: 320px;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 18px 28px rgba(18, 22, 24, 0.2);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 30;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
}

.cookie-actions .accept {
  background: var(--rust);
  color: #fff;
}

.cookie-actions .reject {
  background: transparent;
  border-color: rgba(31, 36, 40, 0.2);
}

@media (max-width: 980px) {
  .layout {
    flex-direction: column;
  }

  aside {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  main {
    padding: 24px 6vw 120px;
  }
}

@media (max-width: 640px) {
  .hero .hero-overlay {
    padding: 36px 28px;
  }

  .sticky-cta {
    right: 12px;
    left: 12px;
    justify-content: space-between;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    max-width: none;
  }
}
