* {
  box-sizing: border-box;
}

:root {
  --ink: #121826;
  --muted: #4b5563;
  --accent: #0f766e;
  --accent-dark: #0b4d47;
  --cream: #f6f4f1;
  --sand: #efe9e1;
  --slate: #e7ebf2;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--accent-dark);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: var(--slate);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.ad-label {
  background: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav a {
  font-weight: 600;
}

.sidebar-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.button.secondary {
  background: #fff;
  color: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: none;
}

.content {
  flex: 1;
  padding: 40px 46px 80px;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  padding: 46px;
  border-radius: 28px;
  background: #0f172a;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1400&q=80")
    center / cover no-repeat;
  opacity: 0.3;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-copy {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-figure {
  flex: 1 1 260px;
  background: rgba(255, 255, 255, 0.18);
  padding: 18px;
  border-radius: 18px;
  backdrop-filter: blur(6px);
}

.section {
  margin: 48px 0;
  padding: 34px;
  border-radius: 24px;
}

.section.muted {
  background: var(--cream);
}

.section.sand {
  background: var(--sand);
}

.section.slate {
  background: var(--slate);
}

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}

.split.reverse {
  flex-direction: row-reverse;
}

.image-frame {
  flex: 1 1 260px;
  border-radius: 20px;
  overflow: hidden;
  background: #dbe2ea;
  min-width: 240px;
}

.text-block {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.metric {
  flex: 1 1 180px;
  background: #fff;
  padding: 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.card {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0;
}

.price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.inline-cta {
  font-weight: 600;
}

.form-wrap {
  background: #fff;
  padding: 24px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
}

input,
select,
textarea {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #cbd5f5;
  font-size: 1rem;
  font-family: inherit;
}

.note {
  font-size: 0.9rem;
  color: var(--muted);
}

.bg-image {
  background: url("https://images.unsplash.com/photo-1515378791036-0648a3ef77b2?w=1400&q=80")
    center / cover no-repeat;
  color: #fff;
  position: relative;
}

.bg-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  border-radius: 24px;
}

.bg-image > * {
  position: relative;
  z-index: 1;
}

.footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #dbe2ea;
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.sticky-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-weight: 600;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  background: #fff;
  padding: 16px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: none;
  gap: 12px;
  align-items: center;
  z-index: 100;
  max-width: 520px;
}

.cookie-banner.show {
  display: flex;
  flex-wrap: wrap;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.legal-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 960px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .sidebar-cta {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .content {
    padding: 28px 22px 70px;
  }

  .hero {
    padding: 32px;
  }
}
