* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #5b6b7a;
  --line: #d8dee6;
  --accent: #2a6fdb;
  --accent-2: #1b4ea3;
  --soft: #f4f6f9;
  --highlight: #fff3d6;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6%;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
  color: var(--muted);
}

.ad-label {
  font-size: 12px;
  color: var(--accent-2);
  background: var(--highlight);
  padding: 6px 10px;
  border-radius: 999px;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding: 60px 6% 40px;
  align-items: stretch;
}

.hero-text {
  flex: 1 1 320px;
  max-width: 540px;
}

.hero-text h1 {
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero-image {
  flex: 1 1 300px;
  min-width: 260px;
  border-radius: 18px;
  overflow: hidden;
  background-color: #dbe5f2;
  position: relative;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 20px 18px auto auto;
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  border: 1px solid var(--accent);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:focus,
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(42, 111, 219, 0.18);
}

.button-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.magazine {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 10px 6% 60px;
}

.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.feature-card {
  flex: 1 1 260px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(22, 34, 50, 0.05);
}

.feature-card h3 {
  margin-top: 0;
}

.image-card {
  flex: 1 1 240px;
  border-radius: 16px;
  overflow: hidden;
  background-color: #e7ebf1;
}

.split-block {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  background: var(--soft);
  padding: 34px;
  border-radius: 18px;
}

.split-block.reverse {
  flex-direction: row-reverse;
  background: #ffffff;
  border: 1px solid var(--line);
}

.split-text {
  flex: 1 1 300px;
}

.split-image {
  flex: 1 1 260px;
  border-radius: 14px;
  overflow: hidden;
  background-color: #e6edf5;
}

.services {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
}

.service-card {
  flex: 1 1 240px;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 20px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-2);
}

.service-image {
  border-radius: 12px;
  overflow: hidden;
  background-color: #dfe7f2;
}

.insight {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.insight > div {
  flex: 1 1 220px;
  padding: 18px;
  border-left: 3px solid var(--accent);
  background: #f9fbff;
}

.form-section {
  padding: 38px;
  border-radius: 20px;
  background: #0f1b2d;
  color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.form-section h2 {
  margin-top: 0;
}

.form-section .form-copy {
  flex: 1 1 260px;
}

.form-section form {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-weight: 600;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  font-size: 14px;
}

.form-section button {
  background: #ffffff;
  color: #0f1b2d;
  border: none;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
}

.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10;
  background: var(--accent-2);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  box-shadow: 0 14px 28px rgba(15, 27, 45, 0.2);
}

.footer {
  margin-top: auto;
  padding: 40px 6%;
  border-top: 1px solid var(--line);
  background: #f8fafc;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}

.footer h4 {
  margin: 0 0 12px;
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer strong {
  color: var(--ink);
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 18px 20px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 16px 30px rgba(23, 33, 43, 0.2);
  border: 1px solid var(--line);
  display: none;
  z-index: 20;
}

.cookie-banner.visible {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #ffffff;
  font-weight: 600;
}

.cookie-actions .accept {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.page-hero {
  padding: 50px 6% 30px;
}

.page-hero h1 {
  font-size: 34px;
  margin-bottom: 12px;
}

.page-content {
  padding: 10px 6% 60px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text-block {
  padding: 22px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.contact-card {
  flex: 1 1 220px;
  padding: 20px;
  border-radius: 14px;
  background: var(--soft);
}

.inline-link {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 720px) {
  .hero-text h1 {
    font-size: 30px;
  }
  .sticky-cta {
    right: 16px;
    bottom: 16px;
  }
}
