* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --ink: #1f2a33;
  --muted: #5a6670;
  --sand: #f4f1ec;
  --paper: #ffffff;
  --accent: #c37b41;
  --accent-dark: #94572a;
  --shadow: 0 18px 40px rgba(31, 42, 51, 0.12);
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: var(--paper);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-right: 1px solid rgba(31, 42, 51, 0.08);
}

.brand {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.4px;
}

.ad-label {
  font-size: 12px;
  background: #fceede;
  color: #6a3e1b;
  padding: 8px 10px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}

.nav-links a,
.nav-links button {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.nav-links a:hover,
.nav-links button:hover {
  border-color: rgba(31, 42, 51, 0.2);
  background: rgba(31, 42, 51, 0.04);
}

.sidebar-cta {
  margin-top: auto;
  padding: 16px;
  border-radius: 16px;
  background: #f6efe7;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-cta button {
  border: none;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.sidebar-cta button:hover {
  background: var(--accent-dark);
}

.content {
  flex: 1;
  padding: 36px 48px 60px;
}

.hero {
  background: linear-gradient(rgba(31, 42, 51, 0.55), rgba(31, 42, 51, 0.55)),
    url("https://images.unsplash.com/photo-1504384308090-c894fdcc538d?w=1400&q=80")
      center / cover no-repeat;
  color: #fff;
  padding: 70px 60px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero h1 {
  font-size: 36px;
  margin: 0;
}

.hero p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #fff;
  color: #1f2a33;
}

.btn-primary:hover {
  background: #f7f1ea;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.35);
}

.section {
  margin-top: 36px;
  padding: 32px;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.section.alt {
  background: #f7f2ed;
}

.section.split {
  display: flex;
  gap: 28px;
  align-items: center;
}

.section.split.reverse {
  flex-direction: row-reverse;
}

.section h2 {
  margin-top: 0;
  font-size: 26px;
}

.muted {
  color: var(--muted);
}

.media-box {
  flex: 1;
  background: #e6e1db;
  border-radius: 18px;
  overflow: hidden;
  min-height: 240px;
  display: flex;
}

.media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.text-block {
  flex: 1.2;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(31, 42, 51, 0.08);
}

.card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  background: #e3ded8;
}

.card .price {
  font-weight: 700;
  color: var(--accent-dark);
}

.inline-cta {
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: underline;
}

.sticky-cta {
  position: sticky;
  top: 24px;
  background: #efe4d8;
  padding: 18px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid rgba(31, 42, 51, 0.1);
}

.sticky-cta button {
  border: none;
  background: var(--accent-dark);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.sticky-cta button:hover {
  background: #7b441f;
}

.form-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(31, 42, 51, 0.2);
  font: inherit;
}

textarea {
  min-height: 100px;
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.form-actions button {
  border: none;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.form-actions button:hover {
  background: var(--accent-dark);
}

.info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.info-card {
  flex: 1 1 220px;
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(31, 42, 51, 0.08);
}

.footer {
  margin-top: 40px;
  padding: 24px;
  border-radius: 18px;
  background: #1f2a33;
  color: #fff;
}

.footer a {
  color: #fff;
  text-decoration: underline;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #fff;
  padding: 18px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  max-width: 320px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  flex: 1;
  border: none;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.cookie-accept {
  background: var(--accent);
  color: #fff;
}

.cookie-reject {
  background: #e8e4df;
  color: #1f2a33;
}

.cookie-accept:hover {
  background: var(--accent-dark);
}

.cookie-reject:hover {
  background: #dcd7d2;
}

.notice {
  padding: 16px;
  border-radius: 12px;
  background: #f3ede5;
  border: 1px dashed rgba(31, 42, 51, 0.2);
}

.simple-hero {
  padding: 28px;
  border-radius: 18px;
  background: #f3eee8;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  background: #e5e0da;
  margin-top: 14px;
}

@media (max-width: 1024px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .content {
    padding: 24px;
  }

  .section.split,
  .section.split.reverse {
    flex-direction: column;
  }
}
