/* Maritbalda — Split-Screen Modern archetype
   Design DNA Seed: warmia-emerald-8842
   Flexbox layout only. */

:root {
  --ink: #0f1f18;
  --forest: #1f5c4a;
  --emerald: #2f8f6e;
  --lake: #2a7fa6;
  --mist: #6ea7b8;
  --sand: #e8ddc7;
  --cream: #f8f4ea;
  --paper: #ffffff;
  --gold: #bf9448;
  --line: #d9cfbb;
  --shadow: 0 18px 50px rgba(15, 31, 24, 0.14);
  --radius: 18px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.18;
  color: var(--forest);
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.1em; }

a { color: var(--lake); }

img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}

/* ---------- layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.flex { display: flex; }
.col { flex-direction: column; }
.wrap-flex { flex-wrap: wrap; }
.gap { gap: 28px; }

/* ---------- advertising disclosure strip ---------- */
.ad-strip {
  background: var(--ink);
  color: var(--sand);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-align: center;
  padding: 7px 16px;
}

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 244, 234, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--forest);
}
.brand .mark {
  width: 40px; height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--emerald), var(--lake));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-family: Georgia, serif;
  font-size: 1.2rem;
}
.brand b { font-family: Georgia, serif; font-size: 1.25rem; letter-spacing: 0.02em; }
.brand span { display: block; font-size: 0.68rem; color: var(--mist); letter-spacing: 0.14em; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.97rem;
  font-weight: 600;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--emerald); border-color: var(--emerald); }

.ad-badge {
  display: inline-block;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--sand);
  color: var(--forest);
  border: 1px solid var(--line);
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.nav-cta {
  background: var(--forest);
  color: #fff !important;
  padding: 10px 18px !important;
  border-radius: 999px;
  border: none !important;
}
.nav-cta:hover { background: var(--emerald); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--forest);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--emerald); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--forest); }
.btn-outline { background: transparent; color: var(--forest); border: 2px solid var(--forest); }
.btn-outline:hover { background: var(--forest); color: #fff; }
.btn-gold { background: var(--gold); color: #26200f; }
.btn-gold:hover { background: #a67e34; color:#fff; }

.text-link {
  color: var(--lake);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(42, 127, 166, 0.3);
}
.text-link:hover { border-color: var(--lake); }

/* ---------- hero (split screen) ---------- */
.hero {
  display: flex;
  flex-wrap: wrap;
  min-height: 86vh;
}
.hero-text, .hero-media {
  flex: 1 1 440px;
  min-width: 300px;
}
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px clamp(24px, 6vw, 96px);
  background: var(--cream);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--lake);
  margin-bottom: 18px;
}
.hero-text p.lead { font-size: 1.18rem; max-width: 46ch; color: #35463e; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.hero-media {
  background-color: var(--forest); /* fallback */
  position: relative;
  overflow: hidden;
}
.hero-media img { width: 100%; height: 100%; min-height: 360px; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 36px;
}
.hero-stats .stat b { font-family: Georgia, serif; font-size: 1.9rem; color: var(--forest); display: block; }
.hero-stats .stat span { font-size: 0.85rem; color: var(--mist); }

/* ---------- generic section ---------- */
section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.bg-sand { background: var(--sand); }
.bg-forest { background: var(--forest); color: var(--cream); }
.bg-forest h2, .bg-forest h3 { color: var(--cream); }
.bg-paper { background: var(--paper); }
.bg-ink { background: var(--ink); color: var(--sand); }
.bg-ink h2, .bg-ink h3 { color: #fff; }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- split rows (alternating) ---------- */
.split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
}
.split > .media, .split > .copy { flex: 1 1 380px; min-width: 280px; }
.split.reverse { flex-direction: row-reverse; }
.media-frame {
  background-color: var(--mist);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.media-frame img { width: 100%; height: 420px; }
.copy ul { padding-left: 0; list-style: none; margin: 18px 0; }
.copy ul li { padding-left: 30px; position: relative; margin-bottom: 12px; }
.copy ul li::before {
  content: "›";
  position: absolute; left: 6px; top: 0;
  color: var(--emerald); font-weight: 700; font-size: 1.2rem;
}

/* ---------- cards ---------- */
.cards { display: flex; flex-wrap: wrap; gap: 26px; }
.card {
  flex: 1 1 300px;
  min-width: 260px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(15,31,24,0.06);
}
.card-media { background-color: var(--emerald); height: 190px; }
.card-media img { width: 100%; height: 190px; }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { color: var(--forest); }
.card .price {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  color: var(--forest);
  margin: 4px 0 2px;
}
.card .price small { font-size: 0.72rem; color: var(--mist); font-family: "Segoe UI", sans-serif; }
.card .card-foot { margin-top: auto; padding-top: 16px; }
.tag {
  align-self: flex-start;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em;
  background: var(--sand); color: var(--forest);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}

/* ---------- feature strip ---------- */
.feature-row { display: flex; flex-wrap: wrap; gap: 22px; }
.feature {
  flex: 1 1 240px; min-width: 220px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 26px;
}
.bg-forest .feature .ico, .bg-ink .feature .ico { color: var(--sand); }
.feature .ico { font-size: 1.7rem; margin-bottom: 10px; display: block; }

/* ---------- testimonials ---------- */
.quotes { display: flex; flex-wrap: wrap; gap: 24px; }
.quote {
  flex: 1 1 300px; min-width: 260px;
  background: var(--paper);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 26px;
  box-shadow: 0 8px 24px rgba(15,31,24,0.05);
}
.quote p { font-style: italic; color: #35463e; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-style: normal; }
.quote .who .av {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--lake), var(--emerald));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; flex: 0 0 42px;
}
.quote .who b { color: var(--forest); font-family: Georgia, serif; }
.quote .who span { font-size: 0.82rem; color: var(--mist); display: block; }

/* ---------- process steps ---------- */
.steps { display: flex; flex-wrap: wrap; gap: 24px; counter-reset: step; }
.step {
  flex: 1 1 220px; min-width: 200px;
  padding: 24px; border-radius: 14px;
  background: var(--paper); border: 1px solid var(--line);
}
.step .num {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--forest); color: #fff;
  font-family: Georgia, serif; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}

