* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --ink: #1f2a37;
  --muted: #5b6472;
  --soft: #f4f6f8;
  --accent: #1d4ed8;
  --accent-dark: #123a96;
  --sand: #f8f2ea;
  --fog: #eef1f6;
  --line: #d9dee7;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 32px 0 72px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.nav-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.ad-label {
  font-size: 12px;
  color: var(--muted);
  max-width: 280px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

.nav-links a {
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.nav-links a:focus,
.nav-links a:hover {
  border-color: var(--accent);
}

.hero {
  display: flex;
  gap: 28px;
  align-items: stretch;
  margin-top: 28px;
}

.hero-text {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.hero-text h1 {
  font-size: 42px;
  line-height: 1.1;
}

.hero-text p {
  color: var(--muted);
}

.hero-media {
  flex: 0.9;
  background: var(--fog);
  border-radius: 18px;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  background: var(--accent);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
}

.button.secondary {
  background: var(--soft);
  color: var(--accent-dark);
}

.magazine-row {
  display: flex;
  gap: 24px;
  margin-top: 36px;
  align-items: stretch;
}

.magazine-main {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.magazine-side {
  flex: 0.8;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: var(--soft);
  padding: 18px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card img {
  border-radius: 12px;
  width: 100%;
  height: 200px;
}

.img-frame {
  background: var(--fog);
  border-radius: 12px;
  overflow: hidden;
}

.frame-sand {
  background: var(--sand);
}

.frame-soft {
  background: var(--soft);
}

.split-note {
  background: var(--sand);
  border-radius: 16px;
  padding: 22px;
}

.split-note p {
  color: var(--muted);
}

.metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.metric {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  flex: 1 1 140px;
}

.metric span {
  display: block;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 6px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.service-card {
  flex: 1 1 240px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card img {
  height: 160px;
  border-radius: 12px;
}

.price {
  font-weight: 700;
  color: var(--accent-dark);
}

.form-block {
  background: var(--fog);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 220px;
}

.field input,
.field select,
.field textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 14px;
}

.inline-cta {
  color: var(--accent);
  font-weight: 600;
}

.banner {
  background: var(--soft);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding: 28px 0 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.sticky-cta {
  position: sticky;
  bottom: 12px;
  margin-top: 32px;
  background: var(--accent-dark);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 999px;
  width: fit-content;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  display: none;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.cookie-banner p {
  color: var(--muted);
  flex: 1 1 240px;
  font-size: 13px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  border: none;
  background: var(--accent);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.cookie-actions .reject {
  background: var(--soft);
  color: var(--accent-dark);
}

.page-title {
  margin: 26px 0 18px;
  font-size: 34px;
}

.content-block {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.content-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.legal-card {
  background: var(--soft);
  padding: 18px;
  border-radius: 14px;
}

@media (max-width: 920px) {
  .hero,
  .magazine-row,
  .content-block {
    flex-direction: column;
  }
}
