* {
  box-sizing: border-box;
}

:root {
  --bg: #f6f4f1;
  --ink: #1f2933;
  --muted: #5f6b7a;
  --accent: #1f7a8c;
  --accent-2: #f2c14e;
  --panel: #ffffff;
  --soft: #e8ecef;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: row;
}

.sidebar {
  width: 260px;
  background: #14181f;
  color: #f3f4f6;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.brand {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.ad-label {
  font-size: 12px;
  line-height: 1.4;
  background: #2a323d;
  padding: 8px 10px;
  border-radius: 8px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav a {
  padding: 8px 10px;
  border-radius: 8px;
}

.nav a:hover {
  background: #2a323d;
}

.sidebar-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
}

.sidebar-cta a:hover {
  background: #196a79;
}

.content {
  flex: 1;
  padding: 40px 48px 80px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.hero {
  display: flex;
  gap: 32px;
  align-items: center;
  background: var(--panel);
  padding: 32px;
  border-radius: 24px;
}

.hero-text {
  flex: 1;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: 36px;
  line-height: 1.2;
}

.hero p {
  margin: 0 0 20px;
  color: var(--muted);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  background: var(--accent-2);
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
}

.hero-cta:hover {
  background: #e1b13f;
}

.hero-image {
  flex: 0 0 44%;
  background: #d7e3e9;
  border-radius: 20px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.section {
  display: flex;
  gap: 28px;
  align-items: center;
}

.section.reverse {
  flex-direction: row-reverse;
}

.section h2 {
  margin-top: 0;
}

.section .copy {
  flex: 1;
}

.section .media {
  flex: 0 0 40%;
  background: #dde6ea;
  border-radius: 18px;
  overflow: hidden;
}

.section .media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.layered {
  background: #111827;
  color: #f9fafb;
  padding: 36px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.layered::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 45%;
  background-image: url("https://images.unsplash.com/photo-1504384308090-c894fdcc538d?w=1400&q=80");
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.layered .copy {
  position: relative;
  z-index: 1;
  max-width: 60%;
}

.stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.stat {
  background: var(--panel);
  padding: 18px 20px;
  border-radius: 16px;
  min-width: 160px;
  flex: 1;
}

.stat strong {
  display: block;
  font-size: 22px;
}

.cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  flex: 1 1 220px;
  background: var(--panel);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-media {
  background: #dfe6ea;
}

.card-media img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.price {
  font-weight: 700;
  color: var(--accent);
}

.inline-cta {
  color: var(--accent);
  font-weight: 600;
}

.form-wrap {
  background: var(--panel);
  padding: 28px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row input,
.form-row select,
.form-row textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d4d7dd;
  font-size: 15px;
  font-family: inherit;
}

.form-row button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

.form-row button:hover {
  background: #196a79;
}

.form-message {
  font-size: 14px;
  color: #b42318;
  min-height: 18px;
}

.sticky-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #111827;
  padding: 10px;
  border-radius: 14px;
}

.sticky-cta a {
  color: #fff;
  font-weight: 600;
  padding: 8px 12px;
  display: inline-flex;
}

.sticky-cta a:hover {
  color: var(--accent-2);
}

.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  max-width: 360px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 5;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  flex: 1;
  padding: 8px 10px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.cookie-accept {
  background: var(--accent);
  color: #fff;
}

.cookie-reject {
  background: var(--soft);
  color: var(--ink);
}

.footer {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  background: #2a323d;
  color: #fff;
  border: none;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.banner-image {
  background: #dce4ea;
  border-radius: 18px;
  overflow: hidden;
}

.banner-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.bg-knowledge {
  background-image: url("https://images.unsplash.com/photo-1492724441997-5dc865305da7?w=1400&q=80");
  background-size: cover;
  background-position: center;
  padding: 40px;
  border-radius: 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bg-knowledge .inline-cta {
  color: #fef3c7;
}

@media (max-width: 980px) {
  .page {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
  }

  body.nav-open .nav {
    display: flex;
  }

  .content {
    padding: 32px 24px 96px;
  }

  .hero {
    flex-direction: column;
  }

  .hero-image {
    width: 100%;
  }

  .section,
  .section.reverse {
    flex-direction: column;
  }

  .section .media {
    width: 100%;
  }

  .layered .copy {
    max-width: 100%;
  }
}
