:root {
  --bg: #0f1115;
  --panel: #171a21;
  --panel-soft: #202531;
  --text: #eef2f7;
  --muted: #b7c0cf;
  --accent: #7dd3fc;
  --accent-2: #c4b5fd;
  --ok: #86efac;
  --line: #2d3342;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: linear-gradient(180deg, #0a0c10 0%, #10141d 40%, #0c0f16 100%);
  color: var(--text);
  line-height: 1.5;
}

a {
  color: var(--accent);
}

.page {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 280px;
  background: rgba(16, 19, 26, 0.95);
  border-right: 1px solid var(--line);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.brand {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.ad-label {
  background: rgba(125, 211, 252, 0.15);
  border: 1px solid rgba(125, 211, 252, 0.4);
  color: #dff6ff;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.87rem;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  background: var(--panel);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 12px;
}

.nav a:hover,
.nav a:focus {
  border-color: var(--accent);
}

.sidebar-note {
  margin-top: auto;
  font-size: 0.88rem;
  color: var(--muted);
}

.content {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
}

.hero-media {
  flex: 1 1 420px;
  min-height: 290px;
  background: #1f2937;
}

.hero-media img,
.inline-image img,
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-copy {
  flex: 1 1 360px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

p {
  margin: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.btn {
  border: 1px solid var(--accent);
  color: #0b1118;
  background: var(--accent);
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn.secondary {
  background: transparent;
  color: var(--accent);
}

.btn.alt {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: #130f24;
}

.section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.split > * {
  flex: 1 1 320px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.card {
  flex: 1 1 260px;
  background: var(--panel-soft);
  border: 1px solid #333b4c;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-image {
  width: 100%;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  background: #2e3442;
}

.price {
  font-size: 1.2rem;
  color: var(--ok);
  font-weight: 700;
}

.quote {
  padding: 12px;
  border-left: 3px solid var(--accent-2);
  background: rgba(196, 181, 253, 0.08);
  border-radius: 10px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  background: #0f1520;
  color: var(--text);
  border: 1px solid #364156;
  border-radius: 10px;
  padding: 10px;
}

.inline-image {
  width: 100%;
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
  background: #272e3b;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.92rem;
}

.legal-links a {
  text-decoration: none;
  background: #1c2230;
  padding: 8px 10px;
  border-radius: 8px;
}

.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10;
}

.sticky-cta .btn {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.cookie-banner {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 30;
  max-width: 430px;
  background: #111827;
  border: 1px solid #374151;
  border-radius: 12px;
  padding: 14px;
  display: none;
  flex-direction: column;
  gap: 10px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

.hidden {
  display: none !important;
}

footer {
  background: #0f1420;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 920px) {
  .page {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .sticky-cta {
    right: 12px;
    bottom: 12px;
  }
}
