* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --ink: #1c1f23;
  --muted: #5f6b7a;
  --accent: #2f6f8f;
  --accent-soft: #e4f1f6;
  --paper: #ffffff;
  --sand: #f5f3ee;
  --slate: #0f2430;
  --border: #d8dde3;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, 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);
  border-right: 1px solid var(--border);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.ad-label {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 10px 12px;
  background: var(--accent-soft);
  border-radius: 10px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-weight: 500;
}

.nav a {
  padding: 6px 4px;
  border-bottom: 1px solid transparent;
}

.nav a:hover {
  border-color: var(--accent);
}

.btn,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  gap: 8px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn {
  background: var(--accent);
  color: white;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent-soft);
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px 40px 60px;
}

.section {
  background: var(--paper);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 20px 45px rgba(20, 30, 40, 0.08);
}

.hero {
  color: white;
  min-height: 360px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  background-color: #20303c;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 22, 0.5);
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 560px;
}

.hero h1 {
  font-size: 2.4rem;
  line-height: 1.2;
}

.hero-details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-pill {
  background: rgba(255, 255, 255, 0.18);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
}

.split {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.split.reverse {
  flex-direction: row-reverse;
}

.media-block {
  flex: 1;
  min-width: 240px;
  background: #dfe7ee;
  border-radius: 18px;
  overflow: hidden;
}

.media-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.card {
  flex: 1;
  min-width: 220px;
  background: var(--sand);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  background: #dbe2ea;
}

.price {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
}

.insight {
  position: relative;
  color: white;
  overflow: hidden;
  background-color: #1a2a35;
}

.insight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 22, 0.55);
}

.insight-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 620px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.step span {
  font-weight: 600;
  color: var(--accent);
}

.form-section {
  background: var(--paper);
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 520px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 500;
}

input,
select,
textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 1rem;
}

.form-message {
  font-size: 0.95rem;
  color: var(--accent);
}

.cta-strip {
  background: var(--slate);
  color: white;
  border-radius: 24px;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.footer {
  background: var(--paper);
  padding: 28px 40px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.95rem;
  color: var(--muted);
}

.disclaimer {
  font-size: 0.9rem;
  color: var(--muted);
}

.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: var(--accent);
  color: white;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(10, 20, 30, 0.2);
}

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  background: var(--paper);
  padding: 18px 20px;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(10, 20, 30, 0.18);
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
  z-index: 20;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.is-hidden {
  display: none;
}

.page-home .hero {
  background-image: url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.page-home .insight {
  background-image: url("https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.page-about .banner {
  background-image: url("https://images.unsplash.com/photo-1504384308090-c894fdcc538d?w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.page-services .banner {
  background-image: url("https://images.unsplash.com/photo-1487058792275-0ad4aaf24ca7?w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.page-contact .banner {
  background-image: url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.banner {
  color: white;
  padding: 36px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  background-color: #22303a;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 22, 0.55);
}

.banner h1,
.banner p {
  position: relative;
}

@media (max-width: 900px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .content {
    padding: 28px 20px 80px;
  }

  .sticky-cta {
    right: 16px;
    bottom: 90px;
  }
}