/* ---------- banner CTA ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--forest), var(--lake));
  color: #fff;
  border-radius: var(--radius);
  padding: 48px clamp(24px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow);
}
.cta-banner h2 { color: #fff; margin-bottom: 6px; }
.cta-banner p { margin: 0; color: rgba(255,255,255,0.88); max-width: 46ch; }

/* ---------- form ---------- */
.form-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  align-items: stretch;
}
.form-side { flex: 1 1 320px; min-width: 280px; }
.form-card {
  flex: 1 1 420px; min-width: 300px;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 34px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 7px; font-size: 0.92rem; color: var(--forest); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  background: var(--cream);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(47,143,110,0.15);
}
.field textarea { resize: vertical; min-height: 110px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.86rem; color: #45564e; }
.check input { width: auto; margin-top: 4px; }
.form-note { font-size: 0.82rem; color: var(--mist); margin-top: 14px; }

/* contact info list */
.info-list { list-style: none; padding: 0; margin: 22px 0 0; }
.info-list li { display: flex; gap: 14px; margin-bottom: 18px; }
.info-list .ico {
  width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px;
  background: var(--sand); color: var(--forest);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.info-list b { display: block; color: var(--forest); font-family: Georgia, serif; }
.no-link { color: var(--ink); } /* emails shown as plain text */

/* ---------- article / legal pages ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article h2 { margin-top: 1.6em; }
.article ul { padding-left: 22px; }
.page-hero {
  background: linear-gradient(120deg, var(--forest), #15402f);
  color: var(--cream);
  padding: 72px 0 60px;
}
.page-hero h1 { color: #fff; }
.page-hero p { max-width: 54ch; color: rgba(255,255,255,0.85); margin: 0; }
.crumbs { font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-bottom: 14px; letter-spacing: 0.05em; }

.disclaimer {
  border: 1px dashed var(--gold);
  background: rgba(191,148,72,0.08);
  border-radius: 14px;
  padding: 22px 24px;
  font-size: 0.92rem;
  color: #4a3c1f;
}
.disclaimer b { color: var(--gold); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: #c7d3cc;
  padding: 60px 0 28px;
}
.footer-top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-col { flex: 1 1 200px; min-width: 180px; }
.footer-col h4 { color: #fff; font-family: Georgia, serif; font-size: 1.05rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #c7d3cc; text-decoration: none; font-size: 0.92rem; }
.footer-col a:hover { color: var(--emerald); }
.footer-brand p { font-size: 0.9rem; max-width: 34ch; color: #9fb0a8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px; padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 0.82rem; color: #8ba096;
}

/* ---------- thanks page ---------- */
.thanks {
  min-height: 70vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 80px 24px;
}
.thanks-card {
  max-width: 620px;
  background: var(--paper);
  border-radius: 22px;
  padding: 56px 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.thanks .check-ico {
  width: 80px; height: 80px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--emerald); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 2.3rem;
}
.thanks .picked {
  display: inline-block; margin: 14px 0 24px;
  background: var(--sand); color: var(--forest);
  padding: 8px 18px; border-radius: 999px; font-weight: 700;
}

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 60;
  background: var(--ink);
  color: var(--cream);
  border-radius: 16px;
  padding: 22px 26px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  justify-content: space-between;
  max-width: 920px; margin: 0 auto;
}
.cookie-banner p { margin: 0; font-size: 0.9rem; flex: 1 1 320px; }
.cookie-banner a { color: var(--mist); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 10px 20px; font-size: 0.9rem; }
.hidden { display: none !important; }

/* ---------- misc ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pill { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: 0.85rem; color: var(--forest); }
.muted { color: var(--mist); }
.divider { height: 1px; background: var(--line); border: none; margin: 0; }

/* ---------- utilities (replace inline styles) ---------- */
.mb-14 { margin-bottom: 14px; }
.mt-10 { margin-top: 10px; }
.mt-22 { margin-top: 22px; }
.mt-30 { margin-top: 30px; }
.mt-34 { margin-top: 34px; }
.text-center { text-align: center; }
.justify-center { justify-content: center; }
.w-full { width: 100%; }
.muted-sm { font-size: 0.85rem; }
.lbl-normal { font-weight: 400; color: #45564e; }
.notice { margin-bottom: 16px; }
.eyebrow.on-dark { color: var(--sand); }
.site-footer .brand b { color: #fff; }
.feature.light { background: var(--paper); border-color: var(--line); }
.feature.light .ico, .ico-emerald { color: var(--emerald); }
.footer-bottom.flush { border: none; margin: 0; padding: 0; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 18px 24px 26px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links:not(.open) { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero { min-height: auto; }
  .media-frame img { height: 300px; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
}
