:root {
  color-scheme: light;
  --ink: #1c252f;
  --muted: #4d5a67;
  --accent: #4f6ad6;
  --accent-dark: #354aa0;
  --surface: #f6f3ee;
  --surface-strong: #ffffff;
  --sidebar: #16202a;
  --sidebar-muted: #a8b3bd;
  --line: #e3ded7;
  --soft: #f0ebe3;
  --highlight: #fbe7c5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

a {
  color: inherit;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 280px;
  padding: 32px 24px;
  background: var(--sidebar);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.tagline {
  color: var(--sidebar-muted);
  font-size: 14px;
  margin-top: 6px;
}

.ad-label {
  background: #273240;
  color: #d7dee5;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.4;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav a {
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  padding: 6px 0;
}

.nav a:focus {
  outline: 2px solid var(--highlight);
  outline-offset: 2px;
}

.sidebar-cta {
  margin-top: auto;
}

.content {
  flex: 1;
  padding: 42px 54px 90px;
}

.section {
  margin-bottom: 48px;
}

.section-alt {
  background: var(--soft);
  padding: 32px;
  border-radius: 18px;
}

.section-dark {
  background: #1c2833;
  color: #f5f7f9;
  padding: 34px;
  border-radius: 18px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.section-heading h2,
.section-heading h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.2;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.hero {
  display: flex;
  gap: 32px;
  align-items: stretch;
}

.hero-text {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-media {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  background: #d2dce4;
  min-height: 340px;
}

.hero-media img {
  width: 100%;
  height: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-light {
  background: #fff;
  color: var(--accent-dark);
  border-color: #cbd4dd;
}

.btn-light:hover {
  background: #edf1f5;
}

.inline-link {
  color: var(--accent-dark);
  text-decoration: underline;
}

.card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  flex: 1 1 260px;
  min-width: 240px;
}

.card img {
  width: 100%;
  height: 170px;
  border-radius: 12px;
  margin-bottom: 12px;
  background: #d9e1ea;
}

.split {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.split > div {
  flex: 1;
}

.highlight-box {
  background: var(--highlight);
  padding: 18px;
  border-radius: 14px;
  font-weight: 600;
}

.metric-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.metric {
  flex: 1 1 180px;
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;
  border: 1px solid var(--line);
}

.metric strong {
  display: block;
  font-size: 22px;
}

.testimonial {
  display: flex;
  gap: 16px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 16px;
}

.testimonial img {
  width: 120px;
  height: 120px;
  border-radius: 14px;
  background: #d7dee6;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.service-item span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.cta-row {
  margin-top: 16px;
}

.price {
  font-weight: 700;
  color: var(--accent-dark);
  white-space: nowrap;
}

.form-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid var(--line);
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-weight: 600;
}

select,
input,
textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cdd5dd;
  font-size: 15px;
  font-family: inherit;
}

.form-note {
  font-size: 13px;
  color: var(--muted);
}

.bg-panel {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 20px;
  padding: 36px;
  background-color: #2f3c4a;
  color: #ffffff;
}

.bg-methods {
  background-image: url("https://images.unsplash.com/photo-1529101091764-c3526daf38fe?w=1400&q=80");
}

.bg-panel .section-heading p {
  color: #e3e7eb;
}

.list {
  margin: 0;
  padding-left: 18px;
}

.list li {
  margin-bottom: 8px;
}

.legal-block {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 18px;
  margin-bottom: 18px;
}

.footer {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sticky-cta {
  position: fixed;
  bottom: 18px;
  right: 18px;
  background: #fff;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  z-index: 10;
}

.sticky-cta span {
  font-size: 14px;
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  max-width: 320px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 12;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.cookie-actions button {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.cookie-actions button:hover {
  background: #f2f4f6;
}

.image-frame {
  background: #d6dde6;
  border-radius: 16px;
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: 100%;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.contact-card {
  flex: 1 1 220px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}

@media (max-width: 980px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .sidebar-cta {
    width: 100%;
    margin-top: 0;
  }

  .content {
    padding: 28px 24px 90px;
  }

  .hero,
  .split {
    flex-direction: column;
  }

  .sticky-cta {
    right: 12px;
    left: 12px;
    justify-content: space-between;
  }
}
