* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --ink: #1c2430;
  --muted: #526173;
  --accent: #2f6ea3;
  --accent-soft: #e6f0f9;
  --surface: #f7f6f2;
  --warm: #f1ebe0;
  --line: #d5d7dc;
  --shadow: 0 18px 40px rgba(28, 36, 48, 0.12);
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  flex: 0 0 260px;
  background: var(--surface);
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ad-label {
  font-size: 12px;
  color: var(--muted);
  background: #ffffff;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-links a {
  font-size: 15px;
}

.nav-links a:hover {
  color: #174a72;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

header.hero {
  padding: 48px 64px 20px;
  background: var(--accent-soft);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero h1 {
  font-size: 38px;
  line-height: 1.2;
  max-width: 720px;
}

.hero p {
  max-width: 640px;
  color: var(--muted);
}

.hero-media {
  margin-top: 24px;
  height: 320px;
  background: #d8e4ef;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.section {
  padding: 44px 64px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section.alt {
  background: var(--surface);
}

.section.warm {
  background: var(--warm);
}

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}

.split.reverse {
  flex-direction: row-reverse;
}

.split .text {
  flex: 1 1 320px;
}

.split .media {
  flex: 1 1 280px;
  height: 240px;
  background: #e5e0d7;
  border-radius: 16px;
  overflow: hidden;
}

.floating-card {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  max-width: 360px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.service-card {
  flex: 1 1 240px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-media {
  height: 160px;
  background: #dfe7ed;
}

.service-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price {
  font-weight: 700;
  color: #1f425f;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  border: none;
}

.btn:hover {
  background: #245680;
}

.btn.secondary {
  background: #ffffff;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn.secondary:hover {
  background: #f2f7fb;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.form-wrap {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
}

.form-wrap label {
  font-size: 14px;
  color: var(--muted);
}

.form-wrap input,
.form-wrap select,
.form-wrap textarea {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 15px;
  font-family: inherit;
}

.form-note {
  font-size: 13px;
  color: var(--muted);
}

footer {
  padding: 28px 64px 40px;
  background: #f3f4f6;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.sticky-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #1f425f;
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 14px;
  box-shadow: var(--shadow);
  z-index: 5;
}

.sticky-cta:hover {
  background: #16324a;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  max-width: 360px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  z-index: 6;
  display: none;
}

.cookie-banner.visible {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.notice {
  background: #ffffff;
  border-left: 4px solid var(--accent);
  padding: 16px;
  border-radius: 8px;
  color: var(--muted);
}

.table-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.table-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.table-row span {
  flex: 1 1 180px;
  color: var(--muted);
}

.content small {
  color: var(--muted);
}

@media (max-width: 980px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  header.hero,
  .section,
  footer {
    padding: 32px 24px;
  }

  .sticky-cta {
    right: 16px;
    bottom: 16px;
  }
}
