* {
  box-sizing: border-box;
}

:root {
  --ink: #1b1b1b;
  --muted: #5a5a5a;
  --paper: #f7f4ef;
  --accent: #2b5d7c;
  --accent-2: #b86f52;
  --soft: #e7e2d8;
  --line: #d9d2c6;
}

body {
  margin: 0;
  font-family: "Inter", "Arial", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

.wrap {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.topbar {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.ad-label {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 260px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.95rem;
}

.mag-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  padding: 42px 0;
  align-items: center;
}

.hero-copy {
  flex: 1 1 360px;
}

.hero-image {
  flex: 1 1 420px;
}

.image-frame {
  background: var(--soft);
  border-radius: 18px;
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--paper);
}

.mag-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.col-wide {
  flex: 2 1 380px;
}

.col-narrow {
  flex: 1 1 240px;
}

.card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.card {
  flex: 1 1 240px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card h3 {
  margin: 0;
}

.tagline {
  color: var(--muted);
  font-size: 0.95rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.cta-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.inline-cta {
  font-weight: 600;
  color: var(--accent-2);
}

.layered {
  position: relative;
  overflow: hidden;
}

.layered::before {
  content: "";
  position: absolute;
  top: 24px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: var(--accent);
  opacity: 0.08;
  border-radius: 50%;
}

.bg-insight {
  background-image: url("https://images.unsplash.com/photo-1519681393784-d120267933ba?w=1400&q=80");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.bg-insight .card,
.bg-insight a {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.pull-quote {
  font-size: 1.2rem;
  font-style: italic;
  border-left: 4px solid var(--accent-2);
  padding-left: 16px;
}

.service-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-2);
}

.form-box {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row input,
.form-row select,
.form-row textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 1rem;
  font-family: inherit;
}

.footer {
  background: var(--paper);
  padding: 36px 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--muted);
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.footer a {
  color: var(--muted);
}

.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: var(--accent-2);
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 600;
  z-index: 10;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  bottom: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  width: min(420px, 90%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  z-index: 20;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-hero {
  padding: 40px 0 20px;
}

.page-hero h1 {
  margin-bottom: 12px;
}

.legal-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.legal-list article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: #fff;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.contact-card {
  flex: 1 1 260px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: #fff;
}

.ref-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 860px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .sticky-cta {
    right: 12px;
    bottom: 12px;
  }
}
