* {
  box-sizing: border-box;
}

:root {
  --ink: #1b1f24;
  --muted: #5a6673;
  --accent: #1c5d99;
  --accent-dark: #14456f;
  --sand: #f4f2ee;
  --mist: #eef1f4;
  --gold: #c7a35a;
  --leaf: #2f6b57;
  --shadow: 0 18px 45px rgba(13, 28, 43, 0.12);
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand h1,
.brand h2 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
}

.brand span {
  font-size: 0.85rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
}

.ad-label {
  font-size: 0.8rem;
  color: var(--muted);
  border: 1px solid #cfd6dd;
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.hero {
  background: linear-gradient(120deg, rgba(27, 31, 36, 0.55), rgba(27, 31, 36, 0.2)),
    url("https://images.unsplash.com/photo-1454165205744-3b78555e5572?w=1400&q=80");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero.services {
  background: linear-gradient(120deg, rgba(17, 24, 32, 0.6), rgba(17, 24, 32, 0.15)),
    url("https://images.unsplash.com/photo-1507679799987-c73779587ccf?w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.hero.about {
  background: linear-gradient(120deg, rgba(16, 22, 28, 0.65), rgba(16, 22, 28, 0.2)),
    url("https://images.unsplash.com/photo-1455849318743-b2233052fcff?w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.hero.contact {
  background: linear-gradient(120deg, rgba(15, 22, 28, 0.7), rgba(15, 22, 28, 0.2)),
    url("https://images.unsplash.com/photo-1485217988980-11786ced9454?w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.hero.legal {
  background: linear-gradient(120deg, rgba(20, 26, 33, 0.6), rgba(20, 26, 33, 0.1)),
    url("https://images.unsplash.com/photo-1444653614773-995cb1ef9efa?w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 90px 0 70px;
}

.hero-copy {
  flex: 1;
  max-width: 520px;
}

.hero-copy h1 {
  font-size: 2.6rem;
  margin: 0 0 18px;
}

.hero-copy p {
  font-size: 1.1rem;
  color: #f1f3f5;
}

.hero-panel {
  flex: 1;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  padding: 26px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.split {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 32px;
}

.split.reverse {
  flex-direction: row-reverse;
}

.split .text-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.split .media-block {
  flex: 1;
  background: var(--mist);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
}

.section {
  padding: 70px 0;
}

.section.alt {
  background: var(--sand);
}

.section.dark {
  background: #111820;
  color: #f3f5f7;
}

.section.dark a {
  color: #f3f5f7;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 220px;
}

.card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price {
  font-weight: 600;
  color: var(--leaf);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn.secondary {
  background: #fff;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn.ghost {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
}

.inline-link {
  color: var(--accent);
  text-decoration: underline;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e7eef6;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
}

.form-card {
  background: #fff;
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-size: 0.9rem;
  color: var(--muted);
}

input,
select,
textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #d2d8de;
  font-size: 0.95rem;
  font-family: inherit;
}

.notice {
  font-size: 0.9rem;
  color: var(--muted);
}

.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 5;
}

.sticky-cta a {
  box-shadow: var(--shadow);
}

.footer {
  background: #0e141a;
  color: #d9e0e6;
  padding: 40px 0 70px;
  margin-top: auto;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: space-between;
}

.footer a {
  color: inherit;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  z-index: 8;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
}

.image-frame {
  background: #dfe4ea;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
}

.image-frame img {
  height: 100%;
}

.two-col {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.two-col > div {
  flex: 1 1 300px;
}

.note-box {
  background: #f8f5ee;
  border-left: 4px solid var(--gold);
  padding: 18px;
  border-radius: 16px;
}

.insight-bg {
  background: linear-gradient(110deg, rgba(18, 30, 41, 0.7), rgba(18, 30, 41, 0.3)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1400&q=80");
  background-size: cover;
  background-position: center;
  color: #f2f4f7;
}

.soft-bg {
  background: linear-gradient(120deg, rgba(244, 242, 238, 0.92), rgba(244, 242, 238, 0.7)),
    url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.services-bg {
  background: linear-gradient(115deg, rgba(239, 243, 246, 0.92), rgba(239, 243, 246, 0.7)),
    url("https://images.unsplash.com/photo-1492724441997-5dc865305da7?w=1400&q=80");
  background-size: cover;
  background-position: center;
}

@media (max-width: 900px) {
  .hero-inner,
  .split,
  .split.reverse {
    flex-direction: column;
  }

  .sticky-cta {
    right: 16px;
    left: 16px;
  }

  .sticky-cta a {
    width: 100%;
    justify-content: center;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}
