:root {
  --bg: #f5f2ee;
  --ink: #1e1e1e;
  --muted: #5a5a5a;
  --accent: #2f5d9b;
  --accent-2: #e7d9c8;
  --panel: #ffffff;
  --shadow: rgba(10, 10, 10, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

header {
  background: var(--panel);
  border-bottom: 1px solid #e0d9d2;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6vw;
  gap: 24px;
}

.brand {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.ad-label {
  background: var(--accent-2);
  padding: 6px 10px;
  font-size: 0.85rem;
  border-radius: 999px;
}

main {
  padding: 0 6vw 80px;
}

.hero {
  display: flex;
  align-items: stretch;
  background: #0f1a2b;
  color: #f7f2ec;
  min-height: 380px;
  margin: 24px 0 40px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1518770660439-4636190af475?w=1400&q=80");
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  padding: 48px 54px;
  max-width: 620px;
}

.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 18px;
}

.hero p {
  margin: 0 0 24px;
  color: #f1e9df;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}

.btn.secondary {
  background: #1f2c3f;
}

.mag-row {
  display: flex;
  gap: 28px;
  align-items: stretch;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.mag-col {
  flex: 1 1 320px;
}

.mag-panel {
  background: var(--panel);
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 12px 28px var(--shadow);
}

.bg-story {
  background-image: url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1400&q=80");
  background-size: cover;
  background-position: center;
  color: #f7f2ec;
  background-color: #3b3e4b;
}

.bg-story p {
  color: #f1e9df;
}

.section-title {
  font-size: 1.6rem;
  margin: 0 0 16px;
}

.card-row {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.card {
  flex: 1 1 240px;
  background: var(--panel);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 24px var(--shadow);
}

.card-content {
  padding: 18px;
  flex: 1;
}

.img-frame {
  background-color: #d9d2c9;
}

.media-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.quote {
  font-style: italic;
  background: #efe5d8;
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  margin: 12px 0;
}

.pricing-grid {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.price-item {
  flex: 1 1 240px;
  background: #1f2c3f;
  color: #f7f1ea;
  border-radius: 16px;
  padding: 20px;
}

.price-item p {
  margin: 8px 0 0;
  color: #f2eadf;
}

.form-wrap {
  background: var(--panel);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 24px var(--shadow);
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

input,
select,
textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #d6cdc3;
  font-size: 1rem;
  width: 100%;
}

textarea {
  min-height: 120px;
}

.sticky-cta {
  position: fixed;
  bottom: 20px;
  right: 24px;
  background: #ffffff;
  padding: 12px 14px;
  border-radius: 999px;
  box-shadow: 0 12px 24px var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.footer {
  background: #1b1b1b;
  color: #e5ded6;
  padding: 40px 6vw;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.footer a {
  color: #f1e9df;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  background: #ffffff;
  padding: 16px 18px;
  border-radius: 12px;
  box-shadow: 0 12px 24px var(--shadow);
  max-width: 340px;
  z-index: 20;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.page-hero {
  background: #f0e9e1;
  border-radius: 16px;
  padding: 28px;
  margin: 28px 0;
}

.page-hero img {
  height: 220px;
}

.split-block {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.split-block .mag-panel {
  flex: 1 1 320px;
}

.listing {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.listing-item {
  padding: 18px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 24px var(--shadow);
}

.notice {
  background: #efe5d8;
  padding: 16px;
  border-radius: 12px;
}

.references {
  font-size: 0.9rem;
  color: #d9d1c8;
}

@media (max-width: 860px) {
  .hero-content {
    padding: 36px 28px;
  }
  .sticky-cta {
    right: 12px;
    left: 12px;
    justify-content: center;
  }
}
