*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --ink: #1f2430;
  --muted: #5b6578;
  --accent: #2f6fed;
  --accent-2: #1b4db5;
  --soft: #f4f6fb;
  --panel: #ffffff;
  --line: #e2e7f2;
  --warm: #f7f1ec;
  --olive: #e6efe7;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: var(--panel);
  border-right: 1px solid var(--line);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.ad-label {
  font-size: 12px;
  color: var(--muted);
  background: var(--warm);
  padding: 8px 10px;
  border-radius: 8px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-weight: 600;
}

.nav a {
  padding: 8px 10px;
  border-radius: 8px;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a:focus {
  background: var(--soft);
  color: var(--accent-2);
}

.content {
  flex: 1;
  padding: 32px 48px 120px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  background: var(--panel);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--line);
}

.hero-copy {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-copy h1 {
  margin: 0;
  font-size: 36px;
  line-height: 1.2;
}

.hero-copy p {
  margin: 0;
  color: var(--muted);
}

.hero-media {
  flex: 1 1 280px;
  min-height: 240px;
  border-radius: 20px;
  overflow: hidden;
  background: #dfe7f7;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus {
  background: var(--accent-2);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-2);
  border: 1px solid var(--accent-2);
}

.split-section {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: stretch;
}

.split-section.reverse {
  flex-direction: row-reverse;
}

.panel {
  flex: 1 1 320px;
  background: var(--panel);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel h2,
.panel h3 {
  margin: 0;
}

.panel p {
  margin: 0;
  color: var(--muted);
}

.img-frame {
  flex: 1 1 260px;
  border-radius: 20px;
  overflow: hidden;
  background: #dde5f4;
  min-height: 220px;
}

.accent-block {
  background: var(--olive);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.accent-block h2 {
  margin: 0;
}

.metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.metric {
  flex: 1 1 160px;
  background: var(--panel);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--line);
}

.metric span {
  display: block;
  font-size: 22px;
  font-weight: 700;
}

.metric small {
  color: var(--muted);
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.service-card {
  flex: 1 1 260px;
  background: var(--panel);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.service-card .card-image {
  height: 160px;
  background: #e2e9f8;
}

.service-card .card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card h3 {
  margin: 0;
}

.price-tag {
  font-weight: 700;
  color: var(--accent-2);
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.flow-step {
  padding: 14px 16px;
  background: var(--panel);
  border-radius: 14px;
  border: 1px solid var(--line);
}

.highlight-banner {
  background-image: url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?w=1400&q=80");
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  color: #fff;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.highlight-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 32, 63, 0.7);
}

.highlight-banner > * {
  position: relative;
  z-index: 1;
}

.form-wrap {
  background: var(--panel);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.form-field {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
}

input,
select,
textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 15px;
  font-family: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.inline-link {
  color: var(--accent-2);
  font-weight: 600;
  text-decoration: underline;
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.testimonial {
  flex: 1 1 220px;
  background: var(--panel);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.section-bg {
  background: var(--warm);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
}

.section-bg::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 55%;
  height: 140%;
  background-image: url("https://images.unsplash.com/photo-1492724441997-5dc865305da7?w=1400&q=80");
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}

.section-bg > * {
  position: relative;
  z-index: 1;
}

.footer {
  margin-top: 20px;
  padding: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  border-radius: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 600;
}

.disclaimer {
  font-size: 13px;
}

.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(31, 36, 48, 0.18);
  z-index: 9;
}

.sticky-cta:hover,
.sticky-cta:focus {
  background: var(--accent-2);
}

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  max-width: 360px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  display: none;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 12px 28px rgba(31, 36, 48, 0.18);
  z-index: 10;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  flex: 1 1 auto;
  border: none;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 600;
  cursor: pointer;
}

.cookie-accept {
  background: var(--accent);
  color: #fff;
}

.cookie-reject {
  background: var(--line);
  color: var(--ink);
}

.page-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  background: var(--panel);
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--line);
}

.page-hero .img-frame {
  min-height: 200px;
}

.legal-text {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--panel);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--line);
}

@media (max-width: 980px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
  }

  .nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .content {
    padding: 24px;
  }

  .sticky-cta {
    right: 16px;
    bottom: 16px;
  }

  .cookie-banner {
    left: 16px;
    right: 16px;
    max-width: none;
  }
}
