:root {
  --bg: #f5f3f0;
  --ink: #1f2a2e;
  --muted: #5c6670;
  --accent: #1f6a7a;
  --accent-dark: #154c58;
  --card: #ffffff;
  --sand: #efe7dd;
  --line: #d9d2c8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--accent-dark);
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 280px;
  background: #111a1e;
  color: #f0f3f4;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ad-label {
  font-size: 0.85rem;
  background: #2a3d44;
  padding: 10px 12px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-links a {
  color: #f0f3f4;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #a7d2de;
}

.sidebar-cta {
  background: #f5c97a;
  color: #1a1a1a;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
}

.main {
  flex: 1;
  padding: 40px 5vw 80px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hero {
  display: flex;
  gap: 32px;
  align-items: stretch;
  background: var(--sand);
  border-radius: 24px;
  padding: 32px;
}

.hero-text {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-visual {
  flex: 0.9;
  background-color: #c6d6de;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.split {
  display: flex;
  gap: 28px;
  align-items: center;
}

.split.reverse {
  flex-direction: row-reverse;
}

.panel {
  background: var(--card);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bg-insight {
  background-image: url("https://images.unsplash.com/photo-1461749280684-dccba630e2f6?w=1400&q=80");
  background-size: cover;
  background-position: center;
  color: #f6f8f9;
  border: none;
  position: relative;
}

.bg-insight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 20, 25, 0.62);
  border-radius: 18px;
}

.bg-insight > * {
  position: relative;
}

.image-frame {
  background-color: #d6e2e8;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.card {
  flex: 1 1 240px;
  background: var(--card);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  background-color: #dfe6eb;
}

.quote {
  font-style: italic;
  background: #f1ede7;
  padding: 18px;
  border-left: 4px solid var(--accent);
}

.pricing {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #fdfcfb;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.price-item strong {
  font-size: 1.05rem;
}

.form-wrap {
  background: #0f1c22;
  color: #f5f5f5;
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #b7c1c5;
  font-size: 1rem;
}

button,
.button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

button:hover,
button:focus,
.button:hover,
.button:focus {
  transform: translateY(-1px);
  background: var(--accent-dark);
}

.inline-cta {
  font-weight: 600;
}

.footer {
  padding: 28px;
  background: #10181c;
  color: #d5dfe3;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: #d5dfe3;
}

.sticky-cta {
  position: sticky;
  bottom: 12px;
  align-self: flex-end;
  background: #fff7e6;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid #e7d2a8;
  display: flex;
  gap: 12px;
  align-items: center;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  max-width: 320px;
  display: none;
  flex-direction: column;
  gap: 10px;
  z-index: 100;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  flex: 1;
}

.cookie-actions .ghost {
  background: #dfe6eb;
  color: #1b1f22;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.meta-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.meta-grid .panel {
  flex: 1 1 220px;
}

@media (max-width: 980px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .main {
    padding: 32px 6vw 80px;
  }

  .hero,
  .split,
  .split.reverse {
    flex-direction: column;
  }
}
